@cesdk/cesdk-js 1.61.0-nightly.20250917 → 1.61.0-nightly.20250920
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/ThirdPartyLicenses.md +26 -0
- package/assets/core/{cesdk-v1.61.0-nightly.20250917-NZT4H3A5.wasm → cesdk-v1.61.0-nightly.20250920-5E3GKQNR.wasm} +0 -0
- package/assets/core/{worker-host-v1.61.0-nightly.20250917.js → worker-host-v1.61.0-nightly.20250920.js} +1 -1
- package/assets/ui/stylesheets/cesdk.css +34 -74
- package/cesdk.umd.js +1 -1
- package/index.d.ts +159 -45
- package/index.js +1 -1
- package/package.json +2 -2
- /package/assets/core/{cesdk-v1.61.0-nightly.20250917-44YCFRT6.data → cesdk-v1.61.0-nightly.20250920-44YCFRT6.data} +0 -0
package/index.d.ts
CHANGED
|
@@ -579,23 +579,8 @@ export { BlendMode }
|
|
|
579
579
|
|
|
580
580
|
export { BlockAPI }
|
|
581
581
|
|
|
582
|
-
declare type BlockEffectsConfig = {
|
|
583
|
-
filtersEnabled: boolean;
|
|
584
|
-
adjustmentsEnabled: boolean;
|
|
585
|
-
effectsEnabled: boolean;
|
|
586
|
-
blurEnabled: boolean;
|
|
587
|
-
};
|
|
588
|
-
|
|
589
582
|
export { BlockEvent }
|
|
590
583
|
|
|
591
|
-
declare type Blocks = {
|
|
592
|
-
['//ly.img.ubq/text']: TextBlockConfig;
|
|
593
|
-
['//ly.img.ubq/page']: PageBlockConfig;
|
|
594
|
-
['//ly.img.ubq/graphic']: DesignDesignBlockConfig;
|
|
595
|
-
};
|
|
596
|
-
|
|
597
|
-
declare type BlocksConfig = Omit<Partial<Record<ObjectTypeLonghand, never>>, keyof Blocks> & Blocks;
|
|
598
|
-
|
|
599
584
|
export { BlockState }
|
|
600
585
|
|
|
601
586
|
export { BlurType }
|
|
@@ -2583,6 +2568,21 @@ declare class CreativeEditorSDK {
|
|
|
2583
2568
|
* @category Configuration
|
|
2584
2569
|
*/
|
|
2585
2570
|
disableNoSceneWarning(): void;
|
|
2571
|
+
/**
|
|
2572
|
+
* Returns the baseURL that was provided in the configuration during editor initialization.
|
|
2573
|
+
*
|
|
2574
|
+
* @returns The original baseURL from the top-level configuration
|
|
2575
|
+
*
|
|
2576
|
+
* @example
|
|
2577
|
+
* ```typescript
|
|
2578
|
+
* const cesdk = await CreativeEditorSDK.create('#editor', {
|
|
2579
|
+
* baseURL: 'https://my-cdn.example.com/assets/'
|
|
2580
|
+
* });
|
|
2581
|
+
*
|
|
2582
|
+
* console.log(cesdk.getBaseURL()); // 'https://my-cdn.example.com/assets/'
|
|
2583
|
+
* ```
|
|
2584
|
+
*/
|
|
2585
|
+
getBaseURL(): string;
|
|
2586
2586
|
/**
|
|
2587
2587
|
* Save and return a scene as a base64 encoded string.
|
|
2588
2588
|
*
|
|
@@ -2825,8 +2825,6 @@ export { DesignBlockTypeLonghand }
|
|
|
2825
2825
|
|
|
2826
2826
|
export { DesignBlockTypeShorthand }
|
|
2827
2827
|
|
|
2828
|
-
declare type DesignDesignBlockConfig = ImageBlockConfig;
|
|
2829
|
-
|
|
2830
2828
|
export { DesignUnit }
|
|
2831
2829
|
|
|
2832
2830
|
/**
|
|
@@ -3344,7 +3342,7 @@ export declare class FeatureAPI {
|
|
|
3344
3342
|
*
|
|
3345
3343
|
* @public
|
|
3346
3344
|
*/
|
|
3347
|
-
export declare type FeatureId = 'ly.img.navigationBar' | 'ly.img.navigate.back' | 'ly.img.navigate.close' | 'ly.img.navigate.undoRedo' | 'ly.img.navigate.zoom' | 'ly.img.navigate.actions' | 'ly.img.delete' | 'ly.img.duplicate' | 'ly.img.placeholder' | 'ly.img.preview' | 'ly.img.page.move' | 'ly.img.page.add' | 'ly.img.group' | 'ly.img.replace' | 'ly.img.text.edit' | 'ly.img.text.typeface' | 'ly.img.text.fontSize' | 'ly.img.text.fontStyle' | 'ly.img.text.alignment' | 'ly.img.text.advanced' | 'ly.img.text.background' | 'ly.img.adjustment' | 'ly.img.filter' | 'ly.img.effect' | 'ly.img.blur' | 'ly.img.shadow' | 'ly.img.cutout' | 'ly.img.fill' | 'ly.img.shape.options' | 'ly.img.combine' | 'ly.img.trim' | 'ly.img.crop' | 'ly.img.volume' | 'ly.img.stroke' | 'ly.img.position' | 'ly.img.animations' | 'ly.img.opacity' | 'ly.img.blendMode' | 'ly.img.videoTimeline' | 'ly.img.video.caption' | 'ly.img.transform.position' | 'ly.img.transform.size' | 'ly.img.transform.rotation' | 'ly.img.transform.flip' | 'ly.img.inspectorBar' | 'ly.img.inspectorToggle' | 'ly.img.page.resize' | 'ly.img.dock' | 'ly.img.canvasBar' | 'ly.img.canvasMenu' | 'ly.img.inspector' | (string & {});
|
|
3345
|
+
export declare type FeatureId = 'ly.img.navigationBar' | 'ly.img.navigate.back' | 'ly.img.navigate.close' | 'ly.img.navigate.undoRedo' | 'ly.img.navigate.zoom' | 'ly.img.navigate.actions' | 'ly.img.delete' | 'ly.img.duplicate' | 'ly.img.placeholder' | 'ly.img.preview' | 'ly.img.page.move' | 'ly.img.page.add' | 'ly.img.group' | 'ly.img.replace' | 'ly.img.text.edit' | 'ly.img.text.typeface' | 'ly.img.text.fontSize' | 'ly.img.text.fontStyle' | 'ly.img.text.alignment' | 'ly.img.text.advanced' | 'ly.img.text.background' | 'ly.img.adjustment' | 'ly.img.filter' | 'ly.img.effect' | 'ly.img.blur' | 'ly.img.shadow' | 'ly.img.cutout' | 'ly.img.fill' | 'ly.img.shape.options' | 'ly.img.combine' | 'ly.img.trim' | 'ly.img.crop' | 'ly.img.volume' | 'ly.img.stroke' | 'ly.img.position' | 'ly.img.animations' | 'ly.img.opacity' | 'ly.img.blendMode' | 'ly.img.videoTimeline' | 'ly.img.video.caption' | 'ly.img.transform.position' | 'ly.img.transform.size' | 'ly.img.transform.rotation' | 'ly.img.transform.flip' | 'ly.img.inspectorBar' | 'ly.img.inspectorToggle' | 'ly.img.page.resize' | 'ly.img.dock' | 'ly.img.canvasBar' | 'ly.img.canvasMenu' | 'ly.img.inspector' | 'ly.img.settings' | 'ly.img.assetLibrary' | (string & {});
|
|
3348
3346
|
|
|
3349
3347
|
/**
|
|
3350
3348
|
* The feature predicate is used to enable or disable a feature
|
|
@@ -3432,10 +3430,6 @@ export { HTMLCreativeEngineCanvasElement }
|
|
|
3432
3430
|
*/
|
|
3433
3431
|
declare type I18n = Record<LocaleKey, Partial<Translations>>;
|
|
3434
3432
|
|
|
3435
|
-
declare type ImageBlockConfig = {
|
|
3436
|
-
cropEnabled: boolean;
|
|
3437
|
-
} & BlockEffectsConfig;
|
|
3438
|
-
|
|
3439
3433
|
export { ImageMimeType }
|
|
3440
3434
|
|
|
3441
3435
|
/**
|
|
@@ -3899,13 +3893,6 @@ export declare interface OrderContext {
|
|
|
3899
3893
|
editMode: EditMode;
|
|
3900
3894
|
}
|
|
3901
3895
|
|
|
3902
|
-
declare type PageBlockConfig = {
|
|
3903
|
-
format: boolean;
|
|
3904
|
-
manage: boolean;
|
|
3905
|
-
maxDuration: number;
|
|
3906
|
-
cropEnabled: boolean;
|
|
3907
|
-
} & BlockEffectsConfig;
|
|
3908
|
-
|
|
3909
3896
|
/**
|
|
3910
3897
|
* Represents the definition of a page format in the Creative Editor SDK.
|
|
3911
3898
|
* This interface defines the width, height, unit, and optional fixed orientation for a page format.
|
|
@@ -4285,11 +4272,6 @@ export declare interface TextAreaOptions extends InputOptions<string> {
|
|
|
4285
4272
|
placeholder?: string;
|
|
4286
4273
|
}
|
|
4287
4274
|
|
|
4288
|
-
declare type TextBlockConfig = {
|
|
4289
|
-
advancedEnabled: boolean;
|
|
4290
|
-
colorEnabled: boolean;
|
|
4291
|
-
};
|
|
4292
|
-
|
|
4293
4275
|
export { TextCase }
|
|
4294
4276
|
|
|
4295
4277
|
/**
|
|
@@ -4645,17 +4627,36 @@ export declare class UserInterfaceAPI {
|
|
|
4645
4627
|
*/
|
|
4646
4628
|
openPanel<T extends PanelId>(panelId: T, options?: PanelOptions<T>): void;
|
|
4647
4629
|
/**
|
|
4648
|
-
* Closes
|
|
4649
|
-
*
|
|
4650
|
-
* Otherwise the method does nothing and is a noop.
|
|
4630
|
+
* Closes panels that match the given pattern. Supports wildcard matching.
|
|
4651
4631
|
*
|
|
4652
4632
|
* Available built-in panel IDs:
|
|
4653
|
-
* - `//ly.img.panel/inspector` -
|
|
4654
|
-
* - `//ly.img.panel/assetLibrary` -
|
|
4655
|
-
* - `//ly.img.panel/assetLibrary.replace` -
|
|
4633
|
+
* - `//ly.img.panel/inspector` - Inspector panel
|
|
4634
|
+
* - `//ly.img.panel/assetLibrary` - Asset library
|
|
4635
|
+
* - `//ly.img.panel/assetLibrary.replace` - Replacement asset library
|
|
4656
4636
|
*
|
|
4657
4637
|
* @category Panel Management
|
|
4658
|
-
* @param panelId - The ID
|
|
4638
|
+
* @param panelId - The panel ID or pattern to match panels for closing.
|
|
4639
|
+
*
|
|
4640
|
+
* @example
|
|
4641
|
+
* ```javascript
|
|
4642
|
+
* // Close a specific panel by exact ID
|
|
4643
|
+
* cesdk.ui.closePanel('//ly.img.panel/inspector');
|
|
4644
|
+
*
|
|
4645
|
+
* // Close all ly.img panels using wildcard
|
|
4646
|
+
* cesdk.ui.closePanel('//ly.img.*');
|
|
4647
|
+
*
|
|
4648
|
+
* // Close all panels with specific prefix
|
|
4649
|
+
* cesdk.ui.closePanel('//ly.img.panel/*');
|
|
4650
|
+
*
|
|
4651
|
+
* // Close panels matching complex pattern
|
|
4652
|
+
* cesdk.ui.closePanel('//ly.img.panel/' + '*' + '/stroke/' + '*');
|
|
4653
|
+
*
|
|
4654
|
+
* // Close any inspector panels regardless of namespace
|
|
4655
|
+
* cesdk.ui.closePanel('*' + '/inspector');
|
|
4656
|
+
*
|
|
4657
|
+
* // Close all asset library panels
|
|
4658
|
+
* cesdk.ui.closePanel('*assetLibrary*');
|
|
4659
|
+
* ```
|
|
4659
4660
|
*/
|
|
4660
4661
|
closePanel(panelId: string): void;
|
|
4661
4662
|
/**
|
|
@@ -4897,7 +4898,22 @@ export declare class UserInterfaceAPI {
|
|
|
4897
4898
|
*/
|
|
4898
4899
|
removeDockOrderComponent(matcher: OrderComponentMatcher<OrderComponent<DockOrderComponentId>>, orderContext?: OrderContext): {
|
|
4899
4900
|
removed: number;
|
|
4900
|
-
order: DockOrderComponent[];
|
|
4901
|
+
order: DockOrderComponent[]; /**
|
|
4902
|
+
* Inserts a component into the render order of the dock area.
|
|
4903
|
+
*
|
|
4904
|
+
* This method inserts a new dock order component before, after, or to replace a component matching
|
|
4905
|
+
* the provided matcher. The matcher can be a function or an object describing the component to match.
|
|
4906
|
+
* The location can be 'before', 'after', or 'replace'.
|
|
4907
|
+
*
|
|
4908
|
+
* The insert API can be used in different contexts (such as edit modes).
|
|
4909
|
+
*
|
|
4910
|
+
* @category UI Layout
|
|
4911
|
+
* @param component - The component ID or configuration to insert.
|
|
4912
|
+
* @param matcher - Function or object to match the component to insert relative to.
|
|
4913
|
+
* @param location - Where to insert the new component relative to the matched component ('before' or 'after').
|
|
4914
|
+
* @param orderContext - Optional context specifying which order to update.
|
|
4915
|
+
* @returns The updated dock order array.
|
|
4916
|
+
*/
|
|
4901
4917
|
};
|
|
4902
4918
|
/**
|
|
4903
4919
|
* Inserts a component into the render order of the dock area.
|
|
@@ -4983,7 +4999,22 @@ export declare class UserInterfaceAPI {
|
|
|
4983
4999
|
*/
|
|
4984
5000
|
removeInspectorBarOrderComponent(matcher: OrderComponentMatcher<OrderComponent<InspectorBarComponentId>>, orderContext?: OrderContext): {
|
|
4985
5001
|
removed: number;
|
|
4986
|
-
order: OrderComponent<InspectorBarComponentId>[];
|
|
5002
|
+
order: OrderComponent<InspectorBarComponentId>[]; /**
|
|
5003
|
+
* Inserts a component into the render order of the dock area.
|
|
5004
|
+
*
|
|
5005
|
+
* This method inserts a new dock order component before, after, or to replace a component matching
|
|
5006
|
+
* the provided matcher. The matcher can be a function or an object describing the component to match.
|
|
5007
|
+
* The location can be 'before', 'after', or 'replace'.
|
|
5008
|
+
*
|
|
5009
|
+
* The insert API can be used in different contexts (such as edit modes).
|
|
5010
|
+
*
|
|
5011
|
+
* @category UI Layout
|
|
5012
|
+
* @param component - The component ID or configuration to insert.
|
|
5013
|
+
* @param matcher - Function or object to match the component to insert relative to.
|
|
5014
|
+
* @param location - Where to insert the new component relative to the matched component ('before' or 'after').
|
|
5015
|
+
* @param orderContext - Optional context specifying which order to update.
|
|
5016
|
+
* @returns The updated dock order array.
|
|
5017
|
+
*/
|
|
4987
5018
|
};
|
|
4988
5019
|
/**
|
|
4989
5020
|
* Inserts a component into the render order of the inspector bar.
|
|
@@ -5065,7 +5096,22 @@ export declare class UserInterfaceAPI {
|
|
|
5065
5096
|
*/
|
|
5066
5097
|
removeCanvasMenuOrderComponent(matcher: OrderComponentMatcher<OrderComponent<CanvasMenuComponentId>>, orderContext?: OrderContext): {
|
|
5067
5098
|
removed: number;
|
|
5068
|
-
order: OrderComponent<CanvasMenuComponentId>[];
|
|
5099
|
+
order: OrderComponent<CanvasMenuComponentId>[]; /**
|
|
5100
|
+
* Inserts a component into the render order of the dock area.
|
|
5101
|
+
*
|
|
5102
|
+
* This method inserts a new dock order component before, after, or to replace a component matching
|
|
5103
|
+
* the provided matcher. The matcher can be a function or an object describing the component to match.
|
|
5104
|
+
* The location can be 'before', 'after', or 'replace'.
|
|
5105
|
+
*
|
|
5106
|
+
* The insert API can be used in different contexts (such as edit modes).
|
|
5107
|
+
*
|
|
5108
|
+
* @category UI Layout
|
|
5109
|
+
* @param component - The component ID or configuration to insert.
|
|
5110
|
+
* @param matcher - Function or object to match the component to insert relative to.
|
|
5111
|
+
* @param location - Where to insert the new component relative to the matched component ('before' or 'after').
|
|
5112
|
+
* @param orderContext - Optional context specifying which order to update.
|
|
5113
|
+
* @returns The updated dock order array.
|
|
5114
|
+
*/
|
|
5069
5115
|
};
|
|
5070
5116
|
/**
|
|
5071
5117
|
* Inserts a component into the render order of the canvas menu.
|
|
@@ -5234,7 +5280,22 @@ export declare class UserInterfaceAPI {
|
|
|
5234
5280
|
*/
|
|
5235
5281
|
removeCanvasBarOrderComponent(matcher: OrderComponentMatcher<OrderComponent<CanvasBarComponentId>>, position: 'top' | 'bottom', orderContext?: OrderContext): {
|
|
5236
5282
|
removed: number;
|
|
5237
|
-
order: OrderComponent<CanvasBarComponentId>[];
|
|
5283
|
+
order: OrderComponent<CanvasBarComponentId>[]; /**
|
|
5284
|
+
* Inserts a component into the render order of the dock area.
|
|
5285
|
+
*
|
|
5286
|
+
* This method inserts a new dock order component before, after, or to replace a component matching
|
|
5287
|
+
* the provided matcher. The matcher can be a function or an object describing the component to match.
|
|
5288
|
+
* The location can be 'before', 'after', or 'replace'.
|
|
5289
|
+
*
|
|
5290
|
+
* The insert API can be used in different contexts (such as edit modes).
|
|
5291
|
+
*
|
|
5292
|
+
* @category UI Layout
|
|
5293
|
+
* @param component - The component ID or configuration to insert.
|
|
5294
|
+
* @param matcher - Function or object to match the component to insert relative to.
|
|
5295
|
+
* @param location - Where to insert the new component relative to the matched component ('before' or 'after').
|
|
5296
|
+
* @param orderContext - Optional context specifying which order to update.
|
|
5297
|
+
* @returns The updated dock order array.
|
|
5298
|
+
*/
|
|
5238
5299
|
};
|
|
5239
5300
|
/**
|
|
5240
5301
|
* Inserts a component into the render order of the canvas bar.
|
|
@@ -5505,11 +5566,15 @@ declare interface UserInterfaceElements_2 {
|
|
|
5505
5566
|
*/
|
|
5506
5567
|
view?: 'default' | 'advanced';
|
|
5507
5568
|
panels?: {
|
|
5569
|
+
/** @deprecated Plese use `cesdk.feature.enable('ly.img.inspector')`, `cesdk.ui.setPanelPosition('//ly.img.panel/inspector')` and `cesdk.ui.setPanelFloating('//ly.img.panel/inspector')` instead. */
|
|
5508
5570
|
inspector?: UserInterfaceInspector | boolean;
|
|
5571
|
+
/** @deprecated Please use `cesdk.feature.enable('ly.img.settings')`, `cesdk.ui.setPanelPosition('//ly.img.panel/settings')` and `cesdk.ui.setPanelFloating('//ly.img.panel/settings')` instead. */
|
|
5509
5572
|
settings?: UserInterfaceSettings | boolean;
|
|
5573
|
+
/** @deprecated Please use `cesdk.feature.enable('ly.img.assetLibrary')`, `cesdk.ui.setPanelPosition('//ly.img.panel/assetLibrary')` and `cesdk.ui.setPanelFloating('//ly.img.panel/assetLibrary')` instead. */
|
|
5510
5574
|
assetLibrary?: UserInterfaceAssetLibrary | boolean;
|
|
5511
5575
|
};
|
|
5512
5576
|
dock?: {
|
|
5577
|
+
/** @deprecated Please use `cesdk.feature.enable('ly.img.dock')` instead. */
|
|
5513
5578
|
show?: boolean;
|
|
5514
5579
|
iconSize?: 'normal' | 'large';
|
|
5515
5580
|
hideLabels?: boolean;
|
|
@@ -5533,6 +5598,7 @@ declare interface UserInterfaceElements_2 {
|
|
|
5533
5598
|
*/
|
|
5534
5599
|
entries?: AssetLibraryEntries;
|
|
5535
5600
|
autoClose?: boolean | (() => boolean);
|
|
5601
|
+
/** @deprecated Please use `cesdk.ui.setPanelFloating('//ly.img.panel/assetLibrary')` instead. */
|
|
5536
5602
|
floating?: boolean;
|
|
5537
5603
|
/**
|
|
5538
5604
|
* @deprecated please use the cesdk.actions API to register an action for 'addClip' and implement your own logic.
|
|
@@ -5555,9 +5621,11 @@ declare interface UserInterfaceElements_2 {
|
|
|
5555
5621
|
*/
|
|
5556
5622
|
entries?: AssetLibraryEntries;
|
|
5557
5623
|
autoClose?: boolean | (() => boolean);
|
|
5624
|
+
/** @deprecated Please use `cesdk.ui.setPanelFloating('//ly.img.panel/replaceAssetLibrary')` instead. */
|
|
5558
5625
|
floating?: boolean;
|
|
5559
5626
|
};
|
|
5560
5627
|
};
|
|
5628
|
+
/** @deprecated Use `cesdk.feature.enable()` instead. */
|
|
5561
5629
|
blocks?: UserInterfaceInspectorBlocks;
|
|
5562
5630
|
navigation?: UserInterfaceNavigation;
|
|
5563
5631
|
inspectorBar?: UserInterfaceElement | boolean;
|
|
@@ -5586,6 +5654,7 @@ declare interface UserInterfaceInspector extends UserInterfaceElement {
|
|
|
5586
5654
|
/**
|
|
5587
5655
|
* @public
|
|
5588
5656
|
* Interface representing a block in the user interface inspector.
|
|
5657
|
+
* @deprecated Use `cesdk.feature.enable()` instead.
|
|
5589
5658
|
*/
|
|
5590
5659
|
declare interface UserInterfaceInspectorBlock {
|
|
5591
5660
|
}
|
|
@@ -5598,12 +5667,18 @@ declare interface UserInterfaceInspectorBlock {
|
|
|
5598
5667
|
* - `adjustments`: Optional element or boolean indicating whether the adjustments section should be shown.
|
|
5599
5668
|
* - `effects`: Optional element or boolean indicating whether the effects section should be shown.
|
|
5600
5669
|
* - `blur`: Optional element or boolean indicating whether the blur section should be shown.
|
|
5670
|
+
* @deprecated Use `cesdk.feature.enable()` for graphic-related features instead.
|
|
5601
5671
|
*/
|
|
5602
5672
|
declare interface UserInterfaceInspectorBlockGraphic extends UserInterfaceInspectorBlock {
|
|
5673
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.crop')` instead. */
|
|
5603
5674
|
crop?: UserInterfaceElement | boolean;
|
|
5675
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.filter')` instead. */
|
|
5604
5676
|
filters?: UserInterfaceElement | boolean;
|
|
5677
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.adjustment')` instead. */
|
|
5605
5678
|
adjustments?: UserInterfaceElement | boolean;
|
|
5679
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.effect')` instead. */
|
|
5606
5680
|
effects?: UserInterfaceElement | boolean;
|
|
5681
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.blur')` instead. */
|
|
5607
5682
|
blur?: UserInterfaceElement | boolean;
|
|
5608
5683
|
}
|
|
5609
5684
|
|
|
@@ -5615,12 +5690,18 @@ declare interface UserInterfaceInspectorBlockGraphic extends UserInterfaceInspec
|
|
|
5615
5690
|
* - `adjustments`: Optional element or boolean indicating whether the adjustments section should be shown.
|
|
5616
5691
|
* - `effects`: Optional element or boolean indicating whether the effects section should be shown.
|
|
5617
5692
|
* - `blur`: Optional element or boolean indicating whether the blur section should be shown.
|
|
5693
|
+
* @deprecated Use `cesdk.feature.enable()` for image-related features instead.
|
|
5618
5694
|
*/
|
|
5619
5695
|
declare interface UserInterfaceInspectorBlockImage extends UserInterfaceInspectorBlock {
|
|
5696
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.crop')` instead. */
|
|
5620
5697
|
crop?: UserInterfaceElement | boolean;
|
|
5698
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.filter')` instead. */
|
|
5621
5699
|
filters?: UserInterfaceElement | boolean;
|
|
5700
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.adjustment')` instead. */
|
|
5622
5701
|
adjustments?: UserInterfaceElement | boolean;
|
|
5702
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.effect')` instead. */
|
|
5623
5703
|
effects?: UserInterfaceElement | boolean;
|
|
5704
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.blur')` instead. */
|
|
5624
5705
|
blur?: UserInterfaceElement | boolean;
|
|
5625
5706
|
}
|
|
5626
5707
|
|
|
@@ -5635,18 +5716,27 @@ declare interface UserInterfaceInspectorBlockImage extends UserInterfaceInspecto
|
|
|
5635
5716
|
* - `adjustments`: Optional element or boolean indicating whether the adjustments section should be shown.
|
|
5636
5717
|
* - `effects`: Optional element or boolean indicating whether the effects section should be shown.
|
|
5637
5718
|
* - `blur`: Optional element or boolean indicating whether the blur section should be shown.
|
|
5719
|
+
* @deprecated Use `cesdk.feature.enable()` for page-related features instead.
|
|
5638
5720
|
*/
|
|
5639
5721
|
declare interface UserInterfaceInspectorBlockPage extends UserInterfaceInspectorBlock {
|
|
5722
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.page.resize')` instead. */
|
|
5640
5723
|
format?: UserInterfaceElement | boolean;
|
|
5724
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.page.add')`, `cesdk.feature.enable('ly.img.page.move')`, or `cesdk.feature.enable('ly.img.duplicate')` instead. */
|
|
5641
5725
|
manage?: UserInterfaceElement | boolean;
|
|
5642
5726
|
/**
|
|
5727
|
+
* @deprecated Use feature API instead.
|
|
5643
5728
|
* Controls the maximum allowed duration of a page, if in video mode.
|
|
5644
5729
|
*/
|
|
5645
5730
|
maxDuration?: number;
|
|
5731
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.crop')` instead. */
|
|
5646
5732
|
crop?: UserInterfaceElement | boolean;
|
|
5733
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.filter')` instead. */
|
|
5647
5734
|
filters?: UserInterfaceElement | boolean;
|
|
5735
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.adjustment')` instead. */
|
|
5648
5736
|
adjustments?: UserInterfaceElement | boolean;
|
|
5737
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.effect')` instead. */
|
|
5649
5738
|
effects?: UserInterfaceElement | boolean;
|
|
5739
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.blur')` instead. */
|
|
5650
5740
|
blur?: UserInterfaceElement | boolean;
|
|
5651
5741
|
}
|
|
5652
5742
|
|
|
@@ -5658,12 +5748,18 @@ declare interface UserInterfaceInspectorBlockPage extends UserInterfaceInspector
|
|
|
5658
5748
|
* - `adjustments`: Optional element or boolean indicating whether the adjustments section should be shown.
|
|
5659
5749
|
* - `effects`: Optional element or boolean indicating whether the effects section should be shown.
|
|
5660
5750
|
* - `blur`: Optional element or boolean indicating whether the blur section should be shown.
|
|
5751
|
+
* @deprecated Use `cesdk.feature.enable()` for shape-related features instead.
|
|
5661
5752
|
*/
|
|
5662
5753
|
declare interface UserInterfaceInspectorBlockRectShape extends UserInterfaceInspectorBlock {
|
|
5754
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.crop')` instead. */
|
|
5663
5755
|
crop?: UserInterfaceElement | boolean;
|
|
5756
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.filter')` instead. */
|
|
5664
5757
|
filters?: UserInterfaceElement | boolean;
|
|
5758
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.adjustment')` instead. */
|
|
5665
5759
|
adjustments?: UserInterfaceElement | boolean;
|
|
5760
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.effect')` instead. */
|
|
5666
5761
|
effects?: UserInterfaceElement | boolean;
|
|
5762
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.blur')` instead. */
|
|
5667
5763
|
blur?: UserInterfaceElement | boolean;
|
|
5668
5764
|
}
|
|
5669
5765
|
|
|
@@ -5676,13 +5772,20 @@ declare interface UserInterfaceInspectorBlockRectShape extends UserInterfaceInsp
|
|
|
5676
5772
|
* - `//ly.img.ubq/text`: Optional text block configuration.
|
|
5677
5773
|
* - `//ly.img.ubq/page`: Optional page block configuration.
|
|
5678
5774
|
* - `//ly.img.ubq/graphic`: Optional graphic block configuration.
|
|
5775
|
+
* @deprecated Use `cesdk.feature.enable()` instead.
|
|
5679
5776
|
*/
|
|
5680
5777
|
declare interface UserInterfaceInspectorBlocks {
|
|
5778
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.opacity')` instead. */
|
|
5681
5779
|
opacity?: UserInterfaceElement | boolean;
|
|
5780
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.transform.position')`, `cesdk.feature.enable('ly.img.transform.size')`, `cesdk.feature.enable('ly.img.transform.rotation')`, or `cesdk.feature.enable('ly.img.transform.flip')` instead. */
|
|
5682
5781
|
transform?: UserInterfaceElement | boolean;
|
|
5782
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.trim')` instead. */
|
|
5683
5783
|
trim?: UserInterfaceElement | boolean;
|
|
5784
|
+
/** @deprecated Use `cesdk.feature.enable()` for text-related features instead. */
|
|
5684
5785
|
'//ly.img.ubq/text'?: UserInterfaceInspectorBlockText;
|
|
5786
|
+
/** @deprecated Use `cesdk.feature.enable()` for page-related features instead. */
|
|
5685
5787
|
'//ly.img.ubq/page'?: UserInterfaceInspectorBlockPage;
|
|
5788
|
+
/** @deprecated Use `cesdk.feature.enable()` for graphic-related features instead. */
|
|
5686
5789
|
'//ly.img.ubq/graphic'?: UserInterfaceInspectorBlockGraphic;
|
|
5687
5790
|
}
|
|
5688
5791
|
|
|
@@ -5690,8 +5793,10 @@ declare interface UserInterfaceInspectorBlocks {
|
|
|
5690
5793
|
* @public
|
|
5691
5794
|
* Interface representing a shape block in the user interface inspector.
|
|
5692
5795
|
* - `crop`: Optional element or boolean indicating whether the crop section should be shown.
|
|
5796
|
+
* @deprecated Use `cesdk.feature.enable()` for shape-related features instead.
|
|
5693
5797
|
*/
|
|
5694
5798
|
declare interface UserInterfaceInspectorBlockShape extends UserInterfaceInspectorBlock {
|
|
5799
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.crop')` instead. */
|
|
5695
5800
|
crop?: UserInterfaceElement | boolean;
|
|
5696
5801
|
}
|
|
5697
5802
|
|
|
@@ -5700,9 +5805,12 @@ declare interface UserInterfaceInspectorBlockShape extends UserInterfaceInspecto
|
|
|
5700
5805
|
* Interface representing a text block in the user interface inspector.
|
|
5701
5806
|
* - `advanced`: Optional element or boolean indicating whether the advanced section should be shown.
|
|
5702
5807
|
* - `color`: Optional element or boolean indicating whether the color section should be shown.
|
|
5808
|
+
* @deprecated Use `cesdk.feature.enable()` for text-related features instead.
|
|
5703
5809
|
*/
|
|
5704
5810
|
declare interface UserInterfaceInspectorBlockText extends UserInterfaceInspectorBlock {
|
|
5811
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.text.advanced')` instead. */
|
|
5705
5812
|
advanced?: UserInterfaceElement | boolean;
|
|
5813
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.fill')` instead. */
|
|
5706
5814
|
color?: UserInterfaceElement | boolean;
|
|
5707
5815
|
}
|
|
5708
5816
|
|
|
@@ -5714,12 +5822,18 @@ declare interface UserInterfaceInspectorBlockText extends UserInterfaceInspector
|
|
|
5714
5822
|
* - `adjustments`: Optional element or boolean indicating whether the adjustments section should be shown.
|
|
5715
5823
|
* - `effects`: Optional element or boolean indicating whether the effects section should be shown.
|
|
5716
5824
|
* - `blur`: Optional element or boolean indicating whether the blur section should be shown.
|
|
5825
|
+
* @deprecated Use `cesdk.feature.enable()` for video-related features instead.
|
|
5717
5826
|
*/
|
|
5718
5827
|
declare interface UserInterfaceInspectorBlockVideoFill extends UserInterfaceInspectorBlock {
|
|
5828
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.crop')` instead. */
|
|
5719
5829
|
crop?: UserInterfaceElement | boolean;
|
|
5830
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.filter')` instead. */
|
|
5720
5831
|
filters?: UserInterfaceElement | boolean;
|
|
5832
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.adjustment')` instead. */
|
|
5721
5833
|
adjustments?: UserInterfaceElement | boolean;
|
|
5834
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.effect')` instead. */
|
|
5722
5835
|
effects?: UserInterfaceElement | boolean;
|
|
5836
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.blur')` instead. */
|
|
5723
5837
|
blur?: UserInterfaceElement | boolean;
|
|
5724
5838
|
}
|
|
5725
5839
|
|