@cesdk/engine 1.19.0-rc.0 → 1.19.0
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/README.md +2 -3
- package/assets/core/{cesdk-v1.19.0-rc.0-1a5cb10e44d030f5945f.wasm → cesdk-v1.19.0-8f3f5ef64abbdc9c3c0c.wasm} +0 -0
- package/index.d.ts +25 -3
- package/index.js +1 -1
- package/package.json +1 -1
- /package/assets/core/{cesdk-v1.19.0-rc.0-d92fadafda0b5129818d.data → cesdk-v1.19.0-d92fadafda0b5129818d.data} +0 -0
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Visit our [documentation](https://img.ly/docs/cesdk) for more tutorials on how t
|
|
|
13
13
|
customize the engine for your specific use case.
|
|
14
14
|
|
|
15
15
|
## License
|
|
16
|
-
The CreativeEditor SDK is a commercial product. To use it
|
|
16
|
+
The CreativeEditor SDK is a commercial product. To use it and get access you need to unlock the SDK with a license file. You can purchase a license at https://img.ly/pricing.
|
|
17
17
|
|
|
18
18
|
## Usage
|
|
19
19
|
|
|
@@ -52,8 +52,7 @@ and description of all API methods.
|
|
|
52
52
|
|
|
53
53
|
## License
|
|
54
54
|
|
|
55
|
-
The CreativeEditor SDK is a commercial product. To use it
|
|
56
|
-
access to its white label version - without the watermark in the export - you
|
|
55
|
+
The CreativeEditor SDK is a commercial product. To use it you
|
|
57
56
|
need to unlock the SDK with a license file. You can purchase a license at
|
|
58
57
|
https://img.ly/pricing.
|
|
59
58
|
|
|
Binary file
|
package/index.d.ts
CHANGED
|
@@ -3001,6 +3001,8 @@ export declare class EditorAPI {
|
|
|
3001
3001
|
* @throws An error, if the keypath is invalid.
|
|
3002
3002
|
*/
|
|
3003
3003
|
setSettingBool(keypath: SettingsBool, value: boolean): void;
|
|
3004
|
+
/** @deprecated Support for `ubq://` prefixed keypaths will be removed in a future release. */
|
|
3005
|
+
setSettingBool(keypath: `ubq://${SettingsBool}`, value: boolean): void;
|
|
3004
3006
|
|
|
3005
3007
|
/**
|
|
3006
3008
|
* Get a boolean setting.
|
|
@@ -3008,6 +3010,8 @@ export declare class EditorAPI {
|
|
|
3008
3010
|
* @throws An error, if the keypath is invalid.
|
|
3009
3011
|
*/
|
|
3010
3012
|
getSettingBool(keypath: SettingsBool): boolean;
|
|
3013
|
+
/** @deprecated Support for `ubq://` prefixed keypaths will be removed in a future release. */
|
|
3014
|
+
getSettingBool(keypath: `ubq://${SettingsBool}`): boolean;
|
|
3011
3015
|
|
|
3012
3016
|
/**
|
|
3013
3017
|
* Set an integer setting.
|
|
@@ -3029,12 +3033,16 @@ export declare class EditorAPI {
|
|
|
3029
3033
|
* @throws An error, if the keypath is invalid.
|
|
3030
3034
|
*/
|
|
3031
3035
|
setSettingFloat(keypath: SettingsFloat, value: number): void;
|
|
3036
|
+
/** @deprecated Support for `ubq://` prefixed keypaths will be removed in a future release. */
|
|
3037
|
+
setSettingFloat(keypath: `ubq://${SettingsFloat}`, value: number): void;
|
|
3032
3038
|
/**
|
|
3033
3039
|
* Get a float setting.
|
|
3034
3040
|
* @param keypath - The settings keypath, e.g. `positionSnappingThreshold`
|
|
3035
3041
|
* @throws An error, if the keypath is invalid.
|
|
3036
3042
|
*/
|
|
3037
3043
|
getSettingFloat(keypath: SettingsFloat): number;
|
|
3044
|
+
/** @deprecated Support for `ubq://` prefixed keypaths will be removed in a future release. */
|
|
3045
|
+
getSettingFloat(keypath: `ubq://${SettingsFloat}`): number;
|
|
3038
3046
|
/**
|
|
3039
3047
|
* Set a string setting.
|
|
3040
3048
|
* @param keypath - The settings keypath, e.g. `license`
|
|
@@ -3042,24 +3050,32 @@ export declare class EditorAPI {
|
|
|
3042
3050
|
* @throws An error, if the keypath is invalid.
|
|
3043
3051
|
*/
|
|
3044
3052
|
setSettingString(keypath: SettingsString, value: string): void;
|
|
3053
|
+
/** @deprecated Support for `ubq://` prefixed keypaths will be removed in a future release. */
|
|
3054
|
+
setSettingString(keypath: `ubq://${SettingsString}`, value: string): void;
|
|
3045
3055
|
/**
|
|
3046
3056
|
* Get a string setting.
|
|
3047
3057
|
* @param keypath - The settings keypath, e.g. `license`
|
|
3048
3058
|
* @throws An error, if the keypath is invalid.
|
|
3049
3059
|
*/
|
|
3050
3060
|
getSettingString(keypath: SettingsString): string;
|
|
3061
|
+
/** @deprecated Support for `ubq://` prefixed keypaths will be removed in a future release. */
|
|
3062
|
+
getSettingString(keypath: `ubq://${SettingsString}`): string;
|
|
3051
3063
|
/**
|
|
3052
3064
|
* Set a color setting.
|
|
3053
3065
|
* @param keypath - The settings keypath, e.g. `highlightColor`.
|
|
3054
3066
|
* @param value - The The value to set.
|
|
3055
3067
|
*/
|
|
3056
3068
|
setSettingColor(keypath: SettingsColor, value: Color): void;
|
|
3069
|
+
/** @deprecated Support for `ubq://` prefixed keypaths will be removed in a future release. */
|
|
3070
|
+
setSettingColor(keypath: `ubq://${SettingsColor}`, value: Color): void;
|
|
3057
3071
|
/**
|
|
3058
3072
|
* Get a color setting.
|
|
3059
3073
|
* @param keypath - The settings keypath, e.g. `highlightColor`.
|
|
3060
3074
|
* @throws An error, if the keypath is invalid.
|
|
3061
3075
|
*/
|
|
3062
3076
|
getSettingColor(keypath: SettingsColor): Color;
|
|
3077
|
+
/** @deprecated Support for `ubq://` prefixed keypaths will be removed in a future release. */
|
|
3078
|
+
getSettingColor(keypath: `ubq://${SettingsColor}`): Color;
|
|
3063
3079
|
/**
|
|
3064
3080
|
* Set a color setting.
|
|
3065
3081
|
* @param keypath - The settings keypath, e.g. `highlightColor`.
|
|
@@ -3069,32 +3085,38 @@ export declare class EditorAPI {
|
|
|
3069
3085
|
* @param a - The alpha color component in the range of 0 to 1.
|
|
3070
3086
|
* @deprecated Use setSettingColor() instead.
|
|
3071
3087
|
*/
|
|
3072
|
-
setSettingColorRGBA(keypath: SettingsColorRGBA
|
|
3088
|
+
setSettingColorRGBA(keypath: SettingsColorRGBA | `ubq://${SettingsColorRGBA}`, r: number, g: number, b: number, a?: number): void;
|
|
3073
3089
|
/**
|
|
3074
3090
|
* Get a color setting.
|
|
3075
3091
|
* @param keypath - The settings keypath, e.g. `highlightColor`.
|
|
3076
3092
|
* @returns A tuple of channels red, green, blue and alpha in the range of 0 to 1.
|
|
3077
3093
|
* @deprecated Use getSettingColor() instead.
|
|
3078
3094
|
*/
|
|
3079
|
-
getSettingColorRGBA(keypath: SettingsColorRGBA): RGBA;
|
|
3095
|
+
getSettingColorRGBA(keypath: SettingsColorRGBA | `ubq://${SettingsColorRGBA}`): RGBA;
|
|
3080
3096
|
/**
|
|
3081
3097
|
* Set an enum setting.
|
|
3082
3098
|
* @param keypath - The settings keypath, e.g. `role`.
|
|
3083
3099
|
* @param value - The enum value as string.
|
|
3084
3100
|
*/
|
|
3085
3101
|
setSettingEnum<T extends keyof SettingsEnum>(keypath: T, value: SettingsEnum[T]): void;
|
|
3102
|
+
/** @deprecated Support for `ubq://` prefixed keypaths will be removed in a future release. */
|
|
3103
|
+
setSettingEnum<T extends keyof SettingsEnum>(keypath: `ubq://${T}`, value: SettingsEnum[T]): void;
|
|
3086
3104
|
/**
|
|
3087
3105
|
* Get an enum setting.
|
|
3088
3106
|
* @param keypath - The settings keypath, e.g. `role`.
|
|
3089
3107
|
* @returns The value as string.
|
|
3090
3108
|
*/
|
|
3091
3109
|
getSettingEnum<T extends keyof SettingsEnum>(keypath: T): SettingsEnum[T];
|
|
3110
|
+
/** @deprecated Support for `ubq://` prefixed keypaths will be removed in a future release. */
|
|
3111
|
+
getSettingEnum<T extends keyof SettingsEnum>(keypath: `ubq://${T}`): SettingsEnum[T];
|
|
3092
3112
|
/**
|
|
3093
3113
|
* Get the possible enum options for a given enum setting.
|
|
3094
3114
|
* @param keypath - The settings keypath, e.g. `role`.
|
|
3095
3115
|
* @returns The possible enum options as strings.
|
|
3096
3116
|
*/
|
|
3097
3117
|
getSettingEnumOptions<T extends keyof SettingsEnum>(keypath: T): string[];
|
|
3118
|
+
/** @deprecated Support for `ubq://` prefixed keypaths will be removed in a future release. */
|
|
3119
|
+
getSettingEnumOptions<T extends keyof SettingsEnum>(keypath: `ubq://${T}`): string[];
|
|
3098
3120
|
/**
|
|
3099
3121
|
* Returns a list of all the settings available.
|
|
3100
3122
|
* @returns A list of settings keypaths.
|
|
@@ -3920,7 +3942,7 @@ export declare type SceneLayout = 'Free' | 'VerticalStack' | 'HorizontalStack' |
|
|
|
3920
3942
|
export declare type SceneMode = 'Design' | 'Video';
|
|
3921
3943
|
|
|
3922
3944
|
/** @public */
|
|
3923
|
-
export declare type SettingsBool = 'doubleClickToCropEnabled' | 'features/
|
|
3945
|
+
export declare type SettingsBool = 'doubleClickToCropEnabled' | 'features/singlePageModeEnabled' | 'mouse/enableZoom' | 'mouse/enableScroll' | 'page/dimOutOfPageAreas' | 'page/title/show' | 'placeholderControls/showButton' | 'placeholderControls/showOverlay' | 'showBuildVersion' | 'touch/dragStartCanSelect' | 'touch/singlePointPanning';
|
|
3924
3946
|
|
|
3925
3947
|
/** @public
|
|
3926
3948
|
*/
|