@celldl/editor 0.20260217.1 → 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.
- package/README.md +2 -17
- package/dist/CellDLEditor.css +1 -1
- package/dist/CellDLEditor.es.js +62796 -6
- package/dist/CellDLEditor.es.js.map +1 -1
- package/dist/index.d.ts +24 -10
- package/dist/index.d.ts.map +1 -0
- package/dist/src/CellDL/SVGElements/boundedelement.d.ts +25 -5
- package/dist/src/CellDL/SVGElements/boundedelement.d.ts.map +1 -0
- package/dist/src/CellDL/SVGElements/index.d.ts +25 -5
- package/dist/src/CellDL/SVGElements/index.d.ts.map +1 -0
- package/dist/src/CellDL/SVGElements/linearpath.d.ts +23 -3
- package/dist/src/CellDL/SVGElements/linearpath.d.ts.map +1 -0
- package/dist/src/CellDL/SVGElements/pathelement.d.ts +27 -7
- package/dist/src/CellDL/SVGElements/pathelement.d.ts.map +1 -0
- package/dist/src/CellDL/SVGElements/rectilinearpath.d.ts +23 -3
- package/dist/src/CellDL/SVGElements/rectilinearpath.d.ts.map +1 -0
- package/dist/src/CellDL/SVGElements/svgconnection.d.ts +25 -5
- package/dist/src/CellDL/SVGElements/svgconnection.d.ts.map +1 -0
- package/dist/src/CellDL/celldlObjects/index.d.ts +28 -7
- package/dist/src/CellDL/celldlObjects/index.d.ts.map +1 -0
- package/dist/src/CellDL/components/index.d.ts +24 -4
- package/dist/src/CellDL/components/index.d.ts.map +1 -0
- package/dist/src/CellDL/components/properties.d.ts +4 -3
- package/dist/src/CellDL/components/properties.d.ts.map +1 -0
- package/dist/src/CellDL/connections/index.d.ts +1 -0
- package/dist/src/CellDL/connections/index.d.ts.map +1 -0
- package/dist/src/CellDL/connections/pathmaker.d.ts +26 -6
- package/dist/src/CellDL/connections/pathmaker.d.ts.map +1 -0
- package/dist/src/CellDL/diagram/index.d.ts +30 -10
- package/dist/src/CellDL/diagram/index.d.ts.map +1 -0
- package/dist/src/CellDL/editor/alerts.d.ts +1 -0
- package/dist/src/CellDL/editor/alerts.d.ts.map +1 -0
- package/dist/src/CellDL/editor/editguides.d.ts +25 -5
- package/dist/src/CellDL/editor/editguides.d.ts.map +1 -0
- package/dist/src/CellDL/editor/editorframe.d.ts +22 -2
- package/dist/src/CellDL/editor/editorframe.d.ts.map +1 -0
- package/dist/src/CellDL/editor/index.d.ts +23 -1
- package/dist/src/CellDL/editor/index.d.ts.map +1 -0
- package/dist/src/CellDL/editor/panzoom.d.ts +1 -0
- package/dist/src/CellDL/editor/panzoom.d.ts.map +1 -0
- package/dist/src/CellDL/editor/selectionbox.d.ts +23 -3
- package/dist/src/CellDL/editor/selectionbox.d.ts.map +1 -0
- package/dist/src/CellDL/editor/undoredo.d.ts +24 -4
- package/dist/src/CellDL/editor/undoredo.d.ts.map +1 -0
- package/dist/src/CellDL/geometry/controls.d.ts +24 -4
- package/dist/src/CellDL/geometry/controls.d.ts.map +1 -0
- package/dist/src/CellDL/geometry/index.d.ts +23 -3
- package/dist/src/CellDL/geometry/index.d.ts.map +1 -0
- package/dist/src/CellDL/geometry/intersections.d.ts +21 -1
- package/dist/src/CellDL/geometry/intersections.d.ts.map +1 -0
- package/dist/src/CellDL/geometry/pathutils.d.ts +22 -2
- package/dist/src/CellDL/geometry/pathutils.d.ts.map +1 -0
- package/dist/src/CellDL/geometry/spatialindex.d.ts +22 -2
- package/dist/src/CellDL/geometry/spatialindex.d.ts.map +1 -0
- package/dist/src/CellDL/geometry/transforms.d.ts +22 -2
- package/dist/src/CellDL/geometry/transforms.d.ts.map +1 -0
- package/dist/src/CellDL/geometry/units.d.ts +1 -0
- package/dist/src/CellDL/geometry/units.d.ts.map +1 -0
- package/dist/src/CellDL/utils.d.ts +21 -1
- package/dist/src/CellDL/utils.d.ts.map +1 -0
- package/dist/src/common/EditorTypes.d.ts +1 -0
- package/dist/src/common/EditorTypes.d.ts.map +1 -0
- package/dist/src/common/common.d.ts +1 -0
- package/dist/src/common/common.d.ts.map +1 -0
- package/dist/src/common/constants.d.ts +1 -0
- package/dist/src/common/constants.d.ts.map +1 -0
- package/dist/src/common/points.d.ts +1 -0
- package/dist/src/common/points.d.ts.map +1 -0
- package/dist/src/common/styling.d.ts +1 -0
- package/dist/src/common/styling.d.ts.map +1 -0
- package/dist/src/common/svgUtils.d.ts +23 -3
- package/dist/src/common/svgUtils.d.ts.map +1 -0
- package/dist/src/common/themeCssVariables.d.ts +1 -0
- package/dist/src/common/themeCssVariables.d.ts.map +1 -0
- package/dist/src/common/types.d.ts +1 -0
- package/dist/src/common/types.d.ts.map +1 -0
- package/dist/src/common/vueCommon.d.ts +2 -1
- package/dist/src/common/vueCommon.d.ts.map +1 -0
- package/dist/src/libopencor/locUIJsonApi.d.ts +1 -0
- package/dist/src/libopencor/locUIJsonApi.d.ts.map +1 -0
- package/dist/src/mathjax/index.d.ts +28 -0
- package/dist/src/mathjax/index.d.ts.map +1 -0
- package/dist/src/metadata/index.d.ts +14 -13
- package/dist/src/metadata/index.d.ts.map +1 -0
- package/dist/src/metadata/namespaces.d.ts +26 -5
- package/dist/src/metadata/namespaces.d.ts.map +1 -0
- package/dist/src/metadata/store.d.ts +31 -18
- package/dist/src/metadata/store.d.ts.map +1 -0
- package/dist/src/plugins/bondgraph/definitions.d.ts +21 -1
- package/dist/src/plugins/bondgraph/definitions.d.ts.map +1 -0
- package/dist/src/plugins/bondgraph/index.d.ts +31 -9
- package/dist/src/plugins/bondgraph/index.d.ts.map +1 -0
- package/dist/src/plugins/bondgraph/utils.d.ts +23 -2
- package/dist/src/plugins/bondgraph/utils.d.ts.map +1 -0
- package/dist/src/plugins/index.d.ts +8 -5
- package/dist/src/plugins/index.d.ts.map +1 -0
- package/package.json +13 -8
- package/dist/CellDLEditor-VG5HM79L.js +0 -13851
- package/dist/CellDLEditor-VG5HM79L.js.map +0 -1
- package/dist/app/src/App.vue.d.ts +0 -2
- package/dist/app/src/common/common.d.ts +0 -8
- package/dist/app/src/common/constants.d.ts +0 -5
- package/dist/app/src/common/electron.d.ts +0 -5
- package/dist/app/src/common/electronApi.d.ts +0 -8
- package/dist/app/src/common/settings.d.ts +0 -18
- package/dist/app/src/common/version.d.ts +0 -7
- package/dist/app/src/common/vueCommon.d.ts +0 -9
- package/dist/app/src/main.d.ts +0 -1
- package/dist/favicon.ico +0 -0
- package/dist/index-DdfNP2Wo.js +0 -47440
- package/dist/index-DdfNP2Wo.js.map +0 -1
- package/dist/oxigraph-Dx4bu2IN.js +0 -838
- package/dist/oxigraph-Dx4bu2IN.js.map +0 -1
- package/dist/package.json.d.ts +0 -106
- package/dist/src/assets/oxigraph/web.d.ts +0 -279
- package/dist/src/components/CellDLEditor.vue.d.ts +0 -19
- package/dist/src/components/WrappedEditor.vue.d.ts +0 -19
- package/dist/src/components/panels/FillStyle.vue.d.ts +0 -20
- package/dist/src/components/panels/PathStyle.vue.d.ts +0 -20
- package/dist/src/components/panels/PropertiesPanel.vue.d.ts +0 -21
- package/dist/src/components/popovers/ComponentPopover.vue.d.ts +0 -19
- package/dist/src/components/popovers/ConnectionStylePopover.vue.d.ts +0 -19
- package/dist/src/components/toolbar/EditorToolbar.vue.d.ts +0 -23
- package/dist/src/components/toolbar/ToolButton.vue.d.ts +0 -26
- package/dist/src/components/toolbar/ToolPanel.vue.d.ts +0 -2
- package/dist/src/components/toolbar/ToolPopover.vue.d.ts +0 -3
- package/dist/src/components/widgets/InputWidget.vue.d.ts +0 -34
- package/dist/src/metadata/oxigraphStore.d.ts +0 -61
- package/dist/src/metadata/oximock.d.ts +0 -36
- package/dist/vite.config.d.ts +0 -3
- package/dist/vite.lib.config.d.ts +0 -3
|
@@ -1,5 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 { ObjectTemplate } from '@editor/components/index';
|
|
3
22
|
export declare const EDITOR_FRAME_ID = "celldl-editor-selection-frame";
|
|
4
23
|
export declare class EditorFrame {
|
|
5
24
|
#private;
|
|
@@ -11,3 +30,4 @@ export declare class EditorFrame {
|
|
|
11
30
|
contains(feature: SVGGraphicsElement): boolean;
|
|
12
31
|
removeElement(element: SVGGraphicsElement | null): void;
|
|
13
32
|
}
|
|
33
|
+
//# sourceMappingURL=editorframe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editorframe.d.ts","sourceRoot":"","sources":["../../../../src/CellDL/editor/editorframe.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAE/E,OAAO,EAAE,KAAK,SAAS,EAAa,MAAM,yBAAyB,CAAA;AACnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAK9D,eAAO,MAAM,eAAe,kCAAkC,CAAA;AAI9D,qBAAa,WAAW;;gBAGR,UAAU,EAAE,aAAa;IAarC,IAAI,QAAQ,gBAEX;IAED,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,kBAAkB,GAAG,IAAI;IAQ9D,aAAa,CAAC,QAAQ,EAAE,cAAc,EAAE,OAAO,EAAE,SAAS,GAAG,WAAW;IAgBxE,KAAK;IASL,QAAQ,CAAC,OAAO,EAAE,kBAAkB;IAIpC,aAAa,CAAC,OAAO,EAAE,kBAAkB,GAAG,IAAI;CAKnD"}
|
|
@@ -1,4 +1,25 @@
|
|
|
1
|
-
|
|
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: <explanation> */
|
|
21
|
+
import '@renderer/assets/svgContent.css';
|
|
22
|
+
import type { CellDLDiagram } from '@editor/diagram';
|
|
2
23
|
import { EditorFrame } from './editorframe';
|
|
3
24
|
export declare enum EDITOR_TOOL_IDS {
|
|
4
25
|
SelectTool = "select-tool",
|
|
@@ -38,3 +59,4 @@ export declare class CellDLEditor {
|
|
|
38
59
|
showMessage(msg: string, style?: string): void;
|
|
39
60
|
showTooltip(msg: string, style?: string): void;
|
|
40
61
|
}
|
|
62
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/CellDL/editor/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAC/E,oEAAoE;AAKpE,OAAO,iCAAiC,CAAA;AAMxC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA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W/E,MAAM,CAAC,OAAO,OAAO,OAAO;;gBAeZ,SAAS,EAAE,WAAW;IAalC,IAAI,OAAO,YAEV;IAED,IAAI,KAAK,WAER;IAWD,MAAM,CAAC,UAAU,EAAE,aAAa;IAkChC,OAAO;IAMP,WAAW,CAAC,KAAK,EAAE,YAAY;IAK/B,WAAW,CAAC,KAAK,EAAE,YAAY,GAAG,OAAO;IAezC,SAAS,CAAC,MAAM,EAAE,YAAY;CAiDjC"}
|
|
@@ -1,6 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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';
|
|
21
|
+
import { Bounds } from '@editor/geometry';
|
|
22
|
+
import { type CellDLEditor } from '.';
|
|
4
23
|
export declare class SelectionBox {
|
|
5
24
|
#private;
|
|
6
25
|
constructor(editor: CellDLEditor, startPoint: DOMPoint);
|
|
@@ -15,3 +34,4 @@ export declare class SelectionBox {
|
|
|
15
34
|
drawControlHandles(): void;
|
|
16
35
|
updateSelectedObjects(): void;
|
|
17
36
|
}
|
|
37
|
+
//# sourceMappingURL=selectionbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"selectionbox.d.ts","sourceRoot":"","sources":["../../../../src/CellDL/editor/selectionbox.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAE/E,OAAO,KAAK,EAAyB,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAGhF,OAAO,EAAE,MAAM,EAAkC,MAAM,kBAAkB,CAAA;AAGzE,OAAO,EAAE,KAAK,YAAY,EAA8B,MAAM,GAAG,CAAA;AAUjE,qBAAa,YAAY;;gBAmBT,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,QAAQ;IAUtD,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED,IAAI,KAAK,WAER;IAED,IAAI,eAAe,mBAElB;IAqCD,WAAW,CAAC,KAAK,EAAE,QAAQ,GAAG,OAAO;IASrC,eAAe;IAQf,YAAY,CAAC,KAAK,KAAA,EAAE,KAAK,EAAE,QAAQ,GAAG,OAAO;IAgD7C,KAAK;IAUL,mBAAmB;IAOnB,kBAAkB;IAyFlB,qBAAqB;CAGxB"}
|
|
@@ -1,7 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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 { CellDLDiagram } from '@editor/diagram/index';
|
|
21
|
+
import type { CellDLObject } from '@editor/celldlObjects/index';
|
|
22
|
+
import { Point, type PointLike } from '@renderer/common/points';
|
|
23
|
+
import type { Statement } from '@renderer/metadata/index';
|
|
5
24
|
declare enum Action {
|
|
6
25
|
DELETE = 1,
|
|
7
26
|
INSERT = 2,
|
|
@@ -44,3 +63,4 @@ declare class UndoRedo {
|
|
|
44
63
|
}
|
|
45
64
|
export declare const undoRedo: UndoRedo;
|
|
46
65
|
export {};
|
|
66
|
+
//# sourceMappingURL=undoredo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"undoredo.d.ts","sourceRoot":"","sources":["../../../../src/CellDL/editor/undoredo.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAE/E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAC/D,OAAO,EAAE,KAAK,EAAE,KAAK,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AAMzD,aAAK,MAAM;IACP,MAAM,IAAI;IACV,MAAM,IAAI;IACV,IAAI,IAAI;CACX;AAID,aAAK,YAAY;IACb,IAAI,IAAI;IACR,OAAO,IAAI;CACd;AAYD,MAAM,MAAM,gBAAgB,GAAG,CAAC,MAAM,EAAE,KAAK,GAAG,IAAI,CAAC,GAAG,IAAI,CAAA;AAI5D,cAAM,aAAa;;gBAMH,MAAM,EAAE,YAAY;IAShC,IAAI,MAAM,iBAET;IAED,SAAS,CAAC,UAAU,EAAE,aAAa;CAWtC;AAID,qBAAa,gBAAgB;;IAMrB,QAAQ,CAAC,MAAM,EAAE,MAAM;IACvB,QAAQ,CAAC,QAAQ,EAAE,KAAK,GAAG,IAAI;gBADtB,MAAM,EAAE,MAAM,EACd,QAAQ,GAAE,KAAK,GAAG,IAAW;IAG1C,IAAI,SAAS,IAAI,SAAS,EAAE,CAE3B;IAED,IAAI,aAAa,oBAEhB;IAED,YAAY,CAAC,UAAU,EAAE,SAAS,EAAE;IAIpC,gBAAgB,CAAC,MAAM,EAAE,YAAY;IAIrC,WAAW,CAAC,QAAQ,EAAE,YAAY,GAAG,gBAAgB;IASrD,SAAS,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS;IAKnD,OAAO,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS;CAQpD;AAID,cAAM,QAAQ;;IAMV,OAAO;IAOP,MAAM,KAAK,QAAQ,aAKlB;IAED,KAAK;IAsDL,IAAI,CAAC,OAAO,EAAE,aAAa;IAc3B,IAAI,CAAC,OAAO,EAAE,aAAa;IAc3B,gBAAgB,IAAI,gBAAgB;IAIpC,gBAAgB,IAAI,gBAAgB;IAIpC,cAAc,IAAI,gBAAgB;CAGrC;AAID,eAAO,MAAM,QAAQ,UAAoB,CAAA"}
|
|
@@ -1,7 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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 { CellDLConnection, CellDLObject } from '@editor/celldlObjects/index';
|
|
21
|
+
import type { EditorFrame } from '@editor/editor/editorframe';
|
|
22
|
+
import { Point, type PointLike } from '@renderer/common/points';
|
|
23
|
+
import type { StringProperties } from '@renderer/common/types';
|
|
5
24
|
import { FixedValue, RestrictedPoint, RestrictedValue } from './index.ts';
|
|
6
25
|
export declare class ControlPoint extends RestrictedPoint {
|
|
7
26
|
#private;
|
|
@@ -51,3 +70,4 @@ export declare class ControlRect {
|
|
|
51
70
|
export declare class FixedControlRect extends ControlRect {
|
|
52
71
|
constructor(bounds: [number, number, number, number]);
|
|
53
72
|
}
|
|
73
|
+
//# sourceMappingURL=controls.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"controls.d.ts","sourceRoot":"","sources":["../../../../src/CellDL/geometry/controls.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAE/E,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AACjF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAM7D,OAAO,EAAE,KAAK,EAAE,KAAK,SAAS,EAAa,MAAM,yBAAyB,CAAA;AAC1E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAI9D,OAAO,EAAc,UAAU,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AAerF,qBAAa,YAAa,SAAQ,eAAe;;gBAOzC,MAAM,EAAE,eAAe,EACvB,MAAM,EAAE,eAAe,EACvB,YAAY,GAAE,YAAY,GAAG,IAAW;IAO5C,IAAI,YAAY,wBAEf;IAED,IAAI,KAAK,YAER;IAED,IAAI,SAAS,YAEZ;IAED,MAAM,CAAC,SAAS,CAAC,KAAK,EAAE,SAAS,GAAG,YAAY;IAIhD,MAAM,CAAC,SAAS,CAAC,CAAC,EAAE,MAAM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AAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC;CAMvD"}
|
|
@@ -1,6 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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 { GridAlignOptions } from '@editor/editor/editguides';
|
|
21
|
+
import type { Transform } from '@editor/geometry/transforms';
|
|
22
|
+
import { Point, type PointLike } from '@renderer/common/points';
|
|
4
23
|
export type PointMoveOptions = GridAlignOptions & {
|
|
5
24
|
noOffset?: boolean;
|
|
6
25
|
};
|
|
@@ -90,3 +109,4 @@ export declare class FixedPoint extends RestrictedPoint {
|
|
|
90
109
|
constructor(xValue: FixedValue, yValue: FixedValue);
|
|
91
110
|
}
|
|
92
111
|
export {};
|
|
112
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/CellDL/geometry/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAG/E,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AACjE,OAAO,KAAK,EAAE,SAAS,EAA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ED,IAAI,KAAK,YAER;IAED,IAAI,KAAK,IAAI,KAAK,CAEjB;IACD,IAAI,KAAK,CAAC,KAAK,EAAE,SAAS,EAGzB;IAED,IAAI,CAAC,WAEJ;IACD,IAAI,CAAC,WAEJ;IAED,IAAI,MAAM,IAGQ,eAAe,CADhC;IACD,IAAI,MAAM,CAAC,KAAK,EAAE,eAAe,EAEhC;IAED,IAAI,MAAM,IAGQ,eAAe,CADhC;IACD,IAAI,MAAM,CAAC,KAAK,EAAE,eAAe,EAEhC;IAED,KAAK;IAKL,WAAW,CAAC,KAAK,EAAE,SAAS;IAK5B,IAAI,IAAI,eAAe;IAIvB,IAAI,CAAC,KAAK,EAAE,SAAS,EAAE,OAAO,GAAE,gBAAqB;IAKrD,WAAW,CAAC,KAAK,EAAE,SAAS,GAAG,KAAK;IAIpC,aAAa,CAAC,KAAK,EAAE,SAAS;IAK9B,SAAS,CAAC,KAAK,EAAE,SAAS;IAK1B,QAAQ,IAAI,MAAM;CAGrB;AAID,qBAAa,UAAW,SAAQ,eAAe;gBAC/B,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU;CAGrD"}
|
|
@@ -1,6 +1,26 @@
|
|
|
1
|
-
|
|
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 Point2D } from 'svg-intersections';
|
|
2
21
|
export declare class ShapeIntersections {
|
|
3
22
|
#private;
|
|
4
23
|
constructor(element: Element);
|
|
5
24
|
intersections(element: Element): Point2D[];
|
|
6
25
|
}
|
|
26
|
+
//# sourceMappingURL=intersections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"intersections.d.ts","sourceRoot":"","sources":["../../../../src/CellDL/geometry/intersections.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAE/E,OAAO,EAAa,KAAK,OAAO,EAA2D,MAAM,mBAAmB,CAAA;AAIpH,qBAAa,kBAAkB;;gBAGf,OAAO,EAAE,OAAO;IAa5B,aAAa,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,EAAE;CAK7C"}
|
|
@@ -1,5 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 PointLike } from '@renderer/common/points';
|
|
3
22
|
export type FoundPoint = {
|
|
4
23
|
point: PointLike;
|
|
5
24
|
offset: number | null;
|
|
@@ -10,3 +29,4 @@ export declare class PointFinder {
|
|
|
10
29
|
constructor(pathArray: NormalArray);
|
|
11
30
|
findPoint(point: PointLike): FoundPoint;
|
|
12
31
|
}
|
|
32
|
+
//# sourceMappingURL=pathutils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pathutils.d.ts","sourceRoot":"","sources":["../../../../src/CellDL/geometry/pathutils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAE/E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAIrD,OAAO,EAAgC,KAAK,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAKtF,MAAM,MAAM,UAAU,GAAG;IACrB,KAAK,EAAE,SAAS,CAAA;IAChB,MAAM,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;CACzB,CAAA;AAID,qBAAa,WAAW;;gBAGR,SAAS,EAAE,WAAW;IAUlC,SAAS,CAAC,KAAK,EAAE,SAAS,GAAG,UAAU;CAiB1C"}
|
|
@@ -1,5 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 { Bounds } from './index';
|
|
3
22
|
export type ContainedObject = {
|
|
4
23
|
object: CellDLObject;
|
|
5
24
|
exact: boolean;
|
|
@@ -20,3 +39,4 @@ export declare class SpatialObjectIndex {
|
|
|
20
39
|
constructor(celldlObjects: CellDLObject[]);
|
|
21
40
|
search(bounds: Bounds): SpatialSearchResult[];
|
|
22
41
|
}
|
|
42
|
+
//# sourceMappingURL=spatialindex.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spatialindex.d.ts","sourceRoot":"","sources":["../../../../src/CellDL/geometry/spatialindex.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAO/E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAE/D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAIrC,MAAM,MAAM,eAAe,GAAG;IAC1B,MAAM,EAAE,YAAY,CAAA;IACpB,KAAK,EAAE,OAAO,CAAA;CACjB,CAAA;AAyCD,qBAAa,kBAAkB;;IAI3B,GAAG,CAAC,YAAY,EAAE,YAAY;IAS9B,MAAM,CAAC,YAAY,EAAE,YAAY;IAOjC,MAAM,CAAC,YAAY,EAAE,YAAY;IAYjC,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,eAAe,EAAE;CAcxD;AAID,MAAM,MAAM,mBAAmB,GAAG;IAC9B,MAAM,EAAE,YAAY,CAAA;IACpB,MAAM,EAAE,MAAM,CAAA;CACjB,CAAA;AAID,qBAAa,kBAAkB;;gBAKf,aAAa,EAAE,YAAY,EAAE;IAazC,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,mBAAmB,EAAE;CAUhD"}
|
|
@@ -1,5 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
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 Matrix } from 'transformation-matrix';
|
|
21
|
+
import { Point, type PointLike } from '@renderer/common/points';
|
|
3
22
|
export declare class NormalTransform {
|
|
4
23
|
#private;
|
|
5
24
|
constructor(p0: PointLike, p1: PointLike);
|
|
@@ -19,3 +38,4 @@ export declare class Transform {
|
|
|
19
38
|
transformPoints(points: PointLike[]): Point[];
|
|
20
39
|
static Translate(tx: number, ty: number): Transform;
|
|
21
40
|
}
|
|
41
|
+
//# sourceMappingURL=transforms.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transforms.d.ts","sourceRoot":"","sources":["../../../../src/CellDL/geometry/transforms.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAE/E,OAAO,EAOH,KAAK,MAAM,EAGd,MAAM,uBAAuB,CAAA;AAI9B,OAAO,EAAE,KAAK,EAAE,KAAK,SAAS,EAAE,MAAM,yBAAyB,CAAA;AAI/D,qBAAa,eAAe;;gBAIZ,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE,SAAS;IAuBxC,SAAS,CAAC,KAAK,EAAE,SAAS,GAAG,KAAK;IAIlC,MAAM,CAAC,KAAK,EAAE,SAAS,GAAG,KAAK;CAGlC;AAID,qBAAa,SAAS;;gBAGN,MAAM,EAAE,MAAM;IAI1B,MAAM,CAAC,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS;IAQ5C,MAAM,CAAC,QAAQ,IAAI,SAAS;IAI5B,IAAI,UAAU,IAAI,OAAO,CAExB;IAED,OAAO,IAAI,SAAS;IAIpB,YAAY,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS;IAI7C,QAAQ,IAAI,MAAM;IAIlB,cAAc,CAAC,KAAK,EAAE,SAAS,GAAG,KAAK;IAIvC,eAAe,CAAC,MAAM,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE;IAI7C,MAAM,CAAC,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,SAAS;CAGtD"}
|
|
@@ -21,3 +21,4 @@ export declare const EM_SIZE = 16;
|
|
|
21
21
|
export declare const EX_SIZE: number;
|
|
22
22
|
export declare function lengthToPixels(length: string | number | null): number | null;
|
|
23
23
|
export declare function pixelsToLength(pixels: string | number, units: string): string | null;
|
|
24
|
+
//# sourceMappingURL=units.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"units.d.ts","sourceRoot":"","sources":["../../../../src/CellDL/geometry/units.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAE/E,eAAO,MAAM,OAAO,KAAK,CAAA;AACzB,eAAO,MAAM,OAAO,QAAc,CAAA;AAyBlC,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,CAgB5E;AAED,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAMpF"}
|
|
@@ -1,6 +1,26 @@
|
|
|
1
|
-
|
|
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 { Pair } from '@renderer/common/types';
|
|
2
21
|
export declare function sleep(ms: number): Promise<unknown>;
|
|
3
22
|
export declare function round(length: number, decimalPlaces?: number): number;
|
|
4
23
|
export declare function roundEqual(l1: number, l2: number, decimalPlaces?: number): boolean;
|
|
5
24
|
export declare function range(startOrStop: number, stop?: number | null, step?: number | null): Generator<number, void, unknown>;
|
|
6
25
|
export declare function pairwise<T>(a: T[]): Pair<T>[];
|
|
26
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/CellDL/utils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAE/E,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;AAIlD,wBAAgB,KAAK,CAAC,EAAE,EAAE,MAAM,oBAE/B;AAID,wBAAgB,KAAK,CAAC,MAAM,EAAE,MAAM,EAAE,aAAa,GAAE,MAAU,GAAG,MAAM,CAGvE;AAED,wBAAgB,UAAU,CAAC,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,aAAa,GAAE,MAAU,GAAG,OAAO,CAGrF;AAID,wBAAiB,KAAK,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,GAAE,MAAM,GAAG,IAAW,EAAE,IAAI,GAAE,MAAM,GAAG,IAAW,oCAWjG;AAMD,wBAAgB,QAAQ,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC,EAAE,CAM7C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EditorTypes.d.ts","sourceRoot":"","sources":["../../../src/common/EditorTypes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAE/E,OAAO,KAAK,KAAK,GAAG,MAAM,KAAK,CAAA;AAI/B,MAAM,WAAW,gBAAgB;IAC7B,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,SAAS,CAAC,CAAA;CACjC;AAID,MAAM,WAAW,WAAW;IACxB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,YAAY,CAAC,EAAE,OAAO,CAAA;CACzB;AAID,MAAM,WAAW,SAAS;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,MAAM,CAAA;CACtB"}
|
|
@@ -5,3 +5,4 @@ export declare function isDesktop(): boolean;
|
|
|
5
5
|
export declare function isCtrlOrCmd(event: KeyboardEvent): boolean;
|
|
6
6
|
export declare function formatTime(time: number): string;
|
|
7
7
|
export declare function formatIssue(issue: string): string;
|
|
8
|
+
//# sourceMappingURL=common.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../src/common/common.ts"],"names":[],"mappings":"AAMA,wBAAgB,SAAS,IAAI,OAAO,CAEnC;AAED,wBAAgB,OAAO,IAAI,OAAO,CAEjC;AAED,wBAAgB,OAAO,IAAI,OAAO,CAEjC;AAED,wBAAgB,SAAS,IAAI,OAAO,CAEnC;AAID,wBAAgB,WAAW,CAAC,KAAK,EAAE,aAAa,GAAG,OAAO,CAEzD;AAID,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CA6B/C;AAID,wBAAgB,WAAW,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAIjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/common/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,EAAE,MAAW,CAAC;AACtC,eAAO,MAAM,YAAY,EAAE,MAAY,CAAC;AACxC,eAAO,MAAM,UAAU,EAAE,MAAY,CAAC;AAEtC,eAAO,MAAM,UAAU,EAAE,MAAa,CAAC;AAIvC,eAAO,MAAM,SAAS,EAAE,MAA8D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"points.d.ts","sourceRoot":"","sources":["../../../src/common/points.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAM/E,MAAM,WAAW,SAAS;IACtB,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;CACZ;AAED,MAAM,MAAM,UAAU,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;AAOzC,eAAO,MAAM,aAAa,SAAO,CAAA;AACjC,eAAO,MAAM,qBAAqB,QAAgC,CAAA;AAIlE,qBAAa,KAAM,YAAW,SAAS;IAE/B,QAAQ,CAAC,CAAC,EAAE,MAAM;IAClB,QAAQ,CAAC,CAAC,EAAE,MAAM;gBADT,CAAC,GAAE,MAAU,EACb,C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,YAAY,EAAE,GAAG,MAAM,CAIlG;AAID,eAAO,MAAM,gBAAgB,QAWnB,CAAA"}
|
|
@@ -1,6 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
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';
|
|
22
|
+
import type { Extent } from '@editor/geometry/index';
|
|
4
23
|
export declare const SVG_URI = "http://www.w3.org/2000/svg";
|
|
5
24
|
export interface INodeStyle {
|
|
6
25
|
gradientFill: boolean;
|
|
@@ -46,3 +65,4 @@ export declare function getSvgFillStyle(svgText: string): string[];
|
|
|
46
65
|
export declare function getSvgPathStyle(svgElement: SVGGraphicsElement): IPathStyle;
|
|
47
66
|
export declare function setSvgPathStyle(svgElement: SVGGraphicsElement, pathStyle: IPathStyle): void;
|
|
48
67
|
export {};
|
|
68
|
+
//# sourceMappingURL=svgUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"svgUtils.d.ts","sourceRoot":"","sources":["../../../src/common/svgUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;A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["../../../src/common/themeCssVariables.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,aAAa,EAAE,MAAM,QAWzD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/common/types.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;+EAkB+E;AAE/E,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,CAAC,CAAA;AAEtD,MAAM,MAAM,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;AAE5B,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,CAAA;AACtE,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Theme } from '../../index.ts';
|
|
2
1
|
import * as vue from 'vue';
|
|
2
|
+
import type { Theme } from '../../index.ts';
|
|
3
3
|
export declare const activeInstanceUid: () => vue.Ref<string | null>;
|
|
4
4
|
export declare const useTheme: () => {
|
|
5
5
|
theme: () => Theme;
|
|
@@ -7,3 +7,4 @@ export declare const useTheme: () => {
|
|
|
7
7
|
useLightMode: () => boolean;
|
|
8
8
|
useDarkMode: () => boolean;
|
|
9
9
|
};
|
|
10
|
+
//# sourceMappingURL=vueCommon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vueCommon.d.ts","sourceRoot":"","sources":["../../../src/common/vueCommon.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAI5C,eAAO,MAAM,iBAAiB,8BAAmE,CAAC;A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iBAAiB,EAAE,CAAC;CAC5B;AAED,MAAM,WAAW,iBAAiB;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,iBAAiB;IAChC,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,gBAAgB;IAC/B,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -1,2 +1,30 @@
|
|
|
1
|
+
/*************************************************************************
|
|
2
|
+
*
|
|
3
|
+
* direct/tex2svg
|
|
4
|
+
*
|
|
5
|
+
* Uses MathJax v3 to convert a TeX string to an SVG string.
|
|
6
|
+
*
|
|
7
|
+
* ----------------------------------------------------------------------
|
|
8
|
+
*
|
|
9
|
+
* Copyright (c) 2018 The MathJax Consortium
|
|
10
|
+
*
|
|
11
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
12
|
+
* you may not use this file except in compliance with the License.
|
|
13
|
+
* You may obtain a copy of the License at
|
|
14
|
+
*
|
|
15
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
16
|
+
*
|
|
17
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
18
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
19
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
20
|
+
* See the License for the specific language governing permissions and
|
|
21
|
+
* limitations under the License.
|
|
22
|
+
*/
|
|
23
|
+
import '@mathjax/src/js/util/asyncLoad/esm.js';
|
|
24
|
+
import '@mathjax/src/js/input/tex/base/BaseConfiguration.js';
|
|
25
|
+
import '@mathjax/src/js/input/tex/ams/AmsConfiguration.js';
|
|
26
|
+
import '@mathjax/src/js/input/tex/color/ColorConfiguration';
|
|
27
|
+
import '@mathjax/src/js/input/tex/mhchem/MhchemConfiguration';
|
|
1
28
|
export declare function latexAsSvgString(latex: string): string;
|
|
2
29
|
export declare function latexAsSvgDocument(latex: string): XMLDocument;
|
|
30
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/mathjax/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AASH,OAAO,uCAAuC,CAAA;AAE9C,OAAO,qDAAqD,CAAA;AAC5D,OAAO,mDAAmD,CAAA;AAC1D,OAAO,oDAAoD,CAAA;AAC3D,OAAO,sDAAsD,CAAA;AA4C7D,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAOtD;AAED,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,WAAW,CAG7D"}
|