@cesdk/cesdk-js 1.61.0-nightly.20250918 → 1.61.0-nightly.20250921
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.20250918-24W2S7UR.wasm → cesdk-v1.61.0-nightly.20250921-6HKSEC3K.wasm} +0 -0
- package/assets/core/{worker-host-v1.61.0-nightly.20250918.js → worker-host-v1.61.0-nightly.20250921.js} +1 -1
- package/assets/ui/stylesheets/cesdk.css +32 -72
- package/cesdk.umd.js +1 -1
- package/index.d.ts +152 -44
- package/index.js +1 -1
- package/package.json +2 -2
- /package/assets/core/{cesdk-v1.61.0-nightly.20250918-44YCFRT6.data → cesdk-v1.61.0-nightly.20250921-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
|
/**
|
|
@@ -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.
|
|
@@ -5564,6 +5625,7 @@ declare interface UserInterfaceElements_2 {
|
|
|
5564
5625
|
floating?: boolean;
|
|
5565
5626
|
};
|
|
5566
5627
|
};
|
|
5628
|
+
/** @deprecated Use `cesdk.feature.enable()` instead. */
|
|
5567
5629
|
blocks?: UserInterfaceInspectorBlocks;
|
|
5568
5630
|
navigation?: UserInterfaceNavigation;
|
|
5569
5631
|
inspectorBar?: UserInterfaceElement | boolean;
|
|
@@ -5592,6 +5654,7 @@ declare interface UserInterfaceInspector extends UserInterfaceElement {
|
|
|
5592
5654
|
/**
|
|
5593
5655
|
* @public
|
|
5594
5656
|
* Interface representing a block in the user interface inspector.
|
|
5657
|
+
* @deprecated Use `cesdk.feature.enable()` instead.
|
|
5595
5658
|
*/
|
|
5596
5659
|
declare interface UserInterfaceInspectorBlock {
|
|
5597
5660
|
}
|
|
@@ -5604,12 +5667,18 @@ declare interface UserInterfaceInspectorBlock {
|
|
|
5604
5667
|
* - `adjustments`: Optional element or boolean indicating whether the adjustments section should be shown.
|
|
5605
5668
|
* - `effects`: Optional element or boolean indicating whether the effects section should be shown.
|
|
5606
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.
|
|
5607
5671
|
*/
|
|
5608
5672
|
declare interface UserInterfaceInspectorBlockGraphic extends UserInterfaceInspectorBlock {
|
|
5673
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.crop')` instead. */
|
|
5609
5674
|
crop?: UserInterfaceElement | boolean;
|
|
5675
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.filter')` instead. */
|
|
5610
5676
|
filters?: UserInterfaceElement | boolean;
|
|
5677
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.adjustment')` instead. */
|
|
5611
5678
|
adjustments?: UserInterfaceElement | boolean;
|
|
5679
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.effect')` instead. */
|
|
5612
5680
|
effects?: UserInterfaceElement | boolean;
|
|
5681
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.blur')` instead. */
|
|
5613
5682
|
blur?: UserInterfaceElement | boolean;
|
|
5614
5683
|
}
|
|
5615
5684
|
|
|
@@ -5621,12 +5690,18 @@ declare interface UserInterfaceInspectorBlockGraphic extends UserInterfaceInspec
|
|
|
5621
5690
|
* - `adjustments`: Optional element or boolean indicating whether the adjustments section should be shown.
|
|
5622
5691
|
* - `effects`: Optional element or boolean indicating whether the effects section should be shown.
|
|
5623
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.
|
|
5624
5694
|
*/
|
|
5625
5695
|
declare interface UserInterfaceInspectorBlockImage extends UserInterfaceInspectorBlock {
|
|
5696
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.crop')` instead. */
|
|
5626
5697
|
crop?: UserInterfaceElement | boolean;
|
|
5698
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.filter')` instead. */
|
|
5627
5699
|
filters?: UserInterfaceElement | boolean;
|
|
5700
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.adjustment')` instead. */
|
|
5628
5701
|
adjustments?: UserInterfaceElement | boolean;
|
|
5702
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.effect')` instead. */
|
|
5629
5703
|
effects?: UserInterfaceElement | boolean;
|
|
5704
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.blur')` instead. */
|
|
5630
5705
|
blur?: UserInterfaceElement | boolean;
|
|
5631
5706
|
}
|
|
5632
5707
|
|
|
@@ -5641,18 +5716,27 @@ declare interface UserInterfaceInspectorBlockImage extends UserInterfaceInspecto
|
|
|
5641
5716
|
* - `adjustments`: Optional element or boolean indicating whether the adjustments section should be shown.
|
|
5642
5717
|
* - `effects`: Optional element or boolean indicating whether the effects section should be shown.
|
|
5643
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.
|
|
5644
5720
|
*/
|
|
5645
5721
|
declare interface UserInterfaceInspectorBlockPage extends UserInterfaceInspectorBlock {
|
|
5722
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.page.resize')` instead. */
|
|
5646
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. */
|
|
5647
5725
|
manage?: UserInterfaceElement | boolean;
|
|
5648
5726
|
/**
|
|
5727
|
+
* @deprecated Use feature API instead.
|
|
5649
5728
|
* Controls the maximum allowed duration of a page, if in video mode.
|
|
5650
5729
|
*/
|
|
5651
5730
|
maxDuration?: number;
|
|
5731
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.crop')` instead. */
|
|
5652
5732
|
crop?: UserInterfaceElement | boolean;
|
|
5733
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.filter')` instead. */
|
|
5653
5734
|
filters?: UserInterfaceElement | boolean;
|
|
5735
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.adjustment')` instead. */
|
|
5654
5736
|
adjustments?: UserInterfaceElement | boolean;
|
|
5737
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.effect')` instead. */
|
|
5655
5738
|
effects?: UserInterfaceElement | boolean;
|
|
5739
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.blur')` instead. */
|
|
5656
5740
|
blur?: UserInterfaceElement | boolean;
|
|
5657
5741
|
}
|
|
5658
5742
|
|
|
@@ -5664,12 +5748,18 @@ declare interface UserInterfaceInspectorBlockPage extends UserInterfaceInspector
|
|
|
5664
5748
|
* - `adjustments`: Optional element or boolean indicating whether the adjustments section should be shown.
|
|
5665
5749
|
* - `effects`: Optional element or boolean indicating whether the effects section should be shown.
|
|
5666
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.
|
|
5667
5752
|
*/
|
|
5668
5753
|
declare interface UserInterfaceInspectorBlockRectShape extends UserInterfaceInspectorBlock {
|
|
5754
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.crop')` instead. */
|
|
5669
5755
|
crop?: UserInterfaceElement | boolean;
|
|
5756
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.filter')` instead. */
|
|
5670
5757
|
filters?: UserInterfaceElement | boolean;
|
|
5758
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.adjustment')` instead. */
|
|
5671
5759
|
adjustments?: UserInterfaceElement | boolean;
|
|
5760
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.effect')` instead. */
|
|
5672
5761
|
effects?: UserInterfaceElement | boolean;
|
|
5762
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.blur')` instead. */
|
|
5673
5763
|
blur?: UserInterfaceElement | boolean;
|
|
5674
5764
|
}
|
|
5675
5765
|
|
|
@@ -5682,13 +5772,20 @@ declare interface UserInterfaceInspectorBlockRectShape extends UserInterfaceInsp
|
|
|
5682
5772
|
* - `//ly.img.ubq/text`: Optional text block configuration.
|
|
5683
5773
|
* - `//ly.img.ubq/page`: Optional page block configuration.
|
|
5684
5774
|
* - `//ly.img.ubq/graphic`: Optional graphic block configuration.
|
|
5775
|
+
* @deprecated Use `cesdk.feature.enable()` instead.
|
|
5685
5776
|
*/
|
|
5686
5777
|
declare interface UserInterfaceInspectorBlocks {
|
|
5778
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.opacity')` instead. */
|
|
5687
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. */
|
|
5688
5781
|
transform?: UserInterfaceElement | boolean;
|
|
5782
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.trim')` instead. */
|
|
5689
5783
|
trim?: UserInterfaceElement | boolean;
|
|
5784
|
+
/** @deprecated Use `cesdk.feature.enable()` for text-related features instead. */
|
|
5690
5785
|
'//ly.img.ubq/text'?: UserInterfaceInspectorBlockText;
|
|
5786
|
+
/** @deprecated Use `cesdk.feature.enable()` for page-related features instead. */
|
|
5691
5787
|
'//ly.img.ubq/page'?: UserInterfaceInspectorBlockPage;
|
|
5788
|
+
/** @deprecated Use `cesdk.feature.enable()` for graphic-related features instead. */
|
|
5692
5789
|
'//ly.img.ubq/graphic'?: UserInterfaceInspectorBlockGraphic;
|
|
5693
5790
|
}
|
|
5694
5791
|
|
|
@@ -5696,8 +5793,10 @@ declare interface UserInterfaceInspectorBlocks {
|
|
|
5696
5793
|
* @public
|
|
5697
5794
|
* Interface representing a shape block in the user interface inspector.
|
|
5698
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.
|
|
5699
5797
|
*/
|
|
5700
5798
|
declare interface UserInterfaceInspectorBlockShape extends UserInterfaceInspectorBlock {
|
|
5799
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.crop')` instead. */
|
|
5701
5800
|
crop?: UserInterfaceElement | boolean;
|
|
5702
5801
|
}
|
|
5703
5802
|
|
|
@@ -5706,9 +5805,12 @@ declare interface UserInterfaceInspectorBlockShape extends UserInterfaceInspecto
|
|
|
5706
5805
|
* Interface representing a text block in the user interface inspector.
|
|
5707
5806
|
* - `advanced`: Optional element or boolean indicating whether the advanced section should be shown.
|
|
5708
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.
|
|
5709
5809
|
*/
|
|
5710
5810
|
declare interface UserInterfaceInspectorBlockText extends UserInterfaceInspectorBlock {
|
|
5811
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.text.advanced')` instead. */
|
|
5711
5812
|
advanced?: UserInterfaceElement | boolean;
|
|
5813
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.fill')` instead. */
|
|
5712
5814
|
color?: UserInterfaceElement | boolean;
|
|
5713
5815
|
}
|
|
5714
5816
|
|
|
@@ -5720,12 +5822,18 @@ declare interface UserInterfaceInspectorBlockText extends UserInterfaceInspector
|
|
|
5720
5822
|
* - `adjustments`: Optional element or boolean indicating whether the adjustments section should be shown.
|
|
5721
5823
|
* - `effects`: Optional element or boolean indicating whether the effects section should be shown.
|
|
5722
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.
|
|
5723
5826
|
*/
|
|
5724
5827
|
declare interface UserInterfaceInspectorBlockVideoFill extends UserInterfaceInspectorBlock {
|
|
5828
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.crop')` instead. */
|
|
5725
5829
|
crop?: UserInterfaceElement | boolean;
|
|
5830
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.filter')` instead. */
|
|
5726
5831
|
filters?: UserInterfaceElement | boolean;
|
|
5832
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.adjustment')` instead. */
|
|
5727
5833
|
adjustments?: UserInterfaceElement | boolean;
|
|
5834
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.effect')` instead. */
|
|
5728
5835
|
effects?: UserInterfaceElement | boolean;
|
|
5836
|
+
/** @deprecated Use `cesdk.feature.enable('ly.img.blur')` instead. */
|
|
5729
5837
|
blur?: UserInterfaceElement | boolean;
|
|
5730
5838
|
}
|
|
5731
5839
|
|