@celldl/editor 0.20260217.0 → 0.20260227.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 (131) hide show
  1. package/README.md +2 -17
  2. package/dist/CellDLEditor.css +1 -1
  3. package/dist/CellDLEditor.es.js +62796 -6
  4. package/dist/CellDLEditor.es.js.map +1 -1
  5. package/dist/index.d.ts +24 -10
  6. package/dist/index.d.ts.map +1 -0
  7. package/dist/src/CellDL/SVGElements/boundedelement.d.ts +25 -5
  8. package/dist/src/CellDL/SVGElements/boundedelement.d.ts.map +1 -0
  9. package/dist/src/CellDL/SVGElements/index.d.ts +25 -5
  10. package/dist/src/CellDL/SVGElements/index.d.ts.map +1 -0
  11. package/dist/src/CellDL/SVGElements/linearpath.d.ts +23 -3
  12. package/dist/src/CellDL/SVGElements/linearpath.d.ts.map +1 -0
  13. package/dist/src/CellDL/SVGElements/pathelement.d.ts +27 -7
  14. package/dist/src/CellDL/SVGElements/pathelement.d.ts.map +1 -0
  15. package/dist/src/CellDL/SVGElements/rectilinearpath.d.ts +23 -3
  16. package/dist/src/CellDL/SVGElements/rectilinearpath.d.ts.map +1 -0
  17. package/dist/src/CellDL/SVGElements/svgconnection.d.ts +25 -5
  18. package/dist/src/CellDL/SVGElements/svgconnection.d.ts.map +1 -0
  19. package/dist/src/CellDL/celldlObjects/index.d.ts +28 -7
  20. package/dist/src/CellDL/celldlObjects/index.d.ts.map +1 -0
  21. package/dist/src/CellDL/components/index.d.ts +24 -4
  22. package/dist/src/CellDL/components/index.d.ts.map +1 -0
  23. package/dist/src/CellDL/components/properties.d.ts +4 -3
  24. package/dist/src/CellDL/components/properties.d.ts.map +1 -0
  25. package/dist/src/CellDL/connections/index.d.ts +1 -0
  26. package/dist/src/CellDL/connections/index.d.ts.map +1 -0
  27. package/dist/src/CellDL/connections/pathmaker.d.ts +26 -6
  28. package/dist/src/CellDL/connections/pathmaker.d.ts.map +1 -0
  29. package/dist/src/CellDL/diagram/index.d.ts +30 -10
  30. package/dist/src/CellDL/diagram/index.d.ts.map +1 -0
  31. package/dist/src/CellDL/editor/alerts.d.ts +1 -0
  32. package/dist/src/CellDL/editor/alerts.d.ts.map +1 -0
  33. package/dist/src/CellDL/editor/editguides.d.ts +25 -5
  34. package/dist/src/CellDL/editor/editguides.d.ts.map +1 -0
  35. package/dist/src/CellDL/editor/editorframe.d.ts +22 -2
  36. package/dist/src/CellDL/editor/editorframe.d.ts.map +1 -0
  37. package/dist/src/CellDL/editor/index.d.ts +23 -1
  38. package/dist/src/CellDL/editor/index.d.ts.map +1 -0
  39. package/dist/src/CellDL/editor/panzoom.d.ts +1 -0
  40. package/dist/src/CellDL/editor/panzoom.d.ts.map +1 -0
  41. package/dist/src/CellDL/editor/selectionbox.d.ts +23 -3
  42. package/dist/src/CellDL/editor/selectionbox.d.ts.map +1 -0
  43. package/dist/src/CellDL/editor/undoredo.d.ts +24 -4
  44. package/dist/src/CellDL/editor/undoredo.d.ts.map +1 -0
  45. package/dist/src/CellDL/geometry/controls.d.ts +24 -4
  46. package/dist/src/CellDL/geometry/controls.d.ts.map +1 -0
  47. package/dist/src/CellDL/geometry/index.d.ts +23 -3
  48. package/dist/src/CellDL/geometry/index.d.ts.map +1 -0
  49. package/dist/src/CellDL/geometry/intersections.d.ts +21 -1
  50. package/dist/src/CellDL/geometry/intersections.d.ts.map +1 -0
  51. package/dist/src/CellDL/geometry/pathutils.d.ts +22 -2
  52. package/dist/src/CellDL/geometry/pathutils.d.ts.map +1 -0
  53. package/dist/src/CellDL/geometry/spatialindex.d.ts +22 -2
  54. package/dist/src/CellDL/geometry/spatialindex.d.ts.map +1 -0
  55. package/dist/src/CellDL/geometry/transforms.d.ts +22 -2
  56. package/dist/src/CellDL/geometry/transforms.d.ts.map +1 -0
  57. package/dist/src/CellDL/geometry/units.d.ts +1 -0
  58. package/dist/src/CellDL/geometry/units.d.ts.map +1 -0
  59. package/dist/src/CellDL/utils.d.ts +21 -1
  60. package/dist/src/CellDL/utils.d.ts.map +1 -0
  61. package/dist/src/common/EditorTypes.d.ts +1 -0
  62. package/dist/src/common/EditorTypes.d.ts.map +1 -0
  63. package/dist/src/common/common.d.ts +1 -0
  64. package/dist/src/common/common.d.ts.map +1 -0
  65. package/dist/src/common/constants.d.ts +1 -0
  66. package/dist/src/common/constants.d.ts.map +1 -0
  67. package/dist/src/common/points.d.ts +1 -0
  68. package/dist/src/common/points.d.ts.map +1 -0
  69. package/dist/src/common/styling.d.ts +1 -0
  70. package/dist/src/common/styling.d.ts.map +1 -0
  71. package/dist/src/common/svgUtils.d.ts +23 -3
  72. package/dist/src/common/svgUtils.d.ts.map +1 -0
  73. package/dist/src/common/themeCssVariables.d.ts +1 -0
  74. package/dist/src/common/themeCssVariables.d.ts.map +1 -0
  75. package/dist/src/common/types.d.ts +1 -0
  76. package/dist/src/common/types.d.ts.map +1 -0
  77. package/dist/src/common/vueCommon.d.ts +2 -1
  78. package/dist/src/common/vueCommon.d.ts.map +1 -0
  79. package/dist/src/libopencor/locUIJsonApi.d.ts +1 -0
  80. package/dist/src/libopencor/locUIJsonApi.d.ts.map +1 -0
  81. package/dist/src/mathjax/index.d.ts +28 -0
  82. package/dist/src/mathjax/index.d.ts.map +1 -0
  83. package/dist/src/metadata/index.d.ts +14 -13
  84. package/dist/src/metadata/index.d.ts.map +1 -0
  85. package/dist/src/metadata/namespaces.d.ts +26 -5
  86. package/dist/src/metadata/namespaces.d.ts.map +1 -0
  87. package/dist/src/metadata/store.d.ts +31 -18
  88. package/dist/src/metadata/store.d.ts.map +1 -0
  89. package/dist/src/plugins/bondgraph/definitions.d.ts +21 -1
  90. package/dist/src/plugins/bondgraph/definitions.d.ts.map +1 -0
  91. package/dist/src/plugins/bondgraph/index.d.ts +31 -9
  92. package/dist/src/plugins/bondgraph/index.d.ts.map +1 -0
  93. package/dist/src/plugins/bondgraph/utils.d.ts +23 -2
  94. package/dist/src/plugins/bondgraph/utils.d.ts.map +1 -0
  95. package/dist/src/plugins/index.d.ts +8 -5
  96. package/dist/src/plugins/index.d.ts.map +1 -0
  97. package/package.json +13 -8
  98. package/dist/CellDLEditor-ZFePDCI0.js +0 -13851
  99. package/dist/CellDLEditor-ZFePDCI0.js.map +0 -1
  100. package/dist/app/src/App.vue.d.ts +0 -2
  101. package/dist/app/src/common/common.d.ts +0 -8
  102. package/dist/app/src/common/constants.d.ts +0 -5
  103. package/dist/app/src/common/electron.d.ts +0 -5
  104. package/dist/app/src/common/electronApi.d.ts +0 -8
  105. package/dist/app/src/common/settings.d.ts +0 -18
  106. package/dist/app/src/common/version.d.ts +0 -7
  107. package/dist/app/src/common/vueCommon.d.ts +0 -9
  108. package/dist/app/src/main.d.ts +0 -1
  109. package/dist/favicon.ico +0 -0
  110. package/dist/index--lsZkhLY.js +0 -47445
  111. package/dist/index--lsZkhLY.js.map +0 -1
  112. package/dist/oxigraph-Dx4bu2IN.js +0 -838
  113. package/dist/oxigraph-Dx4bu2IN.js.map +0 -1
  114. package/dist/package.json.d.ts +0 -106
  115. package/dist/src/assets/oxigraph/web.d.ts +0 -279
  116. package/dist/src/components/CellDLEditor.vue.d.ts +0 -19
  117. package/dist/src/components/WrappedEditor.vue.d.ts +0 -19
  118. package/dist/src/components/panels/FillStyle.vue.d.ts +0 -20
  119. package/dist/src/components/panels/PathStyle.vue.d.ts +0 -20
  120. package/dist/src/components/panels/PropertiesPanel.vue.d.ts +0 -21
  121. package/dist/src/components/popovers/ComponentPopover.vue.d.ts +0 -19
  122. package/dist/src/components/popovers/ConnectionStylePopover.vue.d.ts +0 -19
  123. package/dist/src/components/toolbar/EditorToolbar.vue.d.ts +0 -23
  124. package/dist/src/components/toolbar/ToolButton.vue.d.ts +0 -26
  125. package/dist/src/components/toolbar/ToolPanel.vue.d.ts +0 -2
  126. package/dist/src/components/toolbar/ToolPopover.vue.d.ts +0 -3
  127. package/dist/src/components/widgets/InputWidget.vue.d.ts +0 -34
  128. package/dist/src/metadata/oxigraphStore.d.ts +0 -61
  129. package/dist/src/metadata/oximock.d.ts +0 -36
  130. package/dist/vite.config.d.ts +0 -3
  131. package/dist/vite.lib.config.d.ts +0 -3
package/README.md CHANGED
@@ -1,11 +1,8 @@
1
- # The CellDL Editor
1
+ # The CellDL Editor Vue Component
2
2
 
3
- There are two versions of the Editor:
3
+ This package is a [Vue 3](https://vuejs.org/) component for the CellDL Editor, built with the [Composition API](https://vuejs.org/guide/extras/composition-api-faq).
4
4
 
5
- 1. **The CellDL Editor:** a desktop application that can be run on [Intel](https://en.wikipedia.org/wiki/List_of_Intel_processors)-based and [ARM](https://en.wikipedia.org/wiki/ARM_architecture_family)-based [Windows](https://en.wikipedia.org/wiki/Microsoft_Windows), [Linux](https://en.wikipedia.org/wiki/Linux), and [macOS](https://en.wikipedia.org/wiki/MacOS) machines; and
6
- 2. **The CellDL Editor's Web app:** a [Web app](https://en.wikipedia.org/wiki/Web_application) that can be run on a Web browser.
7
5
 
8
- This package is a [Vue 3](https://vuejs.org/) component for the CellDL Editor, built with the [Composition API](https://vuejs.org/guide/extras/composition-api-faq).
9
6
 
10
7
  ## Usage
11
8
 
@@ -31,18 +28,6 @@ const emit = defineEmits<{
31
28
  }>()
32
29
 
33
30
 
34
- - **vite.config.ts:**
35
-
36
- Bundled wuth the the CellDL Editor is [Oxigraph for Javascript](https://github.com/oxigraph/oxigraph/tree/main/js). This is a large Web Asembly module (3.7MB) which is loaded asynchronously during startup. When building an application that uses the editor component, it can be put into its chunk by setting `build.rollupOptions.output.manualChunks` in the application's `vite.config.ts` to:
37
-
38
- ```
39
- (id: string) => {
40
- if (id.includes('oxigraph')) {
41
- return id.split('/').slice(-1)[0];
42
- }
43
- }
44
- ```
45
-
46
31
  - **index.html:**
47
32
 
48
33
  The `Content-Security-Policy` **must** allow `data:` connections and Wasm to be evaluated, for instance: