@adobe/ccweb-add-on-sdk-types 1.29.0 → 1.31.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/package.json +1 -1
- package/sandbox/express-document-sdk.d.ts +3 -4
- package/ui/ui-sdk.d.ts +53 -1
package/package.json
CHANGED
|
@@ -779,10 +779,6 @@ export declare class Editor {
|
|
|
779
779
|
* User's current selection context
|
|
780
780
|
*/
|
|
781
781
|
get context(): Context;
|
|
782
|
-
/**
|
|
783
|
-
* @returns the root of the document.
|
|
784
|
-
*/
|
|
785
|
-
get documentRoot(): BaseNode;
|
|
786
782
|
/**
|
|
787
783
|
* @returns an ellipse node with default x/y radii, a black fill, and no initial stroke.
|
|
788
784
|
* Transform values default to 0.
|
|
@@ -958,6 +954,9 @@ export declare class ExpressContext extends Context {
|
|
|
958
954
|
*/
|
|
959
955
|
export declare class ExpressEditor extends Editor {
|
|
960
956
|
get context(): ExpressContext;
|
|
957
|
+
/**
|
|
958
|
+
* @returns the root of the document.
|
|
959
|
+
*/
|
|
961
960
|
get documentRoot(): ExpressRootNode;
|
|
962
961
|
}
|
|
963
962
|
|
package/ui/ui-sdk.d.ts
CHANGED
|
@@ -421,7 +421,8 @@ export declare enum AuthorizationStatus {
|
|
|
421
421
|
POPUP_CLOSED = "POPUP_CLOSED",
|
|
422
422
|
POPUP_TIMEOUT = "POPUP_TIMEOUT",
|
|
423
423
|
FAILED = "FAILED",
|
|
424
|
-
IFRAME_LOAD_FAILED = "IFRAME_LOAD_FAILED"
|
|
424
|
+
IFRAME_LOAD_FAILED = "IFRAME_LOAD_FAILED",
|
|
425
|
+
RESTRICTED_CLIENT_ID = "RESTRICTED_CLIENT_ID"
|
|
425
426
|
}
|
|
426
427
|
|
|
427
428
|
/**
|
|
@@ -715,6 +716,7 @@ declare namespace Constants {
|
|
|
715
716
|
PlatformType,
|
|
716
717
|
ColorPickerPlacement,
|
|
717
718
|
FileSizeLimitUnit,
|
|
719
|
+
SizeUnit,
|
|
718
720
|
AuthorizationStatus
|
|
719
721
|
};
|
|
720
722
|
}
|
|
@@ -1147,6 +1149,10 @@ export declare enum EntrypointType {
|
|
|
1147
1149
|
* Mobile share entrypoint type.
|
|
1148
1150
|
*/
|
|
1149
1151
|
MOBILE_SHARE = "mobile.share",
|
|
1152
|
+
/**
|
|
1153
|
+
* Review and approval entrypoint type.
|
|
1154
|
+
*/
|
|
1155
|
+
REVIEW_AND_APPROVAL = "review-and-approval",
|
|
1150
1156
|
/**
|
|
1151
1157
|
* Schedule entrypoint type.
|
|
1152
1158
|
*/
|
|
@@ -1544,6 +1550,11 @@ export declare interface PageMetadata {
|
|
|
1544
1550
|
* Whether the page contains animated content
|
|
1545
1551
|
*/
|
|
1546
1552
|
hasAnimatedContent: boolean;
|
|
1553
|
+
/**
|
|
1554
|
+
* Page size in units
|
|
1555
|
+
* NOTE: This size is same as seen in UI in Resize Panel.
|
|
1556
|
+
*/
|
|
1557
|
+
sizeInUnits: PageSizeInUnits;
|
|
1547
1558
|
/**
|
|
1548
1559
|
* The page's background color in ARGB format (32-bit integer)
|
|
1549
1560
|
*/
|
|
@@ -1586,6 +1597,25 @@ export declare interface PageRendition extends Rendition {
|
|
|
1586
1597
|
metadata: PageMetadata;
|
|
1587
1598
|
}
|
|
1588
1599
|
|
|
1600
|
+
/**
|
|
1601
|
+
* Represents the size of the page in units.
|
|
1602
|
+
* NOTE: This size is same as seen in UI in Resize Panel.
|
|
1603
|
+
*/
|
|
1604
|
+
export declare interface PageSizeInUnits {
|
|
1605
|
+
/**
|
|
1606
|
+
* Width of the page in units
|
|
1607
|
+
*/
|
|
1608
|
+
width: number;
|
|
1609
|
+
/**
|
|
1610
|
+
* Height of the page in units
|
|
1611
|
+
*/
|
|
1612
|
+
height: number;
|
|
1613
|
+
/**
|
|
1614
|
+
* Unit of the page size
|
|
1615
|
+
*/
|
|
1616
|
+
unit: SizeUnit;
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1589
1619
|
/**
|
|
1590
1620
|
* Represents the action to be performed on opening an Editor panel.
|
|
1591
1621
|
*/
|
|
@@ -2035,6 +2065,28 @@ export declare interface SearchAction extends PanelAction {
|
|
|
2035
2065
|
|
|
2036
2066
|
export declare type SimpleDialogOptions = AlertDialogOptions | InputDialogOptions;
|
|
2037
2067
|
|
|
2068
|
+
/**
|
|
2069
|
+
* Units for the page size
|
|
2070
|
+
*/
|
|
2071
|
+
export declare enum SizeUnit {
|
|
2072
|
+
/**
|
|
2073
|
+
* Pixel
|
|
2074
|
+
*/
|
|
2075
|
+
pixel = "px",
|
|
2076
|
+
/**
|
|
2077
|
+
* Centimeter
|
|
2078
|
+
*/
|
|
2079
|
+
centimeter = "cm",
|
|
2080
|
+
/**
|
|
2081
|
+
* Millimeter
|
|
2082
|
+
*/
|
|
2083
|
+
millimeter = "mm",
|
|
2084
|
+
/**
|
|
2085
|
+
* Inch
|
|
2086
|
+
*/
|
|
2087
|
+
inch = "in"
|
|
2088
|
+
}
|
|
2089
|
+
|
|
2038
2090
|
/**
|
|
2039
2091
|
* Mime type details for importing media
|
|
2040
2092
|
*/
|