@chili-publish/studio-sdk 1.17.0 → 1.18.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/DataConnectorController.d.ts +3 -18
- package/lib/src/controllers/DataConnectorController.js +7 -29
- package/lib/src/controllers/DataConnectorController.js.map +1 -1
- package/lib/src/controllers/DataSourceController.d.ts +43 -0
- package/lib/src/controllers/DataSourceController.js +83 -0
- package/lib/src/controllers/DataSourceController.js.map +1 -0
- package/lib/src/controllers/DocumentController.js +1 -3
- package/lib/src/controllers/DocumentController.js.map +1 -1
- package/lib/src/controllers/FrameController.d.ts +15 -29
- package/lib/src/controllers/FrameController.js +76 -69
- package/lib/src/controllers/FrameController.js.map +1 -1
- package/lib/src/controllers/LayoutController.d.ts +2 -0
- package/lib/src/controllers/LayoutController.js +2 -0
- package/lib/src/controllers/LayoutController.js.map +1 -1
- package/lib/src/controllers/PageController.d.ts +49 -8
- package/lib/src/controllers/PageController.js +72 -8
- package/lib/src/controllers/PageController.js.map +1 -1
- package/lib/src/controllers/SubscriberController.d.ts +30 -1
- package/lib/src/controllers/SubscriberController.js +46 -2
- package/lib/src/controllers/SubscriberController.js.map +1 -1
- package/lib/src/controllers/VariableController.d.ts +1 -1
- package/lib/src/controllers/VariableController.js.map +1 -1
- package/lib/src/index.d.ts +6 -4
- package/lib/src/index.js +3 -1
- package/lib/src/index.js.map +1 -1
- package/lib/src/interactions/connector.d.ts +6 -1
- package/lib/src/interactions/connector.js +5 -0
- package/lib/src/interactions/connector.js.map +1 -1
- package/lib/src/sdk.d.ts +3 -0
- package/lib/src/sdk.js +12 -2
- package/lib/src/sdk.js.map +1 -1
- package/lib/src/tests/__mocks__/config.js +2 -0
- package/lib/src/tests/__mocks__/config.js.map +1 -1
- package/lib/src/tests/controllers/DataConnectorController.test.js +3 -1
- package/lib/src/tests/controllers/DataConnectorController.test.js.map +1 -1
- package/lib/src/tests/controllers/DataSourceController.test.d.ts +1 -0
- package/lib/src/tests/controllers/DataSourceController.test.js +67 -0
- package/lib/src/tests/controllers/DataSourceController.test.js.map +1 -0
- package/lib/src/tests/controllers/DocumentController.test.js.map +1 -1
- package/lib/src/tests/controllers/FrameController.test.js +0 -58
- package/lib/src/tests/controllers/FrameController.test.js.map +1 -1
- package/lib/src/tests/controllers/PageController.test.js +42 -0
- package/lib/src/tests/controllers/PageController.test.js.map +1 -1
- package/lib/src/tests/controllers/SubscriberContoller.test.js +44 -6
- package/lib/src/tests/controllers/SubscriberContoller.test.js.map +1 -1
- package/lib/src/types/CommonTypes.d.ts +8 -3
- package/lib/src/types/CommonTypes.js.map +1 -1
- package/lib/src/types/DocumentTypes.d.ts +30 -1
- package/lib/src/types/DocumentTypes.js +8 -0
- package/lib/src/types/DocumentTypes.js.map +1 -1
- package/lib/src/types/FrameTypes.d.ts +0 -8
- package/lib/src/types/FrameTypes.js.map +1 -1
- package/lib/src/types/LayoutTypes.js.map +1 -1
- package/lib/src/types/PageTypes.d.ts +1 -0
- package/lib/src/types/VariableTypes.d.ts +1 -1
- package/lib/src/utils/DataItemMappingTools.d.ts +53 -0
- package/lib/src/utils/DataItemMappingTools.js +58 -0
- package/lib/src/utils/DataItemMappingTools.js.map +1 -0
- package/package.json +1 -1
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 [18 Dec 2024 at 09:22]</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+15Pzv9fuc2/vR7v2V2Pvd6/bg9P7I6/285/2y4/yp3/zp8vk8i8kqgMT7/P31+fyv4vxGkcz6/P6/6P3j7vfS5PNnpNUxhcbO7f7F6v3O4vHK3/DA2u631Ouy0eqXweKJud5wqthfoNMMbLvY8f73+v2dxeR8sNtTmdDx9/zX6PSjyeaCtd1YnNGX2PuQveCGt95Nls42h8dLlM3F4vBtAAAAM3RSTlMAAyOx0/sKBvik8opWGBMOAe3l1snDm2E9LSb06eHcu5JpHbarfHZCN9CBb08zzkdNS0kYaptYAAAFV0lEQVRYw92X51/aYBDHHS2O2qqttVbrqNq9m+TJIAYIShBkWwqIiCgoWvfeq7Z2/s29hyQNyUcR7LveGwVyXy6XH8/9rqxglLfUPLxVduUor3h0rfp2TYvpivk37929TkG037hffoX0+peVtZQc1589rigVUdXS/ABSAyEmGIO/1XfvldSK8vs3OqB6u3m0nxmIrvgB0dj7rr7Y9IbuF68hnfFaiHA/sxqm0wciIG43P60qKv9WXWc1RXGh/mFESFABTSBi0sNAKzqet17eCtOb3kZIDwxEEU0oAIJGYxNBDhBND29e0rtXXbcpuPmED9IhEAAQ/AXEaF8EPmnrrKsv0LvWR3fg5sWDNAFZOgAgaKvZDogHNU9MFwnnYROkc56RD5CjAbQX9Ow4g7upCsvYu55aSI/Nj0H1akgKQEUM94dwK65hYRmFU9MIcH/fqJYOZYcnuJSU/waKDgTOEVaVKhwrTRP5XzgSpAITYzom7UvkhFX5VutmxeNnWDjjswTKTyfgluNDGbUpWissXhF3s7mlSml+czWkg3D0l1nNjGNjz3myOQOa1KM/jOS6ebdbAVTCi4gljH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R63o4j9q0GxnaBdWgGA5VStpanIjQmEhV0/nVt5VOFUvix6awJhPcAaTEShgrG+iGyvb5a0Ndb1YGHFPEwoqAinoaykaID1o1pdPNu7XsnCKQ3R+hwWIIhGvORcJUBYXe3Xa3vq/mF/N9V13ugufMkfXn+KHsRD0B8AAAAASUVORK5CYII=" type="image/x-icon" />
|
|
8
8
|
|
|
9
9
|
<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":367304,"parsedSize":191025,"gzipSize":23604,"groups":[{"label":"src","path":"./src","statSize":367304,"groups":[{"id":321,"label":"index.ts + 76 modules (concatenated)","path":"./src/index.ts + 76 modules (concatenated)","statSize":367304,"parsedSize":191025,"gzipSize":23604,"concatenated":true,"groups":[{"label":"src","path":"./src/index.ts + 76 modules (concatenated)/src","statSize":337726,"groups":[{"id":null,"label":"index.ts","path":"./src/index.ts + 76 modules (concatenated)/src/index.ts","statSize":1591,"parsedSize":827,"gzipSize":102,"inaccurateSizes":true},{"id":null,"label":"sdk.ts","path":"./src/index.ts + 76 modules (concatenated)/src/sdk.ts","statSize":11838,"parsedSize":6156,"gzipSize":760,"inaccurateSizes":true},{"label":"types","path":"./src/index.ts + 76 modules (concatenated)/src/types","statSize":24007,"groups":[{"id":null,"label":"ConfigurationTypes.ts","path":"./src/index.ts + 76 modules (concatenated)/src/types/ConfigurationTypes.ts","statSize":1070,"parsedSize":556,"gzipSize":68,"inaccurateSizes":true},{"id":null,"label":"DocumentTypes.ts","path":"./src/index.ts + 76 modules (concatenated)/src/types/DocumentTypes.ts","statSize":660,"parsedSize":343,"gzipSize":42,"inaccurateSizes":true},{"id":null,"label":"ColorStyleTypes.ts","path":"./src/index.ts + 76 modules (concatenated)/src/types/ColorStyleTypes.ts","statSize":728,"parsedSize":378,"gzipSize":46,"inaccurateSizes":true},{"id":null,"label":"ConnectorTypes.ts","path":"./src/index.ts + 76 modules (concatenated)/src/types/ConnectorTypes.ts","statSize":6344,"parsedSize":3299,"gzipSize":407,"inaccurateSizes":true},{"id":null,"label":"FrameTypes.ts","path":"./src/index.ts + 76 modules (concatenated)/src/types/FrameTypes.ts","statSize":3949,"parsedSize":2053,"gzipSize":253,"inaccurateSizes":true},{"id":null,"label":"LayoutTypes.ts","path":"./src/index.ts + 76 modules (concatenated)/src/types/LayoutTypes.ts","statSize":907,"parsedSize":471,"gzipSize":58,"inaccurateSizes":true},{"id":null,"label":"MediaConnectorTypes.ts","path":"./src/index.ts + 76 modules (concatenated)/src/types/MediaConnectorTypes.ts","statSize":468,"parsedSize":243,"gzipSize":30,"inaccurateSizes":true},{"id":null,"label":"VariableTypes.ts","path":"./src/index.ts + 76 modules (concatenated)/src/types/VariableTypes.ts","statSize":1100,"parsedSize":572,"gzipSize":70,"inaccurateSizes":true},{"id":null,"label":"BarcodeTypes.ts","path":"./src/index.ts + 76 modules (concatenated)/src/types/BarcodeTypes.ts","statSize":1744,"parsedSize":907,"gzipSize":112,"inaccurateSizes":true},{"id":null,"label":"AnimationTypes.ts","path":"./src/index.ts + 76 modules (concatenated)/src/types/AnimationTypes.ts","statSize":2065,"parsedSize":1073,"gzipSize":132,"inaccurateSizes":true},{"id":null,"label":"ViewModeTypes.ts","path":"./src/index.ts + 76 modules (concatenated)/src/types/ViewModeTypes.ts","statSize":149,"parsedSize":77,"gzipSize":9,"inaccurateSizes":true},{"id":null,"label":"CommonTypes.ts","path":"./src/index.ts + 76 modules (concatenated)/src/types/CommonTypes.ts","statSize":241,"parsedSize":125,"gzipSize":15,"inaccurateSizes":true},{"id":null,"label":"TextStyleTypes.ts","path":"./src/index.ts + 76 modules (concatenated)/src/types/TextStyleTypes.ts","statSize":2950,"parsedSize":1534,"gzipSize":189,"inaccurateSizes":true},{"id":null,"label":"FontConnectorTypes.ts","path":"./src/index.ts + 76 modules (concatenated)/src/types/FontConnectorTypes.ts","statSize":197,"parsedSize":102,"gzipSize":12,"inaccurateSizes":true},{"id":null,"label":"ActionTypes.ts","path":"./src/index.ts + 76 modules (concatenated)/src/types/ActionTypes.ts","statSize":1012,"parsedSize":526,"gzipSize":65,"inaccurateSizes":true},{"id":null,"label":"ShapeTypes.ts","path":"./src/index.ts + 76 modules (concatenated)/src/types/ShapeTypes.ts","statSize":423,"parsedSize":219,"gzipSize":27,"inaccurateSizes":true}],"parsedSize":12485,"gzipSize":1542,"inaccurateSizes":true},{"label":"utils","path":"./src/index.ts + 76 modules (concatenated)/src/utils","statSize":9969,"groups":[{"id":null,"label":"EditorResponseData.ts","path":"./src/index.ts + 76 modules (concatenated)/src/utils/EditorResponseData.ts","statSize":1720,"parsedSize":894,"gzipSize":110,"inaccurateSizes":true},{"id":null,"label":"enums.ts","path":"./src/index.ts + 76 modules (concatenated)/src/utils/enums.ts","statSize":1750,"parsedSize":910,"gzipSize":112,"inaccurateSizes":true},{"id":null,"label":"LocalConfigurationDecorator.ts","path":"./src/index.ts + 76 modules (concatenated)/src/utils/LocalConfigurationDecorator.ts","statSize":3890,"parsedSize":2023,"gzipSize":249,"inaccurateSizes":true},{"id":null,"label":"ConnectorCompatibilityTools.ts","path":"./src/index.ts + 76 modules (concatenated)/src/utils/ConnectorCompatibilityTools.ts","statSize":2466,"parsedSize":1282,"gzipSize":158,"inaccurateSizes":true},{"id":null,"label":"MathUtils.ts","path":"./src/index.ts + 76 modules (concatenated)/src/utils/MathUtils.ts","statSize":143,"parsedSize":74,"gzipSize":9,"inaccurateSizes":true}],"parsedSize":5184,"gzipSize":640,"inaccurateSizes":true},{"label":"interactions","path":"./src/index.ts + 76 modules (concatenated)/src/interactions","statSize":4829,"groups":[{"id":null,"label":"connector.ts","path":"./src/index.ts + 76 modules (concatenated)/src/interactions/connector.ts","statSize":4829,"parsedSize":2511,"gzipSize":310,"inaccurateSizes":true}],"parsedSize":2511,"gzipSize":310,"inaccurateSizes":true},{"label":"controllers","path":"./src/index.ts + 76 modules (concatenated)/src/controllers","statSize":272926,"groups":[{"id":null,"label":"ActionController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/controllers/ActionController.ts","statSize":8283,"parsedSize":4307,"gzipSize":532,"inaccurateSizes":true},{"id":null,"label":"AnimationController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/controllers/AnimationController.ts","statSize":7249,"parsedSize":3770,"gzipSize":465,"inaccurateSizes":true},{"id":null,"label":"CanvasController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/controllers/CanvasController.ts","statSize":4499,"parsedSize":2339,"gzipSize":289,"inaccurateSizes":true},{"id":null,"label":"CharacterStyleController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/controllers/CharacterStyleController.ts","statSize":6660,"parsedSize":3463,"gzipSize":427,"inaccurateSizes":true},{"id":null,"label":"ColorStyleController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/controllers/ColorStyleController.ts","statSize":6173,"parsedSize":3210,"gzipSize":396,"inaccurateSizes":true},{"id":null,"label":"ColorConversionController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/controllers/ColorConversionController.ts","statSize":2928,"parsedSize":1522,"gzipSize":188,"inaccurateSizes":true},{"id":null,"label":"ConnectorController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/controllers/ConnectorController.ts","statSize":15865,"parsedSize":8250,"gzipSize":1019,"inaccurateSizes":true},{"id":null,"label":"DebugController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/controllers/DebugController.ts","statSize":3842,"parsedSize":1998,"gzipSize":246,"inaccurateSizes":true},{"id":null,"label":"DocumentController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/controllers/DocumentController.ts","statSize":4609,"parsedSize":2397,"gzipSize":296,"inaccurateSizes":true},{"id":null,"label":"ExperimentController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/controllers/ExperimentController.ts","statSize":6512,"parsedSize":3386,"gzipSize":418,"inaccurateSizes":true},{"id":null,"label":"FontConnectorController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/controllers/FontConnectorController.ts","statSize":9201,"parsedSize":4785,"gzipSize":591,"inaccurateSizes":true},{"id":null,"label":"FontController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/controllers/FontController.ts","statSize":9036,"parsedSize":4699,"gzipSize":580,"inaccurateSizes":true},{"id":null,"label":"FrameController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/controllers/FrameController.ts","statSize":45825,"parsedSize":23832,"gzipSize":2944,"inaccurateSizes":true},{"id":null,"label":"ShapeController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/controllers/ShapeController.ts","statSize":9127,"parsedSize":4746,"gzipSize":586,"inaccurateSizes":true},{"id":null,"label":"LayoutController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/controllers/LayoutController.ts","statSize":16572,"parsedSize":8618,"gzipSize":1064,"inaccurateSizes":true},{"id":null,"label":"MediaConnectorController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/controllers/MediaConnectorController.ts","statSize":9133,"parsedSize":4749,"gzipSize":586,"inaccurateSizes":true},{"id":null,"label":"PageController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/controllers/PageController.ts","statSize":4920,"parsedSize":2558,"gzipSize":316,"inaccurateSizes":true},{"id":null,"label":"ParagraphStyleController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/controllers/ParagraphStyleController.ts","statSize":6192,"parsedSize":3220,"gzipSize":397,"inaccurateSizes":true},{"id":null,"label":"SubscriberController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/controllers/SubscriberController.ts","statSize":16236,"parsedSize":8443,"gzipSize":1043,"inaccurateSizes":true},{"id":null,"label":"TextStyleController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/controllers/TextStyleController.ts","statSize":3957,"parsedSize":2057,"gzipSize":254,"inaccurateSizes":true},{"id":null,"label":"ToolController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/controllers/ToolController.ts","statSize":5296,"parsedSize":2754,"gzipSize":340,"inaccurateSizes":true},{"id":null,"label":"UndoManagerController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/controllers/UndoManagerController.ts","statSize":6355,"parsedSize":3305,"gzipSize":408,"inaccurateSizes":true},{"id":null,"label":"UtilsController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/controllers/UtilsController.ts","statSize":1305,"parsedSize":678,"gzipSize":83,"inaccurateSizes":true},{"id":null,"label":"VariableController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/controllers/VariableController.ts","statSize":30081,"parsedSize":15644,"gzipSize":1933,"inaccurateSizes":true},{"id":null,"label":"InfoController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/controllers/InfoController.ts","statSize":658,"parsedSize":342,"gzipSize":42,"inaccurateSizes":true},{"id":null,"label":"ClipboardController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/controllers/ClipboardController.ts","statSize":4643,"parsedSize":2414,"gzipSize":298,"inaccurateSizes":true},{"id":null,"label":"BarcodeController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/controllers/BarcodeController.ts","statSize":15763,"parsedSize":8197,"gzipSize":1012,"inaccurateSizes":true},{"id":null,"label":"DataConnectorController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/controllers/DataConnectorController.ts","statSize":7454,"parsedSize":3876,"gzipSize":479,"inaccurateSizes":true},{"id":null,"label":"ConfigurationController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/controllers/ConfigurationController.ts","statSize":4552,"parsedSize":2367,"gzipSize":292,"inaccurateSizes":true}],"parsedSize":141941,"gzipSize":17539,"inaccurateSizes":true},{"label":"next","path":"./src/index.ts + 76 modules (concatenated)/src/next","statSize":12566,"groups":[{"id":null,"label":"NextInitiator.ts","path":"./src/index.ts + 76 modules (concatenated)/src/next/NextInitiator.ts","statSize":1627,"parsedSize":846,"gzipSize":104,"inaccurateSizes":true},{"label":"controllers","path":"./src/index.ts + 76 modules (concatenated)/src/next/controllers","statSize":10939,"groups":[{"id":null,"label":"VariableController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/next/controllers/VariableController.ts","statSize":4942,"parsedSize":2570,"gzipSize":317,"inaccurateSizes":true},{"id":null,"label":"ConnectorController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/next/controllers/ConnectorController.ts","statSize":4945,"parsedSize":2571,"gzipSize":317,"inaccurateSizes":true},{"id":null,"label":"SubscriberController.ts","path":"./src/index.ts + 76 modules (concatenated)/src/next/controllers/SubscriberController.ts","statSize":1052,"parsedSize":547,"gzipSize":67,"inaccurateSizes":true}],"parsedSize":5689,"gzipSize":702,"inaccurateSizes":true}],"parsedSize":6535,"gzipSize":807,"inaccurateSizes":true}],"parsedSize":175642,"gzipSize":21703,"inaccurateSizes":true},{"id":null,"label":"package.json","path":"./src/index.ts + 76 modules (concatenated)/package.json","statSize":2533,"parsedSize":1317,"gzipSize":162,"inaccurateSizes":true},{"id":null,"label":"editor-engine.json","path":"./src/index.ts + 76 modules (concatenated)/editor-engine.json","statSize":34,"parsedSize":17,"gzipSize":2,"inaccurateSizes":true},{"label":"node_modules/penpal/lib","path":"./src/index.ts + 76 modules (concatenated)/node_modules/penpal/lib","statSize":27011,"groups":[{"id":null,"label":"index.js","path":"./src/index.ts + 76 modules (concatenated)/node_modules/penpal/lib/index.js","statSize":176,"parsedSize":91,"gzipSize":11,"inaccurateSizes":true},{"label":"parent","path":"./src/index.ts + 76 modules (concatenated)/node_modules/penpal/lib/parent","statSize":8421,"groups":[{"id":null,"label":"connectToChild.js","path":"./src/index.ts + 76 modules (concatenated)/node_modules/penpal/lib/parent/connectToChild.js","statSize":2916,"parsedSize":1516,"gzipSize":187,"inaccurateSizes":true},{"id":null,"label":"getOriginFromSrc.js","path":"./src/index.ts + 76 modules (concatenated)/node_modules/penpal/lib/parent/getOriginFromSrc.js","statSize":1665,"parsedSize":865,"gzipSize":106,"inaccurateSizes":true},{"id":null,"label":"handleAckMessageFactory.js","path":"./src/index.ts + 76 modules (concatenated)/node_modules/penpal/lib/parent/handleAckMessageFactory.js","statSize":2012,"parsedSize":1046,"gzipSize":129,"inaccurateSizes":true},{"id":null,"label":"handleSynMessageFactory.js","path":"./src/index.ts + 76 modules (concatenated)/node_modules/penpal/lib/parent/handleSynMessageFactory.js","statSize":689,"parsedSize":358,"gzipSize":44,"inaccurateSizes":true},{"id":null,"label":"validateIframeHasSrcOrSrcDoc.js","path":"./src/index.ts + 76 modules (concatenated)/node_modules/penpal/lib/parent/validateIframeHasSrcOrSrcDoc.js","statSize":267,"parsedSize":138,"gzipSize":17,"inaccurateSizes":true},{"id":null,"label":"monitorIframeRemoval.js","path":"./src/index.ts + 76 modules (concatenated)/node_modules/penpal/lib/parent/monitorIframeRemoval.js","statSize":872,"parsedSize":453,"gzipSize":56,"inaccurateSizes":true}],"parsedSize":4379,"gzipSize":541,"inaccurateSizes":true},{"id":null,"label":"enums.js","path":"./src/index.ts + 76 modules (concatenated)/node_modules/penpal/lib/enums.js","statSize":989,"parsedSize":514,"gzipSize":63,"inaccurateSizes":true},{"label":"child","path":"./src/index.ts + 76 modules (concatenated)/node_modules/penpal/lib/child","statSize":4851,"groups":[{"id":null,"label":"connectToParent.js","path":"./src/index.ts + 76 modules (concatenated)/node_modules/penpal/lib/child/connectToParent.js","statSize":2959,"parsedSize":1538,"gzipSize":190,"inaccurateSizes":true},{"id":null,"label":"handleSynAckMessageFactory.js","path":"./src/index.ts + 76 modules (concatenated)/node_modules/penpal/lib/child/handleSynAckMessageFactory.js","statSize":1892,"parsedSize":983,"gzipSize":121,"inaccurateSizes":true}],"parsedSize":2522,"gzipSize":311,"inaccurateSizes":true},{"id":null,"label":"methodSerialization.js","path":"./src/index.ts + 76 modules (concatenated)/node_modules/penpal/lib/methodSerialization.js","statSize":2541,"parsedSize":1321,"gzipSize":163,"inaccurateSizes":true},{"id":null,"label":"startConnectionTimeout.js","path":"./src/index.ts + 76 modules (concatenated)/node_modules/penpal/lib/startConnectionTimeout.js","statSize":556,"parsedSize":289,"gzipSize":35,"inaccurateSizes":true},{"id":null,"label":"createLogger.js","path":"./src/index.ts + 76 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 + 76 modules (concatenated)/node_modules/penpal/lib/createDestructor.js","statSize":498,"parsedSize":258,"gzipSize":32,"inaccurateSizes":true},{"id":null,"label":"connectCallReceiver.js","path":"./src/index.ts + 76 modules (concatenated)/node_modules/penpal/lib/connectCallReceiver.js","statSize":3589,"parsedSize":1866,"gzipSize":230,"inaccurateSizes":true},{"id":null,"label":"connectCallSender.js","path":"./src/index.ts + 76 modules (concatenated)/node_modules/penpal/lib/connectCallSender.js","statSize":4623,"parsedSize":2404,"gzipSize":297,"inaccurateSizes":true},{"id":null,"label":"errorSerialization.js","path":"./src/index.ts + 76 modules (concatenated)/node_modules/penpal/lib/errorSerialization.js","statSize":429,"parsedSize":223,"gzipSize":27,"inaccurateSizes":true},{"id":null,"label":"generateId.js","path":"./src/index.ts + 76 modules (concatenated)/node_modules/penpal/lib/generateId.js","statSize":104,"parsedSize":54,"gzipSize":6,"inaccurateSizes":true}],"parsedSize":14047,"gzipSize":1735,"inaccurateSizes":true}]}],"parsedSize":191025,"gzipSize":23604}]}];
|
|
34
|
+
window.chartData = [{"label":"main.js","isAsset":true,"statSize":379956,"parsedSize":198265,"gzipSize":24332,"groups":[{"label":"src","path":"./src","statSize":379956,"groups":[{"id":110,"label":"index.ts + 78 modules (concatenated)","path":"./src/index.ts + 78 modules (concatenated)","statSize":379956,"parsedSize":198265,"gzipSize":24332,"concatenated":true,"groups":[{"label":"src","path":"./src/index.ts + 78 modules (concatenated)/src","statSize":350378,"groups":[{"id":null,"label":"index.ts","path":"./src/index.ts + 78 modules (concatenated)/src/index.ts","statSize":1693,"parsedSize":883,"gzipSize":108,"inaccurateSizes":true},{"id":null,"label":"sdk.ts","path":"./src/index.ts + 78 modules (concatenated)/src/sdk.ts","statSize":12692,"parsedSize":6622,"gzipSize":812,"inaccurateSizes":true},{"label":"types","path":"./src/index.ts + 78 modules (concatenated)/src/types","statSize":24440,"groups":[{"id":null,"label":"ConfigurationTypes.ts","path":"./src/index.ts + 78 modules (concatenated)/src/types/ConfigurationTypes.ts","statSize":1070,"parsedSize":558,"gzipSize":68,"inaccurateSizes":true},{"id":null,"label":"DocumentTypes.ts","path":"./src/index.ts + 78 modules (concatenated)/src/types/DocumentTypes.ts","statSize":1093,"parsedSize":570,"gzipSize":69,"inaccurateSizes":true},{"id":null,"label":"ColorStyleTypes.ts","path":"./src/index.ts + 78 modules (concatenated)/src/types/ColorStyleTypes.ts","statSize":728,"parsedSize":379,"gzipSize":46,"inaccurateSizes":true},{"id":null,"label":"ConnectorTypes.ts","path":"./src/index.ts + 78 modules (concatenated)/src/types/ConnectorTypes.ts","statSize":6344,"parsedSize":3310,"gzipSize":406,"inaccurateSizes":true},{"id":null,"label":"FrameTypes.ts","path":"./src/index.ts + 78 modules (concatenated)/src/types/FrameTypes.ts","statSize":3949,"parsedSize":2060,"gzipSize":252,"inaccurateSizes":true},{"id":null,"label":"LayoutTypes.ts","path":"./src/index.ts + 78 modules (concatenated)/src/types/LayoutTypes.ts","statSize":907,"parsedSize":473,"gzipSize":58,"inaccurateSizes":true},{"id":null,"label":"MediaConnectorTypes.ts","path":"./src/index.ts + 78 modules (concatenated)/src/types/MediaConnectorTypes.ts","statSize":468,"parsedSize":244,"gzipSize":29,"inaccurateSizes":true},{"id":null,"label":"VariableTypes.ts","path":"./src/index.ts + 78 modules (concatenated)/src/types/VariableTypes.ts","statSize":1100,"parsedSize":573,"gzipSize":70,"inaccurateSizes":true},{"id":null,"label":"BarcodeTypes.ts","path":"./src/index.ts + 78 modules (concatenated)/src/types/BarcodeTypes.ts","statSize":1744,"parsedSize":910,"gzipSize":111,"inaccurateSizes":true},{"id":null,"label":"AnimationTypes.ts","path":"./src/index.ts + 78 modules (concatenated)/src/types/AnimationTypes.ts","statSize":2065,"parsedSize":1077,"gzipSize":132,"inaccurateSizes":true},{"id":null,"label":"ViewModeTypes.ts","path":"./src/index.ts + 78 modules (concatenated)/src/types/ViewModeTypes.ts","statSize":149,"parsedSize":77,"gzipSize":9,"inaccurateSizes":true},{"id":null,"label":"CommonTypes.ts","path":"./src/index.ts + 78 modules (concatenated)/src/types/CommonTypes.ts","statSize":241,"parsedSize":125,"gzipSize":15,"inaccurateSizes":true},{"id":null,"label":"TextStyleTypes.ts","path":"./src/index.ts + 78 modules (concatenated)/src/types/TextStyleTypes.ts","statSize":2950,"parsedSize":1539,"gzipSize":188,"inaccurateSizes":true},{"id":null,"label":"FontConnectorTypes.ts","path":"./src/index.ts + 78 modules (concatenated)/src/types/FontConnectorTypes.ts","statSize":197,"parsedSize":102,"gzipSize":12,"inaccurateSizes":true},{"id":null,"label":"ActionTypes.ts","path":"./src/index.ts + 78 modules (concatenated)/src/types/ActionTypes.ts","statSize":1012,"parsedSize":528,"gzipSize":64,"inaccurateSizes":true},{"id":null,"label":"ShapeTypes.ts","path":"./src/index.ts + 78 modules (concatenated)/src/types/ShapeTypes.ts","statSize":423,"parsedSize":220,"gzipSize":27,"inaccurateSizes":true}],"parsedSize":12753,"gzipSize":1565,"inaccurateSizes":true},{"label":"utils","path":"./src/index.ts + 78 modules (concatenated)/src/utils","statSize":11967,"groups":[{"id":null,"label":"EditorResponseData.ts","path":"./src/index.ts + 78 modules (concatenated)/src/utils/EditorResponseData.ts","statSize":1720,"parsedSize":897,"gzipSize":110,"inaccurateSizes":true},{"id":null,"label":"enums.ts","path":"./src/index.ts + 78 modules (concatenated)/src/utils/enums.ts","statSize":1750,"parsedSize":913,"gzipSize":112,"inaccurateSizes":true},{"id":null,"label":"LocalConfigurationDecorator.ts","path":"./src/index.ts + 78 modules (concatenated)/src/utils/LocalConfigurationDecorator.ts","statSize":3890,"parsedSize":2029,"gzipSize":249,"inaccurateSizes":true},{"id":null,"label":"DataItemMappingTools.ts","path":"./src/index.ts + 78 modules (concatenated)/src/utils/DataItemMappingTools.ts","statSize":1998,"parsedSize":1042,"gzipSize":127,"inaccurateSizes":true},{"id":null,"label":"ConnectorCompatibilityTools.ts","path":"./src/index.ts + 78 modules (concatenated)/src/utils/ConnectorCompatibilityTools.ts","statSize":2466,"parsedSize":1286,"gzipSize":157,"inaccurateSizes":true},{"id":null,"label":"MathUtils.ts","path":"./src/index.ts + 78 modules (concatenated)/src/utils/MathUtils.ts","statSize":143,"parsedSize":74,"gzipSize":9,"inaccurateSizes":true}],"parsedSize":6244,"gzipSize":766,"inaccurateSizes":true},{"label":"interactions","path":"./src/index.ts + 78 modules (concatenated)/src/interactions","statSize":5152,"groups":[{"id":null,"label":"connector.ts","path":"./src/index.ts + 78 modules (concatenated)/src/interactions/connector.ts","statSize":5152,"parsedSize":2688,"gzipSize":329,"inaccurateSizes":true}],"parsedSize":2688,"gzipSize":329,"inaccurateSizes":true},{"label":"controllers","path":"./src/index.ts + 78 modules (concatenated)/src/controllers","statSize":281868,"groups":[{"id":null,"label":"ActionController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/controllers/ActionController.ts","statSize":8283,"parsedSize":4322,"gzipSize":530,"inaccurateSizes":true},{"id":null,"label":"AnimationController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/controllers/AnimationController.ts","statSize":7249,"parsedSize":3782,"gzipSize":464,"inaccurateSizes":true},{"id":null,"label":"CanvasController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/controllers/CanvasController.ts","statSize":4499,"parsedSize":2347,"gzipSize":288,"inaccurateSizes":true},{"id":null,"label":"CharacterStyleController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/controllers/CharacterStyleController.ts","statSize":6660,"parsedSize":3475,"gzipSize":426,"inaccurateSizes":true},{"id":null,"label":"ColorStyleController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/controllers/ColorStyleController.ts","statSize":6173,"parsedSize":3221,"gzipSize":395,"inaccurateSizes":true},{"id":null,"label":"ColorConversionController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/controllers/ColorConversionController.ts","statSize":2928,"parsedSize":1527,"gzipSize":187,"inaccurateSizes":true},{"id":null,"label":"ConnectorController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/controllers/ConnectorController.ts","statSize":15865,"parsedSize":8278,"gzipSize":1015,"inaccurateSizes":true},{"id":null,"label":"DebugController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/controllers/DebugController.ts","statSize":3842,"parsedSize":2004,"gzipSize":246,"inaccurateSizes":true},{"id":null,"label":"DocumentController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/controllers/DocumentController.ts","statSize":4575,"parsedSize":2387,"gzipSize":292,"inaccurateSizes":true},{"id":null,"label":"ExperimentController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/controllers/ExperimentController.ts","statSize":6512,"parsedSize":3398,"gzipSize":417,"inaccurateSizes":true},{"id":null,"label":"FontConnectorController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/controllers/FontConnectorController.ts","statSize":9201,"parsedSize":4801,"gzipSize":589,"inaccurateSizes":true},{"id":null,"label":"FontController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/controllers/FontController.ts","statSize":9036,"parsedSize":4715,"gzipSize":578,"inaccurateSizes":true},{"id":null,"label":"FrameController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/controllers/FrameController.ts","statSize":45626,"parsedSize":23808,"gzipSize":2921,"inaccurateSizes":true},{"id":null,"label":"ShapeController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/controllers/ShapeController.ts","statSize":9127,"parsedSize":4762,"gzipSize":584,"inaccurateSizes":true},{"id":null,"label":"LayoutController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/controllers/LayoutController.ts","statSize":16678,"parsedSize":8702,"gzipSize":1068,"inaccurateSizes":true},{"id":null,"label":"MediaConnectorController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/controllers/MediaConnectorController.ts","statSize":9133,"parsedSize":4765,"gzipSize":584,"inaccurateSizes":true},{"id":null,"label":"PageController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/controllers/PageController.ts","statSize":7968,"parsedSize":4157,"gzipSize":510,"inaccurateSizes":true},{"id":null,"label":"ParagraphStyleController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/controllers/ParagraphStyleController.ts","statSize":6192,"parsedSize":3231,"gzipSize":396,"inaccurateSizes":true},{"id":null,"label":"SubscriberController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/controllers/SubscriberController.ts","statSize":18050,"parsedSize":9418,"gzipSize":1155,"inaccurateSizes":true},{"id":null,"label":"TextStyleController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/controllers/TextStyleController.ts","statSize":3957,"parsedSize":2064,"gzipSize":253,"inaccurateSizes":true},{"id":null,"label":"ToolController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/controllers/ToolController.ts","statSize":5296,"parsedSize":2763,"gzipSize":339,"inaccurateSizes":true},{"id":null,"label":"UndoManagerController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/controllers/UndoManagerController.ts","statSize":6355,"parsedSize":3316,"gzipSize":406,"inaccurateSizes":true},{"id":null,"label":"UtilsController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/controllers/UtilsController.ts","statSize":1305,"parsedSize":680,"gzipSize":83,"inaccurateSizes":true},{"id":null,"label":"VariableController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/controllers/VariableController.ts","statSize":30081,"parsedSize":15696,"gzipSize":1926,"inaccurateSizes":true},{"id":null,"label":"InfoController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/controllers/InfoController.ts","statSize":658,"parsedSize":343,"gzipSize":42,"inaccurateSizes":true},{"id":null,"label":"ClipboardController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/controllers/ClipboardController.ts","statSize":4643,"parsedSize":2422,"gzipSize":297,"inaccurateSizes":true},{"id":null,"label":"BarcodeController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/controllers/BarcodeController.ts","statSize":15763,"parsedSize":8225,"gzipSize":1009,"inaccurateSizes":true},{"id":null,"label":"DataConnectorController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/controllers/DataConnectorController.ts","statSize":6937,"parsedSize":3619,"gzipSize":444,"inaccurateSizes":true},{"id":null,"label":"DataSourceController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/controllers/DataSourceController.ts","statSize":4724,"parsedSize":2465,"gzipSize":302,"inaccurateSizes":true},{"id":null,"label":"ConfigurationController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/controllers/ConfigurationController.ts","statSize":4552,"parsedSize":2375,"gzipSize":291,"inaccurateSizes":true}],"parsedSize":147081,"gzipSize":18050,"inaccurateSizes":true},{"label":"next","path":"./src/index.ts + 78 modules (concatenated)/src/next","statSize":12566,"groups":[{"id":null,"label":"NextInitiator.ts","path":"./src/index.ts + 78 modules (concatenated)/src/next/NextInitiator.ts","statSize":1627,"parsedSize":848,"gzipSize":104,"inaccurateSizes":true},{"label":"controllers","path":"./src/index.ts + 78 modules (concatenated)/src/next/controllers","statSize":10939,"groups":[{"id":null,"label":"VariableController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/next/controllers/VariableController.ts","statSize":4942,"parsedSize":2578,"gzipSize":316,"inaccurateSizes":true},{"id":null,"label":"ConnectorController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/next/controllers/ConnectorController.ts","statSize":4945,"parsedSize":2580,"gzipSize":316,"inaccurateSizes":true},{"id":null,"label":"SubscriberController.ts","path":"./src/index.ts + 78 modules (concatenated)/src/next/controllers/SubscriberController.ts","statSize":1052,"parsedSize":548,"gzipSize":67,"inaccurateSizes":true}],"parsedSize":5708,"gzipSize":700,"inaccurateSizes":true}],"parsedSize":6557,"gzipSize":804,"inaccurateSizes":true}],"parsedSize":182830,"gzipSize":22437,"inaccurateSizes":true},{"id":null,"label":"package.json","path":"./src/index.ts + 78 modules (concatenated)/package.json","statSize":2533,"parsedSize":1321,"gzipSize":162,"inaccurateSizes":true},{"id":null,"label":"editor-engine.json","path":"./src/index.ts + 78 modules (concatenated)/editor-engine.json","statSize":34,"parsedSize":17,"gzipSize":2,"inaccurateSizes":true},{"label":"node_modules/penpal/lib","path":"./src/index.ts + 78 modules (concatenated)/node_modules/penpal/lib","statSize":27011,"groups":[{"id":null,"label":"index.js","path":"./src/index.ts + 78 modules (concatenated)/node_modules/penpal/lib/index.js","statSize":176,"parsedSize":91,"gzipSize":11,"inaccurateSizes":true},{"label":"parent","path":"./src/index.ts + 78 modules (concatenated)/node_modules/penpal/lib/parent","statSize":8421,"groups":[{"id":null,"label":"connectToChild.js","path":"./src/index.ts + 78 modules (concatenated)/node_modules/penpal/lib/parent/connectToChild.js","statSize":2916,"parsedSize":1521,"gzipSize":186,"inaccurateSizes":true},{"id":null,"label":"getOriginFromSrc.js","path":"./src/index.ts + 78 modules (concatenated)/node_modules/penpal/lib/parent/getOriginFromSrc.js","statSize":1665,"parsedSize":868,"gzipSize":106,"inaccurateSizes":true},{"id":null,"label":"handleAckMessageFactory.js","path":"./src/index.ts + 78 modules (concatenated)/node_modules/penpal/lib/parent/handleAckMessageFactory.js","statSize":2012,"parsedSize":1049,"gzipSize":128,"inaccurateSizes":true},{"id":null,"label":"handleSynMessageFactory.js","path":"./src/index.ts + 78 modules (concatenated)/node_modules/penpal/lib/parent/handleSynMessageFactory.js","statSize":689,"parsedSize":359,"gzipSize":44,"inaccurateSizes":true},{"id":null,"label":"validateIframeHasSrcOrSrcDoc.js","path":"./src/index.ts + 78 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 + 78 modules (concatenated)/node_modules/penpal/lib/parent/monitorIframeRemoval.js","statSize":872,"parsedSize":455,"gzipSize":55,"inaccurateSizes":true}],"parsedSize":4394,"gzipSize":539,"inaccurateSizes":true},{"id":null,"label":"enums.js","path":"./src/index.ts + 78 modules (concatenated)/node_modules/penpal/lib/enums.js","statSize":989,"parsedSize":516,"gzipSize":63,"inaccurateSizes":true},{"label":"child","path":"./src/index.ts + 78 modules (concatenated)/node_modules/penpal/lib/child","statSize":4851,"groups":[{"id":null,"label":"connectToParent.js","path":"./src/index.ts + 78 modules (concatenated)/node_modules/penpal/lib/child/connectToParent.js","statSize":2959,"parsedSize":1544,"gzipSize":189,"inaccurateSizes":true},{"id":null,"label":"handleSynAckMessageFactory.js","path":"./src/index.ts + 78 modules (concatenated)/node_modules/penpal/lib/child/handleSynAckMessageFactory.js","statSize":1892,"parsedSize":987,"gzipSize":121,"inaccurateSizes":true}],"parsedSize":2531,"gzipSize":310,"inaccurateSizes":true},{"id":null,"label":"methodSerialization.js","path":"./src/index.ts + 78 modules (concatenated)/node_modules/penpal/lib/methodSerialization.js","statSize":2541,"parsedSize":1325,"gzipSize":162,"inaccurateSizes":true},{"id":null,"label":"startConnectionTimeout.js","path":"./src/index.ts + 78 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 + 78 modules (concatenated)/node_modules/penpal/lib/createLogger.js","statSize":234,"parsedSize":122,"gzipSize":14,"inaccurateSizes":true},{"id":null,"label":"createDestructor.js","path":"./src/index.ts + 78 modules (concatenated)/node_modules/penpal/lib/createDestructor.js","statSize":498,"parsedSize":259,"gzipSize":31,"inaccurateSizes":true},{"id":null,"label":"connectCallReceiver.js","path":"./src/index.ts + 78 modules (concatenated)/node_modules/penpal/lib/connectCallReceiver.js","statSize":3589,"parsedSize":1872,"gzipSize":229,"inaccurateSizes":true},{"id":null,"label":"connectCallSender.js","path":"./src/index.ts + 78 modules (concatenated)/node_modules/penpal/lib/connectCallSender.js","statSize":4623,"parsedSize":2412,"gzipSize":296,"inaccurateSizes":true},{"id":null,"label":"errorSerialization.js","path":"./src/index.ts + 78 modules (concatenated)/node_modules/penpal/lib/errorSerialization.js","statSize":429,"parsedSize":223,"gzipSize":27,"inaccurateSizes":true},{"id":null,"label":"generateId.js","path":"./src/index.ts + 78 modules (concatenated)/node_modules/penpal/lib/generateId.js","statSize":104,"parsedSize":54,"gzipSize":6,"inaccurateSizes":true}],"parsedSize":14094,"gzipSize":1729,"inaccurateSizes":true}]}],"parsedSize":198265,"gzipSize":24332}]}];
|
|
35
35
|
window.defaultSizes = "parsed";
|
|
36
36
|
</script>
|
|
37
37
|
</body>
|
package/lib/editor-engine.json
CHANGED
package/lib/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { ConnectorConfigOptions, EditorAPI, EditorResponse, MetaData } from '../types/CommonTypes';
|
|
2
2
|
import { DataConnectorCapabilities, DataItem, DataModel, DataPage, PageConfig } from '../types/DataConnectorTypes';
|
|
3
|
+
import { DataItemMappingTools } from '../utils/DataItemMappingTools';
|
|
3
4
|
/**
|
|
4
5
|
* The DataConnectorController is responsible for all communication regarding Data connectors.
|
|
5
|
-
* Methods inside this controller can be called by `window.SDK.
|
|
6
|
+
* Methods inside this controller can be called by `window.SDK.dataConnector.{method-name}`
|
|
6
7
|
*
|
|
7
8
|
* The way GraFx Studio handles different sources of Data is called 'DataConnector'.
|
|
8
9
|
* A DataConnector is an implementation of a set of capabilities we need
|
|
@@ -18,7 +19,7 @@ export declare class DataConnectorController {
|
|
|
18
19
|
/**
|
|
19
20
|
* @ignore
|
|
20
21
|
*/
|
|
21
|
-
constructor(editorAPI: EditorAPI);
|
|
22
|
+
constructor(editorAPI: EditorAPI, dataItemMappingTools: DataItemMappingTools);
|
|
22
23
|
/**
|
|
23
24
|
* Query a specific DataConnector for data using both specific PageConfig and the dynamic
|
|
24
25
|
* context as parameters.
|
|
@@ -50,20 +51,4 @@ export declare class DataConnectorController {
|
|
|
50
51
|
* @returns DataConnectorCapabilities
|
|
51
52
|
*/
|
|
52
53
|
getCapabilities: (connectorId: string) => Promise<EditorResponse<DataConnectorCapabilities>>;
|
|
53
|
-
/**
|
|
54
|
-
* Check if the value is a DatePropertyWrapper with the type guard
|
|
55
|
-
* @param value a dynamic value which
|
|
56
|
-
* @returns boolean value.
|
|
57
|
-
*/
|
|
58
|
-
private isDatePropertyWrapper;
|
|
59
|
-
/**
|
|
60
|
-
* Transforms an InternalDataItem into a DataItem.
|
|
61
|
-
*
|
|
62
|
-
* Converts DatePropertyWrapper values to JavaScript Date objects
|
|
63
|
-
* while keeping other values unchanged.
|
|
64
|
-
*
|
|
65
|
-
* @param dataItem the EngineDataItem to transform.
|
|
66
|
-
* @returns the resulting DataItem with parsed date properties.
|
|
67
|
-
*/
|
|
68
|
-
private mapEngineToDataItem;
|
|
69
54
|
}
|
|
@@ -18,11 +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 _DataConnectorController_editorAPI;
|
|
21
|
+
var _DataConnectorController_editorAPI, _DataConnectorController_dataItemMappingTools;
|
|
22
22
|
import { getEditorResponseData } from '../utils/EditorResponseData';
|
|
23
23
|
/**
|
|
24
24
|
* The DataConnectorController is responsible for all communication regarding Data connectors.
|
|
25
|
-
* Methods inside this controller can be called by `window.SDK.
|
|
25
|
+
* Methods inside this controller can be called by `window.SDK.dataConnector.{method-name}`
|
|
26
26
|
*
|
|
27
27
|
* The way GraFx Studio handles different sources of Data is called 'DataConnector'.
|
|
28
28
|
* A DataConnector is an implementation of a set of capabilities we need
|
|
@@ -37,11 +37,12 @@ export class DataConnectorController {
|
|
|
37
37
|
/**
|
|
38
38
|
* @ignore
|
|
39
39
|
*/
|
|
40
|
-
constructor(editorAPI) {
|
|
40
|
+
constructor(editorAPI, dataItemMappingTools) {
|
|
41
41
|
/**
|
|
42
42
|
* @ignore
|
|
43
43
|
*/
|
|
44
44
|
_DataConnectorController_editorAPI.set(this, void 0);
|
|
45
|
+
_DataConnectorController_dataItemMappingTools.set(this, void 0);
|
|
45
46
|
/**
|
|
46
47
|
* Query a specific DataConnector for data using both specific PageConfig and the dynamic
|
|
47
48
|
* context as parameters.
|
|
@@ -59,7 +60,7 @@ export class DataConnectorController {
|
|
|
59
60
|
const update = Object.assign(Object.assign({}, resp), { parsedData: null });
|
|
60
61
|
if (resp.parsedData) {
|
|
61
62
|
update.parsedData = {
|
|
62
|
-
data: resp.parsedData.data.map((e) => this.mapEngineToDataItem(e)),
|
|
63
|
+
data: resp.parsedData.data.map((e) => __classPrivateFieldGet(this, _DataConnectorController_dataItemMappingTools, "f").mapEngineToDataItem(e)),
|
|
63
64
|
continuationToken: resp.parsedData.continuationToken,
|
|
64
65
|
};
|
|
65
66
|
}
|
|
@@ -104,31 +105,8 @@ export class DataConnectorController {
|
|
|
104
105
|
.then((result) => getEditorResponseData(result));
|
|
105
106
|
});
|
|
106
107
|
__classPrivateFieldSet(this, _DataConnectorController_editorAPI, editorAPI, "f");
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* Check if the value is a DatePropertyWrapper with the type guard
|
|
110
|
-
* @param value a dynamic value which
|
|
111
|
-
* @returns boolean value.
|
|
112
|
-
*/
|
|
113
|
-
isDatePropertyWrapper(value) {
|
|
114
|
-
return typeof value === 'object' && (value === null || value === void 0 ? void 0 : value.type) === 'date';
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* Transforms an InternalDataItem into a DataItem.
|
|
118
|
-
*
|
|
119
|
-
* Converts DatePropertyWrapper values to JavaScript Date objects
|
|
120
|
-
* while keeping other values unchanged.
|
|
121
|
-
*
|
|
122
|
-
* @param dataItem the EngineDataItem to transform.
|
|
123
|
-
* @returns the resulting DataItem with parsed date properties.
|
|
124
|
-
*/
|
|
125
|
-
mapEngineToDataItem(dataItem) {
|
|
126
|
-
const parsedItem = {};
|
|
127
|
-
Object.entries(dataItem).forEach(([key, value]) => {
|
|
128
|
-
parsedItem[key] = this.isDatePropertyWrapper(value) ? new Date(value.value) : value;
|
|
129
|
-
});
|
|
130
|
-
return parsedItem;
|
|
108
|
+
__classPrivateFieldSet(this, _DataConnectorController_dataItemMappingTools, dataItemMappingTools, "f");
|
|
131
109
|
}
|
|
132
110
|
}
|
|
133
|
-
_DataConnectorController_editorAPI = new WeakMap();
|
|
111
|
+
_DataConnectorController_editorAPI = new WeakMap(), _DataConnectorController_dataItemMappingTools = new WeakMap();
|
|
134
112
|
//# sourceMappingURL=DataConnectorController.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataConnectorController.js","sourceRoot":"","sources":["../../../src/controllers/DataConnectorController.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"DataConnectorController.js","sourceRoot":"","sources":["../../../src/controllers/DataConnectorController.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAIpE;;;;;;;;;;;;GAYG;AACH,MAAM,OAAO,uBAAuB;IAOhC;;OAEG;IACH,YAAY,SAAoB,EAAE,oBAA0C;QAT5E;;WAEG;QACH,qDAAsB;QACtB,gEAA4C;QAU5C;;;;;;;WAOG;QACH,YAAO,GAAG,CACN,WAAmB,EACnB,MAAkB,EAClB,UAAoB,EAAE,EACqB,EAAE;YAC7C,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,CAA2B,MAAM,CAAC,CAAC;iBACzE,IAAI,CAAC,CAAC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B,CAAC,WAAW,CAAC;iBACzC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,qBAAqB,CAA4B,MAAM,CAAC,CAAC,CAAC;QACpF,CAAC,CAAA,CAAC;QAzEE,uBAAA,IAAI,sCAAc,SAAS,MAAA,CAAC;QAC5B,uBAAA,IAAI,iDAAyB,oBAAoB,MAAA,CAAC;IACtD,CAAC;CAwEJ"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { EditorAPI } from '../types/CommonTypes';
|
|
2
|
+
import { ConnectorInstance } from '../next';
|
|
3
|
+
import { DataItem } from '../types/DataConnectorTypes';
|
|
4
|
+
import { DataItemMappingTools } from '../utils/DataItemMappingTools';
|
|
5
|
+
/**
|
|
6
|
+
* The DataSourceController is responsible for all communication regarding data source.
|
|
7
|
+
* Methods inside this controller can be called by `window.SDK.dataSource.{method-name}`
|
|
8
|
+
*
|
|
9
|
+
* A data source is a data connector selected to be used in the document.
|
|
10
|
+
* Only one data source can be defined per template, this controller manages this
|
|
11
|
+
* data source.
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
14
|
+
export declare class DataSourceController {
|
|
15
|
+
#private;
|
|
16
|
+
/**
|
|
17
|
+
* @ignore
|
|
18
|
+
*/
|
|
19
|
+
constructor(editorAPI: EditorAPI, dataItemMappingTools: DataItemMappingTools);
|
|
20
|
+
/**
|
|
21
|
+
* Sets the data source by id.
|
|
22
|
+
* @param connectorId the id of your data connector
|
|
23
|
+
* @returns
|
|
24
|
+
*/
|
|
25
|
+
setDataSource: (connectorId: string) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
|
|
26
|
+
/**
|
|
27
|
+
* Gets the data source.
|
|
28
|
+
* @returns the connector object
|
|
29
|
+
*/
|
|
30
|
+
getDataSource: () => Promise<import("../types/CommonTypes").EditorResponse<ConnectorInstance>>;
|
|
31
|
+
/**
|
|
32
|
+
* Removes the data source if defined.
|
|
33
|
+
* @returns
|
|
34
|
+
*/
|
|
35
|
+
removeDataSource: () => Promise<import("../types/CommonTypes").EditorResponse<null>>;
|
|
36
|
+
/**
|
|
37
|
+
* Maps the data row values to variables by names (data row keys).
|
|
38
|
+
* Variables must exist.
|
|
39
|
+
* @param dataRow DataItem to set
|
|
40
|
+
* @returns
|
|
41
|
+
*/
|
|
42
|
+
setDataRow: (dataRow: DataItem) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
|
|
11
|
+
if (kind === "m") throw new TypeError("Private method is not writable");
|
|
12
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");
|
|
13
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
14
|
+
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
15
|
+
};
|
|
16
|
+
var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
|
|
17
|
+
if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
|
|
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
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
20
|
+
};
|
|
21
|
+
var _DataSourceController_editorAPI, _DataSourceController_dataItemMappingTools;
|
|
22
|
+
import { getEditorResponseData } from '../utils/EditorResponseData';
|
|
23
|
+
/**
|
|
24
|
+
* The DataSourceController is responsible for all communication regarding data source.
|
|
25
|
+
* Methods inside this controller can be called by `window.SDK.dataSource.{method-name}`
|
|
26
|
+
*
|
|
27
|
+
* A data source is a data connector selected to be used in the document.
|
|
28
|
+
* Only one data source can be defined per template, this controller manages this
|
|
29
|
+
* data source.
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
export class DataSourceController {
|
|
33
|
+
/**
|
|
34
|
+
* @ignore
|
|
35
|
+
*/
|
|
36
|
+
constructor(editorAPI, dataItemMappingTools) {
|
|
37
|
+
/**
|
|
38
|
+
* @ignore
|
|
39
|
+
*/
|
|
40
|
+
_DataSourceController_editorAPI.set(this, void 0);
|
|
41
|
+
_DataSourceController_dataItemMappingTools.set(this, void 0);
|
|
42
|
+
/**
|
|
43
|
+
* Sets the data source by id.
|
|
44
|
+
* @param connectorId the id of your data connector
|
|
45
|
+
* @returns
|
|
46
|
+
*/
|
|
47
|
+
this.setDataSource = (connectorId) => __awaiter(this, void 0, void 0, function* () {
|
|
48
|
+
const res = yield __classPrivateFieldGet(this, _DataSourceController_editorAPI, "f");
|
|
49
|
+
return res.setDataSource(connectorId).then((result) => getEditorResponseData(result));
|
|
50
|
+
});
|
|
51
|
+
/**
|
|
52
|
+
* Gets the data source.
|
|
53
|
+
* @returns the connector object
|
|
54
|
+
*/
|
|
55
|
+
this.getDataSource = () => __awaiter(this, void 0, void 0, function* () {
|
|
56
|
+
const res = yield __classPrivateFieldGet(this, _DataSourceController_editorAPI, "f");
|
|
57
|
+
return res.getDataSource().then((result) => getEditorResponseData(result));
|
|
58
|
+
});
|
|
59
|
+
/**
|
|
60
|
+
* Removes the data source if defined.
|
|
61
|
+
* @returns
|
|
62
|
+
*/
|
|
63
|
+
this.removeDataSource = () => __awaiter(this, void 0, void 0, function* () {
|
|
64
|
+
const res = yield __classPrivateFieldGet(this, _DataSourceController_editorAPI, "f");
|
|
65
|
+
return res.removeDataSource().then((result) => getEditorResponseData(result));
|
|
66
|
+
});
|
|
67
|
+
/**
|
|
68
|
+
* Maps the data row values to variables by names (data row keys).
|
|
69
|
+
* Variables must exist.
|
|
70
|
+
* @param dataRow DataItem to set
|
|
71
|
+
* @returns
|
|
72
|
+
*/
|
|
73
|
+
this.setDataRow = (dataRow) => __awaiter(this, void 0, void 0, function* () {
|
|
74
|
+
const res = yield __classPrivateFieldGet(this, _DataSourceController_editorAPI, "f");
|
|
75
|
+
const engineDataItem = __classPrivateFieldGet(this, _DataSourceController_dataItemMappingTools, "f").mapDataItemToEngine(dataRow);
|
|
76
|
+
return res.setDataRow(JSON.stringify(engineDataItem)).then((result) => getEditorResponseData(result));
|
|
77
|
+
});
|
|
78
|
+
__classPrivateFieldSet(this, _DataSourceController_editorAPI, editorAPI, "f");
|
|
79
|
+
__classPrivateFieldSet(this, _DataSourceController_dataItemMappingTools, dataItemMappingTools, "f");
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
_DataSourceController_editorAPI = new WeakMap(), _DataSourceController_dataItemMappingTools = new WeakMap();
|
|
83
|
+
//# sourceMappingURL=DataSourceController.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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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
|
|
@@ -68,9 +68,7 @@ export class DocumentController {
|
|
|
68
68
|
this.createAndLoad = (preset) => __awaiter(this, void 0, void 0, function* () {
|
|
69
69
|
const res = yield __classPrivateFieldGet(this, _DocumentController_editorAPI, "f");
|
|
70
70
|
const parsedDoc = JSON.stringify(preset);
|
|
71
|
-
return res
|
|
72
|
-
.createAndLoadDocument(parsedDoc)
|
|
73
|
-
.then((result) => getEditorResponseData(result));
|
|
71
|
+
return res.createAndLoadDocument(parsedDoc).then((result) => getEditorResponseData(result));
|
|
74
72
|
});
|
|
75
73
|
__classPrivateFieldSet(this, _DocumentController_editorAPI, editorAPI, "f");
|
|
76
74
|
}
|
|
@@ -1 +1 @@
|
|
|
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,CAAO,GAA2B,EAAE,UAA+B,EAAE,cAAc,EAAE,KAAK,EAAE,EAAE,EAAE;YACnG,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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;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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { EditorAPI, EditorResponse, Id } from '../types/CommonTypes';
|
|
2
|
-
import { BlendMode, FitMode, FrameLayoutType, FrameType, FrameTypeEnum, UpdateZIndexMethod, VerticalAlign
|
|
2
|
+
import { AnchorTarget, AutoGrowDirection, BlendMode, FitMode, FrameAnchorType, FrameLayoutType, FrameType, FrameTypeEnum, UpdateZIndexMethod, VerticalAlign } from '../types/FrameTypes';
|
|
3
3
|
import { ColorUsage } from '../types/ColorStyleTypes';
|
|
4
4
|
import { ShapeType } from '../types/ShapeTypes';
|
|
5
5
|
import { BarcodeType } from '../types/BarcodeTypes';
|
|
@@ -465,47 +465,33 @@ export declare class FrameController {
|
|
|
465
465
|
*/
|
|
466
466
|
setAutoGrowDirections: (id: Id, value: Array<AutoGrowDirection>) => Promise<EditorResponse<null>>;
|
|
467
467
|
/**
|
|
468
|
-
* This method
|
|
469
|
-
* @param id the id of the frame that needs to get reset
|
|
470
|
-
* @returns
|
|
468
|
+
* @deprecated This method no longer has any effect. Use `resetTransformation` instead
|
|
471
469
|
*/
|
|
472
|
-
resetAutoGrowSettingsEnabled: (
|
|
470
|
+
resetAutoGrowSettingsEnabled: (_id: Id) => Promise<EditorResponse<null>>;
|
|
473
471
|
/**
|
|
474
|
-
* This method
|
|
475
|
-
* @param id the id of the frame that needs to get reset
|
|
476
|
-
* @returns
|
|
472
|
+
* @deprecated This method no longer has any effect. Use `resetTransformation` instead
|
|
477
473
|
*/
|
|
478
|
-
resetAutoGrowMinWidth: (
|
|
474
|
+
resetAutoGrowMinWidth: (_id: Id) => Promise<EditorResponse<null>>;
|
|
479
475
|
/**
|
|
480
|
-
* This method
|
|
481
|
-
* @param id the id of the frame that needs to get reset
|
|
482
|
-
* @returns
|
|
476
|
+
* @deprecated This method no longer has any effect. Use `resetTransformation` instead
|
|
483
477
|
*/
|
|
484
|
-
resetAutoGrowMaxWidth: (
|
|
478
|
+
resetAutoGrowMaxWidth: (_id: Id) => Promise<EditorResponse<null>>;
|
|
485
479
|
/**
|
|
486
|
-
* This method
|
|
487
|
-
* @param id the id of the frame that needs to get reset
|
|
488
|
-
* @returns
|
|
480
|
+
* @deprecated This method no longer has any effect. Use `resetTransformation` instead
|
|
489
481
|
*/
|
|
490
|
-
resetAutoGrowMinHeight: (
|
|
482
|
+
resetAutoGrowMinHeight: (_id: Id) => Promise<EditorResponse<null>>;
|
|
491
483
|
/**
|
|
492
|
-
* This method
|
|
493
|
-
* @param id the id of the frame that needs to get reset
|
|
494
|
-
* @returns
|
|
484
|
+
* @deprecated This method no longer has any effect. Use `resetTransformation` instead
|
|
495
485
|
*/
|
|
496
|
-
resetAutoGrowMaxHeight: (
|
|
486
|
+
resetAutoGrowMaxHeight: (_id: Id) => Promise<EditorResponse<null>>;
|
|
497
487
|
/**
|
|
498
|
-
* This method
|
|
499
|
-
* @param id the id of the frame that needs to get reset
|
|
500
|
-
* @returns
|
|
488
|
+
* @deprecated This method no longer has any effect. Use `resetTransformation` instead
|
|
501
489
|
*/
|
|
502
|
-
resetAutoGrowDirections: (
|
|
490
|
+
resetAutoGrowDirections: (_id: Id) => Promise<EditorResponse<null>>;
|
|
503
491
|
/**
|
|
504
|
-
* This method
|
|
505
|
-
* @param id the id of the frame that needs to get reset
|
|
506
|
-
* @returns
|
|
492
|
+
* @deprecated This method no longer has any effect. Use `resetTransformation` instead
|
|
507
493
|
*/
|
|
508
|
-
resetAutoGrow: (
|
|
494
|
+
resetAutoGrow: (_id: Id) => Promise<EditorResponse<null>>;
|
|
509
495
|
private setAnchor;
|
|
510
496
|
/**
|
|
511
497
|
* @experimental
|