@celldl/editor 0.20260212.0 → 0.20260217.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 (87) hide show
  1. package/README.md +13 -0
  2. package/dist/CellDLEditor-ZFePDCI0.js +13851 -0
  3. package/dist/CellDLEditor-ZFePDCI0.js.map +1 -0
  4. package/dist/CellDLEditor.css +1 -1
  5. package/dist/CellDLEditor.es.js +6 -5
  6. package/dist/app/src/App.vue.d.ts +2 -0
  7. package/dist/app/src/common/common.d.ts +8 -0
  8. package/dist/app/src/common/constants.d.ts +5 -0
  9. package/dist/app/src/common/electron.d.ts +5 -0
  10. package/dist/app/src/common/electronApi.d.ts +8 -0
  11. package/dist/app/src/common/settings.d.ts +18 -0
  12. package/dist/app/src/common/version.d.ts +7 -0
  13. package/dist/app/src/common/vueCommon.d.ts +9 -0
  14. package/dist/app/src/main.d.ts +1 -0
  15. package/dist/{vendor-DFPLRrnP.js → index--lsZkhLY.js} +24316 -30274
  16. package/dist/index--lsZkhLY.js.map +1 -0
  17. package/dist/index.d.ts +54 -16
  18. package/dist/{index-DtCZg5ZV.js → oxigraph-Dx4bu2IN.js} +221 -843
  19. package/dist/oxigraph-Dx4bu2IN.js.map +1 -0
  20. package/dist/package.json.d.ts +106 -0
  21. package/dist/src/CellDL/SVGElements/boundedelement.d.ts +21 -0
  22. package/dist/src/CellDL/SVGElements/index.d.ts +66 -0
  23. package/dist/src/CellDL/SVGElements/linearpath.d.ts +11 -0
  24. package/dist/src/CellDL/SVGElements/pathelement.d.ts +53 -0
  25. package/dist/src/CellDL/SVGElements/rectilinearpath.d.ts +50 -0
  26. package/dist/src/CellDL/SVGElements/svgconnection.d.ts +22 -0
  27. package/dist/src/CellDL/celldlObjects/index.d.ts +151 -0
  28. package/dist/src/CellDL/components/index.d.ts +39 -0
  29. package/dist/src/CellDL/components/properties.d.ts +61 -0
  30. package/dist/src/CellDL/connections/index.d.ts +35 -0
  31. package/dist/src/CellDL/connections/pathmaker.d.ts +38 -0
  32. package/dist/src/CellDL/diagram/index.d.ts +45 -0
  33. package/dist/src/CellDL/editor/alerts.d.ts +27 -0
  34. package/dist/src/CellDL/editor/editguides.d.ts +31 -0
  35. package/dist/src/CellDL/editor/editorframe.d.ts +13 -0
  36. package/dist/src/CellDL/editor/index.d.ts +40 -0
  37. package/dist/src/CellDL/editor/panzoom.d.ts +30 -0
  38. package/dist/src/CellDL/editor/selectionbox.d.ts +17 -0
  39. package/dist/src/CellDL/editor/undoredo.d.ts +46 -0
  40. package/dist/src/CellDL/geometry/controls.d.ts +53 -0
  41. package/dist/src/CellDL/geometry/index.d.ts +92 -0
  42. package/dist/src/CellDL/geometry/intersections.d.ts +6 -0
  43. package/dist/src/CellDL/geometry/pathutils.d.ts +12 -0
  44. package/dist/src/CellDL/geometry/spatialindex.d.ts +22 -0
  45. package/dist/src/CellDL/geometry/transforms.d.ts +21 -0
  46. package/dist/src/CellDL/geometry/units.d.ts +23 -0
  47. package/dist/src/CellDL/utils.d.ts +6 -0
  48. package/dist/src/assets/oxigraph/web.d.ts +279 -0
  49. package/dist/src/common/EditorTypes.d.ts +39 -0
  50. package/dist/src/common/common.d.ts +7 -0
  51. package/dist/src/common/constants.d.ts +5 -0
  52. package/dist/src/common/points.d.ts +57 -0
  53. package/dist/src/common/styling.d.ts +36 -0
  54. package/dist/src/common/svgUtils.d.ts +48 -0
  55. package/dist/src/common/themeCssVariables.d.ts +9 -0
  56. package/dist/src/common/types.d.ts +23 -0
  57. package/dist/src/common/vueCommon.d.ts +9 -0
  58. package/dist/src/components/CellDLEditor.vue.d.ts +19 -0
  59. package/dist/src/components/WrappedEditor.vue.d.ts +19 -0
  60. package/dist/src/components/panels/FillStyle.vue.d.ts +20 -0
  61. package/dist/src/components/panels/PathStyle.vue.d.ts +20 -0
  62. package/dist/src/components/panels/PropertiesPanel.vue.d.ts +21 -0
  63. package/dist/src/components/popovers/ComponentPopover.vue.d.ts +19 -0
  64. package/dist/src/components/popovers/ConnectionStylePopover.vue.d.ts +19 -0
  65. package/dist/src/components/toolbar/EditorToolbar.vue.d.ts +23 -0
  66. package/dist/src/components/toolbar/ToolButton.vue.d.ts +26 -0
  67. package/dist/src/components/toolbar/ToolPanel.vue.d.ts +2 -0
  68. package/dist/src/components/toolbar/ToolPopover.vue.d.ts +3 -0
  69. package/dist/src/components/widgets/InputWidget.vue.d.ts +34 -0
  70. package/dist/src/libopencor/locUIJsonApi.d.ts +54 -0
  71. package/dist/src/mathjax/index.d.ts +2 -0
  72. package/dist/src/metadata/index.d.ts +50 -0
  73. package/dist/src/metadata/namespaces.d.ts +46 -0
  74. package/dist/src/metadata/oxigraphStore.d.ts +61 -0
  75. package/dist/src/metadata/oximock.d.ts +36 -0
  76. package/dist/src/metadata/store.d.ts +23 -0
  77. package/dist/src/plugins/bondgraph/definitions.d.ts +6 -0
  78. package/dist/src/plugins/bondgraph/index.d.ts +40 -0
  79. package/dist/src/plugins/bondgraph/utils.d.ts +27 -0
  80. package/dist/src/plugins/index.d.ts +75 -0
  81. package/dist/vite.config.d.ts +3 -0
  82. package/dist/vite.lib.config.d.ts +3 -0
  83. package/package.json +4 -3
  84. package/dist/CellDLEditor-CRG_Fjg2.js +0 -7262
  85. package/dist/CellDLEditor-CRG_Fjg2.js.map +0 -1
  86. package/dist/index-DtCZg5ZV.js.map +0 -1
  87. package/dist/vendor-DFPLRrnP.js.map +0 -1
@@ -1,8 +1,9 @@
1
- import { _ as e, D as o, _ as r, y as E } from "./index-DtCZg5ZV.js";
1
+ import { _ as r, V as s, _ as f, U as o, W as t } from "./index--lsZkhLY.js";
2
2
  export {
3
- e as CellDLEditor,
4
- o as DEFAULT_VIEW_STATE,
5
- r as default,
6
- E as version
3
+ r as CellDLEditor,
4
+ s as DEFAULT_VIEW_STATE,
5
+ f as default,
6
+ o as rdfInterface,
7
+ t as version
7
8
  };
8
9
  //# sourceMappingURL=CellDLEditor.es.js.map
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -0,0 +1,8 @@
1
+ export declare function isWindows(): boolean;
2
+ export declare function isLinux(): boolean;
3
+ export declare function isMacOs(): boolean;
4
+ export declare function isDesktop(): boolean;
5
+ export declare function isCompatibleBrowser(): boolean;
6
+ export declare function isCtrlOrCmd(event: KeyboardEvent): boolean;
7
+ export declare function formatTime(time: number): string;
8
+ export declare function formatIssue(issue: string): string;
@@ -0,0 +1,5 @@
1
+ export declare const SHORT_DELAY = 69;
2
+ export declare const MEDIUM_DELAY = 169;
3
+ export declare const LONG_DELAY = 369;
4
+ export declare const TOAST_LIFE = 3000;
5
+ export declare const COPYRIGHT: string;
@@ -0,0 +1,5 @@
1
+ export declare function isPackaged(): boolean;
2
+ export declare function isDevMode(): boolean;
3
+ export declare function isWindows(): boolean;
4
+ export declare function isLinux(): boolean;
5
+ export declare function isMacOs(): boolean;
@@ -0,0 +1,8 @@
1
+ interface IElectronApi {
2
+ onFileAction: (callback: (event: Event, action: string, path: string, ...args: any[]) => void) => Promise<void>;
3
+ onMenuAction: (callback: (event: Event, action: string, ...args: any[]) => void) => Promise<void>;
4
+ sendEditorAction: (action: string, ...args: any[]) => Promise<void>;
5
+ sendFileAction: (action: string, path: string, ...args: any[]) => Promise<void>;
6
+ }
7
+ export declare const electronApi: IElectronApi | undefined;
8
+ export {};
@@ -0,0 +1,18 @@
1
+ import { ISettingsGeneral } from './common.js';
2
+ declare class Settings {
3
+ private static _instance;
4
+ private _settings;
5
+ private _isInitialised;
6
+ private _initialisationListeners;
7
+ private constructor();
8
+ static instance(): Settings;
9
+ private emitInitialised;
10
+ onInitialised(callback: () => void): void;
11
+ load(): void;
12
+ save(): void;
13
+ reset(): void;
14
+ toString(): string;
15
+ get general(): ISettingsGeneral;
16
+ }
17
+ export declare const settings: Settings;
18
+ export {};
@@ -0,0 +1,7 @@
1
+ import * as vue from 'vue';
2
+ declare const currentVersion: string;
3
+ declare const updateAvailable: vue.Ref<boolean>;
4
+ declare const latestVersion: vue.Ref<string>;
5
+ declare const startCheck: () => void;
6
+ declare const reloadApp: () => void;
7
+ export { currentVersion, latestVersion, reloadApp, startCheck, updateAvailable };
@@ -0,0 +1,9 @@
1
+ import { Theme } from '../../../index.ts';
2
+ import * as vue from 'vue';
3
+ export declare const activeInstanceUid: () => vue.Ref<string | null>;
4
+ export declare const useTheme: () => {
5
+ theme: () => Theme;
6
+ setTheme: (newTheme: Theme | undefined) => void;
7
+ useLightMode: () => boolean;
8
+ useDarkMode: () => boolean;
9
+ };
@@ -0,0 +1 @@
1
+ export {};