@bemedev/mind-flow 0.3.1 → 1.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.
Files changed (115) hide show
  1. package/README.md +55 -12
  2. package/lib/helpers/clamp.d.ts +2 -0
  3. package/lib/helpers/clamp.d.ts.map +1 -0
  4. package/lib/helpers/createContext.d.ts +1 -1
  5. package/lib/helpers/createContext.d.ts.map +1 -1
  6. package/lib/helpers/index.d.ts +3 -0
  7. package/lib/helpers/index.d.ts.map +1 -0
  8. package/lib/index.cjs.js +1 -1
  9. package/lib/index.d.ts +9 -1
  10. package/lib/index.d.ts.map +1 -1
  11. package/lib/index.es.js +2543 -448
  12. package/lib/output.css +1 -1
  13. package/lib/server.cjs.js +1129 -397
  14. package/lib/server.es.js +1095 -407
  15. package/lib/services/main.machine.d.ts +2453 -576
  16. package/lib/services/main.machine.d.ts.map +1 -1
  17. package/lib/services/main.machine.data.d.ts +14 -1
  18. package/lib/services/main.machine.data.d.ts.map +1 -1
  19. package/lib/services/main.machine.helpers.d.ts +1 -1
  20. package/lib/services/main.machine.helpers.d.ts.map +1 -1
  21. package/lib/services/main.machine.test.d.ts +2 -0
  22. package/lib/services/main.machine.test.d.ts.map +1 -0
  23. package/lib/services/main.machine.typings.d.ts +26 -8
  24. package/lib/services/main.machine.typings.d.ts.map +1 -1
  25. package/lib/ui/Flow.d.ts +8 -4
  26. package/lib/ui/Flow.d.ts.map +1 -1
  27. package/lib/ui/components/Bounds.d.ts.map +1 -1
  28. package/lib/ui/components/EdgeComponent.d.ts.map +1 -1
  29. package/lib/ui/components/EdgesBoard.d.ts.map +1 -1
  30. package/lib/ui/components/EditPanel.d.ts +19 -0
  31. package/lib/ui/components/EditPanel.d.ts.map +1 -0
  32. package/lib/ui/components/EditPanel.hooks.d.ts +29 -0
  33. package/lib/ui/components/EditPanel.hooks.d.ts.map +1 -0
  34. package/lib/ui/components/EditPanel.types.d.ts +47 -0
  35. package/lib/ui/components/EditPanel.types.d.ts.map +1 -0
  36. package/lib/ui/components/FlowChart.context.d.ts +2452 -575
  37. package/lib/ui/components/FlowChart.context.d.ts.map +1 -1
  38. package/lib/ui/components/FlowChart.d.ts +8 -47
  39. package/lib/ui/components/FlowChart.d.ts.map +1 -1
  40. package/lib/ui/components/FlowChart.types.d.ts +87 -0
  41. package/lib/ui/components/FlowChart.types.d.ts.map +1 -0
  42. package/lib/ui/components/NodeComponent.d.ts +10 -12
  43. package/lib/ui/components/NodeComponent.d.ts.map +1 -1
  44. package/lib/ui/components/NodesBoard.d.ts +17 -2
  45. package/lib/ui/components/NodesBoard.d.ts.map +1 -1
  46. package/lib/ui/components/Panels.d.ts +12 -0
  47. package/lib/ui/components/Panels.d.ts.map +1 -0
  48. package/lib/ui/globals/components/atoms/TypingText.d.ts +29 -0
  49. package/lib/ui/globals/components/atoms/TypingText.d.ts.map +1 -0
  50. package/lib/ui/globals/components/molecules/FadingDots.d.ts +21 -0
  51. package/lib/ui/globals/components/molecules/FadingDots.d.ts.map +1 -0
  52. package/lib/ui/globals/components/organisms/LoadingFallback.d.ts +46 -0
  53. package/lib/ui/globals/components/organisms/LoadingFallback.d.ts.map +1 -0
  54. package/lib/ui/globals/constants/index.d.ts +3 -0
  55. package/lib/ui/globals/constants/index.d.ts.map +1 -0
  56. package/lib/ui/globals/constants/links.d.ts +4 -0
  57. package/lib/ui/globals/constants/links.d.ts.map +1 -0
  58. package/lib/ui/globals/constants/strings.d.ts +5 -0
  59. package/lib/ui/globals/constants/strings.d.ts.map +1 -0
  60. package/lib/ui/globals/directives/clickOutside.d.ts +9 -0
  61. package/lib/ui/globals/directives/clickOutside.d.ts.map +1 -0
  62. package/lib/ui/globals/directives/index.d.ts +16 -0
  63. package/lib/ui/globals/directives/index.d.ts.map +1 -0
  64. package/lib/ui/globals/directives/mouseOut.d.ts +33 -0
  65. package/lib/ui/globals/directives/mouseOut.d.ts.map +1 -0
  66. package/lib/ui/globals/directives/mouseOut.test.d.ts +2 -0
  67. package/lib/ui/globals/directives/mouseOut.test.d.ts.map +1 -0
  68. package/lib/ui/globals/directives/resize.d.ts +11 -0
  69. package/lib/ui/globals/directives/resize.d.ts.map +1 -0
  70. package/lib/ui/globals/helpers/espace.d.ts +17 -0
  71. package/lib/ui/globals/helpers/espace.d.ts.map +1 -0
  72. package/lib/ui/globals/signals/createTyping.d.ts +27 -0
  73. package/lib/ui/globals/signals/createTyping.d.ts.map +1 -0
  74. package/lib/ui/globals/types.d.ts +54 -0
  75. package/lib/ui/globals/types.d.ts.map +1 -0
  76. package/lib/ui/utils.d.ts +11 -0
  77. package/lib/ui/utils.d.ts.map +1 -0
  78. package/package.json +2 -3
  79. package/src/helpers/clamp.ts +3 -0
  80. package/src/helpers/createContext.ts +20 -4
  81. package/src/helpers/index.ts +2 -0
  82. package/src/index.ts +9 -1
  83. package/src/services/main.machine.data.ts +13 -2
  84. package/src/services/main.machine.helpers.ts +12 -4
  85. package/src/services/main.machine.test.ts +205 -0
  86. package/src/services/main.machine.ts +253 -75
  87. package/src/services/main.machine.typings.ts +31 -6
  88. package/src/ui/Flow.tsx +47 -8
  89. package/src/ui/components/Bounds.tsx +0 -2
  90. package/src/ui/components/EdgeComponent.tsx +60 -46
  91. package/src/ui/components/EdgesBoard.tsx +1 -2
  92. package/src/ui/components/EditPanel.hooks.ts +69 -0
  93. package/src/ui/components/EditPanel.tsx +89 -0
  94. package/src/ui/components/EditPanel.types.ts +49 -0
  95. package/src/ui/components/FlowChart.context.ts +22 -141
  96. package/src/ui/components/FlowChart.tsx +27 -64
  97. package/src/ui/components/FlowChart.types.ts +92 -0
  98. package/src/ui/components/NodeComponent.tsx +88 -65
  99. package/src/ui/components/NodesBoard.tsx +61 -56
  100. package/src/ui/components/Panels.tsx +40 -0
  101. package/src/ui/globals/components/atoms/TypingText.tsx +63 -0
  102. package/src/ui/globals/components/molecules/FadingDots.tsx +45 -0
  103. package/src/ui/globals/components/organisms/LoadingFallback.tsx +116 -0
  104. package/src/ui/globals/constants/index.ts +2 -0
  105. package/src/ui/globals/constants/links.ts +15 -0
  106. package/src/ui/globals/constants/strings.ts +5 -0
  107. package/src/ui/globals/directives/clickOutside.ts +18 -0
  108. package/src/ui/globals/directives/index.ts +16 -0
  109. package/src/ui/globals/directives/mouseOut.test.ts +115 -0
  110. package/src/ui/globals/directives/mouseOut.ts +98 -0
  111. package/src/ui/globals/directives/resize.ts +33 -0
  112. package/src/ui/globals/helpers/espace.ts +26 -0
  113. package/src/ui/globals/signals/createTyping.ts +82 -0
  114. package/src/ui/globals/types.ts +83 -0
  115. package/src/ui/utils.ts +14 -0
@@ -1 +1 @@
1
- {"version":3,"file":"FlowChart.context.d.ts","sourceRoot":"","sources":["../../../src/ui/components/FlowChart.context.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAEvE;;;;;GAKG;AACH,eAAO,MAAO,QAAQ,sCAAE,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAkHV,CAAC;;;;mBACT,CAAC;;;;oBAEF,CAAZ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAA1I,CAAC;;;;2BAAmE,CAAC;;;;4BAAoE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAA1I,CAAC;;;;2BAAmE,CAAC;;;;4BAAoE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAD3gB,CAAC"}
@@ -1,53 +1,14 @@
1
- import { inferT } from '@bemedev/app/typings';
2
- import { Component } from 'solid-js';
3
- import { edgeJSON, nodeJSON } from '../../services/main.machine.typings';
4
- /** Serialized node properties type inferred from schema {@linkcode nodeJSON}. */
5
- export type NodeProps = inferT<typeof nodeJSON>;
6
- /** Serialized edge properties type inferred from schema {@linkcode edgeJSON}. */
7
- export type EdgeProps = inferT<typeof edgeJSON>;
8
- /**
9
- * Configuration options and callback handlers for the {@linkcode FlowChart}
10
- * component.
11
- */
12
- export type FlowProps = {
13
- /** Initial flowchart state configuration with nodes and edges. */
14
- config?: {
15
- nodes?: (NodeProps & {
16
- id: string;
17
- })[];
18
- edges?: (EdgeProps & {
19
- id: string;
20
- })[];
21
- };
22
- /**
23
- * Callback triggered when a new node is created.
24
- *
25
- * @param node - The created node object of type {@linkcode NodeProps}.
26
- */
27
- onNodeAdded?: (node: NodeProps) => void;
28
- /**
29
- * Callback triggered when a node is deleted.
30
- *
31
- * @param nodeId - The identifier of the deleted node.
32
- */
33
- onNodeDeleted?: (nodeId: string) => void;
34
- /**
35
- * Callback triggered when an edge is created.
36
- *
37
- * @param edge - The created edge object of type {@linkcode EdgeProps}.
38
- */
39
- onEdgeAdded?: (edge: EdgeProps) => void;
40
- /**
41
- * Callback triggered when an edge is deleted.
42
- *
43
- * @param edgeId - The identifier of the deleted edge.
44
- */
45
- onEdgeDeleted?: (edgeId: string) => void;
46
- };
1
+ import { JSX } from 'solid-js';
2
+ import { NodeData, NodeProps } from '../../services/main.machine.typings';
3
+ import { FlowProps } from './FlowChart.types';
4
+ export type { NodeData, NodeProps };
47
5
  /**
48
6
  * Flowchart board canvas component that renders interactive nodes, edges, pan/zoom,
49
7
  * and toolbar controls.
50
8
  *
9
+ * @template | {@linkcode NodeData} `D` - Custom node data dictionary type extending
10
+ * {@linkcode NodeData}.
11
+ *
51
12
  * @param props - Flowchart configuration and event handlers of type
52
13
  * {@linkcode FlowProps}.
53
14
  *
@@ -55,5 +16,5 @@ export type FlowProps = {
55
16
  *
56
17
  * @see {@linkcode NodesBoard}, {@linkcode useFlow}, {@linkcode DEFAULT_NODES}
57
18
  */
58
- export declare const FlowChart: Component<FlowProps>;
19
+ export declare const FlowChart: <D extends NodeData = NodeData>(props: FlowProps<D>) => JSX.Element;
59
20
  //# sourceMappingURL=FlowChart.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FlowChart.d.ts","sourceRoot":"","sources":["../../../src/ui/components/FlowChart.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAsB,MAAM,UAAU,CAAC;AAGzD,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAI9E,iFAAiF;AACjF,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,OAAO,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S,CAAC,CAAC,CAAC,KAClB,GAAG,CAAC,OAuCN,CAAC"}
@@ -0,0 +1,87 @@
1
+ import { NotUndefined } from '@bemedev/app/bemedev';
2
+ import { Component, JSX } from 'solid-js';
3
+ import { EdgeProps } from '../../services/main.machine.typings';
4
+ import { NodeData, NodeProps } from './FlowChart';
5
+ /** Overlay panel slots positioned around the flowchart canvas. */
6
+ export type FlowPanels = {
7
+ /** Top-left corner overlay panel slot. */
8
+ topLeft?: JSX.Element | Component;
9
+ /** Top-right corner overlay panel slot. */
10
+ topRight?: JSX.Element | Component;
11
+ /** Bottom-left corner overlay panel slot. */
12
+ bottomLeft?: JSX.Element | Component;
13
+ };
14
+ /**
15
+ * Configuration options and callback handlers for the {@linkcode FlowChart}
16
+ * component.
17
+ *
18
+ * @template | {@linkcode NodeData} `D` - Custom node data dictionary type extending
19
+ * {@linkcode NodeData}.
20
+ */
21
+ export type FlowProps<D extends NodeData = NodeData> = {
22
+ /** Optional delay in milliseconds before mounting the flowchart canvas. */
23
+ delay?: number;
24
+ /** Initial flowchart state configuration with nodes and edges. */
25
+ config?: {
26
+ nodes?: (NodeProps<D> & {
27
+ id: string;
28
+ })[];
29
+ edges?: (EdgeProps & {
30
+ id: string;
31
+ })[];
32
+ };
33
+ /** Custom node component to render inside each flowchart node. */
34
+ component?: Component<D>;
35
+ /** Default data for new nodes created in the flowchart. */
36
+ defaultData?: D;
37
+ /** Custom overlay panels positioned around the canvas. */
38
+ panels?: FlowPanels;
39
+ /**
40
+ * Callback triggered when a new node is created.
41
+ *
42
+ * @param node - The created node object of type {@linkcode NodeProps}.
43
+ */
44
+ onNodeAdded?: (node: NodeProps<D>) => void;
45
+ /**
46
+ * Callback triggered when a node is deleted.
47
+ *
48
+ * @param nodeId - The identifier of the deleted node.
49
+ */
50
+ onNodeDeleted?: (nodeId: string) => void;
51
+ /**
52
+ * Callback triggered when an edge is created.
53
+ *
54
+ * @param edge - The created edge object of type {@linkcode EdgeProps}.
55
+ */
56
+ onEdgeAdded?: (edge: EdgeProps) => void;
57
+ /**
58
+ * Callback triggered when an edge is deleted.
59
+ *
60
+ * @param edgeId - The identifier of the deleted edge.
61
+ */
62
+ onEdgeDeleted?: (edgeId: string) => void;
63
+ };
64
+ /**
65
+ * Type alias extracting the non-undefined flowchart configuration object.
66
+ *
67
+ * @template | {@linkcode NodeData} `D` - Custom node data dictionary type extending
68
+ * {@linkcode NodeData}.
69
+ */
70
+ export type ConfigFrom<D extends NodeData = NodeData> = NotUndefined<FlowProps<D>['config']>;
71
+ /**
72
+ * Type alias extracting the non-undefined list of nodes from flowchart
73
+ * configuration.
74
+ *
75
+ * @template | {@linkcode NodeData} `D` - Custom node data dictionary type extending
76
+ * {@linkcode NodeData}.
77
+ */
78
+ export type NodesFrom<D extends NodeData> = NotUndefined<ConfigFrom<D>['nodes']>;
79
+ /**
80
+ * Type alias extracting the non-undefined list of edges from flowchart
81
+ * configuration.
82
+ *
83
+ * @template | {@linkcode NodeData} `D` - Custom node data dictionary type extending
84
+ * {@linkcode NodeData}.
85
+ */
86
+ export type EdgesFrom<D extends NodeData> = NotUndefined<ConfigFrom<D>['edges']>;
87
+ //# sourceMappingURL=FlowChart.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlowChart.types.d.ts","sourceRoot":"","sources":["../../../src/ui/components/FlowChart.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AACzD,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAEhE,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAEvD,kEAAkE;AAClE,MAAM,MAAM,UAAU,GAAG;IACvB,0CAA0C;IAC1C,OAAO,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,SAAS,CAAC;IAClC,2CAA2C;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;;;;;GAMG;AACH,MAAM,MAAM,SAAS,CAAC,CAAC,SAAS,QAAQ,IAAI,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;AAEjF;;;;;;GAMG;AACH,MAAM,MAAM,SAAS,CAAC,CAAC,SAAS,QAAQ,IAAI,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC"}
@@ -1,26 +1,24 @@
1
- import { Component } from 'solid-js';
2
- declare module 'solid-js' {
3
- namespace JSX {
4
- interface Directives {
5
- draggable: any;
6
- }
7
- }
8
- }
1
+ import { Component, JSX } from 'solid-js';
2
+ import { NodeData } from '../../services/main.machine.typings';
9
3
  /** Properties for rendering an individual flowchart node component. */
10
- type Props = {
4
+ export type NodeComponentProps<D extends NodeData = NodeData> = {
11
5
  /** Unique identifier of the node. */
12
6
  id: string;
7
+ /** Custom node component to render inside the node container. */
8
+ children?: Component<D>;
13
9
  };
14
10
  /**
15
11
  * Interactive flowchart node component supporting dragging, selection, handle
16
12
  * connections, and child/sibling creation.
17
13
  *
18
- * @param props - Node rendering properties of type {@linkcode Props}.
14
+ * @template | {@linkcode NodeData} `D` - Custom node data dictionary type extending
15
+ * {@linkcode NodeData}.
16
+ *
17
+ * @param props - Node rendering properties of type {@linkcode NodeComponentProps}.
19
18
  *
20
19
  * @returns The rendered Solid component.
21
20
  *
22
21
  * @see {@linkcode useFlow}, {@linkcode HANDLE_CONTAINER_OFFSET_X}, {@linkcode HANDLE_MARGIN_TOP}, {@linkcode HANDLE_SIZE}
23
22
  */
24
- export declare const NodeComponent: Component<Props>;
25
- export {};
23
+ export declare const NodeComponent: <D extends NodeData = NodeData>(props: NodeComponentProps<D>) => JSX.Element;
26
24
  //# sourceMappingURL=NodeComponent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NodeComponent.d.ts","sourceRoot":"","sources":["../../../src/ui/components/NodeComponent.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAQ,MAAM,UAAU,CAAC;AAU3C,OAAO,QAAQ,UAAU,CAAC;IACxB,UAAU,GAAG,CAAC;QACZ,UAAU,UAAU;YAClB,SAAS,EAAE,GAAG,CAAC;SAChB;KACF;CACF;AAED,uEAAuE;AACvE,KAAK,KAAK,GAAG;IACX,qCAAqC;IACrC,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa,EAAE,SAAS,CAAC,KAAK,CA+L1C,CAAC"}
1
+ {"version":3,"file":"NodeComponent.d.ts","sourceRoot":"","sources":["../../../src/ui/components/NodeComponent.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAO,KAAK,GAAG,EAAQ,MAAM,UAAU,CAAC;AAQ/D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAK/D,uEAAuE;AACvE,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,QAAQ,GAAG,QAAQ,IAAI;IAC9D,qCAAqC;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,iEAAiE;IACjE,QAAQ,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC;CACzB,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,aAAa,GAAI,CAAC,SAAS,QAAQ,GAAG,QAAQ,EACzD,OAAO,kBAAkB,CAAC,CAAC,CAAC,KAC3B,GAAG,CAAC,OAqNN,CAAC"}
@@ -1,11 +1,26 @@
1
- import { Component } from 'solid-js';
1
+ import { Component, JSX } from 'solid-js';
2
+ import { NodeData } from '../../services/main.machine.typings';
3
+ import { FlowPanels } from './FlowChart.types';
4
+ /** Properties for the {@linkcode NodesBoard} component. */
5
+ type Props<D extends NodeData = NodeData> = {
6
+ /** Optional custom node component. */
7
+ component?: Component<D>;
8
+ /** Optional custom overlay panels. */
9
+ panels?: FlowPanels;
10
+ };
2
11
  /**
3
12
  * Interactive board component containing the drag-drop viewport, zoom controls,
4
13
  * panning gestures, and rendered nodes/edges.
5
14
  *
15
+ * @template | {@linkcode NodeData} `D` - Custom node data dictionary type extending
16
+ * {@linkcode NodeData}.
17
+ *
18
+ * @param props - Board component properties of type {@linkcode Props}.
19
+ *
6
20
  * @returns The rendered Solid component.
7
21
  *
8
22
  * @see {@linkcode DragBounds}, {@linkcode EdgesBoard}, {@linkcode NodeComponent}, {@linkcode useFlow}, {@linkcode CANVAS_FACTOR}, {@linkcode SCROLL_MULTIPLIER}
9
23
  */
10
- export declare const NodesBoard: Component;
24
+ export declare const NodesBoard: <D extends NodeData = NodeData>(props: Props<D>) => JSX.Element;
25
+ export {};
11
26
  //# sourceMappingURL=NodesBoard.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NodesBoard.d.ts","sourceRoot":"","sources":["../../../src/ui/components/NodesBoard.tsx"],"names":[],"mappings":"AAQA,OAAO,EACL,SAAS,EAOV,MAAM,UAAU,CAAC;AAQlB;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,EAAE,SA6SxB,CAAC"}
1
+ {"version":3,"file":"NodesBoard.d.ts","sourceRoot":"","sources":["../../../src/ui/components/NodesBoard.tsx"],"names":[],"mappings":"AAQA,OAAO,EACL,KAAK,SAAS,EAId,KAAK,GAAG,EAIT,MAAM,UAAU,CAAC;AAGlB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qCAAqC,CAAC;AAIpE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAIpD,2DAA2D;AAC3D,KAAK,KAAK,CAAC,CAAC,SAAS,QAAQ,GAAG,QAAQ,IAAI;IAC1C,sCAAsC;IACtC,SAAS,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC;IACzB,sCAAsC;IACtC,MAAM,CAAC,EAAE,UAAU,CAAC;CACrB,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,QAAQ,GAAG,QAAQ,EACtD,OAAO,KAAK,CAAC,CAAC,CAAC,KACd,GAAG,CAAC,OA+RN,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { Component } from 'solid-js';
2
+ import { FlowPanels } from './FlowChart.types';
3
+ /**
4
+ * Overlay container rendering custom panel slots positioned around the flowchart
5
+ * canvas.
6
+ *
7
+ * @param props - Flow panels layout properties of type {@linkcode FlowPanels}.
8
+ *
9
+ * @returns Rendered overlay panels JSX elements.
10
+ */
11
+ export declare const Panels: Component<FlowPanels>;
12
+ //# sourceMappingURL=Panels.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Panels.d.ts","sourceRoot":"","sources":["../../../src/ui/components/Panels.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,UAAU,CAAC;AAEhD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD;;;;;;;GAOG;AACH,eAAO,MAAM,MAAM,EAAE,SAAS,CAAC,UAAU,CA2BxC,CAAC"}
@@ -0,0 +1,29 @@
1
+ import { Accessor, Component } from 'solid-js';
2
+ /** Base configuration properties for {@linkcode TypingText}. */
3
+ type BaseProps = {
4
+ /** The text string to animate typing out. */
5
+ children: string;
6
+ /** Optional container CSS class name. */
7
+ class?: string;
8
+ /** Keystroke interval delay in milliseconds. Defaults to 62. */
9
+ interval?: number;
10
+ /** Optional boolean accessor to disable typing and display text immediately. */
11
+ disabled?: Accessor<boolean>;
12
+ };
13
+ /** Props for the {@linkcode TypingText} component with optional rewind configuration. */
14
+ type Props = BaseProps & ({
15
+ rewind: true;
16
+ rewindDelay: number;
17
+ } | {
18
+ rewind?: false;
19
+ });
20
+ /**
21
+ * Renders animated text with a typewriter keystroke animation effect.
22
+ *
23
+ * @param props - Component configuration properties of type {@linkcode Props}.
24
+ *
25
+ * @returns Rendered animated typing text JSX container.
26
+ */
27
+ export declare const TypingText: Component<Props>;
28
+ export {};
29
+ //# sourceMappingURL=TypingText.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TypingText.d.ts","sourceRoot":"","sources":["../../../../../src/ui/globals/components/atoms/TypingText.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,QAAQ,EACb,KAAK,SAAS,EACf,MAAM,UAAU,CAAC;AAKlB,gEAAgE;AAChE,KAAK,SAAS,GAAG;IACf,6CAA6C;IAC7C,QAAQ,EAAE,MAAM,CAAC;IACjB,yCAAyC;IACzC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gEAAgE;IAChE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gFAAgF;IAChF,QAAQ,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;CAC9B,CAAC;AAEF,yFAAyF;AACzF,KAAK,KAAK,GAAG,SAAS,GACpB,CAAC;IAAE,MAAM,EAAE,IAAI,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAE,GAAG;IAAE,MAAM,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC,CAAC;AAE/D;;;;;;GAMG;AACH,eAAO,MAAM,UAAU,EAAE,SAAS,CAAC,KAAK,CA4BvC,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { Component, JSX } from 'solid-js';
2
+ import { OmitPropsOf } from '../../types';
3
+ /**
4
+ * Loading animation component displaying animated pulsing dots.
5
+ *
6
+ * @param props - Fading dots configuration properties.
7
+ * @param props.count - The number of dots to display.
8
+ * @param props.duration - Animation duration in milliseconds. Defaults to 500.
9
+ * @param props.innerProps - Additional properties and CSS styles applied to dot
10
+ * elements.
11
+ *
12
+ * @returns Rendered animated dots container JSX element.
13
+ */
14
+ export declare const FadingDots: Component<{
15
+ count: number;
16
+ duration?: number;
17
+ innerProps?: OmitPropsOf<'span', 'children' | 'style'> & {
18
+ style?: JSX.CSSProperties;
19
+ };
20
+ }>;
21
+ //# sourceMappingURL=FadingDots.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FadingDots.d.ts","sourceRoot":"","sources":["../../../../../src/ui/globals/components/molecules/FadingDots.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAG3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C;;;;;;;;;;GAUG;AACH,eAAO,MAAM,UAAU,EAAE,SAAS,CAAC;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAAC,GAAG;QACvD,KAAK,CAAC,EAAE,GAAG,CAAC,aAAa,CAAC;KAC3B,CAAC;CACH,CAsBA,CAAC"}
@@ -0,0 +1,46 @@
1
+ import { Component } from 'solid-js';
2
+ /** Properties for the {@linkcode LoadingFallback} component. */
3
+ interface LoadingFallbackProps {
4
+ /**
5
+ * Text message to display alongside the loading animation.
6
+ *
7
+ * @default 'Chargement en cours...'
8
+ */
9
+ message?: string;
10
+ /** Additional CSS class names. */
11
+ class?: string;
12
+ /**
13
+ * Spinner dimension sizing.
14
+ *
15
+ * @default 'lg'
16
+ */
17
+ size?: 'sm' | 'md' | 'lg' | 'xl';
18
+ /** Keystroke typing interval in milliseconds. Defaults to 80. */
19
+ interval?: number;
20
+ /** Whether the typing text animation rewinds upon completion. Defaults to true. */
21
+ rewind?: boolean;
22
+ /**
23
+ * Delay in milliseconds before rewinding or restarting typing animation. Defaults
24
+ * to 2000.
25
+ */
26
+ rewindDelay?: number;
27
+ }
28
+ /**
29
+ * Fallback loading screen component displaying an animated spinner and typewriter
30
+ * text.
31
+ *
32
+ * @example
33
+ * ```tsx
34
+ * <Show when={data()} fallback={<LoadingFallback />}>
35
+ * <DataComponent data={data()!} />
36
+ * </Show>;
37
+ * ```;
38
+ *
39
+ * @param props - Loading fallback properties of type
40
+ * {@linkcode LoadingFallbackProps}.
41
+ *
42
+ * @returns Rendered full-screen loading fallback JSX element.
43
+ */
44
+ export declare const LoadingFallback: Component<LoadingFallbackProps>;
45
+ export {};
46
+ //# sourceMappingURL=LoadingFallback.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LoadingFallback.d.ts","sourceRoot":"","sources":["../../../../../src/ui/globals/components/organisms/LoadingFallback.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAM1C,gEAAgE;AAChE,UAAU,oBAAoB;IAC5B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,kCAAkC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACjC,iEAAiE;IACjE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,mFAAmF;IACnF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,eAAe,EAAE,SAAS,CAAC,oBAAoB,CAkE3D,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './strings';
2
+ export * from './links';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ui/globals/constants/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { RootLink } from '../types';
2
+ /** Preconnect and stylesheet link descriptors for Google Fonts. */
3
+ export declare const GOOGLE_FONTS_LINKS: RootLink[];
4
+ //# sourceMappingURL=links.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"links.d.ts","sourceRoot":"","sources":["../../../../src/ui/globals/constants/links.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,mEAAmE;AACnE,eAAO,MAAM,kBAAkB,EAAE,QAAQ,EAWxC,CAAC"}
@@ -0,0 +1,5 @@
1
+ /** Zero-width space character used for layout preservation in typing animations. */
2
+ export declare const VISIBLE_ESPACE = "\u200B";
3
+ /** Non-breakable space character string. */
4
+ export declare const NON_BREAKABLE_SPACE = "\u00A0";
5
+ //# sourceMappingURL=strings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"strings.d.ts","sourceRoot":"","sources":["../../../../src/ui/globals/constants/strings.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,eAAO,MAAM,cAAc,WAAW,CAAC;AAEvC,4CAA4C;AAC5C,eAAO,MAAM,mBAAmB,WAAS,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Solid custom directive that triggers a callback when a click occurs outside the
3
+ * bound element.
4
+ *
5
+ * @param el - The bound DOM element.
6
+ * @param accessor - Accessor returning the callback function to execute.
7
+ */
8
+ export declare const clickOutside: (el: any, accessor: any) => void;
9
+ //# sourceMappingURL=clickOutside.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clickOutside.d.ts","sourceRoot":"","sources":["../../../../src/ui/globals/directives/clickOutside.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,GAAI,IAAI,GAAG,EAAE,UAAU,GAAG,SAQlD,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { MouseOutParam } from './mouseOut';
2
+ export * from './clickOutside';
3
+ export * from './mouseOut';
4
+ export * from './resize';
5
+ declare module 'solid-js' {
6
+ namespace JSX {
7
+ interface Directives {
8
+ clickOutside: () => void;
9
+ mouseOut: MouseOutParam;
10
+ draggable: {
11
+ skipTransform?: boolean;
12
+ };
13
+ }
14
+ }
15
+ }
16
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ui/globals/directives/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AAEzB,OAAO,QAAQ,UAAU,CAAC;IAExB,UAAU,GAAG,CAAC;QACZ,UAAU,UAAU;YAClB,YAAY,EAAE,MAAM,IAAI,CAAC;YACzB,QAAQ,EAAE,aAAa,CAAC;YACxB,SAAS,EAAE;gBAAE,aAAa,CAAC,EAAE,OAAO,CAAA;aAAE,CAAC;SACxC;KACF;CACF"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Callback function type invoked when the mouse leaves the bound element.
3
+ *
4
+ * @param event - Optional mouse event that triggered the leave.
5
+ */
6
+ export type MouseOutCallback = (event?: MouseEvent) => void;
7
+ /** Configuration options for the {@linkcode mouseOut} directive. */
8
+ export type MouseOutOptions = {
9
+ /** Callback function to trigger after the timer elapses. */
10
+ callback?: MouseOutCallback;
11
+ /** Alternative callback property name for triggering after the timer elapses. */
12
+ onMouseOut?: MouseOutCallback;
13
+ /**
14
+ * Delay in milliseconds before triggering the callback after the mouse leaves. If
15
+ * the cursor re-enters the element before this duration, the timer is reset.
16
+ *
17
+ * @defaultValue 0
18
+ */
19
+ delay?: number;
20
+ };
21
+ /** Accepted parameter shapes for the {@linkcode mouseOut} directive. */
22
+ export type MouseOutParam = MouseOutCallback | [callback: MouseOutCallback, delay?: number] | MouseOutOptions;
23
+ /**
24
+ * Solid custom directive that triggers a callback when the mouse leaves the bound
25
+ * element after a specified timer duration. If the user re-enters the component
26
+ * before the timer expires, the timer is reset/cancelled.
27
+ *
28
+ * @param el - The bound DOM element.
29
+ * @param accessor - Accessor returning a callback, tuple `[callback, delay]`, or
30
+ * type {@linkcode MouseOutOptions}.
31
+ */
32
+ export declare const mouseOut: (el: HTMLElement | Element, accessor: () => MouseOutParam) => void;
33
+ //# sourceMappingURL=mouseOut.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mouseOut.d.ts","sourceRoot":"","sources":["../../../../src/ui/globals/directives/mouseOut.ts"],"names":[],"mappings":"AAEA;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,KAAK,CAAC,EAAE,UAAU,KAAK,IAAI,CAAC;AAE5D,oEAAoE;AACpE,MAAM,MAAM,eAAe,GAAG;IAC5B,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAE5B,iFAAiF;IACjF,UAAU,CAAC,EAAE,gBAAgB,CAAC;IAE9B;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,wEAAwE;AACxE,MAAM,MAAM,aAAa,GACrB,gBAAgB,GAChB,CAAC,QAAQ,EAAE,gBAAgB,EAAE,KAAK,CAAC,EAAE,MAAM,CAAC,GAC5C,eAAe,CAAC;AAEpB;;;;;;;;GAQG;AACH,eAAO,MAAM,QAAQ,GACnB,IAAI,WAAW,GAAG,OAAO,EACzB,UAAU,MAAM,aAAa,SAsD9B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=mouseOut.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mouseOut.test.d.ts","sourceRoot":"","sources":["../../../../src/ui/globals/directives/mouseOut.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Creates a ResizeObserver hook attached to the node content container element,
3
+ * dispatching RESIZE events to update node dimensions and edge positioning in
4
+ * real-time.
5
+ *
6
+ * @param id - Unique identifier of the flowchart node.
7
+ *
8
+ * @returns Ref callback attaching and cleaning up the observer on unmount.
9
+ */
10
+ export declare const resize: (id: string) => (el: HTMLDivElement) => () => void;
11
+ //# sourceMappingURL=resize.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resize.d.ts","sourceRoot":"","sources":["../../../../src/ui/globals/directives/resize.ts"],"names":[],"mappings":"AAEA;;;;;;;;GAQG;AACH,eAAO,MAAM,MAAM,GAAI,IAAI,MAAM,MAAM,IAAI,cAAc,eAqBxD,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Returns a zero-width space if string is empty, preserving layout flow.
3
+ *
4
+ * @param newText - The input text string.
5
+ *
6
+ * @returns The input text or zero-width visible space placeholder.
7
+ */
8
+ export declare const espace: (newText: string) => string;
9
+ /**
10
+ * Generates a repeated sequence of non-breakable space characters.
11
+ *
12
+ * @param count - The number of non-breakable spaces to repeat. Defaults to 1.
13
+ *
14
+ * @returns The non-breakable space string sequence.
15
+ */
16
+ export declare const repeatSpace: (count?: number) => string;
17
+ //# sourceMappingURL=espace.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"espace.d.ts","sourceRoot":"","sources":["../../../../src/ui/globals/helpers/espace.ts"],"names":[],"mappings":"AAEA;;;;;;GAMG;AACH,eAAO,MAAM,MAAM,GAAI,SAAS,MAAM,WAKrC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,WAAW,GAAI,cAAS,WAEpC,CAAC"}
@@ -0,0 +1,27 @@
1
+ /** Typing animation options. */
2
+ type Props = {
3
+ /** The text content to type out. */
4
+ content: string;
5
+ /** Minimum delay interval between keystrokes in milliseconds. */
6
+ min: number;
7
+ /** Whether the typing effect rewinds after completion. */
8
+ rewind?: boolean;
9
+ /** Delay in milliseconds before rewinding or restarting. */
10
+ rewindDelay?: number;
11
+ };
12
+ /**
13
+ * Creates a reactive typewriter effect signal with oscillatory typing delay and
14
+ * optional rewind.
15
+ *
16
+ * @param props - Configuration properties of type {@linkcode Props}.
17
+ *
18
+ * @returns An object containing the current text signal, type trigger, and text
19
+ * setter.
20
+ */
21
+ export declare const createTyping: ({ content, min, ...props }: Props) => {
22
+ text: import('solid-js').Accessor<string>;
23
+ type: () => void;
24
+ setText: import('solid-js').Setter<string>;
25
+ };
26
+ export {};
27
+ //# sourceMappingURL=createTyping.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createTyping.d.ts","sourceRoot":"","sources":["../../../../src/ui/globals/signals/createTyping.ts"],"names":[],"mappings":"AAKA,gCAAgC;AAChC,KAAK,KAAK,GAAG;IACX,oCAAoC;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,iEAAiE;IACjE,GAAG,EAAE,MAAM,CAAC;IACZ,0DAA0D;IAC1D,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,4DAA4D;IAC5D,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,YAAY,GAAI,4BAA4B,KAAK;;;;CAuD7D,CAAC"}