@celldl/editor 0.20260217.1 → 0.20260305.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/README.md +2 -17
  2. package/dist/CellDLEditor.css +1 -1
  3. package/dist/CellDLEditor.es.js +65235 -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 +5 -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/{metadata/oximock.d.ts → plugins/bondgraph/domainGraph.d.ts} +13 -17
  92. package/dist/src/plugins/bondgraph/domainGraph.d.ts.map +1 -0
  93. package/dist/src/plugins/bondgraph/index.d.ts +36 -10
  94. package/dist/src/plugins/bondgraph/index.d.ts.map +1 -0
  95. package/dist/src/plugins/bondgraph/utils.d.ts +23 -2
  96. package/dist/src/plugins/bondgraph/utils.d.ts.map +1 -0
  97. package/dist/src/plugins/index.d.ts +16 -10
  98. package/dist/src/plugins/index.d.ts.map +1 -0
  99. package/package.json +14 -8
  100. package/dist/CellDLEditor-VG5HM79L.js +0 -13851
  101. package/dist/CellDLEditor-VG5HM79L.js.map +0 -1
  102. package/dist/app/src/App.vue.d.ts +0 -2
  103. package/dist/app/src/common/common.d.ts +0 -8
  104. package/dist/app/src/common/constants.d.ts +0 -5
  105. package/dist/app/src/common/electron.d.ts +0 -5
  106. package/dist/app/src/common/electronApi.d.ts +0 -8
  107. package/dist/app/src/common/settings.d.ts +0 -18
  108. package/dist/app/src/common/version.d.ts +0 -7
  109. package/dist/app/src/common/vueCommon.d.ts +0 -9
  110. package/dist/app/src/main.d.ts +0 -1
  111. package/dist/favicon.ico +0 -0
  112. package/dist/index-DdfNP2Wo.js +0 -47440
  113. package/dist/index-DdfNP2Wo.js.map +0 -1
  114. package/dist/oxigraph-Dx4bu2IN.js +0 -838
  115. package/dist/oxigraph-Dx4bu2IN.js.map +0 -1
  116. package/dist/package.json.d.ts +0 -106
  117. package/dist/src/assets/oxigraph/web.d.ts +0 -279
  118. package/dist/src/components/CellDLEditor.vue.d.ts +0 -19
  119. package/dist/src/components/WrappedEditor.vue.d.ts +0 -19
  120. package/dist/src/components/panels/FillStyle.vue.d.ts +0 -20
  121. package/dist/src/components/panels/PathStyle.vue.d.ts +0 -20
  122. package/dist/src/components/panels/PropertiesPanel.vue.d.ts +0 -21
  123. package/dist/src/components/popovers/ComponentPopover.vue.d.ts +0 -19
  124. package/dist/src/components/popovers/ConnectionStylePopover.vue.d.ts +0 -19
  125. package/dist/src/components/toolbar/EditorToolbar.vue.d.ts +0 -23
  126. package/dist/src/components/toolbar/ToolButton.vue.d.ts +0 -26
  127. package/dist/src/components/toolbar/ToolPanel.vue.d.ts +0 -2
  128. package/dist/src/components/toolbar/ToolPopover.vue.d.ts +0 -3
  129. package/dist/src/components/widgets/InputWidget.vue.d.ts +0 -34
  130. package/dist/src/metadata/oxigraphStore.d.ts +0 -61
  131. package/dist/vite.config.d.ts +0 -3
  132. package/dist/vite.lib.config.d.ts +0 -3
package/dist/index.d.ts CHANGED
@@ -1,14 +1,27 @@
1
- import { default as CellDLEditor } from './src/components/WrappedEditor.vue';
2
- import { ViewState } from './src/common/EditorTypes';
3
- import type * as $rdf from '@renderer/metadata';
4
- export { DEFAULT_VIEW_STATE } from './src/CellDL/editor/editguides';
5
- export type { EditorState, ViewState } from './src/common/EditorTypes';
1
+ /******************************************************************************
2
+
3
+ CellDL Editor
4
+
5
+ Copyright (c) 2022 - 2026 David Brooks
6
+
7
+ Licensed under the Apache License, Version 2.0 (the "License");
8
+ you may not use this file except in compliance with the License.
9
+ You may obtain a copy of the License at
10
+
11
+ http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+ Unless required by applicable law or agreed to in writing, software
14
+ distributed under the License is distributed on an "AS IS" BASIS,
15
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ See the License for the specific language governing permissions and
17
+ limitations under the License.
18
+
19
+ ******************************************************************************/
20
+ import CellDLEditor from '@renderer/components/CellDLEditor.vue';
21
+ import type { ViewState } from '@renderer/common/EditorTypes';
22
+ export { DEFAULT_VIEW_STATE } from '@editor/editor/editguides';
23
+ export type { EditorState, ViewState } from '@renderer/common/EditorTypes';
6
24
  export { version } from './package.json';
7
- export type RdfInterface = {
8
- oximockRdfModule: object;
9
- getRdfStatements: () => $rdf.Statement[];
10
- };
11
- export declare const rdfInterface: RdfInterface;
12
25
  export type EditorData = {
13
26
  data: string;
14
27
  kind?: string;
@@ -52,3 +65,4 @@ export interface CellDLEditorProps {
52
65
  editorCommand?: CellDLEditorCommand;
53
66
  theme?: Theme;
54
67
  }
68
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sour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mBAAmB,GACnB,iBAAiB,GACjB,qBAAqB,GACrB,iBAAiB,CAAA;AAInD,MAAM,MAAM,KAAK,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;AAIhD,OAAO,EAAE,YAAY,EAAE,CAAA;AACvB,eAAe,YAAY,CAAA;AAE3B,MAAM,WAAW,iBAAiB;IAC9B,aAAa,CAAC,EAAE,mBAAmB,CAAA;IACnC,KAAK,CAAC,EAAE,KAAK,CAAA;CAChB"}
@@ -1,9 +1,28 @@
1
- import { CellDLObject } from '../celldlObjects/index';
2
- import { UndoMovePosition } from '../editor/undoredo';
3
- import { PointLike } from '../../common/points';
4
- import { RestrictedValue } from '../geometry/index';
1
+ /******************************************************************************
2
+
3
+ CellDL Editor
4
+
5
+ Copyright (c) 2022 - 2025 David Brooks
6
+
7
+ Licensed under the Apache License, Version 2.0 (the "License");
8
+ you may not use this file except in compliance with the License.
9
+ You may obtain a copy of the License at
10
+
11
+ http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+ Unless required by applicable law or agreed to in writing, software
14
+ distributed under the License is distributed on an "AS IS" BASIS,
15
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ See the License for the specific language governing permissions and
17
+ limitations under the License.
18
+
19
+ ******************************************************************************/
20
+ import { type CellDLObject } from '@editor/celldlObjects/index';
21
+ import { type UndoMovePosition } from '@editor/editor/undoredo';
22
+ import { type PointLike } from '@renderer/common/points';
23
+ import { type RestrictedValue } from '@editor/geometry/index';
5
24
  import { CellDLSVGElement } from './index';
6
- import { PathElement } from './pathelement';
25
+ import type { PathElement } from './pathelement';
7
26
  export declare class BoundedElement extends CellDLSVGElement {
8
27
  #private;
9
28
  constructor(object: CellDLObject, svgElement: SVGGraphicsElement, gridAligned?: boolean, align?: boolean);
@@ -19,3 +38,4 @@ export declare class BoundedElement extends CellDLSVGElement {
19
38
  undoControlMove(undoPosition: UndoMovePosition): void;
20
39
  updateSvgElement(svg: string): Promise<void>;
21
40
  }
41
+ //# sourceMappingURL=boundedelement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"boundedelement.d.ts","sourceRoot":"","sources":["../../../../src/CellDL/SVGElements/boundedelement.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAE/E,OAAO,EAAkD,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAE/G,OAAO,EAAmC,KAAK,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAChG,OAAO,EAAS,KAAK,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAAmB,KAAK,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAI9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAIhD,qBAAa,cAAe,SAAQ,gBAAgB;;gBAepC,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,kBAAkB,EAAE,WAAW,GAAE,OAAa,EAAE,KAAK,GAAE,OAAa;IAkBlH,UAAU,CAAC,WAAW,EAAE,kBAAkB,GAAG,OAAO;IAIpD,SAAS,CAAC,QAAQ,EAAE,SAAS;IAO7B,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,eAAe,EAAE,OAAO,EAAE,MAAM,GAAG,eAAe;IAQtG,gBAAgB;IAOhB,IAAI,CAAC,QAAQ,EAAE,SAAS;IAkBxB,OAAO;IAQP,cAAc,CAAC,IAAI,EAAE,WAAW;IAIhC,iBAAiB,CAAC,IAAI,EAAE,WAAW;IAInC,MAAM;IAmCN,eAAe,CAAC,YAAY,EAAE,gBAAgB;IAMxC,gBAAgB,CAAC,GAAG,EAAE,MAAM;CAmBrC"}
@@ -1,8 +1,27 @@
1
- import { Point, PointLike } from '../../common/points';
2
- import { UndoMovePosition } from '../editor/undoredo';
3
- import { CellDLObject } from '../celldlObjects/index';
4
- import { Bounds, RestrictedValue } from '../geometry/index';
5
- import { Transform } from '../geometry/transforms';
1
+ /******************************************************************************
2
+
3
+ CellDL Editor
4
+
5
+ Copyright (c) 2022 - 2025 David Brooks
6
+
7
+ Licensed under the Apache License, Version 2.0 (the "License");
8
+ you may not use this file except in compliance with the License.
9
+ You may obtain a copy of the License at
10
+
11
+ http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+ Unless required by applicable law or agreed to in writing, software
14
+ distributed under the License is distributed on an "AS IS" BASIS,
15
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ See the License for the specific language governing permissions and
17
+ limitations under the License.
18
+
19
+ ******************************************************************************/
20
+ import { Point, type PointLike } from '@renderer/common/points';
21
+ import type { UndoMovePosition } from '@editor/editor/undoredo';
22
+ import { type CellDLObject } from '@editor/celldlObjects/index';
23
+ import { Bounds, type RestrictedValue } from '@editor/geometry/index';
24
+ import { Transform } from '@editor/geometry/transforms';
6
25
  export declare function setInternalIds(svgElement: SVGGraphicsElement, previousId?: string): void;
7
26
  export declare class CellDLSVGElement {
8
27
  #private;
@@ -64,3 +83,4 @@ export declare class CellDLSVGElement {
64
83
  */
65
84
  updateSvgElement(svg: string): Promise<void>;
66
85
  }
86
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/CellDL/SVGElements/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAM/E,OAAO,EAAE,KAAK,EAAE,KAAK,SAAS,EAAa,MAAM,yBAAyB,CAAA;AAE1E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAE/D,OAAO,EAAsB,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAA;AACnF,OAAO,EAAE,MAAM,EAAE,KAAK,eAAe,EAAE,MAAM,wBAAwB,CAAA;AAErE,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAA;A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C,KAAK,EAAE,SAAS,EAAE,OAAO,GAAE,MAAU,GAAG,OAAO;IAe5D,0BAA0B,CAAC,KAAK,EAAE,SAAS,EAAE,OAAO,GAAE,MAAiC,GAAG,KAAK;IA4D/F,YAAY,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM;IAoBtC,qBAAqB,CACjB,KAAK,EAAE,SAAS,EAChB,OAAO,GAAE,MAAiC,GAC3C,CAAC,KAAK,GAAG,IAAI,EAAE,KAAK,GAAG,IAAI,EAAE,MAAM,CAAC;IA4HvC,aAAa,CAAC,KAAK,EAAE,SAAS,EAAE,OAAO,GAAE,MAAU,GAAG,OAAO;IAiB7D,mBAAmB;IAEnB,kBAAkB;IAElB,SAAS,CAAC,SAAS,UAAO;IAI1B,eAAe,CAAC,aAAa,EAAE,gBAAgB;IAE/C,YAAY,CAAC,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,kBAAkB,EAAE,UAAU,EAAE,SAAS,GAAG,OAAO;IAIjG,MAAM;IAEN,MAAM;IAIN,MAAM,CAAC,QAAQ,UAAO;IAKtB,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,eAAe,EAAE,QAAQ,EAAE,MAAM,GAAG,eAAe;IAEzG,gBAAgB;IAEhB;;;;OAIG;IACG,gBAAgB,CAAC,GAAG,EAAE,MAAM;CAKrC"}
@@ -1,6 +1,25 @@
1
- import { NormalArray } from 'svg-path-commander';
2
- import { Point, PointLike } from '../../common/points';
3
- import { BoundedElement } from './boundedelement';
1
+ /******************************************************************************
2
+
3
+ CellDL Editor
4
+
5
+ Copyright (c) 2022 - 2025 David Brooks
6
+
7
+ Licensed under the Apache License, Version 2.0 (the "License");
8
+ you may not use this file except in compliance with the License.
9
+ You may obtain a copy of the License at
10
+
11
+ http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+ Unless required by applicable law or agreed to in writing, software
14
+ distributed under the License is distributed on an "AS IS" BASIS,
15
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ See the License for the specific language governing permissions and
17
+ limitations under the License.
18
+
19
+ ******************************************************************************/
20
+ import type { NormalArray } from 'svg-path-commander';
21
+ import { type Point, type PointLike } from '@renderer/common/points';
22
+ import type { BoundedElement } from './boundedelement';
4
23
  import { PathElement, PathPoint } from './pathelement';
5
24
  export declare class LinearPath extends PathElement {
6
25
  protected setPathPoints(pathArray: NormalArray): void;
@@ -9,3 +28,4 @@ export declare class LinearPath extends PathElement {
9
28
  protected resizedComponentBoundingBox(index: number, component: BoundedElement, _cornerDeltas: [Point, Point]): void;
10
29
  protected simplifyPathPoints(): PathPoint[] | null;
11
30
  }
31
+ //# sourceMappingURL=linearpath.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linearpath.d.ts","sourceRoot":"","sources":["../../../../src/CellDL/SVGElements/linearpath.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAE/E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAIrD,OAAO,EAAE,KAAK,KAAK,EAAE,KAAK,SAAS,EAAa,MAAM,yBAAyB,CAAA;AAG/E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,EAAkB,WAAW,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAItE,qBAAa,UAAW,SAAQ,WAAW;IACvC,SAAS,CAAC,aAAa,CAAC,SAAS,EAAE,WAAW;IAgC9C,SAAS,CAAC,aAAa,CAAC,QAAQ,EAAE,SAAS;IAwB3C,SAAS,CAAC,yBAAyB,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,cAAc,EAAE,cAAc,EAAE,KAAK;IAqDnG,SAAS,CAAC,2BAA2B,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,cAAc,EAAE,aAAa,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;IAI7G,SAAS,CAAC,kBAAkB,IAAI,SAAS,EAAE,GAAG,IAAI;CAkCrD"}
@@ -1,10 +1,29 @@
1
- import { NormalArray } from 'svg-path-commander';
2
- import { CellDLConnection } from '../celldlObjects/index';
3
- import { Point, PointLike } from '../../common/points';
4
- import { FixedValue, RestrictedValue } from '../geometry/index';
5
- import { ControlPoint } from '../geometry/controls';
6
- import { FoundPoint } from '../geometry/pathutils';
7
- import { BoundedElement } from './boundedelement';
1
+ /******************************************************************************
2
+
3
+ CellDL Editor
4
+
5
+ Copyright (c) 2022 - 2025 David Brooks
6
+
7
+ Licensed under the Apache License, Version 2.0 (the "License");
8
+ you may not use this file except in compliance with the License.
9
+ You may obtain a copy of the License at
10
+
11
+ http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+ Unless required by applicable law or agreed to in writing, software
14
+ distributed under the License is distributed on an "AS IS" BASIS,
15
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ See the License for the specific language governing permissions and
17
+ limitations under the License.
18
+
19
+ ******************************************************************************/
20
+ import type { NormalArray } from 'svg-path-commander';
21
+ import type { CellDLConnection } from '@editor/celldlObjects/index';
22
+ import type { Point, PointLike } from '@renderer/common/points';
23
+ import type { FixedValue, RestrictedValue } from '@editor/geometry/index';
24
+ import { ControlPoint } from '@editor/geometry/controls';
25
+ import type { FoundPoint } from '@editor/geometry/pathutils';
26
+ import type { BoundedElement } from './boundedelement';
8
27
  export declare const ID_PART_SEPARATOR = "-";
9
28
  export declare class PathPoint extends ControlPoint {
10
29
  #private;
@@ -51,3 +70,4 @@ export declare class PathElement {
51
70
  protected setPathPoints(_pathArray: NormalArray): void;
52
71
  protected simplifyPathPoints(): PathPoint[] | null;
53
72
  }
73
+ //# sourceMappingURL=pathelement.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pathelement.d.ts","sourceRoot":"","sources":["../../../../src/CellDL/SVGElements/pathelement.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAG/E,OAAO,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- import { BoundedElement } from './boundedelement';
1
+ /******************************************************************************
2
+
3
+ CellDL Editor
4
+
5
+ Copyright (c) 2022 - 2025 David Brooks
6
+
7
+ Licensed under the Apache License, Version 2.0 (the "License");
8
+ you may not use this file except in compliance with the License.
9
+ You may obtain a copy of the License at
10
+
11
+ http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+ Unless required by applicable law or agreed to in writing, software
14
+ distributed under the License is distributed on an "AS IS" BASIS,
15
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ See the License for the specific language governing permissions and
17
+ limitations under the License.
18
+
19
+ ******************************************************************************/
20
+ import type { NormalArray } from 'svg-path-commander';
21
+ import { Point, type PointLike } from '@renderer/common/points';
22
+ import type { BoundedElement } from './boundedelement';
4
23
  import { PathElement, PathPoint } from './pathelement';
5
24
  /** DEBUGGING
6
25
 
@@ -48,3 +67,4 @@ export declare class RectilinearPath extends PathElement {
48
67
  protected movePathPoint(position: PointLike): void;
49
68
  protected simplifyPathPoints(): PathPoint[] | null;
50
69
  }
70
+ //# sourceMappingURL=rectilinearpath.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rectilinearpath.d.ts","sourceRoot":"","sources":["../../../../src/CellDL/SVGElements/rectilinearpath.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAE/E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAKrD,OAAO,EAAE,KAAK,EAAE,KAAK,SAAS,EAAa,MAAM,yBAAyB,CAAA;AAM1E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACtD,OAAO,EAAkB,WAAW,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAoHtE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAoCa;AAIb,qBAAa,eAAgB,SAAQ,WAAW;;IAC5C,SAAS,CAAC,uBAAuB,IAAI,WAAW;IA6BhD,SAAS,CAAC,aAAa,CAAC,SAAS,EAAE,WAAW;IAwG9C,SAAS,CAAC,2BAA2B,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;IAuB5G,SAAS,CAAC,yBAAyB,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,cAAc,EAAE,aAAa,EAAE,KAAK;IAsClG,SAAS,CAAC,aAAa,CAAC,QAAQ,EAAE,SAAS;IAiG3C,SAAS,CAAC,kBAAkB,IAAI,SAAS,EAAE,GAAG,IAAI;CAkErD"}
@@ -1,8 +1,27 @@
1
- import { PointLike } from '../../common/points';
2
- import { UndoMovePosition } from '../editor/undoredo';
3
- import { CellDLConnection } from '../celldlObjects/index';
4
- import { ConnectionStyle } from '../connections/index';
5
- import { PathElement } from './pathelement';
1
+ /******************************************************************************
2
+
3
+ CellDL Editor
4
+
5
+ Copyright (c) 2022 - 2025 David Brooks
6
+
7
+ Licensed under the Apache License, Version 2.0 (the "License");
8
+ you may not use this file except in compliance with the License.
9
+ You may obtain a copy of the License at
10
+
11
+ http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+ Unless required by applicable law or agreed to in writing, software
14
+ distributed under the License is distributed on an "AS IS" BASIS,
15
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ See the License for the specific language governing permissions and
17
+ limitations under the License.
18
+
19
+ ******************************************************************************/
20
+ import type { PointLike } from '@renderer/common/points';
21
+ import { type UndoMovePosition } from '@editor/editor/undoredo';
22
+ import type { CellDLConnection } from '@editor/celldlObjects/index';
23
+ import { ConnectionStyle } from '@editor/connections/index';
24
+ import { type PathElement } from './pathelement';
6
25
  import { CellDLSVGElement } from './index';
7
26
  export declare class SvgConnection extends CellDLSVGElement {
8
27
  #private;
@@ -20,3 +39,4 @@ export declare class SvgConnection extends CellDLSVGElement {
20
39
  startMove(svgPoint: PointLike): void;
21
40
  undoControlMove(undoPosition: UndoMovePosition): void;
22
41
  }
42
+ //# sourceMappingURL=svgconnection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"svgconnection.d.ts","sourceRoot":"","sources":["../../../../src/CellDL/SVGElements/svgconnection.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAO/E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAExD,OAAO,EAAmC,KAAK,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAEhG,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AACnE,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAI3D,OAAO,EAAqB,KAAK,WAAW,EAAE,MAAM,eAAe,CAAA;AAGnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAW1C,qBAAa,aAAc,SAAQ,gBAAgB;;gBAKnC,UAAU,EAAE,gBAAgB,EAAE,UAAU,EAAE,kBAAkB,EAAE,KAAK,EAAE,eAAe;IAsDhG,IAAI,YAAY,IAAI,WAAW,EAAE,CAEhC;IAED,mBAAmB;IAInB,kBAAkB;IAIlB,oBAAoB;IAMpB,mBAAmB;IAMnB,OAAO;IAQP,UAAU,CAAC,UAAU,EAAE,kBAAkB,GAAG,OAAO;IAoBnD,IAAI,CAAC,QAAQ,EAAE,SAAS;IASxB,MAAM;IAKN,MAAM;IAKN,SAAS,CAAC,QAAQ,EAAE,SAAS;IAS7B,eAAe,CAAC,YAAY,EAAE,gBAAgB;CAKjD"}
@@ -1,11 +1,30 @@
1
- import { PointLike } from '../../common/points';
2
- import { Constructor, PropertiesType } from '../../common/types';
3
- import { UndoMovePosition } from '../editor/undoredo';
4
- import { ObjectTemplate } from '../components/index';
5
- import { CellDLDiagram } from '../diagram/index';
6
- import { CellDLSVGElement } from '../SVGElements/index';
7
- import { NamedNode } from '../../metadata/index';
1
+ /******************************************************************************
2
+
3
+ CellDL Editor
4
+
5
+ Copyright (c) 2022 - 2025 David Brooks
6
+
7
+ Licensed under the Apache License, Version 2.0 (the "License");
8
+ you may not use this file except in compliance with the License.
9
+ You may obtain a copy of the License at
10
+
11
+ http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+ Unless required by applicable law or agreed to in writing, software
14
+ distributed under the License is distributed on an "AS IS" BASIS,
15
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ See the License for the specific language governing permissions and
17
+ limitations under the License.
18
+
19
+ ******************************************************************************/
20
+ import { type PointLike } from '@renderer/common/points';
21
+ import type { Constructor, PropertiesType } from '@renderer/common/types';
22
+ import type { UndoMovePosition } from '@editor/editor/undoredo';
23
+ import type { ObjectTemplate } from '@editor/components/index';
24
+ import type { CellDLDiagram } from '@editor/diagram/index';
25
+ import type { CellDLSVGElement } from '@editor/SVGElements/index';
8
26
  import * as $rdf from '@renderer/metadata/index';
27
+ import type { NamedNode } from '@renderer/metadata/index';
9
28
  export declare enum CELLDL_STYLE_CLASS {
10
29
  Annotation = "celldl-Annotation",
11
30
  Component = "celldl-Component",
@@ -47,6 +66,7 @@ export declare class CellDLObject {
47
66
  get metadataProperties(): $rdf.MetadataPropertiesMap;
48
67
  get moveable(): boolean;
49
68
  get name(): string;
69
+ get numConnections(): number;
50
70
  get objectTemplate(): ObjectTemplate | undefined;
51
71
  get selected(): boolean | undefined;
52
72
  get svgElement(): SVGGraphicsElement | null;
@@ -149,3 +169,4 @@ export declare class CellDLUnconnectedPort extends CellDLConnectedObject {
149
169
  static celldlTypeName: string;
150
170
  }
151
171
  export declare const CELLDL_CLASS_MAP: Map<string, Constructor<CellDLObject>>;
172
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/CellDL/celldlObjects/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAE/E,OAAO,EAAS,KAAK,SAAS,EAAE,MAAM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ects/index';
2
- import { MetadataPropertiesMap } from '../../metadata/index';
3
- import { PointLike } from '../../common/points';
4
- import { Constructor, StringProperties } from '../../common/types';
1
+ /******************************************************************************
2
+
3
+ CellDL Editor
4
+
5
+ Copyright (c) 2022 - 2025 David Brooks
6
+
7
+ Licensed under the Apache License, Version 2.0 (the "License");
8
+ you may not use this file except in compliance with the License.
9
+ You may obtain a copy of the License at
10
+
11
+ http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+ Unless required by applicable law or agreed to in writing, software
14
+ distributed under the License is distributed on an "AS IS" BASIS,
15
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ See the License for the specific language governing permissions and
17
+ limitations under the License.
18
+
19
+ ******************************************************************************/
20
+ import type { CellDLObject } from '@editor/celldlObjects/index';
21
+ import type { MetadataPropertiesMap } from '@renderer/metadata/index';
22
+ import type { PointLike } from '@renderer/common/points';
23
+ import type { Constructor, StringProperties } from '@renderer/common/types';
5
24
  export interface ObjectTemplate {
6
25
  CellDLClass: Constructor<CellDLObject>;
7
26
  description?: string;
@@ -37,3 +56,4 @@ export type TemplateEventDetails = {
37
56
  offset: PointLike;
38
57
  };
39
58
  export declare function getTemplateEventDetails(id: string, target: HTMLImageElement, event: DragEvent | MouseEvent | null): TemplateEventDetails;
59
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/CellDL/components/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAE/E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAC/D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAA;AAErE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AACxD,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAI3E,MAAM,WAAW,cAAc;IAC3B,WAAW,EAAE,WAAW,CAAC,YAAY,CAAC,CAAA;IACtC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,kBAAkB,EAAE,qBAAqB,CAAA;IACzC,IAAI,CAAC,EAAE,MAAM,CAAA;CAChB;AAID,MAAM,WAAW,wBAAwB;IACrC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,MAAM,WAAW,gBAAgB;IAC7B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,wBAAwB,EAAE,CAAA;CACxC;AAED,MAAM,WAAW,eAAe;IAC5B,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACf;AAID,MAAM,WAAW,aAAa;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;CACnB;AAID,MAAM,WAAW,kBAAkB;IAC/B,YAAY,CAAC,EAAE,gBAAgB,CAAA;CAClC;AAID,MAAM,MAAM,oBAAoB,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,SAAS,CAAA;IACjB,MAAM,EAAE,SAAS,CAAA;CACpB,CAAA;AAID,wBAAgB,uBAAuB,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,gBAAgB,EACpC,KAAK,EAAE,SAAS,GAAC,UAAU,GAAC,IAAI,GAAG,oBAAoB,CAkB9F"}
@@ -1,6 +1,3 @@
1
- import { CellDLObject } from '../celldlObjects/index';
2
- import { IPathStyle } from '../../common/svgUtils';
3
- import { RdfStore } from '../../metadata/index';
4
1
  /******************************************************************************
5
2
 
6
3
  CellDL Editor
@@ -21,10 +18,14 @@ limitations under the License.
21
18
 
22
19
  ******************************************************************************/
23
20
  import type * as locApi from '@renderer/libopencor/locUIJsonApi';
21
+ import type { CellDLObject } from '@editor/celldlObjects/index';
22
+ import type { IPathStyle } from '@renderer/common/svgUtils';
23
+ import { type RdfStore } from '@renderer/metadata/index';
24
24
  export type ItemDetails = locApi.IUiJsonInput & {
25
25
  itemId: string;
26
26
  property: string;
27
27
  value?: string | number;
28
+ possibleValues: locApi.IUiJsonDiscreteInputPossibleValue[];
28
29
  units?: string;
29
30
  optional?: boolean;
30
31
  numeric?: boolean;
@@ -59,3 +60,4 @@ export declare class ObjectPropertiesPanel {
59
60
  updateObjectProperties(celldlObject: CellDLObject | null, itemId: string, value: ValueChange, rdfStore: RdfStore): Promise<void>;
60
61
  updateObjectStyling(celldlObject: CellDLObject | null, objectType: string, styling: StyleObject): Promise<void>;
61
62
  }
63
+ //# sourceMappingURL=properties.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"properties.d.ts","sourceRoot":"","sources":["../../../../src/CellDL/components/properties.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAI/E,OAAO,KAAK,KAAK,MAAM,MAAM,mCAAmC,CAAA;AAEhE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAG/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAA;AAC3D,OAAO,EAAa,KAAK,QAAQ,EAAmB,MAAM,0BAA0B,CAAA;AAKpF,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,YAAY,GAAG;IAC5C,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,GAAC,MAAM,CAAA;IACrB,cAAc,EAAE,MAAM,CAAC,iCAAiC,EAAE,CAAA;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,WA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ION: {
33
33
  };
34
34
  export declare const DEFAULT_CONNECTION_STYLE: ConnectionStyle;
35
35
  export declare const CONNECTION_STYLE_DEFINITIONS: ConnectionStyleDefinition[];
36
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/CellDL/connections/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAE/E,oBAAY,eAAe;IACvB,MAAM,WAAW;IACjB,WAAW,gBAAgB;CAC9B;AAED,MAAM,WAAW,yBAAyB;IACtC,EAAE,EAAE,eAAe,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACf;AAID,eAAO,MAAM,mCAAmC;;;;CAI/C,CAAA;AAED,eAAO,MAAM,wBAAwB,iBAAyC,CAAA;AAE9E,eAAO,MAAM,4BAA4B,EAAE,yBAAyB,EAOnE,CAAA"}
@@ -1,14 +1,33 @@
1
- import { PointLike } from '../../common/points';
2
- import { CellDLConnectedObject, CellDLObject } from '../celldlObjects/index';
3
- import { CellDLDiagram } from '../diagram/index';
4
- import { EditorFrame } from '../editor/editorframe';
5
- import { CellDLSVGElement } from '../SVGElements/index';
1
+ /******************************************************************************
2
+
3
+ CellDL Editor
4
+
5
+ Copyright (c) 2022 - 2025 David Brooks
6
+
7
+ Licensed under the Apache License, Version 2.0 (the "License");
8
+ you may not use this file except in compliance with the License.
9
+ You may obtain a copy of the License at
10
+
11
+ http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+ Unless required by applicable law or agreed to in writing, software
14
+ distributed under the License is distributed on an "AS IS" BASIS,
15
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ See the License for the specific language governing permissions and
17
+ limitations under the License.
18
+
19
+ ******************************************************************************/
20
+ import { type PointLike } from '@renderer/common/points';
21
+ import { type CellDLConnectedObject, type CellDLObject } from '@editor/celldlObjects/index';
22
+ import type { CellDLDiagram } from '@editor/diagram/index';
23
+ import type { EditorFrame } from '@editor/editor/editorframe';
24
+ import type { CellDLSVGElement } from '@editor/SVGElements/index';
6
25
  export declare class PathNode {
7
26
  readonly object: CellDLConnectedObject;
8
27
  constructor(object: CellDLConnectedObject);
9
28
  get celldlSvgElement(): CellDLSVGElement | undefined;
10
29
  get id(): string;
11
- get uri(): import('../../metadata/index').NamedNode;
30
+ get uri(): import("@celldl/editor-rdf").NamedNode;
12
31
  canConnect(_node: PathNode): boolean;
13
32
  }
14
33
  /**
@@ -36,3 +55,4 @@ export declare class PathMaker {
36
55
  finishPath(endNode: PathNode, celldlDiagram: CellDLDiagram, shiftKey?: boolean): void;
37
56
  finishPartialPath(celldlDiagram: CellDLDiagram, shiftKey?: boolean): void;
38
57
  }
58
+ //# sourceMappingURL=pathmaker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pathmaker.d.ts","sourceRoot":"","sources":["../../../../src/CellDL/connections/pathmaker.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAE/E,OAAO,EAAS,KAAK,SAAS,EAAa,MAAM,yBAAyB,CAAA;AAO1E,OAAO,EAAE,KAAK,qBAAqB,EAAoB,KAAK,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAE7G,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AAC1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAC7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AA6DjE,qBAAa,QAAQ;IACL,QAAQ,CAAC,MAAM,EAAE,qBAAqB;gBAA7B,MAAM,EAAE,qBAAqB;IAElD,IAAI,gBAAgB,iCAEnB;IAED,IAAI,EAAE,WAEL;IAED,IAAI,GAAG,2CAEN;IAED,UAAU,CAAC,KAAK,EAAE,QAAQ,GAAG,OAAO;CAKvC;AAID;;;;;;;;;GASG;AACH,qBAAa,SAAS;;gBAcN,WAAW,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,GAAE,MAAsB;IAWxF,IAAI,cAAc,0BAEjB;IAED,IAAI,KAAK,YAER;IAUD,MAAM,CAAC,gBAAgB,CAAC,YAAY,EAAE,YAAY,GAAG,QAAQ,GAAG,IAAI;IAWpE,MAAM,CAAC,gBAAgB,CAAC,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,aAAa,GAAG,QAAQ;IAKjF,KAAK;IAIL,aAAa,CAAC,YAAY,EAAE,YAAY,GAAG,QAAQ,GAAG,IAAI;IAiC1D,eAAe,CAAC,IAAI,EAAE,QAAQ,EAAE,QAAQ,GAAE,OAAe;IAsIzD,QAAQ,CAAC,KAAK,EAAE,SAAS,EAAE,QAAQ,GAAE,OAAe;IA0BpD,MAAM,CAAC,KAAK,EAAE,SAAS,EAAE,QAAQ,GAAE,OAAe;IAwFlD,UAAU,CAAC,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,aAAa,EAAE,QAAQ,GAAE,OAAe;IAyCrF,iBAAiB,CAAC,aAAa,EAAE,aAAa,EAAE,QAAQ,GAAE,OAAe;CAwD5E"}
@@ -1,20 +1,39 @@
1
- import { PointLike } from '../../common/points';
2
- import { StringProperties } from '../../common/types';
3
- import { NamedNode, MetadataPropertyValue } from '../../metadata/index';
4
- import { Bounds } from '../geometry/index';
5
- import { ContainedObject } from '../geometry/spatialindex';
6
- import { CellDLConnectedObject, CellDLConnection, CellDLCompartment, CellDLInterface, CellDLObject, CellDLUnconnectedPort } from '../celldlObjects/index.ts';
7
- import { CellDLEditor } from '../editor/index';
8
- import { EditorUndoAction } from '../editor/undoredo';
9
- import { ObjectTemplate } from '../components/index';
1
+ /******************************************************************************
2
+
3
+ CellDL Editor
4
+
5
+ Copyright (c) 2022 - 2025 David Brooks
6
+
7
+ Licensed under the Apache License, Version 2.0 (the "License");
8
+ you may not use this file except in compliance with the License.
9
+ You may obtain a copy of the License at
10
+
11
+ http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+ Unless required by applicable law or agreed to in writing, software
14
+ distributed under the License is distributed on an "AS IS" BASIS,
15
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ See the License for the specific language governing permissions and
17
+ limitations under the License.
18
+
19
+ ******************************************************************************/
20
+ import type { PointLike } from '@renderer/common/points';
21
+ import type { StringProperties } from '@renderer/common/types';
10
22
  import * as $rdf from '@renderer/metadata/index';
23
+ import { type NamedNode, type MetadataPropertyValue } from '@renderer/metadata/index';
24
+ import type { Bounds } from '@editor/geometry/index';
25
+ import type { ContainedObject } from '@editor/geometry/spatialindex';
26
+ import { type CellDLConnectedObject, CellDLConnection, CellDLCompartment, CellDLInterface, type CellDLObject, CellDLUnconnectedPort } from '@editor/celldlObjects/index.ts';
27
+ import { type CellDLEditor } from '@editor/editor/index';
28
+ import { type EditorUndoAction } from '@editor/editor/undoredo';
29
+ import type { ObjectTemplate } from '@editor/components/index';
11
30
  export declare const CELLDL_VERSION = "1.0";
12
31
  export declare class CellDLDiagram {
13
32
  #private;
14
33
  constructor(filePath: string, celldlData: string, celldlEditor: CellDLEditor, importSvg?: boolean);
15
34
  finishSetup(): void;
16
35
  edit(): Promise<void>;
17
- get editorFrame(): import('../editor/editorframe').EditorFrame | null;
36
+ get editorFrame(): import("../editor/editorframe").EditorFrame | null;
18
37
  get metadata(): StringProperties;
19
38
  set metadata(data: StringProperties);
20
39
  get rdfStore(): $rdf.RdfStore;
@@ -43,3 +62,4 @@ export declare class CellDLDiagram {
43
62
  insertDeletedObject(undoAction: EditorUndoAction): void;
44
63
  removeObject(celldlObject: CellDLObject): void;
45
64
  }
65
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/CellDL/diagram/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAE/E,OAAO,KAAK,EAAE,SAAS,EAA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S,EAAE;IAkF3D,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,YAAY,GAAG,IAAI;IAuL3C,MAAM,CAAC,MAAM,EAAE,MAAM;;;IAMf,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC;IAmDlC,gBAAgB,CAAC,OAAO,EAAE,UAAU,EAAE,OAAO,UAAQ;IAkBrD,iBAAiB,CAAC,MAAM,EAAE,YAAY,GAAG,YAAY,EAAE;IAsCvD,kBAAkB,CAAC,UAAU,EAAE,kBAAkB,EAAE,QAAQ,EAAE,cAAc,GAAG,qBAAqB,GAAG,IAAI;IAQ1G,gBAAgB,CAAC,UAAU,EAAE,kBAAkB,EAAE,QAAQ,EAAE,cAAc,GAAG,gBAAgB;IAQ5F,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,GAAG,iBAAiB;IAiG7E,mBAAmB,CAAC,KAAK,EAAE,SAAS,GAAG,eAAe;IAItD,qBAAqB,CAAC,KAAK,EAAE,SAAS,GAAG,qBAAqB;IAgN9D,YAAY,CAAC,aAAa,EAAE,qBAAqB,GAAG,IAAI,GAAG,qBAAqB,GAAG,IAAI;IAcvF,kBAAkB,CAAC,WAAW,EAAE,MAAM,GAAG,eAAe,EAAE;IAI1D,WAAW,CAAC,YAAY,EAAE,YAAY;IAKtC,oBAAoB,CAAC,UAAU,EAAE,gBAAgB;IAajD,mBAAmB,CAAC,UAAU,EAAE,gBAAgB;IAahD,YAAY,CAAC,YAAY,EAAE,YAAY;CAqC1C"}
@@ -25,3 +25,4 @@ export declare namespace alert {
25
25
  function warn(msg: string): void;
26
26
  function elementError(msg: string, svgElement?: SVGGraphicsElement): void;
27
27
  }
28
+ //# sourceMappingURL=alerts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alerts.d.ts","sourceRoot":"","sources":["../../../../src/CellDL/editor/alerts.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAM/E,yBAAiB,KAAK,CAAC;IACnB,SAAgB,KAAK,SAIpB;IAED,SAAgB,KAAK,CAAC,GAAG,EAAE,MAAM,QAKhC;IAED,SAAgB,IAAI,CAAC,GAAG,EAAE,MAAM,QAI/B;IAED,SAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,QAIlC;IAED,SAAgB,IAAI,CAAC,GAAG,EAAE,MAAM,QAK/B;IAED,SAAgB,YAAY,CAAC,GAAG,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,kBAAkB,QAKxE;CACJ"}
@@ -1,8 +1,27 @@
1
- import { ViewState } from '../../common/EditorTypes';
2
- import { Point, PointLike } from '../../common/points';
3
- import { CellDLDiagram } from '../diagram/index';
4
- import { CellDLMoveableObject } from '../celldlObjects/index';
5
- import { Extent } from '../geometry/index';
1
+ /******************************************************************************
2
+
3
+ CellDL Editor
4
+
5
+ Copyright (c) 2022 - 2025 David Brooks
6
+
7
+ Licensed under the Apache License, Version 2.0 (the "License");
8
+ you may not use this file except in compliance with the License.
9
+ You may obtain a copy of the License at
10
+
11
+ http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+ Unless required by applicable law or agreed to in writing, software
14
+ distributed under the License is distributed on an "AS IS" BASIS,
15
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ See the License for the specific language governing permissions and
17
+ limitations under the License.
18
+
19
+ ******************************************************************************/
20
+ import type { ViewState } from '@renderer/common/EditorTypes';
21
+ import { Point, type PointLike } from '@renderer/common/points';
22
+ import type { CellDLDiagram } from '@editor/diagram/index';
23
+ import type { CellDLMoveableObject } from '@editor/celldlObjects/index';
24
+ import type { Extent } from '@editor/geometry/index';
6
25
  export declare const EDITOR_GRID_CLASS = "alignment-grid";
7
26
  export declare const GRID_SNAP_RESOLUTION = 0.5;
8
27
  export declare const GRID_SPACING = 10;
@@ -29,3 +48,4 @@ declare class EditGuides {
29
48
  }
30
49
  export declare const editGuides: EditGuides;
31
50
  export {};
51
+ //# sourceMappingURL=editguides.d.ts.map