@relation-graph/react 3.0.2 → 3.0.4
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/package.json +1 -1
- package/relation-graph.js +9 -9
- package/relation-graph.mjs +2040 -1798
- package/relation-graph.umd.js +9 -9
- package/types/packages/platforms/react/src/index.d.ts +6 -1
- package/types/packages/platforms/react/src/relation-graph/src/core4react/RGCanvas.d.ts +1 -0
- package/types/packages/platforms/svelte/src/core4svelte/RelationGraphWithProvider.svelte.d.ts +1 -0
- package/types/packages/platforms/vue2/src/core4vue/editing/RGConnectTarget.vue.d.ts +41 -2
- package/types/packages/platforms/vue2/src/core4vue/editing/RGEditingLineController.vue.d.ts +7 -0
- package/types/packages/platforms/vue2/src/index.d.ts +47 -2
- package/types/packages/relation-graph-models/data/RGDataDefine.d.ts +2 -2
- package/types/packages/relation-graph-models/data/RGDataGetter.d.ts +3 -3
- package/types/packages/relation-graph-models/data/RGDataProvider.d.ts +3 -3
- package/types/packages/relation-graph-models/data/RGNodeDataUtils.d.ts +2 -2
- package/types/packages/relation-graph-models/data/RGOptionsDataUtils.d.ts +0 -2
- package/types/packages/relation-graph-models/layouts/RGForceLayout.d.ts +18 -13
- package/types/packages/relation-graph-models/layouts/analyzers/BasicNetworkAnalyzer.d.ts +1 -0
- package/types/packages/relation-graph-models/layouts/tmp/old.d.ts +1 -0
- package/types/packages/relation-graph-models/models/RelationGraphBase.d.ts +2 -2
- package/types/packages/relation-graph-models/models/RelationGraphWith1View.d.ts +5 -0
- package/types/packages/relation-graph-models/models/RelationGraphWith2Data.d.ts +2 -0
- package/types/packages/relation-graph-models/models/RelationGraphWith2Data1Getter.d.ts +2 -1
- package/types/packages/relation-graph-models/models/RelationGraphWith2Data4ConnectTarget.d.ts +3 -3
- package/types/packages/relation-graph-models/models/RelationGraphWith4Line.d.ts +1 -0
- package/types/packages/relation-graph-models/models/RelationGraphWith6Effect.d.ts +2 -0
- package/types/packages/relation-graph-models/models/RelationGraphWith6Layout.d.ts +5 -1
- package/types/packages/relation-graph-models/models/RelationGraphWith93Image.d.ts +2 -0
- package/types/packages/relation-graph-models/models/RelationGraphWith95Dom.d.ts +4 -0
- package/types/packages/relation-graph-models/models/RelationGraphWith99API.d.ts +1 -1
- package/types/packages/relation-graph-models/utils/line/RGPathGeneratorFor8.d.ts +2 -0
- package/types/packages/types.ts +34 -29
- package/types/packages/platforms/react/src/relation-graph/RGPovider.d.ts +0 -7
- package/types/packages/platforms/react/src/relation-graph/src/core4react/RelationLinkerContent.d.ts +0 -4
- package/types/packages/platforms/react/src/relation-graph/src/core4react/RelationView.d.ts +0 -4
- package/types/packages/platforms/react/src/relation-graph/src/core4react/slots/NewCanvas.d.ts +0 -20
- package/types/packages/platforms/react/src/relation-graph/src/core4react/slots/NewCanvasV2.d.ts +0 -1
- package/types/packages/platforms/react/src/relation-graph/src/core4react/slots/NewCanvasV3.d.ts +0 -1
- package/types/packages/platforms/react/src/relation-graph/src/core4react/slots/RGSlotOnSVGDefs.d.ts +0 -3
- package/types/packages/platforms/react/src/relation-graph/src/core4react/slots/RGSlotOnToolbar.d.ts +0 -3
- package/types/packages/platforms/react/src/relation-graph/src/core4react/store/reducers/StockStore.d.ts +0 -8
- package/types/packages/platforms/react/src/relation-graph/src/core4react/widgets/GraphDebugPanel.d.ts +0 -3
- package/types/packages/platforms/react/src/types.d.ts +0 -1
- package/types/packages/platforms/react/vite.config.d.ts +0 -2
- package/types/packages/platforms/vue2/src/core4vue/RGLineText.vue.d.ts +0 -33
- package/types/packages/platforms/vue2/src/core4vue/widgets/GraphDebugPanel.vue.d.ts +0 -12
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RGCanvas.vue.d.ts +0 -34
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RGCanvasContent.vue.d.ts +0 -37
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RGEasyView.vue.d.ts +0 -2
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RGFakeNode.vue.d.ts +0 -32
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RGGraphDefs.vue.d.ts +0 -29
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RGLineContent.vue.d.ts +0 -12
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RGLinePath.vue.d.ts +0 -16
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RGLinePeel.vue.d.ts +0 -29
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RGLineText.vue.d.ts +0 -27
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RGNodeExpandHolder.vue.d.ts +0 -18
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RGNodePeel.vue.d.ts +0 -40
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RGProvider.vue.d.ts +0 -34
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RelationGraph.vue.d.ts +0 -39
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RelationLinker.vue.d.ts +0 -130
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RelationLinkerCanvas.vue.d.ts +0 -23
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RelationLinkerView.vue.d.ts +0 -24
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/editing/RGConnectSource.vue.d.ts +0 -45
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/editing/RGConnectTarget.vue.d.ts +0 -46
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/editing/RGEditingConnectController.vue.d.ts +0 -23
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/editing/RGEditingConnectPoints.vue.d.ts +0 -16
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/editing/RGEditingLineController.vue.d.ts +0 -56
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/editing/RGEditingNearNodeWidget.vue.d.ts +0 -30
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/editing/RGEditingNodeController.vue.d.ts +0 -17
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/editing/RGEditingReferenceLine.vue.d.ts +0 -15
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/editing/RGEditingResize.vue.d.ts +0 -19
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/editing/RGMiniView.vue.d.ts +0 -17
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/index.vue.d.ts +0 -143
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/widgets/GraphBackground.vue.d.ts +0 -49
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/widgets/GraphDebugPanel.vue.d.ts +0 -2
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/widgets/GraphLoading.vue.d.ts +0 -2
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/widgets/GraphMoveOperator.vue.d.ts +0 -2
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/widgets/GraphOperateStuff.vue.d.ts +0 -19
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/widgets/GraphToolBar.vue.d.ts +0 -31
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/widgets/GraphWatermark.vue.d.ts +0 -56
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/widgets/GraphXsToolBar.vue.d.ts +0 -31
- package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/widgets/RGIcons.vue.d.ts +0 -15
- package/types/packages/relation-graph-models/layouters/RGBaseLayouter.d.ts +0 -36
- package/types/packages/relation-graph-models/layouters/RGCenterLayouter.d.ts +0 -12
- package/types/packages/relation-graph-models/layouters/RGCircleLayouter.d.ts +0 -8
- package/types/packages/relation-graph-models/layouters/RGFixedLayouter.d.ts +0 -11
- package/types/packages/relation-graph-models/layouters/RGFolderLayouter.d.ts +0 -17
- package/types/packages/relation-graph-models/layouters/RGForceLayouter.d.ts +0 -71
- package/types/packages/relation-graph-models/layouters/RGForceLayouterV2.d.ts +0 -59
- package/types/packages/relation-graph-models/layouters/RGSmartTreeLayouter.d.ts +0 -16
- package/types/packages/relation-graph-models/layouters/RGTreeLayouter.d.ts +0 -18
- package/types/packages/relation-graph-models/models/RGLineDataUtils.d.ts +0 -9
- package/types/packages/relation-graph-models/models/RGNodeDataUtils.d.ts +0 -14
- package/types/packages/relation-graph-models/models/RGOptionsDataUtils.d.ts +0 -11
- package/types/packages/relation-graph-models/models/RelationGraphFinal.d.ts +0 -11
- package/types/packages/relation-graph-models/models/RelationGraphReact.d.ts +0 -5
- package/types/packages/relation-graph-models/models/RelationGraphWith1Dom.d.ts +0 -76
- package/types/packages/relation-graph-models/models/RelationGraphWith3Image.d.ts +0 -20
- package/types/packages/relation-graph-models/models/RelationGraphWith8Update.d.ts +0 -23
- package/types/packages/relation-graph-models/types.d.ts +0 -903
- package/types/react.d.ts +0 -201
- package/types/svelte.d.ts +0 -170
- package/types/vue2.d.ts +0 -862
- package/types/vue3.d.ts +0 -1246
package/types/packages/types.ts
CHANGED
|
@@ -69,7 +69,7 @@ export enum RGJunctionPoint {
|
|
|
69
69
|
* Data type used internally by relation-graph to manage connection points
|
|
70
70
|
* @inner This type is used internally by relation-graph and is not recommended for direct use by users
|
|
71
71
|
*/
|
|
72
|
-
export type
|
|
72
|
+
export type RGConnectTargetData = {
|
|
73
73
|
targetId: string;
|
|
74
74
|
targetType: string;
|
|
75
75
|
nodeId?: string;
|
|
@@ -247,6 +247,7 @@ export type RGNode = Omit<JsonNode, 'children'> & RGRectTarget & {
|
|
|
247
247
|
x: number
|
|
248
248
|
y: number
|
|
249
249
|
nodeShape: RGNodeShape
|
|
250
|
+
data: Record<string, any>
|
|
250
251
|
lot: {
|
|
251
252
|
childs: RGNode[]
|
|
252
253
|
parent?: RGNode | undefined
|
|
@@ -269,9 +270,9 @@ export type RGNode = Omit<JsonNode, 'children'> & RGRectTarget & {
|
|
|
269
270
|
x?: number
|
|
270
271
|
y?: number
|
|
271
272
|
}
|
|
272
|
-
rgChildrenSize
|
|
273
|
-
rgShouldRender
|
|
274
|
-
rgCalcedVisibility
|
|
273
|
+
rgChildrenSize: number
|
|
274
|
+
rgShouldRender: boolean
|
|
275
|
+
rgCalcedVisibility: boolean
|
|
275
276
|
}
|
|
276
277
|
/**
|
|
277
278
|
* JSON line type for relation-graph
|
|
@@ -293,7 +294,7 @@ export type RGNode = Omit<JsonNode, 'children'> & RGRectTarget & {
|
|
|
293
294
|
* ```
|
|
294
295
|
*/
|
|
295
296
|
export type JsonLine = {
|
|
296
|
-
id
|
|
297
|
+
id: string
|
|
297
298
|
from: string
|
|
298
299
|
to: string
|
|
299
300
|
text?: string
|
|
@@ -314,7 +315,6 @@ export type JsonLine = {
|
|
|
314
315
|
startMarkerId?: string
|
|
315
316
|
endMarkerId?: string
|
|
316
317
|
useTextOnPath?: boolean
|
|
317
|
-
onPathStartOffset?: string
|
|
318
318
|
placeText?: 'start'|'center'|'end'
|
|
319
319
|
textAnchor?: string
|
|
320
320
|
lineDirection?: string
|
|
@@ -323,8 +323,8 @@ export type JsonLine = {
|
|
|
323
323
|
data?: Record<string, any>
|
|
324
324
|
cssVars?: Record<string, any>
|
|
325
325
|
force_elastic?: number
|
|
326
|
-
|
|
327
|
-
|
|
326
|
+
textOffsetX?: number
|
|
327
|
+
textOffsetY?: number
|
|
328
328
|
animation?: number
|
|
329
329
|
dashType?: number
|
|
330
330
|
lineRadius?: number
|
|
@@ -332,10 +332,10 @@ export type JsonLine = {
|
|
|
332
332
|
junctionOffset?: number
|
|
333
333
|
fromJunctionPoint?: RGJunctionPoint
|
|
334
334
|
toJunctionPoint?: RGJunctionPoint
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
335
|
+
fromJunctionPointOffsetX?: number
|
|
336
|
+
fromJunctionPointOffsetY?: number
|
|
337
|
+
toJunctionPointOffsetX?: number
|
|
338
|
+
toJunctionPointOffsetY?: number
|
|
339
339
|
hidden?: boolean
|
|
340
340
|
}
|
|
341
341
|
/**
|
|
@@ -401,7 +401,7 @@ export type RGJsonData = {
|
|
|
401
401
|
rootId?: string
|
|
402
402
|
nodes: JsonNode[]
|
|
403
403
|
lines: JsonLine[]
|
|
404
|
-
fakeLines?:
|
|
404
|
+
fakeLines?: JsonLine[]
|
|
405
405
|
};
|
|
406
406
|
/**
|
|
407
407
|
* RGGraphData is the internal data structure used by relation-graph to manage graph data
|
|
@@ -479,9 +479,10 @@ export type RGLayoutOptions4Alignment = {
|
|
|
479
479
|
export type RGLayoutOptionsCore = RGLayoutOptions4Alignment & {
|
|
480
480
|
layoutName: string;
|
|
481
481
|
layoutDirection?: 'h' | 'v';
|
|
482
|
-
fixedRootNode?: boolean
|
|
483
|
-
autoLayouting?: boolean
|
|
484
|
-
supportAutoLayout?: boolean
|
|
482
|
+
fixedRootNode?: boolean;
|
|
483
|
+
autoLayouting?: boolean;
|
|
484
|
+
supportAutoLayout?: boolean;
|
|
485
|
+
rotate?: number;
|
|
485
486
|
};
|
|
486
487
|
/**
|
|
487
488
|
* Force-directed layout options type
|
|
@@ -503,13 +504,13 @@ export type RGForceLayoutOptions = RGLayoutOptionsCore & {
|
|
|
503
504
|
};
|
|
504
505
|
/**
|
|
505
506
|
* Center layout options type
|
|
506
|
-
* -
|
|
507
|
+
* - distanceCoefficient: Coefficient for calculating the ideal distance between nodes, default is 1. The larger this value, the greater the ideal distance between nodes, and the more dispersed the layout will be.
|
|
507
508
|
* - disableAsForceLayout: CenterLayout extends ForceLayout. If you want to use CenterLayout as a pure center layout without force-directed layout capabilities, you can set this option to true to disable the force-directed layout features.
|
|
508
|
-
* -
|
|
509
|
+
* - levelGaps: Array of distances between levels, default is []. You can set the distance between different levels of nodes in the tree structure. For example, [100, 200, 300] means the distance between level 0 and level 1 is 100, the distance between level 1 and level 2 is 200, and the distance between level 2 and level 3 is 300. If the array length is less than the number of levels, the last value will be used for the remaining levels.
|
|
509
510
|
*/
|
|
510
511
|
export type RGCenterLayoutOptions = RGForceLayoutOptions & {
|
|
511
|
-
|
|
512
|
-
|
|
512
|
+
distanceCoefficient?: number
|
|
513
|
+
levelGaps?: number[]
|
|
513
514
|
disableAsForceLayout?: boolean;
|
|
514
515
|
};
|
|
515
516
|
/**
|
|
@@ -525,7 +526,7 @@ export type RGCenterLayoutOptions = RGForceLayoutOptions & {
|
|
|
525
526
|
* - alignParentItemsY: Alignment of parent nodes in the Y direction, 'start' means top-aligned, 'center' means center-aligned, and 'end' means bottom-aligned. Default is 'center'.
|
|
526
527
|
*/
|
|
527
528
|
export type RGTreeLayoutOptions = RGLayoutOptionsCore & {
|
|
528
|
-
from?:
|
|
529
|
+
from?: 'left'|'top'|'right'|'bottom'
|
|
529
530
|
treeNodeGapH?: number
|
|
530
531
|
treeNodeGapV?: number
|
|
531
532
|
levelGaps?: number[]
|
|
@@ -590,9 +591,9 @@ export type RGOptionsInited = {
|
|
|
590
591
|
canvasMoveMode: boolean
|
|
591
592
|
disableNodePointEvent: boolean
|
|
592
593
|
disableLinePointEvent: boolean
|
|
593
|
-
toolBarDirection:
|
|
594
|
-
toolBarPositionH:
|
|
595
|
-
toolBarPositionV:
|
|
594
|
+
toolBarDirection: 'h'|'v'
|
|
595
|
+
toolBarPositionH: 'left'|'center'|'right'
|
|
596
|
+
toolBarPositionV: 'top'|'center'|'bottom'
|
|
596
597
|
defaultExpandHolderPosition: 'hide' | 'left' | 'top' | 'right' | 'bottom'
|
|
597
598
|
defaultNodeColor: string
|
|
598
599
|
defaultNodeBorderColor: string,
|
|
@@ -602,8 +603,8 @@ export type RGOptionsInited = {
|
|
|
602
603
|
defaultNodeWidth?: number
|
|
603
604
|
defaultNodeHeight?: number
|
|
604
605
|
checkedItemBackgroundColor?: string //
|
|
605
|
-
|
|
606
|
-
|
|
606
|
+
defaultLineTextOffsetX?: number,
|
|
607
|
+
defaultLineTextOffsetY?: number,
|
|
607
608
|
defaultLineColor: string
|
|
608
609
|
defaultLineWidth: number
|
|
609
610
|
defaultLineShape?: RGLineShape
|
|
@@ -859,6 +860,7 @@ export interface RGWidgetProps {
|
|
|
859
860
|
*/
|
|
860
861
|
export interface RGEditingLineControllerProps {
|
|
861
862
|
textEditable?: boolean
|
|
863
|
+
pathEditable?: boolean
|
|
862
864
|
onMoveLineVertexStart?: (type: RGLineEditPoint, line: RGLine) => void
|
|
863
865
|
onMoveLineVertexEnd?: RGLineVertexBeDroppedEventHandler
|
|
864
866
|
onLinePathChanged?: (line: RGLine, params: any) => void
|
|
@@ -886,7 +888,7 @@ export type CreatingLinePlotOptions = {
|
|
|
886
888
|
onCreateLine: RGLineConnectEventHandler | undefined
|
|
887
889
|
isReverse?: boolean,
|
|
888
890
|
template?: JsonLineLike
|
|
889
|
-
fromNode?: RGLineTarget
|
|
891
|
+
fromNode?: RGNode | RGLineTarget
|
|
890
892
|
};
|
|
891
893
|
/**
|
|
892
894
|
* @inner
|
|
@@ -964,7 +966,7 @@ export interface RGConnectSourceProps {
|
|
|
964
966
|
* ```
|
|
965
967
|
*/
|
|
966
968
|
export interface RGConnectTargetProps {
|
|
967
|
-
junctionPoint
|
|
969
|
+
junctionPoint?: RGJunctionPoint;
|
|
968
970
|
targetId: string;
|
|
969
971
|
targetType?: string;
|
|
970
972
|
targetData?: Record<string, any>;
|
|
@@ -975,6 +977,7 @@ export interface RGConnectTargetProps {
|
|
|
975
977
|
onDragConnectStart?: (newLineTemplate?: JsonLineLike, event?: RGUserEvent) => void;
|
|
976
978
|
onDragConnectEnd?: RGLineConnectEventHandler; // default is true
|
|
977
979
|
className?: string;
|
|
980
|
+
forSvg?: boolean;
|
|
978
981
|
style?: Record<string, string | number | undefined>,
|
|
979
982
|
}
|
|
980
983
|
|
|
@@ -1108,7 +1111,9 @@ export type ReactiveDataStores = {
|
|
|
1108
1111
|
optionsRef?: any, // Store Vue reactive data
|
|
1109
1112
|
shouldRenderNodesRef?: any, // Store Vue reactive data
|
|
1110
1113
|
shouldRenderLinesRef?: any, // Store Vue reactive data
|
|
1111
|
-
shouldRenderFakeLinesRef?: any // Store Vue reactive data
|
|
1114
|
+
shouldRenderFakeLinesRef?: any, // Store Vue reactive data
|
|
1115
|
+
textContainer4NormalRef?:any,
|
|
1116
|
+
textContainer4FakeLineRef?:any
|
|
1112
1117
|
}
|
|
1113
1118
|
/**
|
|
1114
1119
|
* @inner
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { RelationGraphInstance } from '../../../../relation-graph-models/types';
|
|
3
|
-
declare const RGProvider: React.FC<{
|
|
4
|
-
relationGraphCore?: any;
|
|
5
|
-
onProviderReady?: (instance: RelationGraphInstance) => void;
|
|
6
|
-
}>;
|
|
7
|
-
export default RGProvider;
|
package/types/packages/platforms/react/src/relation-graph/src/core4react/slots/NewCanvas.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description 用於標記工具區內容的容器。
|
|
3
|
-
*/
|
|
4
|
-
export declare const ToolPanel: ({ children }: {
|
|
5
|
-
children: any;
|
|
6
|
-
}) => any;
|
|
7
|
-
/**
|
|
8
|
-
* @description 用於標記畫布內容的容器。
|
|
9
|
-
*/
|
|
10
|
-
export declare const CanvasItems: ({ children }: {
|
|
11
|
-
children: any;
|
|
12
|
-
}) => any;
|
|
13
|
-
/**
|
|
14
|
-
* @description 關係圖主組件
|
|
15
|
-
* - 負責接收所有子元素,並將它們分類到 "工具區" 或 "畫布區"。
|
|
16
|
-
*/
|
|
17
|
-
export declare const RelationGraph: ({ children }: {
|
|
18
|
-
children: any;
|
|
19
|
-
}) => JSX.Element;
|
|
20
|
-
export default function App(): JSX.Element;
|
package/types/packages/platforms/react/src/relation-graph/src/core4react/slots/NewCanvasV2.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function App(): JSX.Element;
|
package/types/packages/platforms/react/src/relation-graph/src/core4react/slots/NewCanvasV3.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function App(): JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { RelationGraphInstance } from '../../../../../../../../relation-graph-models/types';
|
|
3
|
-
export type RGUpdateAction = (rgInstance: RelationGraphInstance) => void;
|
|
4
|
-
export type RelationGraphReducer = (state: RelationGraphInstance, action: RGUpdateAction) => RelationGraphInstance;
|
|
5
|
-
export declare const relationGraphReducer: RelationGraphReducer;
|
|
6
|
-
export declare const RelationGraphStoreContext: React.Context<RelationGraphInstance>;
|
|
7
|
-
export declare const RGUpdateContext: React.Context<((v?: RelationGraphInstance) => void)>;
|
|
8
|
-
export declare const RGUpdateSignalContext: React.Context<number>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '../../../relation-graph-models/types';
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
|
2
|
-
lineConfig: {
|
|
3
|
-
mustUseProp: boolean;
|
|
4
|
-
default: () => {};
|
|
5
|
-
type: ObjectConstructor;
|
|
6
|
-
};
|
|
7
|
-
linePathInfo: {
|
|
8
|
-
mustUseProp: boolean;
|
|
9
|
-
default: () => {};
|
|
10
|
-
type: ObjectConstructor;
|
|
11
|
-
};
|
|
12
|
-
}, {}, {}, {
|
|
13
|
-
options(): any;
|
|
14
|
-
line(): any;
|
|
15
|
-
textStyle(): any;
|
|
16
|
-
}, {
|
|
17
|
-
onLineClick(e: any): void;
|
|
18
|
-
}, import('vue/types/v3-component-options').ComponentOptionsMixin, import('vue/types/v3-component-options').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<{
|
|
19
|
-
lineConfig: {
|
|
20
|
-
mustUseProp: boolean;
|
|
21
|
-
default: () => {};
|
|
22
|
-
type: ObjectConstructor;
|
|
23
|
-
};
|
|
24
|
-
linePathInfo: {
|
|
25
|
-
mustUseProp: boolean;
|
|
26
|
-
default: () => {};
|
|
27
|
-
type: ObjectConstructor;
|
|
28
|
-
};
|
|
29
|
-
}>>, {
|
|
30
|
-
lineConfig: Record<string, any>;
|
|
31
|
-
linePathInfo: Record<string, any>;
|
|
32
|
-
}>;
|
|
33
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<Readonly<{}>, {}, {
|
|
2
|
-
search_text: string;
|
|
3
|
-
showSettingPanel: boolean;
|
|
4
|
-
}, {
|
|
5
|
-
options(): any;
|
|
6
|
-
}, {
|
|
7
|
-
toggleSettingPanel(): void;
|
|
8
|
-
printOptions(): void;
|
|
9
|
-
printData(): void;
|
|
10
|
-
enableDevlog(): void;
|
|
11
|
-
}, import('vue/types/v3-component-options').ComponentOptionsMixin, import('vue/types/v3-component-options').ComponentOptionsMixin, {}, string, Readonly<import('vue').ExtractPropTypes<Readonly<{}>>>, {}>;
|
|
12
|
-
export default _default;
|
|
@@ -1,34 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,2 +0,0 @@
|
|
|
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;
|
|
@@ -1,32 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
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
|
-
};
|
package/types/packages/platforms/vue3/src/relation-graph/src/core4vue3/RGLineContent.vue.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
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
|
-
};
|