@chili-publish/studio-sdk 1.6.0 → 1.8.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 (72) 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/BarcodeController.d.ts +114 -0
  7. package/lib/src/controllers/BarcodeController.js +245 -0
  8. package/lib/src/controllers/BarcodeController.js.map +1 -0
  9. package/lib/src/controllers/ClipboardController.js.map +1 -1
  10. package/lib/src/controllers/ConnectorController.d.ts +0 -9
  11. package/lib/src/controllers/ConnectorController.js +0 -13
  12. package/lib/src/controllers/ConnectorController.js.map +1 -1
  13. package/lib/src/controllers/FrameController.d.ts +16 -2
  14. package/lib/src/controllers/FrameController.js +15 -2
  15. package/lib/src/controllers/FrameController.js.map +1 -1
  16. package/lib/src/controllers/LayoutController.d.ts +51 -1
  17. package/lib/src/controllers/LayoutController.js +77 -0
  18. package/lib/src/controllers/LayoutController.js.map +1 -1
  19. package/lib/src/controllers/SubscriberController.d.ts +20 -0
  20. package/lib/src/controllers/SubscriberController.js +60 -5
  21. package/lib/src/controllers/SubscriberController.js.map +1 -1
  22. package/lib/src/controllers/ToolController.d.ts +14 -8
  23. package/lib/src/controllers/ToolController.js +16 -8
  24. package/lib/src/controllers/ToolController.js.map +1 -1
  25. package/lib/src/controllers/VariableController.d.ts +3 -0
  26. package/lib/src/controllers/VariableController.js +54 -4
  27. package/lib/src/controllers/VariableController.js.map +1 -1
  28. package/lib/src/index.d.ts +7 -5
  29. package/lib/src/index.js +3 -2
  30. package/lib/src/index.js.map +1 -1
  31. package/lib/src/interactions/connector.d.ts +3 -0
  32. package/lib/src/interactions/connector.js +3 -0
  33. package/lib/src/interactions/connector.js.map +1 -1
  34. package/lib/src/sdk.d.ts +3 -0
  35. package/lib/src/sdk.js +6 -0
  36. package/lib/src/sdk.js.map +1 -1
  37. package/lib/src/tests/__mocks__/config.js +1 -0
  38. package/lib/src/tests/__mocks__/config.js.map +1 -1
  39. package/lib/src/tests/controllers/BarcodeController.test.d.ts +1 -0
  40. package/lib/src/tests/controllers/BarcodeController.test.js +252 -0
  41. package/lib/src/tests/controllers/BarcodeController.test.js.map +1 -0
  42. package/lib/src/tests/controllers/ClipboardController.test.js +0 -1
  43. package/lib/src/tests/controllers/ClipboardController.test.js.map +1 -1
  44. package/lib/src/tests/controllers/ConnectorController.test.js +0 -6
  45. package/lib/src/tests/controllers/ConnectorController.test.js.map +1 -1
  46. package/lib/src/tests/controllers/FrameController.test.js +8 -2
  47. package/lib/src/tests/controllers/FrameController.test.js.map +1 -1
  48. package/lib/src/tests/controllers/LayoutController.test.js +92 -1
  49. package/lib/src/tests/controllers/LayoutController.test.js.map +1 -1
  50. package/lib/src/tests/controllers/SubscriberContoller.test.js +48 -4
  51. package/lib/src/tests/controllers/SubscriberContoller.test.js.map +1 -1
  52. package/lib/src/tests/controllers/VariableController.test.js +24 -5
  53. package/lib/src/tests/controllers/VariableController.test.js.map +1 -1
  54. package/lib/src/types/BarcodeTypes.d.ts +74 -0
  55. package/lib/src/types/BarcodeTypes.js +39 -0
  56. package/lib/src/types/BarcodeTypes.js.map +1 -0
  57. package/lib/src/types/CommonTypes.d.ts +8 -2
  58. package/lib/src/types/CommonTypes.js.map +1 -1
  59. package/lib/src/types/FrameTypes.d.ts +43 -2
  60. package/lib/src/types/FrameTypes.js +6 -0
  61. package/lib/src/types/FrameTypes.js.map +1 -1
  62. package/lib/src/types/LayoutTypes.d.ts +24 -0
  63. package/lib/src/types/LayoutTypes.js +7 -0
  64. package/lib/src/types/LayoutTypes.js.map +1 -1
  65. package/lib/src/types/VariableTypes.d.ts +4 -0
  66. package/lib/src/types/ViewportTypes.d.ts +11 -0
  67. package/lib/src/types/ViewportTypes.js +2 -0
  68. package/lib/src/types/ViewportTypes.js.map +1 -0
  69. package/lib/src/utils/enums.d.ts +7 -2
  70. package/lib/src/utils/enums.js +6 -1
  71. package/lib/src/utils/enums.js.map +1 -1
  72. package/package.json +1 -1
@@ -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 [16 Feb 2024 at 11:10]</title>
6
+ <title>@chili-publish/studio-sdk [11 Apr 2024 at 08:28]</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/sxqm0wciIG43P60q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YymSGjMAYqH84YUIyzgzs3XC7gNgH36Vcc4zKY9o9fgPBXUAiHHwVboBHGLiX6Zcjp1f2wu4tvzZKo0ecPnDtQYDQvJXaBeNzce45Fp28ZQLrEZVuFqgBwOalArKXnW1UzlnSusQKJqKYNuz4tOnI6sZG4zanpemv+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":273827,"parsedSize":143754,"gzipSize":17893,"groups":[{"label":"src","path":"./src","statSize":273827,"groups":[{"id":109,"label":"index.ts + 66 modules (concatenated)","path":"./src/index.ts + 66 modules (concatenated)","statSize":273827,"parsedSize":143754,"gzipSize":17893,"concatenated":true,"groups":[{"label":"src","path":"./src/index.ts + 66 modules (concatenated)/src","statSize":244282,"groups":[{"id":null,"label":"index.ts","path":"./src/index.ts + 66 modules (concatenated)/src/index.ts","statSize":1166,"parsedSize":612,"gzipSize":76,"inaccurateSizes":true},{"id":null,"label":"sdk.ts","path":"./src/index.ts + 66 modules (concatenated)/src/sdk.ts","statSize":10372,"parsedSize":5445,"gzipSize":677,"inaccurateSizes":true},{"label":"types","path":"./src/index.ts + 66 modules (concatenated)/src/types","statSize":19186,"groups":[{"id":null,"label":"ConfigurationTypes.ts","path":"./src/index.ts + 66 modules (concatenated)/src/types/ConfigurationTypes.ts","statSize":1070,"parsedSize":561,"gzipSize":69,"inaccurateSizes":true},{"id":null,"label":"DocumentTypes.ts","path":"./src/index.ts + 66 modules (concatenated)/src/types/DocumentTypes.ts","statSize":660,"parsedSize":346,"gzipSize":43,"inaccurateSizes":true},{"id":null,"label":"ConnectorTypes.ts","path":"./src/index.ts + 66 modules (concatenated)/src/types/ConnectorTypes.ts","statSize":6236,"parsedSize":3273,"gzipSize":407,"inaccurateSizes":true},{"id":null,"label":"FrameTypes.ts","path":"./src/index.ts + 66 modules (concatenated)/src/types/FrameTypes.ts","statSize":2372,"parsedSize":1245,"gzipSize":154,"inaccurateSizes":true},{"id":null,"label":"MediaConnectorTypes.ts","path":"./src/index.ts + 66 modules (concatenated)/src/types/MediaConnectorTypes.ts","statSize":468,"parsedSize":245,"gzipSize":30,"inaccurateSizes":true},{"id":null,"label":"AnimationTypes.ts","path":"./src/index.ts + 66 modules (concatenated)/src/types/AnimationTypes.ts","statSize":2065,"parsedSize":1084,"gzipSize":134,"inaccurateSizes":true},{"id":null,"label":"LayoutTypes.ts","path":"./src/index.ts + 66 modules (concatenated)/src/types/LayoutTypes.ts","statSize":670,"parsedSize":351,"gzipSize":43,"inaccurateSizes":true},{"id":null,"label":"ViewModeTypes.ts","path":"./src/index.ts + 66 modules (concatenated)/src/types/ViewModeTypes.ts","statSize":149,"parsedSize":78,"gzipSize":9,"inaccurateSizes":true},{"id":null,"label":"VariableTypes.ts","path":"./src/index.ts + 66 modules (concatenated)/src/types/VariableTypes.ts","statSize":331,"parsedSize":173,"gzipSize":21,"inaccurateSizes":true},{"id":null,"label":"TextStyleTypes.ts","path":"./src/index.ts + 66 modules (concatenated)/src/types/TextStyleTypes.ts","statSize":2950,"parsedSize":1548,"gzipSize":192,"inaccurateSizes":true},{"id":null,"label":"ColorStyleTypes.ts","path":"./src/index.ts + 66 modules (concatenated)/src/types/ColorStyleTypes.ts","statSize":583,"parsedSize":306,"gzipSize":38,"inaccurateSizes":true},{"id":null,"label":"FontConnectorTypes.ts","path":"./src/index.ts + 66 modules (concatenated)/src/types/FontConnectorTypes.ts","statSize":197,"parsedSize":103,"gzipSize":12,"inaccurateSizes":true},{"id":null,"label":"ActionTypes.ts","path":"./src/index.ts + 66 modules (concatenated)/src/types/ActionTypes.ts","statSize":1012,"parsedSize":531,"gzipSize":66,"inaccurateSizes":true},{"id":null,"label":"ShapeTypes.ts","path":"./src/index.ts + 66 modules (concatenated)/src/types/ShapeTypes.ts","statSize":423,"parsedSize":222,"gzipSize":27,"inaccurateSizes":true}],"parsedSize":10072,"gzipSize":1253,"inaccurateSizes":true},{"label":"utils","path":"./src/index.ts + 66 modules (concatenated)/src/utils","statSize":2609,"groups":[{"id":null,"label":"enums.ts","path":"./src/index.ts + 66 modules (concatenated)/src/utils/enums.ts","statSize":1470,"parsedSize":771,"gzipSize":96,"inaccurateSizes":true},{"id":null,"label":"EditorResponseData.ts","path":"./src/index.ts + 66 modules (concatenated)/src/utils/EditorResponseData.ts","statSize":996,"parsedSize":522,"gzipSize":65,"inaccurateSizes":true},{"id":null,"label":"MathUtils.ts","path":"./src/index.ts + 66 modules (concatenated)/src/utils/MathUtils.ts","statSize":143,"parsedSize":75,"gzipSize":9,"inaccurateSizes":true}],"parsedSize":1369,"gzipSize":170,"inaccurateSizes":true},{"label":"interactions","path":"./src/index.ts + 66 modules (concatenated)/src/interactions","statSize":4626,"groups":[{"id":null,"label":"connector.ts","path":"./src/index.ts + 66 modules (concatenated)/src/interactions/connector.ts","statSize":4626,"parsedSize":2428,"gzipSize":302,"inaccurateSizes":true}],"parsedSize":2428,"gzipSize":302,"inaccurateSizes":true},{"label":"controllers","path":"./src/index.ts + 66 modules (concatenated)/src/controllers","statSize":206323,"groups":[{"id":null,"label":"ActionController.ts","path":"./src/index.ts + 66 modules (concatenated)/src/controllers/ActionController.ts","statSize":7433,"parsedSize":3902,"gzipSize":485,"inaccurateSizes":true},{"id":null,"label":"AnimationController.ts","path":"./src/index.ts + 66 modules (concatenated)/src/controllers/AnimationController.ts","statSize":7249,"parsedSize":3805,"gzipSize":473,"inaccurateSizes":true},{"id":null,"label":"CanvasController.ts","path":"./src/index.ts + 66 modules (concatenated)/src/controllers/CanvasController.ts","statSize":4499,"parsedSize":2361,"gzipSize":293,"inaccurateSizes":true},{"id":null,"label":"CharacterStyleController.ts","path":"./src/index.ts + 66 modules (concatenated)/src/controllers/CharacterStyleController.ts","statSize":6139,"parsedSize":3222,"gzipSize":401,"inaccurateSizes":true},{"id":null,"label":"ColorStyleController.ts","path":"./src/index.ts + 66 modules (concatenated)/src/controllers/ColorStyleController.ts","statSize":5988,"parsedSize":3143,"gzipSize":391,"inaccurateSizes":true},{"id":null,"label":"ColorConversionController.ts","path":"./src/index.ts + 66 modules (concatenated)/src/controllers/ColorConversionController.ts","statSize":2928,"parsedSize":1537,"gzipSize":191,"inaccurateSizes":true},{"id":null,"label":"ConfigurationController.ts","path":"./src/index.ts + 66 modules (concatenated)/src/controllers/ConfigurationController.ts","statSize":4592,"parsedSize":2410,"gzipSize":300,"inaccurateSizes":true},{"id":null,"label":"ConnectorController.ts","path":"./src/index.ts + 66 modules (concatenated)/src/controllers/ConnectorController.ts","statSize":14244,"parsedSize":7477,"gzipSize":930,"inaccurateSizes":true},{"id":null,"label":"DebugController.ts","path":"./src/index.ts + 66 modules (concatenated)/src/controllers/DebugController.ts","statSize":3842,"parsedSize":2016,"gzipSize":251,"inaccurateSizes":true},{"id":null,"label":"DocumentController.ts","path":"./src/index.ts + 66 modules (concatenated)/src/controllers/DocumentController.ts","statSize":4284,"parsedSize":2249,"gzipSize":279,"inaccurateSizes":true},{"id":null,"label":"ExperimentController.ts","path":"./src/index.ts + 66 modules (concatenated)/src/controllers/ExperimentController.ts","statSize":6512,"parsedSize":3418,"gzipSize":425,"inaccurateSizes":true},{"id":null,"label":"FontConnectorController.ts","path":"./src/index.ts + 66 modules (concatenated)/src/controllers/FontConnectorController.ts","statSize":9200,"parsedSize":4829,"gzipSize":601,"inaccurateSizes":true},{"id":null,"label":"FontController.ts","path":"./src/index.ts + 66 modules (concatenated)/src/controllers/FontController.ts","statSize":9036,"parsedSize":4743,"gzipSize":590,"inaccurateSizes":true},{"id":null,"label":"FrameController.ts","path":"./src/index.ts + 66 modules (concatenated)/src/controllers/FrameController.ts","statSize":31843,"parsedSize":16716,"gzipSize":2080,"inaccurateSizes":true},{"id":null,"label":"ShapeController.ts","path":"./src/index.ts + 66 modules (concatenated)/src/controllers/ShapeController.ts","statSize":9127,"parsedSize":4791,"gzipSize":596,"inaccurateSizes":true},{"id":null,"label":"LayoutController.ts","path":"./src/index.ts + 66 modules (concatenated)/src/controllers/LayoutController.ts","statSize":11796,"parsedSize":6192,"gzipSize":770,"inaccurateSizes":true},{"id":null,"label":"MediaConnectorController.ts","path":"./src/index.ts + 66 modules (concatenated)/src/controllers/MediaConnectorController.ts","statSize":9130,"parsedSize":4793,"gzipSize":596,"inaccurateSizes":true},{"id":null,"label":"PageController.ts","path":"./src/index.ts + 66 modules (concatenated)/src/controllers/PageController.ts","statSize":4406,"parsedSize":2313,"gzipSize":287,"inaccurateSizes":true},{"id":null,"label":"ParagraphStyleController.ts","path":"./src/index.ts + 66 modules (concatenated)/src/controllers/ParagraphStyleController.ts","statSize":6193,"parsedSize":3251,"gzipSize":404,"inaccurateSizes":true},{"id":null,"label":"TextStyleController.ts","path":"./src/index.ts + 66 modules (concatenated)/src/controllers/TextStyleController.ts","statSize":3957,"parsedSize":2077,"gzipSize":258,"inaccurateSizes":true},{"id":null,"label":"ToolController.ts","path":"./src/index.ts + 66 modules (concatenated)/src/controllers/ToolController.ts","statSize":4954,"parsedSize":2600,"gzipSize":323,"inaccurateSizes":true},{"id":null,"label":"UndoManagerController.ts","path":"./src/index.ts + 66 modules (concatenated)/src/controllers/UndoManagerController.ts","statSize":6355,"parsedSize":3336,"gzipSize":415,"inaccurateSizes":true},{"id":null,"label":"UtilsController.ts","path":"./src/index.ts + 66 modules (concatenated)/src/controllers/UtilsController.ts","statSize":1305,"parsedSize":685,"gzipSize":85,"inaccurateSizes":true},{"id":null,"label":"VariableController.ts","path":"./src/index.ts + 66 modules (concatenated)/src/controllers/VariableController.ts","statSize":13041,"parsedSize":6846,"gzipSize":852,"inaccurateSizes":true},{"id":null,"label":"InfoController.ts","path":"./src/index.ts + 66 modules (concatenated)/src/controllers/InfoController.ts","statSize":658,"parsedSize":345,"gzipSize":42,"inaccurateSizes":true},{"id":null,"label":"ClipboardController.ts","path":"./src/index.ts + 66 modules (concatenated)/src/controllers/ClipboardController.ts","statSize":4643,"parsedSize":2437,"gzipSize":303,"inaccurateSizes":true},{"id":null,"label":"SubscriberController.ts","path":"./src/index.ts + 66 modules (concatenated)/src/controllers/SubscriberController.ts","statSize":12969,"parsedSize":6808,"gzipSize":847,"inaccurateSizes":true}],"parsedSize":108315,"gzipSize":13482,"inaccurateSizes":true}],"parsedSize":128243,"gzipSize":15962,"inaccurateSizes":true},{"id":null,"label":"package.json","path":"./src/index.ts + 66 modules (concatenated)/package.json","statSize":2505,"parsedSize":1315,"gzipSize":163,"inaccurateSizes":true},{"id":null,"label":"editor-engine.json","path":"./src/index.ts + 66 modules (concatenated)/editor-engine.json","statSize":29,"parsedSize":15,"gzipSize":1,"inaccurateSizes":true},{"label":"node_modules/penpal/lib","path":"./src/index.ts + 66 modules (concatenated)/node_modules/penpal/lib","statSize":27011,"groups":[{"id":null,"label":"index.js","path":"./src/index.ts + 66 modules (concatenated)/node_modules/penpal/lib/index.js","statSize":176,"parsedSize":92,"gzipSize":11,"inaccurateSizes":true},{"label":"parent","path":"./src/index.ts + 66 modules (concatenated)/node_modules/penpal/lib/parent","statSize":8421,"groups":[{"id":null,"label":"connectToChild.js","path":"./src/index.ts + 66 modules (concatenated)/node_modules/penpal/lib/parent/connectToChild.js","statSize":2916,"parsedSize":1530,"gzipSize":190,"inaccurateSizes":true},{"id":null,"label":"getOriginFromSrc.js","path":"./src/index.ts + 66 modules (concatenated)/node_modules/penpal/lib/parent/getOriginFromSrc.js","statSize":1665,"parsedSize":874,"gzipSize":108,"inaccurateSizes":true},{"id":null,"label":"handleAckMessageFactory.js","path":"./src/index.ts + 66 modules (concatenated)/node_modules/penpal/lib/parent/handleAckMessageFactory.js","statSize":2012,"parsedSize":1056,"gzipSize":131,"inaccurateSizes":true},{"id":null,"label":"handleSynMessageFactory.js","path":"./src/index.ts + 66 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 + 66 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 + 66 modules (concatenated)/node_modules/penpal/lib/parent/monitorIframeRemoval.js","statSize":872,"parsedSize":457,"gzipSize":56,"inaccurateSizes":true}],"parsedSize":4420,"gzipSize":550,"inaccurateSizes":true},{"id":null,"label":"enums.js","path":"./src/index.ts + 66 modules (concatenated)/node_modules/penpal/lib/enums.js","statSize":989,"parsedSize":519,"gzipSize":64,"inaccurateSizes":true},{"label":"child","path":"./src/index.ts + 66 modules (concatenated)/node_modules/penpal/lib/child","statSize":4851,"groups":[{"id":null,"label":"connectToParent.js","path":"./src/index.ts + 66 modules (concatenated)/node_modules/penpal/lib/child/connectToParent.js","statSize":2959,"parsedSize":1553,"gzipSize":193,"inaccurateSizes":true},{"id":null,"label":"handleSynAckMessageFactory.js","path":"./src/index.ts + 66 modules (concatenated)/node_modules/penpal/lib/child/handleSynAckMessageFactory.js","statSize":1892,"parsedSize":993,"gzipSize":123,"inaccurateSizes":true}],"parsedSize":2546,"gzipSize":316,"inaccurateSizes":true},{"id":null,"label":"methodSerialization.js","path":"./src/index.ts + 66 modules (concatenated)/node_modules/penpal/lib/methodSerialization.js","statSize":2541,"parsedSize":1333,"gzipSize":166,"inaccurateSizes":true},{"id":null,"label":"startConnectionTimeout.js","path":"./src/index.ts + 66 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 + 66 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 + 66 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 + 66 modules (concatenated)/node_modules/penpal/lib/connectCallReceiver.js","statSize":3589,"parsedSize":1884,"gzipSize":234,"inaccurateSizes":true},{"id":null,"label":"connectCallSender.js","path":"./src/index.ts + 66 modules (concatenated)/node_modules/penpal/lib/connectCallSender.js","statSize":4623,"parsedSize":2426,"gzipSize":302,"inaccurateSizes":true},{"id":null,"label":"errorSerialization.js","path":"./src/index.ts + 66 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 + 66 modules (concatenated)/node_modules/penpal/lib/generateId.js","statSize":104,"parsedSize":54,"gzipSize":6,"inaccurateSizes":true}],"parsedSize":14180,"gzipSize":1765,"inaccurateSizes":true}]}],"parsedSize":143754,"gzipSize":17893}]}];
34
+ window.chartData = [{"label":"main.js","isAsset":true,"statSize":300034,"parsedSize":156835,"gzipSize":19807,"groups":[{"label":"src","path":"./src","statSize":300034,"groups":[{"id":920,"label":"index.ts + 68 modules (concatenated)","path":"./src/index.ts + 68 modules (concatenated)","statSize":300034,"parsedSize":156835,"gzipSize":19807,"concatenated":true,"groups":[{"label":"src","path":"./src/index.ts + 68 modules (concatenated)/src","statSize":270489,"groups":[{"id":null,"label":"index.ts","path":"./src/index.ts + 68 modules (concatenated)/src/index.ts","statSize":1241,"parsedSize":648,"gzipSize":81,"inaccurateSizes":true},{"id":null,"label":"sdk.ts","path":"./src/index.ts + 68 modules (concatenated)/src/sdk.ts","statSize":10805,"parsedSize":5648,"gzipSize":713,"inaccurateSizes":true},{"label":"types","path":"./src/index.ts + 68 modules (concatenated)/src/types","statSize":21434,"groups":[{"id":null,"label":"ConfigurationTypes.ts","path":"./src/index.ts + 68 modules (concatenated)/src/types/ConfigurationTypes.ts","statSize":1070,"parsedSize":559,"gzipSize":70,"inaccurateSizes":true},{"id":null,"label":"DocumentTypes.ts","path":"./src/index.ts + 68 modules (concatenated)/src/types/DocumentTypes.ts","statSize":660,"parsedSize":344,"gzipSize":43,"inaccurateSizes":true},{"id":null,"label":"ConnectorTypes.ts","path":"./src/index.ts + 68 modules (concatenated)/src/types/ConnectorTypes.ts","statSize":6236,"parsedSize":3259,"gzipSize":411,"inaccurateSizes":true},{"id":null,"label":"FrameTypes.ts","path":"./src/index.ts + 68 modules (concatenated)/src/types/FrameTypes.ts","statSize":2639,"parsedSize":1379,"gzipSize":174,"inaccurateSizes":true},{"id":null,"label":"LayoutTypes.ts","path":"./src/index.ts + 68 modules (concatenated)/src/types/LayoutTypes.ts","statSize":907,"parsedSize":474,"gzipSize":59,"inaccurateSizes":true},{"id":null,"label":"MediaConnectorTypes.ts","path":"./src/index.ts + 68 modules (concatenated)/src/types/MediaConnectorTypes.ts","statSize":468,"parsedSize":244,"gzipSize":30,"inaccurateSizes":true},{"id":null,"label":"VariableTypes.ts","path":"./src/index.ts + 68 modules (concatenated)/src/types/VariableTypes.ts","statSize":331,"parsedSize":173,"gzipSize":21,"inaccurateSizes":true},{"id":null,"label":"BarcodeTypes.ts","path":"./src/index.ts + 68 modules (concatenated)/src/types/BarcodeTypes.ts","statSize":1744,"parsedSize":911,"gzipSize":115,"inaccurateSizes":true},{"id":null,"label":"AnimationTypes.ts","path":"./src/index.ts + 68 modules (concatenated)/src/types/AnimationTypes.ts","statSize":2065,"parsedSize":1079,"gzipSize":136,"inaccurateSizes":true},{"id":null,"label":"ViewModeTypes.ts","path":"./src/index.ts + 68 modules (concatenated)/src/types/ViewModeTypes.ts","statSize":149,"parsedSize":77,"gzipSize":9,"inaccurateSizes":true},{"id":null,"label":"TextStyleTypes.ts","path":"./src/index.ts + 68 modules (concatenated)/src/types/TextStyleTypes.ts","statSize":2950,"parsedSize":1542,"gzipSize":194,"inaccurateSizes":true},{"id":null,"label":"ColorStyleTypes.ts","path":"./src/index.ts + 68 modules (concatenated)/src/types/ColorStyleTypes.ts","statSize":583,"parsedSize":304,"gzipSize":38,"inaccurateSizes":true},{"id":null,"label":"FontConnectorTypes.ts","path":"./src/index.ts + 68 modules (concatenated)/src/types/FontConnectorTypes.ts","statSize":197,"parsedSize":102,"gzipSize":13,"inaccurateSizes":true},{"id":null,"label":"ActionTypes.ts","path":"./src/index.ts + 68 modules (concatenated)/src/types/ActionTypes.ts","statSize":1012,"parsedSize":528,"gzipSize":66,"inaccurateSizes":true},{"id":null,"label":"ShapeTypes.ts","path":"./src/index.ts + 68 modules (concatenated)/src/types/ShapeTypes.ts","statSize":423,"parsedSize":221,"gzipSize":27,"inaccurateSizes":true}],"parsedSize":11204,"gzipSize":1414,"inaccurateSizes":true},{"label":"utils","path":"./src/index.ts + 68 modules (concatenated)/src/utils","statSize":2889,"groups":[{"id":null,"label":"enums.ts","path":"./src/index.ts + 68 modules (concatenated)/src/utils/enums.ts","statSize":1750,"parsedSize":914,"gzipSize":115,"inaccurateSizes":true},{"id":null,"label":"EditorResponseData.ts","path":"./src/index.ts + 68 modules (concatenated)/src/utils/EditorResponseData.ts","statSize":996,"parsedSize":520,"gzipSize":65,"inaccurateSizes":true},{"id":null,"label":"MathUtils.ts","path":"./src/index.ts + 68 modules (concatenated)/src/utils/MathUtils.ts","statSize":143,"parsedSize":74,"gzipSize":9,"inaccurateSizes":true}],"parsedSize":1510,"gzipSize":190,"inaccurateSizes":true},{"label":"interactions","path":"./src/index.ts + 68 modules (concatenated)/src/interactions","statSize":4817,"groups":[{"id":null,"label":"connector.ts","path":"./src/index.ts + 68 modules (concatenated)/src/interactions/connector.ts","statSize":4817,"parsedSize":2517,"gzipSize":317,"inaccurateSizes":true}],"parsedSize":2517,"gzipSize":317,"inaccurateSizes":true},{"label":"controllers","path":"./src/index.ts + 68 modules (concatenated)/src/controllers","statSize":229303,"groups":[{"id":null,"label":"ActionController.ts","path":"./src/index.ts + 68 modules (concatenated)/src/controllers/ActionController.ts","statSize":7433,"parsedSize":3885,"gzipSize":490,"inaccurateSizes":true},{"id":null,"label":"AnimationController.ts","path":"./src/index.ts + 68 modules (concatenated)/src/controllers/AnimationController.ts","statSize":7249,"parsedSize":3789,"gzipSize":478,"inaccurateSizes":true},{"id":null,"label":"CanvasController.ts","path":"./src/index.ts + 68 modules (concatenated)/src/controllers/CanvasController.ts","statSize":4499,"parsedSize":2351,"gzipSize":297,"inaccurateSizes":true},{"id":null,"label":"CharacterStyleController.ts","path":"./src/index.ts + 68 modules (concatenated)/src/controllers/CharacterStyleController.ts","statSize":6139,"parsedSize":3209,"gzipSize":405,"inaccurateSizes":true},{"id":null,"label":"ColorStyleController.ts","path":"./src/index.ts + 68 modules (concatenated)/src/controllers/ColorStyleController.ts","statSize":5988,"parsedSize":3130,"gzipSize":395,"inaccurateSizes":true},{"id":null,"label":"ColorConversionController.ts","path":"./src/index.ts + 68 modules (concatenated)/src/controllers/ColorConversionController.ts","statSize":2928,"parsedSize":1530,"gzipSize":193,"inaccurateSizes":true},{"id":null,"label":"ConfigurationController.ts","path":"./src/index.ts + 68 modules (concatenated)/src/controllers/ConfigurationController.ts","statSize":4592,"parsedSize":2400,"gzipSize":303,"inaccurateSizes":true},{"id":null,"label":"ConnectorController.ts","path":"./src/index.ts + 68 modules (concatenated)/src/controllers/ConnectorController.ts","statSize":13447,"parsedSize":7029,"gzipSize":887,"inaccurateSizes":true},{"id":null,"label":"DebugController.ts","path":"./src/index.ts + 68 modules (concatenated)/src/controllers/DebugController.ts","statSize":3842,"parsedSize":2008,"gzipSize":253,"inaccurateSizes":true},{"id":null,"label":"DocumentController.ts","path":"./src/index.ts + 68 modules (concatenated)/src/controllers/DocumentController.ts","statSize":4284,"parsedSize":2239,"gzipSize":282,"inaccurateSizes":true},{"id":null,"label":"ExperimentController.ts","path":"./src/index.ts + 68 modules (concatenated)/src/controllers/ExperimentController.ts","statSize":6512,"parsedSize":3403,"gzipSize":429,"inaccurateSizes":true},{"id":null,"label":"FontConnectorController.ts","path":"./src/index.ts + 68 modules (concatenated)/src/controllers/FontConnectorController.ts","statSize":9200,"parsedSize":4809,"gzipSize":607,"inaccurateSizes":true},{"id":null,"label":"FontController.ts","path":"./src/index.ts + 68 modules (concatenated)/src/controllers/FontController.ts","statSize":9036,"parsedSize":4723,"gzipSize":596,"inaccurateSizes":true},{"id":null,"label":"FrameController.ts","path":"./src/index.ts + 68 modules (concatenated)/src/controllers/FrameController.ts","statSize":32840,"parsedSize":17166,"gzipSize":2167,"inaccurateSizes":true},{"id":null,"label":"ShapeController.ts","path":"./src/index.ts + 68 modules (concatenated)/src/controllers/ShapeController.ts","statSize":9127,"parsedSize":4770,"gzipSize":602,"inaccurateSizes":true},{"id":null,"label":"LayoutController.ts","path":"./src/index.ts + 68 modules (concatenated)/src/controllers/LayoutController.ts","statSize":16300,"parsedSize":8520,"gzipSize":1076,"inaccurateSizes":true},{"id":null,"label":"MediaConnectorController.ts","path":"./src/index.ts + 68 modules (concatenated)/src/controllers/MediaConnectorController.ts","statSize":9130,"parsedSize":4772,"gzipSize":602,"inaccurateSizes":true},{"id":null,"label":"PageController.ts","path":"./src/index.ts + 68 modules (concatenated)/src/controllers/PageController.ts","statSize":4406,"parsedSize":2303,"gzipSize":290,"inaccurateSizes":true},{"id":null,"label":"ParagraphStyleController.ts","path":"./src/index.ts + 68 modules (concatenated)/src/controllers/ParagraphStyleController.ts","statSize":6193,"parsedSize":3237,"gzipSize":408,"inaccurateSizes":true},{"id":null,"label":"SubscriberController.ts","path":"./src/index.ts + 68 modules (concatenated)/src/controllers/SubscriberController.ts","statSize":15729,"parsedSize":8221,"gzipSize":1038,"inaccurateSizes":true},{"id":null,"label":"TextStyleController.ts","path":"./src/index.ts + 68 modules (concatenated)/src/controllers/TextStyleController.ts","statSize":3957,"parsedSize":2068,"gzipSize":261,"inaccurateSizes":true},{"id":null,"label":"ToolController.ts","path":"./src/index.ts + 68 modules (concatenated)/src/controllers/ToolController.ts","statSize":5296,"parsedSize":2768,"gzipSize":349,"inaccurateSizes":true},{"id":null,"label":"UndoManagerController.ts","path":"./src/index.ts + 68 modules (concatenated)/src/controllers/UndoManagerController.ts","statSize":6355,"parsedSize":3321,"gzipSize":419,"inaccurateSizes":true},{"id":null,"label":"UtilsController.ts","path":"./src/index.ts + 68 modules (concatenated)/src/controllers/UtilsController.ts","statSize":1305,"parsedSize":682,"gzipSize":86,"inaccurateSizes":true},{"id":null,"label":"VariableController.ts","path":"./src/index.ts + 68 modules (concatenated)/src/controllers/VariableController.ts","statSize":14891,"parsedSize":7783,"gzipSize":983,"inaccurateSizes":true},{"id":null,"label":"InfoController.ts","path":"./src/index.ts + 68 modules (concatenated)/src/controllers/InfoController.ts","statSize":658,"parsedSize":343,"gzipSize":43,"inaccurateSizes":true},{"id":null,"label":"ClipboardController.ts","path":"./src/index.ts + 68 modules (concatenated)/src/controllers/ClipboardController.ts","statSize":4643,"parsedSize":2427,"gzipSize":306,"inaccurateSizes":true},{"id":null,"label":"BarcodeController.ts","path":"./src/index.ts + 68 modules (concatenated)/src/controllers/BarcodeController.ts","statSize":13324,"parsedSize":6964,"gzipSize":879,"inaccurateSizes":true}],"parsedSize":119862,"gzipSize":15137,"inaccurateSizes":true}],"parsedSize":141391,"gzipSize":17856,"inaccurateSizes":true},{"id":null,"label":"package.json","path":"./src/index.ts + 68 modules (concatenated)/package.json","statSize":2505,"parsedSize":1309,"gzipSize":165,"inaccurateSizes":true},{"id":null,"label":"editor-engine.json","path":"./src/index.ts + 68 modules (concatenated)/editor-engine.json","statSize":29,"parsedSize":15,"gzipSize":1,"inaccurateSizes":true},{"label":"node_modules/penpal/lib","path":"./src/index.ts + 68 modules (concatenated)/node_modules/penpal/lib","statSize":27011,"groups":[{"id":null,"label":"index.js","path":"./src/index.ts + 68 modules (concatenated)/node_modules/penpal/lib/index.js","statSize":176,"parsedSize":91,"gzipSize":11,"inaccurateSizes":true},{"label":"parent","path":"./src/index.ts + 68 modules (concatenated)/node_modules/penpal/lib/parent","statSize":8421,"groups":[{"id":null,"label":"connectToChild.js","path":"./src/index.ts + 68 modules (concatenated)/node_modules/penpal/lib/parent/connectToChild.js","statSize":2916,"parsedSize":1524,"gzipSize":192,"inaccurateSizes":true},{"id":null,"label":"getOriginFromSrc.js","path":"./src/index.ts + 68 modules (concatenated)/node_modules/penpal/lib/parent/getOriginFromSrc.js","statSize":1665,"parsedSize":870,"gzipSize":109,"inaccurateSizes":true},{"id":null,"label":"handleAckMessageFactory.js","path":"./src/index.ts + 68 modules (concatenated)/node_modules/penpal/lib/parent/handleAckMessageFactory.js","statSize":2012,"parsedSize":1051,"gzipSize":132,"inaccurateSizes":true},{"id":null,"label":"handleSynMessageFactory.js","path":"./src/index.ts + 68 modules (concatenated)/node_modules/penpal/lib/parent/handleSynMessageFactory.js","statSize":689,"parsedSize":360,"gzipSize":45,"inaccurateSizes":true},{"id":null,"label":"validateIframeHasSrcOrSrcDoc.js","path":"./src/index.ts + 68 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 + 68 modules (concatenated)/node_modules/penpal/lib/parent/monitorIframeRemoval.js","statSize":872,"parsedSize":455,"gzipSize":57,"inaccurateSizes":true}],"parsedSize":4401,"gzipSize":555,"inaccurateSizes":true},{"id":null,"label":"enums.js","path":"./src/index.ts + 68 modules (concatenated)/node_modules/penpal/lib/enums.js","statSize":989,"parsedSize":516,"gzipSize":65,"inaccurateSizes":true},{"label":"child","path":"./src/index.ts + 68 modules (concatenated)/node_modules/penpal/lib/child","statSize":4851,"groups":[{"id":null,"label":"connectToParent.js","path":"./src/index.ts + 68 modules (concatenated)/node_modules/penpal/lib/child/connectToParent.js","statSize":2959,"parsedSize":1546,"gzipSize":195,"inaccurateSizes":true},{"id":null,"label":"handleSynAckMessageFactory.js","path":"./src/index.ts + 68 modules (concatenated)/node_modules/penpal/lib/child/handleSynAckMessageFactory.js","statSize":1892,"parsedSize":988,"gzipSize":124,"inaccurateSizes":true}],"parsedSize":2535,"gzipSize":320,"inaccurateSizes":true},{"id":null,"label":"methodSerialization.js","path":"./src/index.ts + 68 modules (concatenated)/node_modules/penpal/lib/methodSerialization.js","statSize":2541,"parsedSize":1328,"gzipSize":167,"inaccurateSizes":true},{"id":null,"label":"startConnectionTimeout.js","path":"./src/index.ts + 68 modules (concatenated)/node_modules/penpal/lib/startConnectionTimeout.js","statSize":556,"parsedSize":290,"gzipSize":36,"inaccurateSizes":true},{"id":null,"label":"createLogger.js","path":"./src/index.ts + 68 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 + 68 modules (concatenated)/node_modules/penpal/lib/createDestructor.js","statSize":498,"parsedSize":260,"gzipSize":32,"inaccurateSizes":true},{"id":null,"label":"connectCallReceiver.js","path":"./src/index.ts + 68 modules (concatenated)/node_modules/penpal/lib/connectCallReceiver.js","statSize":3589,"parsedSize":1876,"gzipSize":236,"inaccurateSizes":true},{"id":null,"label":"connectCallSender.js","path":"./src/index.ts + 68 modules (concatenated)/node_modules/penpal/lib/connectCallSender.js","statSize":4623,"parsedSize":2416,"gzipSize":305,"inaccurateSizes":true},{"id":null,"label":"errorSerialization.js","path":"./src/index.ts + 68 modules (concatenated)/node_modules/penpal/lib/errorSerialization.js","statSize":429,"parsedSize":224,"gzipSize":28,"inaccurateSizes":true},{"id":null,"label":"generateId.js","path":"./src/index.ts + 68 modules (concatenated)/node_modules/penpal/lib/generateId.js","statSize":104,"parsedSize":54,"gzipSize":6,"inaccurateSizes":true}],"parsedSize":14119,"gzipSize":1783,"inaccurateSizes":true}]}],"parsedSize":156835,"gzipSize":19807}]}];
35
35
  window.defaultSizes = "parsed";
36
36
  </script>
37
37
  </body>
@@ -1,3 +1,3 @@
1
1
  {
2
- "current": "1.4.0"
2
+ "current": "1.5.0"
3
3
  }
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chili-publish/studio-sdk",
3
- "version": "1.6.0",
3
+ "version": "1.8.0",
4
4
  "description": "The sdk for the chili editor",
5
5
  "repository": {
6
6
  "type": "git",
@@ -0,0 +1,114 @@
1
+ import { EditorAPI, Id } from '../types/CommonTypes';
2
+ import { ColorUsage } from '../types/ColorStyleTypes';
3
+ import { BarcodeConfigurationOptions, BarcodeType, BarcodeCharacterSet, BarcodeErrorCorrectionLevel } from '../types/BarcodeTypes';
4
+ import { BarcodeSource } from '../types/FrameTypes';
5
+ import { PositionEnum } from '../types/LayoutTypes';
6
+ /**
7
+ * The BarcodeController is responsible for all communication regarding Barcodes.
8
+ * Methods inside this controller can be called by `window.SDK.barcode.{method-name}`
9
+ */
10
+ export declare class BarcodeController {
11
+ #private;
12
+ /**
13
+ * @ignore
14
+ */
15
+ constructor(editorAPI: EditorAPI);
16
+ /**
17
+ * @experimental This method updates properties of the barcode
18
+ * @param id the id of the barcodeFrame that needs to be updated.
19
+ * @param properties A property to update
20
+ * @returns
21
+ */
22
+ private setBarcodeProperties;
23
+ /**
24
+ * @experimental This method will set the background of a barcode enabled or disabled
25
+ * @param id the id of the barcodeFrame that needs to be updated.
26
+ * @param enableBackground Whether the barcode's background is visible.
27
+ * @returns
28
+ */
29
+ setEnableBackground: (id: Id, enableBackground: boolean) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
30
+ /**
31
+ * @experimental This method will set the barcode background color of a specified barcode frame.
32
+ * @param id the id of the barcodeFrame that needs to be updated.
33
+ * @param backgroundColor the new barcode background color that you want to set to the barcodeFrame.
34
+ * @returns
35
+ */
36
+ setBackgroundColor: (id: Id, backgroundColor: ColorUsage) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
37
+ /**
38
+ * @experimental This method will set the visibility of the barcode's bars.
39
+ * @param id the id of the barcodeFrame that needs to be updated.
40
+ * @param enableBars Whether the barcode bars are visible.
41
+ * @returns
42
+ */
43
+ setEnableBars: (id: Id, enableBars: boolean) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
44
+ /**
45
+ * @experimental This method will set the bar color of a specified barcode frame.
46
+ * @param id the id of the barcodeFrame that needs to be updated.
47
+ * @param barColor the new bar color that you want to set to the barcodeFrame.
48
+ * @returns
49
+ */
50
+ setBarColor: (id: Id, barColor: ColorUsage) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
51
+ /**
52
+ * @experimental This method will set the source of the barcode to the given source.
53
+ * @param id the id of the barcodeFrame that needs to be updated.
54
+ * @param source the new source that you want to set to the barcodeFrame.
55
+ * @returns
56
+ */
57
+ setBarcodeSource: (id: Id, source: BarcodeSource) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
58
+ /**
59
+ * @experimental This method enables/disables displaying the text of the barcode.
60
+ * @param id the id of the barcodeFrame that needs to be updated.
61
+ * @param enableText true if the text should be displayed, false otherwise.
62
+ * @returns
63
+ */
64
+ setEnableText: (id: Id, enableText: boolean) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
65
+ /**
66
+ * @experimental This method sets the bar height for 1-dimensional barcodes.
67
+ * @param id the id of the barcodeFrame that needs to be updated.
68
+ * @param barHeight the height of the bars in the barcode. The string value will be calculated (f.e. 1+1 will result in 2)
69
+ * @returns
70
+ */
71
+ setBarHeight: (id: Id, barHeight: string) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
72
+ /**
73
+ * @experimental This method sets the magnification for 1-dimensional barcodes.
74
+ * @param id the id of the barcodeFrame that needs to be updated.
75
+ * @param magnification the magnification of the barcode. This is a decimal value where 1 denotes 100%. (f.e. 1.5 will result in 150%)
76
+ * @returns
77
+ */
78
+ setMagnification: (id: Id, magnification: number) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
79
+ /**
80
+ * @experimental This method sets the quiet zone value of a specific barcode.
81
+ * @param id The id of the specific barcode frame
82
+ * @param value The quiet zone value
83
+ * @param position When defined will update the quiet value of a single position,
84
+ * otherwise will set all positions to the same value. Depending on this parameter
85
+ * being defined, the `areQuietZoneValuesCombined` will also be updated.
86
+ */
87
+ setQuietZoneValue: (id: Id, value: string, position?: PositionEnum) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
88
+ /**
89
+ * @experimental This method sets the combined state of the quiet zone values.
90
+ * @param id The id of the specific barcode frame
91
+ * @param value Whether the quiet zone values are combined
92
+ */
93
+ setAreQuietZoneValuesCombined: (id: Id, value: boolean) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
94
+ /**
95
+ * @experimental This method sets the character set for the barcode.
96
+ * @param id The id of the specific barcode frame.
97
+ * @param errorCorrectionLevel The error correction level to set.
98
+ * @returns
99
+ */
100
+ setErrorCorrectionLevel: (id: Id, errorCorrectionLevel: BarcodeErrorCorrectionLevel) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
101
+ /**
102
+ * @experimental This method sets the character set for the barcode.
103
+ * @param id The id of the specific barcode frame.
104
+ * @param characterSet The character set to set.
105
+ * @returns
106
+ */
107
+ setCharacterSet: (id: Id, characterSet: BarcodeCharacterSet) => Promise<import("../types/CommonTypes").EditorResponse<null>>;
108
+ /**
109
+ * @experimental This method returns the possible configuration options which are valid for the given barcode type.
110
+ * @param type the barcode type for which the configuration options are requested.
111
+ * @returns a BarcodeConfigurationOptions object
112
+ */
113
+ getBarcodeConfigationOptions: (type: BarcodeType) => BarcodeConfigurationOptions;
114
+ }
@@ -0,0 +1,245 @@
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 _BarcodeController_editorAPI;
22
+ import { getEditorResponseData } from '../utils/EditorResponseData';
23
+ import { BarcodeType, BarcodeCharacterSet, BarcodeErrorCorrectionLevel, } from '../types/BarcodeTypes';
24
+ import { PositionEnum } from '../types/LayoutTypes';
25
+ /**
26
+ * The BarcodeController is responsible for all communication regarding Barcodes.
27
+ * Methods inside this controller can be called by `window.SDK.barcode.{method-name}`
28
+ */
29
+ export class BarcodeController {
30
+ /**
31
+ * @ignore
32
+ */
33
+ constructor(editorAPI) {
34
+ /**
35
+ * @ignore
36
+ */
37
+ _BarcodeController_editorAPI.set(this, void 0);
38
+ /**
39
+ * @experimental This method updates properties of the barcode
40
+ * @param id the id of the barcodeFrame that needs to be updated.
41
+ * @param properties A property to update
42
+ * @returns
43
+ */
44
+ this.setBarcodeProperties = (id, properties) => __awaiter(this, void 0, void 0, function* () {
45
+ const res = yield __classPrivateFieldGet(this, _BarcodeController_editorAPI, "f");
46
+ return res
47
+ .setBarcodeProperties(id, JSON.stringify(properties))
48
+ .then((result) => getEditorResponseData(result));
49
+ });
50
+ /**
51
+ * @experimental This method will set the background of a barcode enabled or disabled
52
+ * @param id the id of the barcodeFrame that needs to be updated.
53
+ * @param enableBackground Whether the barcode's background is visible.
54
+ * @returns
55
+ */
56
+ this.setEnableBackground = (id, enableBackground) => __awaiter(this, void 0, void 0, function* () {
57
+ const properties = { enableBackground: enableBackground };
58
+ return this.setBarcodeProperties(id, properties);
59
+ });
60
+ /**
61
+ * @experimental This method will set the barcode background color of a specified barcode frame.
62
+ * @param id the id of the barcodeFrame that needs to be updated.
63
+ * @param backgroundColor the new barcode background color that you want to set to the barcodeFrame.
64
+ * @returns
65
+ */
66
+ this.setBackgroundColor = (id, backgroundColor) => __awaiter(this, void 0, void 0, function* () {
67
+ const properties = { backgroundColor: backgroundColor };
68
+ return this.setBarcodeProperties(id, properties);
69
+ });
70
+ /**
71
+ * @experimental This method will set the visibility of the barcode's bars.
72
+ * @param id the id of the barcodeFrame that needs to be updated.
73
+ * @param enableBars Whether the barcode bars are visible.
74
+ * @returns
75
+ */
76
+ this.setEnableBars = (id, enableBars) => __awaiter(this, void 0, void 0, function* () {
77
+ const properties = { enableBars: enableBars };
78
+ return this.setBarcodeProperties(id, properties);
79
+ });
80
+ /**
81
+ * @experimental This method will set the bar color of a specified barcode frame.
82
+ * @param id the id of the barcodeFrame that needs to be updated.
83
+ * @param barColor the new bar color that you want to set to the barcodeFrame.
84
+ * @returns
85
+ */
86
+ this.setBarColor = (id, barColor) => __awaiter(this, void 0, void 0, function* () {
87
+ const properties = { barColor: barColor };
88
+ return this.setBarcodeProperties(id, properties);
89
+ });
90
+ /**
91
+ * @experimental This method will set the source of the barcode to the given source.
92
+ * @param id the id of the barcodeFrame that needs to be updated.
93
+ * @param source the new source that you want to set to the barcodeFrame.
94
+ * @returns
95
+ */
96
+ this.setBarcodeSource = (id, source) => __awaiter(this, void 0, void 0, function* () {
97
+ const res = yield __classPrivateFieldGet(this, _BarcodeController_editorAPI, "f");
98
+ return res.setBarcodeSource(id, JSON.stringify(source)).then((result) => getEditorResponseData(result));
99
+ });
100
+ /**
101
+ * @experimental This method enables/disables displaying the text of the barcode.
102
+ * @param id the id of the barcodeFrame that needs to be updated.
103
+ * @param enableText true if the text should be displayed, false otherwise.
104
+ * @returns
105
+ */
106
+ this.setEnableText = (id, enableText) => __awaiter(this, void 0, void 0, function* () {
107
+ const properties = { enableText: enableText };
108
+ return this.setBarcodeProperties(id, properties);
109
+ });
110
+ /**
111
+ * @experimental This method sets the bar height for 1-dimensional barcodes.
112
+ * @param id the id of the barcodeFrame that needs to be updated.
113
+ * @param barHeight the height of the bars in the barcode. The string value will be calculated (f.e. 1+1 will result in 2)
114
+ * @returns
115
+ */
116
+ this.setBarHeight = (id, barHeight) => __awaiter(this, void 0, void 0, function* () {
117
+ const properties = { barHeight: barHeight };
118
+ return this.setBarcodeProperties(id, properties);
119
+ });
120
+ /**
121
+ * @experimental This method sets the magnification for 1-dimensional barcodes.
122
+ * @param id the id of the barcodeFrame that needs to be updated.
123
+ * @param magnification the magnification of the barcode. This is a decimal value where 1 denotes 100%. (f.e. 1.5 will result in 150%)
124
+ * @returns
125
+ */
126
+ this.setMagnification = (id, magnification) => __awaiter(this, void 0, void 0, function* () {
127
+ const properties = { magnification: magnification };
128
+ return this.setBarcodeProperties(id, properties);
129
+ });
130
+ /**
131
+ * @experimental This method sets the quiet zone value of a specific barcode.
132
+ * @param id The id of the specific barcode frame
133
+ * @param value The quiet zone value
134
+ * @param position When defined will update the quiet value of a single position,
135
+ * otherwise will set all positions to the same value. Depending on this parameter
136
+ * being defined, the `areQuietZoneValuesCombined` will also be updated.
137
+ */
138
+ this.setQuietZoneValue = (id, value, position) => __awaiter(this, void 0, void 0, function* () {
139
+ const update = position
140
+ ? {
141
+ left: position === PositionEnum.left ? value : undefined,
142
+ top: position === PositionEnum.top ? value : undefined,
143
+ right: position === PositionEnum.right ? value : undefined,
144
+ bottom: position === PositionEnum.bottom ? value : undefined,
145
+ }
146
+ : { left: value, top: value, right: value, bottom: value };
147
+ const res = yield __classPrivateFieldGet(this, _BarcodeController_editorAPI, "f");
148
+ return res
149
+ .setBarcodeProperties(id, JSON.stringify({ quietZone: update }))
150
+ .then((result) => getEditorResponseData(result));
151
+ });
152
+ /**
153
+ * @experimental This method sets the combined state of the quiet zone values.
154
+ * @param id The id of the specific barcode frame
155
+ * @param value Whether the quiet zone values are combined
156
+ */
157
+ this.setAreQuietZoneValuesCombined = (id, value) => __awaiter(this, void 0, void 0, function* () {
158
+ const update = { areQuietZoneValuesCombined: value };
159
+ const res = yield __classPrivateFieldGet(this, _BarcodeController_editorAPI, "f");
160
+ return res
161
+ .setBarcodeProperties(id, JSON.stringify({ quietZone: update }))
162
+ .then((result) => getEditorResponseData(result));
163
+ });
164
+ /**
165
+ * @experimental This method sets the character set for the barcode.
166
+ * @param id The id of the specific barcode frame.
167
+ * @param errorCorrectionLevel The error correction level to set.
168
+ * @returns
169
+ */
170
+ this.setErrorCorrectionLevel = (id, errorCorrectionLevel) => __awaiter(this, void 0, void 0, function* () {
171
+ const res = yield __classPrivateFieldGet(this, _BarcodeController_editorAPI, "f");
172
+ return res
173
+ .setBarcodeProperties(id, JSON.stringify({ errorCorrectionLevel: errorCorrectionLevel }))
174
+ .then((result) => getEditorResponseData(result));
175
+ });
176
+ /**
177
+ * @experimental This method sets the character set for the barcode.
178
+ * @param id The id of the specific barcode frame.
179
+ * @param characterSet The character set to set.
180
+ * @returns
181
+ */
182
+ this.setCharacterSet = (id, characterSet) => __awaiter(this, void 0, void 0, function* () {
183
+ const res = yield __classPrivateFieldGet(this, _BarcodeController_editorAPI, "f");
184
+ return res
185
+ .setBarcodeProperties(id, JSON.stringify({ characterSet: characterSet }))
186
+ .then((result) => getEditorResponseData(result));
187
+ });
188
+ /**
189
+ * @experimental This method returns the possible configuration options which are valid for the given barcode type.
190
+ * @param type the barcode type for which the configuration options are requested.
191
+ * @returns a BarcodeConfigurationOptions object
192
+ */
193
+ this.getBarcodeConfigationOptions = (type) => {
194
+ let allowToggleText = true;
195
+ let allowBarHeight = true;
196
+ let allowEnableMagnification = true;
197
+ let allowedCharacterSets = undefined;
198
+ let allowedErrorCorrectionLevels = undefined;
199
+ let quietZoneAlwaysCombined = false;
200
+ switch (type) {
201
+ case BarcodeType.qr:
202
+ allowedCharacterSets = [BarcodeCharacterSet.iso8859_1, BarcodeCharacterSet.utf8];
203
+ allowedErrorCorrectionLevels = [
204
+ BarcodeErrorCorrectionLevel.low,
205
+ BarcodeErrorCorrectionLevel.medium,
206
+ BarcodeErrorCorrectionLevel.quartile,
207
+ BarcodeErrorCorrectionLevel.high,
208
+ ];
209
+ // Intentional fall-through
210
+ case BarcodeType.dataMatrix:
211
+ allowToggleText = false;
212
+ allowBarHeight = false;
213
+ allowEnableMagnification = false;
214
+ quietZoneAlwaysCombined = true;
215
+ break;
216
+ case BarcodeType.ean13:
217
+ case BarcodeType.ean8:
218
+ case BarcodeType.upca:
219
+ case BarcodeType.upce:
220
+ allowToggleText = false;
221
+ break;
222
+ case BarcodeType.code128:
223
+ case BarcodeType.gs1128:
224
+ allowedCharacterSets = [
225
+ BarcodeCharacterSet.code128a,
226
+ BarcodeCharacterSet.code128b,
227
+ BarcodeCharacterSet.code128c,
228
+ ];
229
+ break;
230
+ }
231
+ return {
232
+ allowEnableMagnification: allowEnableMagnification,
233
+ allowBarHeight: allowBarHeight,
234
+ allowQuietZone: true,
235
+ allowedCharacterSets: allowedCharacterSets,
236
+ allowedErrorCorrectionLevels: allowedErrorCorrectionLevels,
237
+ allowToggleText: allowToggleText,
238
+ quietZoneAlwaysCombined: quietZoneAlwaysCombined,
239
+ };
240
+ };
241
+ __classPrivateFieldSet(this, _BarcodeController_editorAPI, editorAPI, "f");
242
+ }
243
+ }
244
+ _BarcodeController_editorAPI = new WeakMap();
245
+ //# sourceMappingURL=BarcodeController.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BarcodeController.js","sourceRoot":"","sources":["../../../src/controllers/BarcodeController.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAGH,WAAW,EAEX,mBAAmB,EACnB,2BAA2B,GAC9B,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAEpD;;;GAGG;AACH,MAAM,OAAO,iBAAiB;IAM1B;;OAEG;IACH,YAAY,SAAoB;QARhC;;WAEG;QACH,+CAAsB;QAStB;;;;;WAKG;QACK,yBAAoB,GAAG,CAAO,EAAM,EAAE,UAA6B,EAAE,EAAE;YAC3E,MAAM,GAAG,GAAG,MAAM,uBAAA,IAAI,oCAAW,CAAC;YAClC,OAAO,GAAG;iBACL,oBAAoB,CAAC,EAAE,EAAE,IAAI,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;iBACpD,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,qBAAqB,CAAO,MAAM,CAAC,CAAC,CAAC;QAC/D,CAAC,CAAA,CAAC;QAEF;;;;;WAKG;QACH,wBAAmB,GAAG,CAAO,EAAM,EAAE,gBAAyB,EAAE,EAAE;YAC9D,MAAM,UAAU,GAAsB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAC;YAC7E,OAAO,IAAI,CAAC,oBAAoB,CAAC,EAAE,EAAE,UAAU,CAAC,CAAC;QACrD,CAAC,CAAA,CAAC;QAEF;;;;;WAKG;QACH,uBAAkB,GAAG,CAAO,EAAM,EAAE,eAA2B,EAAE,EAAE;YAC/D,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,wBAAwB;gBAClD,cAAc,EAAE,cAAc;gBAC9B,cAAc,EAAE,IAAI;gBACpB,oBAAoB,EAAE,oBAAoB;gBAC1C,4BAA4B,EAAE,4BAA4B;gBAC1D,eAAe,EAAE,eAAe;gBAChC,uBAAuB,EAAE,uBAAuB;aACnD,CAAC;QACN,CAAC,CAAC;QA5NE,uBAAA,IAAI,gCAAc,SAAS,MAAA,CAAC;IAChC,CAAC;CA4NJ"}
@@ -1 +1 @@
1
- {"version":3,"file":"ClipboardController.js","sourceRoot":"","sources":["../../../src/controllers/ClipboardController.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAEpE;;;GAGG;AACH,MAAM,OAAO,mBAAmB;IAM5B;;OAEG;IACH,YAAY,SAAoB;QARhC;;WAEG;QACH,iDAAsB;QAStB;;;;WAIG;QACH,eAAU,GAAG,CAAO,GAAS,EAAE,EAAE;YAC7B,MAAM,GAAG,GAAG,MAAM,uBAAA,IAAI,sCAAW,CAAC;YAClC,MAAM,SAAS,GAAG,MAAM,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;YAE5C,IAAI,SAAS,CAAC,IAAI,EAAE;gBAChB,MAAM,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;aACvD;YAED,OAAO,qBAAqB,CAAO,SAAS,CAAC,CAAC;QAClD,CAAC,CAAA,CAAC;QAEF;;;;;WAKG;QACH,cAAS,GAAG,CAAO,GAAS,EAAE,EAAE;YAC5B,MAAM,GAAG,GAAG,MAAM,uBAAA,IAAI,sCAAW,CAAC;YAClC,MAAM,SAAS,GAAG,MAAM,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;YAE3C,IAAI,SAAS,CAAC,IAAI,EAAE;gBAChB,MAAM,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;aACv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,MAAA,CAAC;IAChC,CAAC;CA4DJ"}
@@ -111,15 +111,6 @@ declare class ConnectorConfigurator {
111
111
  * @returns
112
112
  */
113
113
  setMappings: (mappings: ConnectorMapping[]) => Promise<EditorResponse<null>>;
114
- /**
115
- * @deprecated define the GraFx Studio Auth Token in the `SDK.Configuration.setValue`
116
- *
117
- * This method sets the GraFx Access Token in the Authentication HTTP header for the 'chili' authentication type.
118
- * The CHILI Token will be used to authenticate every grafx connector http call.
119
- * @param token token for the CHILI authentication
120
- * @returns
121
- */
122
- setChiliToken: (token: string) => Promise<EditorResponse<null>>;
123
114
  /**
124
115
  * This method sets the HTTP headers for the 'staticKey' authentication type.
125
116
  * These additional headers will be added to all connector http calls.
@@ -218,19 +218,6 @@ class ConnectorConfigurator {
218
218
  }));
219
219
  return getEditorResponseData(result);
220
220
  });
221
- /**
222
- * @deprecated define the GraFx Studio Auth Token in the `SDK.Configuration.setValue`
223
- *
224
- * This method sets the GraFx Access Token in the Authentication HTTP header for the 'chili' authentication type.
225
- * The CHILI Token will be used to authenticate every grafx connector http call.
226
- * @param token token for the CHILI authentication
227
- * @returns
228
- */
229
- this.setChiliToken = (token) => __awaiter(this, void 0, void 0, function* () {
230
- return __classPrivateFieldGet(this, _ConnectorConfigurator_res, "f")
231
- .connectorAuthenticationSetChiliToken(__classPrivateFieldGet(this, _ConnectorConfigurator_connectorId, "f"), token)
232
- .then((result) => getEditorResponseData(result));
233
- });
234
221
  /**
235
222
  * This method sets the HTTP headers for the 'staticKey' authentication type.
236
223
  * These additional headers will be added to all connector http calls.
@@ -1 +1 @@
1
- {"version":3,"file":"ConnectorController.js","sourceRoot":"","sources":["../../../src/controllers/ConnectorController.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AACA,OAAO,EAEH,kBAAkB,GAKrB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAEpE;;;;;;;;;;;;;GAaG;AACH,MAAM,OAA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