@cesdk/engine 1.64.0-nightly.20251106 → 1.65.0-nightly.20251112
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.64.0-nightly.20251106-L7MTKIH3.wasm → cesdk-v1.65.0-nightly.20251112-CF3IFZ6W.wasm} +0 -0
- package/assets/core/{worker-host-v1.64.0-nightly.20251106.js → worker-host-v1.65.0-nightly.20251112.js} +1 -1
- package/index.d.ts +38 -2
- package/index.js +1 -1
- package/package.json +1 -1
- /package/assets/core/{cesdk-v1.64.0-nightly.20251106-44YCFRT6.data → cesdk-v1.65.0-nightly.20251112-44YCFRT6.data} +0 -0
package/index.d.ts
CHANGED
|
@@ -4427,6 +4427,14 @@ export declare class BlockAPI {
|
|
|
4427
4427
|
* @returns The selected UTF-16 range or `{ from: -1, to: -1 }` if no text block is being edited.
|
|
4428
4428
|
*/
|
|
4429
4429
|
getTextCursorRange(): Range_2;
|
|
4430
|
+
/**
|
|
4431
|
+
* Sets the text cursor range (selection) within the text block that is currently being edited.
|
|
4432
|
+
*
|
|
4433
|
+
* @category Block Text
|
|
4434
|
+
* @param range - The UTF-16 range to set as the selection. If `from` equals `to`, the cursor is positioned at that index. If `from` and `to` are set to -1, the whole text is selected.
|
|
4435
|
+
* @throws Error if no text block is currently being edited or if the range is invalid.
|
|
4436
|
+
*/
|
|
4437
|
+
setTextCursorRange(range: Range_2): void;
|
|
4430
4438
|
/**
|
|
4431
4439
|
* Gets the number of visible lines in a text block.
|
|
4432
4440
|
*
|
|
@@ -5588,7 +5596,7 @@ export declare type BlurTypeShorthand = (typeof BLUR_TYPES)[number];
|
|
|
5588
5596
|
export declare type BooleanOperation = 'Difference' | 'Intersection' | 'Union' | 'XOR';
|
|
5589
5597
|
|
|
5590
5598
|
/** @public */
|
|
5591
|
-
export declare type BoolPropertyName = 'alwaysOnBottom' | 'alwaysOnTop' | 'clipped' | 'flip/horizontal' | 'flip/vertical' | 'highlightEnabled' | 'includedInExport' | 'placeholder/enabled' | 'playback/playing' | 'playback/soloPlaybackEnabled' | 'scene/aspectRatioLock' | 'selected' | '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 & {});
|
|
5599
|
+
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 & {});
|
|
5592
5600
|
|
|
5593
5601
|
/**
|
|
5594
5602
|
* Represents a buffer of data.
|
|
@@ -8337,6 +8345,33 @@ export declare class SceneAPI {
|
|
|
8337
8345
|
* @returns The current design unit.
|
|
8338
8346
|
*/
|
|
8339
8347
|
getDesignUnit(): SceneDesignUnit;
|
|
8348
|
+
/**
|
|
8349
|
+
* Get the layout of the current scene.
|
|
8350
|
+
*
|
|
8351
|
+
* ```javascript
|
|
8352
|
+
* const layout = engine.scene.getLayout();
|
|
8353
|
+
* ```
|
|
8354
|
+
*
|
|
8355
|
+
* @category Scene Properties
|
|
8356
|
+
* @returns The current layout of the scene.
|
|
8357
|
+
*/
|
|
8358
|
+
getLayout(): SceneLayout;
|
|
8359
|
+
/**
|
|
8360
|
+
* Set the layout of the current scene.
|
|
8361
|
+
* This will handle all necessary conversions including creating or destroying stack blocks
|
|
8362
|
+
* and reparenting pages as needed.
|
|
8363
|
+
*
|
|
8364
|
+
* When transitioning from stack layouts (VerticalStack, HorizontalStack, DepthStack) to Free layout,
|
|
8365
|
+
* the global positions of pages are preserved to maintain their visual appearance in the scene.
|
|
8366
|
+
*
|
|
8367
|
+
* ```javascript
|
|
8368
|
+
* engine.scene.setLayout('VerticalStack');
|
|
8369
|
+
* ```
|
|
8370
|
+
*
|
|
8371
|
+
* @category Scene Properties
|
|
8372
|
+
* @param layout - The new layout for the scene.
|
|
8373
|
+
*/
|
|
8374
|
+
setLayout(layout: SceneLayout): void;
|
|
8340
8375
|
/**
|
|
8341
8376
|
* Get the sorted list of pages in the scene.
|
|
8342
8377
|
*
|
|
@@ -8895,6 +8930,7 @@ export declare interface Settings {
|
|
|
8895
8930
|
|
|
8896
8931
|
|
|
8897
8932
|
|
|
8933
|
+
|
|
8898
8934
|
|
|
8899
8935
|
|
|
8900
8936
|
}
|
|
@@ -8970,7 +9006,7 @@ export declare type SettingsInt = SettingIntPropertyName;
|
|
|
8970
9006
|
export declare type SettingsString = SettingStringPropertyName;
|
|
8971
9007
|
|
|
8972
9008
|
/** @public */
|
|
8973
|
-
export declare type SettingStringPropertyName = 'basePath' | 'defaultEmojiFontFileUri' | 'defaultFontFileUri' | 'upload/supportedMimeTypes' | 'license' | 'page/title/separator' | 'page/title/fontFileUri' | 'fallbackFontUri' | (string & {});
|
|
9009
|
+
export declare type SettingStringPropertyName = 'basePath' | 'defaultEmojiFontFileUri' | 'defaultFontFileUri' | 'upload/supportedMimeTypes' | 'license' | 'web/fetchCredentials' | 'page/title/separator' | 'page/title/fontFileUri' | 'fallbackFontUri' | (string & {});
|
|
8974
9010
|
|
|
8975
9011
|
/**
|
|
8976
9012
|
* Represents the type of a setting.
|