@chili-publish/studio-sdk 1.12.0 → 1.13.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.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/ConfigurationController.d.ts +6 -6
- package/lib/src/controllers/ConfigurationController.js +31 -23
- package/lib/src/controllers/ConfigurationController.js.map +1 -1
- package/lib/src/controllers/ConnectorController.d.ts +2 -2
- package/lib/src/controllers/ConnectorController.js +35 -6
- package/lib/src/controllers/ConnectorController.js.map +1 -1
- package/lib/src/controllers/FrameController.d.ts +85 -1
- package/lib/src/controllers/FrameController.js +169 -0
- package/lib/src/controllers/FrameController.js.map +1 -1
- package/lib/src/controllers/SubscriberController.d.ts +5 -1
- package/lib/src/controllers/SubscriberController.js +7 -2
- package/lib/src/controllers/SubscriberController.js.map +1 -1
- package/lib/src/controllers/VariableController.d.ts +26 -0
- package/lib/src/controllers/VariableController.js +54 -3
- package/lib/src/controllers/VariableController.js.map +1 -1
- package/lib/src/index.d.ts +2 -2
- package/lib/src/index.js +1 -1
- package/lib/src/index.js.map +1 -1
- package/lib/src/next/NextInitiator.d.ts +2 -0
- package/lib/src/next/NextInitiator.js +2 -0
- package/lib/src/next/NextInitiator.js.map +1 -1
- package/lib/src/next/controllers/ConnectorController.d.ts +43 -0
- package/lib/src/next/controllers/ConnectorController.js +79 -0
- package/lib/src/next/controllers/ConnectorController.js.map +1 -0
- package/lib/src/next/controllers/SubscriberController.d.ts +5 -0
- package/lib/src/next/controllers/SubscriberController.js +8 -0
- package/lib/src/next/controllers/SubscriberController.js.map +1 -1
- package/lib/src/next/controllers/VariableController.d.ts +10 -0
- package/lib/src/next/controllers/VariableController.js +14 -0
- package/lib/src/next/controllers/VariableController.js.map +1 -1
- package/lib/src/next/index.d.ts +1 -0
- package/lib/src/next/tests/controllers/ConnectorController.test.js +72 -0
- package/lib/src/next/tests/controllers/ConnectorController.test.js.map +1 -0
- package/lib/src/next/tests/controllers/SubscriberContoller.test.d.ts +1 -0
- package/lib/src/next/tests/controllers/SubscriberContoller.test.js +44 -0
- package/lib/src/next/tests/controllers/SubscriberContoller.test.js.map +1 -0
- package/lib/src/next/tests/controllers/VariableController.test.js +34 -1
- package/lib/src/next/tests/controllers/VariableController.test.js.map +1 -1
- package/lib/src/next/types/ConnectorTypes.d.ts +44 -0
- package/lib/src/next/types/ConnectorTypes.js +22 -0
- package/lib/src/next/types/ConnectorTypes.js.map +1 -0
- package/lib/src/next/types/VariableTypes.d.ts +10 -0
- package/lib/src/next/types/VariableTypes.js +11 -1
- package/lib/src/next/types/VariableTypes.js.map +1 -1
- package/lib/src/sdk.d.ts +2 -1
- package/lib/src/sdk.js +7 -6
- package/lib/src/sdk.js.map +1 -1
- package/lib/src/tests/__mocks__/localConfig.d.ts +2 -0
- package/lib/src/tests/__mocks__/localConfig.js +4 -0
- package/lib/src/tests/__mocks__/localConfig.js.map +1 -0
- package/lib/src/tests/controllers/ConnectorController.test.js +54 -10
- package/lib/src/tests/controllers/ConnectorController.test.js.map +1 -1
- package/lib/src/tests/controllers/FrameController.test.js +99 -1
- package/lib/src/tests/controllers/FrameController.test.js.map +1 -1
- package/lib/src/tests/controllers/SubscriberContoller.test.js +36 -6
- package/lib/src/tests/controllers/SubscriberContoller.test.js.map +1 -1
- package/lib/src/tests/controllers/VariableController.test.js +40 -1
- package/lib/src/tests/controllers/VariableController.test.js.map +1 -1
- package/lib/src/tests/utils/ConnectorCompatibilityTools.test.d.ts +1 -0
- package/lib/src/tests/utils/ConnectorCompatibilityTools.test.js +74 -0
- package/lib/src/tests/utils/ConnectorCompatibilityTools.test.js.map +1 -0
- package/lib/src/tests/utils/LocalConfigurationDecorator.test.d.ts +1 -0
- package/lib/src/tests/utils/LocalConfigurationDecorator.test.js +61 -0
- package/lib/src/tests/utils/LocalConfigurationDecorator.test.js.map +1 -0
- package/lib/src/types/ConnectorTypes.d.ts +2 -2
- package/lib/src/types/ConnectorTypes.js +1 -1
- package/lib/src/types/FrameTypes.d.ts +43 -0
- package/lib/src/types/FrameTypes.js +7 -0
- package/lib/src/types/FrameTypes.js.map +1 -1
- package/lib/src/types/VariableTypes.d.ts +2 -0
- package/lib/src/types/VariableTypes.js.map +1 -1
- package/lib/src/utils/ConnectorCompatibilityTools.d.ts +17 -0
- package/lib/src/utils/ConnectorCompatibilityTools.js +54 -0
- package/lib/src/utils/ConnectorCompatibilityTools.js.map +1 -0
- package/lib/src/utils/LocalConfigurationDecorator.d.ts +23 -0
- package/lib/src/utils/LocalConfigurationDecorator.js +76 -0
- package/lib/src/utils/LocalConfigurationDecorator.js.map +1 -0
- package/package.json +1 -1
- package/lib/src/tests/controllers/ConfigurationConnectorController.test.js +0 -54
- package/lib/src/tests/controllers/ConfigurationConnectorController.test.js.map +0 -1
- /package/lib/src/{tests/controllers/ConfigurationConnectorController.test.d.ts → next/tests/controllers/ConnectorController.test.d.ts} +0 -0
package/_bundles/report.html
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8"/>
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
6
|
-
<title>@chili-publish/studio-sdk [
|
|
6
|
+
<title>@chili-publish/studio-sdk [5 Aug 2024 at 13:59]</title>
|
|
7
7
|
<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAABrVBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+O1foceMD///+J0/qK1Pr7/v8Xdr/9///W8P4UdL7L7P0Scr2r4Pyj3vwad8D5/f/2/f+55f3E6f34+/2H0/ojfMKpzOd0rNgQcb3F3O/j9f7c8v6g3Pz0/P/w+v/q+P7n9v6T1/uQ1vuE0vqLut/y+v+Z2fvt+f+15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
<script>
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
<body>
|
|
32
32
|
<div id="app"></div>
|
|
33
33
|
<script>
|
|
34
|
-
window.chartData = [{"label":"main.js","isAsset":true,"statSize":319517,"parsedSize":166474,"gzipSize":20927,"groups":[{"label":"src","path":"./src","statSize":319517,"groups":[{"id":732,"label":"index.ts + 71 modules (concatenated)","path":"./src/index.ts + 71 modules (concatenated)","statSize":319517,"parsedSize":166474,"gzipSize":20927,"concatenated":true,"groups":[{"label":"src","path":"./src/index.ts + 71 modules (concatenated)/src","statSize":289939,"groups":[{"id":null,"label":"index.ts","path":"./src/index.ts + 71 modules (concatenated)/src/index.ts","statSize":1254,"parsedSize":653,"gzipSize":82,"inaccurateSizes":true},{"id":null,"label":"sdk.ts","path":"./src/index.ts + 71 modules (concatenated)/src/sdk.ts","statSize":11467,"parsedSize":5974,"gzipSize":751,"inaccurateSizes":true},{"label":"types","path":"./src/index.ts + 71 modules (concatenated)/src/types","statSize":22274,"groups":[{"id":null,"label":"ConfigurationTypes.ts","path":"./src/index.ts + 71 modules (concatenated)/src/types/ConfigurationTypes.ts","statSize":1070,"parsedSize":557,"gzipSize":70,"inaccurateSizes":true},{"id":null,"label":"DocumentTypes.ts","path":"./src/index.ts + 71 modules (concatenated)/src/types/DocumentTypes.ts","statSize":660,"parsedSize":343,"gzipSize":43,"inaccurateSizes":true},{"id":null,"label":"ConnectorTypes.ts","path":"./src/index.ts + 71 modules (concatenated)/src/types/ConnectorTypes.ts","statSize":6307,"parsedSize":3286,"gzipSize":413,"inaccurateSizes":true},{"id":null,"label":"FrameTypes.ts","path":"./src/index.ts + 71 modules (concatenated)/src/types/FrameTypes.ts","statSize":2639,"parsedSize":1374,"gzipSize":172,"inaccurateSizes":true},{"id":null,"label":"LayoutTypes.ts","path":"./src/index.ts + 71 modules (concatenated)/src/types/LayoutTypes.ts","statSize":907,"parsedSize":472,"gzipSize":59,"inaccurateSizes":true},{"id":null,"label":"MediaConnectorTypes.ts","path":"./src/index.ts + 71 modules (concatenated)/src/types/MediaConnectorTypes.ts","statSize":468,"parsedSize":243,"gzipSize":30,"inaccurateSizes":true},{"id":null,"label":"VariableTypes.ts","path":"./src/index.ts + 71 modules (concatenated)/src/types/VariableTypes.ts","statSize":1100,"parsedSize":573,"gzipSize":72,"inaccurateSizes":true},{"id":null,"label":"BarcodeTypes.ts","path":"./src/index.ts + 71 modules (concatenated)/src/types/BarcodeTypes.ts","statSize":1744,"parsedSize":908,"gzipSize":114,"inaccurateSizes":true},{"id":null,"label":"AnimationTypes.ts","path":"./src/index.ts + 71 modules (concatenated)/src/types/AnimationTypes.ts","statSize":2065,"parsedSize":1075,"gzipSize":135,"inaccurateSizes":true},{"id":null,"label":"ViewModeTypes.ts","path":"./src/index.ts + 71 modules (concatenated)/src/types/ViewModeTypes.ts","statSize":149,"parsedSize":77,"gzipSize":9,"inaccurateSizes":true},{"id":null,"label":"TextStyleTypes.ts","path":"./src/index.ts + 71 modules (concatenated)/src/types/TextStyleTypes.ts","statSize":2950,"parsedSize":1537,"gzipSize":193,"inaccurateSizes":true},{"id":null,"label":"ColorStyleTypes.ts","path":"./src/index.ts + 71 modules (concatenated)/src/types/ColorStyleTypes.ts","statSize":583,"parsedSize":303,"gzipSize":38,"inaccurateSizes":true},{"id":null,"label":"FontConnectorTypes.ts","path":"./src/index.ts + 71 modules (concatenated)/src/types/FontConnectorTypes.ts","statSize":197,"parsedSize":102,"gzipSize":12,"inaccurateSizes":true},{"id":null,"label":"ActionTypes.ts","path":"./src/index.ts + 71 modules (concatenated)/src/types/ActionTypes.ts","statSize":1012,"parsedSize":527,"gzipSize":66,"inaccurateSizes":true},{"id":null,"label":"ShapeTypes.ts","path":"./src/index.ts + 71 modules (concatenated)/src/types/ShapeTypes.ts","statSize":423,"parsedSize":220,"gzipSize":27,"inaccurateSizes":true}],"parsedSize":11605,"gzipSize":1458,"inaccurateSizes":true},{"label":"utils","path":"./src/index.ts + 71 modules (concatenated)/src/utils","statSize":2889,"groups":[{"id":null,"label":"enums.ts","path":"./src/index.ts + 71 modules (concatenated)/src/utils/enums.ts","statSize":1750,"parsedSize":911,"gzipSize":114,"inaccurateSizes":true},{"id":null,"label":"EditorResponseData.ts","path":"./src/index.ts + 71 modules (concatenated)/src/utils/EditorResponseData.ts","statSize":996,"parsedSize":518,"gzipSize":65,"inaccurateSizes":true},{"id":null,"label":"MathUtils.ts","path":"./src/index.ts + 71 modules (concatenated)/src/utils/MathUtils.ts","statSize":143,"parsedSize":74,"gzipSize":9,"inaccurateSizes":true}],"parsedSize":1505,"gzipSize":189,"inaccurateSizes":true},{"label":"interactions","path":"./src/index.ts + 71 modules (concatenated)/src/interactions","statSize":4829,"groups":[{"id":null,"label":"connector.ts","path":"./src/index.ts + 71 modules (concatenated)/src/interactions/connector.ts","statSize":4829,"parsedSize":2515,"gzipSize":316,"inaccurateSizes":true}],"parsedSize":2515,"gzipSize":316,"inaccurateSizes":true},{"label":"controllers","path":"./src/index.ts + 71 modules (concatenated)/src/controllers","statSize":240983,"groups":[{"id":null,"label":"ActionController.ts","path":"./src/index.ts + 71 modules (concatenated)/src/controllers/ActionController.ts","statSize":7433,"parsedSize":3872,"gzipSize":486,"inaccurateSizes":true},{"id":null,"label":"AnimationController.ts","path":"./src/index.ts + 71 modules (concatenated)/src/controllers/AnimationController.ts","statSize":7249,"parsedSize":3776,"gzipSize":474,"inaccurateSizes":true},{"id":null,"label":"CanvasController.ts","path":"./src/index.ts + 71 modules (concatenated)/src/controllers/CanvasController.ts","statSize":4499,"parsedSize":2344,"gzipSize":294,"inaccurateSizes":true},{"id":null,"label":"CharacterStyleController.ts","path":"./src/index.ts + 71 modules (concatenated)/src/controllers/CharacterStyleController.ts","statSize":6660,"parsedSize":3469,"gzipSize":436,"inaccurateSizes":true},{"id":null,"label":"ColorStyleController.ts","path":"./src/index.ts + 71 modules (concatenated)/src/controllers/ColorStyleController.ts","statSize":5988,"parsedSize":3119,"gzipSize":392,"inaccurateSizes":true},{"id":null,"label":"ColorConversionController.ts","path":"./src/index.ts + 71 modules (concatenated)/src/controllers/ColorConversionController.ts","statSize":2928,"parsedSize":1525,"gzipSize":191,"inaccurateSizes":true},{"id":null,"label":"ConfigurationController.ts","path":"./src/index.ts + 71 modules (concatenated)/src/controllers/ConfigurationController.ts","statSize":4592,"parsedSize":2392,"gzipSize":300,"inaccurateSizes":true},{"id":null,"label":"ConnectorController.ts","path":"./src/index.ts + 71 modules (concatenated)/src/controllers/ConnectorController.ts","statSize":13669,"parsedSize":7121,"gzipSize":895,"inaccurateSizes":true},{"id":null,"label":"DebugController.ts","path":"./src/index.ts + 71 modules (concatenated)/src/controllers/DebugController.ts","statSize":3842,"parsedSize":2001,"gzipSize":251,"inaccurateSizes":true},{"id":null,"label":"DocumentController.ts","path":"./src/index.ts + 71 modules (concatenated)/src/controllers/DocumentController.ts","statSize":3969,"parsedSize":2067,"gzipSize":259,"inaccurateSizes":true},{"id":null,"label":"ExperimentController.ts","path":"./src/index.ts + 71 modules (concatenated)/src/controllers/ExperimentController.ts","statSize":6512,"parsedSize":3392,"gzipSize":426,"inaccurateSizes":true},{"id":null,"label":"FontConnectorController.ts","path":"./src/index.ts + 71 modules (concatenated)/src/controllers/FontConnectorController.ts","statSize":9200,"parsedSize":4793,"gzipSize":602,"inaccurateSizes":true},{"id":null,"label":"FontController.ts","path":"./src/index.ts + 71 modules (concatenated)/src/controllers/FontController.ts","statSize":9036,"parsedSize":4707,"gzipSize":591,"inaccurateSizes":true},{"id":null,"label":"FrameController.ts","path":"./src/index.ts + 71 modules (concatenated)/src/controllers/FrameController.ts","statSize":32840,"parsedSize":17110,"gzipSize":2150,"inaccurateSizes":true},{"id":null,"label":"ShapeController.ts","path":"./src/index.ts + 71 modules (concatenated)/src/controllers/ShapeController.ts","statSize":9127,"parsedSize":4755,"gzipSize":597,"inaccurateSizes":true},{"id":null,"label":"LayoutController.ts","path":"./src/index.ts + 71 modules (concatenated)/src/controllers/LayoutController.ts","statSize":16300,"parsedSize":8492,"gzipSize":1067,"inaccurateSizes":true},{"id":null,"label":"MediaConnectorController.ts","path":"./src/index.ts + 71 modules (concatenated)/src/controllers/MediaConnectorController.ts","statSize":9130,"parsedSize":4756,"gzipSize":597,"inaccurateSizes":true},{"id":null,"label":"PageController.ts","path":"./src/index.ts + 71 modules (concatenated)/src/controllers/PageController.ts","statSize":4406,"parsedSize":2295,"gzipSize":288,"inaccurateSizes":true},{"id":null,"label":"ParagraphStyleController.ts","path":"./src/index.ts + 71 modules (concatenated)/src/controllers/ParagraphStyleController.ts","statSize":6192,"parsedSize":3226,"gzipSize":405,"inaccurateSizes":true},{"id":null,"label":"SubscriberController.ts","path":"./src/index.ts + 71 modules (concatenated)/src/controllers/SubscriberController.ts","statSize":15729,"parsedSize":8195,"gzipSize":1030,"inaccurateSizes":true},{"id":null,"label":"TextStyleController.ts","path":"./src/index.ts + 71 modules (concatenated)/src/controllers/TextStyleController.ts","statSize":3957,"parsedSize":2061,"gzipSize":259,"inaccurateSizes":true},{"id":null,"label":"ToolController.ts","path":"./src/index.ts + 71 modules (concatenated)/src/controllers/ToolController.ts","statSize":5296,"parsedSize":2759,"gzipSize":346,"inaccurateSizes":true},{"id":null,"label":"UndoManagerController.ts","path":"./src/index.ts + 71 modules (concatenated)/src/controllers/UndoManagerController.ts","statSize":6355,"parsedSize":3311,"gzipSize":416,"inaccurateSizes":true},{"id":null,"label":"UtilsController.ts","path":"./src/index.ts + 71 modules (concatenated)/src/controllers/UtilsController.ts","statSize":1305,"parsedSize":679,"gzipSize":85,"inaccurateSizes":true},{"id":null,"label":"VariableController.ts","path":"./src/index.ts + 71 modules (concatenated)/src/controllers/VariableController.ts","statSize":23705,"parsedSize":12350,"gzipSize":1552,"inaccurateSizes":true},{"id":null,"label":"InfoController.ts","path":"./src/index.ts + 71 modules (concatenated)/src/controllers/InfoController.ts","statSize":658,"parsedSize":342,"gzipSize":43,"inaccurateSizes":true},{"id":null,"label":"ClipboardController.ts","path":"./src/index.ts + 71 modules (concatenated)/src/controllers/ClipboardController.ts","statSize":4643,"parsedSize":2419,"gzipSize":304,"inaccurateSizes":true},{"id":null,"label":"BarcodeController.ts","path":"./src/index.ts + 71 modules (concatenated)/src/controllers/BarcodeController.ts","statSize":15763,"parsedSize":8212,"gzipSize":1032,"inaccurateSizes":true}],"parsedSize":125556,"gzipSize":15783,"inaccurateSizes":true},{"label":"next","path":"./src/index.ts + 71 modules (concatenated)/src/next","statSize":6243,"groups":[{"id":null,"label":"NextInitiator.ts","path":"./src/index.ts + 71 modules (concatenated)/src/next/NextInitiator.ts","statSize":1488,"parsedSize":775,"gzipSize":97,"inaccurateSizes":true},{"label":"controllers","path":"./src/index.ts + 71 modules (concatenated)/src/next/controllers","statSize":4755,"groups":[{"id":null,"label":"VariableController.ts","path":"./src/index.ts + 71 modules (concatenated)/src/next/controllers/VariableController.ts","statSize":4086,"parsedSize":2128,"gzipSize":267,"inaccurateSizes":true},{"id":null,"label":"SubscriberController.ts","path":"./src/index.ts + 71 modules (concatenated)/src/next/controllers/SubscriberController.ts","statSize":669,"parsedSize":348,"gzipSize":43,"inaccurateSizes":true}],"parsedSize":2477,"gzipSize":311,"inaccurateSizes":true}],"parsedSize":3252,"gzipSize":408,"inaccurateSizes":true}],"parsedSize":151063,"gzipSize":18989,"inaccurateSizes":true},{"id":null,"label":"package.json","path":"./src/index.ts + 71 modules (concatenated)/package.json","statSize":2533,"parsedSize":1319,"gzipSize":165,"inaccurateSizes":true},{"id":null,"label":"editor-engine.json","path":"./src/index.ts + 71 modules (concatenated)/editor-engine.json","statSize":34,"parsedSize":17,"gzipSize":2,"inaccurateSizes":true},{"label":"node_modules/penpal/lib","path":"./src/index.ts + 71 modules (concatenated)/node_modules/penpal/lib","statSize":27011,"groups":[{"id":null,"label":"index.js","path":"./src/index.ts + 71 modules (concatenated)/node_modules/penpal/lib/index.js","statSize":176,"parsedSize":91,"gzipSize":11,"inaccurateSizes":true},{"label":"parent","path":"./src/index.ts + 71 modules (concatenated)/node_modules/penpal/lib/parent","statSize":8421,"groups":[{"id":null,"label":"connectToChild.js","path":"./src/index.ts + 71 modules (concatenated)/node_modules/penpal/lib/parent/connectToChild.js","statSize":2916,"parsedSize":1519,"gzipSize":190,"inaccurateSizes":true},{"id":null,"label":"getOriginFromSrc.js","path":"./src/index.ts + 71 modules (concatenated)/node_modules/penpal/lib/parent/getOriginFromSrc.js","statSize":1665,"parsedSize":867,"gzipSize":109,"inaccurateSizes":true},{"id":null,"label":"handleAckMessageFactory.js","path":"./src/index.ts + 71 modules (concatenated)/node_modules/penpal/lib/parent/handleAckMessageFactory.js","statSize":2012,"parsedSize":1048,"gzipSize":131,"inaccurateSizes":true},{"id":null,"label":"handleSynMessageFactory.js","path":"./src/index.ts + 71 modules (concatenated)/node_modules/penpal/lib/parent/handleSynMessageFactory.js","statSize":689,"parsedSize":358,"gzipSize":45,"inaccurateSizes":true},{"id":null,"label":"validateIframeHasSrcOrSrcDoc.js","path":"./src/index.ts + 71 modules (concatenated)/node_modules/penpal/lib/parent/validateIframeHasSrcOrSrcDoc.js","statSize":267,"parsedSize":139,"gzipSize":17,"inaccurateSizes":true},{"id":null,"label":"monitorIframeRemoval.js","path":"./src/index.ts + 71 modules (concatenated)/node_modules/penpal/lib/parent/monitorIframeRemoval.js","statSize":872,"parsedSize":454,"gzipSize":57,"inaccurateSizes":true}],"parsedSize":4387,"gzipSize":551,"inaccurateSizes":true},{"id":null,"label":"enums.js","path":"./src/index.ts + 71 modules (concatenated)/node_modules/penpal/lib/enums.js","statSize":989,"parsedSize":515,"gzipSize":64,"inaccurateSizes":true},{"label":"child","path":"./src/index.ts + 71 modules (concatenated)/node_modules/penpal/lib/child","statSize":4851,"groups":[{"id":null,"label":"connectToParent.js","path":"./src/index.ts + 71 modules (concatenated)/node_modules/penpal/lib/child/connectToParent.js","statSize":2959,"parsedSize":1541,"gzipSize":193,"inaccurateSizes":true},{"id":null,"label":"handleSynAckMessageFactory.js","path":"./src/index.ts + 71 modules (concatenated)/node_modules/penpal/lib/child/handleSynAckMessageFactory.js","statSize":1892,"parsedSize":985,"gzipSize":123,"inaccurateSizes":true}],"parsedSize":2527,"gzipSize":317,"inaccurateSizes":true},{"id":null,"label":"methodSerialization.js","path":"./src/index.ts + 71 modules (concatenated)/node_modules/penpal/lib/methodSerialization.js","statSize":2541,"parsedSize":1323,"gzipSize":166,"inaccurateSizes":true},{"id":null,"label":"startConnectionTimeout.js","path":"./src/index.ts + 71 modules (concatenated)/node_modules/penpal/lib/startConnectionTimeout.js","statSize":556,"parsedSize":289,"gzipSize":36,"inaccurateSizes":true},{"id":null,"label":"createLogger.js","path":"./src/index.ts + 71 modules (concatenated)/node_modules/penpal/lib/createLogger.js","statSize":234,"parsedSize":121,"gzipSize":15,"inaccurateSizes":true},{"id":null,"label":"createDestructor.js","path":"./src/index.ts + 71 modules (concatenated)/node_modules/penpal/lib/createDestructor.js","statSize":498,"parsedSize":259,"gzipSize":32,"inaccurateSizes":true},{"id":null,"label":"connectCallReceiver.js","path":"./src/index.ts + 71 modules (concatenated)/node_modules/penpal/lib/connectCallReceiver.js","statSize":3589,"parsedSize":1869,"gzipSize":235,"inaccurateSizes":true},{"id":null,"label":"connectCallSender.js","path":"./src/index.ts + 71 modules (concatenated)/node_modules/penpal/lib/connectCallSender.js","statSize":4623,"parsedSize":2408,"gzipSize":302,"inaccurateSizes":true},{"id":null,"label":"errorSerialization.js","path":"./src/index.ts + 71 modules (concatenated)/node_modules/penpal/lib/errorSerialization.js","statSize":429,"parsedSize":223,"gzipSize":28,"inaccurateSizes":true},{"id":null,"label":"generateId.js","path":"./src/index.ts + 71 modules (concatenated)/node_modules/penpal/lib/generateId.js","statSize":104,"parsedSize":54,"gzipSize":6,"inaccurateSizes":true}],"parsedSize":14073,"gzipSize":1769,"inaccurateSizes":true}]}],"parsedSize":166474,"gzipSize":20927}]}];
|
|
34
|
+
window.chartData = [{"label":"main.js","isAsset":true,"statSize":346820,"parsedSize":181327,"gzipSize":22378,"groups":[{"label":"src","path":"./src","statSize":346820,"groups":[{"id":122,"label":"index.ts + 74 modules (concatenated)","path":"./src/index.ts + 74 modules (concatenated)","statSize":346820,"parsedSize":181327,"gzipSize":22378,"concatenated":true,"groups":[{"label":"src","path":"./src/index.ts + 74 modules (concatenated)/src","statSize":317236,"groups":[{"id":null,"label":"index.ts","path":"./src/index.ts + 74 modules (concatenated)/src/index.ts","statSize":1273,"parsedSize":665,"gzipSize":82,"inaccurateSizes":true},{"id":null,"label":"sdk.ts","path":"./src/index.ts + 74 modules (concatenated)/src/sdk.ts","statSize":11605,"parsedSize":6067,"gzipSize":748,"inaccurateSizes":true},{"label":"types","path":"./src/index.ts + 74 modules (concatenated)/src/types","statSize":22552,"groups":[{"id":null,"label":"ConfigurationTypes.ts","path":"./src/index.ts + 74 modules (concatenated)/src/types/ConfigurationTypes.ts","statSize":1070,"parsedSize":559,"gzipSize":69,"inaccurateSizes":true},{"id":null,"label":"DocumentTypes.ts","path":"./src/index.ts + 74 modules (concatenated)/src/types/DocumentTypes.ts","statSize":660,"parsedSize":345,"gzipSize":42,"inaccurateSizes":true},{"id":null,"label":"ConnectorTypes.ts","path":"./src/index.ts + 74 modules (concatenated)/src/types/ConnectorTypes.ts","statSize":6308,"parsedSize":3297,"gzipSize":407,"inaccurateSizes":true},{"id":null,"label":"FrameTypes.ts","path":"./src/index.ts + 74 modules (concatenated)/src/types/FrameTypes.ts","statSize":2916,"parsedSize":1524,"gzipSize":188,"inaccurateSizes":true},{"id":null,"label":"LayoutTypes.ts","path":"./src/index.ts + 74 modules (concatenated)/src/types/LayoutTypes.ts","statSize":907,"parsedSize":474,"gzipSize":58,"inaccurateSizes":true},{"id":null,"label":"MediaConnectorTypes.ts","path":"./src/index.ts + 74 modules (concatenated)/src/types/MediaConnectorTypes.ts","statSize":468,"parsedSize":244,"gzipSize":30,"inaccurateSizes":true},{"id":null,"label":"VariableTypes.ts","path":"./src/index.ts + 74 modules (concatenated)/src/types/VariableTypes.ts","statSize":1100,"parsedSize":575,"gzipSize":70,"inaccurateSizes":true},{"id":null,"label":"BarcodeTypes.ts","path":"./src/index.ts + 74 modules (concatenated)/src/types/BarcodeTypes.ts","statSize":1744,"parsedSize":911,"gzipSize":112,"inaccurateSizes":true},{"id":null,"label":"AnimationTypes.ts","path":"./src/index.ts + 74 modules (concatenated)/src/types/AnimationTypes.ts","statSize":2065,"parsedSize":1079,"gzipSize":133,"inaccurateSizes":true},{"id":null,"label":"ViewModeTypes.ts","path":"./src/index.ts + 74 modules (concatenated)/src/types/ViewModeTypes.ts","statSize":149,"parsedSize":77,"gzipSize":9,"inaccurateSizes":true},{"id":null,"label":"TextStyleTypes.ts","path":"./src/index.ts + 74 modules (concatenated)/src/types/TextStyleTypes.ts","statSize":2950,"parsedSize":1542,"gzipSize":190,"inaccurateSizes":true},{"id":null,"label":"ColorStyleTypes.ts","path":"./src/index.ts + 74 modules (concatenated)/src/types/ColorStyleTypes.ts","statSize":583,"parsedSize":304,"gzipSize":37,"inaccurateSizes":true},{"id":null,"label":"FontConnectorTypes.ts","path":"./src/index.ts + 74 modules (concatenated)/src/types/FontConnectorTypes.ts","statSize":197,"parsedSize":102,"gzipSize":12,"inaccurateSizes":true},{"id":null,"label":"ActionTypes.ts","path":"./src/index.ts + 74 modules (concatenated)/src/types/ActionTypes.ts","statSize":1012,"parsedSize":529,"gzipSize":65,"inaccurateSizes":true},{"id":null,"label":"ShapeTypes.ts","path":"./src/index.ts + 74 modules (concatenated)/src/types/ShapeTypes.ts","statSize":423,"parsedSize":221,"gzipSize":27,"inaccurateSizes":true}],"parsedSize":11790,"gzipSize":1455,"inaccurateSizes":true},{"label":"utils","path":"./src/index.ts + 74 modules (concatenated)/src/utils","statSize":9245,"groups":[{"id":null,"label":"enums.ts","path":"./src/index.ts + 74 modules (concatenated)/src/utils/enums.ts","statSize":1750,"parsedSize":914,"gzipSize":112,"inaccurateSizes":true},{"id":null,"label":"LocalConfigurationDecorator.ts","path":"./src/index.ts + 74 modules (concatenated)/src/utils/LocalConfigurationDecorator.ts","statSize":3890,"parsedSize":2033,"gzipSize":250,"inaccurateSizes":true},{"id":null,"label":"EditorResponseData.ts","path":"./src/index.ts + 74 modules (concatenated)/src/utils/EditorResponseData.ts","statSize":996,"parsedSize":520,"gzipSize":64,"inaccurateSizes":true},{"id":null,"label":"ConnectorCompatibilityTools.ts","path":"./src/index.ts + 74 modules (concatenated)/src/utils/ConnectorCompatibilityTools.ts","statSize":2466,"parsedSize":1289,"gzipSize":159,"inaccurateSizes":true},{"id":null,"label":"MathUtils.ts","path":"./src/index.ts + 74 modules (concatenated)/src/utils/MathUtils.ts","statSize":143,"parsedSize":74,"gzipSize":9,"inaccurateSizes":true}],"parsedSize":4833,"gzipSize":596,"inaccurateSizes":true},{"label":"interactions","path":"./src/index.ts + 74 modules (concatenated)/src/interactions","statSize":4829,"groups":[{"id":null,"label":"connector.ts","path":"./src/index.ts + 74 modules (concatenated)/src/interactions/connector.ts","statSize":4829,"parsedSize":2524,"gzipSize":311,"inaccurateSizes":true}],"parsedSize":2524,"gzipSize":311,"inaccurateSizes":true},{"label":"controllers","path":"./src/index.ts + 74 modules (concatenated)/src/controllers","statSize":255166,"groups":[{"id":null,"label":"ActionController.ts","path":"./src/index.ts + 74 modules (concatenated)/src/controllers/ActionController.ts","statSize":7433,"parsedSize":3886,"gzipSize":479,"inaccurateSizes":true},{"id":null,"label":"AnimationController.ts","path":"./src/index.ts + 74 modules (concatenated)/src/controllers/AnimationController.ts","statSize":7249,"parsedSize":3789,"gzipSize":467,"inaccurateSizes":true},{"id":null,"label":"CanvasController.ts","path":"./src/index.ts + 74 modules (concatenated)/src/controllers/CanvasController.ts","statSize":4499,"parsedSize":2352,"gzipSize":290,"inaccurateSizes":true},{"id":null,"label":"CharacterStyleController.ts","path":"./src/index.ts + 74 modules (concatenated)/src/controllers/CharacterStyleController.ts","statSize":6660,"parsedSize":3482,"gzipSize":429,"inaccurateSizes":true},{"id":null,"label":"ColorStyleController.ts","path":"./src/index.ts + 74 modules (concatenated)/src/controllers/ColorStyleController.ts","statSize":5988,"parsedSize":3130,"gzipSize":386,"inaccurateSizes":true},{"id":null,"label":"ColorConversionController.ts","path":"./src/index.ts + 74 modules (concatenated)/src/controllers/ColorConversionController.ts","statSize":2928,"parsedSize":1530,"gzipSize":188,"inaccurateSizes":true},{"id":null,"label":"ConnectorController.ts","path":"./src/index.ts + 74 modules (concatenated)/src/controllers/ConnectorController.ts","statSize":15865,"parsedSize":8294,"gzipSize":1023,"inaccurateSizes":true},{"id":null,"label":"DebugController.ts","path":"./src/index.ts + 74 modules (concatenated)/src/controllers/DebugController.ts","statSize":3842,"parsedSize":2008,"gzipSize":247,"inaccurateSizes":true},{"id":null,"label":"DocumentController.ts","path":"./src/index.ts + 74 modules (concatenated)/src/controllers/DocumentController.ts","statSize":3969,"parsedSize":2075,"gzipSize":256,"inaccurateSizes":true},{"id":null,"label":"ExperimentController.ts","path":"./src/index.ts + 74 modules (concatenated)/src/controllers/ExperimentController.ts","statSize":6512,"parsedSize":3404,"gzipSize":420,"inaccurateSizes":true},{"id":null,"label":"FontConnectorController.ts","path":"./src/index.ts + 74 modules (concatenated)/src/controllers/FontConnectorController.ts","statSize":9200,"parsedSize":4810,"gzipSize":593,"inaccurateSizes":true},{"id":null,"label":"FontController.ts","path":"./src/index.ts + 74 modules (concatenated)/src/controllers/FontController.ts","statSize":9036,"parsedSize":4724,"gzipSize":583,"inaccurateSizes":true},{"id":null,"label":"FrameController.ts","path":"./src/index.ts + 74 modules (concatenated)/src/controllers/FrameController.ts","statSize":41476,"parsedSize":21684,"gzipSize":2676,"inaccurateSizes":true},{"id":null,"label":"ShapeController.ts","path":"./src/index.ts + 74 modules (concatenated)/src/controllers/ShapeController.ts","statSize":9127,"parsedSize":4771,"gzipSize":588,"inaccurateSizes":true},{"id":null,"label":"LayoutController.ts","path":"./src/index.ts + 74 modules (concatenated)/src/controllers/LayoutController.ts","statSize":16300,"parsedSize":8522,"gzipSize":1051,"inaccurateSizes":true},{"id":null,"label":"MediaConnectorController.ts","path":"./src/index.ts + 74 modules (concatenated)/src/controllers/MediaConnectorController.ts","statSize":9130,"parsedSize":4773,"gzipSize":589,"inaccurateSizes":true},{"id":null,"label":"PageController.ts","path":"./src/index.ts + 74 modules (concatenated)/src/controllers/PageController.ts","statSize":4406,"parsedSize":2303,"gzipSize":284,"inaccurateSizes":true},{"id":null,"label":"ParagraphStyleController.ts","path":"./src/index.ts + 74 modules (concatenated)/src/controllers/ParagraphStyleController.ts","statSize":6192,"parsedSize":3237,"gzipSize":399,"inaccurateSizes":true},{"id":null,"label":"SubscriberController.ts","path":"./src/index.ts + 74 modules (concatenated)/src/controllers/SubscriberController.ts","statSize":16236,"parsedSize":8488,"gzipSize":1047,"inaccurateSizes":true},{"id":null,"label":"TextStyleController.ts","path":"./src/index.ts + 74 modules (concatenated)/src/controllers/TextStyleController.ts","statSize":3957,"parsedSize":2068,"gzipSize":255,"inaccurateSizes":true},{"id":null,"label":"ToolController.ts","path":"./src/index.ts + 74 modules (concatenated)/src/controllers/ToolController.ts","statSize":5296,"parsedSize":2768,"gzipSize":341,"inaccurateSizes":true},{"id":null,"label":"UndoManagerController.ts","path":"./src/index.ts + 74 modules (concatenated)/src/controllers/UndoManagerController.ts","statSize":6355,"parsedSize":3322,"gzipSize":410,"inaccurateSizes":true},{"id":null,"label":"UtilsController.ts","path":"./src/index.ts + 74 modules (concatenated)/src/controllers/UtilsController.ts","statSize":1305,"parsedSize":682,"gzipSize":84,"inaccurateSizes":true},{"id":null,"label":"VariableController.ts","path":"./src/index.ts + 74 modules (concatenated)/src/controllers/VariableController.ts","statSize":26589,"parsedSize":13901,"gzipSize":1715,"inaccurateSizes":true},{"id":null,"label":"InfoController.ts","path":"./src/index.ts + 74 modules (concatenated)/src/controllers/InfoController.ts","statSize":658,"parsedSize":344,"gzipSize":42,"inaccurateSizes":true},{"id":null,"label":"ClipboardController.ts","path":"./src/index.ts + 74 modules (concatenated)/src/controllers/ClipboardController.ts","statSize":4643,"parsedSize":2427,"gzipSize":299,"inaccurateSizes":true},{"id":null,"label":"BarcodeController.ts","path":"./src/index.ts + 74 modules (concatenated)/src/controllers/BarcodeController.ts","statSize":15763,"parsedSize":8241,"gzipSize":1017,"inaccurateSizes":true},{"id":null,"label":"ConfigurationController.ts","path":"./src/index.ts + 74 modules (concatenated)/src/controllers/ConfigurationController.ts","statSize":4552,"parsedSize":2379,"gzipSize":293,"inaccurateSizes":true}],"parsedSize":133407,"gzipSize":16464,"inaccurateSizes":true},{"label":"next","path":"./src/index.ts + 74 modules (concatenated)/src/next","statSize":12566,"groups":[{"id":null,"label":"NextInitiator.ts","path":"./src/index.ts + 74 modules (concatenated)/src/next/NextInitiator.ts","statSize":1627,"parsedSize":850,"gzipSize":104,"inaccurateSizes":true},{"label":"controllers","path":"./src/index.ts + 74 modules (concatenated)/src/next/controllers","statSize":10939,"groups":[{"id":null,"label":"VariableController.ts","path":"./src/index.ts + 74 modules (concatenated)/src/next/controllers/VariableController.ts","statSize":4942,"parsedSize":2583,"gzipSize":318,"inaccurateSizes":true},{"id":null,"label":"ConnectorController.ts","path":"./src/index.ts + 74 modules (concatenated)/src/next/controllers/ConnectorController.ts","statSize":4945,"parsedSize":2585,"gzipSize":319,"inaccurateSizes":true},{"id":null,"label":"SubscriberController.ts","path":"./src/index.ts + 74 modules (concatenated)/src/next/controllers/SubscriberController.ts","statSize":1052,"parsedSize":550,"gzipSize":67,"inaccurateSizes":true}],"parsedSize":5719,"gzipSize":705,"inaccurateSizes":true}],"parsedSize":6569,"gzipSize":810,"inaccurateSizes":true}],"parsedSize":165859,"gzipSize":20469,"inaccurateSizes":true},{"id":null,"label":"package.json","path":"./src/index.ts + 74 modules (concatenated)/package.json","statSize":2538,"parsedSize":1326,"gzipSize":163,"inaccurateSizes":true},{"id":null,"label":"editor-engine.json","path":"./src/index.ts + 74 modules (concatenated)/editor-engine.json","statSize":35,"parsedSize":18,"gzipSize":2,"inaccurateSizes":true},{"label":"node_modules/penpal/lib","path":"./src/index.ts + 74 modules (concatenated)/node_modules/penpal/lib","statSize":27011,"groups":[{"id":null,"label":"index.js","path":"./src/index.ts + 74 modules (concatenated)/node_modules/penpal/lib/index.js","statSize":176,"parsedSize":92,"gzipSize":11,"inaccurateSizes":true},{"label":"parent","path":"./src/index.ts + 74 modules (concatenated)/node_modules/penpal/lib/parent","statSize":8421,"groups":[{"id":null,"label":"connectToChild.js","path":"./src/index.ts + 74 modules (concatenated)/node_modules/penpal/lib/parent/connectToChild.js","statSize":2916,"parsedSize":1524,"gzipSize":188,"inaccurateSizes":true},{"id":null,"label":"getOriginFromSrc.js","path":"./src/index.ts + 74 modules (concatenated)/node_modules/penpal/lib/parent/getOriginFromSrc.js","statSize":1665,"parsedSize":870,"gzipSize":107,"inaccurateSizes":true},{"id":null,"label":"handleAckMessageFactory.js","path":"./src/index.ts + 74 modules (concatenated)/node_modules/penpal/lib/parent/handleAckMessageFactory.js","statSize":2012,"parsedSize":1051,"gzipSize":129,"inaccurateSizes":true},{"id":null,"label":"handleSynMessageFactory.js","path":"./src/index.ts + 74 modules (concatenated)/node_modules/penpal/lib/parent/handleSynMessageFactory.js","statSize":689,"parsedSize":360,"gzipSize":44,"inaccurateSizes":true},{"id":null,"label":"validateIframeHasSrcOrSrcDoc.js","path":"./src/index.ts + 74 modules (concatenated)/node_modules/penpal/lib/parent/validateIframeHasSrcOrSrcDoc.js","statSize":267,"parsedSize":139,"gzipSize":17,"inaccurateSizes":true},{"id":null,"label":"monitorIframeRemoval.js","path":"./src/index.ts + 74 modules (concatenated)/node_modules/penpal/lib/parent/monitorIframeRemoval.js","statSize":872,"parsedSize":455,"gzipSize":56,"inaccurateSizes":true}],"parsedSize":4402,"gzipSize":543,"inaccurateSizes":true},{"id":null,"label":"enums.js","path":"./src/index.ts + 74 modules (concatenated)/node_modules/penpal/lib/enums.js","statSize":989,"parsedSize":517,"gzipSize":63,"inaccurateSizes":true},{"label":"child","path":"./src/index.ts + 74 modules (concatenated)/node_modules/penpal/lib/child","statSize":4851,"groups":[{"id":null,"label":"connectToParent.js","path":"./src/index.ts + 74 modules (concatenated)/node_modules/penpal/lib/child/connectToParent.js","statSize":2959,"parsedSize":1547,"gzipSize":190,"inaccurateSizes":true},{"id":null,"label":"handleSynAckMessageFactory.js","path":"./src/index.ts + 74 modules (concatenated)/node_modules/penpal/lib/child/handleSynAckMessageFactory.js","statSize":1892,"parsedSize":989,"gzipSize":122,"inaccurateSizes":true}],"parsedSize":2536,"gzipSize":313,"inaccurateSizes":true},{"id":null,"label":"methodSerialization.js","path":"./src/index.ts + 74 modules (concatenated)/node_modules/penpal/lib/methodSerialization.js","statSize":2541,"parsedSize":1328,"gzipSize":163,"inaccurateSizes":true},{"id":null,"label":"startConnectionTimeout.js","path":"./src/index.ts + 74 modules (concatenated)/node_modules/penpal/lib/startConnectionTimeout.js","statSize":556,"parsedSize":290,"gzipSize":35,"inaccurateSizes":true},{"id":null,"label":"createLogger.js","path":"./src/index.ts + 74 modules (concatenated)/node_modules/penpal/lib/createLogger.js","statSize":234,"parsedSize":122,"gzipSize":15,"inaccurateSizes":true},{"id":null,"label":"createDestructor.js","path":"./src/index.ts + 74 modules (concatenated)/node_modules/penpal/lib/createDestructor.js","statSize":498,"parsedSize":260,"gzipSize":32,"inaccurateSizes":true},{"id":null,"label":"connectCallReceiver.js","path":"./src/index.ts + 74 modules (concatenated)/node_modules/penpal/lib/connectCallReceiver.js","statSize":3589,"parsedSize":1876,"gzipSize":231,"inaccurateSizes":true},{"id":null,"label":"connectCallSender.js","path":"./src/index.ts + 74 modules (concatenated)/node_modules/penpal/lib/connectCallSender.js","statSize":4623,"parsedSize":2417,"gzipSize":298,"inaccurateSizes":true},{"id":null,"label":"errorSerialization.js","path":"./src/index.ts + 74 modules (concatenated)/node_modules/penpal/lib/errorSerialization.js","statSize":429,"parsedSize":224,"gzipSize":27,"inaccurateSizes":true},{"id":null,"label":"generateId.js","path":"./src/index.ts + 74 modules (concatenated)/node_modules/penpal/lib/generateId.js","statSize":104,"parsedSize":54,"gzipSize":6,"inaccurateSizes":true}],"parsedSize":14122,"gzipSize":1742,"inaccurateSizes":true}]}],"parsedSize":181327,"gzipSize":22378}]}];
|
|
35
35
|
window.defaultSizes = "parsed";
|
|
36
36
|
</script>
|
|
37
37
|
</body>
|
package/lib/editor-engine.json
CHANGED
package/lib/package.json
CHANGED
|
@@ -6,32 +6,32 @@ import { StudioOptionsDeltaUpdate, WellKnownConfigurationKeys } from '../types/C
|
|
|
6
6
|
* Javascript actions running in the editor.
|
|
7
7
|
* Methods inside this controller can be called by `window.SDK.configuration.{method-name}`
|
|
8
8
|
*/
|
|
9
|
-
export declare class ConfigurationController {
|
|
9
|
+
export declare abstract class ConfigurationController {
|
|
10
10
|
#private;
|
|
11
11
|
/**
|
|
12
12
|
* @ignore
|
|
13
13
|
*/
|
|
14
|
-
constructor(editorAPI: EditorAPI);
|
|
14
|
+
protected constructor(editorAPI: EditorAPI);
|
|
15
15
|
/**
|
|
16
16
|
* This method returns the value for a given configuration key. If a value was not found in the configuration store
|
|
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
|
|
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
|
|
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
|
|
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
|
|
36
|
+
getEngineSessionId(): Promise<import("../types/CommonTypes").EditorResponse<string>>;
|
|
37
37
|
}
|
|
@@ -35,41 +35,49 @@ export class ConfigurationController {
|
|
|
35
35
|
* @ignore
|
|
36
36
|
*/
|
|
37
37
|
_ConfigurationController_editorAPI.set(this, void 0);
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
38
|
+
__classPrivateFieldSet(this, _ConfigurationController_editorAPI, editorAPI, "f");
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* This method returns the value for a given configuration key. If a value was not found in the configuration store
|
|
42
|
+
* this method returns an error. The key cannot be null.
|
|
43
|
+
* @returns value for a given configuration key
|
|
44
|
+
*/
|
|
45
|
+
getValue(key) {
|
|
46
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
44
47
|
const res = yield __classPrivateFieldGet(this, _ConfigurationController_editorAPI, "f");
|
|
45
48
|
return res.getConfigValue(key).then((result) => getEditorResponseData(result));
|
|
46
49
|
});
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* This method sets, or overrides the value for a given key. Null values are not allowed for both key and value,
|
|
53
|
+
* using them will result in an error.
|
|
54
|
+
* @returns
|
|
55
|
+
*/
|
|
56
|
+
setValue(key, value) {
|
|
57
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
53
58
|
const res = yield __classPrivateFieldGet(this, _ConfigurationController_editorAPI, "f");
|
|
54
59
|
return res.setConfigValue(key, value).then((result) => getEditorResponseData(result));
|
|
55
60
|
});
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* This method updates the studio options. Only defined options are updated, null values are ignored.
|
|
64
|
+
* @returns
|
|
65
|
+
*/
|
|
66
|
+
updateStudioOptions(options) {
|
|
67
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
61
68
|
const res = yield __classPrivateFieldGet(this, _ConfigurationController_editorAPI, "f");
|
|
62
69
|
return res.updateStudioOptions(JSON.stringify(options)).then((result) => getEditorResponseData(result));
|
|
63
70
|
});
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* This method returns the engine session id. This id is unique for this engine session
|
|
74
|
+
* @returns the engine session id
|
|
75
|
+
*/
|
|
76
|
+
getEngineSessionId() {
|
|
77
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
69
78
|
const res = yield __classPrivateFieldGet(this, _ConfigurationController_editorAPI, "f");
|
|
70
79
|
return res.getEngineSessionId().then((result) => getEditorResponseData(result));
|
|
71
80
|
});
|
|
72
|
-
__classPrivateFieldSet(this, _ConfigurationController_editorAPI, editorAPI, "f");
|
|
73
81
|
}
|
|
74
82
|
}
|
|
75
83
|
_ConfigurationController_editorAPI = new WeakMap();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigurationController.js","sourceRoot":"","sources":["../../../src/controllers/ConfigurationController.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAGpE;;;;;GAKG;AACH,MAAM,
|
|
1
|
+
{"version":3,"file":"ConfigurationController.js","sourceRoot":"","sources":["../../../src/controllers/ConfigurationController.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAGpE;;;;;GAKG;AACH,MAAM,OAAgB,uBAAuB;IAMzC;;OAEG;IACH,YAAsB,SAAoB;QAR1C;;WAE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+
import { ConnectorInstance, ConnectorMappingDirection, ConnectorMappingType, 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.
|
|
@@ -19,7 +19,7 @@ export declare class ConnectorController {
|
|
|
19
19
|
/**
|
|
20
20
|
* @ignore
|
|
21
21
|
*/
|
|
22
|
-
constructor(editorAPI: EditorAPI);
|
|
22
|
+
constructor(editorAPI: EditorAPI, localConfig: Map<string, string>);
|
|
23
23
|
/**
|
|
24
24
|
* Gets a connector by its id
|
|
25
25
|
* @param id the id of the connector
|
|
@@ -18,9 +18,11 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
18
18
|
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
19
19
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
20
20
|
};
|
|
21
|
-
var _ConnectorController_editorAPI, _ConnectorConfigurator_connectorId, _ConnectorConfigurator_res;
|
|
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
|
+
import { WellKnownConfigurationKeys } from '../types/ConfigurationTypes';
|
|
24
26
|
/**
|
|
25
27
|
* The ConnectorController manages lifetime of all available connectors, regardless of the type, in the
|
|
26
28
|
* document. Use it to add/remove connectors to a template, or set specific configuration.
|
|
@@ -39,19 +41,31 @@ export class ConnectorController {
|
|
|
39
41
|
/**
|
|
40
42
|
* @ignore
|
|
41
43
|
*/
|
|
42
|
-
constructor(editorAPI) {
|
|
44
|
+
constructor(editorAPI, localConfig) {
|
|
43
45
|
/**
|
|
44
46
|
* @ignore
|
|
45
47
|
*/
|
|
46
48
|
_ConnectorController_editorAPI.set(this, void 0);
|
|
49
|
+
_ConnectorController_localConfig.set(this, void 0);
|
|
50
|
+
_ConnectorController_connectorCompatibilityTools.set(this, void 0);
|
|
47
51
|
/**
|
|
48
52
|
* Gets a connector by its id
|
|
49
53
|
* @param id the id of the connector
|
|
50
54
|
* @returns connector
|
|
51
55
|
*/
|
|
52
56
|
this.getById = (id) => __awaiter(this, void 0, void 0, function* () {
|
|
57
|
+
// add backwards compatibility code
|
|
53
58
|
const res = yield __classPrivateFieldGet(this, _ConnectorController_editorAPI, "f");
|
|
54
|
-
return res
|
|
59
|
+
return res
|
|
60
|
+
.getConnectorById(id)
|
|
61
|
+
.then((result) => getEditorResponseData(result))
|
|
62
|
+
.then((resp) => {
|
|
63
|
+
const update = Object.assign(Object.assign({}, resp), { parsedData: null });
|
|
64
|
+
if (resp.parsedData) {
|
|
65
|
+
update.parsedData = __classPrivateFieldGet(this, _ConnectorController_connectorCompatibilityTools, "f").makeSingleConnectorBackwardsCompatible(resp.parsedData, __classPrivateFieldGet(this, _ConnectorController_localConfig, "f").get(WellKnownConfigurationKeys.GraFxStudioEnvironmentApiUrl));
|
|
66
|
+
}
|
|
67
|
+
return update;
|
|
68
|
+
});
|
|
55
69
|
});
|
|
56
70
|
/**
|
|
57
71
|
* Gets all available connectors of a 'ConnectorType'
|
|
@@ -59,8 +73,18 @@ export class ConnectorController {
|
|
|
59
73
|
* @returns list of all available connectors of a 'ConnectorType'
|
|
60
74
|
*/
|
|
61
75
|
this.getAllByType = (type) => __awaiter(this, void 0, void 0, function* () {
|
|
76
|
+
// add backwards compatibility code
|
|
62
77
|
const res = yield __classPrivateFieldGet(this, _ConnectorController_editorAPI, "f");
|
|
63
|
-
return res
|
|
78
|
+
return res
|
|
79
|
+
.getConnectors(type)
|
|
80
|
+
.then((result) => getEditorResponseData(result))
|
|
81
|
+
.then((resp) => {
|
|
82
|
+
const update = Object.assign(Object.assign({}, resp), { parsedData: null });
|
|
83
|
+
if (resp.parsedData) {
|
|
84
|
+
update.parsedData = __classPrivateFieldGet(this, _ConnectorController_connectorCompatibilityTools, "f").makeMultipleConnectorsBackwardsCompatible(resp.parsedData, __classPrivateFieldGet(this, _ConnectorController_localConfig, "f").get(WellKnownConfigurationKeys.GraFxStudioEnvironmentApiUrl));
|
|
85
|
+
}
|
|
86
|
+
return update;
|
|
87
|
+
});
|
|
64
88
|
});
|
|
65
89
|
/**
|
|
66
90
|
* Registers a new connector in the SDK. After successful registration, depending
|
|
@@ -71,7 +95,10 @@ export class ConnectorController {
|
|
|
71
95
|
*/
|
|
72
96
|
this.register = (registration) => __awaiter(this, void 0, void 0, function* () {
|
|
73
97
|
const res = yield __classPrivateFieldGet(this, _ConnectorController_editorAPI, "f");
|
|
74
|
-
|
|
98
|
+
const connectorRegistration = __classPrivateFieldGet(this, _ConnectorController_connectorCompatibilityTools, "f").makeConnectorSourceForwardsCompatible(registration);
|
|
99
|
+
return res
|
|
100
|
+
.registerConnector(JSON.stringify(connectorRegistration))
|
|
101
|
+
.then((result) => getEditorResponseData(result));
|
|
75
102
|
});
|
|
76
103
|
/**
|
|
77
104
|
* Unregisters a connector from the document.
|
|
@@ -165,6 +192,8 @@ export class ConnectorController {
|
|
|
165
192
|
}, false);
|
|
166
193
|
});
|
|
167
194
|
__classPrivateFieldSet(this, _ConnectorController_editorAPI, editorAPI, "f");
|
|
195
|
+
__classPrivateFieldSet(this, _ConnectorController_localConfig, localConfig, "f");
|
|
196
|
+
__classPrivateFieldSet(this, _ConnectorController_connectorCompatibilityTools, new ConnectorCompatibilityTools(), "f");
|
|
168
197
|
}
|
|
169
198
|
getMappings(id, direction) {
|
|
170
199
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -181,7 +210,7 @@ export class ConnectorController {
|
|
|
181
210
|
});
|
|
182
211
|
}
|
|
183
212
|
}
|
|
184
|
-
_ConnectorController_editorAPI = new WeakMap();
|
|
213
|
+
_ConnectorController_editorAPI = new WeakMap(), _ConnectorController_localConfig = new WeakMap(), _ConnectorController_connectorCompatibilityTools = new WeakMap();
|
|
185
214
|
/**
|
|
186
215
|
* Helper to setup your connector
|
|
187
216
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConnectorController.js","sourceRoot":"","sources":["../../../src/controllers/ConnectorController.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"ConnectorController.js","sourceRoot":"","sources":["../../../src/controllers/ConnectorController.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAMH,kBAAkB,GAIrB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAGpE,OAAO,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AAEzE;;;;;;;;;;;;;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,E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ZIndexMethod, VerticalAlign } from '../types/FrameTypes';
|
|
2
|
+
import { BlendMode, FitMode, FrameLayoutType, FrameType, FrameTypeEnum, UpdateZIndexMethod, VerticalAlign, AutoGrowDirection } from '../types/FrameTypes';
|
|
3
3
|
import { ColorUsage } from '../types/ColorStyleTypes';
|
|
4
4
|
import { ShapeType } from '../types/ShapeTypes';
|
|
5
5
|
import { BarcodeType } from '../types/BarcodeTypes';
|
|
@@ -401,4 +401,88 @@ export declare class FrameController {
|
|
|
401
401
|
* @returns
|
|
402
402
|
*/
|
|
403
403
|
exitCropMode: () => Promise<import("../types/CommonTypes").EditorResponse<null>>;
|
|
404
|
+
/**
|
|
405
|
+
* This method will enable auto grow on a specified frame.
|
|
406
|
+
* @param id the id of the frame that needs to get updated
|
|
407
|
+
* @param value the new value to be set to the frame.
|
|
408
|
+
* @returns
|
|
409
|
+
*/
|
|
410
|
+
setEnableAutoGrow: (id: Id, value: boolean) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
|
|
411
|
+
/**
|
|
412
|
+
* This method will set the minWidth for auto-grow of a specified frame. Set to null to remove the value.
|
|
413
|
+
* @param id the id of the frame that needs to get updated
|
|
414
|
+
* @param value the new minWidth value to be set
|
|
415
|
+
* @returns
|
|
416
|
+
*/
|
|
417
|
+
setAutoGrowMinWidth: (id: Id, value: string | null) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
|
|
418
|
+
/**
|
|
419
|
+
* This method will set the maxWidth for auto-grow of a specified frame. Set to null to remove the value.
|
|
420
|
+
* @param id the id of the frame that needs to get updated
|
|
421
|
+
* @param value the new maxWidth value to be set
|
|
422
|
+
* @returns
|
|
423
|
+
*/
|
|
424
|
+
setAutoGrowMaxWidth: (id: Id, value: string | null) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
|
|
425
|
+
/**
|
|
426
|
+
* This method will set the minHeight for auto-grow of a specified frame. Set to null to remove the value.
|
|
427
|
+
* @param id the id of the frame that needs to get updated
|
|
428
|
+
* @param value the new minHeight value to be set
|
|
429
|
+
* @returns
|
|
430
|
+
*/
|
|
431
|
+
setAutoGrowMinHeight: (id: Id, value: string | null) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
|
|
432
|
+
/**
|
|
433
|
+
* This method will set the maxHeight for auto-grow of a specified frame. Set to null to remove the value.
|
|
434
|
+
* @param id the id of the frame that needs to get updated
|
|
435
|
+
* @param value the new maxHeight value to be set
|
|
436
|
+
* @returns
|
|
437
|
+
*/
|
|
438
|
+
setAutoGrowMaxHeight: (id: Id, value: string | null) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
|
|
439
|
+
/**
|
|
440
|
+
* This method will set the auto grow directions for auto-grow of a specified frame.
|
|
441
|
+
* @param id the id of the frame that needs to get updated
|
|
442
|
+
* @param value the new directions value to be set
|
|
443
|
+
* @returns
|
|
444
|
+
*/
|
|
445
|
+
setAutoGrowDirections: (id: Id, value: Array<AutoGrowDirection>) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
|
|
446
|
+
/**
|
|
447
|
+
* This method will reset the auto grow enabled property of a specified frame to its original value
|
|
448
|
+
* @param id the id of the frame that needs to get reset
|
|
449
|
+
* @returns
|
|
450
|
+
*/
|
|
451
|
+
resetAutoGrowSettingsEnabled: (id: Id) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
|
|
452
|
+
/**
|
|
453
|
+
* This method will reset the auto grow minWidth property of a specified frame to its original value
|
|
454
|
+
* @param id the id of the frame that needs to get reset
|
|
455
|
+
* @returns
|
|
456
|
+
*/
|
|
457
|
+
resetAutoGrowMinWidth: (id: Id) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
|
|
458
|
+
/**
|
|
459
|
+
* This method will reset the auto grow maxWidth property of a specified frame to its original value
|
|
460
|
+
* @param id the id of the frame that needs to get reset
|
|
461
|
+
* @returns
|
|
462
|
+
*/
|
|
463
|
+
resetAutoGrowMaxWidth: (id: Id) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
|
|
464
|
+
/**
|
|
465
|
+
* This method will reset the auto grow minHeight property of a specified frame to its original value
|
|
466
|
+
* @param id the id of the frame that needs to get reset
|
|
467
|
+
* @returns
|
|
468
|
+
*/
|
|
469
|
+
resetAutoGrowMinHeight: (id: Id) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
|
|
470
|
+
/**
|
|
471
|
+
* This method will reset the auto grow maxHeight property of a specified frame to its original value
|
|
472
|
+
* @param id the id of the frame that needs to get reset
|
|
473
|
+
* @returns
|
|
474
|
+
*/
|
|
475
|
+
resetAutoGrowMaxHeight: (id: Id) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
|
|
476
|
+
/**
|
|
477
|
+
* This method will reset the auto grow directions property of a specified frame to its original value
|
|
478
|
+
* @param id the id of the frame that needs to get reset
|
|
479
|
+
* @returns
|
|
480
|
+
*/
|
|
481
|
+
resetAutoGrowDirections: (id: Id) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
|
|
482
|
+
/**
|
|
483
|
+
* This method will reset all auto grow properties of a specified frame to their original values
|
|
484
|
+
* @param id the id of the frame that needs to get reset
|
|
485
|
+
* @returns
|
|
486
|
+
*/
|
|
487
|
+
resetAutoGrow: (id: Id) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
|
|
404
488
|
}
|