@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
@@ -1,4 +1,3 @@
1
- import { Literal, NamedNode, PredicateType } from './oxigraphStore';
2
1
  /******************************************************************************
3
2
 
4
3
  CellDL Editor
@@ -18,20 +17,21 @@ See the License for the specific language governing permissions and
18
17
  limitations under the License.
19
18
 
20
19
  ******************************************************************************/
21
- export { blankNode, isBlankNode, literal, isLiteral, namedNode, isNamedNode, TurtleContentType, RdfStore } from './oxigraphStore';
22
- export type { BlankNode, Literal, NamedNode, Statement, SubjectType, PredicateType, ObjectType, ContentType, Term } from './oxigraphStore';
23
- export type { PredicateValue } from './store.ts';
24
- export * from './namespaces.ts';
20
+ export { blankNode, initialise, initialised, isBlankNode, isLiteral, isNamedNode, literal, namedNode, TurtleContentType } from '@celldl/editor-rdf';
21
+ export type { BlankNode, ContentType, Literal, NamedNode, Statement, SubjectType, PredicateType, ObjectType, Term } from '@celldl/editor-rdf';
22
+ export * from './namespaces';
23
+ export { RdfStore } from './store';
24
+ import * as $rdf from '@celldl/editor-rdf';
25
25
  /**
26
26
  * The type of the ``object`` of a ``predicate``
27
27
  */
28
- export type MetadataPropertyValue = Literal | NamedNode | MetadataCollection;
28
+ export type MetadataPropertyValue = $rdf.Literal | $rdf.NamedNode | MetadataCollection;
29
29
  export type MetadataCollection = MetadataPropertyValue[] | Set<MetadataPropertyValue> | MetadataPropertiesMap;
30
30
  /**
31
31
  * A ``<predicate, object>`` pair
32
32
  */
33
- export type MetadataProperty = [NamedNode, MetadataPropertyValue];
34
- export declare function fragment(uri: NamedNode | string): string;
33
+ export type MetadataProperty = [$rdf.NamedNode, MetadataPropertyValue];
34
+ export declare function fragment(uri: $rdf.NamedNode | string): string;
35
35
  /**
36
36
  * An associative map with ``object`` values for a subject's ``predicate`` properties.
37
37
  *
@@ -42,9 +42,10 @@ export declare class MetadataPropertiesMap extends Map<string, MetadataPropertyV
42
42
  static fromProperties(properties: MetadataProperty[]): MetadataPropertiesMap;
43
43
  get rdfTypes(): Set<string>;
44
44
  copy(): MetadataPropertiesMap;
45
- getProperty(predicate: PredicateType): MetadataPropertyValue | null;
46
- getPropertyAsArray(predicate: PredicateType): MetadataPropertyValue[];
47
- isA(type: NamedNode): boolean;
48
- predicateValues(): IterableIterator<[NamedNode, MetadataPropertyValue]>;
49
- setProperty(predicate: PredicateType, value: MetadataPropertyValue, multiValued?: boolean): void;
45
+ getProperty(predicate: $rdf.PredicateType): MetadataPropertyValue | null;
46
+ getPropertyAsArray(predicate: $rdf.PredicateType): MetadataPropertyValue[];
47
+ isA(type: $rdf.NamedNode): boolean;
48
+ predicateValues(): IterableIterator<[$rdf.NamedNode, MetadataPropertyValue]>;
49
+ setProperty(predicate: $rdf.PredicateType, value: MetadataPropertyValue, multiValued?: boolean): void;
50
50
  }
51
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/metadata/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAE/E,OAAO,EACH,SAAS,EACT,UAAU,EACV,WAAW,EACX,WAAW,EACX,SAAS,EACT,WAAW,EACX,OAAO,EACP,SAAS,EACT,iBAAiB,EACpB,MAAM,oBAAoB,CAAA;AAE3B,YAAY,EACR,SAAS,EACT,WAAW,EACX,OAAO,EACP,SAAS,EACT,SAAS,EACT,WAAW,EACX,aAAa,EACb,UAAU,EACV,IAAI,EACP,MAAM,oBAAoB,CAAA;AAE3B,cAAc,cAAc,CAAA;AAC5B,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAIlC,OAAO,KAAK,IAAI,MAAM,oBAAoB,CAAA;AAM1C;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,SAAS,GAAG,kBAAkB,CAAA;AACtF,MAAM,MAAM,kBAAkB,GAAG,qBAAqB,EAAE,GAAG,GAAG,CAAC,qBAAqB,CAAC,GAAG,qBAAqB,CAAA;AAE7G;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,IAAI,CAAC,SAAS,EAAE,qBAAqB,CAAC,CAAA;AAItE,wBAAgB,QAAQ,CAAC,GAAG,EAAE,IAAI,CAAC,SAAS,GAAC,MAAM,GAAG,MAAM,CAK3D;AAID;;;;GAIG;AACH,qBAAa,qBAAsB,SAAQ,GAAG,CAAC,MAAM,EAAE,qBAAqB,CAAC;;IAGzE,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,gBAAgB,EAAE,GAAG,qBAAqB;IAO5E,IAAI,QAAQ,gBAEX;IAED,IAAI,IAAI,qBAAqB;IAsB7B,WAAW,CAAC,SAAS,EAAE,IAAI,CAAC,aAAa,GAAG,qBAAqB,GAAG,IAAI;IAIxE,kBAAkB,CAAC,SAAS,EAAE,IAAI,CAAC,aAAa,GAAG,qBAAqB,EAAE;IAa1E,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,SAAS,GAAG,OAAO;IAIjC,eAAe,IAAI,gBAAgB,CAAC,CAAC,IAAI,CAAC,SAAS,EAAE,qBAAqB,CAAC,CAAC;IAM7E,WAAW,CAAC,SAAS,EAAE,IAAI,CAAC,aAAa,EAAE,KAAK,EAAE,qBAAqB,EAAE,WAAW,UAAQ;CAmC/F"}
@@ -1,4 +1,23 @@
1
- import { NamedNode } from '.';
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 * as $rdf from '@celldl/editor-rdf';
2
21
  export declare const CELLDL_URI = "http://celldl.org/ontologies/celldl#";
3
22
  export declare const BG_URI = "https://bg-rdf.org/ontologies/bondgraph#";
4
23
  export declare const BGF_URI = "https://bg-rdf.org/ontologies/bondgraph-framework#";
@@ -8,6 +27,7 @@ export declare const DCT_URI = "http://purl.org/dc/terms/";
8
27
  export declare const OWL_URI = "http://www.w3.org/2002/07/owl#";
9
28
  export declare const RDF_URI = "http://www.w3.org/1999/02/22-rdf-syntax-ns#";
10
29
  export declare const RDFS_URI = "http://www.w3.org/2000/01/rdf-schema#";
30
+ export declare const SVG_URI = "http://www.w3.org/2000/svg";
11
31
  export declare const XSD_URI = "http://www.w3.org/2001/XMLSchema#";
12
32
  export declare const CELLDL_DECLARATIONS: {
13
33
  celldl: string;
@@ -25,11 +45,11 @@ export declare const WEB_DECLARATIONS: {
25
45
  xsd: string;
26
46
  };
27
47
  export declare const SPARQL_PREFIXES: string;
28
- export type NamespaceType = (_: string) => NamedNode;
48
+ export type NamespaceType = (_: string) => $rdf.NamedNode;
29
49
  export declare class Namespace {
30
50
  #private;
31
51
  constructor(nsuri: string);
32
- uri(ln: string): NamedNode;
52
+ uri(ln: string): $rdf.NamedNode;
33
53
  }
34
54
  export declare const CELLDL: Namespace;
35
55
  export declare const BG: Namespace;
@@ -41,6 +61,7 @@ export declare const OWL: Namespace;
41
61
  export declare const RDF: Namespace;
42
62
  export declare const RDFS: Namespace;
43
63
  export declare const XSD: Namespace;
44
- export declare function curieSuffix(NS: Namespace, term: string | NamedNode): string;
45
- export declare function getCurie(term: string | NamedNode): string;
64
+ export declare function curieSuffix(NS: $rdf.Namespace, term: string | $rdf.NamedNode): string;
65
+ export declare function getCurie(term: string | $rdf.NamedNode): string;
46
66
  export declare function expandCurie(curie: string): string;
67
+ //# sourceMappingURL=namespaces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"namespaces.d.ts","s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AC3C,eAAO,MAAM,GAAG,WAAyB,CAAA;AAIzC,wBAAgB,WAAW,CAAC,EAAE,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC,SAAS,GAAG,MAAM,CAQrF;AAID,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC,SAAS,GAAG,MAAM,CAQ9D;AAMD,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAQjD"}
@@ -1,23 +1,36 @@
1
- import { MetadataPropertiesMap, ContentType, NamedNode, Statement, SubjectType, PredicateType, ObjectType } from './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 { MetadataPropertiesMap } from './index';
21
+ import * as $rdf from '@celldl/editor-rdf';
2
22
  export interface PredicateValue {
3
- predicate: PredicateType;
4
- object: ObjectType;
23
+ predicate: $rdf.PredicateType;
24
+ object: $rdf.ObjectType;
5
25
  }
6
- export declare abstract class BaseStore {
26
+ export declare class RdfStore extends $rdf.RdfStore {
7
27
  #private;
8
- abstract add(s: SubjectType, p: PredicateType, o: ObjectType, g: NamedNode | null): Statement;
9
- abstract contains(s: SubjectType | null, p: PredicateType | null, o: ObjectType | null, g: NamedNode | null): boolean;
10
- abstract load(baseIri: string | null, rdf: string, contentType: ContentType, graph: NamedNode | null): void;
11
- abstract removeStatements(s: SubjectType | null, p: PredicateType | null, o: ObjectType | null, g: NamedNode | null): void;
12
- abstract serialise(baseIri: string, contentType: ContentType, namespaces: Record<string, string>, graph: NamedNode | null): Promise<string>;
13
- abstract query(sparql: string, all_graphs: boolean): Map<string, unknown>[];
14
- abstract statements(graph: NamedNode | null): Statement[];
15
- abstract statementsMatching(s: SubjectType | null, p: PredicateType | null, o: ObjectType | null, g: NamedNode | null): Statement[];
16
- abstract subjectsOfType(parentType: NamedNode): [SubjectType, NamedNode][];
17
- abstract update(sparql: string): void;
18
- addMetadataPropertiesForSubject(subject: SubjectType, properties: MetadataPropertiesMap): Statement[];
19
- addStatementList(statements: Statement[]): void;
28
+ constructor(_?: string);
29
+ addMetadataPropertiesForSubject(subject: $rdf.SubjectType, properties: MetadataPropertiesMap): $rdf.Statement[];
30
+ addStatementList(statements: $rdf.Statement[]): void;
20
31
  metadataFromPredicates(predicateValues: PredicateValue[]): MetadataPropertiesMap;
21
- metadataPropertiesForSubject(subject: SubjectType): MetadataPropertiesMap;
22
- removeStatementList(statements: Statement[]): void;
32
+ metadataPropertiesForSubject(subject: $rdf.SubjectType): MetadataPropertiesMap;
33
+ removeStatementList(statements: $rdf.Statement[]): void;
34
+ serialise(baseIri: string, contentType?: $rdf.ContentType, namespaces?: Record<string, string>, graph?: $rdf.NamedNode | null): Promise<string>;
23
35
  }
36
+ //# sourceMappingURL=store.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/metadata/store.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAE/E,OAAO,EACH,qBAAqB,EAExB,MAAM,SAAS,CAAA;AAEhB,OAAO,KAAK,IAAI,MAAM,oBAAoB,CAAA;AAQ1C,MAAM,WAAW,cAAc;IAC3B,SAAS,EAAE,IAAI,CAAC,aAAa,CAAA;IAC7B,MAAM,EAAE,IAAI,CAAC,UAAU,CAAA;CAC1B;AAID,qBAAa,QAAS,SAAQ,IAAI,CAAC,QAAQ;;gBAG3B,CAAC,GAAE,MAAS;IAIxB,+BAA+B,CAAC,OAAO,EAAE,IAAI,CAAC,WAAW,EAAE,UAAU,EAAE,qBAAqB,GAAG,IAAI,CAAC,SAAS,EAAE;IA4B/G,gBAAgB,CAAC,UAAU,EAAE,IAAI,CAAC,SAAS,EAAE;IAM7C,sBAAsB,CAAC,eAAe,EAAE,cAAc,EAAE,GAAG,qBAAqB;IAWhF,4BAA4B,CAAC,OAAO,EAAE,IAAI,CAAC,WAAW,GAAG,qBAAqB;IAK9E,mBAAmB,CAAC,UAAU,EAAE,IAAI,CAAC,SAAS,EAAE;IAM1C,SAAS,CACX,OAAO,EAAE,MAAM,EACf,WAAW,GAAE,IAAI,CAAC,WAAoC,EACtD,UAAU,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM,EACvC,KAAK,GAAE,IAAI,CAAC,SAAS,GAAG,IAAW,GACpC,OAAO,CAAC,MAAM,CAAC;CAuDrB"}
@@ -1,6 +1,26 @@
1
- import { BGComponentDefinition, BGLibraryComponentTemplate, BGElementStyle } from './utils';
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 { BGComponentDefinition, BGLibraryComponentTemplate, BGElementStyle } from './utils';
2
21
  export declare const DEFAULT_SPECIES = "i";
3
22
  export declare const DEFAULT_LOCATION = "j";
4
23
  export declare const BONDGRAPH_COMPONENT_DEFINITIONS: BGComponentDefinition[];
5
24
  export declare function svgImage(symbol: string, species: string | undefined, location: string | undefined, elementStyle: BGElementStyle, background: string[] | undefined): string;
6
25
  export declare function definitionToLibraryTemplate(defn: BGComponentDefinition): BGLibraryComponentTemplate;
26
+ //# sourceMappingURL=definitions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"definitions.d.ts","sourceRoot":"","sources":["../../../../src/plugins/bondgraph/definitions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAI/E,OAAO,KAAK,EACR,qBAAqB,EACrB,0BAA0B,EAC1B,cAAc,EACjB,MAAM,SAAS,CAAA;AAiBhB,eAAO,MAAM,eAAe,MAAM,CAAA;AAClC,eAAO,MAAM,gBAAgB,MAAM,CAAA;AA2DnC,eAAO,MAAM,+BAA+B,EAAE,qBAAqB,EAkGlE,CAAA;AAkCD,wBAAgB,QAAQ,CAAC,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,GAAC,SAAS,EACzB,QAAQ,EAAE,MAAM,GAAC,SAAS,EAC1B,YAAY,EAAE,cAAc,EAC5B,UAAU,EAAE,MAAM,EAAE,GAAC,SAAS,UAMtD;AAID,wBAAgB,2BAA2B,CAAC,IAAI,EAAE,qBAAqB,GAAG,0BAA0B,CAMnG"}
@@ -1,20 +1,40 @@
1
- import { CellDLConnection, CellDLObject } from '../../CellDL/celldlObjects';
2
- import { ComponentLibrary, ObjectTemplate } from '../../CellDL/components';
3
- import { PropertyGroup, StyleObject, ValueChange } from '../../CellDL/components/properties';
4
- import { ConnectionStatus, PluginInterface } from '..';
5
- import { BGLibraryComponentTemplate, BGElementStyle } from './utils';
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
+ /** biome-ignore-all lint/style/noNonNullAssertion: <keys exist in Map> */
21
+ import { type CellDLConnection, type CellDLObject } from '@editor/celldlObjects';
22
+ import type { ComponentLibrary, ObjectTemplate } from '@editor/components';
23
+ import { type PropertyGroup, type StyleObject, type ValueChange } from '@editor/components/properties';
6
24
  import * as $rdf from '@renderer/metadata';
25
+ import type { ConnectionStatus, PluginInterface } from '@renderer/plugins';
26
+ import type { BGLibraryComponentTemplate, BGElementStyle } from './utils';
7
27
  export declare const BONDGRAPH_PLUGIN_ID = "bondgraph-components";
8
28
  export declare class BGBaseComponent {
9
29
  #private;
10
- constructor(template: BGLibraryComponentTemplate, name: string, nodeType: string);
11
- get isBondElement(): boolean;
12
- get isJunctionStructure(): boolean;
30
+ constructor(template: BGLibraryComponentTemplate, name: string);
31
+ get junctionType(): string | undefined;
13
32
  get name(): string | undefined;
14
33
  get numPorts(): number;
15
34
  get style(): BGElementStyle;
16
35
  get symbol(): string;
17
36
  get type(): string;
37
+ setJunctionType(junctionType: string): void;
18
38
  }
19
39
  export declare class BondgraphPlugin implements PluginInterface {
20
40
  #private;
@@ -23,13 +43,14 @@ export declare class BondgraphPlugin implements PluginInterface {
23
43
  rdfStatements(): $rdf.Statement[];
24
44
  get componentLibrary(): ComponentLibrary;
25
45
  getPluginData(celldlObject: CellDLObject, rdfStore: $rdf.RdfStore): object;
46
+ statusText(celldlObject: CellDLObject): string;
26
47
  getTemplateName(rdfType: string): string | undefined;
27
48
  getObjectTemplateById(id: string): ObjectTemplate | undefined;
28
49
  getPropertyGroups(): PropertyGroup[];
29
50
  newDocument(uri: string, rdfStore: $rdf.RdfStore): void;
30
51
  addDocumentMetadataToStore(rdfStore: $rdf.RdfStore): void;
31
52
  addNewConnection(connection: CellDLConnection, rdfStore: $rdf.RdfStore): void;
32
- checkConnectionValid(startObject: CellDLObject, endObject: CellDLObject): ConnectionStatus | undefined;
53
+ checkConnectionValid(sourceObject: CellDLObject, targetObject: CellDLObject): ConnectionStatus | undefined;
33
54
  deleteConnection(connection: CellDLConnection, rdfStore: $rdf.RdfStore): void;
34
55
  getMaxConnections(celldlObject: CellDLObject): number;
35
56
  updateComponentProperties(celldlObject: CellDLObject, componentProperties: PropertyGroup[], rdfStore: $rdf.RdfStore): void;
@@ -38,3 +59,4 @@ export declare class BondgraphPlugin implements PluginInterface {
38
59
  styleRules(): string;
39
60
  svgDefinitions(): string;
40
61
  }
62
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/bondgraph/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAC/E,0EAA0E;AAmB1E,OAAO,EAEH,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACpB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,KAAK,EACR,gBAAgB,EAEhB,cAAc,EACjB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAGH,KAAK,aAAa,EAClB,KAAK,WAAW,EAGhB,KAAK,WAAW,EACnB,MAAM,+BAA+B,CAAA;AAEtC,OAAO,KAAK,IAAI,MAAM,oBAAoB,CAAA;AAI1C,OAAO,KAAK,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAW1E,OAAO,KAAK,EAER,0BAA0B,EAC1B,cAAc,EACjB,MAAM,SAAS,CAAA;AAIhB,eAAO,MAAM,mBAAmB,yBAAyB,CAAA;AAOzD,qBAAa,eAAe;;gBAQZ,QAAQ,EAAE,0BAA0B,EAAE,IAAI,EAAE,MAAM;IAQ9D,IAAI,YAAY,uBAEf;IAED,IAAI,IAAI,uBAEP;IAED,IAAI,QAAQ,WAEX;IAED,IAAI,KAAK,mBAER;IAED,IAAI,MAAM,WAET;IAED,IAAI,IAAI,WAE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sB,CAAC,YAAY,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW;IAuJjG,UAAU,IAAI,MAAM;IAIpB,cAAc,IAAI,MAAM;CAuX3B"}
@@ -1,5 +1,25 @@
1
- import { ComponentLibrary, LibraryComponentTemplate } from '../../CellDL/components/index';
2
- import { BGBaseComponent } from './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
+ /** biome-ignore-all lint/style/noNonNullAssertion: <keys exist in Map> */
21
+ import type { ComponentLibrary, LibraryComponentTemplate } from '@editor/components/index';
22
+ import type { BGBaseComponent } from './index';
3
23
  export interface BGElementStyle {
4
24
  text: string;
5
25
  background: string | string[];
@@ -25,3 +45,4 @@ export type BGLibraryComponentTemplate = LibraryComponentTemplate & {
25
45
  export type BGComponentLibrary = ComponentLibrary & {
26
46
  templates: BGLibraryComponentTemplate[];
27
47
  };
48
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/plugins/bondgraph/utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAC/E,0EAA0E;AAE1E,OAAO,KAAK,EACR,gBAAgB,EAChB,wBAAwB,EAC3B,MAAM,0BAA0B,CAAA;AAEjC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAI9C,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,GAAC,MAAM,EAAE,CAAA;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,qBAAqB;IAClC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,cAAc,CAAC;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,QAAQ,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,MAAM,0BAA0B,GAAG,wBAAwB,GAAG;IAChE,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,cAAc,CAAA;IACrB,SAAS,CAAC,EAAE,eAAe,CAAA;CAC9B,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG,gBAAgB,GAAG;IAChD,SAAS,EAAE,0BAA0B,EAAE,CAAA;CAC1C,CAAA"}
@@ -1,7 +1,3 @@
1
- import { CellDLConnection, CellDLObject } from '../CellDL/celldlObjects/index';
2
- import { ComponentLibrary, LibraryComponentTemplate, ObjectTemplate } from '../CellDL/components/index';
3
- import { PropertyGroup, StyleObject, ValueChange } from '../CellDL/components/properties';
4
- import { MetadataPropertiesMap, RdfStore, Statement, SubjectType } from '../metadata/index';
5
1
  /******************************************************************************
6
2
 
7
3
  CellDL Editor
@@ -23,6 +19,10 @@ limitations under the License.
23
19
  ******************************************************************************/
24
20
  /** biome-ignore-all lint/style/noNonNullAssertion: <keys exist in Map> */
25
21
  import * as vue from 'vue';
22
+ import type { CellDLConnection, CellDLObject } from '@editor/celldlObjects/index';
23
+ import type { ComponentLibrary, LibraryComponentTemplate, ObjectTemplate } from '@editor/components/index';
24
+ import type { PropertyGroup, StyleObject, ValueChange } from '@editor/components/properties';
25
+ import type { MetadataPropertiesMap, RdfStore, Statement, SubjectType } from '@renderer/metadata/index';
26
26
  export interface ConnectionStatus {
27
27
  alert?: string;
28
28
  domain?: string;
@@ -37,6 +37,7 @@ export interface PluginInterface {
37
37
  newDocument: (uri: string, rdfStore: RdfStore) => void;
38
38
  addDocumentMetadataToStore: (rdfStore: RdfStore) => void;
39
39
  getPluginData: (celldlObject: CellDLObject, rdfStore: RdfStore) => object;
40
+ statusText: (celldlObject: CellDLObject) => string;
40
41
  addNewConnection: (connection: CellDLConnection, rdfStore: RdfStore) => void;
41
42
  checkConnectionValid: (startObject: CellDLObject, endObject: CellDLObject) => ConnectionStatus | undefined;
42
43
  deleteConnection: (connection: CellDLConnection, rdfStore: RdfStore) => void;
@@ -51,7 +52,7 @@ export declare class ComponentLibraryPlugin {
51
52
  #private;
52
53
  private constructor();
53
54
  static get instance(): ComponentLibraryPlugin;
54
- install(app: vue.App, _options: object): void;
55
+ install(app: vue.App, _options?: object | undefined): void;
55
56
  rdfStatements(pluginId: string): Statement[];
56
57
  registerPlugin(plugin: PluginInterface): void;
57
58
  getSelectedTemplate(): LibraryComponentTemplate | undefined;
@@ -62,6 +63,7 @@ export declare class ComponentLibraryPlugin {
62
63
  deleteConnection(connection: CellDLConnection, rdfStore: RdfStore): void;
63
64
  getMaxConnections(celldlObject: CellDLObject): number;
64
65
  getPluginData(celldlObject: CellDLObject, rdfStore: RdfStore): Map<string, object>;
66
+ statusText(celldlObject: CellDLObject): string;
65
67
  getObjectTemplate(uri: SubjectType, metadata: MetadataPropertiesMap, rdfStore: RdfStore): ObjectTemplate | undefined;
66
68
  getObjectTemplateById(fullId: string): ObjectTemplate | undefined;
67
69
  updateComponentProperties(celldlObject: CellDLObject, componentProperties: PropertyGroup[], rdfStore: RdfStore): void;
@@ -73,3 +75,4 @@ export declare class ComponentLibraryPlugin {
73
75
  svgDefinitions(): string;
74
76
  }
75
77
  export declare const componentLibraryPlugin: ComponentLibraryP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
1
  {
2
2
  "name": "@celldl/editor",
3
- "version": "0.20260217.0",
3
+ "version": "0.20260227.0",
4
4
  "author": {
5
5
  "name": "David Brooks",
6
6
  "email": "d.brooks@auckland.ac.nz"
7
7
  },
8
8
  "bugs": {
9
- "url": "https://github.com/CellDL/CellDLEditor/issues"
9
+ "url": "https://github.com/CellDL/CellDLEditorComponent/issues"
10
10
  },
11
- "description": "A Web-based editor for CellDL files.",
11
+ "description": "A Vue 3 component for the CellDL Editor.",
12
12
  "files": [
13
13
  "dist",
14
14
  "README.md",
@@ -23,9 +23,13 @@
23
23
  "license": "Apache-2.0",
24
24
  "module": "dist/CellDLEditor.es.js",
25
25
  "productName": "CellDLEditor",
26
+ "publishConfig": {
27
+ "access": "public",
28
+ "registry": "https://registry.npmjs.org/"
29
+ },
26
30
  "repository": {
27
31
  "type": "git",
28
- "url": "git+https://github.com/CellDL/CellDLEditor.git"
32
+ "url": "git+https://github.com/CellDL/CellDLEditorComponent.git"
29
33
  },
30
34
  "type": "module",
31
35
  "types": "dist/index.d.ts",
@@ -60,8 +64,8 @@
60
64
  },
61
65
  "dependencies": {
62
66
  "@atomic-ehr/ucum": "^0.2.5",
67
+ "@celldl/editor-rdf": "^0.20260224.1",
63
68
  "@ctrl/tinycolor": "^4.2.0",
64
- "@jeswr/pretty-turtle": "^1.8.2",
65
69
  "@mathjax/src": "^4.0.0",
66
70
  "@primeuix/themes": "^2.0.2",
67
71
  "@primevue/auto-import-resolver": "4.2.5",
@@ -70,7 +74,6 @@
70
74
  "flatbush": "^4.5.0",
71
75
  "isomorphic-fetch": "^3.0.0",
72
76
  "jsonschema": "^1.5.0",
73
- "oxigraph": "^0.5.2",
74
77
  "primeicons": "^7.0.0",
75
78
  "primevue": "4.2.5",
76
79
  "rbush": "^4.0.1",
@@ -84,6 +87,7 @@
84
87
  },
85
88
  "devDependencies": {
86
89
  "@biomejs/biome": "^2.3.11",
90
+ "@rollup/plugin-typescript": "^12.3.0",
87
91
  "@tailwindcss/postcss": "^4.1.18",
88
92
  "@tailwindcss/vite": "^4.1.18",
89
93
  "@types/node": "^25.0.9",
@@ -96,8 +100,9 @@
96
100
  "pug-plain-loader": "^1.1.0",
97
101
  "tailwindcss": "^4.1.18",
98
102
  "tailwindcss-primeui": "^0.6.1",
103
+ "tslib": "^2.8.1",
104
+ "typescript": "^5.9.3",
99
105
  "unplugin-vue-components": "^31.0.0",
100
- "vite": "^7.2.7",
101
- "vite-plugin-dts": "^4.5.4"
106
+ "vite": "^7.2.7"
102
107
  }
103
108
  }