@stonecrop/node-editor 0.2.24 → 0.2.25
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/dist/index.js +12 -0
- package/dist/node-editor.d.ts +28 -0
- package/dist/node-editor.js +6370 -6037
- package/dist/node-editor.js.map +1 -1
- package/dist/node-editor.umd.cjs +3 -2
- package/dist/node-editor.umd.cjs.map +1 -1
- package/dist/node_editor/src/tsdoc-metadata.json +11 -0
- package/dist/node_editor.tsbuildinfo +1 -0
- package/dist/src/index.d.ts +12 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/types/index.d.ts +27 -0
- package/dist/src/types/index.d.ts.map +1 -0
- package/dist/style.css +1 -1
- package/dist/types/index.js +0 -0
- package/package.json +26 -19
- package/src/components/EditableEdge.vue +36 -50
- package/src/components/EditableNode.vue +24 -42
- package/src/components/NodeEditor.vue +87 -112
- package/src/components/StateEditor.vue +78 -67
- package/src/index.ts +7 -1
- package/src/shims-vue.d.ts +5 -0
- package/src/types/index.ts +24 -0
- package/src/histoire.setup.ts +0 -7
package/dist/index.js
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import NodeEditor from '@/components/NodeEditor.vue';
|
|
2
|
+
import StateEditor from '@/components/StateEditor.vue';
|
|
3
|
+
/**
|
|
4
|
+
* Install all Node Editor components
|
|
5
|
+
* @param app - Vue app instance
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
function install(app) {
|
|
9
|
+
app.component('NodeEditor', NodeEditor);
|
|
10
|
+
app.component('StateEditor', StateEditor);
|
|
11
|
+
}
|
|
12
|
+
export { install, NodeEditor, StateEditor };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { App } from 'vue';
|
|
2
|
+
import { EditorStates } from '@/types';
|
|
3
|
+
import { FlowElement } from '@/types';
|
|
4
|
+
import { FlowElements } from '@/types';
|
|
5
|
+
import { Layout } from '@/types';
|
|
6
|
+
import NodeEditor from '@/components/NodeEditor.vue';
|
|
7
|
+
import StateEditor from '@/components/StateEditor.vue';
|
|
8
|
+
|
|
9
|
+
export { EditorStates }
|
|
10
|
+
|
|
11
|
+
export { FlowElement }
|
|
12
|
+
|
|
13
|
+
export { FlowElements }
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Install all Node Editor components
|
|
17
|
+
* @param app - Vue app instance
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export declare function install(app: App): void;
|
|
21
|
+
|
|
22
|
+
export { Layout }
|
|
23
|
+
|
|
24
|
+
export { NodeEditor }
|
|
25
|
+
|
|
26
|
+
export { StateEditor }
|
|
27
|
+
|
|
28
|
+
export { }
|