@chili-publish/studio-sdk 0.123.0 → 0.133.2
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 +1 -1
- package/_bundles/main.js +1 -1
- package/_bundles/main.js.map +1 -1
- package/_bundles/report.html +2 -2
- package/lib/editor-engine.json +1 -1
- package/lib/package.json +1 -1
- package/lib/src/controllers/ActionController.d.ts +33 -25
- package/lib/src/controllers/ActionController.js +42 -31
- package/lib/src/controllers/ActionController.js.map +1 -1
- package/lib/src/controllers/AnimationController.d.ts +24 -24
- package/lib/src/controllers/AnimationController.js +28 -28
- package/lib/src/controllers/AnimationController.js.map +1 -1
- package/lib/src/controllers/CanvasController.d.ts +3 -2
- package/lib/src/controllers/CanvasController.js +4 -3
- package/lib/src/controllers/CanvasController.js.map +1 -1
- package/lib/src/controllers/CharacterStyleController.d.ts +23 -23
- package/lib/src/controllers/CharacterStyleController.js +26 -26
- package/lib/src/controllers/CharacterStyleController.js.map +1 -1
- package/lib/src/controllers/ColorStyleController.d.ts +22 -22
- package/lib/src/controllers/ColorStyleController.js +27 -27
- package/lib/src/controllers/ColorStyleController.js.map +1 -1
- package/lib/src/controllers/ConfigurationController.d.ts +1 -1
- package/lib/src/controllers/ConfigurationController.js +1 -1
- package/lib/src/controllers/ConnectorController.d.ts +21 -12
- package/lib/src/controllers/ConnectorController.js +28 -19
- package/lib/src/controllers/ConnectorController.js.map +1 -1
- package/lib/src/controllers/DebugController.d.ts +2 -2
- package/lib/src/controllers/DebugController.js +2 -2
- package/lib/src/controllers/DebugController.js.map +1 -1
- package/lib/src/controllers/DocumentController.d.ts +6 -6
- package/lib/src/controllers/DocumentController.js +7 -7
- package/lib/src/controllers/DocumentController.js.map +1 -1
- package/lib/src/controllers/ExperimentController.d.ts +32 -7
- package/lib/src/controllers/ExperimentController.js +42 -9
- package/lib/src/controllers/ExperimentController.js.map +1 -1
- package/lib/src/controllers/FontConnectorController.d.ts +36 -28
- package/lib/src/controllers/FontConnectorController.js +45 -37
- package/lib/src/controllers/FontConnectorController.js.map +1 -1
- package/lib/src/controllers/FontController.d.ts +15 -15
- package/lib/src/controllers/FontController.js +18 -18
- package/lib/src/controllers/FontController.js.map +1 -1
- package/lib/src/controllers/FrameController.d.ts +127 -127
- package/lib/src/controllers/FrameController.js +173 -173
- package/lib/src/controllers/FrameController.js.map +1 -1
- package/lib/src/controllers/LayoutController.d.ts +37 -37
- package/lib/src/controllers/LayoutController.js +48 -48
- package/lib/src/controllers/LayoutController.js.map +1 -1
- package/lib/src/controllers/MediaConnectorController.d.ts +33 -23
- package/lib/src/controllers/MediaConnectorController.js +41 -31
- package/lib/src/controllers/MediaConnectorController.js.map +1 -1
- package/lib/src/controllers/PageController.d.ts +11 -11
- package/lib/src/controllers/PageController.js +16 -16
- package/lib/src/controllers/PageController.js.map +1 -1
- package/lib/src/controllers/ParagraphStyleController.d.ts +20 -20
- package/lib/src/controllers/ParagraphStyleController.js +23 -23
- package/lib/src/controllers/ParagraphStyleController.js.map +1 -1
- package/lib/src/controllers/ShapeController.d.ts +28 -28
- package/lib/src/controllers/ShapeController.js +43 -43
- package/lib/src/controllers/ShapeController.js.map +1 -1
- package/lib/src/controllers/SubscriberController.d.ts +18 -18
- package/lib/src/controllers/SubscriberController.js +24 -24
- package/lib/src/controllers/SubscriberController.js.map +1 -1
- package/lib/src/controllers/TextStyleController.d.ts +7 -7
- package/lib/src/controllers/TextStyleController.js +7 -7
- package/lib/src/controllers/TextStyleController.js.map +1 -1
- package/lib/src/controllers/ToolController.d.ts +10 -10
- package/lib/src/controllers/ToolController.js +9 -9
- package/lib/src/controllers/ToolController.js.map +1 -1
- package/lib/src/controllers/UtilsController.d.ts +10 -4
- package/lib/src/controllers/UtilsController.js +10 -4
- package/lib/src/controllers/UtilsController.js.map +1 -1
- package/lib/src/controllers/VariableController.d.ts +78 -34
- package/lib/src/controllers/VariableController.js +106 -53
- package/lib/src/controllers/VariableController.js.map +1 -1
- package/lib/src/index.d.ts +4 -3
- package/lib/src/index.js +5 -4
- package/lib/src/index.js.map +1 -1
- package/lib/src/interactions/connector.d.ts +4 -3
- package/lib/src/interactions/connector.js +7 -3
- package/lib/src/interactions/connector.js.map +1 -1
- package/lib/src/tests/__mocks__/FrameProperties.d.ts +2 -2
- package/lib/src/tests/__mocks__/FrameProperties.js +2 -2
- package/lib/src/tests/__mocks__/FrameProperties.js.map +1 -1
- package/lib/src/tests/__mocks__/MockImageFrameSource.js +5 -5
- package/lib/src/tests/__mocks__/MockImageFrameSource.js.map +1 -1
- package/lib/src/tests/__mocks__/animations.js +1 -1
- package/lib/src/tests/__mocks__/animations.js.map +1 -1
- package/lib/src/tests/__mocks__/mockDocument.d.ts +1 -1
- package/lib/src/tests/__mocks__/mockDocument.js +1 -1
- package/lib/src/tests/__mocks__/mockDocument.js.map +1 -1
- package/lib/src/tests/controllers/ActionController.test.js +18 -9
- package/lib/src/tests/controllers/ActionController.test.js.map +1 -1
- package/lib/src/tests/controllers/AnimationController.test.js +14 -14
- package/lib/src/tests/controllers/AnimationController.test.js.map +1 -1
- package/lib/src/tests/controllers/CharacterStyleController.test.js +11 -11
- package/lib/src/tests/controllers/CharacterStyleController.test.js.map +1 -1
- package/lib/src/tests/controllers/ColorStyleController.test.js +17 -17
- package/lib/src/tests/controllers/ColorStyleController.test.js.map +1 -1
- package/lib/src/tests/controllers/ConnectorController.test.js +6 -6
- package/lib/src/tests/controllers/ConnectorController.test.js.map +1 -1
- package/lib/src/tests/controllers/DebugController.test.js +1 -1
- package/lib/src/tests/controllers/DebugController.test.js.map +1 -1
- package/lib/src/tests/controllers/DocumentController.test.js +6 -6
- package/lib/src/tests/controllers/DocumentController.test.js.map +1 -1
- package/lib/src/tests/controllers/ExperimentController.test.js +29 -1
- package/lib/src/tests/controllers/ExperimentController.test.js.map +1 -1
- package/lib/src/tests/controllers/FontConnectorController.test.js +11 -11
- package/lib/src/tests/controllers/FontController.test.js +11 -11
- package/lib/src/tests/controllers/FontController.test.js.map +1 -1
- package/lib/src/tests/controllers/FrameController.test.js +113 -113
- package/lib/src/tests/controllers/FrameController.test.js.map +1 -1
- package/lib/src/tests/controllers/LayoutController.test.js +25 -27
- package/lib/src/tests/controllers/LayoutController.test.js.map +1 -1
- package/lib/src/tests/controllers/MediaConnectorController.test.js +1 -1
- package/lib/src/tests/controllers/PageController.test.js +11 -11
- package/lib/src/tests/controllers/PageController.test.js.map +1 -1
- package/lib/src/tests/controllers/ParagraphStyleController.test.js +12 -12
- package/lib/src/tests/controllers/ParagraphStyleController.test.js.map +1 -1
- package/lib/src/tests/controllers/ShapeController.test.js +26 -26
- package/lib/src/tests/controllers/ShapeController.test.js.map +1 -1
- package/lib/src/tests/controllers/SubscriberContoller.test.js +7 -7
- package/lib/src/tests/controllers/SubscriberContoller.test.js.map +1 -1
- package/lib/src/tests/controllers/TextStyleController.test.js +6 -6
- package/lib/src/tests/controllers/TextStyleController.test.js.map +1 -1
- package/lib/src/tests/controllers/ToolController.test.js +9 -9
- package/lib/src/tests/controllers/ToolController.test.js.map +1 -1
- package/lib/src/tests/controllers/UtilsController.test.js +20 -0
- package/lib/src/tests/controllers/UtilsController.test.js.map +1 -1
- package/lib/src/tests/controllers/VariableController.test.js +62 -31
- package/lib/src/tests/controllers/VariableController.test.js.map +1 -1
- package/lib/src/tests/interactions/connector.test.js +14 -0
- package/lib/src/tests/interactions/connector.test.js.map +1 -1
- package/lib/src/tests/utils/getClaculatedValue.test.js +2 -2
- package/lib/src/tests/utils/getClaculatedValue.test.js.map +1 -1
- package/lib/src/types/ActionTypes.d.ts +3 -3
- package/lib/src/types/AnimationTypes.d.ts +3 -3
- package/lib/src/types/CharacterStyleTypes.d.ts +2 -1
- package/lib/src/types/ColorStyleTypes.d.ts +8 -7
- package/lib/src/types/ColorStyleTypes.js +1 -1
- package/lib/src/types/ColorStyleTypes.js.map +1 -1
- package/lib/src/types/CommonTypes.d.ts +7 -5
- package/lib/src/types/ConfigurationTypes.d.ts +3 -0
- package/lib/src/types/ConnectorTypes.d.ts +5 -4
- package/lib/src/types/ConnectorTypes.js.map +1 -1
- package/lib/src/types/DocumentTypes.d.ts +23 -25
- package/lib/src/types/DocumentTypes.js.map +1 -1
- package/lib/src/types/FontConnectorTypes.d.ts +2 -1
- package/lib/src/types/FontConnectorTypes.js.map +1 -1
- package/lib/src/types/FontTypes.d.ts +5 -4
- package/lib/src/types/FrameTypes.d.ts +20 -20
- package/lib/src/types/LayoutTypes.d.ts +14 -14
- package/lib/src/types/LayoutTypes.js.map +1 -1
- package/lib/src/types/MediaConnectorTypes.d.ts +2 -1
- package/lib/src/types/MediaConnectorTypes.js.map +1 -1
- package/lib/src/types/PageTypes.d.ts +3 -3
- package/lib/src/types/ParagraphStyleTypes.d.ts +6 -5
- package/lib/src/types/TextStyleTypes.d.ts +5 -5
- package/lib/src/types/TextStyleTypes.js +1 -1
- package/lib/src/types/TextStyleTypes.js.map +1 -1
- package/lib/src/types/TextTypes.d.ts +4 -0
- package/lib/src/types/TextTypes.js +6 -0
- package/lib/src/types/TextTypes.js.map +1 -0
- package/lib/src/types/VariableTypes.d.ts +12 -11
- package/lib/src/types/VariableTypes.js +3 -2
- package/lib/src/types/VariableTypes.js.map +1 -1
- package/lib/src/utils/enums.d.ts +8 -3
- package/lib/src/utils/enums.js +19 -13
- package/lib/src/utils/enums.js.map +1 -1
- package/lib/src/utils/getCalculatedValue.js +2 -2
- package/package.json +1 -1
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { Id } from "./CommonTypes";
|
|
1
2
|
export declare enum ColorType {
|
|
2
3
|
rgb = "rgb",
|
|
3
4
|
cmyk = "cmyk",
|
|
4
5
|
lab = "lab",
|
|
5
6
|
gray = "gray",
|
|
6
7
|
xyz = "xyz",
|
|
7
|
-
|
|
8
|
+
hsl = "hsl",
|
|
8
9
|
spotCmyk = "spotCmyk",
|
|
9
10
|
spotRgb = "spotRgb",
|
|
10
11
|
custom = "custom"
|
|
@@ -13,10 +14,10 @@ export declare type ColorUpdate = {
|
|
|
13
14
|
r: number;
|
|
14
15
|
g: number;
|
|
15
16
|
b: number;
|
|
16
|
-
|
|
17
|
+
type: ColorType;
|
|
17
18
|
};
|
|
18
19
|
export declare type Color = {
|
|
19
|
-
|
|
20
|
+
type: ColorType;
|
|
20
21
|
r: number;
|
|
21
22
|
g: number;
|
|
22
23
|
b: number;
|
|
@@ -31,12 +32,12 @@ export declare type ColorUsageUpdate = {
|
|
|
31
32
|
/**
|
|
32
33
|
* Reference to the stylekit color, can only be used if it is a stylekit color.
|
|
33
34
|
*/
|
|
34
|
-
|
|
35
|
+
id?: Id;
|
|
35
36
|
/**
|
|
36
37
|
* The local color object, can only be used if it is a local color.
|
|
37
38
|
*/
|
|
38
39
|
color?: ColorUpdate;
|
|
39
|
-
|
|
40
|
+
type: ColorUsageType;
|
|
40
41
|
/**
|
|
41
42
|
* Opacity of the color (0-100) where 0 = fully transparent.
|
|
42
43
|
*/
|
|
@@ -50,12 +51,12 @@ export declare type ColorUsage = {
|
|
|
50
51
|
/**
|
|
51
52
|
* Reference to the stylekit color, can only be used if it is a stylekit color.
|
|
52
53
|
*/
|
|
53
|
-
|
|
54
|
+
id?: Id;
|
|
54
55
|
/**
|
|
55
56
|
* The local color object, can only be used if it is a local color.
|
|
56
57
|
*/
|
|
57
58
|
color?: Color;
|
|
58
|
-
|
|
59
|
+
type: ColorUsageType;
|
|
59
60
|
/**
|
|
60
61
|
* Opacity of the color (0-100) where 0 = fully transparent.
|
|
61
62
|
*/
|
|
@@ -5,7 +5,7 @@ export var ColorType;
|
|
|
5
5
|
ColorType["lab"] = "lab";
|
|
6
6
|
ColorType["gray"] = "gray";
|
|
7
7
|
ColorType["xyz"] = "xyz";
|
|
8
|
-
ColorType["
|
|
8
|
+
ColorType["hsl"] = "hsl";
|
|
9
9
|
ColorType["spotCmyk"] = "spotCmyk";
|
|
10
10
|
ColorType["spotRgb"] = "spotRgb";
|
|
11
11
|
ColorType["custom"] = "custom";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColorStyleTypes.js","sourceRoot":"","sources":["../../../src/types/ColorStyleTypes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ColorStyleTypes.js","sourceRoot":"","sources":["../../../src/types/ColorStyleTypes.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,SAUX;AAVD,WAAY,SAAS;IACjB,wBAAW,CAAA;IACX,0BAAa,CAAA;IACb,wBAAW,CAAA;IACX,0BAAa,CAAA;IACb,wBAAW,CAAA;IACX,wBAAW,CAAA;IACX,kCAAqB,CAAA;IACrB,gCAAmB,CAAA;IACnB,8BAAiB,CAAA;AACrB,CAAC,EAVW,SAAS,KAAT,SAAS,QAUpB;AA2DD,MAAM,CAAN,IAAY,cASX;AATD,WAAY,cAAc;IACtB;;OAEG;IACH,iCAAe,CAAA;IACf;;OAEG;IACH,uCAAqB,CAAA;AACzB,CAAC,EATW,cAAc,KAAd,cAAc,QASzB"}
|
|
@@ -14,6 +14,7 @@ import { ConnectorEvent } from './ConnectorTypes';
|
|
|
14
14
|
import { PageSize } from './PageTypes';
|
|
15
15
|
import { SelectedTextStyle } from './TextStyleTypes';
|
|
16
16
|
import { CornerRadiusUpdateModel } from './ShapeTypes';
|
|
17
|
+
import { StudioStyling } from './ConfigurationTypes';
|
|
17
18
|
export declare type Id = string;
|
|
18
19
|
export declare type ConfigType = {
|
|
19
20
|
onActionsChanged?: (state: DocumentAction[]) => void;
|
|
@@ -25,6 +26,7 @@ export declare type ConfigType = {
|
|
|
25
26
|
editorId?: string;
|
|
26
27
|
chiliEnvironmentUrl?: string;
|
|
27
28
|
documentType?: DocumentType;
|
|
29
|
+
studioStyling?: StudioStyling;
|
|
28
30
|
onPageSelectionChanged?: () => void;
|
|
29
31
|
onSelectedLayoutPropertiesChanged?: (state: LayoutPropertiesType) => void;
|
|
30
32
|
onScrubberPositionChanged?: (state: AnimationPlaybackType) => void;
|
|
@@ -63,8 +65,8 @@ export interface EditorAPI extends CallSender {
|
|
|
63
65
|
[index: string]: <T>(...args: unknown[]) => Promise<EditorResponse<T>>;
|
|
64
66
|
}
|
|
65
67
|
export declare type PageType = {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
+
id: Id;
|
|
69
|
+
number: number;
|
|
68
70
|
width: number | null;
|
|
69
71
|
height: number | null;
|
|
70
72
|
frames: FrameType[];
|
|
@@ -80,9 +82,9 @@ export interface PropertyState<T> {
|
|
|
80
82
|
isOverride: boolean;
|
|
81
83
|
}
|
|
82
84
|
export interface SelectedLayoutFrame {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
85
|
+
id: Id;
|
|
86
|
+
name: string;
|
|
87
|
+
type: FrameTypeEnum;
|
|
86
88
|
included: boolean;
|
|
87
89
|
}
|
|
88
90
|
export interface MetaData {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Id } from "./CommonTypes";
|
|
1
2
|
export declare enum DeprecatedMediaType {
|
|
2
3
|
file = 0,
|
|
3
4
|
collection = 1
|
|
@@ -35,12 +36,12 @@ export declare type ConnectorCapabilities = {
|
|
|
35
36
|
copy?: boolean;
|
|
36
37
|
};
|
|
37
38
|
export declare type ConnectorRegistration = {
|
|
38
|
-
id:
|
|
39
|
+
id: Id;
|
|
39
40
|
source: ConnectorRegistrationSource;
|
|
40
41
|
url: string;
|
|
41
42
|
};
|
|
42
43
|
export declare type ConnectorInstance = {
|
|
43
|
-
id:
|
|
44
|
+
id: Id;
|
|
44
45
|
name: string;
|
|
45
46
|
iconUrl: string;
|
|
46
47
|
};
|
|
@@ -53,11 +54,11 @@ export declare class ConnectorMapping {
|
|
|
53
54
|
constructor(mapTo: ConnectorMappingTarget, contextProperty: string, mapFrom: ConnectorMappingSource, sourceValue: string);
|
|
54
55
|
}
|
|
55
56
|
export declare type ConnectorState = {
|
|
56
|
-
id:
|
|
57
|
+
id: Id;
|
|
57
58
|
type: ConnectorStateType;
|
|
58
59
|
};
|
|
59
60
|
export declare type ConnectorEvent = {
|
|
60
|
-
id:
|
|
61
|
+
id: Id;
|
|
61
62
|
type: ConnectorEventType;
|
|
62
63
|
};
|
|
63
64
|
export declare type QueryPage<T> = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectorTypes.js","sourceRoot":"","sources":["../../../src/types/ConnectorTypes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ConnectorTypes.js","sourceRoot":"","sources":["../../../src/types/ConnectorTypes.ts"],"names":[],"mappings":"AAEA,MAAM,CAAN,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC3B,6DAAQ,CAAA;IACR,yEAAc,CAAA;AAClB,CAAC,EAHW,mBAAmB,KAAnB,mBAAmB,QAG9B;AAED,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACjB,0BAAa,CAAA;IACb,sCAAyB,CAAA;AAC7B,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAED,MAAM,CAAN,IAAY,aAGX;AAHD,WAAY,aAAa;IACrB,gCAAe,CAAA;IACf,gCAAe,CAAA;AACnB,CAAC,EAHW,aAAa,KAAb,aAAa,QAGxB;AAED,MAAM,CAAN,IAAY,MAIX;AAJD,WAAY,MAAM;IACd,uBAAa,CAAA;IACb,+BAAqB,CAAA;IACrB,mBAAS,CAAA;AACb,CAAC,EAJW,MAAM,KAAN,MAAM,QAIjB;AAED,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACjB,8BAAiB,CAAA;IACjB,gCAAmB,CAAA;AACvB,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AA+BD,MAAM,CAAN,IAAY,2BAEX;AAFD,WAAY,2BAA2B;IACnC,0CAAW,CAAA;AACf,CAAC,EAFW,2BAA2B,KAA3B,2BAA2B,QAEtC;AAED,MAAM,OAAO,gBAAgB;IAIzB,YACI,KAA6B,EAC7B,eAAuB,EACvB,OAA+B,EAC/B,WAAmB;QAEnB,IAAI,CAAC,IAAI,GAAG,GAAG,KAAK,IAAI,eAAe,EAAE,CAAC;QAC1C,IAAI,CAAC,KAAK,GAAG,GAAG,OAAO,IAAI,WAAW,EAAE,CAAC;IAC7C,CAAC;CACJ;AAiBD,MAAM,CAAN,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAC9B,yCAAe,CAAA;IACf,+CAAqB,CAAA;AACzB,CAAC,EAHW,sBAAsB,KAAtB,sBAAsB,QAGjC;AAED,MAAM,CAAN,IAAY,sBAEX;AAFD,WAAY,sBAAsB;IAC9B,0CAAgB,CAAA;AACpB,CAAC,EAFW,sBAAsB,KAAtB,sBAAsB,QAEjC;AAED,MAAM,CAAN,IAAY,kBA6BX;AA7BD,WAAY,kBAAkB;IAC1B;;;OAGG;IACH,yCAAmB,CAAA;IAEnB;;OAEG;IACH,uCAAiB,CAAA;IAEjB;;OAEG;IAEH,yCAAmB,CAAA;IAEnB;;;OAGG;IACH,qCAAe,CAAA;IAEf;;;OAGG;IACH,qCAAe,CAAA;AACnB,CAAC,EA7BW,kBAAkB,KAAlB,kBAAkB,QA6B7B;AAED,MAAM,CAAN,IAAY,kBA4BX;AA5BD,WAAY,kBAAkB;IAC1B;;;;;;;OAOG;IACH,mDAA6B,CAAA;IAE7B;;OAEG;IACH,iDAA2B,CAAA;IAE3B;;;;OAIG;IACH,uDAAiC,CAAA;IAEjC;;;OAGG;IACH,2CAAqB,CAAA;AACzB,CAAC,EA5BW,kBAAkB,KAAlB,kBAAkB,QA4B7B"}
|
|
@@ -7,7 +7,7 @@ import { ParagraphStyle } from './ParagraphStyleTypes';
|
|
|
7
7
|
import { Variable } from './VariableTypes';
|
|
8
8
|
import { CharacterStyle } from './CharacterStyleTypes';
|
|
9
9
|
import { DocumentAction } from './ActionTypes';
|
|
10
|
-
import { ShapeProperties
|
|
10
|
+
import { ShapeProperties } from './ShapeTypes';
|
|
11
11
|
export declare type DocumentError = {
|
|
12
12
|
error: Record<string, unknown>;
|
|
13
13
|
code: number;
|
|
@@ -30,27 +30,26 @@ export interface ChiliDocument {
|
|
|
30
30
|
properties?: TemplateDocumentProperties | ProjectDocumentProperties;
|
|
31
31
|
pages: DocumentPage[];
|
|
32
32
|
layouts: (ChildLayout | TopLayout)[];
|
|
33
|
-
|
|
33
|
+
stylekit: DocumentStylekit;
|
|
34
34
|
variables: Variable[];
|
|
35
35
|
actions: DocumentAction[];
|
|
36
36
|
}
|
|
37
37
|
export interface DocumentPage {
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
id: string;
|
|
39
|
+
number: number;
|
|
40
40
|
frames: (ImageFrame | TextFrame | ShapeFrame)[];
|
|
41
41
|
}
|
|
42
42
|
export interface DocumentFrame {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
id: string;
|
|
44
|
+
name: string;
|
|
45
|
+
type: FrameTypeEnum;
|
|
46
46
|
blendMode: BlendMode;
|
|
47
47
|
constrainProportions: boolean;
|
|
48
48
|
}
|
|
49
49
|
export interface ImageFrame extends DocumentFrame {
|
|
50
|
-
src:
|
|
50
|
+
src: ImageFrameUrlSource | ImageFrameConnectorSource | ImageFrameVariableSource;
|
|
51
51
|
}
|
|
52
52
|
export interface ShapeFrame extends DocumentFrame {
|
|
53
|
-
shapeType: ShapeType;
|
|
54
53
|
shapeProperties: ShapeProperties;
|
|
55
54
|
}
|
|
56
55
|
export interface TextFrame extends DocumentFrame {
|
|
@@ -75,26 +74,26 @@ export declare enum ImageFrameSourceType {
|
|
|
75
74
|
variable = "variable"
|
|
76
75
|
}
|
|
77
76
|
export interface ImageFrameSource {
|
|
78
|
-
|
|
77
|
+
type: ImageFrameSourceType;
|
|
79
78
|
}
|
|
80
|
-
export interface
|
|
79
|
+
export interface ImageFrameUrlSource extends ImageFrameSource {
|
|
81
80
|
url: string;
|
|
82
81
|
}
|
|
83
|
-
export interface
|
|
84
|
-
|
|
82
|
+
export interface ImageFrameConnectorSource extends ImageFrameSource {
|
|
83
|
+
id: string;
|
|
85
84
|
assetId: string;
|
|
86
85
|
}
|
|
87
|
-
export interface
|
|
88
|
-
|
|
86
|
+
export interface ImageFrameVariableSource extends ImageFrameSource {
|
|
87
|
+
id: string;
|
|
89
88
|
}
|
|
90
89
|
export interface Layout {
|
|
91
|
-
|
|
92
|
-
|
|
90
|
+
id: string;
|
|
91
|
+
name: string;
|
|
93
92
|
frameProperties: (ChildFrameProperty | TopFrameProperty)[];
|
|
94
93
|
width?: number;
|
|
95
94
|
height?: number;
|
|
96
95
|
childLayouts: string[];
|
|
97
|
-
|
|
96
|
+
type: LayoutType;
|
|
98
97
|
frameAnimations?: FrameAnimation[];
|
|
99
98
|
timelineLengthMs?: number;
|
|
100
99
|
animated?: boolean;
|
|
@@ -103,19 +102,18 @@ export interface TopLayout extends Layout {
|
|
|
103
102
|
frameAnimations: FrameAnimation[];
|
|
104
103
|
timelineLengthMs: number;
|
|
105
104
|
animated: boolean;
|
|
106
|
-
parentLayoutId: Id;
|
|
107
105
|
width: number;
|
|
108
106
|
height: number;
|
|
109
107
|
}
|
|
110
108
|
export interface ChildLayout extends Layout {
|
|
111
|
-
|
|
109
|
+
parentId: Id;
|
|
112
110
|
}
|
|
113
111
|
export declare enum FramePropertiesType {
|
|
114
112
|
top = "top",
|
|
115
113
|
child = "child"
|
|
116
114
|
}
|
|
117
115
|
export interface FrameProperty {
|
|
118
|
-
|
|
116
|
+
id: Id;
|
|
119
117
|
x?: number;
|
|
120
118
|
y?: number;
|
|
121
119
|
width?: number;
|
|
@@ -125,7 +123,7 @@ export interface FrameProperty {
|
|
|
125
123
|
scaleX?: number;
|
|
126
124
|
scaleY?: number;
|
|
127
125
|
included?: boolean;
|
|
128
|
-
|
|
126
|
+
type: FramePropertiesType;
|
|
129
127
|
}
|
|
130
128
|
export declare type ChildFrameProperty = FrameProperty;
|
|
131
129
|
export interface TopFrameProperty extends FrameProperty {
|
|
@@ -140,7 +138,7 @@ export interface TopFrameProperty extends FrameProperty {
|
|
|
140
138
|
included: boolean;
|
|
141
139
|
}
|
|
142
140
|
export interface FrameAnimation {
|
|
143
|
-
|
|
141
|
+
id: Id;
|
|
144
142
|
from: number;
|
|
145
143
|
to: number;
|
|
146
144
|
basicAnimations: BasicAnimations;
|
|
@@ -150,7 +148,7 @@ export interface BasicAnimations {
|
|
|
150
148
|
emphasis?: BasicAnimationsEmphasisType;
|
|
151
149
|
outro?: BasicAnimationsOutroType;
|
|
152
150
|
}
|
|
153
|
-
export interface
|
|
151
|
+
export interface DocumentStylekit {
|
|
154
152
|
colors: DocumentColor[];
|
|
155
153
|
characterStyles: DocumentCharacterStyle[];
|
|
156
154
|
paragraphStyles: DocumentParagraphStyle[];
|
|
@@ -161,7 +159,7 @@ export interface DocumentVariable extends Variable {
|
|
|
161
159
|
parentId: Id;
|
|
162
160
|
name: string;
|
|
163
161
|
label: string;
|
|
164
|
-
|
|
162
|
+
isVisible: boolean;
|
|
165
163
|
isReadonly: boolean;
|
|
166
164
|
isRequired: boolean;
|
|
167
165
|
value: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocumentTypes.js","sourceRoot":"","sources":["../../../src/types/DocumentTypes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DocumentTypes.js","sourceRoot":"","sources":["../../../src/types/DocumentTypes.ts"],"names":[],"mappings":"AA0EA,MAAM,CAAN,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC5B,mCAAW,CAAA;IACX,uDAA+B,CAAA;IAC/B,6CAAqB,CAAA;AACzB,CAAC,EAJW,oBAAoB,KAApB,oBAAoB,QAI/B;AA4CD,MAAM,CAAN,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC3B,kCAAW,CAAA;IACX,sCAAe,CAAA;AACnB,CAAC,EAHW,mBAAmB,KAAnB,mBAAmB,QAG9B;AA6DD,MAAM,CAAN,IAAY,YAGX;AAHD,WAAY,YAAY;IACpB,mCAAmB,CAAA;IACnB,qCAAqB,CAAA;AACzB,CAAC,EAHW,YAAY,KAAZ,YAAY,QAGvB"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { Id } from './CommonTypes';
|
|
1
2
|
import { MediaType } from './ConnectorTypes';
|
|
2
3
|
export declare enum FontDownloadType {
|
|
3
4
|
Preview = "lowresWeb",
|
|
4
5
|
Download = "outputPdf"
|
|
5
6
|
}
|
|
6
7
|
export declare type Font = {
|
|
7
|
-
id:
|
|
8
|
+
id: Id;
|
|
8
9
|
name: string;
|
|
9
10
|
family: string | null;
|
|
10
11
|
style: string | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FontConnectorTypes.js","sourceRoot":"","sources":["../../../src/types/FontConnectorTypes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FontConnectorTypes.js","sourceRoot":"","sources":["../../../src/types/FontConnectorTypes.ts"],"names":[],"mappings":"AAGA,MAAM,CAAN,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IACxB,yCAAqB,CAAA;IACrB,0CAAsB,CAAA;AAC1B,CAAC,EAHW,gBAAgB,KAAhB,gBAAgB,QAG3B"}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
+
import { Id } from "./CommonTypes";
|
|
1
2
|
export declare type DocumentFont = {
|
|
2
|
-
id:
|
|
3
|
+
id: Id;
|
|
3
4
|
name: string;
|
|
4
5
|
fontFamily: string;
|
|
5
6
|
fontStyle: string;
|
|
6
|
-
fontId:
|
|
7
|
-
connectorId:
|
|
7
|
+
fontId: Id;
|
|
8
|
+
connectorId: Id;
|
|
8
9
|
isDefault: boolean;
|
|
9
10
|
};
|
|
10
11
|
export declare type AddDocumentFont = {
|
|
11
12
|
name: string;
|
|
12
13
|
fontFamily: string;
|
|
13
14
|
fontStyle: string;
|
|
14
|
-
fontId:
|
|
15
|
+
fontId: Id;
|
|
15
16
|
};
|
|
@@ -2,7 +2,7 @@ import { ColorUsage } from './ColorStyleTypes';
|
|
|
2
2
|
import { Id, PropertyState } from './CommonTypes';
|
|
3
3
|
import { CornerRadiusAll, CornerRadiusNone, CornerRadiusOnly, ShapeType } from './ShapeTypes';
|
|
4
4
|
export declare type FrameLayoutType = {
|
|
5
|
-
|
|
5
|
+
id: Id;
|
|
6
6
|
layoutId: Id;
|
|
7
7
|
x: PropertyState<number>;
|
|
8
8
|
y: PropertyState<number>;
|
|
@@ -19,41 +19,41 @@ export declare type FrameLayoutType = {
|
|
|
19
19
|
enableCopyfitting: PropertyState<boolean>;
|
|
20
20
|
} | null;
|
|
21
21
|
export declare type FrameType = {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
id: Id;
|
|
23
|
+
name: string;
|
|
24
|
+
type: FrameTypeEnum;
|
|
25
25
|
imageUrl: string;
|
|
26
26
|
blendMode: string;
|
|
27
27
|
constrainProportions: boolean;
|
|
28
28
|
};
|
|
29
29
|
export declare type Frame = TextFrame | ImageFrame | ShapeFrame;
|
|
30
30
|
export declare type ImageFrameVariableSource = {
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
type: ImageSourceTypeEnum.variable;
|
|
32
|
+
id: Id;
|
|
33
33
|
};
|
|
34
34
|
export declare type ImageFrameUrlSource = {
|
|
35
|
-
|
|
35
|
+
type: ImageSourceTypeEnum.url;
|
|
36
36
|
url: string;
|
|
37
37
|
};
|
|
38
38
|
export declare type ImageFrameConnectorSource = {
|
|
39
|
-
assetId:
|
|
40
|
-
|
|
41
|
-
|
|
39
|
+
assetId: Id;
|
|
40
|
+
id: Id;
|
|
41
|
+
type: ImageSourceTypeEnum.connector;
|
|
42
42
|
};
|
|
43
43
|
export declare type ImageFrameSource = ImageFrameUrlSource | ImageFrameConnectorSource | ImageFrameVariableSource;
|
|
44
44
|
export declare type ImageFrame = {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
id: Id;
|
|
46
|
+
name: string;
|
|
47
|
+
type: FrameTypeEnum.image;
|
|
48
48
|
src?: ImageFrameSource;
|
|
49
49
|
blendMode: BlendMode;
|
|
50
50
|
constrainProportions: boolean;
|
|
51
51
|
crop?: CropSettings | NoCropSettings;
|
|
52
52
|
};
|
|
53
53
|
export declare type ShapeFrame = {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
id: Id;
|
|
55
|
+
name: string;
|
|
56
|
+
type: FrameTypeEnum.shape;
|
|
57
57
|
blendMode: BlendMode;
|
|
58
58
|
constrainProportions: boolean;
|
|
59
59
|
shapeProperties: {
|
|
@@ -65,15 +65,15 @@ export declare type ShapeFrame = {
|
|
|
65
65
|
allCornersSame: boolean;
|
|
66
66
|
};
|
|
67
67
|
src: {
|
|
68
|
-
|
|
68
|
+
type: ShapeType;
|
|
69
69
|
cornerRadius: CornerRadiusNone | CornerRadiusAll | CornerRadiusOnly;
|
|
70
70
|
sides?: number;
|
|
71
71
|
};
|
|
72
72
|
};
|
|
73
73
|
export declare type TextFrame = {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
74
|
+
id: Id;
|
|
75
|
+
name: string;
|
|
76
|
+
type: FrameTypeEnum.text;
|
|
77
77
|
textContent: string;
|
|
78
78
|
paddingLeft: number;
|
|
79
79
|
paddingTop: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Id, PropertyState } from './CommonTypes';
|
|
2
2
|
export declare type LayoutPropertiesType = {
|
|
3
|
-
|
|
3
|
+
id: Id;
|
|
4
4
|
width: {
|
|
5
5
|
value: number;
|
|
6
6
|
isOverride: boolean;
|
|
@@ -16,8 +16,8 @@ export declare type LayoutPropertiesType = {
|
|
|
16
16
|
[key: string]: number | string | Record<string, unknown>;
|
|
17
17
|
} | null;
|
|
18
18
|
export declare type FrameProperties = {
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
id: Id;
|
|
20
|
+
type: string;
|
|
21
21
|
height: number | null;
|
|
22
22
|
included: boolean | null;
|
|
23
23
|
rotationDegrees: number | null;
|
|
@@ -28,31 +28,31 @@ export declare type FrameProperties = {
|
|
|
28
28
|
y: number | null;
|
|
29
29
|
};
|
|
30
30
|
export declare type LayoutWithFrameProperties = {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
id: Id;
|
|
32
|
+
name: string;
|
|
33
|
+
parentId?: Id;
|
|
34
34
|
frameProperties: FrameProperties[];
|
|
35
35
|
width: number | null;
|
|
36
36
|
height: number | null;
|
|
37
37
|
childLayouts: Id[];
|
|
38
|
-
|
|
38
|
+
type: LayoutType;
|
|
39
39
|
timelineLengthMs?: number;
|
|
40
40
|
children?: LayoutWithFrameProperties[];
|
|
41
41
|
};
|
|
42
42
|
export declare type Layout = {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
id: Id;
|
|
44
|
+
name: string;
|
|
45
|
+
parentId?: Id;
|
|
46
46
|
width: PropertyState<number>;
|
|
47
47
|
height: PropertyState<number>;
|
|
48
48
|
childLayouts: Id[];
|
|
49
49
|
timelineLengthMs?: number;
|
|
50
50
|
};
|
|
51
51
|
export declare type LayoutListItemType = {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
52
|
+
id: string;
|
|
53
|
+
name: string;
|
|
54
|
+
type: LayoutType;
|
|
55
|
+
parentId?: string | null;
|
|
56
56
|
childLayouts: string[];
|
|
57
57
|
};
|
|
58
58
|
export declare enum LayoutType {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LayoutTypes.js","sourceRoot":"","sources":["../../../src/types/LayoutTypes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LayoutTypes.js","sourceRoot":"","sources":["../../../src/types/LayoutTypes.ts"],"names":[],"mappings":"AAwDA,MAAM,CAAN,IAAY,UAGX;AAHD,WAAY,UAAU;IAClB,yBAAW,CAAA;IACX,6BAAe,CAAA;AACnB,CAAC,EAHW,UAAU,KAAV,UAAU,QAGrB"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import { Id } from './CommonTypes';
|
|
1
2
|
import { MediaType } from './ConnectorTypes';
|
|
2
3
|
export declare enum MediaDownloadType {
|
|
3
4
|
LowResolutionWeb = "lowresWeb",
|
|
4
5
|
HighResolutionWeb = "highresWeb"
|
|
5
6
|
}
|
|
6
7
|
export declare type Media = {
|
|
7
|
-
id:
|
|
8
|
+
id: Id;
|
|
8
9
|
name: string;
|
|
9
10
|
relativePath: string;
|
|
10
11
|
type: MediaType;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MediaConnectorTypes.js","sourceRoot":"","sources":["../../../src/types/MediaConnectorTypes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MediaConnectorTypes.js","sourceRoot":"","sources":["../../../src/types/MediaConnectorTypes.ts"],"names":[],"mappings":"AAGA,MAAM,CAAN,IAAY,iBAGX;AAHD,WAAY,iBAAiB;IACzB,mDAA8B,CAAA;IAC9B,qDAAgC,CAAA;AACpC,CAAC,EAHW,iBAAiB,KAAjB,iBAAiB,QAG5B"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Id } from './CommonTypes';
|
|
2
2
|
export declare type Page = {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
id: Id;
|
|
4
|
+
number: number;
|
|
5
5
|
width?: number;
|
|
6
6
|
height?: number;
|
|
7
7
|
};
|
|
8
8
|
export declare type PageSize = {
|
|
9
|
-
|
|
9
|
+
id: Id;
|
|
10
10
|
width: number;
|
|
11
11
|
height: number;
|
|
12
12
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Alignment, Case, Scripting } from './TextStyleTypes';
|
|
2
2
|
import { ColorUsage, ColorUsageUpdate } from './ColorStyleTypes';
|
|
3
|
+
import { Id } from './CommonTypes';
|
|
3
4
|
export declare type ParagraphStyle = {
|
|
4
|
-
id:
|
|
5
|
+
id: Id;
|
|
5
6
|
name: string;
|
|
6
7
|
fontKey: string;
|
|
7
8
|
fontStyle: string;
|
|
@@ -11,10 +12,10 @@ export declare type ParagraphStyle = {
|
|
|
11
12
|
subSuperScript: Scripting;
|
|
12
13
|
trackingLeft: string;
|
|
13
14
|
trackingRight: string;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
startIndent: string;
|
|
16
|
+
endIndent: string;
|
|
17
|
+
spaceBefore: string;
|
|
18
|
+
spaceAfter: string;
|
|
18
19
|
textIndent: string;
|
|
19
20
|
alignToBaseLine: boolean;
|
|
20
21
|
baselineShiftValue: string;
|
|
@@ -74,10 +74,10 @@ export interface SelectedTextStyle {
|
|
|
74
74
|
subSuperScript: Scripting;
|
|
75
75
|
trackingLeft: string;
|
|
76
76
|
trackingRight: string;
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
77
|
+
startIndent: string;
|
|
78
|
+
endIndent: string;
|
|
79
|
+
spaceBefore: string;
|
|
80
|
+
spaceAfter: string;
|
|
81
81
|
textIndent: string;
|
|
82
82
|
alignToBaseLine: boolean;
|
|
83
83
|
baselineShiftValue: string;
|
|
@@ -115,7 +115,7 @@ export declare enum SelectedTextStyles {
|
|
|
115
115
|
TYPOGRAPHIC_CASE = "typographicCase",
|
|
116
116
|
SUB_SUPER_SCRIPT = "subSuperScript",
|
|
117
117
|
UNDERLINE = "underline",
|
|
118
|
-
|
|
118
|
+
LINE_THROUGH = "lineThrough",
|
|
119
119
|
FILL_COLOR = "fillColor",
|
|
120
120
|
COLOR = "color",
|
|
121
121
|
FILL_COLOR_APPLIED = "fillColorApplied",
|
|
@@ -56,7 +56,7 @@ export var SelectedTextStyles;
|
|
|
56
56
|
SelectedTextStyles["TYPOGRAPHIC_CASE"] = "typographicCase";
|
|
57
57
|
SelectedTextStyles["SUB_SUPER_SCRIPT"] = "subSuperScript";
|
|
58
58
|
SelectedTextStyles["UNDERLINE"] = "underline";
|
|
59
|
-
SelectedTextStyles["
|
|
59
|
+
SelectedTextStyles["LINE_THROUGH"] = "lineThrough";
|
|
60
60
|
SelectedTextStyles["FILL_COLOR"] = "fillColor";
|
|
61
61
|
SelectedTextStyles["COLOR"] = "color";
|
|
62
62
|
SelectedTextStyles["FILL_COLOR_APPLIED"] = "fillColorApplied";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextStyleTypes.js","sourceRoot":"","sources":["../../../src/types/TextStyleTypes.ts"],"names":[],"mappings":"AAGA,MAAM,CAAN,IAAY,WAIX;AAJD,WAAY,WAAW;IACnB,4BAAa,CAAA;IACb,gCAAiB,CAAA;IACjB,kCAAmB,CAAA;AACvB,CAAC,EAJW,WAAW,KAAX,WAAW,QAItB;AACD,MAAM,CAAN,IAAY,SAKX;AALD,WAAY,SAAS;IACjB,0BAAa,CAAA;IACb,8BAAiB,CAAA;IACjB,4BAAe,CAAA;IACf,gCAAmB,CAAA;AACvB,CAAC,EALW,SAAS,KAAT,SAAS,QAKpB;AAED,MAAM,CAAN,IAAY,YAIX;AAJD,WAAY,YAAY;IACpB,2BAAW,CAAA;IACX,iCAAiB,CAAA;IACjB,iCAAiB,CAAA;AACrB,CAAC,EAJW,YAAY,KAAZ,YAAY,QAIvB;AACD,MAAM,CAAN,IAAY,IAIX;AAJD,WAAY,IAAI;IACZ,mCAA2B,CAAA;IAC3B,mCAA2B,CAAA;IAC3B,yBAAiB,CAAA;AACrB,CAAC,EAJW,IAAI,KAAJ,IAAI,QAIf;AACD,MAAM,CAAN,IAAY,SAIX;AAJD,WAAY,SAAS;IACjB,wCAA2B,CAAA;IAC3B,oCAAuB,CAAA;IACvB,8BAAiB,CAAA;AACrB,CAAC,EAJW,SAAS,KAAT,SAAS,QAIpB;AAuED,MAAM,CAAN,IAAY,eAKX;AALD,WAAY,eAAe;IACvB,gCAAa,CAAA;IACb,oCAAiB,CAAA;IACjB,kCAAe,CAAA;IACf,sCAAmB,CAAA;AACvB,CAAC,EALW,eAAe,KAAf,eAAe,QAK1B;AAED,MAAM,CAAN,IAAY,yBAIX;AAJD,WAAY,yBAAyB;IACjC,gDAAmB,CAAA;IACnB,0DAA6B,CAAA;IAC7B,sDAAyB,CAAA;AAC7B,CAAC,EAJW,yBAAyB,KAAzB,yBAAyB,QAIpC;AAED,MAAM,CAAN,IAAY,kBAqBX;AArBD,WAAY,kBAAkB;IAC1B,oDAA8B,CAAA;IAC9B,oDAA8B,CAAA;IAC9B,6CAAuB,CAAA;IACvB,8CAAwB,CAAA;IACxB,4CAAsB,CAAA;IACtB,sDAAgC,CAAA;IAChC,gDAA0B,CAAA;IAC1B,8CAAwB,CAAA;IACxB,sDAAgC,CAAA;IAChC,0DAAoC,CAAA;IACpC,yDAAmC,CAAA;IACnC,6CAAuB,CAAA;IACvB,
|
|
1
|
+
{"version":3,"file":"TextStyleTypes.js","sourceRoot":"","sources":["../../../src/types/TextStyleTypes.ts"],"names":[],"mappings":"AAGA,MAAM,CAAN,IAAY,WAIX;AAJD,WAAY,WAAW;IACnB,4BAAa,CAAA;IACb,gCAAiB,CAAA;IACjB,kCAAmB,CAAA;AACvB,CAAC,EAJW,WAAW,KAAX,WAAW,QAItB;AACD,MAAM,CAAN,IAAY,SAKX;AALD,WAAY,SAAS;IACjB,0BAAa,CAAA;IACb,8BAAiB,CAAA;IACjB,4BAAe,CAAA;IACf,gCAAmB,CAAA;AACvB,CAAC,EALW,SAAS,KAAT,SAAS,QAKpB;AAED,MAAM,CAAN,IAAY,YAIX;AAJD,WAAY,YAAY;IACpB,2BAAW,CAAA;IACX,iCAAiB,CAAA;IACjB,iCAAiB,CAAA;AACrB,CAAC,EAJW,YAAY,KAAZ,YAAY,QAIvB;AACD,MAAM,CAAN,IAAY,IAIX;AAJD,WAAY,IAAI;IACZ,mCAA2B,CAAA;IAC3B,mCAA2B,CAAA;IAC3B,yBAAiB,CAAA;AACrB,CAAC,EAJW,IAAI,KAAJ,IAAI,QAIf;AACD,MAAM,CAAN,IAAY,SAIX;AAJD,WAAY,SAAS;IACjB,wCAA2B,CAAA;IAC3B,oCAAuB,CAAA;IACvB,8BAAiB,CAAA;AACrB,CAAC,EAJW,SAAS,KAAT,SAAS,QAIpB;AAuED,MAAM,CAAN,IAAY,eAKX;AALD,WAAY,eAAe;IACvB,gCAAa,CAAA;IACb,oCAAiB,CAAA;IACjB,kCAAe,CAAA;IACf,sCAAmB,CAAA;AACvB,CAAC,EALW,eAAe,KAAf,eAAe,QAK1B;AAED,MAAM,CAAN,IAAY,yBAIX;AAJD,WAAY,yBAAyB;IACjC,gDAAmB,CAAA;IACnB,0DAA6B,CAAA;IAC7B,sDAAyB,CAAA;AAC7B,CAAC,EAJW,yBAAyB,KAAzB,yBAAyB,QAIpC;AAED,MAAM,CAAN,IAAY,kBAqBX;AArBD,WAAY,kBAAkB;IAC1B,oDAA8B,CAAA;IAC9B,oDAA8B,CAAA;IAC9B,6CAAuB,CAAA;IACvB,8CAAwB,CAAA;IACxB,4CAAsB,CAAA;IACtB,sDAAgC,CAAA;IAChC,gDAA0B,CAAA;IAC1B,8CAAwB,CAAA;IACxB,sDAAgC,CAAA;IAChC,0DAAoC,CAAA;IACpC,yDAAmC,CAAA;IACnC,6CAAuB,CAAA;IACvB,kDAA4B,CAAA;IAC5B,8CAAwB,CAAA;IACxB,qCAAe,CAAA;IACf,6DAAuC,CAAA;IACvC,kDAA4B,CAAA;IAC5B,2DAAqC,CAAA;IACrC,8CAAwB,CAAA;IACxB,yCAAmB,CAAA;AACvB,CAAC,EArBW,kBAAkB,KAAlB,kBAAkB,QAqB7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextTypes.js","sourceRoot":"","sources":["../../../src/types/TextTypes.ts"],"names":[],"mappings":"AAAA,MAAM,CAAN,IAAY,QAGX;AAHD,WAAY,QAAQ;IAChB,yBAAa,CAAA;IACb,mCAAuB,CAAA;AAC3B,CAAC,EAHW,QAAQ,KAAR,QAAQ,QAGnB"}
|