@chili-publish/studio-sdk 1.17.1 → 1.19.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.
Files changed (132) hide show
  1. package/_bundles/main.js +1 -1
  2. package/_bundles/main.js.map +1 -1
  3. package/_bundles/report.html +2 -2
  4. package/lib/editor-engine.json +1 -1
  5. package/lib/package.json +1 -1
  6. package/lib/src/controllers/DataConnectorController.d.ts +3 -18
  7. package/lib/src/controllers/DataConnectorController.js +7 -29
  8. package/lib/src/controllers/DataConnectorController.js.map +1 -1
  9. package/lib/src/controllers/DataSourceController.d.ts +43 -0
  10. package/lib/src/controllers/DataSourceController.js +83 -0
  11. package/lib/src/controllers/DataSourceController.js.map +1 -0
  12. package/lib/src/controllers/DocumentController.js +1 -3
  13. package/lib/src/controllers/DocumentController.js.map +1 -1
  14. package/lib/src/controllers/FrameController.d.ts +44 -37
  15. package/lib/src/controllers/FrameController.js +128 -79
  16. package/lib/src/controllers/FrameController.js.map +1 -1
  17. package/lib/src/controllers/LayoutController.d.ts +36 -2
  18. package/lib/src/controllers/LayoutController.js +51 -0
  19. package/lib/src/controllers/LayoutController.js.map +1 -1
  20. package/lib/src/controllers/PageController.d.ts +49 -8
  21. package/lib/src/controllers/PageController.js +72 -8
  22. package/lib/src/controllers/PageController.js.map +1 -1
  23. package/lib/src/controllers/SubscriberController.d.ts +43 -3
  24. package/lib/src/controllers/SubscriberController.js +88 -76
  25. package/lib/src/controllers/SubscriberController.js.map +1 -1
  26. package/lib/src/controllers/ToolController.d.ts +1 -1
  27. package/lib/src/controllers/ToolController.js +1 -1
  28. package/lib/src/controllers/UndoManagerController.d.ts +9 -0
  29. package/lib/src/controllers/UndoManagerController.js +12 -0
  30. package/lib/src/controllers/UndoManagerController.js.map +1 -1
  31. package/lib/src/controllers/UtilsController.d.ts +1 -1
  32. package/lib/src/controllers/UtilsController.js +1 -1
  33. package/lib/src/controllers/VariableController.d.ts +3 -3
  34. package/lib/src/controllers/VariableController.js.map +1 -1
  35. package/lib/src/index.d.ts +24 -21
  36. package/lib/src/index.js +13 -10
  37. package/lib/src/index.js.map +1 -1
  38. package/lib/src/interactions/{connector.d.ts → Connector.d.ts} +8 -1
  39. package/lib/src/interactions/{connector.js → Connector.js} +8 -1
  40. package/lib/src/interactions/{connector.js.map → Connector.js.map} +1 -1
  41. package/lib/src/next/NextInitiator.d.ts +2 -2
  42. package/lib/src/next/NextInitiator.js.map +1 -1
  43. package/lib/src/next/controllers/SubscriberController.d.ts +2 -2
  44. package/lib/src/next/controllers/SubscriberController.js +2 -4
  45. package/lib/src/next/controllers/SubscriberController.js.map +1 -1
  46. package/lib/src/next/tests/controllers/ConnectorController.test.js +1 -1
  47. package/lib/src/next/tests/controllers/ConnectorController.test.js.map +1 -1
  48. package/lib/src/next/tests/controllers/SubscriberContoller.test.js +5 -4
  49. package/lib/src/next/tests/controllers/SubscriberContoller.test.js.map +1 -1
  50. package/lib/src/next/types/NextSubscribers.d.ts +2 -1
  51. package/lib/src/sdk.d.ts +12 -9
  52. package/lib/src/sdk.js +34 -13
  53. package/lib/src/sdk.js.map +1 -1
  54. package/lib/src/tests/__mocks__/{animations.js → Animations.js} +1 -1
  55. package/lib/src/tests/__mocks__/Animations.js.map +1 -0
  56. package/lib/src/tests/__mocks__/{config.d.ts → Config.d.ts} +2 -2
  57. package/lib/src/tests/__mocks__/{config.js → Config.js} +7 -3
  58. package/lib/src/tests/__mocks__/Config.js.map +1 -0
  59. package/lib/src/tests/controllers/AnimationController.test.js +1 -1
  60. package/lib/src/tests/controllers/DataConnectorController.test.js +3 -1
  61. package/lib/src/tests/controllers/DataConnectorController.test.js.map +1 -1
  62. package/lib/src/tests/controllers/DataSourceController.test.js +67 -0
  63. package/lib/src/tests/controllers/DataSourceController.test.js.map +1 -0
  64. package/lib/src/tests/controllers/DocumentController.test.js.map +1 -1
  65. package/lib/src/tests/controllers/FrameController.test.js +29 -66
  66. package/lib/src/tests/controllers/FrameController.test.js.map +1 -1
  67. package/lib/src/tests/controllers/LayoutController.test.js +35 -0
  68. package/lib/src/tests/controllers/LayoutController.test.js.map +1 -1
  69. package/lib/src/tests/controllers/PageController.test.js +42 -0
  70. package/lib/src/tests/controllers/PageController.test.js.map +1 -1
  71. package/lib/src/tests/controllers/SubscriberContoller.test.js +89 -38
  72. package/lib/src/tests/controllers/SubscriberContoller.test.js.map +1 -1
  73. package/lib/src/tests/controllers/UndoManagerController.test.js +10 -1
  74. package/lib/src/tests/controllers/UndoManagerController.test.js.map +1 -1
  75. package/lib/src/tests/controllers/UtilsController.test.js +1 -1
  76. package/lib/src/tests/controllers/VariableController.test.js.map +1 -1
  77. package/lib/src/tests/index.test.js +1 -1
  78. package/lib/src/tests/interactions/{connector.test.js → Connector.test.js} +2 -2
  79. package/lib/src/tests/interactions/{connector.test.js.map → Connector.test.js.map} +1 -1
  80. package/lib/src/tests/utils/{editorResponseData.test.js → EditorResponseData.test.js} +1 -1
  81. package/lib/src/tests/utils/{editorResponseData.test.js.map → EditorResponseData.test.js.map} +1 -1
  82. package/lib/src/tests/utils/EventSubscription.test.d.ts +1 -0
  83. package/lib/src/tests/utils/EventSubscription.test.js +238 -0
  84. package/lib/src/tests/utils/EventSubscription.test.js.map +1 -0
  85. package/lib/src/tests/utils/Logging.test.d.ts +1 -0
  86. package/lib/src/tests/utils/Logging.test.js +99 -0
  87. package/lib/src/tests/utils/Logging.test.js.map +1 -0
  88. package/lib/src/tests/utils/Round.test.d.ts +1 -0
  89. package/lib/src/tests/utils/{round.test.js → Round.test.js} +1 -1
  90. package/lib/src/tests/utils/{round.test.js.map → Round.test.js.map} +1 -1
  91. package/lib/src/types/CommonTypes.d.ts +232 -22
  92. package/lib/src/types/CommonTypes.js +27 -0
  93. package/lib/src/types/CommonTypes.js.map +1 -1
  94. package/lib/src/types/DocumentTypes.d.ts +30 -1
  95. package/lib/src/types/DocumentTypes.js +8 -0
  96. package/lib/src/types/DocumentTypes.js.map +1 -1
  97. package/lib/src/types/EngineEditModeTypes.d.ts +11 -0
  98. package/lib/src/types/EngineEditModeTypes.js +8 -0
  99. package/lib/src/types/EngineEditModeTypes.js.map +1 -0
  100. package/lib/src/types/FrameTypes.d.ts +16 -10
  101. package/lib/src/types/FrameTypes.js +15 -1
  102. package/lib/src/types/FrameTypes.js.map +1 -1
  103. package/lib/src/types/LayoutTypes.d.ts +3 -1
  104. package/lib/src/types/LayoutTypes.js.map +1 -1
  105. package/lib/src/types/PageTypes.d.ts +1 -0
  106. package/lib/src/types/VariableTypes.d.ts +2 -2
  107. package/lib/src/types/VariableTypes.js.map +1 -1
  108. package/lib/src/utils/ConfigHelper.d.ts +11 -0
  109. package/lib/src/utils/ConfigHelper.js +90 -0
  110. package/lib/src/utils/ConfigHelper.js.map +1 -0
  111. package/lib/src/utils/DataItemMappingTools.d.ts +53 -0
  112. package/lib/src/utils/DataItemMappingTools.js +58 -0
  113. package/lib/src/utils/DataItemMappingTools.js.map +1 -0
  114. package/lib/src/utils/EngineCallbackHandler.d.ts +13 -0
  115. package/lib/src/utils/EngineCallbackHandler.js +23 -0
  116. package/lib/src/utils/EngineCallbackHandler.js.map +1 -0
  117. package/lib/src/utils/EngineEvent.d.ts +29 -0
  118. package/lib/src/utils/EngineEvent.js +44 -0
  119. package/lib/src/utils/EngineEvent.js.map +1 -0
  120. package/lib/src/utils/EngineEventTrigger.d.ts +8 -0
  121. package/lib/src/utils/EngineEventTrigger.js +33 -0
  122. package/lib/src/utils/EngineEventTrigger.js.map +1 -0
  123. package/lib/src/utils/{enums.js → Enums.js} +1 -1
  124. package/lib/src/utils/{enums.js.map → Enums.js.map} +1 -1
  125. package/package.json +1 -1
  126. package/lib/src/tests/__mocks__/animations.js.map +0 -1
  127. package/lib/src/tests/__mocks__/config.js.map +0 -1
  128. /package/lib/src/tests/__mocks__/{animations.d.ts → Animations.d.ts} +0 -0
  129. /package/lib/src/tests/{interactions/connector.test.d.ts → controllers/DataSourceController.test.d.ts} +0 -0
  130. /package/lib/src/tests/{utils/editorResponseData.test.d.ts → interactions/Connector.test.d.ts} +0 -0
  131. /package/lib/src/tests/utils/{round.test.d.ts → EditorResponseData.test.d.ts} +0 -0
  132. /package/lib/src/utils/{enums.d.ts → Enums.d.ts} +0 -0
@@ -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 [22 Nov 2024 at 10:15]</title>
6
+ <title>@chili-publish/studio-sdk [4 Feb 2025 at 13:04]</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/1XfvldSK8vs3OqB6u3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GSFRNWJNEW+fgPGwHD8/JxnRuLabN4CGNRkAE23na2+VmEAUmrYymSGjMAYqH84YUIyzgzs3XC7gNgH36Vcc4zKY9o9fgPBXUAiHHwVboBHGLiX6Zcjp1f2wu4tvzZKo0ecPnDtQYDQvJXaBeNzce45Fp28ZQLrEZVuFqgBwOalArKXnW1UzlnSusQKJqKYNuz4tOnI6sZG4zanpemv+7ySU2jbA9h6uhcgpfy6G2PahirDZ6zvq6zDduMVFTKvzw8wgyEdelwY9in3XkEPs3osJuwRQ4qTkfzifndg9Gfc4pdsu82+tTnHZTBa2EAMrqr2t43pguc8tNm7JQVQ2S0ukj2d22dhXYP0/veWtwKrCkNoNimAN5+Xr/oLrxswKbVJjteWrX7eR63o4j9q0GxnaBdWgGA5VStpanIjQmEhV0/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":398730,"parsedSize":209308,"gzipSize":26207,"groups":[{"label":"src","path":"./src","statSize":398730,"groups":[{"id":695,"label":"index.ts + 83 modules (concatenated)","path":"./src/index.ts + 83 modules (concatenated)","statSize":398730,"parsedSize":209308,"gzipSize":26207,"concatenated":true,"groups":[{"label":"src","path":"./src/index.ts + 83 modules (concatenated)/src","statSize":369152,"groups":[{"id":null,"label":"index.ts","path":"./src/index.ts + 83 modules (concatenated)/src/index.ts","statSize":1755,"parsedSize":921,"gzipSize":115,"inaccurateSizes":true},{"id":null,"label":"sdk.ts","path":"./src/index.ts + 83 modules (concatenated)/src/sdk.ts","statSize":13300,"parsedSize":6981,"gzipSize":874,"inaccurateSizes":true},{"label":"types","path":"./src/index.ts + 83 modules (concatenated)/src/types","statSize":26283,"groups":[{"id":null,"label":"ConfigurationTypes.ts","path":"./src/index.ts + 83 modules (concatenated)/src/types/ConfigurationTypes.ts","statSize":1070,"parsedSize":561,"gzipSize":70,"inaccurateSizes":true},{"id":null,"label":"DocumentTypes.ts","path":"./src/index.ts + 83 modules (concatenated)/src/types/DocumentTypes.ts","statSize":1093,"parsedSize":573,"gzipSize":71,"inaccurateSizes":true},{"id":null,"label":"BarcodeTypes.ts","path":"./src/index.ts + 83 modules (concatenated)/src/types/BarcodeTypes.ts","statSize":1744,"parsedSize":915,"gzipSize":114,"inaccurateSizes":true},{"id":null,"label":"LayoutTypes.ts","path":"./src/index.ts + 83 modules (concatenated)/src/types/LayoutTypes.ts","statSize":907,"parsedSize":476,"gzipSize":59,"inaccurateSizes":true},{"id":null,"label":"ColorStyleTypes.ts","path":"./src/index.ts + 83 modules (concatenated)/src/types/ColorStyleTypes.ts","statSize":728,"parsedSize":382,"gzipSize":47,"inaccurateSizes":true},{"id":null,"label":"ConnectorTypes.ts","path":"./src/index.ts + 83 modules (concatenated)/src/types/ConnectorTypes.ts","statSize":6344,"parsedSize":3330,"gzipSize":416,"inaccurateSizes":true},{"id":null,"label":"FrameTypes.ts","path":"./src/index.ts + 83 modules (concatenated)/src/types/FrameTypes.ts","statSize":4574,"parsedSize":2401,"gzipSize":300,"inaccurateSizes":true},{"id":null,"label":"MediaConnectorTypes.ts","path":"./src/index.ts + 83 modules (concatenated)/src/types/MediaConnectorTypes.ts","statSize":468,"parsedSize":245,"gzipSize":30,"inaccurateSizes":true},{"id":null,"label":"VariableTypes.ts","path":"./src/index.ts + 83 modules (concatenated)/src/types/VariableTypes.ts","statSize":1100,"parsedSize":577,"gzipSize":72,"inaccurateSizes":true},{"id":null,"label":"CommonTypes.ts","path":"./src/index.ts + 83 modules (concatenated)/src/types/CommonTypes.ts","statSize":1130,"parsedSize":593,"gzipSize":74,"inaccurateSizes":true},{"id":null,"label":"AnimationTypes.ts","path":"./src/index.ts + 83 modules (concatenated)/src/types/AnimationTypes.ts","statSize":2065,"parsedSize":1083,"gzipSize":135,"inaccurateSizes":true},{"id":null,"label":"ViewModeTypes.ts","path":"./src/index.ts + 83 modules (concatenated)/src/types/ViewModeTypes.ts","statSize":149,"parsedSize":78,"gzipSize":9,"inaccurateSizes":true},{"id":null,"label":"FontConnectorTypes.ts","path":"./src/index.ts + 83 modules (concatenated)/src/types/FontConnectorTypes.ts","statSize":197,"parsedSize":103,"gzipSize":12,"inaccurateSizes":true},{"id":null,"label":"TextStyleTypes.ts","path":"./src/index.ts + 83 modules (concatenated)/src/types/TextStyleTypes.ts","statSize":2950,"parsedSize":1548,"gzipSize":193,"inaccurateSizes":true},{"id":null,"label":"ActionTypes.ts","path":"./src/index.ts + 83 modules (concatenated)/src/types/ActionTypes.ts","statSize":1012,"parsedSize":531,"gzipSize":66,"inaccurateSizes":true},{"id":null,"label":"ShapeTypes.ts","path":"./src/index.ts + 83 modules (concatenated)/src/types/ShapeTypes.ts","statSize":423,"parsedSize":222,"gzipSize":27,"inaccurateSizes":true},{"id":null,"label":"EngineEditModeTypes.ts","path":"./src/index.ts + 83 modules (concatenated)/src/types/EngineEditModeTypes.ts","statSize":329,"parsedSize":172,"gzipSize":21,"inaccurateSizes":true}],"parsedSize":13796,"gzipSize":1727,"inaccurateSizes":true},{"label":"utils","path":"./src/index.ts + 83 modules (concatenated)/src/utils","statSize":23904,"groups":[{"id":null,"label":"EditorResponseData.ts","path":"./src/index.ts + 83 modules (concatenated)/src/utils/EditorResponseData.ts","statSize":1720,"parsedSize":902,"gzipSize":113,"inaccurateSizes":true},{"id":null,"label":"Enums.ts","path":"./src/index.ts + 83 modules (concatenated)/src/utils/Enums.ts","statSize":1750,"parsedSize":918,"gzipSize":115,"inaccurateSizes":true},{"id":null,"label":"ConfigHelper.ts","path":"./src/index.ts + 83 modules (concatenated)/src/utils/ConfigHelper.ts","statSize":8094,"parsedSize":4248,"gzipSize":531,"inaccurateSizes":true},{"id":null,"label":"LocalConfigurationDecorator.ts","path":"./src/index.ts + 83 modules (concatenated)/src/utils/LocalConfigurationDecorator.ts","statSize":3890,"parsedSize":2042,"gzipSize":255,"inaccurateSizes":true},{"id":null,"label":"DataItemMappingTools.ts","path":"./src/index.ts + 83 modules (concatenated)/src/utils/DataItemMappingTools.ts","statSize":1998,"parsedSize":1048,"gzipSize":131,"inaccurateSizes":true},{"id":null,"label":"ConnectorCompatibilityTools.ts","path":"./src/index.ts + 83 modules (concatenated)/src/utils/ConnectorCompatibilityTools.ts","statSize":2466,"parsedSize":1294,"gzipSize":162,"inaccurateSizes":true},{"id":null,"label":"MathUtils.ts","path":"./src/index.ts + 83 modules (concatenated)/src/utils/MathUtils.ts","statSize":143,"parsedSize":75,"gzipSize":9,"inaccurateSizes":true},{"id":null,"label":"EngineCallbackHandler.ts","path":"./src/index.ts + 83 modules (concatenated)/src/utils/EngineCallbackHandler.ts","statSize":762,"parsedSize":400,"gzipSize":50,"inaccurateSizes":true},{"id":null,"label":"EngineEvent.ts","path":"./src/index.ts + 83 modules (concatenated)/src/utils/EngineEvent.ts","statSize":1880,"parsedSize":986,"gzipSize":123,"inaccurateSizes":true},{"id":null,"label":"EngineEventTrigger.ts","path":"./src/index.ts + 83 modules (concatenated)/src/utils/EngineEventTrigger.ts","statSize":1201,"parsedSize":630,"gzipSize":78,"inaccurateSizes":true}],"parsedSize":12548,"gzipSize":1571,"inaccurateSizes":true},{"label":"interactions","path":"./src/index.ts + 83 modules (concatenated)/src/interactions","statSize":5289,"groups":[{"id":null,"label":"Connector.ts","path":"./src/index.ts + 83 modules (concatenated)/src/interactions/Connector.ts","statSize":5289,"parsedSize":2776,"gzipSize":347,"inaccurateSizes":true}],"parsedSize":2776,"gzipSize":347,"inaccurateSizes":true},{"label":"controllers","path":"./src/index.ts + 83 modules (concatenated)/src/controllers","statSize":286127,"groups":[{"id":null,"label":"ActionController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/controllers/ActionController.ts","statSize":8283,"parsedSize":4348,"gzipSize":544,"inaccurateSizes":true},{"id":null,"label":"AnimationController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/controllers/AnimationController.ts","statSize":7249,"parsedSize":3805,"gzipSize":476,"inaccurateSizes":true},{"id":null,"label":"BarcodeController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/controllers/BarcodeController.ts","statSize":15763,"parsedSize":8274,"gzipSize":1036,"inaccurateSizes":true},{"id":null,"label":"CanvasController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/controllers/CanvasController.ts","statSize":4499,"parsedSize":2361,"gzipSize":295,"inaccurateSizes":true},{"id":null,"label":"CharacterStyleController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/controllers/CharacterStyleController.ts","statSize":6660,"parsedSize":3496,"gzipSize":437,"inaccurateSizes":true},{"id":null,"label":"ClipboardController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/controllers/ClipboardController.ts","statSize":4643,"parsedSize":2437,"gzipSize":305,"inaccurateSizes":true},{"id":null,"label":"ColorConversionController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/controllers/ColorConversionController.ts","statSize":2928,"parsedSize":1537,"gzipSize":192,"inaccurateSizes":true},{"id":null,"label":"ColorStyleController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/controllers/ColorStyleController.ts","statSize":6173,"parsedSize":3240,"gzipSize":405,"inaccurateSizes":true},{"id":null,"label":"ConnectorController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/controllers/ConnectorController.ts","statSize":15865,"parsedSize":8328,"gzipSize":1042,"inaccurateSizes":true},{"id":null,"label":"DataConnectorController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/controllers/DataConnectorController.ts","statSize":6937,"parsedSize":3641,"gzipSize":455,"inaccurateSizes":true},{"id":null,"label":"DataSourceController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/controllers/DataSourceController.ts","statSize":4724,"parsedSize":2479,"gzipSize":310,"inaccurateSizes":true},{"id":null,"label":"DebugController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/controllers/DebugController.ts","statSize":3842,"parsedSize":2016,"gzipSize":252,"inaccurateSizes":true},{"id":null,"label":"DocumentController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/controllers/DocumentController.ts","statSize":4575,"parsedSize":2401,"gzipSize":300,"inaccurateSizes":true},{"id":null,"label":"ExperimentController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/controllers/ExperimentController.ts","statSize":6512,"parsedSize":3418,"gzipSize":428,"inaccurateSizes":true},{"id":null,"label":"FontConnectorController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/controllers/FontConnectorController.ts","statSize":9201,"parsedSize":4829,"gzipSize":604,"inaccurateSizes":true},{"id":null,"label":"FontController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/controllers/FontController.ts","statSize":9036,"parsedSize":4743,"gzipSize":593,"inaccurateSizes":true},{"id":null,"label":"FrameController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/controllers/FrameController.ts","statSize":47765,"parsedSize":25073,"gzipSize":3139,"inaccurateSizes":true},{"id":null,"label":"ShapeController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/controllers/ShapeController.ts","statSize":9127,"parsedSize":4791,"gzipSize":599,"inaccurateSizes":true},{"id":null,"label":"InfoController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/controllers/InfoController.ts","statSize":658,"parsedSize":345,"gzipSize":43,"inaccurateSizes":true},{"id":null,"label":"LayoutController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/controllers/LayoutController.ts","statSize":19058,"parsedSize":10004,"gzipSize":1252,"inaccurateSizes":true},{"id":null,"label":"MediaConnectorController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/controllers/MediaConnectorController.ts","statSize":9133,"parsedSize":4794,"gzipSize":600,"inaccurateSizes":true},{"id":null,"label":"PageController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/controllers/PageController.ts","statSize":7968,"parsedSize":4182,"gzipSize":523,"inaccurateSizes":true},{"id":null,"label":"ParagraphStyleController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/controllers/ParagraphStyleController.ts","statSize":6192,"parsedSize":3250,"gzipSize":406,"inaccurateSizes":true},{"id":null,"label":"SubscriberController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/controllers/SubscriberController.ts","statSize":17126,"parsedSize":8990,"gzipSize":1125,"inaccurateSizes":true},{"id":null,"label":"TextStyleController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/controllers/TextStyleController.ts","statSize":3957,"parsedSize":2077,"gzipSize":260,"inaccurateSizes":true},{"id":null,"label":"ToolController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/controllers/ToolController.ts","statSize":5296,"parsedSize":2780,"gzipSize":348,"inaccurateSizes":true},{"id":null,"label":"UndoManagerController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/controllers/UndoManagerController.ts","statSize":7019,"parsedSize":3684,"gzipSize":461,"inaccurateSizes":true},{"id":null,"label":"UtilsController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/controllers/UtilsController.ts","statSize":1305,"parsedSize":685,"gzipSize":85,"inaccurateSizes":true},{"id":null,"label":"VariableController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/controllers/VariableController.ts","statSize":30081,"parsedSize":15790,"gzipSize":1977,"inaccurateSizes":true},{"id":null,"label":"ConfigurationController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/controllers/ConfigurationController.ts","statSize":4552,"parsedSize":2389,"gzipSize":299,"inaccurateSizes":true}],"parsedSize":150198,"gzipSize":18806,"inaccurateSizes":true},{"label":"next","path":"./src/index.ts + 83 modules (concatenated)/src/next","statSize":12494,"groups":[{"id":null,"label":"NextInitiator.ts","path":"./src/index.ts + 83 modules (concatenated)/src/next/NextInitiator.ts","statSize":1627,"parsedSize":854,"gzipSize":106,"inaccurateSizes":true},{"label":"controllers","path":"./src/index.ts + 83 modules (concatenated)/src/next/controllers","statSize":10867,"groups":[{"id":null,"label":"VariableController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/next/controllers/VariableController.ts","statSize":4942,"parsedSize":2594,"gzipSize":324,"inaccurateSizes":true},{"id":null,"label":"ConnectorController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/next/controllers/ConnectorController.ts","statSize":4945,"parsedSize":2595,"gzipSize":325,"inaccurateSizes":true},{"id":null,"label":"SubscriberController.ts","path":"./src/index.ts + 83 modules (concatenated)/src/next/controllers/SubscriberController.ts","statSize":980,"parsedSize":514,"gzipSize":64,"inaccurateSizes":true}],"parsedSize":5704,"gzipSize":714,"inaccurateSizes":true}],"parsedSize":6558,"gzipSize":821,"inaccurateSizes":true}],"parsedSize":193781,"gzipSize":24262,"inaccurateSizes":true},{"id":null,"label":"editor-engine.json","path":"./src/index.ts + 83 modules (concatenated)/editor-engine.json","statSize":34,"parsedSize":17,"gzipSize":2,"inaccurateSizes":true},{"id":null,"label":"package.json","path":"./src/index.ts + 83 modules (concatenated)/package.json","statSize":2533,"parsedSize":1329,"gzipSize":166,"inaccurateSizes":true},{"label":"node_modules/penpal/lib","path":"./src/index.ts + 83 modules (concatenated)/node_modules/penpal/lib","statSize":27011,"groups":[{"id":null,"label":"index.js","path":"./src/index.ts + 83 modules (concatenated)/node_modules/penpal/lib/index.js","statSize":176,"parsedSize":92,"gzipSize":11,"inaccurateSizes":true},{"label":"parent","path":"./src/index.ts + 83 modules (concatenated)/node_modules/penpal/lib/parent","statSize":8421,"groups":[{"id":null,"label":"connectToChild.js","path":"./src/index.ts + 83 modules (concatenated)/node_modules/penpal/lib/parent/connectToChild.js","statSize":2916,"parsedSize":1530,"gzipSize":191,"inaccurateSizes":true},{"id":null,"label":"getOriginFromSrc.js","path":"./src/index.ts + 83 modules (concatenated)/node_modules/penpal/lib/parent/getOriginFromSrc.js","statSize":1665,"parsedSize":874,"gzipSize":109,"inaccurateSizes":true},{"id":null,"label":"handleAckMessageFactory.js","path":"./src/index.ts + 83 modules (concatenated)/node_modules/penpal/lib/parent/handleAckMessageFactory.js","statSize":2012,"parsedSize":1056,"gzipSize":132,"inaccurateSizes":true},{"id":null,"label":"handleSynMessageFactory.js","path":"./src/index.ts + 83 modules (concatenated)/node_modules/penpal/lib/parent/handleSynMessageFactory.js","statSize":689,"parsedSize":361,"gzipSize":45,"inaccurateSizes":true},{"id":null,"label":"validateIframeHasSrcOrSrcDoc.js","path":"./src/index.ts + 83 modules (concatenated)/node_modules/penpal/lib/parent/validateIframeHasSrcOrSrcDoc.js","statSize":267,"parsedSize":140,"gzipSize":17,"inaccurateSizes":true},{"id":null,"label":"monitorIframeRemoval.js","path":"./src/index.ts + 83 modules (concatenated)/node_modules/penpal/lib/parent/monitorIframeRemoval.js","statSize":872,"parsedSize":457,"gzipSize":57,"inaccurateSizes":true}],"parsedSize":4420,"gzipSize":553,"inaccurateSizes":true},{"id":null,"label":"enums.js","path":"./src/index.ts + 83 modules (concatenated)/node_modules/penpal/lib/enums.js","statSize":989,"parsedSize":519,"gzipSize":65,"inaccurateSizes":true},{"label":"child","path":"./src/index.ts + 83 modules (concatenated)/node_modules/penpal/lib/child","statSize":4851,"groups":[{"id":null,"label":"connectToParent.js","path":"./src/index.ts + 83 modules (concatenated)/node_modules/penpal/lib/child/connectToParent.js","statSize":2959,"parsedSize":1553,"gzipSize":194,"inaccurateSizes":true},{"id":null,"label":"handleSynAckMessageFactory.js","path":"./src/index.ts + 83 modules (concatenated)/node_modules/penpal/lib/child/handleSynAckMessageFactory.js","statSize":1892,"parsedSize":993,"gzipSize":124,"inaccurateSizes":true}],"parsedSize":2546,"gzipSize":318,"inaccurateSizes":true},{"id":null,"label":"methodSerialization.js","path":"./src/index.ts + 83 modules (concatenated)/node_modules/penpal/lib/methodSerialization.js","statSize":2541,"parsedSize":1333,"gzipSize":167,"inaccurateSizes":true},{"id":null,"label":"startConnectionTimeout.js","path":"./src/index.ts + 83 modules (concatenated)/node_modules/penpal/lib/startConnectionTimeout.js","statSize":556,"parsedSize":291,"gzipSize":36,"inaccurateSizes":true},{"id":null,"label":"createLogger.js","path":"./src/index.ts + 83 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 + 83 modules (concatenated)/node_modules/penpal/lib/createDestructor.js","statSize":498,"parsedSize":261,"gzipSize":32,"inaccurateSizes":true},{"id":null,"label":"connectCallReceiver.js","path":"./src/index.ts + 83 modules (concatenated)/node_modules/penpal/lib/connectCallReceiver.js","statSize":3589,"parsedSize":1883,"gzipSize":235,"inaccurateSizes":true},{"id":null,"label":"connectCallSender.js","path":"./src/index.ts + 83 modules (concatenated)/node_modules/penpal/lib/connectCallSender.js","statSize":4623,"parsedSize":2426,"gzipSize":303,"inaccurateSizes":true},{"id":null,"label":"errorSerialization.js","path":"./src/index.ts + 83 modules (concatenated)/node_modules/penpal/lib/errorSerialization.js","statSize":429,"parsedSize":225,"gzipSize":28,"inaccurateSizes":true},{"id":null,"label":"generateId.js","path":"./src/index.ts + 83 modules (concatenated)/node_modules/penpal/lib/generateId.js","statSize":104,"parsedSize":54,"gzipSize":6,"inaccurateSizes":true}],"parsedSize":14179,"gzipSize":1775,"inaccurateSizes":true}]}],"parsedSize":209308,"gzipSize":26207}]}];
35
35
  window.defaultSizes = "parsed";
36
36
  </script>
37
37
  </body>
@@ -1,3 +1,3 @@
1
1
  {
2
- "current": "2.0.latest"
2
+ "current": "2.2.latest"
3
3
  }
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chili-publish/studio-sdk",
3
- "version": "1.17.1",
3
+ "version": "1.19.0",
4
4
  "description": "The sdk for the chili editor",
5
5
  "repository": {
6
6
  "type": "git",
@@ -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.DataConnector.{method-name}`
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.DataConnector.{method-name}`
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;AAGpE;;;;;;;;;;;;GAYG;AACH,MAAM,OAAO,uBAAuB;IAMhC;;OAEG;IACH,YAAY,SAAoB;QARhC;;WAEG;QACH,qDAAsB;QAStB;;;;;;;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,SA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C,CAAA,CAAC;QAEF;;;;;WAKG;QACH,oBAAe,GAAG,CAAO,WAAmB,EAAE,EAAE;YAC5C,MAAM,GAAG,GAAG,MAAM,uBAAA,IAAI,0CAAW,CAAC;YAClC,OAAO,GAAG;iBACL,4BAA4B,CAAC,WAAW,CAAC;iBACzC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,qBAAqB,CAA4B,MAAM,CAAC,CAAC,CAAC;QACpF,CAAC,CAAA,CAAC;QAtEE,uBAAA,IAAI,sCAAc,SAAS,MAAA,CAAC;IAChC,CAAC;IAuED;;;;OAIG;IACK,qBAAqB,CACzB,KAA6D;QAE7D,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,MAAK,MAAM,CAAC;IAC/D,CAAC;IAED;;;;;;;;OAQG;IACK,mBAAmB,CAAC,QAAwB;QAChD,MAAM,UAAU,GAAa,EAAE,CAAC;QAEhC,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;YAC9C,UAAU,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,qBAAqB,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;QACxF,CAAC,CAAC,CAAC;QAEH,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ"}
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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,4BAAuB,GAAG,CAAO,WAAmB,EAAE,EAAE;YACpD,MAAM,GAAG,GAAG,MAAM,uBAAA,IAAI,0CAAW,CAAC;YAClC,OAAO,GAAG;iBACL,oCAAoC,CAAC,WAAW,CAAC;iBACjD,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,qBAAqB,CAAyB,MAAM,CAAC,CAAC,CAAC;QACjF,CAAC,CAAA,CAAC;QAEF;;;;;WAKG;QACH,oBAAe,GAAG,CAAO,WAAmB,EAAE,EAAE;YAC5C,MAAM,GAAG,GAAG,MAAM,uBAAA,IAAI,0CAAW,CAAC;YAClC,OAAO,GAAG;iBACL,4BAA4B,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,EAAE;YAC1C,MAAM,GAAG,GAAG,MAAM,uBAAA,IAAI,uCAAW,CAAC;YAClC,OAAO,GAAG,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,qBAAqB,CAAO,MAAM,CAAC,CAAC,CAAC;QAChG,CAAC,CAAA,CAAC;QAEF;;;WAGG;QACH,kBAAa,GAAG,GAAS,EAAE;YACvB,MAAM,GAAG,GAAG,MAAM,uBAAA,IAAI,uCAAW,CAAC;YAClC,OAAO,GAAG,CAAC,aAAa,EAAE,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,qBAAqB,CAAoB,MAAM,CAAC,CAAC,CAAC;QAClG,CAAC,CAAA,CAAC;QAEF;;;WAGG;QACH,qBAAgB,GAAG,GAAS,EAAE;YAC1B,MAAM,GAAG,GAAG,MAAM,uBAAA,IAAI,uCAAW,CAAC;YAClC,OAAO,GAAG,CAAC,gBAAgB,EAAE,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,qBAAqB,CAAO,MAAM,CAAC,CAAC,CAAC;QACxF,CAAC,CAAA,CAAC;QAEF;;;;;WAKG;QACH,eAAU,GAAG,CAAO,OAAiB,EAAE,EAAE;YACrC,MAAM,GAAG,GAAG,MAAM,uBAAA,IAAI,uCAAW,CAAC;YAClC,MAAM,cAAc,GAAG,uBAAA,IAAI,kDAAsB,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;YAC/E,OAAO,GAAG,CAAC,UAAU,CAAC,IAAI,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,qBAAqB,CAAO,MAAM,CAAC,CAAC,CAAC;QAChH,CAAC,CAAA,CAAC;QA1CE,uBAAA,IAAI,mCAAc,SAAS,MAAA,CAAC;QAC5B,uBAAA,IAAI,8CAAyB,oBAAoB,MAAA,CAAC;IACtD,CAAC;CAyCJ"}
@@ -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;I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AAS,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, AutoGrowDirection, FrameAnchorType, AnchorTarget } from '../types/FrameTypes';
2
+ import { AnchorTarget, AutoGrowDirection, BlendMode, FitMode, FitModePosition, 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';
@@ -194,7 +194,7 @@ export declare class FrameController {
194
194
  */
195
195
  resetHeight: (id: Id) => Promise<EditorResponse<null>>;
196
196
  /**
197
- * This method will reset the fitMode property of a specific frame to its original value
197
+ * This method will reset the fitMode, position and crop properties of a specific frame to its original value
198
198
  * @param id the id of the frame that needs to get reset
199
199
  * @returns
200
200
  */
@@ -301,17 +301,24 @@ export declare class FrameController {
301
301
  * @returns
302
302
  */
303
303
  setImageFrameFitMode: (imageFrameId: Id, fitMode: FitMode) => Promise<EditorResponse<null>>;
304
+ /**
305
+ * This method will set the fit mode position property of a specified image frame.
306
+ * @param imageFrameId the id of the imageFrame that needs to get updated.
307
+ * @param position the new position that you want to set to the imageFrame.
308
+ * @returns
309
+ */
310
+ setImageFrameFitModePosition: (imageFrameId: Id, position: FitModePosition) => Promise<EditorResponse<null>>;
304
311
  /**
305
312
  * @deprecated the constrain proportions setter is not supported anymore.
306
313
  *
307
314
  * This method will set the constrainProportions property of a specified frame. If constrainProportionsReadOnly is
308
315
  * true, the frame's constrainProportions property cannot be changed and this method will return an error.
309
316
  *
310
- * @param id the id of the frame that needs to get updated.
311
- * @param constrainProportions The new constraint that you want to set to the frame.
317
+ * @param _id the id of the frame that needs to get updated.
318
+ * @param _constrainProportions The new constraint that you want to set to the frame.
312
319
  * @returns
313
320
  */
314
- setFrameConstrainProportions: (id: Id, constrainProportions: boolean) => Promise<EditorResponse<null>>;
321
+ setFrameConstrainProportions: (_id: Id, _constrainProportions: boolean) => Promise<EditorResponse<null>>;
315
322
  /**
316
323
  * This method will set the vertical alignment property of a specified frame.
317
324
  * @param id the id of the frame that needs to get updated
@@ -412,16 +419,30 @@ export declare class FrameController {
412
419
  */
413
420
  applyCropMode: () => Promise<EditorResponse<null>>;
414
421
  /**
415
- * This method will reset the currently applied crop mode and apply the last selected fit mode again.
422
+ * This method will exit cropping mode without saving the applied crop.
423
+ * @returns
424
+ */
425
+ exitCropMode: () => Promise<EditorResponse<null>>;
426
+ /**
427
+ * This method will make the specified image frame go into subject mode.
416
428
  * @param id the id of a specific image frame
417
429
  * @returns
418
430
  */
419
- resetCropMode: (id: Id) => Promise<EditorResponse<null>>;
431
+ enterSubjectMode: (id: Id) => Promise<EditorResponse<null>>;
420
432
  /**
421
- * This method will exit cropping mode without saving the applied crop.
433
+ * This method will exit subject mode while saving the applied subject area.
422
434
  * @returns
423
435
  */
424
- exitCropMode: () => Promise<EditorResponse<null>>;
436
+ applySubjectMode: () => Promise<EditorResponse<null>>;
437
+ /**
438
+ * This method will exit subject mode without saving the applied subject area.
439
+ * @returns
440
+ */
441
+ exitSubjectMode: () => Promise<EditorResponse<null>>;
442
+ /**
443
+ * @deprecated This method no longer has any effect. Use 'setImageFrameFitMode' or 'resetImageFrameFitMode' instead
444
+ */
445
+ resetCropMode: (_id: Id) => Promise<EditorResponse<null>>;
425
446
  /**
426
447
  * This method will enable auto grow on a specified frame.
427
448
  * @param id the id of the frame that needs to get updated
@@ -465,47 +486,33 @@ export declare class FrameController {
465
486
  */
466
487
  setAutoGrowDirections: (id: Id, value: Array<AutoGrowDirection>) => Promise<EditorResponse<null>>;
467
488
  /**
468
- * This method will reset the auto grow enabled property of a specified frame to its original value
469
- * @param id the id of the frame that needs to get reset
470
- * @returns
489
+ * @deprecated This method no longer has any effect. Use `resetTransformation` instead
471
490
  */
472
- resetAutoGrowSettingsEnabled: (id: Id) => Promise<EditorResponse<null>>;
491
+ resetAutoGrowSettingsEnabled: (_id: Id) => Promise<EditorResponse<null>>;
473
492
  /**
474
- * This method will reset the auto grow minWidth property of a specified frame to its original value
475
- * @param id the id of the frame that needs to get reset
476
- * @returns
493
+ * @deprecated This method no longer has any effect. Use `resetTransformation` instead
477
494
  */
478
- resetAutoGrowMinWidth: (id: Id) => Promise<EditorResponse<null>>;
495
+ resetAutoGrowMinWidth: (_id: Id) => Promise<EditorResponse<null>>;
479
496
  /**
480
- * This method will reset the auto grow maxWidth property of a specified frame to its original value
481
- * @param id the id of the frame that needs to get reset
482
- * @returns
497
+ * @deprecated This method no longer has any effect. Use `resetTransformation` instead
483
498
  */
484
- resetAutoGrowMaxWidth: (id: Id) => Promise<EditorResponse<null>>;
499
+ resetAutoGrowMaxWidth: (_id: Id) => Promise<EditorResponse<null>>;
485
500
  /**
486
- * This method will reset the auto grow minHeight property of a specified frame to its original value
487
- * @param id the id of the frame that needs to get reset
488
- * @returns
501
+ * @deprecated This method no longer has any effect. Use `resetTransformation` instead
489
502
  */
490
- resetAutoGrowMinHeight: (id: Id) => Promise<EditorResponse<null>>;
503
+ resetAutoGrowMinHeight: (_id: Id) => Promise<EditorResponse<null>>;
491
504
  /**
492
- * This method will reset the auto grow maxHeight property of a specified frame to its original value
493
- * @param id the id of the frame that needs to get reset
494
- * @returns
505
+ * @deprecated This method no longer has any effect. Use `resetTransformation` instead
495
506
  */
496
- resetAutoGrowMaxHeight: (id: Id) => Promise<EditorResponse<null>>;
507
+ resetAutoGrowMaxHeight: (_id: Id) => Promise<EditorResponse<null>>;
497
508
  /**
498
- * This method will reset the auto grow directions property of a specified frame to its original value
499
- * @param id the id of the frame that needs to get reset
500
- * @returns
509
+ * @deprecated This method no longer has any effect. Use `resetTransformation` instead
501
510
  */
502
- resetAutoGrowDirections: (id: Id) => Promise<EditorResponse<null>>;
511
+ resetAutoGrowDirections: (_id: Id) => Promise<EditorResponse<null>>;
503
512
  /**
504
- * This method will reset all auto grow properties of a specified frame to their original values
505
- * @param id the id of the frame that needs to get reset
506
- * @returns
513
+ * @deprecated This method no longer has any effect. Use `resetTransformation` instead
507
514
  */
508
- resetAutoGrow: (id: Id) => Promise<EditorResponse<null>>;
515
+ resetAutoGrow: (_id: Id) => Promise<EditorResponse<null>>;
509
516
  private setAnchor;
510
517
  /**
511
518
  * @experimental