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