@xxmachina/components 0.0.0-PLACEHOLDER

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 (195) hide show
  1. package/extras/flow/index.d.ts +183 -0
  2. package/features/command/index.d.ts +67 -0
  3. package/features/query/index.d.ts +162 -0
  4. package/fesm2022/xxmachina-components-extras-flow.mjs +397 -0
  5. package/fesm2022/xxmachina-components-extras-flow.mjs.map +1 -0
  6. package/fesm2022/xxmachina-components-features-command.mjs +93 -0
  7. package/fesm2022/xxmachina-components-features-command.mjs.map +1 -0
  8. package/fesm2022/xxmachina-components-features-query.mjs +256 -0
  9. package/fesm2022/xxmachina-components-features-query.mjs.map +1 -0
  10. package/fesm2022/xxmachina-components-groups-command-form.mjs +73 -0
  11. package/fesm2022/xxmachina-components-groups-command-form.mjs.map +1 -0
  12. package/fesm2022/xxmachina-components-groups-query-form.mjs +215 -0
  13. package/fesm2022/xxmachina-components-groups-query-form.mjs.map +1 -0
  14. package/fesm2022/xxmachina-components-molecules-calendar-paginator.mjs +51 -0
  15. package/fesm2022/xxmachina-components-molecules-calendar-paginator.mjs.map +1 -0
  16. package/fesm2022/xxmachina-components-molecules-daily-cell.mjs +158 -0
  17. package/fesm2022/xxmachina-components-molecules-daily-cell.mjs.map +1 -0
  18. package/fesm2022/xxmachina-components-molecules-weekly-header.mjs +33 -0
  19. package/fesm2022/xxmachina-components-molecules-weekly-header.mjs.map +1 -0
  20. package/fesm2022/xxmachina-components-organisms-calendar-section.mjs +123 -0
  21. package/fesm2022/xxmachina-components-organisms-calendar-section.mjs.map +1 -0
  22. package/fesm2022/xxmachina-components-organisms-event-input-section.mjs +150 -0
  23. package/fesm2022/xxmachina-components-organisms-event-input-section.mjs.map +1 -0
  24. package/fesm2022/xxmachina-components-organisms-terminal-input-section.mjs +123 -0
  25. package/fesm2022/xxmachina-components-organisms-terminal-input-section.mjs.map +1 -0
  26. package/fesm2022/xxmachina-components-organisms-video-trimmer-section.mjs +93 -0
  27. package/fesm2022/xxmachina-components-organisms-video-trimmer-section.mjs.map +1 -0
  28. package/fesm2022/xxmachina-components-organisms-xterm.mjs +94 -0
  29. package/fesm2022/xxmachina-components-organisms-xterm.mjs.map +1 -0
  30. package/fesm2022/xxmachina-components-pages-command.mjs +482 -0
  31. package/fesm2022/xxmachina-components-pages-command.mjs.map +1 -0
  32. package/fesm2022/xxmachina-components-pages-query-v2.mjs +198 -0
  33. package/fesm2022/xxmachina-components-pages-query-v2.mjs.map +1 -0
  34. package/fesm2022/xxmachina-components-pages-query.mjs +782 -0
  35. package/fesm2022/xxmachina-components-pages-query.mjs.map +1 -0
  36. package/fesm2022/xxmachina-components-pages-thread.mjs +176 -0
  37. package/fesm2022/xxmachina-components-pages-thread.mjs.map +1 -0
  38. package/fesm2022/xxmachina-components-routes-commands-command.routes-CSwIdXZg.mjs +19 -0
  39. package/fesm2022/xxmachina-components-routes-commands-command.routes-CSwIdXZg.mjs.map +1 -0
  40. package/fesm2022/xxmachina-components-routes-commands-pages.routes-j2xVop4W.mjs +10 -0
  41. package/fesm2022/xxmachina-components-routes-commands-pages.routes-j2xVop4W.mjs.map +1 -0
  42. package/fesm2022/xxmachina-components-routes-commands.mjs +104 -0
  43. package/fesm2022/xxmachina-components-routes-commands.mjs.map +1 -0
  44. package/fesm2022/xxmachina-components-routes-pages.mjs +62 -0
  45. package/fesm2022/xxmachina-components-routes-pages.mjs.map +1 -0
  46. package/fesm2022/xxmachina-components-routes-preloading.mjs +22 -0
  47. package/fesm2022/xxmachina-components-routes-preloading.mjs.map +1 -0
  48. package/fesm2022/xxmachina-components-routes-queries-pages.routes-CfrglCIL.mjs +9 -0
  49. package/fesm2022/xxmachina-components-routes-queries-pages.routes-CfrglCIL.mjs.map +1 -0
  50. package/fesm2022/xxmachina-components-routes-queries.mjs +147 -0
  51. package/fesm2022/xxmachina-components-routes-queries.mjs.map +1 -0
  52. package/fesm2022/xxmachina-components-routes-query-pages.routes-CxTbOJDQ.mjs +17 -0
  53. package/fesm2022/xxmachina-components-routes-query-pages.routes-CxTbOJDQ.mjs.map +1 -0
  54. package/fesm2022/xxmachina-components-routes-query.mjs +42 -0
  55. package/fesm2022/xxmachina-components-routes-query.mjs.map +1 -0
  56. package/fesm2022/xxmachina-components-routes-resources-pages.routes-CzjQOxwT.mjs +9 -0
  57. package/fesm2022/xxmachina-components-routes-resources-pages.routes-CzjQOxwT.mjs.map +1 -0
  58. package/fesm2022/xxmachina-components-routes-resources-resource.routes-C5KpB3KM.mjs +131 -0
  59. package/fesm2022/xxmachina-components-routes-resources-resource.routes-C5KpB3KM.mjs.map +1 -0
  60. package/fesm2022/xxmachina-components-routes-resources.mjs +130 -0
  61. package/fesm2022/xxmachina-components-routes-resources.mjs.map +1 -0
  62. package/fesm2022/xxmachina-components-routes-side-chat.mjs +19 -0
  63. package/fesm2022/xxmachina-components-routes-side-chat.mjs.map +1 -0
  64. package/fesm2022/xxmachina-components-routes-side.mjs +18 -0
  65. package/fesm2022/xxmachina-components-routes-side.mjs.map +1 -0
  66. package/fesm2022/xxmachina-components-routes-transformer.mjs +99 -0
  67. package/fesm2022/xxmachina-components-routes-transformer.mjs.map +1 -0
  68. package/fesm2022/xxmachina-components-routes-transformers-pages.routes-02pVsNas.mjs +9 -0
  69. package/fesm2022/xxmachina-components-routes-transformers-pages.routes-02pVsNas.mjs.map +1 -0
  70. package/fesm2022/xxmachina-components-routes-transformers.mjs +75 -0
  71. package/fesm2022/xxmachina-components-routes-transformers.mjs.map +1 -0
  72. package/fesm2022/xxmachina-components-routes.mjs +35 -0
  73. package/fesm2022/xxmachina-components-routes.mjs.map +1 -0
  74. package/fesm2022/xxmachina-components-services-app.mjs +30 -0
  75. package/fesm2022/xxmachina-components-services-app.mjs.map +1 -0
  76. package/fesm2022/xxmachina-components-services-assistant.mjs +43 -0
  77. package/fesm2022/xxmachina-components-services-assistant.mjs.map +1 -0
  78. package/fesm2022/xxmachina-components-services-calendar.mjs +27 -0
  79. package/fesm2022/xxmachina-components-services-calendar.mjs.map +1 -0
  80. package/fesm2022/xxmachina-components-services-command.mjs +138 -0
  81. package/fesm2022/xxmachina-components-services-command.mjs.map +1 -0
  82. package/fesm2022/xxmachina-components-services-context.mjs +23 -0
  83. package/fesm2022/xxmachina-components-services-context.mjs.map +1 -0
  84. package/fesm2022/xxmachina-components-services-contract.mjs +29 -0
  85. package/fesm2022/xxmachina-components-services-contract.mjs.map +1 -0
  86. package/fesm2022/xxmachina-components-services-debug.mjs +48 -0
  87. package/fesm2022/xxmachina-components-services-debug.mjs.map +1 -0
  88. package/fesm2022/xxmachina-components-services-forms-query.mjs +70 -0
  89. package/fesm2022/xxmachina-components-services-forms-query.mjs.map +1 -0
  90. package/fesm2022/xxmachina-components-services-forms-schedule.mjs +78 -0
  91. package/fesm2022/xxmachina-components-services-forms-schedule.mjs.map +1 -0
  92. package/fesm2022/xxmachina-components-services-forms-variables.mjs +34 -0
  93. package/fesm2022/xxmachina-components-services-forms-variables.mjs.map +1 -0
  94. package/fesm2022/xxmachina-components-services-graphql.mjs +34 -0
  95. package/fesm2022/xxmachina-components-services-graphql.mjs.map +1 -0
  96. package/fesm2022/xxmachina-components-services-invoice.mjs +130 -0
  97. package/fesm2022/xxmachina-components-services-invoice.mjs.map +1 -0
  98. package/fesm2022/xxmachina-components-services-json-schema.mjs +61 -0
  99. package/fesm2022/xxmachina-components-services-json-schema.mjs.map +1 -0
  100. package/fesm2022/xxmachina-components-services-link.mjs +31 -0
  101. package/fesm2022/xxmachina-components-services-link.mjs.map +1 -0
  102. package/fesm2022/xxmachina-components-services-message.mjs +50 -0
  103. package/fesm2022/xxmachina-components-services-message.mjs.map +1 -0
  104. package/fesm2022/xxmachina-components-services-openai.mjs +113 -0
  105. package/fesm2022/xxmachina-components-services-openai.mjs.map +1 -0
  106. package/fesm2022/xxmachina-components-services-openapi.mjs +40 -0
  107. package/fesm2022/xxmachina-components-services-openapi.mjs.map +1 -0
  108. package/fesm2022/xxmachina-components-services-order.mjs +37 -0
  109. package/fesm2022/xxmachina-components-services-order.mjs.map +1 -0
  110. package/fesm2022/xxmachina-components-services-partner.mjs +42 -0
  111. package/fesm2022/xxmachina-components-services-partner.mjs.map +1 -0
  112. package/fesm2022/xxmachina-components-services-query.mjs +66 -0
  113. package/fesm2022/xxmachina-components-services-query.mjs.map +1 -0
  114. package/fesm2022/xxmachina-components-services-recording.mjs +71 -0
  115. package/fesm2022/xxmachina-components-services-recording.mjs.map +1 -0
  116. package/fesm2022/xxmachina-components-services-schedule.mjs +53 -0
  117. package/fesm2022/xxmachina-components-services-schedule.mjs.map +1 -0
  118. package/fesm2022/xxmachina-components-services-thread.mjs +125 -0
  119. package/fesm2022/xxmachina-components-services-thread.mjs.map +1 -0
  120. package/fesm2022/xxmachina-components-services-transformer.mjs +31 -0
  121. package/fesm2022/xxmachina-components-services-transformer.mjs.map +1 -0
  122. package/fesm2022/xxmachina-components-services-youtube.mjs +28 -0
  123. package/fesm2022/xxmachina-components-services-youtube.mjs.map +1 -0
  124. package/fesm2022/xxmachina-components-templates-agent.mjs +549 -0
  125. package/fesm2022/xxmachina-components-templates-agent.mjs.map +1 -0
  126. package/fesm2022/xxmachina-components-templates-background.mjs +309 -0
  127. package/fesm2022/xxmachina-components-templates-background.mjs.map +1 -0
  128. package/fesm2022/xxmachina-components-templates-invoice-iframe.mjs +48 -0
  129. package/fesm2022/xxmachina-components-templates-invoice-iframe.mjs.map +1 -0
  130. package/fesm2022/xxmachina-components-templates-scheduler.mjs +178 -0
  131. package/fesm2022/xxmachina-components-templates-scheduler.mjs.map +1 -0
  132. package/fesm2022/xxmachina-components-templates-video.mjs +101 -0
  133. package/fesm2022/xxmachina-components-templates-video.mjs.map +1 -0
  134. package/fesm2022/xxmachina-components-validators-query.mjs +38 -0
  135. package/fesm2022/xxmachina-components-validators-query.mjs.map +1 -0
  136. package/fesm2022/xxmachina-components.mjs +278 -0
  137. package/fesm2022/xxmachina-components.mjs.map +1 -0
  138. package/groups/command-form/index.d.ts +13 -0
  139. package/groups/query-form/index.d.ts +56 -0
  140. package/index.d.ts +71 -0
  141. package/molecules/calendar-paginator/index.d.ts +14 -0
  142. package/molecules/daily-cell/index.d.ts +35 -0
  143. package/molecules/weekly-header/index.d.ts +11 -0
  144. package/organisms/calendar-section/index.d.ts +25 -0
  145. package/organisms/event-input-section/index.d.ts +45 -0
  146. package/organisms/terminal-input-section/index.d.ts +37 -0
  147. package/organisms/video-trimmer-section/index.d.ts +30 -0
  148. package/organisms/xterm/index.d.ts +23 -0
  149. package/package.json +258 -0
  150. package/pages/command/index.d.ts +217 -0
  151. package/pages/query/index.d.ts +292 -0
  152. package/pages/query-v2/index.d.ts +68 -0
  153. package/pages/thread/index.d.ts +109 -0
  154. package/routes/commands/index.d.ts +5 -0
  155. package/routes/index.d.ts +5 -0
  156. package/routes/pages/index.d.ts +5 -0
  157. package/routes/preloading/index.d.ts +11 -0
  158. package/routes/queries/index.d.ts +5 -0
  159. package/routes/query/index.d.ts +5 -0
  160. package/routes/resources/index.d.ts +5 -0
  161. package/routes/side/chat/index.d.ts +5 -0
  162. package/routes/side/index.d.ts +5 -0
  163. package/routes/transformer/index.d.ts +5 -0
  164. package/routes/transformers/index.d.ts +5 -0
  165. package/services/app/index.d.ts +17 -0
  166. package/services/assistant/index.d.ts +20 -0
  167. package/services/calendar/index.d.ts +13 -0
  168. package/services/command/index.d.ts +54 -0
  169. package/services/context/index.d.ts +10 -0
  170. package/services/contract/index.d.ts +11 -0
  171. package/services/debug/index.d.ts +14 -0
  172. package/services/forms/query/index.d.ts +46 -0
  173. package/services/forms/schedule/index.d.ts +42 -0
  174. package/services/forms/variables/index.d.ts +12 -0
  175. package/services/graphql/index.d.ts +20 -0
  176. package/services/invoice/index.d.ts +19 -0
  177. package/services/json-schema/index.d.ts +15 -0
  178. package/services/link/index.d.ts +13 -0
  179. package/services/message/index.d.ts +23 -0
  180. package/services/openai/index.d.ts +35 -0
  181. package/services/openapi/index.d.ts +17 -0
  182. package/services/order/index.d.ts +13 -0
  183. package/services/partner/index.d.ts +11 -0
  184. package/services/query/index.d.ts +42 -0
  185. package/services/recording/index.d.ts +20 -0
  186. package/services/schedule/index.d.ts +26 -0
  187. package/services/thread/index.d.ts +30 -0
  188. package/services/transformer/index.d.ts +19 -0
  189. package/services/youtube/index.d.ts +10 -0
  190. package/templates/agent/index.d.ts +54 -0
  191. package/templates/background/index.d.ts +44 -0
  192. package/templates/invoice-iframe/index.d.ts +13 -0
  193. package/templates/scheduler/index.d.ts +31 -0
  194. package/templates/video/index.d.ts +36 -0
  195. package/validators/query/index.d.ts +7 -0
@@ -0,0 +1,397 @@
1
+ import * as i0 from '@angular/core';
2
+ import { input, output, Directive, Component, inject, EnvironmentInjector, createComponent, Injectable, Input, ElementRef, ViewContainerRef, contentChildren, computed, effect, ViewEncapsulation } from '@angular/core';
3
+ import { NgAtomicComponent } from '@ng-atomic/core';
4
+ import * as React from 'react';
5
+ import React__default, { useRef, useEffect, memo } from 'react';
6
+ import { createRoot } from 'react-dom/client';
7
+ import ReactFlow, { ReactFlowProvider, MiniMap, Controls, Background, BackgroundVariant, NodeResizer, Handle, Position } from 'reactflow';
8
+ import { CommonModule } from '@angular/common';
9
+
10
+ const ReactFlowWrapperComponent = ({ props }) => {
11
+ const minimapStyle = {
12
+ height: 120,
13
+ };
14
+ const mergedProps = {
15
+ ...props,
16
+ nodesDraggable: props.nodesDraggable !== false,
17
+ nodesConnectable: props.nodesConnectable !== false,
18
+ elementsSelectable: props.elementsSelectable !== false,
19
+ proOptions: { hideAttribution: true, ...props.proOptions },
20
+ };
21
+ return React.createElement(ReactFlowProvider, null, React.createElement(ReactFlow, mergedProps, React.createElement(MiniMap, { style: minimapStyle, zoomable: true, pannable: true }), React.createElement(Controls, null), React.createElement(Background, { variant: BackgroundVariant.Dots, gap: 16, size: 1 })));
22
+ };
23
+ // Memoize ReactFlowWrapper to prevent unnecessary re-renders
24
+ // Only re-render when nodes or edges reference changes
25
+ const ReactFlowWrapper = React.memo(ReactFlowWrapperComponent, (prevProps, nextProps) => {
26
+ // Return true to skip re-render (props are equal)
27
+ // Return false to re-render (props have changed)
28
+ return (prevProps.props.nodes === nextProps.props.nodes &&
29
+ prevProps.props.edges === nextProps.props.edges);
30
+ });
31
+
32
+ class ReactFlowComponentStore {
33
+ constructor() {
34
+ // Signal inputs
35
+ this.nodes = input();
36
+ this.edges = input();
37
+ this.defaultNodes = input();
38
+ this.defaultEdges = input();
39
+ this.defaultEdgeOptions = input();
40
+ // Node templates for custom rendering
41
+ this.nodeTemplates = input();
42
+ // Signal inputs for configuration
43
+ this.nodeTypes = input();
44
+ this.edgeTypes = input();
45
+ this.connectionLineType = input();
46
+ this.connectionLineStyle = input();
47
+ this.connectionLineComponent = input();
48
+ this.connectionLineContainerStyle = input();
49
+ this.connectionMode = input();
50
+ this.deleteKeyCode = input();
51
+ this.selectionKeyCode = input();
52
+ this.selectionOnDrag = input();
53
+ this.selectionMode = input();
54
+ this.panActivationKeyCode = input();
55
+ this.multiSelectionKeyCode = input();
56
+ this.zoomActivationKeyCode = input();
57
+ this.snapToGrid = input();
58
+ this.snapGrid = input();
59
+ this.onlyRenderVisibleElements = input();
60
+ this.nodesDraggable = input();
61
+ this.nodesConnectable = input();
62
+ this.nodesFocusable = input();
63
+ this.nodeOrigin = input();
64
+ this.edgesFocusable = input();
65
+ this.initNodeOrigin = input();
66
+ this.elementsSelectable = input();
67
+ this.selectNodesOnDrag = input();
68
+ this.panOnDrag = input();
69
+ this.minZoom = input();
70
+ this.maxZoom = input();
71
+ this.defaultViewport = input();
72
+ this.translateExtent = input();
73
+ this.preventScrolling = input();
74
+ this.nodeExtent = input();
75
+ this.defaultMarkerColor = input();
76
+ this.zoomOnScroll = input();
77
+ this.zoomOnPinch = input();
78
+ this.panOnScroll = input();
79
+ this.panOnScrollSpeed = input();
80
+ this.panOnScrollMode = input();
81
+ this.zoomOnDoubleClick = input();
82
+ this.edgeUpdaterRadius = input();
83
+ this.noDragClassName = input();
84
+ this.noWheelClassName = input();
85
+ this.noPanClassName = input();
86
+ this.fitView = input();
87
+ this.fitViewOptions = input();
88
+ this.connectOnClick = input();
89
+ this.attributionPosition = input();
90
+ this.proOptions = input();
91
+ this.elevateNodesOnSelect = input();
92
+ this.elevateEdgesOnSelect = input();
93
+ this.disableKeyboardA11y = input();
94
+ this.autoPanOnNodeDrag = input();
95
+ this.autoPanOnConnect = input();
96
+ this.connectionRadius = input();
97
+ // Signal outputs for events
98
+ this.onNodeClick = output();
99
+ this.onNodeDoubleClick = output();
100
+ this.onNodeMouseEnter = output();
101
+ this.onNodeMouseMove = output();
102
+ this.onNodeMouseLeave = output();
103
+ this.onNodeContextMenu = output();
104
+ this.onNodeDragStart = output();
105
+ this.onNodeDrag = output();
106
+ this.onNodeDragStop = output();
107
+ this.onEdgeClick = output();
108
+ this.onEdgeUpdate = output();
109
+ this.onEdgeContextMenu = output();
110
+ this.onEdgeMouseEnter = output();
111
+ this.onEdgeMouseMove = output();
112
+ this.onEdgeMouseLeave = output();
113
+ this.onEdgeDoubleClick = output();
114
+ this.onEdgeUpdateStart = output();
115
+ this.onEdgeUpdateEnd = output();
116
+ this.onNodesChange = output();
117
+ this.onEdgesChange = output();
118
+ this.onNodesDelete = output();
119
+ this.onEdgesDelete = output();
120
+ this.onSelectionDragStart = output();
121
+ this.onSelectionDrag = output();
122
+ this.onSelectionDragStop = output();
123
+ this.onSelectionStart = output();
124
+ this.onSelectionEnd = output();
125
+ this.onSelectionContextMenu = output();
126
+ this.onConnect = output();
127
+ this.onConnectStart = output();
128
+ this.onConnectEnd = output();
129
+ this.onClickConnectStart = output();
130
+ this.onClickConnectEnd = output();
131
+ this.onDragOver = output();
132
+ this.onDrop = output();
133
+ this.onInit = output();
134
+ this.onMove = output();
135
+ this.onMoveStart = output();
136
+ this.onMoveEnd = output();
137
+ this.onSelectionChange = output();
138
+ this.onPaneScroll = output();
139
+ this.onPaneClick = output();
140
+ this.onPaneContextMenu = output();
141
+ this.onPaneMouseEnter = output();
142
+ this.onPaneMouseMove = output();
143
+ this.onPaneMouseLeave = output();
144
+ this.onError = output();
145
+ this.onNodeResizeEnd = output();
146
+ }
147
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: ReactFlowComponentStore, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
148
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.0.5", type: ReactFlowComponentStore, isStandalone: true, inputs: { nodes: { classPropertyName: "nodes", publicName: "nodes", isSignal: true, isRequired: false, transformFunction: null }, edges: { classPropertyName: "edges", publicName: "edges", isSignal: true, isRequired: false, transformFunction: null }, defaultNodes: { classPropertyName: "defaultNodes", publicName: "defaultNodes", isSignal: true, isRequired: false, transformFunction: null }, defaultEdges: { classPropertyName: "defaultEdges", publicName: "defaultEdges", isSignal: true, isRequired: false, transformFunction: null }, defaultEdgeOptions: { classPropertyName: "defaultEdgeOptions", publicName: "defaultEdgeOptions", isSignal: true, isRequired: false, transformFunction: null }, nodeTemplates: { classPropertyName: "nodeTemplates", publicName: "nodeTemplates", isSignal: true, isRequired: false, transformFunction: null }, nodeTypes: { classPropertyName: "nodeTypes", publicName: "nodeTypes", isSignal: true, isRequired: false, transformFunction: null }, edgeTypes: { classPropertyName: "edgeTypes", publicName: "edgeTypes", isSignal: true, isRequired: false, transformFunction: null }, connectionLineType: { classPropertyName: "connectionLineType", publicName: "connectionLineType", isSignal: true, isRequired: false, transformFunction: null }, connectionLineStyle: { classPropertyName: "connectionLineStyle", publicName: "connectionLineStyle", isSignal: true, isRequired: false, transformFunction: null }, connectionLineComponent: { classPropertyName: "connectionLineComponent", publicName: "connectionLineComponent", isSignal: true, isRequired: false, transformFunction: null }, connectionLineContainerStyle: { classPropertyName: "connectionLineContainerStyle", publicName: "connectionLineContainerStyle", isSignal: true, isRequired: false, transformFunction: null }, connectionMode: { classPropertyName: "connectionMode", publicName: "connectionMode", isSignal: true, isRequired: false, transformFunction: null }, deleteKeyCode: { classPropertyName: "deleteKeyCode", publicName: "deleteKeyCode", isSignal: true, isRequired: false, transformFunction: null }, selectionKeyCode: { classPropertyName: "selectionKeyCode", publicName: "selectionKeyCode", isSignal: true, isRequired: false, transformFunction: null }, selectionOnDrag: { classPropertyName: "selectionOnDrag", publicName: "selectionOnDrag", isSignal: true, isRequired: false, transformFunction: null }, selectionMode: { classPropertyName: "selectionMode", publicName: "selectionMode", isSignal: true, isRequired: false, transformFunction: null }, panActivationKeyCode: { classPropertyName: "panActivationKeyCode", publicName: "panActivationKeyCode", isSignal: true, isRequired: false, transformFunction: null }, multiSelectionKeyCode: { classPropertyName: "multiSelectionKeyCode", publicName: "multiSelectionKeyCode", isSignal: true, isRequired: false, transformFunction: null }, zoomActivationKeyCode: { classPropertyName: "zoomActivationKeyCode", publicName: "zoomActivationKeyCode", isSignal: true, isRequired: false, transformFunction: null }, snapToGrid: { classPropertyName: "snapToGrid", publicName: "snapToGrid", isSignal: true, isRequired: false, transformFunction: null }, snapGrid: { classPropertyName: "snapGrid", publicName: "snapGrid", isSignal: true, isRequired: false, transformFunction: null }, onlyRenderVisibleElements: { classPropertyName: "onlyRenderVisibleElements", publicName: "onlyRenderVisibleElements", isSignal: true, isRequired: false, transformFunction: null }, nodesDraggable: { classPropertyName: "nodesDraggable", publicName: "nodesDraggable", isSignal: true, isRequired: false, transformFunction: null }, nodesConnectable: { classPropertyName: "nodesConnectable", publicName: "nodesConnectable", isSignal: true, isRequired: false, transformFunction: null }, nodesFocusable: { classPropertyName: "nodesFocusable", publicName: "nodesFocusable", isSignal: true, isRequired: false, transformFunction: null }, nodeOrigin: { classPropertyName: "nodeOrigin", publicName: "nodeOrigin", isSignal: true, isRequired: false, transformFunction: null }, edgesFocusable: { classPropertyName: "edgesFocusable", publicName: "edgesFocusable", isSignal: true, isRequired: false, transformFunction: null }, initNodeOrigin: { classPropertyName: "initNodeOrigin", publicName: "initNodeOrigin", isSignal: true, isRequired: false, transformFunction: null }, elementsSelectable: { classPropertyName: "elementsSelectable", publicName: "elementsSelectable", isSignal: true, isRequired: false, transformFunction: null }, selectNodesOnDrag: { classPropertyName: "selectNodesOnDrag", publicName: "selectNodesOnDrag", isSignal: true, isRequired: false, transformFunction: null }, panOnDrag: { classPropertyName: "panOnDrag", publicName: "panOnDrag", isSignal: true, isRequired: false, transformFunction: null }, minZoom: { classPropertyName: "minZoom", publicName: "minZoom", isSignal: true, isRequired: false, transformFunction: null }, maxZoom: { classPropertyName: "maxZoom", publicName: "maxZoom", isSignal: true, isRequired: false, transformFunction: null }, defaultViewport: { classPropertyName: "defaultViewport", publicName: "defaultViewport", isSignal: true, isRequired: false, transformFunction: null }, translateExtent: { classPropertyName: "translateExtent", publicName: "translateExtent", isSignal: true, isRequired: false, transformFunction: null }, preventScrolling: { classPropertyName: "preventScrolling", publicName: "preventScrolling", isSignal: true, isRequired: false, transformFunction: null }, nodeExtent: { classPropertyName: "nodeExtent", publicName: "nodeExtent", isSignal: true, isRequired: false, transformFunction: null }, defaultMarkerColor: { classPropertyName: "defaultMarkerColor", publicName: "defaultMarkerColor", isSignal: true, isRequired: false, transformFunction: null }, zoomOnScroll: { classPropertyName: "zoomOnScroll", publicName: "zoomOnScroll", isSignal: true, isRequired: false, transformFunction: null }, zoomOnPinch: { classPropertyName: "zoomOnPinch", publicName: "zoomOnPinch", isSignal: true, isRequired: false, transformFunction: null }, panOnScroll: { classPropertyName: "panOnScroll", publicName: "panOnScroll", isSignal: true, isRequired: false, transformFunction: null }, panOnScrollSpeed: { classPropertyName: "panOnScrollSpeed", publicName: "panOnScrollSpeed", isSignal: true, isRequired: false, transformFunction: null }, panOnScrollMode: { classPropertyName: "panOnScrollMode", publicName: "panOnScrollMode", isSignal: true, isRequired: false, transformFunction: null }, zoomOnDoubleClick: { classPropertyName: "zoomOnDoubleClick", publicName: "zoomOnDoubleClick", isSignal: true, isRequired: false, transformFunction: null }, edgeUpdaterRadius: { classPropertyName: "edgeUpdaterRadius", publicName: "edgeUpdaterRadius", isSignal: true, isRequired: false, transformFunction: null }, noDragClassName: { classPropertyName: "noDragClassName", publicName: "noDragClassName", isSignal: true, isRequired: false, transformFunction: null }, noWheelClassName: { classPropertyName: "noWheelClassName", publicName: "noWheelClassName", isSignal: true, isRequired: false, transformFunction: null }, noPanClassName: { classPropertyName: "noPanClassName", publicName: "noPanClassName", isSignal: true, isRequired: false, transformFunction: null }, fitView: { classPropertyName: "fitView", publicName: "fitView", isSignal: true, isRequired: false, transformFunction: null }, fitViewOptions: { classPropertyName: "fitViewOptions", publicName: "fitViewOptions", isSignal: true, isRequired: false, transformFunction: null }, connectOnClick: { classPropertyName: "connectOnClick", publicName: "connectOnClick", isSignal: true, isRequired: false, transformFunction: null }, attributionPosition: { classPropertyName: "attributionPosition", publicName: "attributionPosition", isSignal: true, isRequired: false, transformFunction: null }, proOptions: { classPropertyName: "proOptions", publicName: "proOptions", isSignal: true, isRequired: false, transformFunction: null }, elevateNodesOnSelect: { classPropertyName: "elevateNodesOnSelect", publicName: "elevateNodesOnSelect", isSignal: true, isRequired: false, transformFunction: null }, elevateEdgesOnSelect: { classPropertyName: "elevateEdgesOnSelect", publicName: "elevateEdgesOnSelect", isSignal: true, isRequired: false, transformFunction: null }, disableKeyboardA11y: { classPropertyName: "disableKeyboardA11y", publicName: "disableKeyboardA11y", isSignal: true, isRequired: false, transformFunction: null }, autoPanOnNodeDrag: { classPropertyName: "autoPanOnNodeDrag", publicName: "autoPanOnNodeDrag", isSignal: true, isRequired: false, transformFunction: null }, autoPanOnConnect: { classPropertyName: "autoPanOnConnect", publicName: "autoPanOnConnect", isSignal: true, isRequired: false, transformFunction: null }, connectionRadius: { classPropertyName: "connectionRadius", publicName: "connectionRadius", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { onNodeClick: "onNodeClick", onNodeDoubleClick: "onNodeDoubleClick", onNodeMouseEnter: "onNodeMouseEnter", onNodeMouseMove: "onNodeMouseMove", onNodeMouseLeave: "onNodeMouseLeave", onNodeContextMenu: "onNodeContextMenu", onNodeDragStart: "onNodeDragStart", onNodeDrag: "onNodeDrag", onNodeDragStop: "onNodeDragStop", onEdgeClick: "onEdgeClick", onEdgeUpdate: "onEdgeUpdate", onEdgeContextMenu: "onEdgeContextMenu", onEdgeMouseEnter: "onEdgeMouseEnter", onEdgeMouseMove: "onEdgeMouseMove", onEdgeMouseLeave: "onEdgeMouseLeave", onEdgeDoubleClick: "onEdgeDoubleClick", onEdgeUpdateStart: "onEdgeUpdateStart", onEdgeUpdateEnd: "onEdgeUpdateEnd", onNodesChange: "onNodesChange", onEdgesChange: "onEdgesChange", onNodesDelete: "onNodesDelete", onEdgesDelete: "onEdgesDelete", onSelectionDragStart: "onSelectionDragStart", onSelectionDrag: "onSelectionDrag", onSelectionDragStop: "onSelectionDragStop", onSelectionStart: "onSelectionStart", onSelectionEnd: "onSelectionEnd", onSelectionContextMenu: "onSelectionContextMenu", onConnect: "onConnect", onConnectStart: "onConnectStart", onConnectEnd: "onConnectEnd", onClickConnectStart: "onClickConnectStart", onClickConnectEnd: "onClickConnectEnd", onDragOver: "onDragOver", onDrop: "onDrop", onInit: "onInit", onMove: "onMove", onMoveStart: "onMoveStart", onMoveEnd: "onMoveEnd", onSelectionChange: "onSelectionChange", onPaneScroll: "onPaneScroll", onPaneClick: "onPaneClick", onPaneContextMenu: "onPaneContextMenu", onPaneMouseEnter: "onPaneMouseEnter", onPaneMouseMove: "onPaneMouseMove", onPaneMouseLeave: "onPaneMouseLeave", onError: "onError", onNodeResizeEnd: "onNodeResizeEnd" }, ngImport: i0 }); }
149
+ }
150
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: ReactFlowComponentStore, decorators: [{
151
+ type: Directive,
152
+ args: [{ standalone: true }]
153
+ }] });
154
+
155
+ class NodeComponent {
156
+ constructor() {
157
+ this.data = input();
158
+ }
159
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: NodeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
160
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "20.0.5", type: NodeComponent, isStandalone: true, selector: "machina-task-node", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
161
+ <div class="task-node" [class]="'status-' + data().status">
162
+ <div class="task-header">
163
+ <span class="status-indicator"></span>
164
+ <span class="assignee">あああ{{ data().assignee }}</span>
165
+ </div>
166
+ <div class="task-label">{{ data().label }}</div>
167
+ </div>
168
+ `, isInline: true, styles: [":host .task-node{background:#fff;border:2px solid #ddd;border-radius:8px;padding:10px;min-width:200px;box-shadow:0 2px 4px #0000001a}:host .task-node.status-pending{border-color:#9e9e9e}:host .task-node.status-pending .status-indicator{background:#9e9e9e}:host .task-node.status-in_progress{border-color:#2196f3}:host .task-node.status-in_progress .status-indicator{background:#2196f3}:host .task-node.status-completed{border-color:#4caf50}:host .task-node.status-completed .status-indicator{background:#4caf50}:host .task-node.status-abandoned{border-color:#f44336}:host .task-node.status-abandoned .status-indicator{background:#f44336}:host .task-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}:host .status-indicator{width:8px;height:8px;border-radius:50%;background:#ddd}:host .assignee{font-size:12px;color:#666}:host .task-label{font-size:14px;font-weight:500;color:#333}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }] }); }
169
+ }
170
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: NodeComponent, decorators: [{
171
+ type: Component,
172
+ args: [{ selector: 'machina-task-node', standalone: true, imports: [CommonModule], template: `
173
+ <div class="task-node" [class]="'status-' + data().status">
174
+ <div class="task-header">
175
+ <span class="status-indicator"></span>
176
+ <span class="assignee">あああ{{ data().assignee }}</span>
177
+ </div>
178
+ <div class="task-label">{{ data().label }}</div>
179
+ </div>
180
+ `, styles: [":host .task-node{background:#fff;border:2px solid #ddd;border-radius:8px;padding:10px;min-width:200px;box-shadow:0 2px 4px #0000001a}:host .task-node.status-pending{border-color:#9e9e9e}:host .task-node.status-pending .status-indicator{background:#9e9e9e}:host .task-node.status-in_progress{border-color:#2196f3}:host .task-node.status-in_progress .status-indicator{background:#2196f3}:host .task-node.status-completed{border-color:#4caf50}:host .task-node.status-completed .status-indicator{background:#4caf50}:host .task-node.status-abandoned{border-color:#f44336}:host .task-node.status-abandoned .status-indicator{background:#f44336}:host .task-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}:host .status-indicator{width:8px;height:8px;border-radius:50%;background:#ddd}:host .assignee{font-size:12px;color:#666}:host .task-label{font-size:14px;font-weight:500;color:#333}\n"] }]
181
+ }] });
182
+
183
+ // Global reference to Angular app injector (will be set by ReactFlowComponent)
184
+ let globalInjector = null;
185
+ function setAngularContext(injector, appRef) {
186
+ globalInjector = injector;
187
+ }
188
+ class NodeService {
189
+ constructor() {
190
+ this.componentCache = new Map();
191
+ this.injector = inject(EnvironmentInjector);
192
+ }
193
+ createNodeComponent(hostElement) {
194
+ if (this.componentCache.has(hostElement)) {
195
+ return this.componentCache.get(hostElement);
196
+ }
197
+ const component = createComponent(NodeComponent, {
198
+ environmentInjector: this.injector,
199
+ hostElement,
200
+ });
201
+ this.componentCache.set(hostElement, component);
202
+ return component;
203
+ }
204
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: NodeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
205
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: NodeService, providedIn: 'root' }); }
206
+ }
207
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: NodeService, decorators: [{
208
+ type: Injectable,
209
+ args: [{ providedIn: 'root' }]
210
+ }] });
211
+ const Node = ({ data }) => {
212
+ const containerRef = useRef(null);
213
+ const component = globalInjector?.get(NodeService).createNodeComponent(containerRef.current);
214
+ useEffect(() => component.setInput('data', data), [data]);
215
+ return (React__default.createElement("div", { ref: containerRef },
216
+ React__default.createElement(NodeResizer, { minWidth: 400, minHeight: 300, isVisible: true }),
217
+ React__default.createElement(Handle, { type: "target", position: Position.Left, style: { zIndex: 10 } }),
218
+ React__default.createElement(Handle, { type: "source", position: Position.Right, style: { zIndex: 10 } })));
219
+ };
220
+ var TaskNode = memo(Node);
221
+
222
+ const GroupNode = ({ data }) => {
223
+ return (React__default.createElement("div", { className: "group-node" },
224
+ React__default.createElement(Handle, { type: "target", position: Position.Left }),
225
+ React__default.createElement("div", { className: "group-node-header" },
226
+ React__default.createElement("h3", null, data.label),
227
+ React__default.createElement("span", { className: "group-assignee" }, data.assignee)),
228
+ React__default.createElement(Handle, { type: "source", position: Position.Right })));
229
+ };
230
+ var GroupNode$1 = memo(GroupNode);
231
+
232
+ function createTemplateNodeComponent(template, vcr, onNodeResizeEnd) {
233
+ const TemplateNode = ({ data, selected, id }) => {
234
+ const containerRef = useRef(null);
235
+ const viewRefRef = useRef(null);
236
+ // 初回のみAngularビューを作成(破棄・再作成を防ぐ)
237
+ useEffect(() => {
238
+ const viewRef = vcr.createEmbeddedView(template, {});
239
+ viewRef.rootNodes.forEach(node => containerRef.current.appendChild(node));
240
+ viewRef.context = { $implicit: data, data };
241
+ viewRefRef.current = viewRef;
242
+ viewRef.markForCheck();
243
+ return () => {
244
+ if (viewRefRef.current) {
245
+ viewRefRef.current.destroy();
246
+ viewRefRef.current = null;
247
+ }
248
+ };
249
+ }, []); // 空の依存配列 - 初回のみ実行
250
+ // dataが変更されたときはコンテキストのみ更新(ビューは再作成しない)
251
+ useEffect(() => {
252
+ if (viewRefRef.current) {
253
+ viewRefRef.current.context = { $implicit: data, data };
254
+ viewRefRef.current.markForCheck();
255
+ }
256
+ }, [data]);
257
+ const handleResizeEnd = (event, params) => {
258
+ if (onNodeResizeEnd) {
259
+ onNodeResizeEnd(id, params.width, params.height);
260
+ }
261
+ };
262
+ return (React__default.createElement("div", { ref: containerRef },
263
+ React__default.createElement(NodeResizer, { minWidth: 400, minHeight: 300, isVisible: true, onResizeEnd: handleResizeEnd }),
264
+ React__default.createElement(Handle, { type: "target", position: Position.Left, style: { zIndex: 10 } }),
265
+ React__default.createElement(Handle, { type: "source", position: Position.Right, style: { zIndex: 10 } })));
266
+ };
267
+ // memoなしで返す(デバッグ用:renameが動作するか確認)
268
+ // 動作確認後、適切なmemo戦略を検討
269
+ return TemplateNode;
270
+ }
271
+
272
+ const NODE_TYPES = {
273
+ task: TaskNode,
274
+ group: GroupNode$1,
275
+ };
276
+
277
+ class FlowNodeDirective {
278
+ constructor(template) {
279
+ this.template = template;
280
+ }
281
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: FlowNodeDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
282
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.5", type: FlowNodeDirective, isStandalone: true, selector: "[flowNode]", inputs: { type: ["flowNode", "type"] }, ngImport: i0 }); }
283
+ }
284
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: FlowNodeDirective, decorators: [{
285
+ type: Directive,
286
+ args: [{
287
+ selector: '[flowNode]',
288
+ standalone: true,
289
+ }]
290
+ }], ctorParameters: () => [{ type: i0.TemplateRef }], propDecorators: { type: [{
291
+ type: Input,
292
+ args: ['flowNode']
293
+ }] } });
294
+
295
+ class ReactFlowComponent extends NgAtomicComponent {
296
+ constructor() {
297
+ super();
298
+ this.store = inject(ReactFlowComponentStore);
299
+ this.el = inject((ElementRef));
300
+ this.vcr = inject(ViewContainerRef);
301
+ this._nodeTypesCache = {};
302
+ this.contentNodeTemplates = contentChildren(FlowNodeDirective);
303
+ this.nodeTypes = computed(() => {
304
+ const templates = this.contentNodeTemplates();
305
+ const nodeTypes = {};
306
+ if (templates) {
307
+ templates.forEach((template) => {
308
+ if (!this._nodeTypesCache[template.type]) {
309
+ // onNodeResizeEndコールバックを渡す
310
+ this._nodeTypesCache[template.type] = createTemplateNodeComponent(template.template, this.vcr, (nodeId, width, height) => {
311
+ this.store.onNodeResizeEnd?.emit({ nodeId, width, height });
312
+ });
313
+ }
314
+ nodeTypes[template.type] = this._nodeTypesCache[template.type];
315
+ });
316
+ }
317
+ return nodeTypes;
318
+ });
319
+ effect(() => this.render());
320
+ }
321
+ ngOnInit() {
322
+ this._root = createRoot(this.el.nativeElement);
323
+ }
324
+ ngOnDestroy() {
325
+ this._root.unmount();
326
+ }
327
+ render() {
328
+ this._root.render(React.createElement(ReactFlowWrapper, {
329
+ props: {
330
+ ...Object.entries(this.store)
331
+ .filter(([key, value]) => !key.startsWith('on') && typeof value === 'function' && key !== 'nodeTypes' && key !== 'nodeTemplates')
332
+ .reduce((acc, [key, getter]) => {
333
+ acc[key] = getter();
334
+ return acc;
335
+ }, {}),
336
+ nodeTypes: this.nodeTypes(), // Use the merged node types
337
+ ...Object.entries(this.store)
338
+ .filter(([key, value]) => key.startsWith('on') && value && typeof value.emit === 'function')
339
+ .reduce((handlers, [eventName, output]) => {
340
+ handlers[eventName] = (...args) => {
341
+ // Special case: onError emits only the first argument
342
+ const emitValue = eventName === 'onError' ? args[0] : args;
343
+ output.emit(emitValue);
344
+ };
345
+ return handlers;
346
+ }, {})
347
+ },
348
+ }));
349
+ }
350
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: ReactFlowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
351
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.0.5", type: ReactFlowComponent, isStandalone: true, selector: "machina-react-flow", queries: [{ propertyName: "contentNodeTemplates", predicate: FlowNodeDirective, isSignal: true }], usesInheritance: true, hostDirectives: [{ directive: ReactFlowComponentStore, inputs: ["nodes", "nodes", "edges", "edges", "defaultNodes", "defaultNodes", "defaultEdges", "defaultEdges", "defaultEdgeOptions", "defaultEdgeOptions", "nodeTemplates", "nodeTemplates", "nodeTypes", "nodeTypes", "edgeTypes", "edgeTypes", "connectionLineType", "connectionLineType", "connectionLineStyle", "connectionLineStyle", "connectionLineComponent", "connectionLineComponent", "connectionLineContainerStyle", "connectionLineContainerStyle", "connectionMode", "connectionMode", "deleteKeyCode", "deleteKeyCode", "selectionKeyCode", "selectionKeyCode", "selectionOnDrag", "selectionOnDrag", "selectionMode", "selectionMode", "panActivationKeyCode", "panActivationKeyCode", "multiSelectionKeyCode", "multiSelectionKeyCode", "zoomActivationKeyCode", "zoomActivationKeyCode", "snapToGrid", "snapToGrid", "snapGrid", "snapGrid", "onlyRenderVisibleElements", "onlyRenderVisibleElements", "nodesDraggable", "nodesDraggable", "nodesConnectable", "nodesConnectable", "nodesFocusable", "nodesFocusable", "nodeOrigin", "nodeOrigin", "edgesFocusable", "edgesFocusable", "initNodeOrigin", "initNodeOrigin", "elementsSelectable", "elementsSelectable", "selectNodesOnDrag", "selectNodesOnDrag", "panOnDrag", "panOnDrag", "minZoom", "minZoom", "maxZoom", "maxZoom", "defaultViewport", "defaultViewport", "translateExtent", "translateExtent", "preventScrolling", "preventScrolling", "nodeExtent", "nodeExtent", "defaultMarkerColor", "defaultMarkerColor", "zoomOnScroll", "zoomOnScroll", "zoomOnPinch", "zoomOnPinch", "panOnScroll", "panOnScroll", "panOnScrollSpeed", "panOnScrollSpeed", "panOnScrollMode", "panOnScrollMode", "zoomOnDoubleClick", "zoomOnDoubleClick", "edgeUpdaterRadius", "edgeUpdaterRadius", "noDragClassName", "noDragClassName", "noWheelClassName", "noWheelClassName", "noPanClassName", "noPanClassName", "fitView", "fitView", "fitViewOptions", "fitViewOptions", "connectOnClick", "connectOnClick", "attributionPosition", "attributionPosition", "proOptions", "proOptions", "elevateNodesOnSelect", "elevateNodesOnSelect", "elevateEdgesOnSelect", "elevateEdgesOnSelect", "disableKeyboardA11y", "disableKeyboardA11y", "autoPanOnNodeDrag", "autoPanOnNodeDrag", "autoPanOnConnect", "autoPanOnConnect", "connectionRadius", "connectionRadius"], outputs: ["onNodeClick", "onNodeClick", "onNodeDoubleClick", "onNodeDoubleClick", "onNodeMouseEnter", "onNodeMouseEnter", "onNodeMouseMove", "onNodeMouseMove", "onNodeMouseLeave", "onNodeMouseLeave", "onNodeContextMenu", "onNodeContextMenu", "onNodeDragStart", "onNodeDragStart", "onNodeDrag", "onNodeDrag", "onNodeDragStop", "onNodeDragStop", "onEdgeClick", "onEdgeClick", "onEdgeUpdate", "onEdgeUpdate", "onEdgeContextMenu", "onEdgeContextMenu", "onEdgeMouseEnter", "onEdgeMouseEnter", "onEdgeMouseMove", "onEdgeMouseMove", "onEdgeMouseLeave", "onEdgeMouseLeave", "onEdgeDoubleClick", "onEdgeDoubleClick", "onEdgeUpdateStart", "onEdgeUpdateStart", "onEdgeUpdateEnd", "onEdgeUpdateEnd", "onNodesChange", "onNodesChange", "onEdgesChange", "onEdgesChange", "onNodesDelete", "onNodesDelete", "onEdgesDelete", "onEdgesDelete", "onSelectionDragStart", "onSelectionDragStart", "onSelectionDrag", "onSelectionDrag", "onSelectionDragStop", "onSelectionDragStop", "onSelectionStart", "onSelectionStart", "onSelectionEnd", "onSelectionEnd", "onSelectionContextMenu", "onSelectionContextMenu", "onConnect", "onConnect", "onConnectStart", "onConnectStart", "onConnectEnd", "onConnectEnd", "onClickConnectStart", "onClickConnectStart", "onClickConnectEnd", "onClickConnectEnd", "onDragOver", "onDragOver", "onDrop", "onDrop", "onInit", "onInit", "onMove", "onMove", "onMoveStart", "onMoveStart", "onMoveEnd", "onMoveEnd", "onSelectionChange", "onSelectionChange", "onPaneScroll", "onPaneScroll", "onPaneClick", "onPaneClick", "onPaneContextMenu", "onPaneContextMenu", "onPaneMouseEnter", "onPaneMouseEnter", "onPaneMouseMove", "onPaneMouseMove", "onPaneMouseLeave", "onPaneMouseLeave", "onError", "onError", "onNodeResizeEnd", "onNodeResizeEnd"] }], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, styles: [".react-flow{direction:ltr}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1;cursor:-webkit-grab;cursor:grab}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow .react-flow__edges{pointer-events:none;overflow:visible}.react-flow__edge-path,.react-flow__connection-path{stroke:#b1b1b7;stroke-width:1;fill:none}.react-flow__edge{pointer-events:visibleStroke;cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;-webkit-animation:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge:focus .react-flow__edge-path,.react-flow__edge:focus-visible .react-flow__edge-path{stroke:#555}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge-textbg{fill:#fff}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__connectionline{z-index:1001}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:-webkit-grab;cursor:grab}.react-flow__node.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:-webkit-grab;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background:#1a192b;border:1px solid white;border-radius:100%}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:-4px;transform:translate(-50%)}.react-flow__handle-top{left:50%;top:-4px;transform:translate(-50%)}.react-flow__handle-left{top:50%;left:-4px;transform:translateY(-50%)}.react-flow__handle-right{right:-4px;top:50%;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{font-size:10px;background:#ffffff80;padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@-webkit-keyframes dashdraw{0%{stroke-dashoffset:10}}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-default,.react-flow__node-input,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:3px;width:150px;font-size:12px;color:#222;text-align:center;border-width:1px;border-style:solid;border-color:#1a192b;background-color:#fff}.react-flow__node-default.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:0 0 0 .5px #1a192b}.react-flow__node-group{background-color:#f0f0f040}.react-flow__nodesselection-rect,.react-flow__selection{background:#0059dc14;border:1px dotted rgba(0,89,220,.8)}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls{box-shadow:0 0 2px 1px #00000014}.react-flow__controls-button{border:none;background:#fefefe;border-bottom:1px solid #eee;box-sizing:content-box;display:flex;justify-content:center;align-items:center;width:16px;height:16px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:5px}.react-flow__controls-button:hover{background:#f4f4f4}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__minimap{background-color:#fff}.react-flow__minimap svg{display:block}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:4px;height:4px;border:1px solid #fff;border-radius:1px;background-color:#3367d9;transform:translate(-50%,-50%)}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:#3367d9;border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}:host{display:block;width:100%;height:100%}:host .react-flow{width:100%;height:100%;background-color:#f8f8f8!important}:host .react-flow .react-flow__renderer{z-index:1}:host .react-flow .react-flow__background{background-color:#f8f8f8!important}:host .react-flow .react-flow__viewport{z-index:2}:host .react-flow .react-flow__nodes{z-index:4}:host .react-flow .react-flow__node{cursor:grab!important;z-index:5!important}:host .react-flow .react-flow__node:active{cursor:grabbing!important}:host .react-flow .react-flow__node.nopan{cursor:grab!important;pointer-events:auto!important}:host .react-flow .react-flow__node-default{background:#4ecdc4!important;border:3px solid #333!important;border-radius:8px!important;padding:15px!important;color:#fff!important;font-weight:700!important;font-size:18px!important;box-shadow:0 4px 8px #0000004d!important;opacity:1!important;min-width:200px!important}:host .react-flow .react-flow__node-default[data-id=\"1\"]{background:#ff6b6b!important}:host .react-flow .react-flow__node-default[data-id=\"2\"]{background:#4ecdc4!important}:host .react-flow .react-flow__handle{background:#555!important;width:12px!important;height:12px!important;border:2px solid #fff!important;opacity:1!important}:host .react-flow .react-flow__handle:hover{background:#1976d2!important}:host .react-flow .react-flow__handle-top{top:-6px!important}:host .react-flow .react-flow__handle-right{right:-6px!important}:host .react-flow .react-flow__handle-bottom{bottom:-6px!important}:host .react-flow .react-flow__handle-left{left:-6px!important}:host .react-flow .react-flow__edge-path{stroke:#000!important;stroke-width:3px!important}:host .react-flow .react-flow__edge.selected .react-flow__edge-path{stroke:#1976d2!important;stroke-width:3}:host .react-flow .react-flow__controls button{background:#fff!important;border:1px solid #333!important;color:#333!important}:host .react-flow .react-flow__controls button:hover{background:#f0f0f0!important}:host .react-flow .react-flow__minimap{background-color:#f8f8f8!important;border:1px solid #333!important}:host .react-flow .react-flow__minimap .react-flow__minimap-mask{fill:#e0e0e0!important}:host .react-flow .react-flow__minimap .react-flow__minimap-node{fill:#333!important}:host .react-flow .react-flow__background pattern{stroke:#e0e0e0!important}:host .react-flow .react-flow__connectionline .react-flow__edge-path{stroke:#1976d2!important;stroke-width:3px!important;stroke-dasharray:5 5!important;animation:dash .5s linear infinite!important}@keyframes dash{to{stroke-dashoffset:-10}}:host .react-flow .react-flow__node-group{background:#f0f0f099!important;border:2px dashed #d1d5db!important;border-radius:16px!important;padding:60px 40px 40px!important;pointer-events:all!important;box-sizing:border-box!important}:host .react-flow .react-flow__node-group.selected{border-color:#3b82f6!important;border-style:solid!important;background:#f0f0f0cc!important}:host .react-flow .react-flow__node-task{background:transparent!important;border:none!important;padding:0!important}\n"], encapsulation: i0.ViewEncapsulation.None }); }
352
+ }
353
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.5", ngImport: i0, type: ReactFlowComponent, decorators: [{
354
+ type: Component,
355
+ args: [{ selector: 'machina-react-flow', template: `<ng-content></ng-content>`, standalone: true, encapsulation: ViewEncapsulation.None, hostDirectives: [
356
+ {
357
+ directive: ReactFlowComponentStore,
358
+ inputs: [
359
+ 'nodes', 'edges', 'defaultNodes', 'defaultEdges', 'defaultEdgeOptions',
360
+ 'nodeTemplates', 'nodeTypes', 'edgeTypes', 'connectionLineType', 'connectionLineStyle',
361
+ 'connectionLineComponent', 'connectionLineContainerStyle', 'connectionMode',
362
+ 'deleteKeyCode', 'selectionKeyCode', 'selectionOnDrag', 'selectionMode',
363
+ 'panActivationKeyCode', 'multiSelectionKeyCode', 'zoomActivationKeyCode',
364
+ 'snapToGrid', 'snapGrid', 'onlyRenderVisibleElements', 'nodesDraggable',
365
+ 'nodesConnectable', 'nodesFocusable', 'nodeOrigin', 'edgesFocusable',
366
+ 'initNodeOrigin', 'elementsSelectable', 'selectNodesOnDrag', 'panOnDrag',
367
+ 'minZoom', 'maxZoom', 'defaultViewport', 'translateExtent', 'preventScrolling',
368
+ 'nodeExtent', 'defaultMarkerColor', 'zoomOnScroll', 'zoomOnPinch', 'panOnScroll',
369
+ 'panOnScrollSpeed', 'panOnScrollMode', 'zoomOnDoubleClick', 'edgeUpdaterRadius',
370
+ 'noDragClassName', 'noWheelClassName', 'noPanClassName', 'fitView', 'fitViewOptions',
371
+ 'connectOnClick', 'attributionPosition', 'proOptions', 'elevateNodesOnSelect',
372
+ 'elevateEdgesOnSelect', 'disableKeyboardA11y', 'autoPanOnNodeDrag', 'autoPanOnConnect',
373
+ 'connectionRadius'
374
+ ],
375
+ outputs: [
376
+ 'onNodeClick', 'onNodeDoubleClick', 'onNodeMouseEnter', 'onNodeMouseMove',
377
+ 'onNodeMouseLeave', 'onNodeContextMenu', 'onNodeDragStart', 'onNodeDrag',
378
+ 'onNodeDragStop', 'onEdgeClick', 'onEdgeUpdate', 'onEdgeContextMenu',
379
+ 'onEdgeMouseEnter', 'onEdgeMouseMove', 'onEdgeMouseLeave', 'onEdgeDoubleClick',
380
+ 'onEdgeUpdateStart', 'onEdgeUpdateEnd', 'onNodesChange', 'onEdgesChange',
381
+ 'onNodesDelete', 'onEdgesDelete', 'onSelectionDragStart', 'onSelectionDrag',
382
+ 'onSelectionDragStop', 'onSelectionStart', 'onSelectionEnd', 'onSelectionContextMenu',
383
+ 'onConnect', 'onConnectStart', 'onConnectEnd', 'onClickConnectStart',
384
+ 'onClickConnectEnd', 'onDragOver', 'onDrop', 'onInit', 'onMove', 'onMoveStart',
385
+ 'onMoveEnd', 'onSelectionChange', 'onPaneScroll', 'onPaneClick', 'onPaneContextMenu',
386
+ 'onPaneMouseEnter', 'onPaneMouseMove', 'onPaneMouseLeave', 'onError', 'onNodeResizeEnd'
387
+ ]
388
+ }
389
+ ], styles: [".react-flow{direction:ltr}.react-flow__container{position:absolute;width:100%;height:100%;top:0;left:0}.react-flow__pane{z-index:1;cursor:-webkit-grab;cursor:grab}.react-flow__pane.selection{cursor:pointer}.react-flow__pane.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__viewport{transform-origin:0 0;z-index:2;pointer-events:none}.react-flow__renderer{z-index:4}.react-flow__selection{z-index:6}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible{outline:none}.react-flow .react-flow__edges{pointer-events:none;overflow:visible}.react-flow__edge-path,.react-flow__connection-path{stroke:#b1b1b7;stroke-width:1;fill:none}.react-flow__edge{pointer-events:visibleStroke;cursor:pointer}.react-flow__edge.animated path{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__edge.animated path.react-flow__edge-interaction{stroke-dasharray:none;-webkit-animation:none;animation:none}.react-flow__edge.inactive{pointer-events:none}.react-flow__edge.selected,.react-flow__edge:focus,.react-flow__edge:focus-visible{outline:none}.react-flow__edge.selected .react-flow__edge-path,.react-flow__edge:focus .react-flow__edge-path,.react-flow__edge:focus-visible .react-flow__edge-path{stroke:#555}.react-flow__edge-textwrapper{pointer-events:all}.react-flow__edge-textbg{fill:#fff}.react-flow__edge .react-flow__edge-text{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__connection{pointer-events:none}.react-flow__connection .animated{stroke-dasharray:5;-webkit-animation:dashdraw .5s linear infinite;animation:dashdraw .5s linear infinite}.react-flow__connectionline{z-index:1001}.react-flow__nodes{pointer-events:none;transform-origin:0 0}.react-flow__node{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:all;transform-origin:0 0;box-sizing:border-box;cursor:-webkit-grab;cursor:grab}.react-flow__node.dragging{cursor:-webkit-grabbing;cursor:grabbing}.react-flow__nodesselection{z-index:3;transform-origin:left top;pointer-events:none}.react-flow__nodesselection-rect{position:absolute;pointer-events:all;cursor:-webkit-grab;cursor:grab}.react-flow__handle{position:absolute;pointer-events:none;min-width:5px;min-height:5px;width:6px;height:6px;background:#1a192b;border:1px solid white;border-radius:100%}.react-flow__handle.connectionindicator{pointer-events:all;cursor:crosshair}.react-flow__handle-bottom{top:auto;left:50%;bottom:-4px;transform:translate(-50%)}.react-flow__handle-top{left:50%;top:-4px;transform:translate(-50%)}.react-flow__handle-left{top:50%;left:-4px;transform:translateY(-50%)}.react-flow__handle-right{right:-4px;top:50%;transform:translateY(-50%)}.react-flow__edgeupdater{cursor:move;pointer-events:all}.react-flow__panel{position:absolute;z-index:5;margin:15px}.react-flow__panel.top{top:0}.react-flow__panel.bottom{bottom:0}.react-flow__panel.left{left:0}.react-flow__panel.right{right:0}.react-flow__panel.center{left:50%;transform:translate(-50%)}.react-flow__attribution{font-size:10px;background:#ffffff80;padding:2px 3px;margin:0}.react-flow__attribution a{text-decoration:none;color:#999}@-webkit-keyframes dashdraw{0%{stroke-dashoffset:10}}@keyframes dashdraw{0%{stroke-dashoffset:10}}.react-flow__edgelabel-renderer{position:absolute;width:100%;height:100%;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.react-flow__edge.updating .react-flow__edge-path{stroke:#777}.react-flow__edge-text{font-size:10px}.react-flow__node.selectable:focus,.react-flow__node.selectable:focus-visible{outline:none}.react-flow__node-default,.react-flow__node-input,.react-flow__node-output,.react-flow__node-group{padding:10px;border-radius:3px;width:150px;font-size:12px;color:#222;text-align:center;border-width:1px;border-style:solid;border-color:#1a192b;background-color:#fff}.react-flow__node-default.selectable:hover,.react-flow__node-input.selectable:hover,.react-flow__node-output.selectable:hover,.react-flow__node-group.selectable:hover{box-shadow:0 1px 4px 1px #00000014}.react-flow__node-default.selectable.selected,.react-flow__node-default.selectable:focus,.react-flow__node-default.selectable:focus-visible,.react-flow__node-input.selectable.selected,.react-flow__node-input.selectable:focus,.react-flow__node-input.selectable:focus-visible,.react-flow__node-output.selectable.selected,.react-flow__node-output.selectable:focus,.react-flow__node-output.selectable:focus-visible,.react-flow__node-group.selectable.selected,.react-flow__node-group.selectable:focus,.react-flow__node-group.selectable:focus-visible{box-shadow:0 0 0 .5px #1a192b}.react-flow__node-group{background-color:#f0f0f040}.react-flow__nodesselection-rect,.react-flow__selection{background:#0059dc14;border:1px dotted rgba(0,89,220,.8)}.react-flow__nodesselection-rect:focus,.react-flow__nodesselection-rect:focus-visible,.react-flow__selection:focus,.react-flow__selection:focus-visible{outline:none}.react-flow__controls{box-shadow:0 0 2px 1px #00000014}.react-flow__controls-button{border:none;background:#fefefe;border-bottom:1px solid #eee;box-sizing:content-box;display:flex;justify-content:center;align-items:center;width:16px;height:16px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;padding:5px}.react-flow__controls-button:hover{background:#f4f4f4}.react-flow__controls-button svg{width:100%;max-width:12px;max-height:12px}.react-flow__controls-button:disabled{pointer-events:none}.react-flow__controls-button:disabled svg{fill-opacity:.4}.react-flow__minimap{background-color:#fff}.react-flow__minimap svg{display:block}.react-flow__resize-control{position:absolute}.react-flow__resize-control.left,.react-flow__resize-control.right{cursor:ew-resize}.react-flow__resize-control.top,.react-flow__resize-control.bottom{cursor:ns-resize}.react-flow__resize-control.top.left,.react-flow__resize-control.bottom.right{cursor:nwse-resize}.react-flow__resize-control.bottom.left,.react-flow__resize-control.top.right{cursor:nesw-resize}.react-flow__resize-control.handle{width:4px;height:4px;border:1px solid #fff;border-radius:1px;background-color:#3367d9;transform:translate(-50%,-50%)}.react-flow__resize-control.handle.left{left:0;top:50%}.react-flow__resize-control.handle.right{left:100%;top:50%}.react-flow__resize-control.handle.top{left:50%;top:0}.react-flow__resize-control.handle.bottom{left:50%;top:100%}.react-flow__resize-control.handle.top.left,.react-flow__resize-control.handle.bottom.left{left:0}.react-flow__resize-control.handle.top.right,.react-flow__resize-control.handle.bottom.right{left:100%}.react-flow__resize-control.line{border-color:#3367d9;border-width:0;border-style:solid}.react-flow__resize-control.line.left,.react-flow__resize-control.line.right{width:1px;transform:translate(-50%);top:0;height:100%}.react-flow__resize-control.line.left{left:0;border-left-width:1px}.react-flow__resize-control.line.right{left:100%;border-right-width:1px}.react-flow__resize-control.line.top,.react-flow__resize-control.line.bottom{height:1px;transform:translateY(-50%);left:0;width:100%}.react-flow__resize-control.line.top{top:0;border-top-width:1px}.react-flow__resize-control.line.bottom{border-bottom-width:1px;top:100%}:host{display:block;width:100%;height:100%}:host .react-flow{width:100%;height:100%;background-color:#f8f8f8!important}:host .react-flow .react-flow__renderer{z-index:1}:host .react-flow .react-flow__background{background-color:#f8f8f8!important}:host .react-flow .react-flow__viewport{z-index:2}:host .react-flow .react-flow__nodes{z-index:4}:host .react-flow .react-flow__node{cursor:grab!important;z-index:5!important}:host .react-flow .react-flow__node:active{cursor:grabbing!important}:host .react-flow .react-flow__node.nopan{cursor:grab!important;pointer-events:auto!important}:host .react-flow .react-flow__node-default{background:#4ecdc4!important;border:3px solid #333!important;border-radius:8px!important;padding:15px!important;color:#fff!important;font-weight:700!important;font-size:18px!important;box-shadow:0 4px 8px #0000004d!important;opacity:1!important;min-width:200px!important}:host .react-flow .react-flow__node-default[data-id=\"1\"]{background:#ff6b6b!important}:host .react-flow .react-flow__node-default[data-id=\"2\"]{background:#4ecdc4!important}:host .react-flow .react-flow__handle{background:#555!important;width:12px!important;height:12px!important;border:2px solid #fff!important;opacity:1!important}:host .react-flow .react-flow__handle:hover{background:#1976d2!important}:host .react-flow .react-flow__handle-top{top:-6px!important}:host .react-flow .react-flow__handle-right{right:-6px!important}:host .react-flow .react-flow__handle-bottom{bottom:-6px!important}:host .react-flow .react-flow__handle-left{left:-6px!important}:host .react-flow .react-flow__edge-path{stroke:#000!important;stroke-width:3px!important}:host .react-flow .react-flow__edge.selected .react-flow__edge-path{stroke:#1976d2!important;stroke-width:3}:host .react-flow .react-flow__controls button{background:#fff!important;border:1px solid #333!important;color:#333!important}:host .react-flow .react-flow__controls button:hover{background:#f0f0f0!important}:host .react-flow .react-flow__minimap{background-color:#f8f8f8!important;border:1px solid #333!important}:host .react-flow .react-flow__minimap .react-flow__minimap-mask{fill:#e0e0e0!important}:host .react-flow .react-flow__minimap .react-flow__minimap-node{fill:#333!important}:host .react-flow .react-flow__background pattern{stroke:#e0e0e0!important}:host .react-flow .react-flow__connectionline .react-flow__edge-path{stroke:#1976d2!important;stroke-width:3px!important;stroke-dasharray:5 5!important;animation:dash .5s linear infinite!important}@keyframes dash{to{stroke-dashoffset:-10}}:host .react-flow .react-flow__node-group{background:#f0f0f099!important;border:2px dashed #d1d5db!important;border-radius:16px!important;padding:60px 40px 40px!important;pointer-events:all!important;box-sizing:border-box!important}:host .react-flow .react-flow__node-group.selected{border-color:#3b82f6!important;border-style:solid!important;background:#f0f0f0cc!important}:host .react-flow .react-flow__node-task{background:transparent!important;border:none!important;padding:0!important}\n"] }]
390
+ }], ctorParameters: () => [] });
391
+
392
+ /**
393
+ * Generated bundle index. Do not edit.
394
+ */
395
+
396
+ export { FlowNodeDirective, NODE_TYPES, ReactFlowComponent, ReactFlowComponentStore, createTemplateNodeComponent, setAngularContext };
397
+ //# sourceMappingURL=xxmachina-components-extras-flow.mjs.map