@cesdk/node 1.75.0-nightly.20260428 → 1.75.0-nightly.20260501
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/assets/core/{cesdk-v1.75.0-nightly.20260428-FJUD6RI4.wasm → cesdk-v1.75.0-nightly.20260501-KKOJ54DC.wasm} +0 -0
- package/index.d.ts +161 -7
- package/index.js +1 -1
- package/package.json +1 -1
- /package/assets/core/{cesdk-v1.75.0-nightly.20260428-MLEZSZ4D.data → cesdk-v1.75.0-nightly.20260501-MLEZSZ4D.data} +0 -0
|
Binary file
|
package/index.d.ts
CHANGED
|
@@ -859,6 +859,15 @@ export declare interface AssetColorProperty {
|
|
|
859
859
|
defaultValue: Color;
|
|
860
860
|
}
|
|
861
861
|
|
|
862
|
+
/**
|
|
863
|
+
* Asset transform preset payload that snaps a block's frame to the intrinsic
|
|
864
|
+
* aspect ratio of the block's content (e.g. the underlying image or video).
|
|
865
|
+
* @public
|
|
866
|
+
*/
|
|
867
|
+
export declare interface AssetContentAspectRatio {
|
|
868
|
+
type: 'ContentAspectRatio';
|
|
869
|
+
}
|
|
870
|
+
|
|
862
871
|
/**
|
|
863
872
|
* Definition of an asset used if an asset is added to an asset source.
|
|
864
873
|
* @public
|
|
@@ -1212,7 +1221,7 @@ export declare interface AssetStringProperty {
|
|
|
1212
1221
|
* Transform preset payload
|
|
1213
1222
|
* @public
|
|
1214
1223
|
*/
|
|
1215
|
-
export declare type AssetTransformPreset = AssetFixedAspectRatio | AssetFreeAspectRatio | AssetFixedSize;
|
|
1224
|
+
export declare type AssetTransformPreset = AssetFixedAspectRatio | AssetFreeAspectRatio | AssetContentAspectRatio | AssetFixedSize;
|
|
1216
1225
|
|
|
1217
1226
|
/**
|
|
1218
1227
|
* An async-compatible URI resolver function.
|
|
@@ -1452,6 +1461,22 @@ export declare class BlockAPI {
|
|
|
1452
1461
|
* ```
|
|
1453
1462
|
*/
|
|
1454
1463
|
export(handle: DesignBlockId, mimeType?: ExportOptions['mimeType'], options?: Omit<ExportOptions, 'mimeType'>): Promise<Blob>;
|
|
1464
|
+
/**
|
|
1465
|
+
* Extracts the dominant colors from the rendered appearance of a block.
|
|
1466
|
+
*
|
|
1467
|
+
* Performs an internal update to resolve the final layout for the block. Will not
|
|
1468
|
+
* complete as long as assets are in a pending state; asset loading progresses during
|
|
1469
|
+
* engine updates. Crops, color adjustments, and effects applied to the block are
|
|
1470
|
+
* reflected in the returned palette. Fully or mostly transparent pixels are excluded
|
|
1471
|
+
* from the analysis.
|
|
1472
|
+
*
|
|
1473
|
+
* @category Block Analysis
|
|
1474
|
+
* @param handle - The design block element to analyze. Must be attached to a scene
|
|
1475
|
+
* and render visible content.
|
|
1476
|
+
* @param options - See `DominantColorsOptions`.
|
|
1477
|
+
* @returns A promise that resolves with the dominant colors sorted by weight, descending.
|
|
1478
|
+
*/
|
|
1479
|
+
getDominantColors(handle: DesignBlockId, options?: DominantColorsOptions): Promise<DominantColor[]>;
|
|
1455
1480
|
/**
|
|
1456
1481
|
* Exports a design block and a color mask to two separate Blobs.
|
|
1457
1482
|
*
|
|
@@ -2043,6 +2068,21 @@ export declare class BlockAPI {
|
|
|
2043
2068
|
* @returns A list of block ids.
|
|
2044
2069
|
*/
|
|
2045
2070
|
findAllPlaceholders(): DesignBlockId[];
|
|
2071
|
+
/**
|
|
2072
|
+
* Finds all blocks that are not attached to any scene.
|
|
2073
|
+
*
|
|
2074
|
+
* A block is considered unused when it has no path to a scene (no scene
|
|
2075
|
+
* reference and no ancestor that belongs to a scene) and is not itself a
|
|
2076
|
+
* scene. Generated blocks and render blocks (fills, effects, shapes, blurs)
|
|
2077
|
+
* are excluded, matching the behaviour of {@link BlockAPI.findAll}.
|
|
2078
|
+
*
|
|
2079
|
+
* This is useful for cleanup workflows and for filtering the URIs returned
|
|
2080
|
+
* by {@link EditorAPI.findAllMediaURIs} before relocating resources.
|
|
2081
|
+
*
|
|
2082
|
+
* @category Block Exploration
|
|
2083
|
+
* @returns A list of block ids that are not attached to any scene.
|
|
2084
|
+
*/
|
|
2085
|
+
findAllUnused(): DesignBlockId[];
|
|
2046
2086
|
/**
|
|
2047
2087
|
* Creates a new shape block of a given type.
|
|
2048
2088
|
*
|
|
@@ -3825,6 +3865,34 @@ export declare class BlockAPI {
|
|
|
3825
3865
|
* @returns True if the block's stroke is enabled.
|
|
3826
3866
|
*/
|
|
3827
3867
|
isStrokeEnabled(id: DesignBlockId): boolean;
|
|
3868
|
+
/**
|
|
3869
|
+
* Marks the stroke of a block as overprint for PDF export.
|
|
3870
|
+
*
|
|
3871
|
+
* The flag is only honored by the PDF writer when the stroke uses a spot color
|
|
3872
|
+
* (Separation/DeviceN). For process-color strokes it is a silent no-op. On-screen
|
|
3873
|
+
* rendering ignores the flag.
|
|
3874
|
+
*
|
|
3875
|
+
* ```javascript
|
|
3876
|
+
* engine.block.setStrokeOverprint(block, true);
|
|
3877
|
+
* ```
|
|
3878
|
+
*
|
|
3879
|
+
* @category Block Strokes
|
|
3880
|
+
* @param id - The block whose stroke overprint flag should be set.
|
|
3881
|
+
* @param overprint - If true, the stroke is marked as overprint in exported PDFs.
|
|
3882
|
+
*/
|
|
3883
|
+
setStrokeOverprint(id: DesignBlockId, overprint: boolean): void;
|
|
3884
|
+
/**
|
|
3885
|
+
* Queries whether the stroke of a block is marked as overprint for PDF export.
|
|
3886
|
+
*
|
|
3887
|
+
* ```javascript
|
|
3888
|
+
* const overprint = engine.block.getStrokeOverprint(block);
|
|
3889
|
+
* ```
|
|
3890
|
+
*
|
|
3891
|
+
* @category Block Strokes
|
|
3892
|
+
* @param id - The block whose stroke overprint flag should be queried.
|
|
3893
|
+
* @returns The stroke overprint flag.
|
|
3894
|
+
*/
|
|
3895
|
+
getStrokeOverprint(id: DesignBlockId): boolean;
|
|
3828
3896
|
/**
|
|
3829
3897
|
* Sets the stroke color of a block using RGBA values.
|
|
3830
3898
|
*
|
|
@@ -4769,6 +4837,34 @@ export declare class BlockAPI {
|
|
|
4769
4837
|
* @param enabled - If true, the fill will be enabled.
|
|
4770
4838
|
*/
|
|
4771
4839
|
setFillEnabled(id: DesignBlockId, enabled: boolean): void;
|
|
4840
|
+
/**
|
|
4841
|
+
* Queries whether the fill of a block is marked as overprint for PDF export.
|
|
4842
|
+
*
|
|
4843
|
+
* ```javascript
|
|
4844
|
+
* const overprint = engine.block.getFillOverprint(block);
|
|
4845
|
+
* ```
|
|
4846
|
+
*
|
|
4847
|
+
* @category Block Fills
|
|
4848
|
+
* @param id - The block whose fill overprint flag should be queried.
|
|
4849
|
+
* @returns The fill overprint flag.
|
|
4850
|
+
*/
|
|
4851
|
+
getFillOverprint(id: DesignBlockId): boolean;
|
|
4852
|
+
/**
|
|
4853
|
+
* Marks the fill of a block as overprint for PDF export.
|
|
4854
|
+
*
|
|
4855
|
+
* The flag is only honored by the PDF writer when the fill uses a spot color
|
|
4856
|
+
* (Separation/DeviceN). For process-color fills it is a silent no-op. On-screen
|
|
4857
|
+
* rendering ignores the flag.
|
|
4858
|
+
*
|
|
4859
|
+
* ```javascript
|
|
4860
|
+
* engine.block.setFillOverprint(block, true);
|
|
4861
|
+
* ```
|
|
4862
|
+
*
|
|
4863
|
+
* @category Block Fills
|
|
4864
|
+
* @param id - The block whose fill overprint flag should be set.
|
|
4865
|
+
* @param overprint - If true, the fill is marked as overprint in exported PDFs.
|
|
4866
|
+
*/
|
|
4867
|
+
setFillOverprint(id: DesignBlockId, overprint: boolean): void;
|
|
4772
4868
|
/**
|
|
4773
4869
|
* Gets the fill block attached to a given block.
|
|
4774
4870
|
*
|
|
@@ -5703,6 +5799,7 @@ export declare type BlockEnumType = {
|
|
|
5703
5799
|
'blend/mode': BlendMode;
|
|
5704
5800
|
'contentFill/mode': ContentFillMode;
|
|
5705
5801
|
'height/mode': HeightMode;
|
|
5802
|
+
'page/guides/source': PageGuidesSource;
|
|
5706
5803
|
'position/x/mode': PositionXMode;
|
|
5707
5804
|
'position/y/mode': PositionYMode;
|
|
5708
5805
|
'scene/designUnit': SceneDesignUnit;
|
|
@@ -5731,6 +5828,7 @@ export declare type BlockEnumType = {
|
|
|
5731
5828
|
'animation/ken_burns/direction': AnimationKenBurnsDirection;
|
|
5732
5829
|
'animation/scale_loop/direction': AnimationScaleLoopDirection;
|
|
5733
5830
|
'fill/pixelStream/orientation': FillPixelStreamOrientation;
|
|
5831
|
+
'shape/vector_path/fillRule': ShapeVectorPathFillRule;
|
|
5734
5832
|
};
|
|
5735
5833
|
|
|
5736
5834
|
/**
|
|
@@ -5837,7 +5935,7 @@ export declare type BlurTypeShorthand = (typeof BLUR_TYPES)[number];
|
|
|
5837
5935
|
export declare type BooleanOperation = 'Difference' | 'Intersection' | 'Union' | 'XOR';
|
|
5838
5936
|
|
|
5839
5937
|
/** @public */
|
|
5840
|
-
export declare type BoolPropertyName = 'alwaysOnBottom' | 'alwaysOnTop' | 'clipped' | 'flip/horizontal' | 'flip/vertical' | 'highlightEnabled' | 'includedInExport' | 'placeholder/enabled' | 'playback/playing' | 'playback/soloPlaybackEnabled' | 'scene/aspectRatioLock' | 'selected' | 'selectionEnabled' | 'transformLocked' | 'visible' | 'blur/enabled' | 'dropShadow/clip' | 'dropShadow/enabled' | 'fill/enabled' | 'page/marginEnabled' | 'placeholderControls/showButton' | 'placeholderControls/showOverlay' | 'playback/looping' | 'playback/muted' | 'stroke/enabled' | 'backgroundColor/enabled' | 'placeholderBehavior/enabled' | 'text/automaticFontSizeEnabled' | 'text/clipLinesOutsideOfFrame' | 'text/hasClippedLines' | 'track/automaticallyManageBlockOffsets' | 'caption/automaticFontSizeEnabled' | 'caption/clipLinesOutsideOfFrame' | 'caption/hasClippedLines' | 'captionTrack/automaticallyManageBlockOffsets' | 'animation/slide/fade' | 'animation/pan/fade' | 'animation/blur/fade' | 'animation/zoom/fade' | 'animation/crop_zoom/fade' | 'animation/spin/fade' | 'animation/block_swipe_text/useTextColor' | 'animation/spread_text/fade' | 'animation/ken_burns/fade' | 'effect/enabled' | (string & {});
|
|
5938
|
+
export declare type BoolPropertyName = 'alwaysOnBottom' | 'alwaysOnTop' | 'clipped' | 'flip/horizontal' | 'flip/vertical' | 'highlightEnabled' | 'includedInExport' | 'placeholder/enabled' | 'playback/playing' | 'playback/soloPlaybackEnabled' | 'scene/aspectRatioLock' | 'selected' | 'selectionEnabled' | 'transformLocked' | 'visible' | 'blur/enabled' | 'dropShadow/clip' | 'dropShadow/enabled' | 'fill/enabled' | 'page/guides/gridEnabled' | 'page/guides/gridSnapEnabled' | 'page/marginEnabled' | 'placeholderControls/showButton' | 'placeholderControls/showOverlay' | 'playback/looping' | 'playback/muted' | 'stroke/enabled' | 'backgroundColor/enabled' | 'placeholderBehavior/enabled' | 'text/automaticFontSizeEnabled' | 'text/clipLinesOutsideOfFrame' | 'text/hasClippedLines' | 'track/automaticallyManageBlockOffsets' | 'caption/automaticFontSizeEnabled' | 'caption/clipLinesOutsideOfFrame' | 'caption/hasClippedLines' | 'captionTrack/automaticallyManageBlockOffsets' | 'animation/slide/fade' | 'animation/pan/fade' | 'animation/blur/fade' | 'animation/zoom/fade' | 'animation/crop_zoom/fade' | 'animation/spin/fade' | 'animation/block_swipe_text/useTextColor' | 'animation/spread_text/fade' | 'animation/ken_burns/fade' | 'effect/enabled' | (string & {});
|
|
5841
5939
|
|
|
5842
5940
|
/**
|
|
5843
5941
|
* Represents a buffer of data.
|
|
@@ -5929,7 +6027,7 @@ export declare type ColorPickerColorMode = (typeof ColorPickerColorModeValues)[n
|
|
|
5929
6027
|
export declare const ColorPickerColorModeValues: readonly ["RGB", "CMYK", "Any"];
|
|
5930
6028
|
|
|
5931
6029
|
/** @public */
|
|
5932
|
-
export declare type ColorPropertyName = 'dropShadow/color' | 'fill/solid/color' | 'stroke/color' | 'backgroundColor/color' | 'animation/block_swipe_text/blockColor' | 'effect/duotone_filter/darkColor' | 'effect/duotone_filter/lightColor' | 'effect/green_screen/fromColor' | 'effect/recolor/fromColor' | 'effect/recolor/toColor' | 'fill/color/value' | (string & {});
|
|
6030
|
+
export declare type ColorPropertyName = 'dropShadow/color' | 'fill/solid/color' | 'page/guides/gridColor' | 'stroke/color' | 'backgroundColor/color' | 'animation/block_swipe_text/blockColor' | 'effect/duotone_filter/darkColor' | 'effect/duotone_filter/lightColor' | 'effect/green_screen/fromColor' | 'effect/recolor/fromColor' | 'effect/recolor/toColor' | 'fill/color/value' | (string & {});
|
|
5933
6031
|
|
|
5934
6032
|
/**
|
|
5935
6033
|
* Represents the color space used in the editor.
|
|
@@ -6259,6 +6357,50 @@ export declare type DesignBlockTypeLonghand = `//ly.img.ubq/${DesignBlockTypeSho
|
|
|
6259
6357
|
/** @public */
|
|
6260
6358
|
export declare type DesignBlockTypeShorthand = (typeof DESIGN_BLOCK_TYPES)[number];
|
|
6261
6359
|
|
|
6360
|
+
/**
|
|
6361
|
+
* A single color extracted from the rendered appearance of a block.
|
|
6362
|
+
*
|
|
6363
|
+
* @public
|
|
6364
|
+
*/
|
|
6365
|
+
export declare interface DominantColor {
|
|
6366
|
+
/** Red component in sRGB, normalized to the range [0, 1]. */
|
|
6367
|
+
r: number;
|
|
6368
|
+
/** Green component in sRGB, normalized to the range [0, 1]. */
|
|
6369
|
+
g: number;
|
|
6370
|
+
/** Blue component in sRGB, normalized to the range [0, 1]. */
|
|
6371
|
+
b: number;
|
|
6372
|
+
/**
|
|
6373
|
+
* Share of analyzed pixels represented by this color, in the range [0, 1].
|
|
6374
|
+
* Higher values indicate a more prominent color. The sum of weights returned
|
|
6375
|
+
* by a single `BlockAPI.getDominantColors` call is `1.0`.
|
|
6376
|
+
*/
|
|
6377
|
+
weight: number;
|
|
6378
|
+
}
|
|
6379
|
+
|
|
6380
|
+
/**
|
|
6381
|
+
* Options for `BlockAPI.getDominantColors`.
|
|
6382
|
+
*
|
|
6383
|
+
* @public
|
|
6384
|
+
*/
|
|
6385
|
+
export declare interface DominantColorsOptions {
|
|
6386
|
+
/**
|
|
6387
|
+
* Number of dominant colors to extract.
|
|
6388
|
+
* The returned palette may contain fewer entries for images with very little variation,
|
|
6389
|
+
* and is empty when `count` is `0`.
|
|
6390
|
+
*
|
|
6391
|
+
* @defaultValue 5
|
|
6392
|
+
*/
|
|
6393
|
+
count?: number;
|
|
6394
|
+
/**
|
|
6395
|
+
* If `true`, near-white pixels are excluded from the analysis.
|
|
6396
|
+
* Useful when analyzing images on white backgrounds to avoid the background
|
|
6397
|
+
* dominating the result.
|
|
6398
|
+
*
|
|
6399
|
+
* @defaultValue false
|
|
6400
|
+
*/
|
|
6401
|
+
ignoreWhite?: boolean;
|
|
6402
|
+
}
|
|
6403
|
+
|
|
6262
6404
|
/** @public */
|
|
6263
6405
|
export declare type DoubleClickSelectionMode = (typeof DoubleClickSelectionModeValues)[number];
|
|
6264
6406
|
|
|
@@ -7456,10 +7598,10 @@ export declare type EnginePluginContext = {
|
|
|
7456
7598
|
};
|
|
7457
7599
|
|
|
7458
7600
|
/** @public */
|
|
7459
|
-
export declare type EnumPropertyName = 'blend/mode' | 'contentFill/mode' | 'height/mode' | 'position/x/mode' | 'position/y/mode' | 'scene/designUnit' | 'scene/layout' | 'scene/mode' | 'width/mode' | 'stroke/cornerGeometry' | 'stroke/position' | 'stroke/style' | 'text/horizontalAlignment' | 'text/verticalAlignment' | 'cutout/type' | 'caption/horizontalAlignment' | 'caption/verticalAlignment' | 'animationEasing' | 'textAnimationWritingStyle' | 'animation/grow/direction' | 'animation/wipe/direction' | 'animation/baseline/direction' | 'animation/spin/direction' | 'animation/spin_loop/direction' | 'animation/jump_loop/direction' | 'animation/typewriter_text/writingStyle' | 'animation/block_swipe_text/direction' | 'animation/merge_text/direction' | 'animation/ken_burns/direction' | 'animation/scale_loop/direction' | 'fill/pixelStream/orientation' | (string & {});
|
|
7601
|
+
export declare type EnumPropertyName = 'blend/mode' | 'contentFill/mode' | 'height/mode' | 'position/x/mode' | 'position/y/mode' | 'scene/designUnit' | 'scene/layout' | 'scene/mode' | 'width/mode' | 'page/guides/source' | 'stroke/cornerGeometry' | 'stroke/position' | 'stroke/style' | 'text/horizontalAlignment' | 'text/verticalAlignment' | 'cutout/type' | 'caption/horizontalAlignment' | 'caption/verticalAlignment' | 'animationEasing' | 'textAnimationWritingStyle' | 'animation/grow/direction' | 'animation/wipe/direction' | 'animation/baseline/direction' | 'animation/spin/direction' | 'animation/spin_loop/direction' | 'animation/jump_loop/direction' | 'animation/typewriter_text/writingStyle' | 'animation/block_swipe_text/direction' | 'animation/merge_text/direction' | 'animation/ken_burns/direction' | 'animation/scale_loop/direction' | 'fill/pixelStream/orientation' | 'shape/vector_path/fillRule' | (string & {});
|
|
7460
7602
|
|
|
7461
7603
|
/** @public */
|
|
7462
|
-
export declare type EnumValues = BlendMode | ContentFillMode | HeightMode | PositionXMode | PositionYMode | SceneDesignUnit | SceneLayout | SceneMode | WidthMode | StrokeCornerGeometry | StrokePosition | StrokeStyle | TextHorizontalAlignment | TextVerticalAlignment | CutoutType | CaptionHorizontalAlignment | CaptionVerticalAlignment | AnimationEasing | TextAnimationWritingStyle | AnimationGrowDirection | AnimationWipeDirection | AnimationBaselineDirection | AnimationSpinDirection | AnimationSpinLoopDirection | AnimationJumpLoopDirection | AnimationTypewriterTextWritingStyle | AnimationBlockSwipeTextDirection | AnimationMergeTextDirection | AnimationKenBurnsDirection | AnimationScaleLoopDirection | FillPixelStreamOrientation | (string & {});
|
|
7604
|
+
export declare type EnumValues = BlendMode | ContentFillMode | HeightMode | PageGuidesSource | PositionXMode | PositionYMode | SceneDesignUnit | SceneLayout | SceneMode | WidthMode | StrokeCornerGeometry | StrokePosition | StrokeStyle | TextHorizontalAlignment | TextVerticalAlignment | CutoutType | CaptionHorizontalAlignment | CaptionVerticalAlignment | AnimationEasing | TextAnimationWritingStyle | AnimationGrowDirection | AnimationWipeDirection | AnimationBaselineDirection | AnimationSpinDirection | AnimationSpinLoopDirection | AnimationJumpLoopDirection | AnimationTypewriterTextWritingStyle | AnimationBlockSwipeTextDirection | AnimationMergeTextDirection | AnimationKenBurnsDirection | AnimationScaleLoopDirection | FillPixelStreamOrientation | ShapeVectorPathFillRule | (string & {});
|
|
7463
7605
|
|
|
7464
7606
|
/**
|
|
7465
7607
|
* @public Subscribe to block lifecycle events in the design engine.
|
|
@@ -7685,7 +7827,7 @@ declare interface Flip {
|
|
|
7685
7827
|
}
|
|
7686
7828
|
|
|
7687
7829
|
/** @public */
|
|
7688
|
-
export declare type FloatPropertyName = 'globalBoundingBox/height' | 'globalBoundingBox/width' | 'globalBoundingBox/x' | 'globalBoundingBox/y' | 'height' | 'lastFrame/height' | 'lastFrame/width' | 'lastFrame/x' | 'lastFrame/y' | 'position/x' | 'position/y' | 'rotation' | 'scene/dpi' | 'scene/pageDimensions/height' | 'scene/pageDimensions/width' | 'scene/pixelScaleFactor' | 'width' | 'camera/pixelRatio' | 'camera/resolution/height' | 'camera/resolution/width' | 'camera/zoomLevel' | 'dropShadow/blurRadius/x' | 'dropShadow/blurRadius/y' | 'dropShadow/offset/x' | 'dropShadow/offset/y' | 'page/margin/bottom' | 'page/margin/left' | 'page/margin/right' | 'page/margin/top' | 'playback/speed' | 'playback/volume' | 'stroke/width' | 'opacity' | 'backgroundColor/cornerRadius' | 'backgroundColor/paddingBottom' | 'backgroundColor/paddingLeft' | 'backgroundColor/paddingRight' | 'backgroundColor/paddingTop' | 'text/fontSize' | 'text/letterSpacing' | 'text/lineHeight' | 'text/maxAutomaticFontSize' | 'text/minAutomaticFontSize' | 'text/paragraphSpacing' | 'cutout/offset' | 'cutout/smoothing' | 'caption/fontSize' | 'caption/letterSpacing' | 'caption/lineHeight' | 'caption/maxAutomaticFontSize' | 'caption/minAutomaticFontSize' | 'caption/paragraphSpacing' | 'animation/slide/direction' | 'textAnimationOverlap' | 'animation/pan/direction' | 'animation/pan/distance' | 'animation/blur/intensity' | 'animation/grow/scaleFactor' | 'animation/crop_zoom/scale' | 'animation/spin/intensity' | 'animation/blur_loop/intensity' | 'animation/pulsating_loop/intensity' | 'animation/breathing_loop/intensity' | 'animation/jump_loop/intensity' | 'animation/sway_loop/intensity' | 'animation/scale_loop/startScale' | 'animation/scale_loop/endScale' | 'animation/spread_text/intensity' | 'animation/merge_text/intensity' | 'animation/ken_burns/travelDistanceRatio' | 'animation/ken_burns/zoomIntensity' | 'blur/uniform/intensity' | 'blur/linear/blurRadius' | 'blur/linear/x1' | 'blur/linear/x2' | 'blur/linear/y1' | 'blur/linear/y2' | 'blur/mirrored/blurRadius' | 'blur/mirrored/gradientSize' | 'blur/mirrored/size' | 'blur/mirrored/x1' | 'blur/mirrored/x2' | 'blur/mirrored/y1' | 'blur/mirrored/y2' | 'blur/radial/blurRadius' | 'blur/radial/gradientRadius' | 'blur/radial/radius' | 'blur/radial/x' | 'blur/radial/y' | 'effect/adjustments/blacks' | 'effect/adjustments/brightness' | 'effect/adjustments/clarity' | 'effect/adjustments/contrast' | 'effect/adjustments/exposure' | 'effect/adjustments/gamma' | 'effect/adjustments/highlights' | 'effect/adjustments/saturation' | 'effect/adjustments/shadows' | 'effect/adjustments/sharpness' | 'effect/adjustments/temperature' | 'effect/adjustments/whites' | 'effect/cross_cut/offset' | 'effect/cross_cut/slices' | 'effect/cross_cut/speedV' | 'effect/cross_cut/time' | 'effect/dot_pattern/blur' | 'effect/dot_pattern/dots' | 'effect/dot_pattern/size' | 'effect/duotone_filter/intensity' | 'effect/extrude_blur/amount' | 'effect/glow/amount' | 'effect/glow/darkness' | 'effect/glow/size' | 'effect/green_screen/colorMatch' | 'effect/green_screen/smoothness' | 'effect/green_screen/spill' | 'effect/half_tone/angle' | 'effect/half_tone/scale' | 'effect/linocut/scale' | 'effect/liquid/amount' | 'effect/liquid/scale' | 'effect/liquid/time' | 'effect/lut_filter/intensity' | 'effect/outliner/amount' | 'effect/outliner/passthrough' | 'effect/posterize/levels' | 'effect/radial_pixel/radius' | 'effect/radial_pixel/segments' | 'effect/recolor/brightnessMatch' | 'effect/recolor/colorMatch' | 'effect/recolor/smoothness' | 'effect/shifter/amount' | 'effect/shifter/angle' | 'effect/tilt_shift/amount' | 'effect/tilt_shift/position' | 'effect/tv_glitch/distortion' | 'effect/tv_glitch/distortion2' | 'effect/tv_glitch/rollSpeed' | 'effect/tv_glitch/speed' | 'effect/vignette/darkness' | 'effect/vignette/offset' | 'fill/gradient/linear/endPointX' | 'fill/gradient/linear/endPointY' | 'fill/gradient/linear/startPointX' | 'fill/gradient/linear/startPointY' | 'fill/gradient/radial/centerPointX' | 'fill/gradient/radial/centerPointY' | 'fill/gradient/radial/radius' | 'fill/gradient/conical/centerPointX' | 'fill/gradient/conical/centerPointY' | 'shape/rect/cornerRadiusBL' | 'shape/rect/cornerRadiusBR' | 'shape/rect/cornerRadiusTL' | 'shape/rect/cornerRadiusTR' | 'shape/polygon/cornerRadius' | 'shape/star/innerDiameter' | 'shape/vector_path/cornerRadius' | 'shape/vector_path/height' | 'shape/vector_path/width' | (string & {});
|
|
7830
|
+
export declare type FloatPropertyName = 'globalBoundingBox/height' | 'globalBoundingBox/width' | 'globalBoundingBox/x' | 'globalBoundingBox/y' | 'height' | 'lastFrame/height' | 'lastFrame/width' | 'lastFrame/x' | 'lastFrame/y' | 'position/x' | 'position/y' | 'rotation' | 'scene/dpi' | 'scene/pageDimensions/height' | 'scene/pageDimensions/width' | 'scene/pixelScaleFactor' | 'width' | 'camera/pixelRatio' | 'camera/resolution/height' | 'camera/resolution/width' | 'camera/zoomLevel' | 'dropShadow/blurRadius/x' | 'dropShadow/blurRadius/y' | 'dropShadow/offset/x' | 'dropShadow/offset/y' | 'page/guides/gridSpacingX' | 'page/guides/gridSpacingY' | 'page/margin/bottom' | 'page/margin/left' | 'page/margin/right' | 'page/margin/top' | 'playback/speed' | 'playback/volume' | 'stroke/width' | 'opacity' | 'backgroundColor/cornerRadius' | 'backgroundColor/paddingBottom' | 'backgroundColor/paddingLeft' | 'backgroundColor/paddingRight' | 'backgroundColor/paddingTop' | 'text/fontSize' | 'text/letterSpacing' | 'text/lineHeight' | 'text/maxAutomaticFontSize' | 'text/minAutomaticFontSize' | 'text/paragraphSpacing' | 'cutout/offset' | 'cutout/smoothing' | 'caption/fontSize' | 'caption/letterSpacing' | 'caption/lineHeight' | 'caption/maxAutomaticFontSize' | 'caption/minAutomaticFontSize' | 'caption/paragraphSpacing' | 'animation/slide/direction' | 'textAnimationOverlap' | 'animation/pan/direction' | 'animation/pan/distance' | 'animation/blur/intensity' | 'animation/grow/scaleFactor' | 'animation/crop_zoom/scale' | 'animation/spin/intensity' | 'animation/blur_loop/intensity' | 'animation/pulsating_loop/intensity' | 'animation/breathing_loop/intensity' | 'animation/jump_loop/intensity' | 'animation/sway_loop/intensity' | 'animation/scale_loop/startScale' | 'animation/scale_loop/endScale' | 'animation/spread_text/intensity' | 'animation/merge_text/intensity' | 'animation/ken_burns/travelDistanceRatio' | 'animation/ken_burns/zoomIntensity' | 'blur/uniform/intensity' | 'blur/linear/blurRadius' | 'blur/linear/x1' | 'blur/linear/x2' | 'blur/linear/y1' | 'blur/linear/y2' | 'blur/mirrored/blurRadius' | 'blur/mirrored/gradientSize' | 'blur/mirrored/size' | 'blur/mirrored/x1' | 'blur/mirrored/x2' | 'blur/mirrored/y1' | 'blur/mirrored/y2' | 'blur/radial/blurRadius' | 'blur/radial/gradientRadius' | 'blur/radial/radius' | 'blur/radial/x' | 'blur/radial/y' | 'effect/adjustments/blacks' | 'effect/adjustments/brightness' | 'effect/adjustments/clarity' | 'effect/adjustments/contrast' | 'effect/adjustments/exposure' | 'effect/adjustments/gamma' | 'effect/adjustments/highlights' | 'effect/adjustments/saturation' | 'effect/adjustments/shadows' | 'effect/adjustments/sharpness' | 'effect/adjustments/temperature' | 'effect/adjustments/whites' | 'effect/cross_cut/offset' | 'effect/cross_cut/slices' | 'effect/cross_cut/speedV' | 'effect/cross_cut/time' | 'effect/dot_pattern/blur' | 'effect/dot_pattern/dots' | 'effect/dot_pattern/size' | 'effect/duotone_filter/intensity' | 'effect/extrude_blur/amount' | 'effect/glow/amount' | 'effect/glow/darkness' | 'effect/glow/size' | 'effect/green_screen/colorMatch' | 'effect/green_screen/smoothness' | 'effect/green_screen/spill' | 'effect/half_tone/angle' | 'effect/half_tone/scale' | 'effect/linocut/scale' | 'effect/liquid/amount' | 'effect/liquid/scale' | 'effect/liquid/time' | 'effect/lut_filter/intensity' | 'effect/outliner/amount' | 'effect/outliner/passthrough' | 'effect/posterize/levels' | 'effect/radial_pixel/radius' | 'effect/radial_pixel/segments' | 'effect/recolor/brightnessMatch' | 'effect/recolor/colorMatch' | 'effect/recolor/smoothness' | 'effect/shifter/amount' | 'effect/shifter/angle' | 'effect/tilt_shift/amount' | 'effect/tilt_shift/position' | 'effect/tv_glitch/distortion' | 'effect/tv_glitch/distortion2' | 'effect/tv_glitch/rollSpeed' | 'effect/tv_glitch/speed' | 'effect/vignette/darkness' | 'effect/vignette/offset' | 'fill/gradient/linear/endPointX' | 'fill/gradient/linear/endPointY' | 'fill/gradient/linear/startPointX' | 'fill/gradient/linear/startPointY' | 'fill/gradient/radial/centerPointX' | 'fill/gradient/radial/centerPointY' | 'fill/gradient/radial/radius' | 'fill/gradient/conical/centerPointX' | 'fill/gradient/conical/centerPointY' | 'shape/rect/cornerRadiusBL' | 'shape/rect/cornerRadiusBR' | 'shape/rect/cornerRadiusTL' | 'shape/rect/cornerRadiusTR' | 'shape/polygon/cornerRadius' | 'shape/star/innerDiameter' | 'shape/vector_path/cornerRadius' | 'shape/vector_path/height' | 'shape/vector_path/width' | (string & {});
|
|
7689
7831
|
|
|
7690
7832
|
/**
|
|
7691
7833
|
* Represents a font.
|
|
@@ -8048,6 +8190,12 @@ export declare interface PageDuration {
|
|
|
8048
8190
|
end: number;
|
|
8049
8191
|
}
|
|
8050
8192
|
|
|
8193
|
+
/** @public */
|
|
8194
|
+
export declare type PageGuidesSource = (typeof PageGuidesSourceValues)[number];
|
|
8195
|
+
|
|
8196
|
+
/** @public */
|
|
8197
|
+
export declare const PageGuidesSourceValues: readonly ["Document", "Custom"];
|
|
8198
|
+
|
|
8051
8199
|
/**
|
|
8052
8200
|
* Represents a color definition for the custom color palette.
|
|
8053
8201
|
*
|
|
@@ -8866,7 +9014,7 @@ export declare const SceneModeValues: readonly ["Design", "Video"];
|
|
|
8866
9014
|
export declare type Scope = 'text/edit' | 'text/character' | 'fill/change' | 'fill/changeType' | 'stroke/change' | 'shape/change' | 'layer/move' | 'layer/resize' | 'layer/rotate' | 'layer/flip' | 'layer/crop' | 'layer/opacity' | 'layer/blendMode' | 'layer/visibility' | 'layer/clipping' | 'appearance/adjustments' | 'appearance/filter' | 'appearance/effect' | 'appearance/blur' | 'appearance/shadow' | 'appearance/animation' | 'lifecycle/destroy' | 'lifecycle/duplicate' | 'editor/add' | 'editor/select';
|
|
8867
9015
|
|
|
8868
9016
|
/** @public */
|
|
8869
|
-
export declare type SettingBoolPropertyName = 'alwaysHighlightPlaceholders' | 'doubleClickToCropEnabled' | 'showBuildVersion' | 'placeholderControls/showButton' | 'placeholderControls/showOverlay' | 'blockAnimations/enabled' | 'renderTextCursorAndSelectionInEngine' | 'touch/dragStartCanSelect' | 'touch/singlePointPanning' | 'mouse/enableZoom' | 'mouse/enableScroll' | 'controlGizmo/showCropHandles' | 'controlGizmo/showMoveHandles' | 'controlGizmo/dynamicMoveHandleVisibility' | 'controlGizmo/showResizeHandles' | 'controlGizmo/showScaleHandles' | 'controlGizmo/showRotateHandles' | 'controlGizmo/showCropScaleHandles' | 'page/title/canEdit' | 'page/title/show' | 'page/title/showPageTitleTemplate' | 'page/title/appendPageName' | 'page/title/showOnSinglePage' | 'page/dimOutOfPageAreas' | 'page/allowCropInteraction' | 'page/allowResizeInteraction' | 'page/restrictResizeInteractionToFixedAspectRatio' | 'page/allowRotateInteraction' | 'page/allowMoveInteraction' | 'page/marqueeSelectOnBodyDrag' | 'page/restrictPageSelectionToBorderAndTitle' | 'page/moveChildrenWhenCroppingFill' | 'page/selectWhenNoBlocksSelected' | 'page/highlightWhenCropping' | 'page/highlightDropTarget' | 'page/reparentBlocksToSceneWhenOutOfPage' | 'colorMaskingSettings/secondPass' | 'clampThumbnailTextureSizes' | 'useSystemFontFallback' | 'forceSystemEmojis' | 'features/textEditModeTransformHandlesEnabled' | 'features/videoStreamingEnabled' | 'grid/enabled' | 'grid/snapEnabled' | 'features/enableAutomaticEnumerations' | (string & {});
|
|
9017
|
+
export declare type SettingBoolPropertyName = 'alwaysHighlightPlaceholders' | 'doubleClickToCropEnabled' | 'showBuildVersion' | 'placeholderControls/showButton' | 'placeholderControls/showOverlay' | 'blockAnimations/enabled' | 'renderTextCursorAndSelectionInEngine' | 'touch/dragStartCanSelect' | 'touch/singlePointPanning' | 'mouse/enableZoom' | 'mouse/enableScroll' | 'controlGizmo/showCropHandles' | 'controlGizmo/showMoveHandles' | 'controlGizmo/dynamicMoveHandleVisibility' | 'controlGizmo/showResizeHandles' | 'controlGizmo/showScaleHandles' | 'controlGizmo/showRotateHandles' | 'controlGizmo/showCropScaleHandles' | 'page/title/canEdit' | 'page/title/show' | 'page/title/showPageTitleTemplate' | 'page/title/appendPageName' | 'page/title/showOnSinglePage' | 'page/dimOutOfPageAreas' | 'page/allowCropInteraction' | 'page/allowResizeInteraction' | 'page/restrictResizeInteractionToFixedAspectRatio' | 'page/allowRotateInteraction' | 'page/allowMoveInteraction' | 'page/marqueeSelectOnBodyDrag' | 'page/restrictPageSelectionToBorderAndTitle' | 'page/moveChildrenWhenCroppingFill' | 'page/selectWhenNoBlocksSelected' | 'page/highlightWhenCropping' | 'page/highlightDropTarget' | 'page/reparentBlocksToSceneWhenOutOfPage' | 'colorMaskingSettings/secondPass' | 'clampThumbnailTextureSizes' | 'useSystemFontFallback' | 'forceSystemEmojis' | 'features/textEditModeTransformHandlesEnabled' | 'features/videoStreamingEnabled' | 'grid/enabled' | 'grid/snapEnabled' | 'features/enableAutomaticEnumerations' | 'features/transparentClickThroughEnabled' | (string & {});
|
|
8870
9018
|
|
|
8871
9019
|
/** @public */
|
|
8872
9020
|
export declare type SettingColorPropertyName = 'clearColor' | 'handleFillColor' | 'highlightColor' | 'pageHighlightColor' | 'placeholderHighlightColor' | 'snappingGuideColor' | 'rotationSnappingGuideColor' | 'cropOverlayColor' | 'textVariableHighlightColor' | 'borderOutlineColor' | 'progressColor' | 'errorStateColor' | 'page/title/color' | 'page/marginFillColor' | 'page/marginFrameColor' | 'page/innerBorderColor' | 'page/outerBorderColor' | 'colorMaskingSettings/maskColor' | 'grid/color' | (string & {});
|
|
@@ -9260,6 +9408,12 @@ export declare type ShapeTypeLonghand = `//ly.img.ubq/shape/${ShapeTypeShorthand
|
|
|
9260
9408
|
/** @public */
|
|
9261
9409
|
export declare type ShapeTypeShorthand = (typeof SHAPE_TYPES)[number];
|
|
9262
9410
|
|
|
9411
|
+
/** @public */
|
|
9412
|
+
export declare type ShapeVectorPathFillRule = (typeof ShapeVectorPathFillRuleValues)[number];
|
|
9413
|
+
|
|
9414
|
+
/** @public */
|
|
9415
|
+
export declare const ShapeVectorPathFillRuleValues: readonly ["EvenOdd", "NonZero"];
|
|
9416
|
+
|
|
9263
9417
|
/** @public */
|
|
9264
9418
|
export declare interface Size2 {
|
|
9265
9419
|
width: number;
|