@pixerate/editor 0.119.0 → 0.120.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-editor/index.cjs +54 -54
- package/dist/animation-editor/index.d.cts +3 -3
- package/dist/animation-editor/index.d.ts +3 -3
- package/dist/animation-editor/index.js +2 -2
- package/dist/{chunk-KZLQY4CD.js → chunk-BOWUU4LJ.js} +2 -2
- package/dist/{chunk-KGNUFO4T.cjs → chunk-DFLJHLKA.cjs} +36 -36
- package/dist/{chunk-KGNUFO4T.cjs.map → chunk-DFLJHLKA.cjs.map} +1 -1
- package/dist/{chunk-4S2AXNQF.cjs → chunk-HTAFDTNR.cjs} +82 -82
- package/dist/{chunk-4S2AXNQF.cjs.map → chunk-HTAFDTNR.cjs.map} +1 -1
- package/dist/{chunk-LI3KTY7K.cjs → chunk-VYW7JBTM.cjs} +72 -5
- package/dist/chunk-VYW7JBTM.cjs.map +1 -0
- package/dist/{chunk-TDQDMBUR.js → chunk-WAI6ATHC.js} +2 -2
- package/dist/{chunk-CSHEI3YT.js → chunk-WORWH5K5.js} +71 -4
- package/dist/chunk-WORWH5K5.js.map +1 -0
- package/dist/{export-Ds8Ccw0K.d.ts → export-D2D8hb_u.d.ts} +1 -1
- package/dist/{export-B_jO2PrH.d.cts → export-fP2hZYjm.d.cts} +1 -1
- package/dist/image-editor/index.cjs +579 -579
- package/dist/image-editor/index.d.cts +3 -3
- package/dist/image-editor/index.d.ts +3 -3
- package/dist/image-editor/index.js +2 -2
- package/dist/paint-editor/index.cjs +7 -7
- package/dist/paint-editor/index.d.cts +2 -2
- package/dist/paint-editor/index.d.ts +2 -2
- package/dist/paint-editor/index.js +2 -2
- package/dist/{svg-hK0WQc7-.d.cts → svg-S9zzvqaZ.d.cts} +1 -1
- package/dist/{svg-CTxrB5xO.d.ts → svg-leZpRsJB.d.ts} +1 -1
- package/dist/{types-TrSSh_RB.d.ts → types-BgwxFWvn.d.ts} +23 -9
- package/dist/{types-Dq-8qgoo.d.cts → types-DdRTDnza.d.cts} +23 -9
- package/dist/vector/index.cjs +874 -872
- package/dist/vector/index.cjs.map +1 -1
- package/dist/vector/index.d.cts +12 -5
- package/dist/vector/index.d.ts +12 -5
- package/dist/vector/index.js +7 -5
- package/dist/vector/index.js.map +1 -1
- package/package.json +1 -1
- package/skills/pixerate-vector/SKILL.md +1 -1
- package/skills/pixerate-vector/references/commands.md +1 -0
- package/dist/chunk-CSHEI3YT.js.map +0 -1
- package/dist/chunk-LI3KTY7K.cjs.map +0 -1
- /package/dist/{chunk-KZLQY4CD.js.map → chunk-BOWUU4LJ.js.map} +0 -0
- /package/dist/{chunk-TDQDMBUR.js.map → chunk-WAI6ATHC.js.map} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as ImageAdjustments, D as DepthMaskOptions, b as SerializedImageEditorState, A as AdjustmentKind, c as AdjustmentLayer, d as AdjustmentParamsMap, e as AdjustmentLayerMask, f as AdjustmentLayerOf, C as CurvePoint, H as HueRange, L as LevelsChannel, g as ImageEditorController, h as SelectionMask, i as SelectionMode, j as ColorDistance, R as RefineEdgeParams, k as ImagePoint, l as ImageLayer, m as CropBox, n as RasterMask, o as Annotation, p as AdjustmentLayerNode, T as TextEnv, q as AnnotationLayer, r as ShapeLayer, s as TypeLayer, t as LayerFilter, u as PixelLayer, v as DevelopFilter, w as ImageTransform, x as ImageHistogram, y as ImageProjection, z as CompositorSources, B as LayerCompositor, E as SmartFilterStack, F as SmartFilter, G as SmartObjectLayer, J as SmartContents, K as SmartDocument, M as SmartPlacement, N as FreeTransformGeometry, O as LiveShapeKind, Q as TypeLayerInfo, U as LayerPlacement, V as FreeTransformMode, W as FreeTransformResult, X as FreeTransformSession, Y as FreeTransformInit, Z as TransformAnchor } from '../export-
|
|
2
|
-
export { _ as AIResultOptions, $ as AdjustmentLayerBase, a0 as AdjustmentLayerInit, a1 as AdjustmentLayerUpdate, a2 as AnnotationPlacement, a3 as AnnotationType, a4 as ArrowAnnotation, a5 as AspectRatio, a6 as BaseAnnotation, a7 as BlackWhiteParams, a8 as BlurFilter, a9 as CircleAnnotation, aa as CloneSource, ab as ColorBalanceParams, ac as ColorBalanceTone, ad as ColorRangeOptions, ae as ColorRangeSample, af as CreateAnnotationPayload, ag as CropHandle, ah as CurvesParams, ai as DEFAULT_ADJUSTMENTS, aj as DEFAULT_DEPTH_MASK, ak as DEFAULT_MITER_LIMIT, al as DEFAULT_PROOF, am as DEFAULT_REFINE_EDGE_PARAMS, an as DEFAULT_TRANSFORM, ao as DeserializeContext, ap as DevelopSettings, aq as DocumentColorMode, ar as DocumentColorProfile, as as EMPTY_DISTANCE, at as ExportOptions, au as FREE_TRANSFORM_CONTENTS, av as FREE_TRANSFORM_MODES, aw as FillOptions, ax as FreeTransformContent, ay as FreeTransformHost, az as FreeTransformPreview, aA as GUIDED_FILTER_EPS, aB as GroupLayer, aC as HISTOGRAM_BINS, aD as HistogramChannel, aE as HistoryEntryHandle, aF as HueSaturationParams, aG as IMAGE_EDITOR_SCHEMA_VERSION, aH as ImageAnnotation, aI as ImageDimensions, aJ as ImageEditorAIHooks, I as ImageEditorAssetStore, aK as ImageEditorFit, aL as ImageEditorOptions, aM as ImageEditorRenderer, aN as ImageEditorState, aO as ImageEditorTool, aP as ImageLayerType, aQ as InpaintHook, aR as InpaintOptions, aS as InvertParams, aT as LAYERED_SCHEMA_VERSION, aU as LIVE_SHAPE_KINDS, aV as LayerBase, aW as LayerBlendMode, aX as LayerFilterKind, aY as LayerLocation, aZ as LayerMaskProps, a_ as LayerOperationError, a$ as LayerProperties, b0 as LayerSourcesHost, b1 as LayerTarget, b2 as LegacySerializedImageEditorState, b3 as LevelsParams, b4 as LineAnnotation, b5 as LiveShape, b6 as MagicWandOptions, b7 as MixerStrokeInit, b8 as PARAGRAPH_STYLE_FIELDS, b9 as PSD_BLEND_KEYS, ba as PaintOptions, bb as PaintStrokeResult, bc as PaintStrokeSession, bd as PenAnnotation, be as PhotoFilterParams, bf as PixelBuffer, bg as PixelLayerInit, bh as PixelTransform, bi as PosterizeParams, bj as ProofSetup, bk as PsdChannel, bl as PsdExportInput, P as PsdExportResult, bm as PsdFile, bn as PsdHeader, bo as PsdImportOptions, bp as PsdImportResult, bq as PsdLayerMask, br as PsdLayerRecord, bs as PsdLayerSummary, bt as PsdRect, bu as PsdResource, bv as PsdSmartFilter, bw as PsdTaggedBlock, bx as PsdTreeNode, by as RETOUCH_TOOLS, bz as RectAnnotation, bA as RemoveBackgroundHook, bB as RemoveBackgroundOptions, bC as RenderOptions, bD as RetouchStrokeInit, bE as RetouchTool, bF as SELECTION_MODES, bG as SELECTION_MODIFY_OPS, bH as SHAPE_OPERATIONS, bI as SHAPE_RENDER_MARGIN, bJ as SampleOptions, bK as SelectionChannel, bL as SelectionCommandOptions, bM as SelectionModifyOp, bN as SerializeContext, bO as SerializedAdjustmentLayer, bP as SerializedAnnotationLayer, bQ as SerializedColorMode, bR as SerializedColorProfile, bS as SerializedDeepPixels, bT as SerializedGroupLayer, S as SerializedLayer, bU as SerializedLayerEffects, bV as SerializedLayeredImageEditorState, bW as SerializedPattern, bX as SerializedPixelLayer, bY as SerializedRasterMask, bZ as SerializedSelection, b_ as SerializedShapeLayer, b$ as SerializedSmartContents, c0 as SerializedSmartFilter, c1 as SerializedSmartObjectLayer, c2 as SerializedTypeLayer, c3 as ShapeArrowhead, c4 as ShapeComponent, c5 as ShapeEnv, c6 as ShapeFillRule, c7 as ShapeGeometryInput, c8 as ShapeLayerData, c9 as ShapeLayerInfo, ca as ShapeLayerInit, cb as ShapeLineCap, cc as ShapeLineJoin, cd as ShapeOperation, ce as ShapePaint, cf as ShapePsdData, cg as ShapeSelectionOptions, ch as ShapeStroke, ci as ShapeStrokeAlign, cj as ShapeStrokeInput, ck as SmartFilterKind, cl as SmartObjectInfo, cm as SmartPsdData, cn as StrokeInit, co as StrokeTool, cp as TEXT_RENDER_MARGIN, cq as TEXT_STYLE_FIELDS, cr as TONE_RANGE_PRESETS, cs as TRANSFORM_ANCHORS, ct as TextAnnotation, cu as TextLayerInit, cv as ThresholdParams, cw as ToneRangePreset, cx as TransformParams, cy as TransformReadout, cz as TypeLayerData, cA as TypePsdData, cB as VibranceParams, cC as ViewportMetrics, cD as addLayerEffect, cE as addLayerFilter, cF as adjustmentNodeAsLayer, cG as anchorPoint, cH as annotationBlend, cI as annotationOfShape, cJ as annotationOfType, cK as applyImageProjectionToContext, cL as applyParams, cM as blurFilter, cN as borderCoverage, cO as boxMean, cP as boxPointOf, cQ as buildLayerMaskPlanes, cR as calculateCropDrag, cS as canvasToImagePoint, cT as clampCropToImage, cU as colorModePlanes, cV as colorRange, cW as combineSelections, cX as componentPath, cY as compositeDeep, cZ as computeHistogram, c_ as computeSelectionBounds, c$ as contractCoverage, d0 as convertHex, d1 as convertSurfaceColors, d2 as cornersFromMatrix, d3 as coverageToByte, d4 as createSelectionMask, d5 as createShapeLayer, d6 as createTypeLayer, d7 as decodeDeepSurface, d8 as decodeLayerChannel, d9 as decodeLayerMask, da as decodeMergedImage, db as decodePngDataUrl, dc as decodeSelectionRle, dd as defaultShapeName, de as depthMaskAlpha, df as describeTransform, dg as deserializeColorMode, dh as deserializeColorProfile, di as deserializeEffects, dj as deserializeLayer, dk as deserializeLayers, dl as deserializePatterns, dm as deserializeSelection, dn as developFilter, dp as displayTransform, dq as distanceTransform, dr as documentProfile, ds as duplicateLayer, dt as edgeWidth, du as effectiveProof, dv as ellipsePoints, dw as ellipseSelection, dx as encodeDeepSurface, dy as encodeSelectionRle, dz as encodeSurface, dA as expandCoverage, dB as exportPsd, dC as featherCoverage, dD as flipCorners, dE as fullSelection, dF as geometryHomography, dG as getAnnotationBounds, dH as getCropCursor, dI as getRotatedSize, dJ as getViewportMetrics, dK as getViewportProjection, dL as globalImageCache, dM as greyMorphology, dN as groupLayers, dO as guidePlanes, dP as guidedFilterColor, dQ as hasSurface, dR as hasWarp, dS as hashMaskContent, dT as histogramPath, dU as hitTestAnnotation, dV as hitTestCrop, dW as hueRange, dX as identityTransform, dY as imageToCanvasPoint, dZ as importPsd, d_ as invertSelection, d$ as isActiveFilter, e0 as isIdentityTransform, e1 as isQuarterTurnSwapped, e2 as isRenderedLayer, e3 as isRetouchTool, e4 as isSelectionEmpty, e5 as isSelectionMode, e6 as isSpatialFilter, e7 as isSrgb, e8 as isTransformAnchor, e9 as isValidWarp, ea as layerEffectsOf, eb as layerMaskCoverage, ec as layerMaskFromSelection, ed as layerMaskKey, ee as layerName, ef as layerTree, eg as layerTypeLabel, eh as liveComponent, ei as liveShapeSubpaths, ej as magicWand, ek as mapCropHandle, el as mapSubpaths, em as matrixFromCorners, en as matrixFromParams, eo as mergeShapeComponents, ep as migrateSerializedImageEditorState, eq as migrateToLayeredState, er as modifySelection, es as moveLayer, et as newLayerId, eu as normalizeAngle, ev as normalizeFilter, ew as normalizeLayerMask, ex as normalizeLiveShape, ey as normalizeRect, ez as normalizeRefineEdgeParams, eA as normalizeShapePaint, eB as normalizeShapeStroke, eC as normalizeStoredAdjustments, eD as normalizeSubpaths, eE as normalizeText, eF as offsetLayer, eG as offsetShape, eH as parseBlend, eI as parseColor, eJ as parseSelectionMode, eK as patchParagraphStyle, eL as patchTextStyle, eM as pixelLayerBounds, eN as pixelLayers, eO as placeLayer, eP as polygonCoverage, eQ as polygonSelection, eR as presetWarp, eS as previewStep, eT as profileBytes, eU as projectImagePoint, eV as projectImageRect, eW as projectMaskCoverage, eX as psdToLayers, eY as readPsd, eZ as rectSelection, e_ as referencePoint, e$ as refineCoverage, f0 as refineEdgeHalo, f1 as refineSelection, f2 as removeLayer, f3 as removeLayerEffect, f4 as removeLayerFilter, f5 as renderShape, f6 as renderShapeRect, f7 as renderText, f8 as replaceTextRange, f9 as requireLayer, fa as requireOperation, fb as requireShapeLayer, fc as requireTypeLayer, fd as requireUnlocked, fe as rerenderShape, ff as rerenderText, fg as resizePixels, fh as resizeSelection, fi as resolveExternalAssets, fj as resolveProfile, fk as runLayerFilters, fl as selectionArea, fm as selectionFromCoverage, fn as selectionFromPixels, fo as selectionToCoverage, fp as selectionToPixels, fq as selectionValueAt, fr as serializeColorMode, fs as serializeColorProfile, ft as serializeContents, fu as serializeEffects, fv as serializeLayer, fw as serializeLayers, fx as serializeLayersExternal, fy as serializePatterns, fz as serializeSelection, fA as setLayerEffects, fB as setLayerEffectsEnabled, fC as setLayerMask, fD as setLayerProperties, fE as shapeAsPixelLayer, fF as shapeFromAnnotation, fG as shapeGeometryBounds, fH as shapeLayers, fI as shapeOutline, fJ as shapeRenderClip, fK as shiftCoverage, fL as smartObjectLayers, fM as smoothCoverage, fN as srgb8ToLab, fO as textMatrix, fP as textOutlines, fQ as textRange, fR as toHex, fS as toTextSpace, fT as toneRange, fU as transformHomography, fV as transformMap, fW as transformShapeComponents, fX as transformTypeLayer, fY as transformedBox, fZ as transformedPoint, f_ as typeAsPixelLayer, f$ as typeFrame, g0 as typeFromAnnotation, g1 as typeLayerName, g2 as ungroupLayer, g3 as unionRect, g4 as unprojectCanvasPoint, g5 as updateLayerEffect, g6 as updateLayerFilter, g7 as updateLayerMaskProps, g8 as updateShapeLayer, g9 as updateTypeLayer, ga as withNewIds, gb as writePsd } from '../export-
|
|
1
|
+
import { a as ImageAdjustments, D as DepthMaskOptions, b as SerializedImageEditorState, A as AdjustmentKind, c as AdjustmentLayer, d as AdjustmentParamsMap, e as AdjustmentLayerMask, f as AdjustmentLayerOf, C as CurvePoint, H as HueRange, L as LevelsChannel, g as ImageEditorController, h as SelectionMask, i as SelectionMode, j as ColorDistance, R as RefineEdgeParams, k as ImagePoint, l as ImageLayer, m as CropBox, n as RasterMask, o as Annotation, p as AdjustmentLayerNode, T as TextEnv, q as AnnotationLayer, r as ShapeLayer, s as TypeLayer, t as LayerFilter, u as PixelLayer, v as DevelopFilter, w as ImageTransform, x as ImageHistogram, y as ImageProjection, z as CompositorSources, B as LayerCompositor, E as SmartFilterStack, F as SmartFilter, G as SmartObjectLayer, J as SmartContents, K as SmartDocument, M as SmartPlacement, N as FreeTransformGeometry, O as LiveShapeKind, Q as TypeLayerInfo, U as LayerPlacement, V as FreeTransformMode, W as FreeTransformResult, X as FreeTransformSession, Y as FreeTransformInit, Z as TransformAnchor } from '../export-fP2hZYjm.cjs';
|
|
2
|
+
export { _ as AIResultOptions, $ as AdjustmentLayerBase, a0 as AdjustmentLayerInit, a1 as AdjustmentLayerUpdate, a2 as AnnotationPlacement, a3 as AnnotationType, a4 as ArrowAnnotation, a5 as AspectRatio, a6 as BaseAnnotation, a7 as BlackWhiteParams, a8 as BlurFilter, a9 as CircleAnnotation, aa as CloneSource, ab as ColorBalanceParams, ac as ColorBalanceTone, ad as ColorRangeOptions, ae as ColorRangeSample, af as CreateAnnotationPayload, ag as CropHandle, ah as CurvesParams, ai as DEFAULT_ADJUSTMENTS, aj as DEFAULT_DEPTH_MASK, ak as DEFAULT_MITER_LIMIT, al as DEFAULT_PROOF, am as DEFAULT_REFINE_EDGE_PARAMS, an as DEFAULT_TRANSFORM, ao as DeserializeContext, ap as DevelopSettings, aq as DocumentColorMode, ar as DocumentColorProfile, as as EMPTY_DISTANCE, at as ExportOptions, au as FREE_TRANSFORM_CONTENTS, av as FREE_TRANSFORM_MODES, aw as FillOptions, ax as FreeTransformContent, ay as FreeTransformHost, az as FreeTransformPreview, aA as GUIDED_FILTER_EPS, aB as GroupLayer, aC as HISTOGRAM_BINS, aD as HistogramChannel, aE as HistoryEntryHandle, aF as HueSaturationParams, aG as IMAGE_EDITOR_SCHEMA_VERSION, aH as ImageAnnotation, aI as ImageDimensions, aJ as ImageEditorAIHooks, I as ImageEditorAssetStore, aK as ImageEditorFit, aL as ImageEditorOptions, aM as ImageEditorRenderer, aN as ImageEditorState, aO as ImageEditorTool, aP as ImageLayerType, aQ as InpaintHook, aR as InpaintOptions, aS as InvertParams, aT as LAYERED_SCHEMA_VERSION, aU as LIVE_SHAPE_KINDS, aV as LayerBase, aW as LayerBlendMode, aX as LayerFilterKind, aY as LayerLocation, aZ as LayerMaskProps, a_ as LayerOperationError, a$ as LayerProperties, b0 as LayerSourcesHost, b1 as LayerTarget, b2 as LegacySerializedImageEditorState, b3 as LevelsParams, b4 as LineAnnotation, b5 as LiveShape, b6 as MagicWandOptions, b7 as MixerStrokeInit, b8 as PARAGRAPH_STYLE_FIELDS, b9 as PSD_BLEND_KEYS, ba as PaintOptions, bb as PaintStrokeResult, bc as PaintStrokeSession, bd as PenAnnotation, be as PhotoFilterParams, bf as PixelBuffer, bg as PixelLayerInit, bh as PixelTransform, bi as PosterizeParams, bj as ProofSetup, bk as PsdChannel, bl as PsdExportInput, P as PsdExportResult, bm as PsdFile, bn as PsdHeader, bo as PsdImportOptions, bp as PsdImportResult, bq as PsdLayerMask, br as PsdLayerRecord, bs as PsdLayerSummary, bt as PsdRect, bu as PsdResource, bv as PsdSmartFilter, bw as PsdTaggedBlock, bx as PsdTreeNode, by as RETOUCH_TOOLS, bz as RectAnnotation, bA as RemoveBackgroundHook, bB as RemoveBackgroundOptions, bC as RenderOptions, bD as RetouchStrokeInit, bE as RetouchTool, bF as SELECTION_MODES, bG as SELECTION_MODIFY_OPS, bH as SHAPE_OPERATIONS, bI as SHAPE_RENDER_MARGIN, bJ as SampleOptions, bK as SelectionChannel, bL as SelectionCommandOptions, bM as SelectionModifyOp, bN as SerializeContext, bO as SerializedAdjustmentLayer, bP as SerializedAnnotationLayer, bQ as SerializedColorMode, bR as SerializedColorProfile, bS as SerializedDeepPixels, bT as SerializedGroupLayer, S as SerializedLayer, bU as SerializedLayerEffects, bV as SerializedLayeredImageEditorState, bW as SerializedPattern, bX as SerializedPixelLayer, bY as SerializedRasterMask, bZ as SerializedSelection, b_ as SerializedShapeLayer, b$ as SerializedSmartContents, c0 as SerializedSmartFilter, c1 as SerializedSmartObjectLayer, c2 as SerializedTypeLayer, c3 as ShapeArrowhead, c4 as ShapeComponent, c5 as ShapeEnv, c6 as ShapeFillRule, c7 as ShapeGeometryInput, c8 as ShapeLayerData, c9 as ShapeLayerInfo, ca as ShapeLayerInit, cb as ShapeLineCap, cc as ShapeLineJoin, cd as ShapeOperation, ce as ShapePaint, cf as ShapePsdData, cg as ShapeSelectionOptions, ch as ShapeStroke, ci as ShapeStrokeAlign, cj as ShapeStrokeInput, ck as SmartFilterKind, cl as SmartObjectInfo, cm as SmartPsdData, cn as StrokeInit, co as StrokeTool, cp as TEXT_RENDER_MARGIN, cq as TEXT_STYLE_FIELDS, cr as TONE_RANGE_PRESETS, cs as TRANSFORM_ANCHORS, ct as TextAnnotation, cu as TextLayerInit, cv as ThresholdParams, cw as ToneRangePreset, cx as TransformParams, cy as TransformReadout, cz as TypeLayerData, cA as TypePsdData, cB as VibranceParams, cC as ViewportMetrics, cD as addLayerEffect, cE as addLayerFilter, cF as adjustmentNodeAsLayer, cG as anchorPoint, cH as annotationBlend, cI as annotationOfShape, cJ as annotationOfType, cK as applyImageProjectionToContext, cL as applyParams, cM as blurFilter, cN as borderCoverage, cO as boxMean, cP as boxPointOf, cQ as buildLayerMaskPlanes, cR as calculateCropDrag, cS as canvasToImagePoint, cT as clampCropToImage, cU as colorModePlanes, cV as colorRange, cW as combineSelections, cX as componentPath, cY as compositeDeep, cZ as computeHistogram, c_ as computeSelectionBounds, c$ as contractCoverage, d0 as convertHex, d1 as convertSurfaceColors, d2 as cornersFromMatrix, d3 as coverageToByte, d4 as createSelectionMask, d5 as createShapeLayer, d6 as createTypeLayer, d7 as decodeDeepSurface, d8 as decodeLayerChannel, d9 as decodeLayerMask, da as decodeMergedImage, db as decodePngDataUrl, dc as decodeSelectionRle, dd as defaultShapeName, de as depthMaskAlpha, df as describeTransform, dg as deserializeColorMode, dh as deserializeColorProfile, di as deserializeEffects, dj as deserializeLayer, dk as deserializeLayers, dl as deserializePatterns, dm as deserializeSelection, dn as developFilter, dp as displayTransform, dq as distanceTransform, dr as documentProfile, ds as duplicateLayer, dt as edgeWidth, du as effectiveProof, dv as ellipsePoints, dw as ellipseSelection, dx as encodeDeepSurface, dy as encodeSelectionRle, dz as encodeSurface, dA as expandCoverage, dB as exportPsd, dC as featherCoverage, dD as flipCorners, dE as fullSelection, dF as geometryHomography, dG as getAnnotationBounds, dH as getCropCursor, dI as getRotatedSize, dJ as getViewportMetrics, dK as getViewportProjection, dL as globalImageCache, dM as greyMorphology, dN as groupLayers, dO as guidePlanes, dP as guidedFilterColor, dQ as hasSurface, dR as hasWarp, dS as hashMaskContent, dT as histogramPath, dU as hitTestAnnotation, dV as hitTestCrop, dW as hueRange, dX as identityTransform, dY as imageToCanvasPoint, dZ as importPsd, d_ as invertSelection, d$ as isActiveFilter, e0 as isIdentityTransform, e1 as isQuarterTurnSwapped, e2 as isRenderedLayer, e3 as isRetouchTool, e4 as isSelectionEmpty, e5 as isSelectionMode, e6 as isSpatialFilter, e7 as isSrgb, e8 as isTransformAnchor, e9 as isValidWarp, ea as layerEffectsOf, eb as layerMaskCoverage, ec as layerMaskFromSelection, ed as layerMaskKey, ee as layerName, ef as layerTree, eg as layerTypeLabel, eh as liveComponent, ei as liveShapeSubpaths, ej as magicWand, ek as mapCropHandle, el as mapSubpaths, em as matrixFromCorners, en as matrixFromParams, eo as mergeShapeComponents, ep as migrateSerializedImageEditorState, eq as migrateToLayeredState, er as modifySelection, es as moveLayer, et as newLayerId, eu as normalizeAngle, ev as normalizeFilter, ew as normalizeLayerMask, ex as normalizeLiveShape, ey as normalizeRect, ez as normalizeRefineEdgeParams, eA as normalizeShapePaint, eB as normalizeShapeStroke, eC as normalizeStoredAdjustments, eD as normalizeSubpaths, eE as normalizeText, eF as offsetLayer, eG as offsetShape, eH as parseBlend, eI as parseColor, eJ as parseSelectionMode, eK as patchParagraphStyle, eL as patchTextStyle, eM as pixelLayerBounds, eN as pixelLayers, eO as placeLayer, eP as polygonCoverage, eQ as polygonSelection, eR as presetWarp, eS as previewStep, eT as profileBytes, eU as projectImagePoint, eV as projectImageRect, eW as projectMaskCoverage, eX as psdToLayers, eY as readPsd, eZ as rectSelection, e_ as referencePoint, e$ as refineCoverage, f0 as refineEdgeHalo, f1 as refineSelection, f2 as removeLayer, f3 as removeLayerEffect, f4 as removeLayerFilter, f5 as renderShape, f6 as renderShapeRect, f7 as renderText, f8 as replaceTextRange, f9 as requireLayer, fa as requireOperation, fb as requireShapeLayer, fc as requireTypeLayer, fd as requireUnlocked, fe as rerenderShape, ff as rerenderText, fg as resizePixels, fh as resizeSelection, fi as resolveExternalAssets, fj as resolveProfile, fk as runLayerFilters, fl as selectionArea, fm as selectionFromCoverage, fn as selectionFromPixels, fo as selectionToCoverage, fp as selectionToPixels, fq as selectionValueAt, fr as serializeColorMode, fs as serializeColorProfile, ft as serializeContents, fu as serializeEffects, fv as serializeLayer, fw as serializeLayers, fx as serializeLayersExternal, fy as serializePatterns, fz as serializeSelection, fA as setLayerEffects, fB as setLayerEffectsEnabled, fC as setLayerMask, fD as setLayerProperties, fE as shapeAsPixelLayer, fF as shapeFromAnnotation, fG as shapeGeometryBounds, fH as shapeLayers, fI as shapeOutline, fJ as shapeRenderClip, fK as shiftCoverage, fL as smartObjectLayers, fM as smoothCoverage, fN as srgb8ToLab, fO as textMatrix, fP as textOutlines, fQ as textRange, fR as toHex, fS as toTextSpace, fT as toneRange, fU as transformHomography, fV as transformMap, fW as transformShapeComponents, fX as transformTypeLayer, fY as transformedBox, fZ as transformedPoint, f_ as typeAsPixelLayer, f$ as typeFrame, g0 as typeFromAnnotation, g1 as typeLayerName, g2 as ungroupLayer, g3 as unionRect, g4 as unprojectCanvasPoint, g5 as updateLayerEffect, g6 as updateLayerFilter, g7 as updateLayerMaskProps, g8 as updateShapeLayer, g9 as updateTypeLayer, ga as withNewIds, gb as writePsd } from '../export-fP2hZYjm.cjs';
|
|
3
3
|
import { b as LoadReport, J as JsonObject, f as MigrationStep } from '../migrate-iTlm3a8h.cjs';
|
|
4
4
|
import { a as BlendMode, c as PixelSurface, R as RasterRect } from '../surface-Cn30xIV6.cjs';
|
|
5
5
|
export { B as BLEND_MODES, b as BlendModeInfo, M as MaskSurface, P as PAINTERLY_BLEND_MODES, Z as PIGMENT_BANDS, _ as PIGMENT_LAMBDA_MIN, $ as PIGMENT_LAMBDA_STEP, a0 as PIGMENT_WAVELENGTHS, Y as Pigment, a1 as PigmentOptions, a2 as PigmentRgb, d as Rgb, e as Rgba, S as SHADOW_AMBIENT, f as SurfaceDraft, T as TILE, g as TILE_SHIFT, h as Tile, i as TileKey, j as TiledSurface, k as blendChannel, l as blendImageData, m as blendLum, n as blendPixel, o as blendRgb, p as canvasCompositeOperation, q as collectTiles, r as contentBounds, a3 as createPigment, s as emptySurface, t as fillRect, u as finishTile, v as isBlendMode, w as isPainterlyBlendMode, x as isSeparableBlendMode, a4 as lerpPigment, a5 as lerpPigmentInto, y as mixPigment8, z as mixPigmentRgb, a6 as mixPigments, A as normalizeBlendMode, C as packRgba, D as pigment8, E as readPixel, F as readRegion, a7 as reflectanceToRgb, a8 as rgbToReflectance, G as setLum, a9 as setPigmentColor, H as solidSurface, I as standardBlendMode, J as surfaceBytes, K as surfaceFromPixels, L as surfacesEqual, N as tileCoord, O as tileKey, Q as tileRect, U as tilesInRect, V as translateSurface, W as uniformTile, X as writeRegion } from '../surface-Cn30xIV6.cjs';
|
|
@@ -19,7 +19,7 @@ import { j as Intent, b as BuiltinProfileId } from '../builtin-CY97ppKM.cjs';
|
|
|
19
19
|
export { a as BUILTIN_PROFILES, i as INTENTS } from '../builtin-CY97ppKM.cjs';
|
|
20
20
|
import { W as WarpStyle, a as WarpMesh, V as Vec2, Q as Quad } from '../types-CwMPoRMU.cjs';
|
|
21
21
|
export { A as AffineMatrix, H as Homography } from '../types-CwMPoRMU.cjs';
|
|
22
|
-
import '../types-
|
|
22
|
+
import '../types-DdRTDnza.cjs';
|
|
23
23
|
import '../schema-Di0CS6Pe.cjs';
|
|
24
24
|
import '../types-BFkYA4eF.cjs';
|
|
25
25
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as ImageAdjustments, D as DepthMaskOptions, b as SerializedImageEditorState, A as AdjustmentKind, c as AdjustmentLayer, d as AdjustmentParamsMap, e as AdjustmentLayerMask, f as AdjustmentLayerOf, C as CurvePoint, H as HueRange, L as LevelsChannel, g as ImageEditorController, h as SelectionMask, i as SelectionMode, j as ColorDistance, R as RefineEdgeParams, k as ImagePoint, l as ImageLayer, m as CropBox, n as RasterMask, o as Annotation, p as AdjustmentLayerNode, T as TextEnv, q as AnnotationLayer, r as ShapeLayer, s as TypeLayer, t as LayerFilter, u as PixelLayer, v as DevelopFilter, w as ImageTransform, x as ImageHistogram, y as ImageProjection, z as CompositorSources, B as LayerCompositor, E as SmartFilterStack, F as SmartFilter, G as SmartObjectLayer, J as SmartContents, K as SmartDocument, M as SmartPlacement, N as FreeTransformGeometry, O as LiveShapeKind, Q as TypeLayerInfo, U as LayerPlacement, V as FreeTransformMode, W as FreeTransformResult, X as FreeTransformSession, Y as FreeTransformInit, Z as TransformAnchor } from '../export-
|
|
2
|
-
export { _ as AIResultOptions, $ as AdjustmentLayerBase, a0 as AdjustmentLayerInit, a1 as AdjustmentLayerUpdate, a2 as AnnotationPlacement, a3 as AnnotationType, a4 as ArrowAnnotation, a5 as AspectRatio, a6 as BaseAnnotation, a7 as BlackWhiteParams, a8 as BlurFilter, a9 as CircleAnnotation, aa as CloneSource, ab as ColorBalanceParams, ac as ColorBalanceTone, ad as ColorRangeOptions, ae as ColorRangeSample, af as CreateAnnotationPayload, ag as CropHandle, ah as CurvesParams, ai as DEFAULT_ADJUSTMENTS, aj as DEFAULT_DEPTH_MASK, ak as DEFAULT_MITER_LIMIT, al as DEFAULT_PROOF, am as DEFAULT_REFINE_EDGE_PARAMS, an as DEFAULT_TRANSFORM, ao as DeserializeContext, ap as DevelopSettings, aq as DocumentColorMode, ar as DocumentColorProfile, as as EMPTY_DISTANCE, at as ExportOptions, au as FREE_TRANSFORM_CONTENTS, av as FREE_TRANSFORM_MODES, aw as FillOptions, ax as FreeTransformContent, ay as FreeTransformHost, az as FreeTransformPreview, aA as GUIDED_FILTER_EPS, aB as GroupLayer, aC as HISTOGRAM_BINS, aD as HistogramChannel, aE as HistoryEntryHandle, aF as HueSaturationParams, aG as IMAGE_EDITOR_SCHEMA_VERSION, aH as ImageAnnotation, aI as ImageDimensions, aJ as ImageEditorAIHooks, I as ImageEditorAssetStore, aK as ImageEditorFit, aL as ImageEditorOptions, aM as ImageEditorRenderer, aN as ImageEditorState, aO as ImageEditorTool, aP as ImageLayerType, aQ as InpaintHook, aR as InpaintOptions, aS as InvertParams, aT as LAYERED_SCHEMA_VERSION, aU as LIVE_SHAPE_KINDS, aV as LayerBase, aW as LayerBlendMode, aX as LayerFilterKind, aY as LayerLocation, aZ as LayerMaskProps, a_ as LayerOperationError, a$ as LayerProperties, b0 as LayerSourcesHost, b1 as LayerTarget, b2 as LegacySerializedImageEditorState, b3 as LevelsParams, b4 as LineAnnotation, b5 as LiveShape, b6 as MagicWandOptions, b7 as MixerStrokeInit, b8 as PARAGRAPH_STYLE_FIELDS, b9 as PSD_BLEND_KEYS, ba as PaintOptions, bb as PaintStrokeResult, bc as PaintStrokeSession, bd as PenAnnotation, be as PhotoFilterParams, bf as PixelBuffer, bg as PixelLayerInit, bh as PixelTransform, bi as PosterizeParams, bj as ProofSetup, bk as PsdChannel, bl as PsdExportInput, P as PsdExportResult, bm as PsdFile, bn as PsdHeader, bo as PsdImportOptions, bp as PsdImportResult, bq as PsdLayerMask, br as PsdLayerRecord, bs as PsdLayerSummary, bt as PsdRect, bu as PsdResource, bv as PsdSmartFilter, bw as PsdTaggedBlock, bx as PsdTreeNode, by as RETOUCH_TOOLS, bz as RectAnnotation, bA as RemoveBackgroundHook, bB as RemoveBackgroundOptions, bC as RenderOptions, bD as RetouchStrokeInit, bE as RetouchTool, bF as SELECTION_MODES, bG as SELECTION_MODIFY_OPS, bH as SHAPE_OPERATIONS, bI as SHAPE_RENDER_MARGIN, bJ as SampleOptions, bK as SelectionChannel, bL as SelectionCommandOptions, bM as SelectionModifyOp, bN as SerializeContext, bO as SerializedAdjustmentLayer, bP as SerializedAnnotationLayer, bQ as SerializedColorMode, bR as SerializedColorProfile, bS as SerializedDeepPixels, bT as SerializedGroupLayer, S as SerializedLayer, bU as SerializedLayerEffects, bV as SerializedLayeredImageEditorState, bW as SerializedPattern, bX as SerializedPixelLayer, bY as SerializedRasterMask, bZ as SerializedSelection, b_ as SerializedShapeLayer, b$ as SerializedSmartContents, c0 as SerializedSmartFilter, c1 as SerializedSmartObjectLayer, c2 as SerializedTypeLayer, c3 as ShapeArrowhead, c4 as ShapeComponent, c5 as ShapeEnv, c6 as ShapeFillRule, c7 as ShapeGeometryInput, c8 as ShapeLayerData, c9 as ShapeLayerInfo, ca as ShapeLayerInit, cb as ShapeLineCap, cc as ShapeLineJoin, cd as ShapeOperation, ce as ShapePaint, cf as ShapePsdData, cg as ShapeSelectionOptions, ch as ShapeStroke, ci as ShapeStrokeAlign, cj as ShapeStrokeInput, ck as SmartFilterKind, cl as SmartObjectInfo, cm as SmartPsdData, cn as StrokeInit, co as StrokeTool, cp as TEXT_RENDER_MARGIN, cq as TEXT_STYLE_FIELDS, cr as TONE_RANGE_PRESETS, cs as TRANSFORM_ANCHORS, ct as TextAnnotation, cu as TextLayerInit, cv as ThresholdParams, cw as ToneRangePreset, cx as TransformParams, cy as TransformReadout, cz as TypeLayerData, cA as TypePsdData, cB as VibranceParams, cC as ViewportMetrics, cD as addLayerEffect, cE as addLayerFilter, cF as adjustmentNodeAsLayer, cG as anchorPoint, cH as annotationBlend, cI as annotationOfShape, cJ as annotationOfType, cK as applyImageProjectionToContext, cL as applyParams, cM as blurFilter, cN as borderCoverage, cO as boxMean, cP as boxPointOf, cQ as buildLayerMaskPlanes, cR as calculateCropDrag, cS as canvasToImagePoint, cT as clampCropToImage, cU as colorModePlanes, cV as colorRange, cW as combineSelections, cX as componentPath, cY as compositeDeep, cZ as computeHistogram, c_ as computeSelectionBounds, c$ as contractCoverage, d0 as convertHex, d1 as convertSurfaceColors, d2 as cornersFromMatrix, d3 as coverageToByte, d4 as createSelectionMask, d5 as createShapeLayer, d6 as createTypeLayer, d7 as decodeDeepSurface, d8 as decodeLayerChannel, d9 as decodeLayerMask, da as decodeMergedImage, db as decodePngDataUrl, dc as decodeSelectionRle, dd as defaultShapeName, de as depthMaskAlpha, df as describeTransform, dg as deserializeColorMode, dh as deserializeColorProfile, di as deserializeEffects, dj as deserializeLayer, dk as deserializeLayers, dl as deserializePatterns, dm as deserializeSelection, dn as developFilter, dp as displayTransform, dq as distanceTransform, dr as documentProfile, ds as duplicateLayer, dt as edgeWidth, du as effectiveProof, dv as ellipsePoints, dw as ellipseSelection, dx as encodeDeepSurface, dy as encodeSelectionRle, dz as encodeSurface, dA as expandCoverage, dB as exportPsd, dC as featherCoverage, dD as flipCorners, dE as fullSelection, dF as geometryHomography, dG as getAnnotationBounds, dH as getCropCursor, dI as getRotatedSize, dJ as getViewportMetrics, dK as getViewportProjection, dL as globalImageCache, dM as greyMorphology, dN as groupLayers, dO as guidePlanes, dP as guidedFilterColor, dQ as hasSurface, dR as hasWarp, dS as hashMaskContent, dT as histogramPath, dU as hitTestAnnotation, dV as hitTestCrop, dW as hueRange, dX as identityTransform, dY as imageToCanvasPoint, dZ as importPsd, d_ as invertSelection, d$ as isActiveFilter, e0 as isIdentityTransform, e1 as isQuarterTurnSwapped, e2 as isRenderedLayer, e3 as isRetouchTool, e4 as isSelectionEmpty, e5 as isSelectionMode, e6 as isSpatialFilter, e7 as isSrgb, e8 as isTransformAnchor, e9 as isValidWarp, ea as layerEffectsOf, eb as layerMaskCoverage, ec as layerMaskFromSelection, ed as layerMaskKey, ee as layerName, ef as layerTree, eg as layerTypeLabel, eh as liveComponent, ei as liveShapeSubpaths, ej as magicWand, ek as mapCropHandle, el as mapSubpaths, em as matrixFromCorners, en as matrixFromParams, eo as mergeShapeComponents, ep as migrateSerializedImageEditorState, eq as migrateToLayeredState, er as modifySelection, es as moveLayer, et as newLayerId, eu as normalizeAngle, ev as normalizeFilter, ew as normalizeLayerMask, ex as normalizeLiveShape, ey as normalizeRect, ez as normalizeRefineEdgeParams, eA as normalizeShapePaint, eB as normalizeShapeStroke, eC as normalizeStoredAdjustments, eD as normalizeSubpaths, eE as normalizeText, eF as offsetLayer, eG as offsetShape, eH as parseBlend, eI as parseColor, eJ as parseSelectionMode, eK as patchParagraphStyle, eL as patchTextStyle, eM as pixelLayerBounds, eN as pixelLayers, eO as placeLayer, eP as polygonCoverage, eQ as polygonSelection, eR as presetWarp, eS as previewStep, eT as profileBytes, eU as projectImagePoint, eV as projectImageRect, eW as projectMaskCoverage, eX as psdToLayers, eY as readPsd, eZ as rectSelection, e_ as referencePoint, e$ as refineCoverage, f0 as refineEdgeHalo, f1 as refineSelection, f2 as removeLayer, f3 as removeLayerEffect, f4 as removeLayerFilter, f5 as renderShape, f6 as renderShapeRect, f7 as renderText, f8 as replaceTextRange, f9 as requireLayer, fa as requireOperation, fb as requireShapeLayer, fc as requireTypeLayer, fd as requireUnlocked, fe as rerenderShape, ff as rerenderText, fg as resizePixels, fh as resizeSelection, fi as resolveExternalAssets, fj as resolveProfile, fk as runLayerFilters, fl as selectionArea, fm as selectionFromCoverage, fn as selectionFromPixels, fo as selectionToCoverage, fp as selectionToPixels, fq as selectionValueAt, fr as serializeColorMode, fs as serializeColorProfile, ft as serializeContents, fu as serializeEffects, fv as serializeLayer, fw as serializeLayers, fx as serializeLayersExternal, fy as serializePatterns, fz as serializeSelection, fA as setLayerEffects, fB as setLayerEffectsEnabled, fC as setLayerMask, fD as setLayerProperties, fE as shapeAsPixelLayer, fF as shapeFromAnnotation, fG as shapeGeometryBounds, fH as shapeLayers, fI as shapeOutline, fJ as shapeRenderClip, fK as shiftCoverage, fL as smartObjectLayers, fM as smoothCoverage, fN as srgb8ToLab, fO as textMatrix, fP as textOutlines, fQ as textRange, fR as toHex, fS as toTextSpace, fT as toneRange, fU as transformHomography, fV as transformMap, fW as transformShapeComponents, fX as transformTypeLayer, fY as transformedBox, fZ as transformedPoint, f_ as typeAsPixelLayer, f$ as typeFrame, g0 as typeFromAnnotation, g1 as typeLayerName, g2 as ungroupLayer, g3 as unionRect, g4 as unprojectCanvasPoint, g5 as updateLayerEffect, g6 as updateLayerFilter, g7 as updateLayerMaskProps, g8 as updateShapeLayer, g9 as updateTypeLayer, ga as withNewIds, gb as writePsd } from '../export-
|
|
1
|
+
import { a as ImageAdjustments, D as DepthMaskOptions, b as SerializedImageEditorState, A as AdjustmentKind, c as AdjustmentLayer, d as AdjustmentParamsMap, e as AdjustmentLayerMask, f as AdjustmentLayerOf, C as CurvePoint, H as HueRange, L as LevelsChannel, g as ImageEditorController, h as SelectionMask, i as SelectionMode, j as ColorDistance, R as RefineEdgeParams, k as ImagePoint, l as ImageLayer, m as CropBox, n as RasterMask, o as Annotation, p as AdjustmentLayerNode, T as TextEnv, q as AnnotationLayer, r as ShapeLayer, s as TypeLayer, t as LayerFilter, u as PixelLayer, v as DevelopFilter, w as ImageTransform, x as ImageHistogram, y as ImageProjection, z as CompositorSources, B as LayerCompositor, E as SmartFilterStack, F as SmartFilter, G as SmartObjectLayer, J as SmartContents, K as SmartDocument, M as SmartPlacement, N as FreeTransformGeometry, O as LiveShapeKind, Q as TypeLayerInfo, U as LayerPlacement, V as FreeTransformMode, W as FreeTransformResult, X as FreeTransformSession, Y as FreeTransformInit, Z as TransformAnchor } from '../export-D2D8hb_u.js';
|
|
2
|
+
export { _ as AIResultOptions, $ as AdjustmentLayerBase, a0 as AdjustmentLayerInit, a1 as AdjustmentLayerUpdate, a2 as AnnotationPlacement, a3 as AnnotationType, a4 as ArrowAnnotation, a5 as AspectRatio, a6 as BaseAnnotation, a7 as BlackWhiteParams, a8 as BlurFilter, a9 as CircleAnnotation, aa as CloneSource, ab as ColorBalanceParams, ac as ColorBalanceTone, ad as ColorRangeOptions, ae as ColorRangeSample, af as CreateAnnotationPayload, ag as CropHandle, ah as CurvesParams, ai as DEFAULT_ADJUSTMENTS, aj as DEFAULT_DEPTH_MASK, ak as DEFAULT_MITER_LIMIT, al as DEFAULT_PROOF, am as DEFAULT_REFINE_EDGE_PARAMS, an as DEFAULT_TRANSFORM, ao as DeserializeContext, ap as DevelopSettings, aq as DocumentColorMode, ar as DocumentColorProfile, as as EMPTY_DISTANCE, at as ExportOptions, au as FREE_TRANSFORM_CONTENTS, av as FREE_TRANSFORM_MODES, aw as FillOptions, ax as FreeTransformContent, ay as FreeTransformHost, az as FreeTransformPreview, aA as GUIDED_FILTER_EPS, aB as GroupLayer, aC as HISTOGRAM_BINS, aD as HistogramChannel, aE as HistoryEntryHandle, aF as HueSaturationParams, aG as IMAGE_EDITOR_SCHEMA_VERSION, aH as ImageAnnotation, aI as ImageDimensions, aJ as ImageEditorAIHooks, I as ImageEditorAssetStore, aK as ImageEditorFit, aL as ImageEditorOptions, aM as ImageEditorRenderer, aN as ImageEditorState, aO as ImageEditorTool, aP as ImageLayerType, aQ as InpaintHook, aR as InpaintOptions, aS as InvertParams, aT as LAYERED_SCHEMA_VERSION, aU as LIVE_SHAPE_KINDS, aV as LayerBase, aW as LayerBlendMode, aX as LayerFilterKind, aY as LayerLocation, aZ as LayerMaskProps, a_ as LayerOperationError, a$ as LayerProperties, b0 as LayerSourcesHost, b1 as LayerTarget, b2 as LegacySerializedImageEditorState, b3 as LevelsParams, b4 as LineAnnotation, b5 as LiveShape, b6 as MagicWandOptions, b7 as MixerStrokeInit, b8 as PARAGRAPH_STYLE_FIELDS, b9 as PSD_BLEND_KEYS, ba as PaintOptions, bb as PaintStrokeResult, bc as PaintStrokeSession, bd as PenAnnotation, be as PhotoFilterParams, bf as PixelBuffer, bg as PixelLayerInit, bh as PixelTransform, bi as PosterizeParams, bj as ProofSetup, bk as PsdChannel, bl as PsdExportInput, P as PsdExportResult, bm as PsdFile, bn as PsdHeader, bo as PsdImportOptions, bp as PsdImportResult, bq as PsdLayerMask, br as PsdLayerRecord, bs as PsdLayerSummary, bt as PsdRect, bu as PsdResource, bv as PsdSmartFilter, bw as PsdTaggedBlock, bx as PsdTreeNode, by as RETOUCH_TOOLS, bz as RectAnnotation, bA as RemoveBackgroundHook, bB as RemoveBackgroundOptions, bC as RenderOptions, bD as RetouchStrokeInit, bE as RetouchTool, bF as SELECTION_MODES, bG as SELECTION_MODIFY_OPS, bH as SHAPE_OPERATIONS, bI as SHAPE_RENDER_MARGIN, bJ as SampleOptions, bK as SelectionChannel, bL as SelectionCommandOptions, bM as SelectionModifyOp, bN as SerializeContext, bO as SerializedAdjustmentLayer, bP as SerializedAnnotationLayer, bQ as SerializedColorMode, bR as SerializedColorProfile, bS as SerializedDeepPixels, bT as SerializedGroupLayer, S as SerializedLayer, bU as SerializedLayerEffects, bV as SerializedLayeredImageEditorState, bW as SerializedPattern, bX as SerializedPixelLayer, bY as SerializedRasterMask, bZ as SerializedSelection, b_ as SerializedShapeLayer, b$ as SerializedSmartContents, c0 as SerializedSmartFilter, c1 as SerializedSmartObjectLayer, c2 as SerializedTypeLayer, c3 as ShapeArrowhead, c4 as ShapeComponent, c5 as ShapeEnv, c6 as ShapeFillRule, c7 as ShapeGeometryInput, c8 as ShapeLayerData, c9 as ShapeLayerInfo, ca as ShapeLayerInit, cb as ShapeLineCap, cc as ShapeLineJoin, cd as ShapeOperation, ce as ShapePaint, cf as ShapePsdData, cg as ShapeSelectionOptions, ch as ShapeStroke, ci as ShapeStrokeAlign, cj as ShapeStrokeInput, ck as SmartFilterKind, cl as SmartObjectInfo, cm as SmartPsdData, cn as StrokeInit, co as StrokeTool, cp as TEXT_RENDER_MARGIN, cq as TEXT_STYLE_FIELDS, cr as TONE_RANGE_PRESETS, cs as TRANSFORM_ANCHORS, ct as TextAnnotation, cu as TextLayerInit, cv as ThresholdParams, cw as ToneRangePreset, cx as TransformParams, cy as TransformReadout, cz as TypeLayerData, cA as TypePsdData, cB as VibranceParams, cC as ViewportMetrics, cD as addLayerEffect, cE as addLayerFilter, cF as adjustmentNodeAsLayer, cG as anchorPoint, cH as annotationBlend, cI as annotationOfShape, cJ as annotationOfType, cK as applyImageProjectionToContext, cL as applyParams, cM as blurFilter, cN as borderCoverage, cO as boxMean, cP as boxPointOf, cQ as buildLayerMaskPlanes, cR as calculateCropDrag, cS as canvasToImagePoint, cT as clampCropToImage, cU as colorModePlanes, cV as colorRange, cW as combineSelections, cX as componentPath, cY as compositeDeep, cZ as computeHistogram, c_ as computeSelectionBounds, c$ as contractCoverage, d0 as convertHex, d1 as convertSurfaceColors, d2 as cornersFromMatrix, d3 as coverageToByte, d4 as createSelectionMask, d5 as createShapeLayer, d6 as createTypeLayer, d7 as decodeDeepSurface, d8 as decodeLayerChannel, d9 as decodeLayerMask, da as decodeMergedImage, db as decodePngDataUrl, dc as decodeSelectionRle, dd as defaultShapeName, de as depthMaskAlpha, df as describeTransform, dg as deserializeColorMode, dh as deserializeColorProfile, di as deserializeEffects, dj as deserializeLayer, dk as deserializeLayers, dl as deserializePatterns, dm as deserializeSelection, dn as developFilter, dp as displayTransform, dq as distanceTransform, dr as documentProfile, ds as duplicateLayer, dt as edgeWidth, du as effectiveProof, dv as ellipsePoints, dw as ellipseSelection, dx as encodeDeepSurface, dy as encodeSelectionRle, dz as encodeSurface, dA as expandCoverage, dB as exportPsd, dC as featherCoverage, dD as flipCorners, dE as fullSelection, dF as geometryHomography, dG as getAnnotationBounds, dH as getCropCursor, dI as getRotatedSize, dJ as getViewportMetrics, dK as getViewportProjection, dL as globalImageCache, dM as greyMorphology, dN as groupLayers, dO as guidePlanes, dP as guidedFilterColor, dQ as hasSurface, dR as hasWarp, dS as hashMaskContent, dT as histogramPath, dU as hitTestAnnotation, dV as hitTestCrop, dW as hueRange, dX as identityTransform, dY as imageToCanvasPoint, dZ as importPsd, d_ as invertSelection, d$ as isActiveFilter, e0 as isIdentityTransform, e1 as isQuarterTurnSwapped, e2 as isRenderedLayer, e3 as isRetouchTool, e4 as isSelectionEmpty, e5 as isSelectionMode, e6 as isSpatialFilter, e7 as isSrgb, e8 as isTransformAnchor, e9 as isValidWarp, ea as layerEffectsOf, eb as layerMaskCoverage, ec as layerMaskFromSelection, ed as layerMaskKey, ee as layerName, ef as layerTree, eg as layerTypeLabel, eh as liveComponent, ei as liveShapeSubpaths, ej as magicWand, ek as mapCropHandle, el as mapSubpaths, em as matrixFromCorners, en as matrixFromParams, eo as mergeShapeComponents, ep as migrateSerializedImageEditorState, eq as migrateToLayeredState, er as modifySelection, es as moveLayer, et as newLayerId, eu as normalizeAngle, ev as normalizeFilter, ew as normalizeLayerMask, ex as normalizeLiveShape, ey as normalizeRect, ez as normalizeRefineEdgeParams, eA as normalizeShapePaint, eB as normalizeShapeStroke, eC as normalizeStoredAdjustments, eD as normalizeSubpaths, eE as normalizeText, eF as offsetLayer, eG as offsetShape, eH as parseBlend, eI as parseColor, eJ as parseSelectionMode, eK as patchParagraphStyle, eL as patchTextStyle, eM as pixelLayerBounds, eN as pixelLayers, eO as placeLayer, eP as polygonCoverage, eQ as polygonSelection, eR as presetWarp, eS as previewStep, eT as profileBytes, eU as projectImagePoint, eV as projectImageRect, eW as projectMaskCoverage, eX as psdToLayers, eY as readPsd, eZ as rectSelection, e_ as referencePoint, e$ as refineCoverage, f0 as refineEdgeHalo, f1 as refineSelection, f2 as removeLayer, f3 as removeLayerEffect, f4 as removeLayerFilter, f5 as renderShape, f6 as renderShapeRect, f7 as renderText, f8 as replaceTextRange, f9 as requireLayer, fa as requireOperation, fb as requireShapeLayer, fc as requireTypeLayer, fd as requireUnlocked, fe as rerenderShape, ff as rerenderText, fg as resizePixels, fh as resizeSelection, fi as resolveExternalAssets, fj as resolveProfile, fk as runLayerFilters, fl as selectionArea, fm as selectionFromCoverage, fn as selectionFromPixels, fo as selectionToCoverage, fp as selectionToPixels, fq as selectionValueAt, fr as serializeColorMode, fs as serializeColorProfile, ft as serializeContents, fu as serializeEffects, fv as serializeLayer, fw as serializeLayers, fx as serializeLayersExternal, fy as serializePatterns, fz as serializeSelection, fA as setLayerEffects, fB as setLayerEffectsEnabled, fC as setLayerMask, fD as setLayerProperties, fE as shapeAsPixelLayer, fF as shapeFromAnnotation, fG as shapeGeometryBounds, fH as shapeLayers, fI as shapeOutline, fJ as shapeRenderClip, fK as shiftCoverage, fL as smartObjectLayers, fM as smoothCoverage, fN as srgb8ToLab, fO as textMatrix, fP as textOutlines, fQ as textRange, fR as toHex, fS as toTextSpace, fT as toneRange, fU as transformHomography, fV as transformMap, fW as transformShapeComponents, fX as transformTypeLayer, fY as transformedBox, fZ as transformedPoint, f_ as typeAsPixelLayer, f$ as typeFrame, g0 as typeFromAnnotation, g1 as typeLayerName, g2 as ungroupLayer, g3 as unionRect, g4 as unprojectCanvasPoint, g5 as updateLayerEffect, g6 as updateLayerFilter, g7 as updateLayerMaskProps, g8 as updateShapeLayer, g9 as updateTypeLayer, ga as withNewIds, gb as writePsd } from '../export-D2D8hb_u.js';
|
|
3
3
|
import { b as LoadReport, J as JsonObject, f as MigrationStep } from '../migrate-iTlm3a8h.js';
|
|
4
4
|
import { a as BlendMode, c as PixelSurface, R as RasterRect } from '../surface-Cn30xIV6.js';
|
|
5
5
|
export { B as BLEND_MODES, b as BlendModeInfo, M as MaskSurface, P as PAINTERLY_BLEND_MODES, Z as PIGMENT_BANDS, _ as PIGMENT_LAMBDA_MIN, $ as PIGMENT_LAMBDA_STEP, a0 as PIGMENT_WAVELENGTHS, Y as Pigment, a1 as PigmentOptions, a2 as PigmentRgb, d as Rgb, e as Rgba, S as SHADOW_AMBIENT, f as SurfaceDraft, T as TILE, g as TILE_SHIFT, h as Tile, i as TileKey, j as TiledSurface, k as blendChannel, l as blendImageData, m as blendLum, n as blendPixel, o as blendRgb, p as canvasCompositeOperation, q as collectTiles, r as contentBounds, a3 as createPigment, s as emptySurface, t as fillRect, u as finishTile, v as isBlendMode, w as isPainterlyBlendMode, x as isSeparableBlendMode, a4 as lerpPigment, a5 as lerpPigmentInto, y as mixPigment8, z as mixPigmentRgb, a6 as mixPigments, A as normalizeBlendMode, C as packRgba, D as pigment8, E as readPixel, F as readRegion, a7 as reflectanceToRgb, a8 as rgbToReflectance, G as setLum, a9 as setPigmentColor, H as solidSurface, I as standardBlendMode, J as surfaceBytes, K as surfaceFromPixels, L as surfacesEqual, N as tileCoord, O as tileKey, Q as tileRect, U as tilesInRect, V as translateSurface, W as uniformTile, X as writeRegion } from '../surface-Cn30xIV6.js';
|
|
@@ -19,7 +19,7 @@ import { j as Intent, b as BuiltinProfileId } from '../builtin-CY97ppKM.js';
|
|
|
19
19
|
export { a as BUILTIN_PROFILES, i as INTENTS } from '../builtin-CY97ppKM.js';
|
|
20
20
|
import { W as WarpStyle, a as WarpMesh, V as Vec2, Q as Quad } from '../types-CwMPoRMU.js';
|
|
21
21
|
export { A as AffineMatrix, H as Homography } from '../types-CwMPoRMU.js';
|
|
22
|
-
import '../types-
|
|
22
|
+
import '../types-BgwxFWvn.js';
|
|
23
23
|
import '../schema-Di0CS6Pe.js';
|
|
24
24
|
import '../types-BFkYA4eF.js';
|
|
25
25
|
|
|
@@ -358,7 +358,7 @@ import {
|
|
|
358
358
|
writePsd,
|
|
359
359
|
xyToTempTint,
|
|
360
360
|
xyToUv
|
|
361
|
-
} from "../chunk-
|
|
361
|
+
} from "../chunk-BOWUU4LJ.js";
|
|
362
362
|
import {
|
|
363
363
|
loadDocument
|
|
364
364
|
} from "../chunk-U5HZSFCS.js";
|
|
@@ -727,7 +727,7 @@ import {
|
|
|
727
727
|
warpMeshParamAt,
|
|
728
728
|
warpMeshRows,
|
|
729
729
|
warpPresetMesh
|
|
730
|
-
} from "../chunk-
|
|
730
|
+
} from "../chunk-WORWH5K5.js";
|
|
731
731
|
import "../chunk-YCSFS3GK.js";
|
|
732
732
|
import "../chunk-ZRJMJIQU.js";
|
|
733
733
|
import "../chunk-TGD52FEZ.js";
|
|
@@ -7,7 +7,7 @@ var _chunkSMJGE7HMcjs = require('../chunk-SMJGE7HM.cjs');
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkHTAFDTNRcjs = require('../chunk-HTAFDTNR.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
@@ -102,7 +102,7 @@ var _chunkCOAMRKVIcjs = require('../chunk-COAMRKVI.cjs');
|
|
|
102
102
|
|
|
103
103
|
|
|
104
104
|
var _chunkEGFUVXKKcjs = require('../chunk-EGFUVXKK.cjs');
|
|
105
|
-
require('../chunk-
|
|
105
|
+
require('../chunk-VYW7JBTM.cjs');
|
|
106
106
|
require('../chunk-XGD3FSNC.cjs');
|
|
107
107
|
require('../chunk-EMQWJA3G.cjs');
|
|
108
108
|
require('../chunk-MR3Z4OQI.cjs');
|
|
@@ -3298,11 +3298,11 @@ function header(state, options) {
|
|
|
3298
3298
|
return out;
|
|
3299
3299
|
}
|
|
3300
3300
|
function serializePaintDocument(state, options = {}) {
|
|
3301
|
-
const { layers, assets } =
|
|
3301
|
+
const { layers, assets } = _chunkHTAFDTNRcjs.serializeLayers.call(void 0, state.layers);
|
|
3302
3302
|
return { ...header(state, options), layers, assets };
|
|
3303
3303
|
}
|
|
3304
3304
|
async function serializePaintDocumentExternal(state, store, options = {}) {
|
|
3305
|
-
const { layers, assets } = await
|
|
3305
|
+
const { layers, assets } = await _chunkHTAFDTNRcjs.serializeLayersExternal.call(void 0, state.layers, store);
|
|
3306
3306
|
return { ...header(state, options), layers, assets };
|
|
3307
3307
|
}
|
|
3308
3308
|
function paintLayersOnly(layers, problems) {
|
|
@@ -3339,7 +3339,7 @@ function deserializePaintDocument(raw) {
|
|
|
3339
3339
|
const canvas = normalizeCanvas({ width: r.width, height: r.height, dpi: _nullishCoalesce(r.dpi, () => ( void 0)) });
|
|
3340
3340
|
const paper = normalizePaper(_nullishCoalesce(r.paper, () => ( {})));
|
|
3341
3341
|
const assets = r.assets && typeof r.assets === "object" ? r.assets : {};
|
|
3342
|
-
const layers = paintLayersOnly(
|
|
3342
|
+
const layers = paintLayersOnly(_chunkHTAFDTNRcjs.deserializeLayers.call(void 0, r.layers, { assets, problems }), problems);
|
|
3343
3343
|
const wanted = typeof r.activeLayerId === "string" ? r.activeLayerId : null;
|
|
3344
3344
|
const activeLayerId = wanted && _chunkWMRIG4XQcjs.findLayer.call(void 0, layers, wanted) ? wanted : _nullishCoalesce(_optionalChain([_chunkWMRIG4XQcjs.flattenLayers.call(void 0, layers), 'access', _73 => _73.filter, 'call', _74 => _74((l) => l.type === "pixel"), 'access', _75 => _75.pop, 'call', _76 => _76(), 'optionalAccess', _77 => _77.id]), () => ( null));
|
|
3345
3345
|
const wetEvents = Array.isArray(r.wetEvents) ? r.wetEvents.filter((e) => e && typeof e === "object" && Number.isInteger(e.clock) && typeof e.kind === "string") : [];
|
|
@@ -3353,7 +3353,7 @@ async function deserializePaintDocumentAsync(raw, store) {
|
|
|
3353
3353
|
if (!raw || typeof raw !== "object") throw new Error("Not a paint document: expected a JSON object.");
|
|
3354
3354
|
const r = raw;
|
|
3355
3355
|
const problems = [];
|
|
3356
|
-
const assets = await
|
|
3356
|
+
const assets = await _chunkHTAFDTNRcjs.resolveExternalAssets.call(void 0, _nullishCoalesce(r.assets, () => ( {})), store, problems);
|
|
3357
3357
|
const loaded = deserializePaintDocument({ ...r, assets });
|
|
3358
3358
|
return { ...loaded, problems: [...problems, ...loaded.problems] };
|
|
3359
3359
|
}
|
|
@@ -6370,7 +6370,7 @@ var PaintEditorController = (_class17 = class _PaintEditorController {
|
|
|
6370
6370
|
return next.type === "group" ? { ...next, children: toStandard(next.children) } : next;
|
|
6371
6371
|
});
|
|
6372
6372
|
const layers = toStandard(dried);
|
|
6373
|
-
const result =
|
|
6373
|
+
const result = _chunkHTAFDTNRcjs.exportPsd.call(void 0, { width, height, layers: [paperLayer, ...layers], merged, resolution: dpi });
|
|
6374
6374
|
for (const [mode, names] of changed) {
|
|
6375
6375
|
const label = _nullishCoalesce(_optionalChain([_chunk7ISPWEJAcjs.BLEND_MODES, 'access', _225 => _225.find, 'call', _226 => _226((m) => m.id === mode), 'optionalAccess', _227 => _227.label]), () => ( mode));
|
|
6376
6376
|
const std = _nullishCoalesce(_optionalChain([_chunk7ISPWEJAcjs.BLEND_MODES, 'access', _228 => _228.find, 'call', _229 => _229((m) => m.id === _chunk7ISPWEJAcjs.standardBlendMode.call(void 0, mode)), 'optionalAccess', _230 => _230.label]), () => ( _chunk7ISPWEJAcjs.standardBlendMode.call(void 0, mode)));
|
|
@@ -3,7 +3,7 @@ import { D as Dab, C as CoverageMap, B as BrushSettings, e as StrokePoint, P as
|
|
|
3
3
|
export { s as DEFAULT_FLOW, t as DEFAULT_WET_PARAMS, u as MAX_BRUSH_SIZE, v as WET_FLOW_KINDS, w as WET_PARAM_KEYS, x as WetFlowKind, y as WetSupport, z as normalizeFlow, A as normalizeWetParams, E as wetSupport } from '../flow-A2Dj-69w.cjs';
|
|
4
4
|
import { R as RasterRect, j as TiledSurface, a as BlendMode, b as BlendModeInfo } from '../surface-Cn30xIV6.cjs';
|
|
5
5
|
export { B as BLEND_MODES, P as PAINTERLY_BLEND_MODES, h as Tile, v as isBlendMode, w as isPainterlyBlendMode, I as standardBlendMode } from '../surface-Cn30xIV6.cjs';
|
|
6
|
-
import { I as ImageEditorAssetStore, S as SerializedLayer, P as PsdExportResult } from '../export-
|
|
6
|
+
import { I as ImageEditorAssetStore, S as SerializedLayer, P as PsdExportResult } from '../export-fP2hZYjm.cjs';
|
|
7
7
|
import { V as VideoProject, A as VideoFfmpegExport } from '../export-Dv0-ZVrV.cjs';
|
|
8
8
|
import { g as PresenceStore, e as PresenceClock, d as PresenceActorInfo, c as PresenceActor, f as PresenceState } from '../presence-Cb6WhcrQ.cjs';
|
|
9
9
|
import { a as AgentToolProvider, A as AgentTool } from '../registry-BqA1AZt0.cjs';
|
|
@@ -12,7 +12,7 @@ import '../builtin-CY97ppKM.cjs';
|
|
|
12
12
|
import '../bezier-BfwIbVTl.cjs';
|
|
13
13
|
import '../types-BFkYA4eF.cjs';
|
|
14
14
|
import '../warp-B39VsOtd.cjs';
|
|
15
|
-
import '../types-
|
|
15
|
+
import '../types-DdRTDnza.cjs';
|
|
16
16
|
import '../schema-Di0CS6Pe.cjs';
|
|
17
17
|
|
|
18
18
|
/**
|
|
@@ -3,7 +3,7 @@ import { D as Dab, C as CoverageMap, B as BrushSettings, e as StrokePoint, P as
|
|
|
3
3
|
export { s as DEFAULT_FLOW, t as DEFAULT_WET_PARAMS, u as MAX_BRUSH_SIZE, v as WET_FLOW_KINDS, w as WET_PARAM_KEYS, x as WetFlowKind, y as WetSupport, z as normalizeFlow, A as normalizeWetParams, E as wetSupport } from '../flow-C95atNoQ.js';
|
|
4
4
|
import { R as RasterRect, j as TiledSurface, a as BlendMode, b as BlendModeInfo } from '../surface-Cn30xIV6.js';
|
|
5
5
|
export { B as BLEND_MODES, P as PAINTERLY_BLEND_MODES, h as Tile, v as isBlendMode, w as isPainterlyBlendMode, I as standardBlendMode } from '../surface-Cn30xIV6.js';
|
|
6
|
-
import { I as ImageEditorAssetStore, S as SerializedLayer, P as PsdExportResult } from '../export-
|
|
6
|
+
import { I as ImageEditorAssetStore, S as SerializedLayer, P as PsdExportResult } from '../export-D2D8hb_u.js';
|
|
7
7
|
import { V as VideoProject, A as VideoFfmpegExport } from '../export-Dv0-ZVrV.js';
|
|
8
8
|
import { g as PresenceStore, e as PresenceClock, d as PresenceActorInfo, c as PresenceActor, f as PresenceState } from '../presence-Cb6WhcrQ.js';
|
|
9
9
|
import { a as AgentToolProvider, A as AgentTool } from '../registry-D-4fit9C.js';
|
|
@@ -12,7 +12,7 @@ import '../builtin-CY97ppKM.js';
|
|
|
12
12
|
import '../bezier-DYBvLgUH.js';
|
|
13
13
|
import '../types-BFkYA4eF.js';
|
|
14
14
|
import '../warp-DMN30aY6.js';
|
|
15
|
-
import '../types-
|
|
15
|
+
import '../types-BgwxFWvn.js';
|
|
16
16
|
import '../schema-Di0CS6Pe.js';
|
|
17
17
|
|
|
18
18
|
/**
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
resolveExternalAssets,
|
|
8
8
|
serializeLayers,
|
|
9
9
|
serializeLayersExternal
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-BOWUU4LJ.js";
|
|
11
11
|
import {
|
|
12
12
|
RasterCompositor,
|
|
13
13
|
findLayer,
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
realPresenceClock,
|
|
103
103
|
tweenPresenceCursor
|
|
104
104
|
} from "../chunk-B6DSIEXA.js";
|
|
105
|
-
import "../chunk-
|
|
105
|
+
import "../chunk-WORWH5K5.js";
|
|
106
106
|
import "../chunk-YCSFS3GK.js";
|
|
107
107
|
import "../chunk-33AHNSEB.js";
|
|
108
108
|
import "../chunk-ZRJMJIQU.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { B as BezierPath, A as AffineMatrix, S as SvgGradientDef } from './bezier-BfwIbVTl.cjs';
|
|
2
|
-
import { V as VectorEffectType, a as VectorEffectParamsMap, b as VectorPathNode, c as VectorFillRule, d as VectorBooleanOperation, e as VectorNode, f as VectorEffect, g as VectorGroupNode, h as VectorBounds, i as VectorWarpMesh, j as VectorInstanceNode, k as VectorFilterType, l as VectorFilterParamsMap, m as VectorFilter, n as VectorGradient, o as Vec2, p as VectorGradientUnits, q as VectorGradientSpread, r as VectorGradientType, s as VectorPaint, t as VectorMatrix, u as VectorGradientStop, v as VectorStrokeAlign, w as VectorSubpath, x as VectorDocument, y as VectorWidthPoint } from './types-
|
|
2
|
+
import { V as VectorEffectType, a as VectorEffectParamsMap, b as VectorPathNode, c as VectorFillRule, d as VectorBooleanOperation, e as VectorNode, f as VectorEffect, g as VectorGroupNode, h as VectorBounds, i as VectorWarpMesh, j as VectorInstanceNode, k as VectorFilterType, l as VectorFilterParamsMap, m as VectorFilter, n as VectorGradient, o as Vec2, p as VectorGradientUnits, q as VectorGradientSpread, r as VectorGradientType, s as VectorPaint, t as VectorMatrix, u as VectorGradientStop, v as VectorStrokeAlign, w as VectorSubpath, x as VectorDocument, y as VectorWidthPoint } from './types-DdRTDnza.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Live appearance: path effect stacks and live boolean groups, evaluated on demand while the
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { B as BezierPath, A as AffineMatrix, S as SvgGradientDef } from './bezier-DYBvLgUH.js';
|
|
2
|
-
import { V as VectorEffectType, a as VectorEffectParamsMap, b as VectorPathNode, c as VectorFillRule, d as VectorBooleanOperation, e as VectorNode, f as VectorEffect, g as VectorGroupNode, h as VectorBounds, i as VectorWarpMesh, j as VectorInstanceNode, k as VectorFilterType, l as VectorFilterParamsMap, m as VectorFilter, n as VectorGradient, o as Vec2, p as VectorGradientUnits, q as VectorGradientSpread, r as VectorGradientType, s as VectorPaint, t as VectorMatrix, u as VectorGradientStop, v as VectorStrokeAlign, w as VectorSubpath, x as VectorDocument, y as VectorWidthPoint } from './types-
|
|
2
|
+
import { V as VectorEffectType, a as VectorEffectParamsMap, b as VectorPathNode, c as VectorFillRule, d as VectorBooleanOperation, e as VectorNode, f as VectorEffect, g as VectorGroupNode, h as VectorBounds, i as VectorWarpMesh, j as VectorInstanceNode, k as VectorFilterType, l as VectorFilterParamsMap, m as VectorFilter, n as VectorGradient, o as Vec2, p as VectorGradientUnits, q as VectorGradientSpread, r as VectorGradientType, s as VectorPaint, t as VectorMatrix, u as VectorGradientStop, v as VectorStrokeAlign, w as VectorSubpath, x as VectorDocument, y as VectorWidthPoint } from './types-BgwxFWvn.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Live appearance: path effect stacks and live boolean groups, evaluated on demand while the
|
|
@@ -776,10 +776,11 @@ type VectorAverageAxis = 'horizontal' | 'vertical' | 'both';
|
|
|
776
776
|
/**
|
|
777
777
|
* Live path effects (After Effects' path operators): `trim` (Trim Paths), `roundCorners`,
|
|
778
778
|
* `puckerBloat`, `twist`, `zigzag`, `wiggle` (Wiggle Paths), `offset` (Offset Paths), `merge`
|
|
779
|
-
* (Merge Paths), `repeater`, `envelope` (an envelope distortion: a warp preset or a mesh)
|
|
780
|
-
* `contour` (CorelDRAW's Contour: concentric offset steps blending toward end colours)
|
|
779
|
+
* (Merge Paths), `repeater`, `envelope` (an envelope distortion: a warp preset or a mesh),
|
|
780
|
+
* `contour` (CorelDRAW's Contour: concentric offset steps blending toward end colours) and
|
|
781
|
+
* `blockShadow` (CorelDRAW's Block Shadow: the shape swept along a direction, under it).
|
|
781
782
|
*/
|
|
782
|
-
type VectorEffectType = 'trim' | 'roundCorners' | 'puckerBloat' | 'twist' | 'zigzag' | 'wiggle' | 'offset' | 'merge' | 'repeater' | 'envelope' | 'contour';
|
|
783
|
+
type VectorEffectType = 'trim' | 'roundCorners' | 'puckerBloat' | 'twist' | 'zigzag' | 'wiggle' | 'offset' | 'merge' | 'repeater' | 'envelope' | 'contour' | 'blockShadow';
|
|
783
784
|
declare const VECTOR_EFFECT_TYPES: readonly VectorEffectType[];
|
|
784
785
|
/** Warp presets (Photoshop's fifteen, in menu order); shared with the image editor (`src/geom`). */
|
|
785
786
|
type VectorWarpStyle = WarpStyle;
|
|
@@ -875,12 +876,6 @@ interface VectorEffectParamsMap {
|
|
|
875
876
|
/** `below`: each copy draws under the one before it; `above`: over it. */
|
|
876
877
|
composite: 'below' | 'above';
|
|
877
878
|
};
|
|
878
|
-
/**
|
|
879
|
-
* Envelope distortion: the paths above it are mapped from their combined bounds through a warp
|
|
880
|
-
* preset (bend and horizontal / vertical distortion in percent) or, with style `mesh`, through
|
|
881
|
-
* `mesh` (null: the flat mesh of `columns × rows` patches over the bounds). The bounds are
|
|
882
|
-
* taken afresh each time, so editing the contents keeps the envelope.
|
|
883
|
-
*/
|
|
884
879
|
/**
|
|
885
880
|
* Contour: concentric copies of each shape offset `offset` apart, `steps` of them `inside`,
|
|
886
881
|
* `outside`, or `center` (inside until the shape is used up), their fill and stroke blending
|
|
@@ -897,6 +892,25 @@ interface VectorEffectParamsMap {
|
|
|
897
892
|
strokeColor: string | null;
|
|
898
893
|
acceleration: number;
|
|
899
894
|
};
|
|
895
|
+
/**
|
|
896
|
+
* Block shadow (CorelDRAW's Block Shadow; a long shadow when it fades): each shape swept
|
|
897
|
+
* `distance` along `angle` (degrees, 0 right, 90 down, in the node's own space) as one solid
|
|
898
|
+
* shape under the art, in `color` (null: the shape's own solid fill) at `opacity` percent,
|
|
899
|
+
* fading to `endOpacity` percent at the far end.
|
|
900
|
+
*/
|
|
901
|
+
blockShadow: {
|
|
902
|
+
angle: number;
|
|
903
|
+
distance: number;
|
|
904
|
+
color: string | null;
|
|
905
|
+
opacity: number;
|
|
906
|
+
endOpacity: number;
|
|
907
|
+
};
|
|
908
|
+
/**
|
|
909
|
+
* Envelope distortion: the paths above it are mapped from their combined bounds through a warp
|
|
910
|
+
* preset (bend and horizontal / vertical distortion in percent) or, with style `mesh`, through
|
|
911
|
+
* `mesh` (null: the flat mesh of `columns × rows` patches over the bounds). The bounds are
|
|
912
|
+
* taken afresh each time, so editing the contents keeps the envelope.
|
|
913
|
+
*/
|
|
900
914
|
envelope: {
|
|
901
915
|
style: VectorWarpStyle | 'mesh';
|
|
902
916
|
bend: number;
|
|
@@ -776,10 +776,11 @@ type VectorAverageAxis = 'horizontal' | 'vertical' | 'both';
|
|
|
776
776
|
/**
|
|
777
777
|
* Live path effects (After Effects' path operators): `trim` (Trim Paths), `roundCorners`,
|
|
778
778
|
* `puckerBloat`, `twist`, `zigzag`, `wiggle` (Wiggle Paths), `offset` (Offset Paths), `merge`
|
|
779
|
-
* (Merge Paths), `repeater`, `envelope` (an envelope distortion: a warp preset or a mesh)
|
|
780
|
-
* `contour` (CorelDRAW's Contour: concentric offset steps blending toward end colours)
|
|
779
|
+
* (Merge Paths), `repeater`, `envelope` (an envelope distortion: a warp preset or a mesh),
|
|
780
|
+
* `contour` (CorelDRAW's Contour: concentric offset steps blending toward end colours) and
|
|
781
|
+
* `blockShadow` (CorelDRAW's Block Shadow: the shape swept along a direction, under it).
|
|
781
782
|
*/
|
|
782
|
-
type VectorEffectType = 'trim' | 'roundCorners' | 'puckerBloat' | 'twist' | 'zigzag' | 'wiggle' | 'offset' | 'merge' | 'repeater' | 'envelope' | 'contour';
|
|
783
|
+
type VectorEffectType = 'trim' | 'roundCorners' | 'puckerBloat' | 'twist' | 'zigzag' | 'wiggle' | 'offset' | 'merge' | 'repeater' | 'envelope' | 'contour' | 'blockShadow';
|
|
783
784
|
declare const VECTOR_EFFECT_TYPES: readonly VectorEffectType[];
|
|
784
785
|
/** Warp presets (Photoshop's fifteen, in menu order); shared with the image editor (`src/geom`). */
|
|
785
786
|
type VectorWarpStyle = WarpStyle;
|
|
@@ -875,12 +876,6 @@ interface VectorEffectParamsMap {
|
|
|
875
876
|
/** `below`: each copy draws under the one before it; `above`: over it. */
|
|
876
877
|
composite: 'below' | 'above';
|
|
877
878
|
};
|
|
878
|
-
/**
|
|
879
|
-
* Envelope distortion: the paths above it are mapped from their combined bounds through a warp
|
|
880
|
-
* preset (bend and horizontal / vertical distortion in percent) or, with style `mesh`, through
|
|
881
|
-
* `mesh` (null: the flat mesh of `columns × rows` patches over the bounds). The bounds are
|
|
882
|
-
* taken afresh each time, so editing the contents keeps the envelope.
|
|
883
|
-
*/
|
|
884
879
|
/**
|
|
885
880
|
* Contour: concentric copies of each shape offset `offset` apart, `steps` of them `inside`,
|
|
886
881
|
* `outside`, or `center` (inside until the shape is used up), their fill and stroke blending
|
|
@@ -897,6 +892,25 @@ interface VectorEffectParamsMap {
|
|
|
897
892
|
strokeColor: string | null;
|
|
898
893
|
acceleration: number;
|
|
899
894
|
};
|
|
895
|
+
/**
|
|
896
|
+
* Block shadow (CorelDRAW's Block Shadow; a long shadow when it fades): each shape swept
|
|
897
|
+
* `distance` along `angle` (degrees, 0 right, 90 down, in the node's own space) as one solid
|
|
898
|
+
* shape under the art, in `color` (null: the shape's own solid fill) at `opacity` percent,
|
|
899
|
+
* fading to `endOpacity` percent at the far end.
|
|
900
|
+
*/
|
|
901
|
+
blockShadow: {
|
|
902
|
+
angle: number;
|
|
903
|
+
distance: number;
|
|
904
|
+
color: string | null;
|
|
905
|
+
opacity: number;
|
|
906
|
+
endOpacity: number;
|
|
907
|
+
};
|
|
908
|
+
/**
|
|
909
|
+
* Envelope distortion: the paths above it are mapped from their combined bounds through a warp
|
|
910
|
+
* preset (bend and horizontal / vertical distortion in percent) or, with style `mesh`, through
|
|
911
|
+
* `mesh` (null: the flat mesh of `columns × rows` patches over the bounds). The bounds are
|
|
912
|
+
* taken afresh each time, so editing the contents keeps the envelope.
|
|
913
|
+
*/
|
|
900
914
|
envelope: {
|
|
901
915
|
style: VectorWarpStyle | 'mesh';
|
|
902
916
|
bend: number;
|