@aloudata/ink-flow 1.0.12 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/EdgeLabelRenderer/index.d.ts +5 -0
- package/dist/components/EdgeLabelRenderer/index.d.ts.map +1 -0
- package/dist/container/EdgeRenderer/index.d.ts +2 -2
- package/dist/container/EdgeRenderer/index.d.ts.map +1 -1
- package/dist/container/GraphView/index.d.ts +1 -1
- package/dist/container/GraphView/index.d.ts.map +1 -1
- package/dist/container/InkFlow/index.d.ts.map +1 -1
- package/dist/hooks/useInkFlow.d.ts.map +1 -1
- package/dist/hooks/useViewportHelper.d.ts.map +1 -1
- package/dist/index.cjs.js +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/plugins/Background/Background.d.ts +8 -0
- package/dist/plugins/Background/Background.d.ts.map +1 -0
- package/dist/plugins/Background/Patterns.d.ts +15 -0
- package/dist/plugins/Background/Patterns.d.ts.map +1 -0
- package/dist/plugins/Background/index.d.ts +3 -0
- package/dist/plugins/Background/index.d.ts.map +1 -0
- package/dist/plugins/Background/types.d.ts +33 -0
- package/dist/plugins/Background/types.d.ts.map +1 -0
- package/dist/plugins/index.d.ts +1 -0
- package/dist/plugins/index.d.ts.map +1 -1
- package/dist/types/instance.d.ts +4 -0
- package/dist/types/instance.d.ts.map +1 -1
- package/dist/types/props.d.ts +10 -1
- package/dist/types/props.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/EdgeLabelRenderer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AASvC,wBAAgB,iBAAiB,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,+BAQtE"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
import { GraphViewProps } from '../GraphView';
|
|
3
3
|
import type { Edge, Node } from '../../types';
|
|
4
|
-
type EdgeRendererProps<EdgeType extends Edge = Edge> = Pick<GraphViewProps<Node, EdgeType>, 'onEdgeClick' | 'onEdgeDoubleClick' | 'defaultMarkerColor' | 'rfId' | 'onEdgeUpdate' | 'onEdgeContextMenu' | 'onEdgeMouseEnter' | 'onEdgeMouseMove' | 'onEdgeMouseLeave' | 'noPanClassName'> & {
|
|
4
|
+
type EdgeRendererProps<EdgeType extends Edge = Edge> = Pick<GraphViewProps<Node, EdgeType>, 'onEdgeClick' | 'onEdgeDoubleClick' | 'defaultMarkerColor' | 'rfId' | 'onEdgeUpdate' | 'onEdgeContextMenu' | 'onEdgeMouseEnter' | 'onEdgeMouseMove' | 'onEdgeMouseLeave' | 'noPanClassName' | 'edgeTypes'> & {
|
|
5
5
|
children?: ReactNode;
|
|
6
6
|
};
|
|
7
|
-
declare function EdgeRendererComponent<EdgeType extends Edge = Edge>({ defaultMarkerColor, rfId, noPanClassName, onEdgeUpdate, onEdgeContextMenu, onEdgeMouseEnter, onEdgeMouseMove, onEdgeMouseLeave, onEdgeClick, }: EdgeRendererProps<EdgeType>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
declare function EdgeRendererComponent<EdgeType extends Edge = Edge>({ defaultMarkerColor, rfId, noPanClassName, onEdgeUpdate, onEdgeContextMenu, onEdgeMouseEnter, onEdgeMouseMove, onEdgeMouseLeave, onEdgeClick, edgeTypes, }: EdgeRendererProps<EdgeType>): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
declare namespace EdgeRendererComponent {
|
|
9
9
|
var displayName: string;
|
|
10
10
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/container/EdgeRenderer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,OAAO,CAAC;AAIxC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,IAAI,EAAgB,IAAI,EAAE,MAAM,aAAa,CAAC;AAK5D,KAAK,iBAAiB,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,IAAI,IAAI,CACzD,cAAc,CAAC,IAAI,EAAE,QAAQ,CAAC,EAC5B,aAAa,GACb,mBAAmB,GACnB,oBAAoB,GACpB,MAAM,GAEN,cAAc,GACd,mBAAmB,GACnB,kBAAkB,GAClB,iBAAiB,GACjB,kBAAkB,GAIlB,gBAAgB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/container/EdgeRenderer/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,OAAO,CAAC;AAIxC,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,KAAK,EAAE,IAAI,EAAgB,IAAI,EAAE,MAAM,aAAa,CAAC;AAK5D,KAAK,iBAAiB,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,IAAI,IAAI,CACzD,cAAc,CAAC,IAAI,EAAE,QAAQ,CAAC,EAC5B,aAAa,GACb,mBAAmB,GACnB,oBAAoB,GACpB,MAAM,GAEN,cAAc,GACd,mBAAmB,GACnB,kBAAkB,GAClB,iBAAiB,GACjB,kBAAkB,GAIlB,gBAAgB,GAChB,WAAW,CACd,GAAG;IACF,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAYF,iBAAS,qBAAqB,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,EAC3D,kBAAkB,EAElB,IAAI,EACJ,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,WAAW,EACX,SAAS,GACV,EAKD,iBAAiB,CAAC,QAAQ,CAAC,2CAqC1B;kBAtDQ,qBAAqB;;;AA0D9B,eAAO,MAAM,YAAY,8BAEQ,CAAC"}
|
|
@@ -2,7 +2,7 @@ import type { Edge, Node, InkFlowProps } from '../../types';
|
|
|
2
2
|
export type GraphViewProps<NodeType extends Node = Node, EdgeType extends Edge = Edge> = Omit<InkFlowProps<NodeType, EdgeType>, 'onSelectionChange' | 'nodes' | 'edges' | 'onMove' | 'onMoveStart' | 'onMoveEnd' | 'elevateEdgesOnSelect'> & Required<Pick<InkFlowProps<NodeType, EdgeType>, 'minZoom' | 'maxZoom' | 'noPanClassName' | 'noDragClassName' | 'nodeOrigin' | 'disableKeyboardA11y' | 'defaultMarkerColor' | 'connectionLineType'>> & {
|
|
3
3
|
rfId: string;
|
|
4
4
|
};
|
|
5
|
-
declare function GraphViewComponent<NodeType extends Node = Node, EdgeType extends Edge = Edge>({ onNodeClick, onNodeDoubleClick, onNodeMouseEnter, onNodeMouseMove, onNodeMouseLeave, onNodeContextMenu, onEdgeClick, onEdgeDoubleClick, onEdgeMouseEnter, onEdgeMouseMove, onEdgeMouseLeave, onEdgeContextMenu, rfId, minZoom, maxZoom, noPanClassName, noDragClassName, nodeOrigin, viewport, disableKeyboardA11y, translateExtent, defaultViewport, nodeTypes, elementsSelectable, defaultMarkerColor, connectionLineType, connectionLineStyle, connectionLineComponent, connectionLineContainerStyle, onPaneClick, onPaneContextMenu, onPaneMouseEnter, onPaneMouseMove, onPaneMouseLeave, onPaneScroll, }: GraphViewProps<NodeType, EdgeType>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function GraphViewComponent<NodeType extends Node = Node, EdgeType extends Edge = Edge>({ onNodeClick, onNodeDoubleClick, onNodeMouseEnter, onNodeMouseMove, onNodeMouseLeave, onNodeContextMenu, onEdgeClick, onEdgeDoubleClick, onEdgeMouseEnter, onEdgeMouseMove, onEdgeMouseLeave, onEdgeContextMenu, rfId, minZoom, maxZoom, noPanClassName, noDragClassName, nodeOrigin, viewport, disableKeyboardA11y, translateExtent, defaultViewport, nodeTypes, edgeTypes, elementsSelectable, defaultMarkerColor, connectionLineType, connectionLineStyle, connectionLineComponent, connectionLineContainerStyle, onPaneClick, onPaneContextMenu, onPaneMouseEnter, onPaneMouseMove, onPaneMouseLeave, onPaneScroll, }: GraphViewProps<NodeType, EdgeType>): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
declare namespace GraphViewComponent {
|
|
7
7
|
var displayName: string;
|
|
8
8
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/container/GraphView/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAG5D,MAAM,MAAM,cAAc,CACxB,QAAQ,SAAS,IAAI,GAAG,IAAI,EAC5B,QAAQ,SAAS,IAAI,GAAG,IAAI,IAC1B,IAAI,CACN,YAAY,CAAC,QAAQ,EAAE,QAAQ,CAAC,EAC9B,mBAAmB,GACnB,OAAO,GACP,OAAO,GACP,QAAQ,GACR,aAAa,GACb,WAAW,GACX,sBAAsB,CACzB,GACC,QAAQ,CACN,IAAI,CACF,YAAY,CAAC,QAAQ,EAAE,QAAQ,CAAC,EAC9B,SAAS,GACT,SAAS,GACT,gBAAgB,GAChB,iBAAiB,GACjB,YAAY,GACZ,qBAAqB,GACrB,oBAAoB,GACpB,oBAAoB,CACvB,CACF,GAAG;IACF,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEJ,iBAAS,kBAAkB,CACzB,QAAQ,SAAS,IAAI,GAAG,IAAI,EAC5B,QAAQ,SAAS,IAAI,GAAG,IAAI,EAC5B,EACA,WAAW,EACX,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,WAAW,EACX,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,IAAI,EACJ,OAAO,EACP,OAAO,EACP,cAAc,EACd,eAAe,EACf,UAAU,EACV,QAAQ,EACR,mBAAmB,EACnB,eAAe,EACf,eAAe,EACf,SAAS,EACT,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,uBAAuB,EACvB,4BAA4B,EAC5B,WAAW,EACX,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,YAAY,GACb,EAAE,cAAc,CAAC,QAAQ,EAAE,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/container/GraphView/index.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAG5D,MAAM,MAAM,cAAc,CACxB,QAAQ,SAAS,IAAI,GAAG,IAAI,EAC5B,QAAQ,SAAS,IAAI,GAAG,IAAI,IAC1B,IAAI,CACN,YAAY,CAAC,QAAQ,EAAE,QAAQ,CAAC,EAC9B,mBAAmB,GACnB,OAAO,GACP,OAAO,GACP,QAAQ,GACR,aAAa,GACb,WAAW,GACX,sBAAsB,CACzB,GACC,QAAQ,CACN,IAAI,CACF,YAAY,CAAC,QAAQ,EAAE,QAAQ,CAAC,EAC9B,SAAS,GACT,SAAS,GACT,gBAAgB,GAChB,iBAAiB,GACjB,YAAY,GACZ,qBAAqB,GACrB,oBAAoB,GACpB,oBAAoB,CACvB,CACF,GAAG;IACF,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEJ,iBAAS,kBAAkB,CACzB,QAAQ,SAAS,IAAI,GAAG,IAAI,EAC5B,QAAQ,SAAS,IAAI,GAAG,IAAI,EAC5B,EACA,WAAW,EACX,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,WAAW,EACX,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,IAAI,EACJ,OAAO,EACP,OAAO,EACP,cAAc,EACd,eAAe,EACf,UAAU,EACV,QAAQ,EACR,mBAAmB,EACnB,eAAe,EACf,eAAe,EACf,SAAS,EACT,SAAS,EACT,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,uBAAuB,EACvB,4BAA4B,EAC5B,WAAW,EACX,iBAAiB,EACjB,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,YAAY,GACb,EAAE,cAAc,CAAC,QAAQ,EAAE,QAAQ,CAAC,2CAyDpC;kBAjGQ,kBAAkB;;;AAqG3B,eAAO,MAAM,SAAS,2BAAwD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/container/InkFlow/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/container/InkFlow/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;;AA6I5D,wBAAwC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useInkFlow.d.ts","sourceRoot":"","sources":["../../src/hooks/useInkFlow.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,IAAI,EAAE,IAAI,EAA8B,MAAM,UAAU,CAAC;AASlE,OAAO,EAAkB,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAMpE;;;;;GAKG;AACH,wBAAgB,UAAU,CACxB,QAAQ,SAAS,IAAI,GAAG,IAAI,EAC5B,QAAQ,SAAS,IAAI,GAAG,IAAI,KACzB,eAAe,CAAC,QAAQ,EAAE,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"useInkFlow.d.ts","sourceRoot":"","sources":["../../src/hooks/useInkFlow.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,IAAI,EAAE,IAAI,EAA8B,MAAM,UAAU,CAAC;AASlE,OAAO,EAAkB,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAMpE;;;;;GAKG;AACH,wBAAgB,UAAU,CACxB,QAAQ,SAAS,IAAI,GAAG,IAAI,EAC5B,QAAQ,SAAS,IAAI,GAAG,IAAI,KACzB,eAAe,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAuOvC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useViewportHelper.d.ts","sourceRoot":"","sources":["../../src/hooks/useViewportHelper.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AASnD;;;;;GAKG;AACH,QAAA,MAAM,iBAAiB,QAAO,
|
|
1
|
+
{"version":3,"file":"useViewportHelper.d.ts","sourceRoot":"","sources":["../../src/hooks/useViewportHelper.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,uBAAuB,EAAE,MAAM,UAAU,CAAC;AASnD;;;;;GAKG;AACH,QAAA,MAAM,iBAAiB,QAAO,uBAqI7B,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|