@chili-publish/studio-sdk 1.25.1 → 1.27.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/_bundles/main.es.js +2403 -0
- package/_bundles/main.es.js.map +1 -0
- package/_bundles/main.js +21 -2
- package/_bundles/main.js.map +1 -1
- package/connector-types/src/Connector.Shared.d.ts +30 -0
- package/connector-types/src/Connector.Shared.js +2 -0
- package/connector-types/src/Connector.Shared.js.map +1 -0
- package/connector-types/src/DataConnector.d.ts +34 -0
- package/connector-types/src/DataConnector.js +2 -0
- package/connector-types/src/DataConnector.js.map +1 -0
- package/connector-types/src/FontConnector.d.ts +20 -0
- package/connector-types/src/FontConnector.js +2 -0
- package/connector-types/src/FontConnector.js.map +1 -0
- package/connector-types/src/MediaConnector.d.ts +20 -0
- package/connector-types/src/MediaConnector.js +2 -0
- package/connector-types/src/MediaConnector.js.map +1 -0
- package/connector-types/src/index.d.ts +4 -0
- package/connector-types/src/index.js +5 -0
- package/connector-types/src/index.js.map +1 -0
- package/lib/editor-engine.json +1 -1
- package/lib/package.json +10 -18
- package/lib/src/controllers/ActionController.d.ts +13 -13
- package/lib/src/controllers/ActionController.js.map +1 -1
- package/lib/src/controllers/AnimationController.d.ts +10 -10
- package/lib/src/controllers/AnimationController.js.map +1 -1
- package/lib/src/controllers/BarcodeController.d.ts +15 -15
- package/lib/src/controllers/BarcodeController.js.map +1 -1
- package/lib/src/controllers/BrandKitController.d.ts +103 -0
- package/lib/src/controllers/BrandKitController.js +357 -0
- package/lib/src/controllers/BrandKitController.js.map +1 -0
- package/lib/src/controllers/CanvasController.d.ts +4 -4
- package/lib/src/controllers/CanvasController.js.map +1 -1
- package/lib/src/controllers/CharacterStyleController.d.ts +8 -8
- package/lib/src/controllers/CharacterStyleController.js.map +1 -1
- package/lib/src/controllers/ClipboardController.d.ts +4 -4
- package/lib/src/controllers/ClipboardController.js.map +1 -1
- package/lib/src/controllers/ColorConversionController.d.ts +1 -1
- package/lib/src/controllers/ColorConversionController.js.map +1 -1
- package/lib/src/controllers/ColorStyleController.d.ts +8 -8
- package/lib/src/controllers/ColorStyleController.js.map +1 -1
- package/lib/src/controllers/ConfigurationController.d.ts +4 -4
- package/lib/src/controllers/ConfigurationController.js.map +1 -1
- package/lib/src/controllers/ConnectorController.d.ts +3 -3
- package/lib/src/controllers/ConnectorController.js +1 -1
- package/lib/src/controllers/ConnectorController.js.map +1 -1
- package/lib/src/controllers/DataConnectorController.d.ts +4 -3
- package/lib/src/controllers/DataConnectorController.js.map +1 -1
- package/lib/src/controllers/DataSourceController.d.ts +4 -4
- package/lib/src/controllers/DataSourceController.js.map +1 -1
- package/lib/src/controllers/DebugController.d.ts +4 -4
- package/lib/src/controllers/DebugController.js.map +1 -1
- package/lib/src/controllers/DocumentController.d.ts +4 -4
- package/lib/src/controllers/DocumentController.js.map +1 -1
- package/lib/src/controllers/ExperimentController.d.ts +8 -8
- package/lib/src/controllers/ExperimentController.js.map +1 -1
- package/lib/src/controllers/FontConnectorController.d.ts +2 -2
- package/lib/src/controllers/FontConnectorController.js +1 -1
- package/lib/src/controllers/FontConnectorController.js.map +1 -1
- package/lib/src/controllers/FontController.d.ts +13 -13
- package/lib/src/controllers/FontController.js.map +1 -1
- package/lib/src/controllers/FrameController.d.ts +1 -1
- package/lib/src/controllers/FrameController.js.map +1 -1
- package/lib/src/controllers/InfoController.js.map +1 -1
- package/lib/src/controllers/LayoutController.d.ts +1 -1
- package/lib/src/controllers/LayoutController.js.map +1 -1
- package/lib/src/controllers/MediaConnectorController.d.ts +9 -9
- package/lib/src/controllers/MediaConnectorController.js +8 -8
- package/lib/src/controllers/MediaConnectorController.js.map +1 -1
- package/lib/src/controllers/PageController.d.ts +4 -4
- package/lib/src/controllers/PageController.js +2 -2
- package/lib/src/controllers/PageController.js.map +1 -1
- package/lib/src/controllers/ParagraphStyleController.d.ts +8 -8
- package/lib/src/controllers/ParagraphStyleController.js.map +1 -1
- package/lib/src/controllers/ShapeController.d.ts +11 -11
- package/lib/src/controllers/ShapeController.js.map +1 -1
- package/lib/src/controllers/SubscriberController.d.ts +8 -2
- package/lib/src/controllers/SubscriberController.js +11 -3
- package/lib/src/controllers/SubscriberController.js.map +1 -1
- package/lib/src/controllers/TextStyleController.d.ts +3 -3
- package/lib/src/controllers/TextStyleController.js.map +1 -1
- package/lib/src/controllers/ToolController.d.ts +11 -11
- package/lib/src/controllers/ToolController.js.map +1 -1
- package/lib/src/controllers/UndoManagerController.d.ts +16 -10
- package/lib/src/controllers/UndoManagerController.js +11 -3
- package/lib/src/controllers/UndoManagerController.js.map +1 -1
- package/lib/src/controllers/UtilsController.d.ts +3 -3
- package/lib/src/controllers/UtilsController.js.map +1 -1
- package/lib/src/controllers/VariableController.d.ts +50 -50
- package/lib/src/controllers/VariableController.js +3 -1
- package/lib/src/controllers/VariableController.js.map +1 -1
- package/lib/src/index.d.ts +5 -3
- package/lib/src/index.js +3 -2
- package/lib/src/index.js.map +1 -1
- package/lib/src/interactions/Connector.d.ts +5 -1
- package/lib/src/interactions/Connector.js +2 -2
- package/lib/src/interactions/Connector.js.map +1 -1
- package/lib/src/next/NextInitiator.js.map +1 -1
- package/lib/src/next/controllers/CanvasController.d.ts +1 -1
- package/lib/src/next/controllers/CanvasController.js.map +1 -1
- package/lib/src/next/controllers/ConnectorController.d.ts +3 -3
- package/lib/src/next/controllers/ConnectorController.js.map +1 -1
- package/lib/src/next/controllers/PageController.d.ts +2 -2
- package/lib/src/next/controllers/PageController.js.map +1 -1
- package/lib/src/next/controllers/SubscriberController.d.ts +5 -0
- package/lib/src/next/controllers/SubscriberController.js +7 -0
- package/lib/src/next/controllers/SubscriberController.js.map +1 -1
- package/lib/src/next/controllers/VariableController.d.ts +8 -8
- package/lib/src/next/controllers/VariableController.js +3 -1
- package/lib/src/next/controllers/VariableController.js.map +1 -1
- package/lib/src/next/index.d.ts +2 -2
- package/lib/src/next/index.js.map +1 -1
- package/lib/src/next/tests/controllers/CanvasController.test.js.map +1 -1
- package/lib/src/next/tests/controllers/ConnectorController.test.js.map +1 -1
- package/lib/src/next/tests/controllers/PageController.test.js.map +1 -1
- package/lib/src/next/tests/controllers/SubscriberContoller.test.js +1 -0
- package/lib/src/next/tests/controllers/SubscriberContoller.test.js.map +1 -1
- package/lib/src/next/tests/controllers/VariableController.test.js.map +1 -1
- package/lib/src/next/types/ConnectorTypes.js.map +1 -1
- package/lib/src/next/types/NextSubscribers.js.map +1 -1
- package/lib/src/next/types/PageTypes.js.map +1 -1
- package/lib/src/next/types/VariableTypes.js.map +1 -1
- package/lib/src/sdk.d.ts +3 -1
- package/lib/src/sdk.js +4 -0
- package/lib/src/sdk.js.map +1 -1
- package/lib/src/setupTests.js.map +1 -1
- package/lib/src/tests/__mocks__/Animations.js.map +1 -1
- package/lib/src/tests/__mocks__/Brandkit.js +389 -0
- package/lib/src/tests/__mocks__/Brandkit.js.map +1 -0
- package/lib/src/tests/__mocks__/Config.js.map +1 -1
- package/lib/src/tests/__mocks__/FrameProperties.js.map +1 -1
- package/lib/src/tests/__mocks__/MockImageFrameSource.js.map +1 -1
- package/lib/src/tests/__mocks__/localConfig.js.map +1 -1
- package/lib/src/tests/__mocks__/mockDocument.js.map +1 -1
- package/lib/src/tests/controllers/ActionController.test.js.map +1 -1
- package/lib/src/tests/controllers/AnimationController.test.js.map +1 -1
- package/lib/src/tests/controllers/BarcodeController.test.js.map +1 -1
- package/lib/src/tests/controllers/BrandKitController.test.js +276 -0
- package/lib/src/tests/controllers/BrandKitController.test.js.map +1 -0
- package/lib/src/tests/controllers/CanvasController.test.js.map +1 -1
- package/lib/src/tests/controllers/CharacterStyleController.test.js +22 -0
- package/lib/src/tests/controllers/CharacterStyleController.test.js.map +1 -1
- package/lib/src/tests/controllers/ClipboardController.test.js.map +1 -1
- package/lib/src/tests/controllers/ColorConversionController.test.js.map +1 -1
- package/lib/src/tests/controllers/ColorStyleController.test.js.map +1 -1
- package/lib/src/tests/controllers/ConnectorController.test.js.map +1 -1
- package/lib/src/tests/controllers/DataConnectorController.test.js +1 -1
- package/lib/src/tests/controllers/DataConnectorController.test.js.map +1 -1
- package/lib/src/tests/controllers/DataSourceController.test.js.map +1 -1
- package/lib/src/tests/controllers/DebugController.test.js.map +1 -1
- package/lib/src/tests/controllers/DocumentController.test.js.map +1 -1
- package/lib/src/tests/controllers/ExperimentController.test.js.map +1 -1
- package/lib/src/tests/controllers/FontConnectorController.test.js.map +1 -1
- package/lib/src/tests/controllers/FontController.test.js.map +1 -1
- package/lib/src/tests/controllers/FrameController.test.js.map +1 -1
- package/lib/src/tests/controllers/InfoController.test.js.map +1 -1
- package/lib/src/tests/controllers/LayoutController.test.js.map +1 -1
- package/lib/src/tests/controllers/MediaConnectorController.test.js.map +1 -1
- package/lib/src/tests/controllers/PageController.test.js.map +1 -1
- package/lib/src/tests/controllers/ParagraphStyleController.test.js +25 -0
- package/lib/src/tests/controllers/ParagraphStyleController.test.js.map +1 -1
- package/lib/src/tests/controllers/ShapeController.test.js.map +1 -1
- package/lib/src/tests/controllers/SubscriberContoller.test.js +9 -3
- package/lib/src/tests/controllers/SubscriberContoller.test.js.map +1 -1
- package/lib/src/tests/controllers/TextStyleController.test.js.map +1 -1
- package/lib/src/tests/controllers/ToolController.test.js.map +1 -1
- package/lib/src/tests/controllers/UndoManagerController.test.js +2 -2
- package/lib/src/tests/controllers/UndoManagerController.test.js.map +1 -1
- package/lib/src/tests/controllers/UtilsController.test.js.map +1 -1
- package/lib/src/tests/controllers/VariableController.test.js.map +1 -1
- package/lib/src/tests/index.test.js.map +1 -1
- package/lib/src/tests/interactions/Connector.test.js.map +1 -1
- package/lib/src/tests/utils/ConnectorCompatibilityTools.test.js.map +1 -1
- package/lib/src/tests/utils/EditorResponseData.test.js.map +1 -1
- package/lib/src/tests/utils/EventSubscription.test.js.map +1 -1
- package/lib/src/tests/utils/LocalConfigurationDecorator.test.js.map +1 -1
- package/lib/src/tests/utils/Logging.test.js.map +1 -1
- package/lib/src/tests/utils/Round.test.js.map +1 -1
- package/lib/src/types/ActionTypes.js.map +1 -1
- package/lib/src/types/AnimationTypes.js.map +1 -1
- package/lib/src/types/BarcodeTypes.js.map +1 -1
- package/lib/src/types/BrandKitTypes.d.ts +129 -0
- package/lib/src/types/BrandKitTypes.js +2 -0
- package/lib/src/types/BrandKitTypes.js.map +1 -0
- package/lib/src/types/CharacterStyleTypes.d.ts +29 -14
- package/lib/src/types/CharacterStyleTypes.js.map +1 -1
- package/lib/src/types/ClipboardTypes.js.map +1 -1
- package/lib/src/types/ColorStyleTypes.d.ts +20 -5
- package/lib/src/types/ColorStyleTypes.js +18 -2
- package/lib/src/types/ColorStyleTypes.js.map +1 -1
- package/lib/src/types/CommonTypes.d.ts +9 -30
- package/lib/src/types/CommonTypes.js +0 -10
- package/lib/src/types/CommonTypes.js.map +1 -1
- package/lib/src/types/ConfigurationTypes.js.map +1 -1
- package/lib/src/types/ConnectorTypes.d.ts +16 -13
- package/lib/src/types/ConnectorTypes.js +10 -0
- package/lib/src/types/ConnectorTypes.js.map +1 -1
- package/lib/src/types/DataConnectorTypes.d.ts +2 -32
- package/lib/src/types/DataConnectorTypes.js.map +1 -1
- package/lib/src/types/DebugTypes.js.map +1 -1
- package/lib/src/types/DocumentTypes.d.ts +83 -4
- package/lib/src/types/DocumentTypes.js +6 -0
- package/lib/src/types/DocumentTypes.js.map +1 -1
- package/lib/src/types/EngineEditModeTypes.js.map +1 -1
- package/lib/src/types/FontConnectorTypes.d.ts +1 -19
- package/lib/src/types/FontConnectorTypes.js.map +1 -1
- package/lib/src/types/FontTypes.js.map +1 -1
- package/lib/src/types/FrameTypes.d.ts +8 -3
- package/lib/src/types/FrameTypes.js +1 -1
- package/lib/src/types/FrameTypes.js.map +1 -1
- package/lib/src/types/LayoutTypes.d.ts +18 -17
- package/lib/src/types/LayoutTypes.js.map +1 -1
- package/lib/src/types/MediaConnectorTypes.d.ts +7 -23
- package/lib/src/types/MediaConnectorTypes.js +2 -0
- package/lib/src/types/MediaConnectorTypes.js.map +1 -1
- package/lib/src/types/PageTypes.js.map +1 -1
- package/lib/src/types/ParagraphStyleTypes.d.ts +35 -17
- package/lib/src/types/ParagraphStyleTypes.js.map +1 -1
- package/lib/src/types/ShapeTypes.js.map +1 -1
- package/lib/src/types/TextStyleTypes.d.ts +8 -2
- package/lib/src/types/TextStyleTypes.js +2 -0
- package/lib/src/types/TextStyleTypes.js.map +1 -1
- package/lib/src/types/TextTypes.js.map +1 -1
- package/lib/src/types/VariableTypes.js.map +1 -1
- package/lib/src/types/ViewModeTypes.js.map +1 -1
- package/lib/src/types/ViewportTypes.js.map +1 -1
- package/lib/src/utils/BrandKitHelper.d.ts +9 -0
- package/lib/src/utils/BrandKitHelper.js +72 -0
- package/lib/src/utils/BrandKitHelper.js.map +1 -0
- package/lib/src/utils/ConfigHelper.js +1 -0
- package/lib/src/utils/ConfigHelper.js.map +1 -1
- package/lib/src/utils/ConnectorCompatibilityTools.js.map +1 -1
- package/lib/src/utils/DataItemMappingTools.js.map +1 -1
- package/lib/src/utils/EditorResponseData.d.ts +1 -1
- package/lib/src/utils/EditorResponseData.js.map +1 -1
- package/lib/src/utils/EngineCallbackHandler.js.map +1 -1
- package/lib/src/utils/EngineEvent.js.map +1 -1
- package/lib/src/utils/EngineEventTrigger.js.map +1 -1
- package/lib/src/utils/Enums.js.map +1 -1
- package/lib/src/utils/LocalConfigurationDecorator.d.ts +2 -2
- package/lib/src/utils/LocalConfigurationDecorator.js.map +1 -1
- package/lib/src/utils/MathUtils.js.map +1 -1
- package/package.json +10 -18
- package/_bundles/report.html +0 -38
- package/lib/src/next/tests/controllers/CanvasController.test.d.ts +0 -1
- package/lib/src/next/tests/controllers/ConnectorController.test.d.ts +0 -1
- package/lib/src/next/tests/controllers/PageController.test.d.ts +0 -1
- package/lib/src/next/tests/controllers/SubscriberContoller.test.d.ts +0 -1
- package/lib/src/next/tests/controllers/VariableController.test.d.ts +0 -1
- package/lib/src/setupTests.d.ts +0 -1
- package/lib/src/tests/__mocks__/Animations.d.ts +0 -2
- package/lib/src/tests/__mocks__/Config.d.ts +0 -4
- package/lib/src/tests/__mocks__/FrameProperties.d.ts +0 -52
- package/lib/src/tests/__mocks__/MockImageFrameSource.d.ts +0 -4
- package/lib/src/tests/__mocks__/localConfig.d.ts +0 -2
- package/lib/src/tests/__mocks__/mockDocument.d.ts +0 -1
- package/lib/src/tests/controllers/ActionController.test.d.ts +0 -1
- package/lib/src/tests/controllers/AnimationController.test.d.ts +0 -1
- package/lib/src/tests/controllers/BarcodeController.test.d.ts +0 -1
- package/lib/src/tests/controllers/CanvasController.test.d.ts +0 -1
- package/lib/src/tests/controllers/CharacterStyleController.test.d.ts +0 -1
- package/lib/src/tests/controllers/ClipboardController.test.d.ts +0 -1
- package/lib/src/tests/controllers/ColorConversionController.test.d.ts +0 -1
- package/lib/src/tests/controllers/ColorStyleController.test.d.ts +0 -1
- package/lib/src/tests/controllers/ConnectorController.test.d.ts +0 -1
- package/lib/src/tests/controllers/DataConnectorController.test.d.ts +0 -1
- package/lib/src/tests/controllers/DataSourceController.test.d.ts +0 -1
- package/lib/src/tests/controllers/DebugController.test.d.ts +0 -1
- package/lib/src/tests/controllers/DocumentController.test.d.ts +0 -1
- package/lib/src/tests/controllers/ExperimentController.test.d.ts +0 -1
- package/lib/src/tests/controllers/FontConnectorController.test.d.ts +0 -1
- package/lib/src/tests/controllers/FontController.test.d.ts +0 -1
- package/lib/src/tests/controllers/FrameController.test.d.ts +0 -1
- package/lib/src/tests/controllers/InfoController.test.d.ts +0 -1
- package/lib/src/tests/controllers/LayoutController.test.d.ts +0 -1
- package/lib/src/tests/controllers/MediaConnectorController.test.d.ts +0 -1
- package/lib/src/tests/controllers/PageController.test.d.ts +0 -1
- package/lib/src/tests/controllers/ParagraphStyleController.test.d.ts +0 -1
- package/lib/src/tests/controllers/ShapeController.test.d.ts +0 -1
- package/lib/src/tests/controllers/SubscriberContoller.test.d.ts +0 -1
- package/lib/src/tests/controllers/TextStyleController.test.d.ts +0 -1
- package/lib/src/tests/controllers/ToolController.test.d.ts +0 -1
- package/lib/src/tests/controllers/UndoManagerController.test.d.ts +0 -1
- package/lib/src/tests/controllers/UtilsController.test.d.ts +0 -1
- package/lib/src/tests/controllers/VariableController.test.d.ts +0 -1
- package/lib/src/tests/index.test.d.ts +0 -1
- package/lib/src/tests/interactions/Connector.test.d.ts +0 -1
- package/lib/src/tests/utils/ConnectorCompatibilityTools.test.d.ts +0 -1
- package/lib/src/tests/utils/EditorResponseData.test.d.ts +0 -1
- package/lib/src/tests/utils/EventSubscription.test.d.ts +0 -1
- package/lib/src/tests/utils/LocalConfigurationDecorator.test.d.ts +0 -1
- package/lib/src/tests/utils/Logging.test.d.ts +0 -1
- package/lib/src/tests/utils/Round.test.d.ts +0 -1
|
@@ -14,49 +14,49 @@ export declare class ColorStyleController {
|
|
|
14
14
|
* This method returns the list of colors
|
|
15
15
|
* @returns list of all colors
|
|
16
16
|
*/
|
|
17
|
-
getAll: () => Promise<import(
|
|
17
|
+
getAll: () => Promise<import('../types/CommonTypes').EditorResponse<DocumentColor[]>>;
|
|
18
18
|
/**
|
|
19
19
|
* This method returns a color by id
|
|
20
20
|
* @param id the id of a specific color
|
|
21
21
|
* @returns color properties for given id
|
|
22
22
|
*/
|
|
23
|
-
getById: (id: string) => Promise<import(
|
|
23
|
+
getById: (id: string) => Promise<import('../types/CommonTypes').EditorResponse<DocumentColor>>;
|
|
24
24
|
/**
|
|
25
25
|
* This method creates a new color
|
|
26
26
|
* @returns the new created color id
|
|
27
27
|
*/
|
|
28
|
-
create: () => Promise<import(
|
|
28
|
+
create: () => Promise<import('../types/CommonTypes').EditorResponse<string>>;
|
|
29
29
|
/**
|
|
30
30
|
* This method duplicates a color by the id
|
|
31
31
|
* @param id the id of a specific color
|
|
32
32
|
* @returns id of the duplicated color
|
|
33
33
|
*/
|
|
34
|
-
duplicate: (id: string) => Promise<import(
|
|
34
|
+
duplicate: (id: string) => Promise<import('../types/CommonTypes').EditorResponse<string>>;
|
|
35
35
|
/**
|
|
36
36
|
* This method changes positions of colors
|
|
37
37
|
* @param order the position of the colors
|
|
38
38
|
* @param ids the list of color IDs
|
|
39
39
|
* @returns
|
|
40
40
|
*/
|
|
41
|
-
move: (order: number, ids: string[]) => Promise<import(
|
|
41
|
+
move: (order: number, ids: string[]) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
|
|
42
42
|
/**
|
|
43
43
|
* This method renames a color
|
|
44
44
|
* @param id the id of a specific color
|
|
45
45
|
* @param newColorName the new name of the color
|
|
46
46
|
* @returns
|
|
47
47
|
*/
|
|
48
|
-
rename: (id: string, newColorName: string) => Promise<import(
|
|
48
|
+
rename: (id: string, newColorName: string) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
|
|
49
49
|
/**
|
|
50
50
|
* This method updates a color
|
|
51
51
|
* @param id the id of a specific color
|
|
52
52
|
* @param newColorProperties the new color properties
|
|
53
53
|
* @returns
|
|
54
54
|
*/
|
|
55
|
-
update: (id: string, newColorProperties: ColorUpdate) => Promise<import(
|
|
55
|
+
update: (id: string, newColorProperties: ColorUpdate) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
|
|
56
56
|
/**
|
|
57
57
|
* This method removes a color
|
|
58
58
|
* @param id the id of a specific color
|
|
59
59
|
* @returns
|
|
60
60
|
*/
|
|
61
|
-
remove: (id: string) => Promise<import(
|
|
61
|
+
remove: (id: string) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
|
|
62
62
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColorStyleController.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"ColorStyleController.js","sourceRoot":"","sources":["../../../../src/controllers/ColorStyleController.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,SAAS,EAA8B,MAAM,0BAA0B,CAAC;AACjF,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAEpE;;;GAGG;AACH,MAAM,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AC;QACrF,CAAC,CAAA,CAAC;QAtFE,uBAAA,IAAI,mCAAc,SAAS,MAAA,CAAC;IAChC,CAAC;CAsFJ"}
|
|
@@ -17,21 +17,21 @@ export declare abstract class ConfigurationController {
|
|
|
17
17
|
* this method returns an error. The key cannot be null.
|
|
18
18
|
* @returns value for a given configuration key
|
|
19
19
|
*/
|
|
20
|
-
getValue(key: WellKnownConfigurationKeys | string): Promise<import(
|
|
20
|
+
getValue(key: WellKnownConfigurationKeys | string): Promise<import('../types/CommonTypes').EditorResponse<string>>;
|
|
21
21
|
/**
|
|
22
22
|
* This method sets, or overrides the value for a given key. Null values are not allowed for both key and value,
|
|
23
23
|
* using them will result in an error.
|
|
24
24
|
* @returns
|
|
25
25
|
*/
|
|
26
|
-
setValue(key: WellKnownConfigurationKeys | string, value: string): Promise<import(
|
|
26
|
+
setValue(key: WellKnownConfigurationKeys | string, value: string): Promise<import('../types/CommonTypes').EditorResponse<null>>;
|
|
27
27
|
/**
|
|
28
28
|
* This method updates the studio options. Only defined options are updated, null values are ignored.
|
|
29
29
|
* @returns
|
|
30
30
|
*/
|
|
31
|
-
updateStudioOptions(options: StudioOptionsDeltaUpdate): Promise<import(
|
|
31
|
+
updateStudioOptions(options: StudioOptionsDeltaUpdate): Promise<import('../types/CommonTypes').EditorResponse<null>>;
|
|
32
32
|
/**
|
|
33
33
|
* This method returns the engine session id. This id is unique for this engine session
|
|
34
34
|
* @returns the engine session id
|
|
35
35
|
*/
|
|
36
|
-
getEngineSessionId(): Promise<import(
|
|
36
|
+
getEngineSessionId(): Promise<import('../types/CommonTypes').EditorResponse<string>>;
|
|
37
37
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigurationController.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"ConfigurationController.js","sourceRoot":"","sources":["../../../../src/controllers/ConfigurationController.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,qBAAqB,EAA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|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ConnectorInstance, ConnectorMappingDirection, ConnectorMappingType, ConnectorRegistration, ConnectorState, ConnectorToEngineMapping, ConnectorType, EngineToConnectorMapping } from '../types/ConnectorTypes';
|
|
1
|
+
import { EditorAPI, EditorResponse, Id } from '../types/CommonTypes';
|
|
2
|
+
import { ConnectorInstance, ConnectorMappingDirection, ConnectorMappingType, ConnectorOptions, ConnectorRegistration, ConnectorState, ConnectorToEngineMapping, ConnectorType, EngineToConnectorMapping } from '../types/ConnectorTypes';
|
|
3
3
|
/**
|
|
4
4
|
* The ConnectorController manages lifetime of all available connectors, regardless of the type, in the
|
|
5
5
|
* document. Use it to add/remove connectors to a template, or set specific configuration.
|
|
@@ -75,7 +75,7 @@ export declare class ConnectorController {
|
|
|
75
75
|
* @param id the id of your registered connector
|
|
76
76
|
* @returns options
|
|
77
77
|
*/
|
|
78
|
-
getOptions: (id: string) => Promise<EditorResponse<
|
|
78
|
+
getOptions: (id: string) => Promise<EditorResponse<import('../../../connector-types/src').Dictionary>>;
|
|
79
79
|
/**
|
|
80
80
|
* Connectors are loaded asynchronously in the editor engine, this causes some challenges while configuring them. To make sure
|
|
81
81
|
* an action on the connector will be available, it's advised to await this method. After the Promise resolves we are sure
|
|
@@ -21,8 +21,8 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
21
21
|
var _ConnectorController_editorAPI, _ConnectorController_localConfig, _ConnectorController_connectorCompatibilityTools, _ConnectorConfigurator_connectorId, _ConnectorConfigurator_res;
|
|
22
22
|
import { ConnectorStateType, } from '../types/ConnectorTypes';
|
|
23
23
|
import { getEditorResponseData } from '../utils/EditorResponseData';
|
|
24
|
-
import { ConnectorCompatibilityTools } from '../utils/ConnectorCompatibilityTools';
|
|
25
24
|
import { WellKnownConfigurationKeys } from '../types/ConfigurationTypes';
|
|
25
|
+
import { ConnectorCompatibilityTools } from '../utils/ConnectorCompatibilityTools';
|
|
26
26
|
/**
|
|
27
27
|
* The ConnectorController manages lifetime of all available connectors, regardless of the type, in the
|
|
28
28
|
* document. Use it to add/remove connectors to a template, or set specific configuration.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectorController.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"ConnectorController.js","sourceRoot":"","sources":["../../../../src/controllers/ConnectorController.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAOH,kBAAkB,GAIrB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAGpE,OAAO,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AACzE,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AAEnF;;;;;;;;;;;;;GAaG;AACH,MAAM,OAAO,mBAAmB;IAQ5B;;OAEG;IACH,YAAY,SAAoB,EAAE,WAAgC;QAVlE;;WAEG;QACH,iDAAsB;QACtB,mDAAkC;QAClC,mEAA0D;QAW1D;;;;WAIG;QACH,YAAO,GAAG,CAAO,EAAM,EAAE,EAAE;YACvB,mCAAmC;YACnC,MAAM,GAAG,GAAG,MAAM,uBAAA,IAAI,sCAAW,CAAC;YAClC,OAAO,GAAG;iBACL,gBAAgB,CAAC,EAAE,CAAC;iBACpB,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,qBAAqB,CAAyB,MAAM,CAAC,CAAC;iBACvE,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE;gBACX,MAAM,MAAM,mCAA2C,IAAI,KAAE,UAAU,EAAE,IAAI,GAAE,CAAC;gBAChF,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;oBAClB,MAAM,CAAC,UAAU,GAAG,uBAAA,IAAI,wDAA6B,CAAC,sCAAsC,CACxF,IAAI,CAAC,UAAU,EACf,uBAAA,IAAI,wCAAa,CAAC,GAAG,CAAC,0BAA0B,CAAC,4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C,EAAE,EAAE;YACrD,MAAM,MAAM,GAAG,MAAM,uBAAA,IAAI,kCAAK,CAAC,oBAAoB,CAC/C,uBAAA,IAAI,0CAAa,EACjB,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC;gBACpB,OAAO,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;YAC7B,CAAC,CAAC,CACL,CAAC;YACF,OAAO,qBAAqB,CAAO,MAAM,CAAC,CAAC;QAC/C,CAAC,CAAA,CAAC;QAEF;;;;;;;WAOG;QACH,kBAAa,GAAG,CAAO,UAAkB,EAAE,WAAmB,EAAE,EAAE;YAC9D,OAAO,uBAAA,IAAI,kCAAK;iBACX,oCAAoC,CAAC,uBAAA,IAAI,0CAAa,EAAE,UAAU,EAAE,WAAW,CAAC;iBAChF,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,qBAAqB,CAAO,MAAM,CAAC,CAAC,CAAC;QAC/D,CAAC,CAAA,CAAC;QAjDE,uBAAA,IAAI,sCAAgB,EAAE,MAAA,CAAC;QACvB,uBAAA,IAAI,8BAAQ,GAAG,MAAA,CAAC;IACpB,CAAC;CAgDJ"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { EditorAPI, EditorResponse } from '../types/CommonTypes';
|
|
2
|
+
import { ConnectorConfigOptions, MetaData } from '../types/ConnectorTypes';
|
|
3
|
+
import { DataConnectorCapabilities, DataModel, DataPage, PageConfig } from '../types/DataConnectorTypes';
|
|
3
4
|
import { DataItemMappingTools } from '../utils/DataItemMappingTools';
|
|
4
5
|
/**
|
|
5
6
|
* The DataConnectorController is responsible for all communication regarding Data connectors.
|
|
@@ -28,7 +29,7 @@ export declare class DataConnectorController {
|
|
|
28
29
|
* @param context context that will be available in the connector script.
|
|
29
30
|
* @returns a DataPage with an array of data objects
|
|
30
31
|
*/
|
|
31
|
-
getPage: (connectorId: string, config: PageConfig, context?: MetaData) => Promise<EditorResponse<DataPage
|
|
32
|
+
getPage: (connectorId: string, config: PageConfig, context?: MetaData) => Promise<EditorResponse<DataPage>>;
|
|
32
33
|
/**
|
|
33
34
|
* Query a specific DataConnector for a data model using the dynamic context as parameter.
|
|
34
35
|
* @param connectorId unique id of the data connector
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataConnectorController.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"DataConnectorController.js","sourceRoot":"","sources":["../../../../src/controllers/DataConnectorController.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAUA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAEpE;;;;;;;;;;;;GAYG;AACH,MAAM,OAAO,uBAAuB;IAOhC;;OAEG;IACH,YAAY,SAAoB,EAAE,oBAA0C;QAT5E;;WAEG;QACH,qDAAsB;QACtB,gEAA4C;QAU5C;;;;;;;WAOG;QACH,YAAO,GAAG,qCAI2B,EAAE,0EAHnC,WAAmB,EACnB,MAAkB,EAClB,UAAoB,EAAE;YAEtB,MAAM,GAAG,GAAG,MAAM,uBAAA,IAAI,0CAAW,CAAC;YAClC,OAAO,GAAG;iBACL,oBAAoB,CAAC,WAAW,EAAE,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;iBAClF,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,qBAAqB,CAAiC,MAAM,CAAC,CAAC;iBAC/E,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE;gBACX,MAAM,MAAM,mCAAkC,IAAI,KAAE,UAAU,EAAE,IAAI,GAAE,CAAC;gBACvE,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;oBAClB,MAAM,CAAC,UAAU,GAAG;wBAChB,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAiB,EAAE,EAAE,CACjD,uBAAA,IAAI,qDAAsB,C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,22 @@ export declare class DataSourceController {
|
|
|
22
22
|
* @param connectorId the id of your data connector
|
|
23
23
|
* @returns
|
|
24
24
|
*/
|
|
25
|
-
setDataSource: (connectorId: string) => Promise<import(
|
|
25
|
+
setDataSource: (connectorId: string) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
|
|
26
26
|
/**
|
|
27
27
|
* Gets the data source.
|
|
28
28
|
* @returns the connector object
|
|
29
29
|
*/
|
|
30
|
-
getDataSource: () => Promise<import(
|
|
30
|
+
getDataSource: () => Promise<import('../types/CommonTypes').EditorResponse<ConnectorInstance>>;
|
|
31
31
|
/**
|
|
32
32
|
* Removes the data source if defined.
|
|
33
33
|
* @returns
|
|
34
34
|
*/
|
|
35
|
-
removeDataSource: () => Promise<import(
|
|
35
|
+
removeDataSource: () => Promise<import('../types/CommonTypes').EditorResponse<null>>;
|
|
36
36
|
/**
|
|
37
37
|
* Maps the data row values to variables by names (data row keys).
|
|
38
38
|
* Variables must exist.
|
|
39
39
|
* @param dataRow DataItem to set
|
|
40
40
|
* @returns
|
|
41
41
|
*/
|
|
42
|
-
setDataRow: (dataRow: DataItem) => Promise<import(
|
|
42
|
+
setDataRow: (dataRow: DataItem) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
|
|
43
43
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataSourceController.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"DataSourceController.js","sourceRoot":"","sources":["../../../../src/controllers/DataSourceController.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAKpE;;;;;;;;GAQG;AACH,MAAM,OAAO,oBAAoB;IAO7B;;OAEG;IACH,YAAY,SAAoB,EAAE,oBAA0C;QAT5E;;WAEG;QACH,kDAAsB;QACtB,6DAA4C;QAU5C;;;;WAIG;QACH,kBAAa,GAAG,CAAO,WAAmB,EAAE,EAAE;YAC1C,MAAM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20 @@ export declare class DebugController {
|
|
|
14
14
|
* This method returns all debug logs
|
|
15
15
|
* @returns list of all debug logs
|
|
16
16
|
*/
|
|
17
|
-
getAllLogs: () => Promise<import(
|
|
17
|
+
getAllLogs: () => Promise<import('../types/CommonTypes').EditorResponse<DebugData[]>>;
|
|
18
18
|
/**
|
|
19
19
|
* This method toggles the showcase of debug panel
|
|
20
20
|
* @returns
|
|
21
21
|
*/
|
|
22
|
-
toggleDebugPanel: () => Promise<import(
|
|
22
|
+
toggleDebugPanel: () => Promise<import('../types/CommonTypes').EditorResponse<null>>;
|
|
23
23
|
/**
|
|
24
24
|
* This method enables the debugging
|
|
25
25
|
* @returns
|
|
26
26
|
*/
|
|
27
|
-
enableDebug: () => Promise<import(
|
|
27
|
+
enableDebug: () => Promise<import('../types/CommonTypes').EditorResponse<null>>;
|
|
28
28
|
/**
|
|
29
29
|
* This method disables the debugging
|
|
30
30
|
* @returns
|
|
31
31
|
*/
|
|
32
|
-
disableDebug: () => Promise<import(
|
|
32
|
+
disableDebug: () => Promise<import('../types/CommonTypes').EditorResponse<null>>;
|
|
33
33
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DebugController.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"DebugController.js","sourceRoot":"","sources":["../../../../src/controllers/DebugController.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAGpE;;;GAGG;AACH,MAAM,OAAO,eAAe;IAMxB;;OAEG;IACH,YAAY,SAAoB;QARhC;;WAEG;QACH,6CAAsB;QAStB;;;WAGG;QACH,eAAU,GAAG,GAAS,EAAE;YACpB,MAAM,GAAG,GAAG,MAAM,uBAAA,IAAI,kCAAW,CAAC;YAClC,OAAO,GAAG,CAAC,OAAO,EAAE,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,qBAAqB,CAAc,MAAM,CAAC,CAAC,CAAC;QACtF,CAAC,CAAA,CAAC;QAEF;;;WAGG;QACH,qBAAgB,GAAG,GAAS,EAAE;YAC1B,MAAM,GAAG,GAAG,MAAM,uBAAA,IAAI,kCAAW,CAAC;YAClC,OAAO,GAAG,CAAC,gBAAgB,EAAE,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,qBAAqB,CAAO,MAAM,CAAC,CAAC,CAAC;QACxF,CAAC,CAAA,CAAC;QAEF;;;WAGG;QACH,gBAAW,GAAG,GAAS,EAAE;YACrB,MAAM,GAAG,GAAG,MAAM,uBAAA,IAAI,kCAAW,CAAC;YAClC,OAAO,GAAG,CAAC,WAAW,EAAE,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,qBAAqB,CAAO,MAAM,CAAC,CAAC,CAAC;QACnF,CAAC,CAAA,CAAC;QAEF;;;WAGG;QACH,iBAAY,GAAG,GAAS,EAAE;YACtB,MAAM,GAAG,GAAG,MAAM,uBAAA,IAAI,kCAAW,CAAC;YAClC,OAAO,GAAG,CAAC,YAAY,EAAE,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,qBAAqB,CAAO,MAAM,CAAC,CAAC,CAAC;QACpF,CAAC,CAAA,CAAC;QArCE,uBAAA,IAAI,8BAAc,SAAS,MAAA,CAAC;IAChC,CAAC;CAqCJ"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EditorAPI } from '../types/CommonTypes';
|
|
2
|
-
import
|
|
2
|
+
import { ChiliDocument, DocumentLoadOptions } from '../types/DocumentTypes';
|
|
3
3
|
import { LayoutPreset } from '../types/LayoutTypes';
|
|
4
4
|
/**
|
|
5
5
|
* The DocumentController is responsible for all communication regarding the Document.
|
|
@@ -15,7 +15,7 @@ export declare class DocumentController {
|
|
|
15
15
|
* This method retrieves the current document state from the editor
|
|
16
16
|
* @returns the JSON document in the form of a string
|
|
17
17
|
*/
|
|
18
|
-
getCurrentState: () => Promise<import(
|
|
18
|
+
getCurrentState: () => Promise<import('../types/CommonTypes').EditorResponse<ChiliDocument>>;
|
|
19
19
|
/**
|
|
20
20
|
* This method will load a provided document in the ChiliDocument format and
|
|
21
21
|
* clean old document states.
|
|
@@ -28,11 +28,11 @@ export declare class DocumentController {
|
|
|
28
28
|
* @param options the options object for setting up the document load
|
|
29
29
|
* @returns the document loaded inside of the canvas
|
|
30
30
|
*/
|
|
31
|
-
load: (doc: ChiliDocument | string, options?: DocumentLoadOptions) => Promise<import(
|
|
31
|
+
load: (doc: ChiliDocument | string, options?: DocumentLoadOptions) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
|
|
32
32
|
/**
|
|
33
33
|
* This method will create a new document, based on a document preset
|
|
34
34
|
* @param preset the preset where we will create a document of.
|
|
35
35
|
* @returns the new document created and loaded inside of the canvas
|
|
36
36
|
*/
|
|
37
|
-
createAndLoad: (preset: LayoutPreset) => Promise<import(
|
|
37
|
+
createAndLoad: (preset: LayoutPreset) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
|
|
38
38
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocumentController.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"DocumentController.js","sourceRoot":"","sources":["../../../../src/controllers/DocumentController.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAIA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE;;;GAGG;AAEH,MAAM,OAAO,kBAAkB;IAM3B;;OAEG;IACH,YAAY,SAAoB;QARhC;;WAEG;QACH,gDAAsB;QAStB;;;WAGG;QACH,oBAAe,GAAG,GAAS,EAAE;YACzB,MAAM,GAAG,GAAG,MAAM,uBAAA,IAAI,qCAAW,CAAC;YAClC,OAAO,GAAG,CAAC,uBAAuB,EAAE,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,qBAAqB,CAAgB,MAAM,CAAC,CAAC,CAAC;QACxG,CAAC,CAAA,CAAC;QAEF;;;;;;;;;;;WAWG;QACH,SAAI,GAAG,mBAA8F,EAAE,wDAAzF,GAA2B,EAAE,UAA+B,EAAE,cAAc,EAAE,KAAK,EAAE;YAC/F,MAAM,GAAG,GAAG,MAAM,uBAAA,IAAI,qCAAW,CAAC;YAElC,MAAM,SAAS,GAAG,OAAO,GAAG,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;YAEtE,OAAO,GAAG;iBACL,YAAY,CAAC,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC;iBAChD,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,qBAAqB,CAAO,MAAM,CAAC,CAAC,CAAC;QAC/D,CAAC,CAAA,CAAC;QAEF;;;;WAIG;QACH,kBAAa,GAAG,CAAO,MAAoB,EAAE,EAAE;YAC3C,MAAM,GAAG,GAAG,MAAM,uBAAA,IAAI,qCAAW,CAAC;YAElC,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;YAEzC,OAAO,GAAG,CAAC,qBAAqB,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,qBAAqB,CAAO,MAAM,CAAC,CAAC,CAAC;QACtG,CAAC,CAAA,CAAC;QA7CE,uBAAA,IAAI,iCAAc,SAAS,MAAA,CAAC;IAChC,CAAC;CA6CJ"}
|
|
@@ -18,25 +18,25 @@ export declare class ExperimentController {
|
|
|
18
18
|
* @param variableId the id of the variable which contains the image
|
|
19
19
|
* @returns
|
|
20
20
|
*/
|
|
21
|
-
insertImageVariableToFrame: (imageFrameId: Id, variableId: Id) => Promise<import(
|
|
21
|
+
insertImageVariableToFrame: (imageFrameId: Id, variableId: Id) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
|
|
22
22
|
/**
|
|
23
23
|
* This method will insert a text variable in the selected frame. Calling this method
|
|
24
24
|
* requires that the selected frame is in text editing mode.
|
|
25
25
|
* @param id the id of the variable to be inserted.
|
|
26
26
|
* @returns
|
|
27
27
|
*/
|
|
28
|
-
insertTextVariable: (id: Id) => Promise<import(
|
|
28
|
+
insertTextVariable: (id: Id) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
|
|
29
29
|
/**
|
|
30
30
|
* This method will enter text editing mode on the provided frame.
|
|
31
31
|
* @param id the id frame to enter text edit mode on.
|
|
32
32
|
* @returns
|
|
33
33
|
*/
|
|
34
|
-
enterTextEditMode: (id: Id) => Promise<import(
|
|
34
|
+
enterTextEditMode: (id: Id) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
|
|
35
35
|
/**
|
|
36
36
|
* This method will exit text editing mode.
|
|
37
37
|
* @returns
|
|
38
38
|
*/
|
|
39
|
-
exitTextEditMode: () => Promise<import(
|
|
39
|
+
exitTextEditMode: () => Promise<import('../types/CommonTypes').EditorResponse<null>>;
|
|
40
40
|
/**
|
|
41
41
|
* This method gets the text content of a text frame.
|
|
42
42
|
* The variables contained in the text will return their values only if you
|
|
@@ -45,14 +45,14 @@ export declare class ExperimentController {
|
|
|
45
45
|
* @param textType The type of the text
|
|
46
46
|
* @returns the text content
|
|
47
47
|
*/
|
|
48
|
-
getText: (frameId: string, textType: TextType) => Promise<import(
|
|
48
|
+
getText: (frameId: string, textType: TextType) => Promise<import('../types/CommonTypes').EditorResponse<string>>;
|
|
49
49
|
/**
|
|
50
50
|
* This method sets the text content of a text frame
|
|
51
51
|
* @param frameId The ID of a text frame
|
|
52
52
|
* @param text The new text content
|
|
53
53
|
* @returns
|
|
54
54
|
*/
|
|
55
|
-
setText: (frameId: string, text: string) => Promise<import(
|
|
55
|
+
setText: (frameId: string, text: string) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
|
|
56
56
|
/**
|
|
57
57
|
* This method selects the text content of a text frame
|
|
58
58
|
* @param frameId The ID of a text frame
|
|
@@ -60,7 +60,7 @@ export declare class ExperimentController {
|
|
|
60
60
|
* @param length The length of selection from startIndex
|
|
61
61
|
* @returns
|
|
62
62
|
*/
|
|
63
|
-
selectText: (frameId: string, startIndex: number, length: number) => Promise<import(
|
|
63
|
+
selectText: (frameId: string, startIndex: number, length: number) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
|
|
64
64
|
/**
|
|
65
65
|
* This method adds custom data that will be saved and restored when undoing and redoing.
|
|
66
66
|
* Duplicate values are overwritten. The data is exposed via the onCustomUndoDataChanged event.
|
|
@@ -70,5 +70,5 @@ export declare class ExperimentController {
|
|
|
70
70
|
* @param skipEvent Whether to skip the event that is triggered when the custom data is changed, defaults to false
|
|
71
71
|
* @returns
|
|
72
72
|
*/
|
|
73
|
-
addCustomUndoData: (key: string, value: string, skipEvent?: boolean) => Promise<import(
|
|
73
|
+
addCustomUndoData: (key: string, value: string, skipEvent?: boolean) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
|
|
74
74
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExperimentController.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"ExperimentController.js","sourceRoot":"","sources":["../../../../src/controllers/ExperimentController.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAA4B,MAAM,qBAAqB,CAAC;AAGpF;;;;;GAKG;AACH,MAAM,OAAO,oBAAoB;IAM7B;;OAEG;IACH,YAAY,SAAoB;QARhC;;WAEG;QACH,kDAAsB;QAStB;;;;;WAKG;QACH,+BAA0B,GAAG,CAAO,YAAgB,EAAE,UAAc,EAAE,EAAE;YACpE,MAAM,GAAG,GAAG,MAAM,uBAAA,IAAI,uCAAW,CAAC;YAClC,MAAM,GAAG,GAA6B,EAAE,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,mBAAmB,CAAC,QAAQ,EAAE,CAAC;YAC7F,OAAO,GAA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ConnectorTypes';
|
|
1
|
+
import { EditorAPI, EditorResponse } from '../types/CommonTypes';
|
|
2
|
+
import { ConnectorConfigOptions, DeprecatedMediaType, MediaType, MetaData, QueryOptions, QueryPage } from '../types/ConnectorTypes';
|
|
3
3
|
import { FontConnectorCapabilities, FontFamily, FontPreviewFormat, FontStyle } from '../types/FontConnectorTypes';
|
|
4
4
|
/**
|
|
5
5
|
* The FontConnectorController is responsible for all communication regarding Font connectors.
|
|
@@ -19,8 +19,8 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
19
19
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
20
20
|
};
|
|
21
21
|
var _FontConnectorController_editorAPI, _FontConnectorController_blobAPI;
|
|
22
|
+
import { DeprecatedMediaType, MediaType, } from '../types/ConnectorTypes';
|
|
22
23
|
import { getEditorResponseData } from '../utils/EditorResponseData';
|
|
23
|
-
import { DeprecatedMediaType, MediaType } from '../types/ConnectorTypes';
|
|
24
24
|
/**
|
|
25
25
|
* The FontConnectorController is responsible for all communication regarding Font connectors.
|
|
26
26
|
* Methods inside this controller can be called by `window.SDK.FontConnector.{method-name}`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FontConnectorController.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"FontConnectorController.js","sourceRoot":"","sources":["../../../../src/controllers/FontConnectorController.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAEA,OAAO,EAEH,mBAAmB,EACnB,SAAS,GAIZ,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAEpE;;;;;;;;;;;;GAYG;AACH,MAAM,OAAO,uBAAuB;IAOhC;;OAEG;IACH,YAAY,SAAoB;QAThC;;WAEG;QACH,qDAAsB;QACtB,mDAAuB;QAUvB;;;;;;;WAOG;QACH,UAAK,GAAG,2CAAgF,EAAE,gFAA3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,80 +16,80 @@ export declare class FontController {
|
|
|
16
16
|
* @param fontFamily the font family object
|
|
17
17
|
* @returns id generated on the engine side `CONNECTOR_ID::FONT_FAMILY_ID`
|
|
18
18
|
*/
|
|
19
|
-
addFontFamily: (connectorId: Id, fontFamily: AddDocumentFontFamily) => Promise<import(
|
|
19
|
+
addFontFamily: (connectorId: Id, fontFamily: AddDocumentFontFamily) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
|
|
20
20
|
/**
|
|
21
21
|
* This method removes a font family
|
|
22
22
|
* @param id the id of a specific font family
|
|
23
23
|
* @returns
|
|
24
24
|
*/
|
|
25
|
-
removeFontFamily: (id: Id) => Promise<import(
|
|
25
|
+
removeFontFamily: (id: Id) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
|
|
26
26
|
/**
|
|
27
27
|
* This method adds a font style
|
|
28
28
|
* @param connectorId unique id of the font connector
|
|
29
29
|
* @param fontStyle the font object
|
|
30
30
|
* @returns id generated on the engine side `CONNECTOR_ID::FONT_FAMILY_ID::FONT_STYLE_ID`
|
|
31
31
|
*/
|
|
32
|
-
addFontStyle: (connectorId: Id, fontStyle: AddDocumentFontStyle) => Promise<import(
|
|
32
|
+
addFontStyle: (connectorId: Id, fontStyle: AddDocumentFontStyle) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
|
|
33
33
|
/**
|
|
34
34
|
* This method removes a font style
|
|
35
35
|
* @param id the id of a specific font style
|
|
36
36
|
* @returns
|
|
37
37
|
*/
|
|
38
|
-
removeFontStyle: (id: Id) => Promise<import(
|
|
38
|
+
removeFontStyle: (id: Id) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
|
|
39
39
|
/**
|
|
40
40
|
* This method returns the list of font families
|
|
41
41
|
* @returns DocumentFontFamily[]
|
|
42
42
|
*/
|
|
43
|
-
getFontFamilies: () => Promise<import(
|
|
43
|
+
getFontFamilies: () => Promise<import('../types/CommonTypes').EditorResponse<DocumentFontFamily[]>>;
|
|
44
44
|
/**
|
|
45
45
|
* This method returns the list of font styles for a specific family
|
|
46
46
|
* @param id the id of a specific font style
|
|
47
47
|
* @returns DocumentFontStyle[]
|
|
48
48
|
*/
|
|
49
|
-
getFontStyles: (id: Id) => Promise<import(
|
|
49
|
+
getFontStyles: (id: Id) => Promise<import('../types/CommonTypes').EditorResponse<DocumentFontStyle[]>>;
|
|
50
50
|
/**
|
|
51
51
|
* This method returns a font family by id
|
|
52
52
|
* @param id the id of a specific font family
|
|
53
53
|
* @returns DocumentFontFamily properties
|
|
54
54
|
*/
|
|
55
|
-
getFontFamilyById: (id: Id) => Promise<import(
|
|
55
|
+
getFontFamilyById: (id: Id) => Promise<import('../types/CommonTypes').EditorResponse<DocumentFontFamily>>;
|
|
56
56
|
/**
|
|
57
57
|
* This method returns a font style by id
|
|
58
58
|
* @param id the id of a specific font style
|
|
59
59
|
* @returns DocumentFontStyle properties
|
|
60
60
|
*/
|
|
61
|
-
getFontStyleById: (id: Id) => Promise<import(
|
|
61
|
+
getFontStyleById: (id: Id) => Promise<import('../types/CommonTypes').EditorResponse<DocumentFontStyle>>;
|
|
62
62
|
/**
|
|
63
63
|
* This method returns the default font.
|
|
64
64
|
* Be aware that the default font will not change during the entire lifetime of the SDK session.
|
|
65
65
|
* It is not necessary to call this more than once in an integration, this value can be safely stored during the lifetime of this SDK session.
|
|
66
66
|
* @returns a default DocumentFontStyle
|
|
67
67
|
*/
|
|
68
|
-
getDefaultFontStyle: () => Promise<import(
|
|
68
|
+
getDefaultFontStyle: () => Promise<import('../types/CommonTypes').EditorResponse<DocumentFontStyle>>;
|
|
69
69
|
/**
|
|
70
70
|
* This method returns the default font family.
|
|
71
71
|
* Be aware that the default font family will not change during the entire lifetime of the SDK session.
|
|
72
72
|
* It is not necessary to call this more than once in an integration, this value can be safely stored during the lifetime of this SDK session.
|
|
73
73
|
* @returns a default DocumentFontFamily
|
|
74
74
|
*/
|
|
75
|
-
getDefaultFontFamily: () => Promise<import(
|
|
75
|
+
getDefaultFontFamily: () => Promise<import('../types/CommonTypes').EditorResponse<DocumentFontFamily>>;
|
|
76
76
|
/**
|
|
77
77
|
* Check if the font family is used anywhere in the document
|
|
78
78
|
* @param id the id of the font family to check
|
|
79
79
|
* @returns boolean
|
|
80
80
|
*/
|
|
81
|
-
isFontFamilyUsed: (id: Id) => Promise<import(
|
|
81
|
+
isFontFamilyUsed: (id: Id) => Promise<import('../types/CommonTypes').EditorResponse<boolean>>;
|
|
82
82
|
/**
|
|
83
83
|
* Check if the font style is used anywhere in the document
|
|
84
84
|
* @param id the id of the font style to check
|
|
85
85
|
* @returns boolean
|
|
86
86
|
*/
|
|
87
|
-
isFontStyleUsed: (id: Id) => Promise<import(
|
|
87
|
+
isFontStyleUsed: (id: Id) => Promise<import('../types/CommonTypes').EditorResponse<boolean>>;
|
|
88
88
|
/**
|
|
89
89
|
* This method changes positions of font families
|
|
90
90
|
* @param order the position of the font family
|
|
91
91
|
* @param ids the list of font family IDs
|
|
92
92
|
* @returns
|
|
93
93
|
*/
|
|
94
|
-
moveFontFamilies: (order: number, ids: string[]) => Promise<import(
|
|
94
|
+
moveFontFamilies: (order: number, ids: string[]) => Promise<import('../types/CommonTypes').EditorResponse<null>>;
|
|
95
95
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FontController.js","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"FontController.js","sourceRoot":"","sources":["../../../../src/controllers/FontController.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAEpE;;;GAGG;AACH,MAAM,OAAO,cAAc;IAMvB;;OAEG;IACH,YAAY,SAAoB;QARhC;;WAEG;QACH,4CAAsB;QAStB;;;;;WAKG;QACH,kBAAa,GAAG,CAAO,WAAe,EAAE,UAAiC,EAAE,EAAE;YACzE,MAAM,GAAG,GAAG,MAAM,uBAAA,IAAI,iCAAW,CAAC;YAClC,OAAO,GAAG;iBACL,aAAa,C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
import
|
|
3
|
+
import { EditorAPI, EditorResponse, Id } from '../types/CommonTypes';
|
|
4
4
|
import { AnchorTarget, AutoGrowDirection, BlendMode, CropType, FitMode, FitModePosition, FrameAnchorType, FrameConfiguration, FrameLayoutType, FrameType, FrameTypeEnum, UpdateZIndexMethod, VerticalAlign } from '../types/FrameTypes';
|
|
5
5
|
import { ShapeType } from '../types/ShapeTypes';
|
|
6
6
|
/**
|