@celldl/editor 0.20260212.0 → 0.20260217.1
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 +13 -0
- package/dist/CellDLEditor-VG5HM79L.js +13851 -0
- package/dist/CellDLEditor-VG5HM79L.js.map +1 -0
- package/dist/CellDLEditor.css +1 -1
- package/dist/CellDLEditor.es.js +6 -5
- package/dist/app/src/App.vue.d.ts +2 -0
- package/dist/app/src/common/common.d.ts +8 -0
- package/dist/app/src/common/constants.d.ts +5 -0
- package/dist/app/src/common/electron.d.ts +5 -0
- package/dist/app/src/common/electronApi.d.ts +8 -0
- package/dist/app/src/common/settings.d.ts +18 -0
- package/dist/app/src/common/version.d.ts +7 -0
- package/dist/app/src/common/vueCommon.d.ts +9 -0
- package/dist/app/src/main.d.ts +1 -0
- package/dist/{vendor-DFPLRrnP.js → index-DdfNP2Wo.js} +41637 -47600
- package/dist/index-DdfNP2Wo.js.map +1 -0
- package/dist/index.d.ts +54 -16
- package/dist/{index-DtCZg5ZV.js → oxigraph-Dx4bu2IN.js} +221 -843
- package/dist/oxigraph-Dx4bu2IN.js.map +1 -0
- package/dist/package.json.d.ts +106 -0
- package/dist/src/CellDL/SVGElements/boundedelement.d.ts +21 -0
- package/dist/src/CellDL/SVGElements/index.d.ts +66 -0
- package/dist/src/CellDL/SVGElements/linearpath.d.ts +11 -0
- package/dist/src/CellDL/SVGElements/pathelement.d.ts +53 -0
- package/dist/src/CellDL/SVGElements/rectilinearpath.d.ts +50 -0
- package/dist/src/CellDL/SVGElements/svgconnection.d.ts +22 -0
- package/dist/src/CellDL/celldlObjects/index.d.ts +151 -0
- package/dist/src/CellDL/components/index.d.ts +39 -0
- package/dist/src/CellDL/components/properties.d.ts +61 -0
- package/dist/src/CellDL/connections/index.d.ts +35 -0
- package/dist/src/CellDL/connections/pathmaker.d.ts +38 -0
- package/dist/src/CellDL/diagram/index.d.ts +45 -0
- package/dist/src/CellDL/editor/alerts.d.ts +27 -0
- package/dist/src/CellDL/editor/editguides.d.ts +31 -0
- package/dist/src/CellDL/editor/editorframe.d.ts +13 -0
- package/dist/src/CellDL/editor/index.d.ts +40 -0
- package/dist/src/CellDL/editor/panzoom.d.ts +30 -0
- package/dist/src/CellDL/editor/selectionbox.d.ts +17 -0
- package/dist/src/CellDL/editor/undoredo.d.ts +46 -0
- package/dist/src/CellDL/geometry/controls.d.ts +53 -0
- package/dist/src/CellDL/geometry/index.d.ts +92 -0
- package/dist/src/CellDL/geometry/intersections.d.ts +6 -0
- package/dist/src/CellDL/geometry/pathutils.d.ts +12 -0
- package/dist/src/CellDL/geometry/spatialindex.d.ts +22 -0
- package/dist/src/CellDL/geometry/transforms.d.ts +21 -0
- package/dist/src/CellDL/geometry/units.d.ts +23 -0
- package/dist/src/CellDL/utils.d.ts +6 -0
- package/dist/src/assets/oxigraph/web.d.ts +279 -0
- package/dist/src/common/EditorTypes.d.ts +39 -0
- package/dist/src/common/common.d.ts +7 -0
- package/dist/src/common/constants.d.ts +5 -0
- package/dist/src/common/points.d.ts +57 -0
- package/dist/src/common/styling.d.ts +36 -0
- package/dist/src/common/svgUtils.d.ts +48 -0
- package/dist/src/common/themeCssVariables.d.ts +9 -0
- package/dist/src/common/types.d.ts +23 -0
- package/dist/src/common/vueCommon.d.ts +9 -0
- package/dist/src/components/CellDLEditor.vue.d.ts +19 -0
- package/dist/src/components/WrappedEditor.vue.d.ts +19 -0
- package/dist/src/components/panels/FillStyle.vue.d.ts +20 -0
- package/dist/src/components/panels/PathStyle.vue.d.ts +20 -0
- package/dist/src/components/panels/PropertiesPanel.vue.d.ts +21 -0
- package/dist/src/components/popovers/ComponentPopover.vue.d.ts +19 -0
- package/dist/src/components/popovers/ConnectionStylePopover.vue.d.ts +19 -0
- package/dist/src/components/toolbar/EditorToolbar.vue.d.ts +23 -0
- package/dist/src/components/toolbar/ToolButton.vue.d.ts +26 -0
- package/dist/src/components/toolbar/ToolPanel.vue.d.ts +2 -0
- package/dist/src/components/toolbar/ToolPopover.vue.d.ts +3 -0
- package/dist/src/components/widgets/InputWidget.vue.d.ts +34 -0
- package/dist/src/libopencor/locUIJsonApi.d.ts +54 -0
- package/dist/src/mathjax/index.d.ts +2 -0
- package/dist/src/metadata/index.d.ts +50 -0
- package/dist/src/metadata/namespaces.d.ts +46 -0
- package/dist/src/metadata/oxigraphStore.d.ts +61 -0
- package/dist/src/metadata/oximock.d.ts +36 -0
- package/dist/src/metadata/store.d.ts +23 -0
- package/dist/src/plugins/bondgraph/definitions.d.ts +6 -0
- package/dist/src/plugins/bondgraph/index.d.ts +40 -0
- package/dist/src/plugins/bondgraph/utils.d.ts +27 -0
- package/dist/src/plugins/index.d.ts +75 -0
- package/dist/vite.config.d.ts +3 -0
- package/dist/vite.lib.config.d.ts +3 -0
- package/package.json +4 -3
- package/dist/CellDLEditor-CRG_Fjg2.js +0 -7262
- package/dist/CellDLEditor-CRG_Fjg2.js.map +0 -1
- package/dist/index-DtCZg5ZV.js.map +0 -1
- package/dist/vendor-DFPLRrnP.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,16 +1,54 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import type
|
|
4
|
-
|
|
5
|
-
export type {
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export
|
|
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';
|
|
6
|
+
export { version } from './package.json';
|
|
7
|
+
export type RdfInterface = {
|
|
8
|
+
oximockRdfModule: object;
|
|
9
|
+
getRdfStatements: () => $rdf.Statement[];
|
|
10
|
+
};
|
|
11
|
+
export declare const rdfInterface: RdfInterface;
|
|
12
|
+
export type EditorData = {
|
|
13
|
+
data: string;
|
|
14
|
+
kind?: string;
|
|
15
|
+
};
|
|
16
|
+
export type EditorEditCommand = {
|
|
17
|
+
command: 'edit';
|
|
18
|
+
options: {
|
|
19
|
+
action: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export type EditorExportCommand = {
|
|
23
|
+
command: 'export';
|
|
24
|
+
options: {
|
|
25
|
+
action: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export type EditorFileCommand = {
|
|
29
|
+
command: 'file';
|
|
30
|
+
options: {
|
|
31
|
+
action: string;
|
|
32
|
+
data?: string;
|
|
33
|
+
kind?: string;
|
|
34
|
+
name?: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
export type EditorSetStateCommand = {
|
|
38
|
+
command: 'set-state';
|
|
39
|
+
options: {
|
|
40
|
+
action: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
export type EditorViewCommand = {
|
|
44
|
+
command: 'view';
|
|
45
|
+
options: ViewState;
|
|
46
|
+
};
|
|
47
|
+
export type CellDLEditorCommand = EditorEditCommand | EditorExportCommand | EditorFileCommand | EditorSetStateCommand | EditorViewCommand;
|
|
48
|
+
export type Theme = 'light' | 'dark' | 'system';
|
|
49
|
+
export { CellDLEditor };
|
|
50
|
+
export default CellDLEditor;
|
|
51
|
+
export interface CellDLEditorProps {
|
|
52
|
+
editorCommand?: CellDLEditorCommand;
|
|
53
|
+
theme?: Theme;
|
|
54
|
+
}
|