@cesdk/engine 1.58.0-nightly.20250807 → 1.58.0-nightly.20250808

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/index.d.ts CHANGED
@@ -5717,12 +5717,15 @@ export declare class EditorAPI {
5717
5717
  *
5718
5718
  * ```javascript
5719
5719
  * engine.editor.setEditMode('Crop');
5720
+ * // With a base mode
5721
+ * engine.editor.setEditMode('CustomMode', 'Crop');
5720
5722
  * ```
5721
5723
  *
5722
5724
  * @category Edit Mode Management
5723
5725
  * @param mode - "Transform", "Crop", "Text", "Playback", "Trim" or a custom value.
5726
+ * @param baseMode - Optional base mode from which the custom mode will inherit the settings.
5724
5727
  */
5725
- setEditMode(mode: EditMode): void;
5728
+ setEditMode(mode: EditMode, baseMode?: string): void;
5726
5729
  /**
5727
5730
  * Get the editor's current edit mode.
5728
5731
  *
@@ -7878,7 +7881,7 @@ export declare type Scope = 'text/edit' | 'text/character' | 'fill/change' | 'fi
7878
7881
  *
7879
7882
  * @public
7880
7883
  */
7881
- export declare type SettingsBool = 'controlGizmo/showCropHandles' | 'controlGizmo/showCropScaleHandles' | 'controlGizmo/showMoveHandles' | 'controlGizmo/showResizeHandles' | 'controlGizmo/showRotateHandles' | 'controlGizmo/showScaleHandles' | 'doubleClickToCropEnabled' | 'features/singlePageModeEnabled' | 'features/pageCarouselEnabled' | 'features/transformEditsRetainCoverMode' | 'mouse/enableScroll' | 'mouse/enableZoom' | 'page/allowCropInteraction' | 'page/allowMoveInteraction' | 'page/allowResizeInteraction' | 'page/allowRotateInteraction' | 'page/dimOutOfPageAreas' | 'page/restrictResizeInteractionToFixedAspectRatio' | 'page/moveChildrenWhenCroppingFill' | 'page/selectWhenNoBlocksSelected' | 'page/title/appendPageName' | 'page/title/show' | 'page/title/showOnSinglePage' | 'page/title/showPageTitleTemplate' | 'placeholderControls/showButton' | 'placeholderControls/showOverlay' | 'blockAnimations/enabled' | 'showBuildVersion' | 'touch/dragStartCanSelect' | 'touch/singlePointPanning' | 'useSystemFontFallback' | 'forceSystemEmojis';
7884
+ export declare type SettingsBool = 'controlGizmo/showCropHandles' | 'controlGizmo/showCropScaleHandles' | 'controlGizmo/showMoveHandles' | 'controlGizmo/showResizeHandles' | 'controlGizmo/showRotateHandles' | 'controlGizmo/showScaleHandles' | 'doubleClickToCropEnabled' | 'features/singlePageModeEnabled' | 'features/pageCarouselEnabled' | 'features/transformEditsRetainCoverMode' | 'mouse/enableScroll' | 'mouse/enableZoom' | 'page/allowCropInteraction' | 'page/allowMoveInteraction' | 'page/allowResizeInteraction' | 'page/allowRotateInteraction' | 'page/dimOutOfPageAreas' | 'page/restrictResizeInteractionToFixedAspectRatio' | 'page/moveChildrenWhenCroppingFill' | 'page/title/appendPageName' | 'page/title/show' | 'page/title/showOnSinglePage' | 'page/title/showPageTitleTemplate' | 'placeholderControls/showButton' | 'placeholderControls/showOverlay' | 'blockAnimations/enabled' | 'showBuildVersion' | 'touch/dragStartCanSelect' | 'touch/singlePointPanning' | 'useSystemFontFallback' | 'forceSystemEmojis';
7882
7885
 
7883
7886
  /**
7884
7887
  * Represents the color settings available in the editor.