@relation-graph/react 3.0.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/LICENSE +21 -0
- package/package.json +65 -0
- package/relation-graph.js +56 -0
- package/relation-graph.mjs +7433 -0
- package/relation-graph.umd.js +56 -0
- package/types/components.d.ts +5 -0
- package/types/packages/platforms/react/src/constants.d.ts +1 -0
- package/types/packages/platforms/react/src/index.d.ts +182 -0
- package/types/packages/platforms/react/src/relation-graph/RGPovider.d.ts +7 -0
- package/types/packages/platforms/react/src/relation-graph/RelationGraph.d.ts +5 -0
- package/types/packages/platforms/react/src/relation-graph/RelationLinker.d.ts +5 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/RGCanvas.d.ts +13 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/RGCanvasContent.d.ts +11 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/RGEasyView.d.ts +4 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/RGFakeNode.d.ts +6 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/RGGraphRefs.d.ts +6 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/RGLineContent.d.ts +4 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/RGLinePath.d.ts +6 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/RGLinePeel.d.ts +7 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/RGLineText.d.ts +4 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/RGNodeExpandHolder.d.ts +4 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/RGNodePeel.d.ts +4 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/RelationLinkerCanvas.d.ts +8 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/RelationLinkerContent.d.ts +4 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/RelationView.d.ts +4 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/editing/RGConnectSource.d.ts +4 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/editing/RGConnectTarget.d.ts +4 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/editing/RGEditingConnectController.d.ts +3 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/editing/RGEditingConnectPoints.d.ts +7 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/editing/RGEditingLineController.d.ts +4 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/editing/RGEditingNearNodeWidget.d.ts +4 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/editing/RGEditingNodeController.d.ts +3 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/editing/RGEditingReferenceLine.d.ts +6 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/editing/RGEditingResize.d.ts +7 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/editing/RGMiniView.d.ts +4 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/slots/NewCanvas.d.ts +20 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/slots/NewCanvasV2.d.ts +1 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/slots/NewCanvasV3.d.ts +1 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/slots/RGSlotOnCanvas.d.ts +3 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/slots/RGSlotOnCanvasAbove.d.ts +3 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/slots/RGSlotOnLine.d.ts +6 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/slots/RGSlotOnLineText.d.ts +6 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/slots/RGSlotOnNode.d.ts +6 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/slots/RGSlotOnNodeExpandHandle.d.ts +3 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/slots/RGSlotOnSVGDefs.d.ts +3 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/slots/RGSlotOnToolbar.d.ts +3 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/slots/RGSlotOnView.d.ts +3 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/store/index.d.ts +3 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/store/reducers/StockStore.d.ts +8 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/widgets/GraphBackground.d.ts +4 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/widgets/GraphDebugPanel.d.ts +3 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/widgets/GraphLoading.d.ts +3 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/widgets/GraphMoveOperator.d.ts +3 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/widgets/GraphOperateStuff.d.ts +7 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/widgets/GraphToolBar.d.ts +4 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/widgets/GraphWatermark.d.ts +4 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/widgets/GraphXsToolBar.d.ts +4 -0
- package/types/packages/platforms/react/src/relation-graph/src/core4react/widgets/RGIcons.d.ts +6 -0
- package/types/packages/platforms/react/src/relation-graph/src/hooks/RGHooks.d.ts +7 -0
- package/types/packages/platforms/react/src/relation-graph/src/hooks/useFakeNodesState.d.ts +8 -0
- package/types/packages/platforms/react/src/relation-graph/src/hooks/useGraphInstance.d.ts +13 -0
- package/types/packages/platforms/react/src/types-react.d.ts +35 -0
- package/types/packages/platforms/react/src/types.d.ts +1 -0
- package/types/packages/platforms/react/vite.config.d.ts +2 -0
- package/types/packages/platforms/vue2/src/core4vue/RGCanvas.vue.d.ts +13 -0
- package/types/packages/platforms/vue2/src/core4vue/RGCanvasContent.vue.d.ts +10 -0
- package/types/packages/platforms/vue2/src/core4vue/RGEasyView.vue.d.ts +6 -0
- package/types/packages/platforms/vue2/src/core4vue/RGFakeNode.vue.d.ts +18 -0
- package/types/packages/platforms/vue2/src/core4vue/RGGraphDefs.vue.d.ts +18 -0
- package/types/packages/platforms/vue2/src/core4vue/RGLineContent.vue.d.ts +22 -0
- package/types/packages/platforms/vue2/src/core4vue/RGLinePath.vue.d.ts +39 -0
- package/types/packages/platforms/vue2/src/core4vue/RGLinePeel.vue.d.ts +20 -0
- package/types/packages/platforms/vue2/src/core4vue/RGLineText.vue.d.ts +33 -0
- package/types/packages/platforms/vue2/src/core4vue/RGNodeExpandHolder.vue.d.ts +36 -0
- package/types/packages/platforms/vue2/src/core4vue/RGNodePeel.vue.d.ts +32 -0
- package/types/packages/platforms/vue2/src/core4vue/RelationGraph.vue.d.ts +820 -0
- package/types/packages/platforms/vue2/src/core4vue/RelationLinker.vue.d.ts +62 -0
- package/types/packages/platforms/vue2/src/core4vue/RelationLinkerCanvas.vue.d.ts +11 -0
- package/types/packages/platforms/vue2/src/core4vue/editing/RGConnectSource.vue.d.ts +29 -0
- package/types/packages/platforms/vue2/src/core4vue/editing/RGConnectTarget.vue.d.ts +45 -0
- package/types/packages/platforms/vue2/src/core4vue/editing/RGEditingConnectController.vue.d.ts +8 -0
- package/types/packages/platforms/vue2/src/core4vue/editing/RGEditingConnectPoints.vue.d.ts +24 -0
- package/types/packages/platforms/vue2/src/core4vue/editing/RGEditingLineController.vue.d.ts +26 -0
- package/types/packages/platforms/vue2/src/core4vue/editing/RGEditingNearNodeWidget.vue.d.ts +20 -0
- package/types/packages/platforms/vue2/src/core4vue/editing/RGEditingNodeController.vue.d.ts +4 -0
- package/types/packages/platforms/vue2/src/core4vue/editing/RGEditingReferenceLine.vue.d.ts +29 -0
- package/types/packages/platforms/vue2/src/core4vue/editing/RGEditingResize.vue.d.ts +31 -0
- package/types/packages/platforms/vue2/src/core4vue/editing/RGMiniView.vue.d.ts +38 -0
- package/types/packages/platforms/vue2/src/core4vue/widgets/GraphBackground.vue.d.ts +32 -0
- package/types/packages/platforms/vue2/src/core4vue/widgets/GraphDebugPanel.vue.d.ts +12 -0
- package/types/packages/platforms/vue2/src/core4vue/widgets/GraphLoading.vue.d.ts +4 -0
- package/types/packages/platforms/vue2/src/core4vue/widgets/GraphMoveOperator.vue.d.ts +8 -0
- package/types/packages/platforms/vue2/src/core4vue/widgets/GraphOperateStuff.vue.d.ts +4 -0
- package/types/packages/platforms/vue2/src/core4vue/widgets/GraphToolBar.vue.d.ts +46 -0
- package/types/packages/platforms/vue2/src/core4vue/widgets/GraphWatermark.vue.d.ts +57 -0
- package/types/packages/platforms/vue2/src/core4vue/widgets/GraphXsToolBar.vue.d.ts +46 -0
- package/types/packages/platforms/vue2/src/index.d.ts +2454 -0
- package/types/packages/platforms/vue2/src/types-vue2.d.ts +0 -0
- package/types/packages/platforms/vue2/vite.config.d.ts +2 -0
- package/types/packages/platforms/vue3/src/constants.d.ts +4 -0
- package/types/packages/platforms/vue3/src/index.d.ts +1495 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RGCanvas.vue.d.ts +34 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RGCanvasContent.vue.d.ts +37 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RGEasyView.vue.d.ts +2 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RGFakeNode.vue.d.ts +32 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RGGraphDefs.vue.d.ts +29 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RGLineContent.vue.d.ts +12 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RGLinePath.vue.d.ts +16 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RGLinePeel.vue.d.ts +29 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RGLineText.vue.d.ts +27 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RGNodeExpandHolder.vue.d.ts +18 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RGNodePeel.vue.d.ts +40 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RGProvider.vue.d.ts +34 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RelationGraph.vue.d.ts +39 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RelationLinker.vue.d.ts +130 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RelationLinkerCanvas.vue.d.ts +23 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RelationLinkerView.vue.d.ts +24 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/editing/RGConnectSource.vue.d.ts +45 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/editing/RGConnectTarget.vue.d.ts +46 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/editing/RGEditingConnectController.vue.d.ts +23 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/editing/RGEditingConnectPoints.vue.d.ts +16 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/editing/RGEditingLineController.vue.d.ts +56 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/editing/RGEditingNearNodeWidget.vue.d.ts +30 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/editing/RGEditingNodeController.vue.d.ts +17 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/editing/RGEditingReferenceLine.vue.d.ts +15 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/editing/RGEditingResize.vue.d.ts +19 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/editing/RGMiniView.vue.d.ts +17 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/index.vue.d.ts +143 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/widgets/GraphBackground.vue.d.ts +49 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/widgets/GraphDebugPanel.vue.d.ts +2 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/widgets/GraphLoading.vue.d.ts +2 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/widgets/GraphMoveOperator.vue.d.ts +2 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/widgets/GraphOperateStuff.vue.d.ts +19 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/widgets/GraphToolBar.vue.d.ts +31 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/widgets/GraphWatermark.vue.d.ts +56 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/widgets/GraphXsToolBar.vue.d.ts +31 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/widgets/RGIcons.vue.d.ts +15 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/hooks/RGHooks.d.ts +7 -0
- package/types/packages/platforms/vue3/src/relation-graph/src/hooks/useGraphInstance.d.ts +13 -0
- package/types/packages/platforms/vue3/src/types-vue3.d.ts +22 -0
- package/types/packages/platforms/vue3/src/types.d.ts +1 -0
- package/types/packages/platforms/vue3/vite.config.d.ts +2 -0
- package/types/packages/relation-graph-models/RGObjectsForExport.d.ts +132 -0
- package/types/packages/relation-graph-models/constants.d.ts +1 -0
- package/types/packages/relation-graph-models/layouters/RGBaseLayouter.d.ts +36 -0
- package/types/packages/relation-graph-models/layouters/RGCenterLayouter.d.ts +12 -0
- package/types/packages/relation-graph-models/layouters/RGCircleLayouter.d.ts +8 -0
- package/types/packages/relation-graph-models/layouters/RGFixedLayouter.d.ts +11 -0
- package/types/packages/relation-graph-models/layouters/RGFolderLayouter.d.ts +17 -0
- package/types/packages/relation-graph-models/layouters/RGForceLayouter.d.ts +71 -0
- package/types/packages/relation-graph-models/layouters/RGForceLayouterV2.d.ts +59 -0
- package/types/packages/relation-graph-models/layouters/RGSmartTreeLayouter.d.ts +16 -0
- package/types/packages/relation-graph-models/layouters/RGTreeLayouter.d.ts +18 -0
- package/types/packages/relation-graph-models/models/RGLineDataUtils.d.ts +9 -0
- package/types/packages/relation-graph-models/models/RGNodeDataUtils.d.ts +14 -0
- package/types/packages/relation-graph-models/models/RGOptionsDataUtils.d.ts +11 -0
- package/types/packages/relation-graph-models/models/RelationGraphBase.d.ts +67 -0
- package/types/packages/relation-graph-models/models/RelationGraphFinal.d.ts +11 -0
- package/types/packages/relation-graph-models/models/RelationGraphReact.d.ts +5 -0
- package/types/packages/relation-graph-models/models/RelationGraphWith1Dom.d.ts +76 -0
- package/types/packages/relation-graph-models/models/RelationGraphWith2Data.d.ts +398 -0
- package/types/packages/relation-graph-models/models/RelationGraphWith3Image.d.ts +20 -0
- package/types/packages/relation-graph-models/models/RelationGraphWith4Line.d.ts +48 -0
- package/types/packages/relation-graph-models/models/RelationGraphWith5Zoom.d.ts +31 -0
- package/types/packages/relation-graph-models/models/RelationGraphWith6Effect.d.ts +18 -0
- package/types/packages/relation-graph-models/models/RelationGraphWith6Layout.d.ts +33 -0
- package/types/packages/relation-graph-models/models/RelationGraphWith7Event.d.ts +74 -0
- package/types/packages/relation-graph-models/models/RelationGraphWith8Update.d.ts +23 -0
- package/types/packages/relation-graph-models/models/RelationGraphWith91Editing.d.ts +59 -0
- package/types/packages/relation-graph-models/models/RelationGraphWith92MiniView.d.ts +50 -0
- package/types/packages/relation-graph-models/models/RelationGraphWith9EasyView.d.ts +28 -0
- package/types/packages/relation-graph-models/types.d.ts +903 -0
- package/types/packages/relation-graph-models/utils/RGCanvasImpl2D.d.ts +59 -0
- package/types/packages/relation-graph-models/utils/RGCanvasImplWebGL.d.ts +47 -0
- package/types/packages/relation-graph-models/utils/RGCommon.d.ts +26 -0
- package/types/packages/relation-graph-models/utils/RGDragUtils.d.ts +17 -0
- package/types/packages/relation-graph-models/utils/RGFullscreenUtils.d.ts +3 -0
- package/types/packages/relation-graph-models/utils/RGGraphMath.d.ts +104 -0
- package/types/packages/relation-graph-models/utils/RGIconsData.d.ts +41 -0
- package/types/packages/relation-graph-models/utils/RGIntergration.d.ts +47 -0
- package/types/packages/relation-graph-models/utils/RGNodesAnalytic.d.ts +38 -0
- package/types/packages/relation-graph-models/utils/line/RGLinePath.d.ts +90 -0
- package/types/packages/relation-graph-models/utils/line/RGLinePathUtils.d.ts +54 -0
- package/types/packages/relation-graph-models/utils/line/RGPathGeneratorFor1.d.ts +2 -0
- package/types/packages/relation-graph-models/utils/line/RGPathGeneratorFor4.d.ts +2 -0
- package/types/packages/relation-graph-models/utils/line/RGPathGeneratorFor44.d.ts +2 -0
- package/types/packages/relation-graph-models/utils/line/RGPathGeneratorFor49.d.ts +2 -0
- package/types/packages/relation-graph-models/utils/line/RGPathGeneratorFor6.d.ts +6 -0
- package/types/packages/relation-graph-models/utils/line/RGPathGeneratorForCurve.d.ts +2 -0
- package/types/react.d.ts +201 -0
- package/types/svelte.d.ts +170 -0
- package/types/vue2.d.ts +862 -0
- package/types/vue3.d.ts +1246 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
'canvas-plug'?(_: {}): any;
|
|
5
|
+
'svg-defs'?(_: {}): any;
|
|
6
|
+
node?(_: {
|
|
7
|
+
node: any;
|
|
8
|
+
}): any;
|
|
9
|
+
line?(_: {
|
|
10
|
+
lineConfig: any;
|
|
11
|
+
}): any;
|
|
12
|
+
'node-expand-holder'?(_: {
|
|
13
|
+
node: any;
|
|
14
|
+
expandHolderPosition: any;
|
|
15
|
+
expandButtonClass: any;
|
|
16
|
+
color: any;
|
|
17
|
+
expandOrCollapseNode: any;
|
|
18
|
+
}): any;
|
|
19
|
+
'canvas-plug-above'?(_: {}): any;
|
|
20
|
+
};
|
|
21
|
+
refs: {
|
|
22
|
+
rgCanvasRef: HTMLDivElement;
|
|
23
|
+
};
|
|
24
|
+
rootEl: HTMLDivElement;
|
|
25
|
+
};
|
|
26
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
27
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
28
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RGCanvasContent.vue.d.ts
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { RGGenerateLineConfig } from '../../../../../../relation-graph-models/types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
'svg-defs'?(_: {}): any;
|
|
6
|
+
line?(_: {
|
|
7
|
+
lineConfig: any;
|
|
8
|
+
}): any;
|
|
9
|
+
line?(_: {
|
|
10
|
+
lineConfig: any;
|
|
11
|
+
}): any;
|
|
12
|
+
line?(_: {
|
|
13
|
+
lineConfig: RGGenerateLineConfig;
|
|
14
|
+
}): any;
|
|
15
|
+
node?(_: {
|
|
16
|
+
node: any;
|
|
17
|
+
}): any;
|
|
18
|
+
'node-expand-holder'?(_: {
|
|
19
|
+
node: any;
|
|
20
|
+
expandHolderPosition: any;
|
|
21
|
+
expandButtonClass: any;
|
|
22
|
+
color: any;
|
|
23
|
+
expandOrCollapseNode: any;
|
|
24
|
+
}): any;
|
|
25
|
+
};
|
|
26
|
+
refs: {};
|
|
27
|
+
rootEl: HTMLDivElement;
|
|
28
|
+
};
|
|
29
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
30
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
31
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { RGNode } from '../../../../../../relation-graph-models/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
node: RGNode;
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {
|
|
11
|
+
nodePeelRef: HTMLDivElement;
|
|
12
|
+
};
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
+
type __VLS_TypePropsToOption<T> = {
|
|
21
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
|
+
} : {
|
|
24
|
+
type: import('vue').PropType<T[K]>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
29
|
+
new (): {
|
|
30
|
+
$slots: S;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
forElementLines?: boolean;
|
|
3
|
+
};
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
slots: {
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: SVGDefsElement;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
|
+
type __VLS_TypePropsToOption<T> = {
|
|
18
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
|
+
} : {
|
|
21
|
+
type: import('vue').PropType<T[K]>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { RGLineSlotProps } from '../../../../../../relation-graph-models/types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<RGLineSlotProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<RGLineSlotProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
3
|
+
export default _default;
|
|
4
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
5
|
+
type __VLS_TypePropsToOption<T> = {
|
|
6
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
7
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
8
|
+
} : {
|
|
9
|
+
type: import('vue').PropType<T[K]>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { RGLinePathProps } from '../../../../../../relation-graph-models/types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<RGLinePathProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
onLineClick: (event: MouseEvent | TouchEvent) => void;
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<RGLinePathProps>>> & Readonly<{
|
|
5
|
+
onOnLineClick?: ((event: MouseEvent | TouchEvent) => any) | undefined;
|
|
6
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
+
type __VLS_TypePropsToOption<T> = {
|
|
10
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
+
} : {
|
|
13
|
+
type: import('vue').PropType<T[K]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { RGLinePeelProps } from '../../../../../../relation-graph-models/types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
line?(_: {
|
|
6
|
+
lineConfig: import('../../../../../../relation-graph-models/types').RGGenerateLineConfig;
|
|
7
|
+
}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: any;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<RGLinePeelProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<RGLinePeelProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
|
+
type __VLS_TypePropsToOption<T> = {
|
|
18
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
|
+
} : {
|
|
21
|
+
type: import('vue').PropType<T[K]>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { RGLineTextProps } from '../../../../../../relation-graph-models/types';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: any;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<RGLineTextProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<RGLineTextProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
+
type __VLS_TypePropsToOption<T> = {
|
|
16
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
+
} : {
|
|
19
|
+
type: import('vue').PropType<T[K]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RGNodeExpandHolder.vue.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { RGNode } from '../../../../../../relation-graph-models/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
node: RGNode;
|
|
4
|
+
expandButtonClass: string;
|
|
5
|
+
expandOrCollapseNode: (e: MouseEvent) => void;
|
|
6
|
+
expandHolderPosition: string;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
+
type __VLS_TypePropsToOption<T> = {
|
|
12
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
+
} : {
|
|
15
|
+
type: import('vue').PropType<T[K]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { RGNode } from '../../../../../../relation-graph-models/types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
nodeProps: RGNode;
|
|
4
|
+
};
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
'node-expand-holder'?(_: {
|
|
9
|
+
node: RGNode;
|
|
10
|
+
expandButtonClass: string;
|
|
11
|
+
expandOrCollapseNode: (e: MouseEvent) => void;
|
|
12
|
+
expandHolderPosition: string;
|
|
13
|
+
}): any;
|
|
14
|
+
node?(_: {
|
|
15
|
+
node: RGNode;
|
|
16
|
+
}): any;
|
|
17
|
+
};
|
|
18
|
+
refs: {
|
|
19
|
+
nodePeelRef: HTMLDivElement;
|
|
20
|
+
};
|
|
21
|
+
rootEl: HTMLDivElement;
|
|
22
|
+
};
|
|
23
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
24
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
+
type __VLS_TypePropsToOption<T> = {
|
|
29
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
+
} : {
|
|
32
|
+
type: import('vue').PropType<T[K]>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
37
|
+
new (): {
|
|
38
|
+
$slots: S;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { RelationGraphFinal } from '../../../../../../relation-graph-models/models/RelationGraphFinal';
|
|
2
|
+
interface RGProviderProps {
|
|
3
|
+
relationGraphCore?: any;
|
|
4
|
+
}
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
7
|
+
slots: {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: any;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<RGProviderProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
onProviderReady: (graphInstance: RelationGraphFinal) => void;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<RGProviderProps>>> & Readonly<{
|
|
17
|
+
onOnProviderReady?: ((graphInstance: RelationGraphFinal) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
+
type __VLS_TypePropsToOption<T> = {
|
|
23
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
+
} : {
|
|
26
|
+
type: import('vue').PropType<T[K]>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
|
+
new (): {
|
|
32
|
+
$slots: S;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
'tool-bar'?(_: {}): any;
|
|
5
|
+
'svg-defs'?(_: {}): any;
|
|
6
|
+
node?(_: {
|
|
7
|
+
node: any;
|
|
8
|
+
}): any;
|
|
9
|
+
node?(_: {
|
|
10
|
+
node: any;
|
|
11
|
+
}): any;
|
|
12
|
+
line?(_: {
|
|
13
|
+
lineConfig: any;
|
|
14
|
+
}): any;
|
|
15
|
+
'canvas-plug'?(_: {}): any;
|
|
16
|
+
'canvas-plug-above'?(_: {}): any;
|
|
17
|
+
'node-expand-holder'?(_: {
|
|
18
|
+
node: any;
|
|
19
|
+
expandHolderPosition: any;
|
|
20
|
+
expandButtonClass: any;
|
|
21
|
+
color: any;
|
|
22
|
+
expandOrCollapseNode: any;
|
|
23
|
+
}): any;
|
|
24
|
+
'graph-plug'?(_: {}): any;
|
|
25
|
+
};
|
|
26
|
+
refs: {
|
|
27
|
+
relationGraphRef$: HTMLDivElement;
|
|
28
|
+
};
|
|
29
|
+
rootEl: HTMLDivElement;
|
|
30
|
+
};
|
|
31
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
32
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
33
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RelationLinker.vue.d.ts
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { RelationGraphFinal } from '../../../../../../relation-graph-models/models/RelationGraphFinal';
|
|
2
|
+
import { JsonLine, RGOptions } from '../../../../../../relation-graph-models/types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
options?: RGOptions;
|
|
5
|
+
links: JsonLine[];
|
|
6
|
+
relationGraphCore?: any;
|
|
7
|
+
};
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
attrs: Partial<{}>;
|
|
10
|
+
slots: {
|
|
11
|
+
'graph-plug'?(_: {}): any;
|
|
12
|
+
'svg-defs'?(_: {}): any;
|
|
13
|
+
line?(_: {
|
|
14
|
+
lineConfig: any;
|
|
15
|
+
}): any;
|
|
16
|
+
default?(_: {}): any;
|
|
17
|
+
};
|
|
18
|
+
refs: {};
|
|
19
|
+
rootEl: any;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
22
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>, {
|
|
23
|
+
getInstance(): any;
|
|
24
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
|
+
onReady: (graphInstance: RelationGraphFinal) => void;
|
|
26
|
+
onNodeClick: (node: import('../../../../../../relation-graph-models/types').RGNode, event: import('../../../../../../relation-graph-models/types').RGUserEvent) => void;
|
|
27
|
+
onNodeExpand: (node: import('../../../../../../relation-graph-models/types').RGNode, event: import('../../../../../../relation-graph-models/types').RGUserEvent) => void;
|
|
28
|
+
onNodeCollapse: (node: import('../../../../../../relation-graph-models/types').RGNode, event: import('../../../../../../relation-graph-models/types').RGUserEvent) => void;
|
|
29
|
+
onLineClick: (line: import('../../../../../../relation-graph-models/types').RGLine, link: import('../../../../../../relation-graph-models/types').RGLink, event: import('../../../../../../relation-graph-models/types').RGUserEvent) => void;
|
|
30
|
+
onNodeDragStart: (node: import('../../../../../../relation-graph-models/types').RGNode, event: import('../../../../../../relation-graph-models/types').RGUserEvent) => void;
|
|
31
|
+
onNodeDragEnd: (node: import('../../../../../../relation-graph-models/types').RGNode, event: import('../../../../../../relation-graph-models/types').RGUserEvent, x_buff: number, y_buff: number) => void;
|
|
32
|
+
onNodeDragging: (node: import('../../../../../../relation-graph-models/types').RGNode, newX: number, newY: number, buffX: number, buffY: number, event: import('../../../../../../relation-graph-models/types').RGUserEvent) => void;
|
|
33
|
+
onCanvasDragEnd: (event: import('../../../../../../relation-graph-models/types').RGUserEvent) => void;
|
|
34
|
+
onCanvasDragging: (newX: number, newY: number, buffX: number, buffY: number) => void;
|
|
35
|
+
onContextmenu: (event: import('../../../../../../relation-graph-models/types').RGUserEvent, objectType: import('../../../../../../relation-graph-models/types').RGEventTargetType, object: import('../../../../../../relation-graph-models/types').RGNode | import('../../../../../../relation-graph-models/types').RGLine | undefined, eventPositionOnCanvas: import('../../../../../../relation-graph-models/types').RGCoordinate, eventPositionOnView: import('../../../../../../relation-graph-models/types').RGCoordinate) => void;
|
|
36
|
+
onFullscreen: (newValue: boolean, defaultFullscreen: () => Promise<void>) => void;
|
|
37
|
+
onCanvasClick: (event: import('../../../../../../relation-graph-models/types').RGUserEvent) => void;
|
|
38
|
+
onCanvasSelectionEnd: (selectionView: import('../../../../../../relation-graph-models/types').RGSelectionView, event: import('../../../../../../relation-graph-models/types').RGUserEvent) => void;
|
|
39
|
+
beforeZoomStart: () => void;
|
|
40
|
+
onZoomEnd: () => void;
|
|
41
|
+
onImageDownload: (dom: HTMLElement, format: string) => void;
|
|
42
|
+
onImageSaveAsFile: (canvas: HTMLCanvasElement, format: string, fileName: string) => void;
|
|
43
|
+
onViewResize: () => void;
|
|
44
|
+
onResizeStart: (nodes: import('../../../../../../relation-graph-models/types').RGNode[], event: import('../../../../../../relation-graph-models/types').RGUserEvent) => void;
|
|
45
|
+
beforeNodeResize: (node: import('../../../../../../relation-graph-models/types').RGNode, newX: number, newY: number, newW: number, newH: number) => void;
|
|
46
|
+
onResizeEnd: (nodes: import('../../../../../../relation-graph-models/types').RGNode[], buffX: number, buffY: number, event: import('../../../../../../relation-graph-models/types').RGUserEvent) => void;
|
|
47
|
+
onLineVertexDropped: (lineInfo: {
|
|
48
|
+
newLineTemplate: JsonLine;
|
|
49
|
+
fromNode: import('../../../../../../relation-graph-models/types').RGLineTarget | import('../../../../../../relation-graph-models/types').RGNode;
|
|
50
|
+
toNode: import('../../../../../../relation-graph-models/types').RGLineTarget | import('../../../../../../relation-graph-models/types').RGNode;
|
|
51
|
+
}) => void;
|
|
52
|
+
beforeCreateLine: (lineInfo: {
|
|
53
|
+
lineJson: JsonLine;
|
|
54
|
+
fromNode: import('../../../../../../relation-graph-models/types').RGLineTarget | import('../../../../../../relation-graph-models/types').RGNode;
|
|
55
|
+
toNode: import('../../../../../../relation-graph-models/types').RGLineTarget | import('../../../../../../relation-graph-models/types').RGNode;
|
|
56
|
+
}) => void;
|
|
57
|
+
onLineBeCreated: (lineInfo: {
|
|
58
|
+
lineJson: JsonLine;
|
|
59
|
+
fromNode: import('../../../../../../relation-graph-models/types').RGLineTarget | import('../../../../../../relation-graph-models/types').RGNode;
|
|
60
|
+
toNode: import('../../../../../../relation-graph-models/types').RGLineTarget | import('../../../../../../relation-graph-models/types').RGNode;
|
|
61
|
+
}) => void;
|
|
62
|
+
beforeAddNodes: (nodes: import('../../../../../../relation-graph-models/types').JsonNode[]) => void;
|
|
63
|
+
beforeAddLines: (lines: JsonLine[]) => void;
|
|
64
|
+
onKeyboardDown: (event: KeyboardEvent) => void;
|
|
65
|
+
onKeyboardUp: (event: KeyboardEvent) => void;
|
|
66
|
+
onCanvasDragStart: (canvasMoveStartPosition: import('../../../../../../relation-graph-models/types').RGCoordinate, eventClientStartPosition: import('../../../../../../relation-graph-models/types').RGCoordinate, event: import('../../../../../../relation-graph-models/types').RGUserEvent) => void;
|
|
67
|
+
onForceLayoutFinish: () => void;
|
|
68
|
+
beforeScrollStart: (buffX: number, buffY: number, event: Event) => void;
|
|
69
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_Props>>> & Readonly<{
|
|
70
|
+
onOnReady?: ((graphInstance: RelationGraphFinal) => any) | undefined;
|
|
71
|
+
onOnNodeClick?: ((node: import('../../../../../../relation-graph-models/types').RGNode, event: import('../../../../../../relation-graph-models/types').RGUserEvent) => any) | undefined;
|
|
72
|
+
onOnNodeExpand?: ((node: import('../../../../../../relation-graph-models/types').RGNode, event: import('../../../../../../relation-graph-models/types').RGUserEvent) => any) | undefined;
|
|
73
|
+
onOnNodeCollapse?: ((node: import('../../../../../../relation-graph-models/types').RGNode, event: import('../../../../../../relation-graph-models/types').RGUserEvent) => any) | undefined;
|
|
74
|
+
onOnLineClick?: ((line: import('../../../../../../relation-graph-models/types').RGLine, link: import('../../../../../../relation-graph-models/types').RGLink, event: import('../../../../../../relation-graph-models/types').RGUserEvent) => any) | undefined;
|
|
75
|
+
onOnNodeDragStart?: ((node: import('../../../../../../relation-graph-models/types').RGNode, event: import('../../../../../../relation-graph-models/types').RGUserEvent) => any) | undefined;
|
|
76
|
+
onOnNodeDragEnd?: ((node: import('../../../../../../relation-graph-models/types').RGNode, event: import('../../../../../../relation-graph-models/types').RGUserEvent, x_buff: number, y_buff: number) => any) | undefined;
|
|
77
|
+
onOnNodeDragging?: ((node: import('../../../../../../relation-graph-models/types').RGNode, newX: number, newY: number, buffX: number, buffY: number, event: import('../../../../../../relation-graph-models/types').RGUserEvent) => any) | undefined;
|
|
78
|
+
onOnCanvasDragEnd?: ((event: import('../../../../../../relation-graph-models/types').RGUserEvent) => any) | undefined;
|
|
79
|
+
onOnCanvasDragging?: ((newX: number, newY: number, buffX: number, buffY: number) => any) | undefined;
|
|
80
|
+
onOnContextmenu?: ((event: import('../../../../../../relation-graph-models/types').RGUserEvent, objectType: import('../../../../../../relation-graph-models/types').RGEventTargetType, object: import('../../../../../../relation-graph-models/types').RGNode | import('../../../../../../relation-graph-models/types').RGLine | undefined, eventPositionOnCanvas: import('../../../../../../relation-graph-models/types').RGCoordinate, eventPositionOnView: import('../../../../../../relation-graph-models/types').RGCoordinate) => any) | undefined;
|
|
81
|
+
onOnFullscreen?: ((newValue: boolean, defaultFullscreen: () => Promise<void>) => any) | undefined;
|
|
82
|
+
onOnCanvasClick?: ((event: import('../../../../../../relation-graph-models/types').RGUserEvent) => any) | undefined;
|
|
83
|
+
onOnCanvasSelectionEnd?: ((selectionView: import('../../../../../../relation-graph-models/types').RGSelectionView, event: import('../../../../../../relation-graph-models/types').RGUserEvent) => any) | undefined;
|
|
84
|
+
onBeforeZoomStart?: (() => any) | undefined;
|
|
85
|
+
onOnZoomEnd?: (() => any) | undefined;
|
|
86
|
+
onOnImageDownload?: ((dom: HTMLElement, format: string) => any) | undefined;
|
|
87
|
+
onOnImageSaveAsFile?: ((canvas: HTMLCanvasElement, format: string, fileName: string) => any) | undefined;
|
|
88
|
+
onOnViewResize?: (() => any) | undefined;
|
|
89
|
+
onOnResizeStart?: ((nodes: import('../../../../../../relation-graph-models/types').RGNode[], event: import('../../../../../../relation-graph-models/types').RGUserEvent) => any) | undefined;
|
|
90
|
+
onBeforeNodeResize?: ((node: import('../../../../../../relation-graph-models/types').RGNode, newX: number, newY: number, newW: number, newH: number) => any) | undefined;
|
|
91
|
+
onOnResizeEnd?: ((nodes: import('../../../../../../relation-graph-models/types').RGNode[], buffX: number, buffY: number, event: import('../../../../../../relation-graph-models/types').RGUserEvent) => any) | undefined;
|
|
92
|
+
onOnLineVertexDropped?: ((lineInfo: {
|
|
93
|
+
newLineTemplate: JsonLine;
|
|
94
|
+
fromNode: import('../../../../../../relation-graph-models/types').RGLineTarget | import('../../../../../../relation-graph-models/types').RGNode;
|
|
95
|
+
toNode: import('../../../../../../relation-graph-models/types').RGLineTarget | import('../../../../../../relation-graph-models/types').RGNode;
|
|
96
|
+
}) => any) | undefined;
|
|
97
|
+
onBeforeCreateLine?: ((lineInfo: {
|
|
98
|
+
lineJson: JsonLine;
|
|
99
|
+
fromNode: import('../../../../../../relation-graph-models/types').RGLineTarget | import('../../../../../../relation-graph-models/types').RGNode;
|
|
100
|
+
toNode: import('../../../../../../relation-graph-models/types').RGLineTarget | import('../../../../../../relation-graph-models/types').RGNode;
|
|
101
|
+
}) => any) | undefined;
|
|
102
|
+
onOnLineBeCreated?: ((lineInfo: {
|
|
103
|
+
lineJson: JsonLine;
|
|
104
|
+
fromNode: import('../../../../../../relation-graph-models/types').RGLineTarget | import('../../../../../../relation-graph-models/types').RGNode;
|
|
105
|
+
toNode: import('../../../../../../relation-graph-models/types').RGLineTarget | import('../../../../../../relation-graph-models/types').RGNode;
|
|
106
|
+
}) => any) | undefined;
|
|
107
|
+
onBeforeAddNodes?: ((nodes: import('../../../../../../relation-graph-models/types').JsonNode[]) => any) | undefined;
|
|
108
|
+
onBeforeAddLines?: ((lines: JsonLine[]) => any) | undefined;
|
|
109
|
+
onOnKeyboardDown?: ((event: KeyboardEvent) => any) | undefined;
|
|
110
|
+
onOnKeyboardUp?: ((event: KeyboardEvent) => any) | undefined;
|
|
111
|
+
onOnCanvasDragStart?: ((canvasMoveStartPosition: import('../../../../../../relation-graph-models/types').RGCoordinate, eventClientStartPosition: import('../../../../../../relation-graph-models/types').RGCoordinate, event: import('../../../../../../relation-graph-models/types').RGUserEvent) => any) | undefined;
|
|
112
|
+
onOnForceLayoutFinish?: (() => any) | undefined;
|
|
113
|
+
onBeforeScrollStart?: ((buffX: number, buffY: number, event: Event) => any) | undefined;
|
|
114
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
115
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
116
|
+
export default _default;
|
|
117
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
118
|
+
type __VLS_TypePropsToOption<T> = {
|
|
119
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
120
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
121
|
+
} : {
|
|
122
|
+
type: import('vue').PropType<T[K]>;
|
|
123
|
+
required: true;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
127
|
+
new (): {
|
|
128
|
+
$slots: S;
|
|
129
|
+
};
|
|
130
|
+
};
|
package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RelationLinkerCanvas.vue.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
'canvas-plug-behind'?(_: {}): any;
|
|
5
|
+
'svg-defs'?(_: {}): any;
|
|
6
|
+
line?(_: {
|
|
7
|
+
lineConfig: any;
|
|
8
|
+
}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {
|
|
11
|
+
rgCanvasRef: HTMLDivElement;
|
|
12
|
+
};
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RelationLinkerView.vue.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
'svg-defs'?(_: {}): any;
|
|
5
|
+
line?(_: {
|
|
6
|
+
lineConfig: any;
|
|
7
|
+
}): any;
|
|
8
|
+
'canvas-plug-behind'?(_: {}): any;
|
|
9
|
+
'graph-plug'?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {
|
|
12
|
+
relationGraphRef$: HTMLDivElement;
|
|
13
|
+
};
|
|
14
|
+
rootEl: HTMLDivElement;
|
|
15
|
+
};
|
|
16
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { JsonLine, JsonLineTemplate, RGLineTarget, RGNode, RGUserEvent } from '../../../../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
fromNode?: RGNode;
|
|
4
|
+
lineTemplate: JsonLineTemplate;
|
|
5
|
+
};
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: HTMLDivElement;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
onConnectStart: (fromNode?: RGNode | RGLineTarget | undefined, newLineTemplate?: Partial<JsonLine> | undefined, event?: RGUserEvent | undefined) => void;
|
|
17
|
+
onLineConnectEnd: (fromNode: RGNode | RGLineTarget, toNode: import('packages/relation-graph-models/types').RGCoordinate | RGNode | RGLineTarget, newLineJson?: JsonLine | undefined) => void;
|
|
18
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {}>>> & Readonly<{
|
|
19
|
+
onOnConnectStart?: ((fromNode?: RGNode | RGLineTarget | undefined, newLineTemplate?: Partial<JsonLine> | undefined, event?: RGUserEvent | undefined) => any) | undefined;
|
|
20
|
+
onOnLineConnectEnd?: ((fromNode: RGNode | RGLineTarget, toNode: import('packages/relation-graph-models/types').RGCoordinate | RGNode | RGLineTarget, newLineJson?: JsonLine | undefined) => any) | undefined;
|
|
21
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
22
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_WithDefaults<P, D> = {
|
|
25
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
26
|
+
default: D[K];
|
|
27
|
+
}> : P[K];
|
|
28
|
+
};
|
|
29
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
30
|
+
type __VLS_TypePropsToOption<T> = {
|
|
31
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
32
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
33
|
+
} : {
|
|
34
|
+
type: import('vue').PropType<T[K]>;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
39
|
+
new (): {
|
|
40
|
+
$slots: S;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
type __VLS_PrettifyLocal<T> = {
|
|
44
|
+
[K in keyof T]: T[K];
|
|
45
|
+
} & {};
|