@aloudata/ink-flow 1.0.6 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/dist/components/EdgeWrapper/EdgeUpdateAnchors.d.ts +1 -1
  2. package/dist/components/EdgeWrapper/EdgeUpdateAnchors.d.ts.map +1 -1
  3. package/dist/components/Edges/BezierEdge.d.ts.map +1 -1
  4. package/dist/components/Edges/EdgeAnchor.d.ts +1 -1
  5. package/dist/components/Edges/SimpleBezierEdge.d.ts +1 -1
  6. package/dist/components/Edges/SimpleBezierEdge.d.ts.map +1 -1
  7. package/dist/components/Handle/index.d.ts +5 -3
  8. package/dist/components/Handle/index.d.ts.map +1 -1
  9. package/dist/components/NodeWrapper/utils.d.ts +1 -1
  10. package/dist/components/Nodes/DefaultNode.d.ts.map +1 -1
  11. package/dist/components/Nodes/InputNode.d.ts +1 -2
  12. package/dist/components/Nodes/InputNode.d.ts.map +1 -1
  13. package/dist/components/Nodes/OutputNode.d.ts.map +1 -1
  14. package/dist/components/Nodes/utils.d.ts.map +1 -1
  15. package/dist/components/Panel/index.d.ts +1 -1
  16. package/dist/components/StoreUpdater/index.d.ts.map +1 -1
  17. package/dist/container/EdgeRenderer/MarkerSymbols.d.ts +1 -1
  18. package/dist/container/EdgeRenderer/MarkerSymbols.d.ts.map +1 -1
  19. package/dist/container/InkFlow/index.d.ts.map +1 -1
  20. package/dist/container/InkFlow/init-values.d.ts +1 -1
  21. package/dist/hooks/useGlobalKeyHandler.d.ts +1 -1
  22. package/dist/hooks/useGlobalKeyHandler.d.ts.map +1 -1
  23. package/dist/hooks/useInkFlow.d.ts.map +1 -1
  24. package/dist/hooks/useKeyPress.d.ts +1 -1
  25. package/dist/hooks/useKeyPress.d.ts.map +1 -1
  26. package/dist/hooks/useMoveSelectedNodes.d.ts +1 -1
  27. package/dist/hooks/useMoveSelectedNodes.d.ts.map +1 -1
  28. package/dist/hooks/useStore.d.ts.map +1 -1
  29. package/dist/index.cjs.js +2 -2
  30. package/dist/index.cjs.js.map +1 -1
  31. package/dist/index.d.ts +2 -0
  32. package/dist/index.d.ts.map +1 -1
  33. package/dist/index.esm.js +3 -3
  34. package/dist/index.esm.js.map +1 -1
  35. package/dist/plugins/Controls/types.d.ts +1 -1
  36. package/dist/store/initialState.d.ts.map +1 -1
  37. package/dist/types/edges.d.ts +1 -1
  38. package/dist/types/edges.d.ts.map +1 -1
  39. package/dist/types/general.d.ts +1 -1
  40. package/dist/types/general.d.ts.map +1 -1
  41. package/dist/types/index.d.ts +1 -1
  42. package/dist/types/index.d.ts.map +1 -1
  43. package/dist/types/instance.d.ts +1 -1
  44. package/dist/types/instance.d.ts.map +1 -1
  45. package/dist/types/nodes.d.ts +1 -1
  46. package/dist/types/nodes.d.ts.map +1 -1
  47. package/dist/types/props.d.ts +1 -1
  48. package/dist/types/props.d.ts.map +1 -1
  49. package/dist/types/store.d.ts +1 -1
  50. package/dist/types/store.d.ts.map +1 -1
  51. package/dist/types/utils/types.d.ts +1 -1
  52. package/dist/types/utils/types.d.ts.map +1 -1
  53. package/dist/utils/changes.d.ts +1 -1
  54. package/dist/utils/changes.d.ts.map +1 -1
  55. package/dist/utils/dom.d.ts +1 -1
  56. package/dist/utils/dom.d.ts.map +1 -1
  57. package/dist/utils/edges/bezier-edge.d.ts +1 -1
  58. package/dist/utils/edges/general.d.ts +1 -1
  59. package/dist/utils/edges/general.d.ts.map +1 -1
  60. package/dist/utils/edges/positions.d.ts +1 -1
  61. package/dist/utils/edges/positions.d.ts.map +1 -1
  62. package/dist/utils/edges/smoothstep-edge.d.ts +1 -1
  63. package/dist/utils/general.d.ts +1 -1
  64. package/dist/utils/general.d.ts.map +1 -1
  65. package/dist/utils/graph.d.ts +1 -1
  66. package/dist/utils/graph.d.ts.map +1 -1
  67. package/dist/utils/marker.d.ts +1 -1
  68. package/dist/utils/marker.d.ts.map +1 -1
  69. package/dist/utils/positions.d.ts +1 -1
  70. package/dist/utils/positions.d.ts.map +1 -1
  71. package/dist/utils/store.d.ts +1 -1
  72. package/dist/utils/store.d.ts.map +1 -1
  73. package/package.json +2 -3
  74. package/dist/base.css +0 -6
  75. package/dist/constants/errorMessages.d.ts +0 -22
  76. package/dist/constants/errorMessages.d.ts.map +0 -1
  77. package/dist/constants/index.d.ts +0 -2
  78. package/dist/constants/index.d.ts.map +0 -1
  79. package/dist/types/system/changes.d.ts +0 -51
  80. package/dist/types/system/changes.d.ts.map +0 -1
  81. package/dist/types/system/edges.d.ts +0 -83
  82. package/dist/types/system/edges.d.ts.map +0 -1
  83. package/dist/types/system/general.d.ts +0 -119
  84. package/dist/types/system/general.d.ts.map +0 -1
  85. package/dist/types/system/handles.d.ts +0 -51
  86. package/dist/types/system/handles.d.ts.map +0 -1
  87. package/dist/types/system/index.d.ts +0 -8
  88. package/dist/types/system/index.d.ts.map +0 -1
  89. package/dist/types/system/nodes.d.ts +0 -126
  90. package/dist/types/system/nodes.d.ts.map +0 -1
  91. package/dist/types/system/panzoom.d.ts +0 -49
  92. package/dist/types/system/panzoom.d.ts.map +0 -1
  93. package/dist/types/system/utils.d.ts +0 -25
  94. package/dist/types/system/utils.d.ts.map +0 -1
  95. package/dist/utils/bezier-edge.d.ts +0 -59
  96. package/dist/utils/bezier-edge.d.ts.map +0 -1
  97. package/dist/utils/edges.d.ts +0 -26
  98. package/dist/utils/edges.d.ts.map +0 -1
  99. package/dist/utils/smoothstep-edge.d.ts +0 -43
  100. package/dist/utils/smoothstep-edge.d.ts.map +0 -1
  101. package/dist/utils/straight-edge.d.ts +0 -34
  102. package/dist/utils/straight-edge.d.ts.map +0 -1
  103. package/dist/utils/xydrag/XYDrag.d.ts +0 -52
  104. package/dist/utils/xydrag/XYDrag.d.ts.map +0 -1
  105. package/dist/utils/xydrag/index.d.ts +0 -2
  106. package/dist/utils/xydrag/index.d.ts.map +0 -1
  107. package/dist/utils/xydrag/utils.d.ts +0 -10
  108. package/dist/utils/xydrag/utils.d.ts.map +0 -1
  109. package/dist/utils/xyhandle/XYHandle.d.ts +0 -49
  110. package/dist/utils/xyhandle/XYHandle.d.ts.map +0 -1
  111. package/dist/utils/xyhandle/index.d.ts +0 -2
  112. package/dist/utils/xyhandle/index.d.ts.map +0 -1
  113. package/dist/utils/xyhandle/utils.d.ts +0 -14
  114. package/dist/utils/xyhandle/utils.d.ts.map +0 -1
  115. package/dist/utils/xypanzoom/XYPanZoom.d.ts +0 -12
  116. package/dist/utils/xypanzoom/XYPanZoom.d.ts.map +0 -1
  117. package/dist/utils/xypanzoom/eventhandler.d.ts +0 -46
  118. package/dist/utils/xypanzoom/eventhandler.d.ts.map +0 -1
  119. package/dist/utils/xypanzoom/filter.d.ts +0 -14
  120. package/dist/utils/xypanzoom/filter.d.ts.map +0 -1
  121. package/dist/utils/xypanzoom/index.d.ts +0 -2
  122. package/dist/utils/xypanzoom/index.d.ts.map +0 -1
  123. package/dist/utils/xypanzoom/utils.d.ts +0 -10
  124. package/dist/utils/xypanzoom/utils.d.ts.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import type { EdgeWrapperProps, Edge } from '../../types/edges';
2
- import { EdgePosition } from '../../types/system';
2
+ import { EdgePosition } from '@aloudata/ink-core';
3
3
  type EdgeUpdateAnchorsProps<EdgeType extends Edge = Edge> = {
4
4
  edge: EdgeType;
5
5
  isUpdatable: boolean | 'source' | 'target';
@@ -1 +1 @@
1
- {"version":3,"file":"EdgeUpdateAnchors.d.ts","sourceRoot":"","sources":["../../../src/components/EdgeWrapper/EdgeUpdateAnchors.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAEhE,OAAO,EAAE,YAAY,EAAc,MAAM,oBAAoB,CAAC;AAI9D,KAAK,sBAAsB,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,IAAI;IAC1D,IAAI,EAAE,QAAQ,CAAC;IACf,WAAW,EAAE,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAC3C,iBAAiB,EAAE,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;IACzD,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC;IACrC,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC;IACrC,YAAY,EAAE,gBAAgB,CAAC,QAAQ,CAAC,CAAC,cAAc,CAAC,CAAC;IACzD,iBAAiB,EAAE,gBAAgB,CAAC,QAAQ,CAAC,CAAC,mBAAmB,CAAC,CAAC;IACnE,eAAe,EAAE,gBAAgB,CAAC,QAAQ,CAAC,CAAC,iBAAiB,CAAC,CAAC;IAC/D,cAAc,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,WAAW,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CAC1C,GAAG,YAAY,CAAC;AAEjB,wBAAgB,iBAAiB,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,EAC9D,WAAW,EACX,iBAAiB,EACjB,IAAI,EACJ,cAAc,EACd,cAAc,EACd,OAAO,EACP,OAAO,EACP,OAAO,EACP,OAAO,EACP,cAAc,EACd,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,eAAe,EACf,WAAW,EACX,cAAc,GACf,EAAE,sBAAsB,CAAC,QAAQ,CAAC,2CA0GlC"}
1
+ {"version":3,"file":"EdgeUpdateAnchors.d.ts","sourceRoot":"","sources":["../../../src/components/EdgeWrapper/EdgeUpdateAnchors.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAGhE,OAAO,EAAc,YAAY,EAAY,MAAM,oBAAoB,CAAC;AAExE,KAAK,sBAAsB,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,IAAI;IAC1D,IAAI,EAAE,QAAQ,CAAC;IACf,WAAW,EAAE,OAAO,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAC3C,iBAAiB,EAAE,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;IACzD,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC;IACrC,cAAc,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC;IACrC,YAAY,EAAE,gBAAgB,CAAC,QAAQ,CAAC,CAAC,cAAc,CAAC,CAAC;IACzD,iBAAiB,EAAE,gBAAgB,CAAC,QAAQ,CAAC,CAAC,mBAAmB,CAAC,CAAC;IACnE,eAAe,EAAE,gBAAgB,CAAC,QAAQ,CAAC,CAAC,iBAAiB,CAAC,CAAC;IAC/D,cAAc,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,WAAW,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CAC1C,GAAG,YAAY,CAAC;AAEjB,wBAAgB,iBAAiB,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,EAC9D,WAAW,EACX,iBAAiB,EACjB,IAAI,EACJ,cAAc,EACd,cAAc,EACd,OAAO,EACP,OAAO,EACP,OAAO,EACP,OAAO,EACP,cAAc,EACd,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,eAAe,EACf,WAAW,EACX,cAAc,GACf,EAAE,sBAAsB,CAAC,QAAQ,CAAC,2CA0GlC"}
@@ -1 +1 @@
1
- {"version":3,"file":"BezierEdge.d.ts","sourceRoot":"","sources":["../../../src/components/Edges/BezierEdge.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AA4D9C,QAAA,MAAM,UAAU,qQAnCT,eAAe,6CAmCoC,CAAC;AAC3D,QAAA,MAAM,kBAAkB,qQApCjB,eAAe,6CAoC2C,CAAC;AAKlE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,CAAC"}
1
+ {"version":3,"file":"BezierEdge.d.ts","sourceRoot":"","sources":["../../../src/components/Edges/BezierEdge.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AA6D9C,QAAA,MAAM,UAAU,qQAnCT,eAAe,6CAmCoC,CAAC;AAC3D,QAAA,MAAM,kBAAkB,qQApCjB,eAAe,6CAoC2C,CAAC;AAKlE,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { MouseEvent as ReactMouseEvent, SVGAttributes } from 'react';
2
- import { Position } from '../../types/system';
2
+ import { Position } from '@aloudata/ink-core';
3
3
  export interface EdgeAnchorProps extends SVGAttributes<SVGGElement> {
4
4
  position: Position;
5
5
  centerX: number;
@@ -1,5 +1,5 @@
1
1
  import type { SimpleBezierEdgeProps } from '../../types';
2
- import { Position } from '../../types/system';
2
+ import { Position } from '@aloudata/ink-core';
3
3
  export interface GetSimpleBezierPathParams {
4
4
  sourceX: number;
5
5
  sourceY: number;
@@ -1 +1 @@
1
- {"version":3,"file":"SimpleBezierEdge.d.ts","sourceRoot":"","sources":["../../../src/components/Edges/SimpleBezierEdge.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAG9C,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,QAAQ,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,QAAQ,CAAC;CAC3B;AAwBD,wBAAgB,mBAAmB,CAAC,EAClC,OAAO,EACP,OAAO,EACP,cAAgC,EAChC,OAAO,EACP,OAAO,EACP,cAA6B,GAC9B,EAAE,yBAAyB,GAAG;IAC7B,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,MAAM;IACd,MAAM,EAAE,MAAM;IACd,OAAO,EAAE,MAAM;IACf,OAAO,EAAE,MAAM;CAChB,CAiCA;AAyDD,QAAA,MAAM,gBAAgB,wPAlCf,qBAAqB,6CAkC0C,CAAC;AACvE,QAAA,MAAM,wBAAwB,wPAnCvB,qBAAqB,6CAmCiD,CAAC;AAK9E,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,CAAC"}
1
+ {"version":3,"file":"SimpleBezierEdge.d.ts","sourceRoot":"","sources":["../../../src/components/Edges/SimpleBezierEdge.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAEzD,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAE9C,MAAM,WAAW,yBAAyB;IACxC,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,QAAQ,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,QAAQ,CAAC;CAC3B;AAwBD,wBAAgB,mBAAmB,CAAC,EAClC,OAAO,EACP,OAAO,EACP,cAAgC,EAChC,OAAO,EACP,OAAO,EACP,cAA6B,GAC9B,EAAE,yBAAyB,GAAG;IAC7B,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,MAAM;IACd,MAAM,EAAE,MAAM;IACd,OAAO,EAAE,MAAM;IACf,OAAO,EAAE,MAAM;CAChB,CAiCA;AAyDD,QAAA,MAAM,gBAAgB,wPAlCf,qBAAqB,6CAkC0C,CAAC;AACvE,QAAA,MAAM,wBAAwB,wPAnCvB,qBAAqB,6CAmCiD,CAAC;AAK9E,OAAO,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,CAAC"}
@@ -1,9 +1,11 @@
1
1
  import { type HTMLAttributes } from 'react';
2
- import { HandleProps } from '../../types/system';
3
- export interface HandleComponentProps extends HandleProps, Omit<HTMLAttributes<HTMLDivElement>, 'id'> {
2
+ import { HandleProps as HandlePropsSystem, OnConnect } from '@aloudata/ink-core';
3
+ export interface HandleProps extends HandlePropsSystem, Omit<HTMLAttributes<HTMLDivElement>, 'id'> {
4
+ /** Callback called when connection is made */
5
+ onConnect?: OnConnect;
4
6
  }
5
7
  /**
6
8
  * The Handle component is a UI element that is used to connect nodes.
7
9
  */
8
- export declare const Handle: import("react").MemoExoticComponent<(props: HandleComponentProps & import("react").RefAttributes<HTMLDivElement>) => JSX.Element>;
10
+ export declare const Handle: import("react").MemoExoticComponent<(props: HandleProps & import("react").RefAttributes<HTMLDivElement>) => JSX.Element>;
9
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Handle/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EAKpB,MAAM,OAAO,CAAC;AAOf,OAAO,EACL,WAAW,EAKZ,MAAM,oBAAoB,CAAC;AAO5B,MAAM,WAAW,oBACf,SAAQ,WAAW,EACjB,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,IAAI,CAAC;CAAG;AAmPjD;;GAEG;AACH,eAAO,MAAM,MAAM,mIAAyC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Handle/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EAKpB,MAAM,OAAO,CAAC;AAUf,OAAO,EAGL,WAAW,IAAI,iBAAiB,EAEhC,SAAS,EAIV,MAAM,oBAAoB,CAAC;AAE5B,MAAM,WAAW,WACf,SAAQ,iBAAiB,EACvB,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,IAAI,CAAC;IAC5C,8CAA8C;IAC9C,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAmPD;;GAEG;AACH,eAAO,MAAM,MAAM,0HAAyC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { InternalNode, Node, NodeTypes } from '../../types';
2
- import { XYPosition } from '../../types/system';
2
+ import { XYPosition } from '@aloudata/ink-core';
3
3
  export declare const arrowKeyDiffs: Record<string, XYPosition>;
4
4
  export declare const builtinNodeTypes: NodeTypes;
5
5
  export declare function getNodeInlineStyleDimensions<NodeType extends Node = Node>(node: InternalNode<NodeType>): {
@@ -1 +1 @@
1
- {"version":3,"file":"DefaultNode.d.ts","sourceRoot":"","sources":["../../../src/components/Nodes/DefaultNode.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAIrD,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,aAAa,EACb,cAA6B,EAC7B,cAAgC,GACjC,EAAE,SAAS,CAAC,WAAW,CAAC,2CAgBxB"}
1
+ {"version":3,"file":"DefaultNode.d.ts","sourceRoot":"","sources":["../../../src/components/Nodes/DefaultNode.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGrD,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,aAAa,EACb,cAA6B,EAC7B,cAAgC,GACjC,EAAE,SAAS,CAAC,WAAW,CAAC,2CAgBxB"}
@@ -1,4 +1,3 @@
1
- import { BuiltInNode } from '../../types';
2
- import { NodeProps } from '../../types/system';
1
+ import { BuiltInNode, NodeProps } from '../../types';
3
2
  export declare function InputNode({ data, isConnectable, sourcePosition, }: NodeProps<BuiltInNode>): import("react/jsx-runtime").JSX.Element;
4
3
  //# sourceMappingURL=InputNode.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"InputNode.d.ts","sourceRoot":"","sources":["../../../src/components/Nodes/InputNode.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAY,MAAM,oBAAoB,CAAC;AAGzD,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,aAAa,EACb,cAAgC,GACjC,EAAE,SAAS,CAAC,WAAW,CAAC,2CAWxB"}
1
+ {"version":3,"file":"InputNode.d.ts","sourceRoot":"","sources":["../../../src/components/Nodes/InputNode.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGrD,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,aAAa,EACb,cAAgC,GACjC,EAAE,SAAS,CAAC,WAAW,CAAC,2CAWxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"OutputNode.d.ts","sourceRoot":"","sources":["../../../src/components/Nodes/OutputNode.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAIrD,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,aAAa,EACb,cAA6B,GAC9B,EAAE,SAAS,CAAC,WAAW,CAAC,2CAWxB"}
1
+ {"version":3,"file":"OutputNode.d.ts","sourceRoot":"","sources":["../../../src/components/Nodes/OutputNode.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGrD,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,aAAa,EACb,cAA6B,GAC9B,EAAE,SAAS,CAAC,WAAW,CAAC,2CAWxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/Nodes/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAM3C,wBAAgB,eAAe,CAAC,EAC9B,EAAE,EACF,KAAK,EACL,QAAgB,EAChB,OAAO,GACR,EAAE;IACD,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE;QACL,QAAQ,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC,UAAU,CAAC,CAAC;QAC7C,QAAQ,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC,UAAU,CAAC,CAAC;KAC9C,CAAC;IACF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;CACrC,QAwBA"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/Nodes/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAO3C,wBAAgB,eAAe,CAAC,EAC9B,EAAE,EACF,KAAK,EACL,QAAgB,EAChB,OAAO,GACR,EAAE;IACD,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE;QACL,QAAQ,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC,UAAU,CAAC,CAAC;QAC7C,QAAQ,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC,UAAU,CAAC,CAAC;KAC9C,CAAC;IACF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;CACrC,QAwBA"}
@@ -1,5 +1,5 @@
1
1
  import type { HTMLAttributes, ReactNode } from 'react';
2
- import { PanelPosition } from '../../types/system';
2
+ import { PanelPosition } from '@aloudata/ink-core';
3
3
  export type PanelProps = HTMLAttributes<HTMLDivElement> & {
4
4
  /** Set position of the panel
5
5
  * @example 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right'
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/StoreUpdater/index.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,IAAI,EACJ,IAAI,EAEJ,YAAY,EAEb,MAAM,aAAa,CAAC;AAMrB,QAAA,MAAM,oBAAoB,iPAsDhB,CAAC;AAEX,KAAK,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,MAAM,CAAC,CAAC;AAChE,KAAK,iBAAiB,CACpB,QAAQ,SAAS,IAAI,GAAG,IAAI,EAC5B,QAAQ,SAAS,IAAI,GAAG,IAAI,IAC1B,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,QAAQ,CAAC,EAAE,oBAAoB,CAAC,GAAG;IACjE,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AA6BF,wBAAgB,YAAY,CAC1B,QAAQ,SAAS,IAAI,GAAG,IAAI,EAC5B,QAAQ,SAAS,IAAI,GAAG,IAAI,EAC5B,KAAK,EAAE,iBAAiB,CAAC,QAAQ,EAAE,QAAQ,CAAC,OA6D7C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/StoreUpdater/index.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,IAAI,EACJ,IAAI,EAEJ,YAAY,EAEb,MAAM,aAAa,CAAC;AAKrB,QAAA,MAAM,oBAAoB,iPAsDhB,CAAC;AAEX,KAAK,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,MAAM,CAAC,CAAC;AAChE,KAAK,iBAAiB,CACpB,QAAQ,SAAS,IAAI,GAAG,IAAI,EAC5B,QAAQ,SAAS,IAAI,GAAG,IAAI,IAC1B,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,QAAQ,CAAC,EAAE,oBAAoB,CAAC,GAAG;IACjE,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AA6BF,wBAAgB,YAAY,CAC1B,QAAQ,SAAS,IAAI,GAAG,IAAI,EAC5B,QAAQ,SAAS,IAAI,GAAG,IAAI,EAC5B,KAAK,EAAE,iBAAiB,CAAC,QAAQ,EAAE,QAAQ,CAAC,OA6D7C"}
@@ -1,4 +1,4 @@
1
- import { EdgeMarker, MarkerType } from '../../types/system';
1
+ import { EdgeMarker, MarkerType } from '@aloudata/ink-core';
2
2
  type SymbolProps = Omit<EdgeMarker, 'type'>;
3
3
  export declare const MarkerSymbols: {
4
4
  arrow: ({ color, strokeWidth }: SymbolProps) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"MarkerSymbols.d.ts","sourceRoot":"","sources":["../../../src/container/EdgeRenderer/MarkerSymbols.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAE5D,KAAK,WAAW,GAAG,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;AAmC5C,eAAO,MAAM,aAAa;oCAjCgC,WAAW;2CAkBlE,WAAW;CAkBb,CAAC;AAEF,wBAAgB,eAAe,CAAC,IAAI,EAAE,UAAU,oFAmB/C"}
1
+ {"version":3,"file":"MarkerSymbols.d.ts","sourceRoot":"","sources":["../../../src/container/EdgeRenderer/MarkerSymbols.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAiB,MAAM,oBAAoB,CAAC;AAE3E,KAAK,WAAW,GAAG,IAAI,CAAC,UAAU,EAAE,MAAM,CAAC,CAAC;AAmC5C,eAAO,MAAM,aAAa;oCAjCgC,WAAW;2CAkBlE,WAAW;CAkBb,CAAC;AAEF,wBAAgB,eAAe,CAAC,IAAI,EAAE,UAAU,oFAmB/C"}
@@ -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;;AAkG5D,wBAAwC"}
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;;AAgG5D,wBAAwC"}
@@ -1,4 +1,4 @@
1
- import { NodeOrigin, Viewport } from '../../types/system';
1
+ import { NodeOrigin, Viewport } from '@aloudata/ink-core';
2
2
  export declare const defaultNodeOrigin: NodeOrigin;
3
3
  export declare const defaultViewport: Viewport;
4
4
  //# sourceMappingURL=init-values.d.ts.map
@@ -1,4 +1,4 @@
1
- import { KeyCode } from '../types/system';
1
+ import { KeyCode } from '@aloudata/ink-core';
2
2
  /**
3
3
  * Hook for handling global key events.
4
4
  *
@@ -1 +1 @@
1
- {"version":3,"file":"useGlobalKeyHandler.d.ts","sourceRoot":"","sources":["../../src/hooks/useGlobalKeyHandler.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAQ1C;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,aAAa,EACb,qBAAqB,GACtB,EAAE;IACD,aAAa,EAAE,OAAO,GAAG,IAAI,CAAC;IAC9B,qBAAqB,EAAE,OAAO,GAAG,IAAI,CAAC;CACvC,GAAG,IAAI,CAqBP"}
1
+ {"version":3,"file":"useGlobalKeyHandler.d.ts","sourceRoot":"","sources":["../../src/hooks/useGlobalKeyHandler.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAQ7C;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,aAAa,EACb,qBAAqB,GACtB,EAAE;IACD,aAAa,EAAE,OAAO,GAAG,IAAI,CAAC;IAC9B,qBAAqB,EAAE,OAAO,GAAG,IAAI,CAAC;CACvC,GAAG,IAAI,CAqBP"}
@@ -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;AAUlE,OAAO,EAAkB,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAKpE;;;;;GAKG;AACH,wBAAgB,UAAU,CACxB,QAAQ,SAAS,IAAI,GAAG,IAAI,EAC5B,QAAQ,SAAS,IAAI,GAAG,IAAI,KACzB,eAAe,CAAC,QAAQ,EAAE,QAAQ,CAAC,CA+NvC"}
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,CA+NvC"}
@@ -1,4 +1,4 @@
1
- import { KeyCode } from '../types/system';
1
+ import { KeyCode } from '@aloudata/ink-core';
2
2
  export type UseKeyPressOptions = {
3
3
  target?: Window | Document | HTMLElement | ShadowRoot | null;
4
4
  actInsideInputWithModifier?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"useKeyPress.d.ts","sourceRoot":"","sources":["../../src/hooks/useKeyPress.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAO1C,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,WAAW,GAAG,UAAU,GAAG,IAAI,CAAC;IAC7D,0BAA0B,CAAC,EAAE,OAAO,CAAC;CACtC,CAAC;AAIF;;;;;;;GAOG;AACH,wBAAgB,WAAW,CAKzB,OAAO,GAAE,OAAO,GAAG,IAAW,EAC9B,OAAO,GAAE,kBAGR,GACA,OAAO,CAkHT"}
1
+ {"version":3,"file":"useKeyPress.d.ts","sourceRoot":"","sources":["../../src/hooks/useKeyPress.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAM7C,MAAM,MAAM,kBAAkB,GAAG;IAC/B,MAAM,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,WAAW,GAAG,UAAU,GAAG,IAAI,CAAC;IAC7D,0BAA0B,CAAC,EAAE,OAAO,CAAC;CACtC,CAAC;AAIF;;;;;;;GAOG;AACH,wBAAgB,WAAW,CAKzB,OAAO,GAAE,OAAO,GAAG,IAAW,EAC9B,OAAO,GAAE,kBAGR,GACA,OAAO,CAkHT"}
@@ -1,4 +1,4 @@
1
- import { XYPosition } from '../types/system';
1
+ import { XYPosition } from '@aloudata/ink-core';
2
2
  /**
3
3
  * Hook for updating node positions by passing a direction and factor
4
4
  *
@@ -1 +1 @@
1
- {"version":3,"file":"useMoveSelectedNodes.d.ts","sourceRoot":"","sources":["../../src/hooks/useMoveSelectedNodes.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAQ7C;;;;;GAKG;AACH,wBAAgB,oBAAoB,aAIvB;IAAE,SAAS,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,UAyDrD"}
1
+ {"version":3,"file":"useMoveSelectedNodes.d.ts","sourceRoot":"","sources":["../../src/hooks/useMoveSelectedNodes.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAMhD;;;;;GAKG;AACH,wBAAgB,oBAAoB,aAIvB;IAAE,SAAS,EAAE,UAAU,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,UAyDrD"}
@@ -1 +1 @@
1
- {"version":3,"file":"useStore.d.ts","sourceRoot":"","sources":["../../src/hooks/useStore.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAQzD;;;;;;;;;;;GAWG;AACH,iBAAS,QAAQ,CAAC,UAAU,GAAG,OAAO,EACpC,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,UAAU,EAC7C,UAAU,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,UAAU,KAAK,OAAO,cASvD;AAED,iBAAS,WAAW,CAClB,QAAQ,SAAS,IAAI,GAAG,IAAI,EAC5B,QAAQ,SAAS,IAAI,GAAG,IAAI;;;;EAkB7B;AAED,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC"}
1
+ {"version":3,"file":"useStore.d.ts","sourceRoot":"","sources":["../../src/hooks/useStore.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAOzD;;;;;;;;;;;GAWG;AACH,iBAAS,QAAQ,CAAC,UAAU,GAAG,OAAO,EACpC,QAAQ,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,UAAU,EAC7C,UAAU,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,EAAE,CAAC,EAAE,UAAU,KAAK,OAAO,cASvD;AAED,iBAAS,WAAW,CAClB,QAAQ,SAAS,IAAI,GAAG,IAAI,EAC5B,QAAQ,SAAS,IAAI,GAAG,IAAI;;;;EAkB7B;AAED,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC"}