@cesdk/cesdk-js 1.68.0-nightly.20260123 → 1.69.0-nightly.20260128
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.68.0-nightly.20260123-2BTUQ2I7.wasm → cesdk-v1.69.0-nightly.20260128-PK7CJ36K.wasm} +0 -0
- package/assets/core/{worker-host-v1.68.0-nightly.20260123.js → worker-host-v1.69.0-nightly.20260128.js} +1 -1
- package/assets/i18n/de.json +12 -2
- package/assets/i18n/en.json +12 -2
- package/assets/ui/stylesheets/cesdk.css +871 -892
- package/cesdk.umd.js +1 -1
- package/index.d.ts +111 -2
- package/index.js +1 -1
- package/package.json +2 -2
- /package/assets/core/{cesdk-v1.68.0-nightly.20260123-MLEZSZ4D.data → cesdk-v1.69.0-nightly.20260128-MLEZSZ4D.data} +0 -0
package/index.d.ts
CHANGED
|
@@ -1126,8 +1126,6 @@ export declare interface BuiltinTranslations {
|
|
|
1126
1126
|
'component.contentFill.options.description': string;
|
|
1127
1127
|
'component.contentFill.video': string;
|
|
1128
1128
|
'component.cutout': string;
|
|
1129
|
-
'component.dnd.description': string;
|
|
1130
|
-
'component.dnd.prompt': string;
|
|
1131
1129
|
'component.dockIconSizeSelect': string;
|
|
1132
1130
|
'component.dockIconSizeSelect.large': string;
|
|
1133
1131
|
'component.dockIconSizeSelect.large.description': string;
|
|
@@ -3068,6 +3066,7 @@ export { DesignUnit }
|
|
|
3068
3066
|
export declare interface Dialog {
|
|
3069
3067
|
type?: DialogType;
|
|
3070
3068
|
size?: DialogSize;
|
|
3069
|
+
backdrop?: DialogBackdrop;
|
|
3071
3070
|
content: DialogContent;
|
|
3072
3071
|
progress?: DialogProgress;
|
|
3073
3072
|
actions?: DialogAction | DialogAction[];
|
|
@@ -3094,6 +3093,17 @@ export declare type DialogAction = {
|
|
|
3094
3093
|
}) => void;
|
|
3095
3094
|
};
|
|
3096
3095
|
|
|
3096
|
+
/**
|
|
3097
|
+
* Represents the backdrop style for the dialog.
|
|
3098
|
+
*
|
|
3099
|
+
* The DialogBackdrop type defines how the background overlay is rendered when a dialog is shown.
|
|
3100
|
+
* - 'transparent': A semi-transparent overlay that allows content behind to be partially visible (default behavior)
|
|
3101
|
+
* - 'opaque': A fully opaque overlay that completely blocks the view of content behind the dialog
|
|
3102
|
+
*
|
|
3103
|
+
* @public
|
|
3104
|
+
*/
|
|
3105
|
+
export declare type DialogBackdrop = 'transparent' | 'opaque';
|
|
3106
|
+
|
|
3097
3107
|
/**
|
|
3098
3108
|
* Represents the content of the dialog.
|
|
3099
3109
|
*
|
|
@@ -4752,6 +4762,13 @@ export declare interface RegisteredActions {
|
|
|
4752
4762
|
copy: CopyAction;
|
|
4753
4763
|
/** Action for pasting blocks from the clipboard */
|
|
4754
4764
|
paste: PasteAction;
|
|
4765
|
+
/**
|
|
4766
|
+
* Video support check actions
|
|
4767
|
+
*/
|
|
4768
|
+
/** Action for checking video decoding/playback support */
|
|
4769
|
+
'video.decode.checkSupport': VideoDecodeCheckSupportAction;
|
|
4770
|
+
/** Action for checking video encoding/export support */
|
|
4771
|
+
'video.encode.checkSupport': VideoEncodeCheckSupportAction;
|
|
4755
4772
|
}
|
|
4756
4773
|
|
|
4757
4774
|
/**
|
|
@@ -7049,16 +7066,108 @@ export declare class UtilsAPI {
|
|
|
7049
7066
|
paddingX: number;
|
|
7050
7067
|
paddingY: number;
|
|
7051
7068
|
};
|
|
7069
|
+
/**
|
|
7070
|
+
* Checks if the current browser supports video decoding/playback.
|
|
7071
|
+
*
|
|
7072
|
+
* Video decoding requires the WebCodecs API (VideoFrame, VideoDecoder, VideoEncoder,
|
|
7073
|
+
* AudioDecoder, AudioEncoder). These APIs are not available on all platforms.
|
|
7074
|
+
*
|
|
7075
|
+
* **Supported platforms**: Chrome and Edge on Windows and macOS.
|
|
7076
|
+
* **Unsupported platforms**: All browsers on Linux, Firefox on any OS.
|
|
7077
|
+
*
|
|
7078
|
+
* @returns true if the browser supports video decoding, false otherwise
|
|
7079
|
+
*
|
|
7080
|
+
* @example
|
|
7081
|
+
* ```typescript
|
|
7082
|
+
* if (cesdk.utils.supportsVideoDecode()) {
|
|
7083
|
+
* // Video features are available
|
|
7084
|
+
* await cesdk.engine.scene.loadFromURL('video-scene.scene');
|
|
7085
|
+
* } else {
|
|
7086
|
+
* // Show fallback UI or message
|
|
7087
|
+
* console.log('Video features not available in this browser');
|
|
7088
|
+
* }
|
|
7089
|
+
* ```
|
|
7090
|
+
* @public
|
|
7091
|
+
*/
|
|
7092
|
+
supportsVideoDecode(): boolean;
|
|
7093
|
+
/**
|
|
7094
|
+
* Checks if the current browser supports video encoding/export.
|
|
7095
|
+
*
|
|
7096
|
+
* Video encoding requires the WebCodecs API with H.264 (AVC) video encoding
|
|
7097
|
+
* and AAC audio encoding support. These codecs are patent-encumbered and not
|
|
7098
|
+
* included in open-source browser builds.
|
|
7099
|
+
*
|
|
7100
|
+
* **Supported platforms**: Chrome and Edge on Windows and macOS.
|
|
7101
|
+
* **Unsupported platforms**: All browsers on Linux, Firefox on any OS.
|
|
7102
|
+
*
|
|
7103
|
+
* For server-side video rendering that works on all platforms, see CE.SDK Renderer:
|
|
7104
|
+
* https://img.ly/docs/cesdk/renderer/cesdk-renderer-overview-7f3e9a/
|
|
7105
|
+
*
|
|
7106
|
+
* @returns A promise that resolves to true if the browser supports video encoding, false otherwise
|
|
7107
|
+
*
|
|
7108
|
+
* @example
|
|
7109
|
+
* ```typescript
|
|
7110
|
+
* if (await cesdk.utils.supportsVideoEncode()) {
|
|
7111
|
+
* // Video export is available
|
|
7112
|
+
* const blob = await cesdk.engine.block.exportVideo(page);
|
|
7113
|
+
* } else {
|
|
7114
|
+
* // Show fallback UI or suggest server-side rendering
|
|
7115
|
+
* console.log('Video export not available - consider using CE.SDK Renderer');
|
|
7116
|
+
* }
|
|
7117
|
+
* ```
|
|
7118
|
+
* @public
|
|
7119
|
+
*/
|
|
7120
|
+
supportsVideoEncode(): Promise<boolean>;
|
|
7052
7121
|
}
|
|
7053
7122
|
|
|
7054
7123
|
export { VariableAPI }
|
|
7055
7124
|
|
|
7056
7125
|
export { VerticalBlockAlignment }
|
|
7057
7126
|
|
|
7127
|
+
/**
|
|
7128
|
+
* Action function for checking video decoding/playback support.
|
|
7129
|
+
* Returns true if WebCodecs APIs are available for video decoding and playback.
|
|
7130
|
+
* Shows a blocking error dialog if not supported (unless dialog is disabled).
|
|
7131
|
+
*
|
|
7132
|
+
* @param options - Options for configuring the action behavior
|
|
7133
|
+
* - dialog: false to disable the dialog, true for default, or VideoSupportDialogOptions for fine control
|
|
7134
|
+
* @returns true if video decoding is supported, false otherwise
|
|
7135
|
+
* @public
|
|
7136
|
+
*/
|
|
7137
|
+
export declare type VideoDecodeCheckSupportAction = (options?: {
|
|
7138
|
+
dialog?: boolean | VideoSupportDialogOptions;
|
|
7139
|
+
}) => boolean;
|
|
7140
|
+
|
|
7141
|
+
/**
|
|
7142
|
+
* Action function for checking video encoding/export support.
|
|
7143
|
+
* Returns true if H.264 video encoding and AAC audio encoding are supported.
|
|
7144
|
+
* Shows a warning dialog if not supported (unless dialog is disabled).
|
|
7145
|
+
*
|
|
7146
|
+
* @param options - Options for configuring the action behavior
|
|
7147
|
+
* - dialog: false to disable the dialog, true for default, or VideoSupportDialogOptions for fine control
|
|
7148
|
+
* @returns A promise that resolves to true if video encoding is supported, false otherwise
|
|
7149
|
+
* @public
|
|
7150
|
+
*/
|
|
7151
|
+
export declare type VideoEncodeCheckSupportAction = (options?: {
|
|
7152
|
+
dialog?: boolean | VideoSupportDialogOptions;
|
|
7153
|
+
}) => Promise<boolean>;
|
|
7154
|
+
|
|
7058
7155
|
export { VideoExportOptions }
|
|
7059
7156
|
|
|
7060
7157
|
export { VideoMimeType }
|
|
7061
7158
|
|
|
7159
|
+
/**
|
|
7160
|
+
* Dialog display options for video support check actions.
|
|
7161
|
+
* Allows configuring whether and how the dialog is displayed.
|
|
7162
|
+
* @public
|
|
7163
|
+
*/
|
|
7164
|
+
export declare type VideoSupportDialogOptions = {
|
|
7165
|
+
/** Whether to show the dialog */
|
|
7166
|
+
show: boolean;
|
|
7167
|
+
/** Backdrop style for the dialog - 'transparent' allows interaction with the page, 'opaque' blocks it */
|
|
7168
|
+
backdrop?: 'transparent' | 'opaque';
|
|
7169
|
+
};
|
|
7170
|
+
|
|
7062
7171
|
/**
|
|
7063
7172
|
* Represents the view style options in the Creative Editor SDK.
|
|
7064
7173
|
* This type defines the possible view styles, which are 'advanced' and 'default'.
|