pixel-react-excel-sheet 1.0.32 → 1.0.33

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 (92) hide show
  1. package/lib/components/Accordion/Accordion.d.ts +1 -1
  2. package/lib/components/Accordion/types.d.ts +4 -0
  3. package/lib/components/AllProjectsDropdown/types.d.ts +2 -0
  4. package/lib/components/Button/Button.d.ts +2 -2
  5. package/lib/components/Button/types.d.ts +17 -0
  6. package/lib/components/Charts/DashboardDonutChart/types.d.ts +1 -0
  7. package/lib/components/Charts/MultiRadialChart/types.d.ts +3 -0
  8. package/lib/components/ChooseFile/ChooseFile.d.ts +3 -0
  9. package/lib/components/ChooseFile/types.d.ts +68 -0
  10. package/lib/components/ConditionalDropdown/ConditionalDropdown.d.ts +1 -2
  11. package/lib/components/ConditionalDropdown/types.d.ts +3 -3
  12. package/lib/components/LabelEditTextField/types.d.ts +3 -1
  13. package/lib/components/ScriptSwitchButton/ScriptSwitchButton.d.ts +9 -0
  14. package/lib/components/ScriptSwitchButton/index.d.ts +1 -0
  15. package/lib/components/StatusCard/types.d.ts +2 -0
  16. package/lib/components/TableTree/Components/TableCell.d.ts +1 -1
  17. package/lib/components/TableTree/Components/TableRow.d.ts +1 -1
  18. package/lib/components/TableTree/data.d.ts +115 -1
  19. package/lib/components/TableTree/types.d.ts +4 -0
  20. package/lib/index.d.ts +218 -65
  21. package/lib/index.esm.js +721 -419
  22. package/lib/index.esm.js.map +1 -1
  23. package/lib/index.js +767 -418
  24. package/lib/index.js.map +1 -1
  25. package/lib/tsconfig.tsbuildinfo +1 -1
  26. package/lib/validations/regex.d.ts +46 -0
  27. package/package.json +1 -1
  28. package/src/StyleGuide/ColorPalette/colorPaletteList.ts +5 -0
  29. package/src/assets/Themes/BaseTheme.scss +1 -1
  30. package/src/assets/Themes/BlueTheme.scss +1 -1
  31. package/src/assets/Themes/DarkTheme.scss +1 -1
  32. package/src/assets/icons/failed_status_icon.svg +1 -1
  33. package/src/assets/icons/flaky_status_icon.svg +1 -1
  34. package/src/assets/icons/settings.svg +3 -0
  35. package/src/assets/icons/skipped_status_icon.svg +1 -1
  36. package/src/assets/icons/warning_status_icon.svg +1 -1
  37. package/src/components/Accordion/Accordion.stories.tsx +13 -0
  38. package/src/components/Accordion/Accordion.tsx +2 -1
  39. package/src/components/Accordion/types.ts +4 -0
  40. package/src/components/AllProjectsDropdown/types.ts +2 -0
  41. package/src/components/AppHeader/AppHeader.scss +6 -2
  42. package/src/components/Button/Button.scss +12 -0
  43. package/src/components/Button/Button.tsx +29 -11
  44. package/src/components/Button/types.ts +21 -0
  45. package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.scss +83 -30
  46. package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.tsx +2 -0
  47. package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.tsx +38 -17
  48. package/src/components/Charts/DashboardDonutChart/types.ts +1 -0
  49. package/src/components/Charts/MultiRadialChart/MultiRadialChart.scss +0 -1
  50. package/src/components/Charts/MultiRadialChart/MultiRadialChart.stories.tsx +2 -1
  51. package/src/components/Charts/MultiRadialChart/MultiRadialChart.tsx +18 -4
  52. package/src/components/Charts/MultiRadialChart/types.ts +4 -1
  53. package/src/components/ChooseFile/ChooseFile.stories.tsx +190 -0
  54. package/src/components/ChooseFile/ChooseFile.tsx +46 -0
  55. package/src/components/ChooseFile/types.ts +78 -0
  56. package/src/components/ConditionalDropdown/ConditionalDropdown.stories.tsx +8 -5
  57. package/src/components/ConditionalDropdown/ConditionalDropdown.tsx +133 -135
  58. package/src/components/ConditionalDropdown/types.ts +8 -8
  59. package/src/components/ConnectingBranch/ConnectingBranch.scss +171 -169
  60. package/src/components/ConnectingBranch/ConnectingBranch.tsx +108 -107
  61. package/src/components/DatePicker/DatePicker.scss +310 -0
  62. package/src/components/Excel/ExcelFile/ExcelFile.tsx +4 -4
  63. package/src/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.tsx +22 -12
  64. package/src/components/Excel/ExcelFile/ExcelFileComponents/ColumnIndicator.tsx +2 -2
  65. package/src/components/Excel/ExcelFile/ExcelFileComponents/DataEditor.tsx +4 -1
  66. package/src/components/Excel/ExcelFile/ExcelFileComponents/RowIndicator.tsx +2 -2
  67. package/src/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.ts +77 -10
  68. package/src/components/Icon/iconList.ts +2 -0
  69. package/src/components/LabelEditTextField/LabelEditTextField.scss +4 -0
  70. package/src/components/LabelEditTextField/LabelEditTextField.stories.tsx +8 -3
  71. package/src/components/LabelEditTextField/LabelEditTextField.tsx +42 -18
  72. package/src/components/LabelEditTextField/types.ts +3 -1
  73. package/src/components/MachineInputField/MachineInputField.tsx +2 -2
  74. package/src/components/NLPInput/components/NlpDropDown/NlpDropdown.scss +1 -1
  75. package/src/components/ScriptSwitchButton/ScriptSwitchButton.scss +33 -0
  76. package/src/components/ScriptSwitchButton/ScriptSwitchButton.stories.tsx +48 -0
  77. package/src/components/ScriptSwitchButton/ScriptSwitchButton.tsx +65 -0
  78. package/src/components/ScriptSwitchButton/index.ts +1 -0
  79. package/src/components/Select/Select.tsx +4 -4
  80. package/src/components/StatusCard/StatusCard.scss +2 -1
  81. package/src/components/StatusCard/StatusCard.stories.tsx +59 -1
  82. package/src/components/StatusCard/StatusCard.tsx +10 -2
  83. package/src/components/StatusCard/types.ts +2 -0
  84. package/src/components/TableTree/Components/TableBody.tsx +20 -16
  85. package/src/components/TableTree/Components/TableCell.tsx +47 -31
  86. package/src/components/TableTree/Components/TableRow.tsx +4 -0
  87. package/src/components/TableTree/TableTree.scss +121 -109
  88. package/src/components/TableTree/data.ts +48 -2
  89. package/src/components/TableTree/types.ts +4 -0
  90. package/src/index.ts +97 -0
  91. package/src/validations/regex.stories.tsx +362 -0
  92. package/src/validations/regex.ts +194 -0
@@ -1,208 +1,210 @@
1
- .ff-grid-container {
2
- display: grid;
3
- grid-template-columns: 1fr 1.5fr 0.8fr 5fr;
4
- grid-auto-rows: auto;
5
-
6
- .ff-selectedMachines {
7
- display: contents;
8
- }
9
-
10
- .ff-selectedMachines-input {
11
- grid-column: 2 / 3;
1
+ .connecting-branch-container {
2
+ .ff-connecting-branch-grid-container {
12
3
  display: grid;
13
- }
14
-
15
- .ff-input-box-container {
16
- margin-bottom: 24px;
17
- border-radius: 4px;
18
- width: 100%;
19
- }
4
+ grid-template-columns:
5
+ minmax(100px, 0.5fr) minmax(240px, 1.5fr) minmax(130px, 0.8fr)
6
+ 5fr;
7
+ grid-auto-rows: auto;
20
8
 
21
- .ff-machine-instance-row {
22
- display: contents;
23
- }
9
+ .ff-selectedMachines {
10
+ display: contents;
11
+ }
24
12
 
25
- .ff-selectedMachines-connecting-line {
26
- grid-column: 3 / 4;
27
- position: relative;
13
+ .ff-selectedMachines-input {
14
+ grid-column: 2 / 3;
15
+ display: grid;
16
+ }
28
17
 
29
- .ff-line {
30
- position: absolute;
31
- height: 1px;
32
- background-color: var(--brand-color);
33
- display: flex;
34
- align-items: center;
35
- justify-content: space-between;
18
+ .ff-input-box-container {
19
+ margin-bottom: 24px;
36
20
  width: 100%;
37
21
  }
38
22
 
39
- .ff-left-icon {
40
- height: 8px;
41
- width: 8px;
42
- background-color: var(--brand-color);
43
- border-radius: 50%;
44
- margin-right: 5px;
23
+ .ff-machine-instance-row {
24
+ display: contents;
45
25
  }
46
26
 
47
- .ff-selectedMachines-connecting-line-text {
48
- position: absolute;
49
- top: -10px;
50
- left: 50%;
51
- transform: translateX(-50%);
52
- background-color: var(--brand-color);
53
- color: var(--tooltip-text-color);
54
- padding: 4px;
55
- border-radius: 12px;
56
- text-align: center;
57
- }
27
+ .ff-selectedMachines-connecting-line {
28
+ grid-column: 3 / 4;
29
+ position: relative;
30
+
31
+ .ff-line {
32
+ position: absolute;
33
+ height: 1px;
34
+ background-color: var(--brand-color);
35
+ display: flex;
36
+ align-items: center;
37
+ justify-content: space-between;
38
+ width: 100%;
39
+ }
40
+
41
+ .ff-left-icon {
42
+ height: 8px;
43
+ width: 8px;
44
+ background-color: var(--brand-color);
45
+ border-radius: 50%;
46
+ margin-right: 5px;
47
+ }
48
+
49
+ .ff-selectedMachines-connecting-line-text {
50
+ position: absolute;
51
+ top: -10px;
52
+ left: 50%;
53
+ transform: translateX(-50%);
54
+ background-color: var(--brand-color);
55
+ color: var(--tooltip-text-color);
56
+ padding: 4px;
57
+ border-radius: 12px;
58
+ text-align: center;
59
+ }
60
+
61
+ .ff-right-icon {
62
+ width: 0;
63
+ height: 0;
64
+ border-top: 4px solid transparent;
65
+ border-bottom: 4px solid transparent;
66
+ border-left: 8px solid var(--brand-color);
67
+ margin-left: 84px;
68
+ bottom: -4px;
69
+ }
58
70
 
59
- .ff-right-icon {
60
- width: 0;
61
- height: 0;
62
- border-top: 4px solid transparent;
63
- border-bottom: 4px solid transparent;
64
- border-left: 8px solid var(--brand-color);
65
- margin-left: 84px;
66
- bottom: -4px;
71
+ &.ff-second-line {
72
+ position: relative;
73
+ margin-left: 20px;
74
+ }
75
+ .ff-vertical-line {
76
+ position: absolute;
77
+ left: 24px;
78
+ top: 0;
79
+ width: 1px;
80
+ height: auto;
81
+ background-color: var(--brand-color);
82
+ }
67
83
  }
68
84
 
69
- &.ff-second-line {
70
- position: relative;
71
- margin-left: 20px;
85
+ .ff-machine-instance {
86
+ grid-column: 4 / 5;
72
87
  }
73
- .ff-vertical-line {
74
- position: absolute;
75
- left: 24px;
76
- top: 0;
77
- width: 1px;
78
- height: auto;
79
- background-color: var(--brand-color);
88
+ .ff-machine-env-button {
89
+ padding: 4px 0;
90
+ margin-bottom: 16px;
91
+ }
92
+ .ff-selectedMachines-connecting-line {
93
+ margin-top: 16px;
80
94
  }
81
- }
82
95
 
83
- .ff-machine-instance {
84
- grid-column: 4 / 5;
85
- }
86
- .ff-machine-env-button {
87
- padding: 4px 0;
88
- margin-bottom: 16px;
89
- }
90
- .ff-selectedMachines-connecting-line {
91
- margin-top: 16px;
92
- }
96
+ .ff-selectedMachines-connecting-line.ff-no-instance-line {
97
+ margin-top: 16px;
98
+ }
93
99
 
94
- .ff-selectedMachines-connecting-line.ff-no-instance-line {
95
- margin-top: 16px;
96
- }
100
+ .ff-selectedMachines-connecting-line.ff-no-instance-line .ff-line {
101
+ width: 100%;
102
+ background-color: var(--brand-color);
103
+ height: 1px;
104
+ position: relative;
105
+ }
97
106
 
98
- .ff-selectedMachines-connecting-line.ff-no-instance-line .ff-line {
99
- width: 100%;
100
- background-color: var(--brand-color);
101
- height: 1px;
102
- position: relative;
103
- }
107
+ .ff-run-level-execution-dataset {
108
+ height: 66px;
109
+ margin-bottom: 8px;
110
+ border-radius: 4px;
111
+ margin-bottom: 16px;
112
+ position: relative;
104
113
 
105
- .ff-run-level-execution-dataset {
106
- height: 66px;
107
- margin-bottom: 8px;
108
- border-radius: 4px;
109
- margin-bottom: 16px;
110
- position: relative;
111
-
112
- .ff-curved-connector {
113
- position: absolute;
114
- left: -70px;
115
- transform: translateX(-50%);
116
- width: 40px;
117
- height: 0;
118
-
119
- .ff-curve {
120
- position: relative;
121
- width: 80px;
114
+ .ff-curved-connector {
115
+ position: absolute;
116
+ left: -70px;
117
+ transform: translateX(-50%);
118
+ width: 40px;
122
119
  height: 0;
123
- border: 1px dashed var(--brand-color);
124
- border-top: none;
125
- border-right: none;
126
- border-bottom-left-radius: 8px;
127
- display: flex;
128
- flex-direction: column-reverse;
129
120
 
130
- .ff-curve-right-icon {
131
- width: 0;
121
+ .ff-curve {
122
+ position: relative;
123
+ width: 80px;
132
124
  height: 0;
133
- border-top: 4px solid transparent;
134
- border-bottom: 4px solid transparent;
135
- border-left: 8px solid var(--brand-color);
136
- margin-left: 81px;
137
- position: absolute;
138
- bottom: -4px;
125
+ border: 1px dashed var(--brand-color);
126
+ border-top: none;
127
+ border-right: none;
128
+ border-bottom-left-radius: 8px;
129
+ display: flex;
130
+ flex-direction: column-reverse;
131
+
132
+ .ff-curve-right-icon {
133
+ width: 0;
134
+ height: 0;
135
+ border-top: 4px solid transparent;
136
+ border-bottom: 4px solid transparent;
137
+ border-left: 8px solid var(--brand-color);
138
+ margin-left: 81px;
139
+ position: absolute;
140
+ bottom: -4px;
141
+ }
142
+
143
+ .ff-selectedMachines-connecting-line-text {
144
+ position: absolute;
145
+ left: 50%;
146
+ top: 75px;
147
+ transform: translateX(-50%);
148
+ background-color: var(--brand-color);
149
+ color: var(--tooltip-text-color);
150
+ font-weight: 400;
151
+ font-size: 8px;
152
+ padding: 4px;
153
+ border-radius: 12px;
154
+ text-align: center;
155
+ width: 44px;
156
+ }
139
157
  }
140
158
 
141
- .ff-selectedMachines-connecting-line-text {
142
- position: absolute;
143
- left: 50%;
144
- top: 75px;
145
- transform: translateX(-50%);
146
- background-color: var(--brand-color);
147
- color: var(--tooltip-text-color);
148
- font-weight: 400;
149
- font-size: 8px;
150
- padding: 4px;
151
- border-radius: 12px;
152
- text-align: center;
153
- width: 44px;
159
+ .ff-connector-0 {
160
+ border: none;
161
+ bottom: 3px;
154
162
  }
155
- }
156
-
157
- .ff-connector-0 {
158
- border: none;
159
- bottom: 3px;
160
- }
161
163
 
162
- .ff-curve-right-icon-0 {
163
- display: none;
164
+ .ff-curve-right-icon-0 {
165
+ display: none;
166
+ }
164
167
  }
165
168
  }
166
- }
167
169
 
168
- .ff-select-machine-input {
169
- grid-column: 2 / 3;
170
- }
170
+ .ff-select-machine-input {
171
+ grid-column: 2 / 3;
172
+ }
171
173
 
172
- .ff-grid-item.ff-dynamic-item {
173
- grid-column: 1;
174
- display: flex;
175
- align-items: center;
176
- justify-content: center;
177
- position: relative;
178
- place-self: first baseline;
179
- top: 1px;
180
- left: 20px;
181
- }
174
+ .ff-grid-item.ff-dynamic-item {
175
+ grid-column: 1;
176
+ display: flex;
177
+ align-items: center;
178
+ justify-content: center;
179
+ position: relative;
180
+ place-self: first baseline;
181
+ top: 1px;
182
+ left: 20px;
183
+ }
182
184
 
183
- .ff-script-count-container {
184
- grid-column: 1;
185
- align-self: center;
186
- background-color: var(--brand-color);
187
- color: var(--tooltip-text-color);
188
- text-align: center;
189
- border-radius: 4px;
190
- display: flex;
191
- justify-content: center;
192
- align-items: center;
193
- padding: 4px;
194
-
195
- .ff-script-count-box {
185
+ .ff-script-count-container {
186
+ grid-column: 1;
187
+ align-self: center;
188
+ background-color: var(--brand-color);
189
+ color: var(--tooltip-text-color);
190
+ text-align: center;
191
+ border-radius: 4px;
196
192
  display: flex;
197
- flex-direction: column;
198
193
  justify-content: center;
199
194
  align-items: center;
200
- width: 100%;
201
- height: 100%;
195
+ padding: 4px;
196
+
197
+ .ff-script-count-box {
198
+ display: flex;
199
+ flex-direction: column;
200
+ justify-content: center;
201
+ align-items: center;
202
+ width: 100%;
203
+ height: 100%;
204
+ }
202
205
  }
203
206
  }
204
207
  }
205
-
206
208
  // Styles for stories
207
209
  .ff-parent-node-container {
208
210
  border: 1px solid green;
@@ -76,119 +76,120 @@ const ConnectingBranch: React.FC<ConnectBranchProps> = ({
76
76
  machineData.executionSettings.machines.selectedMachines.length / 2
77
77
  );
78
78
  return (
79
- <ArcherContainer
80
- strokeColor="var(--brand-color)"
81
- strokeWidth={1}
82
- startMarker={true}
83
- endMarker={false}
84
- noCurves
85
- >
86
- <div className="ff-grid-container">
87
- {machineData?.executionSettings?.machines?.selectedMachines.map(
88
- (machine: MachineData, index: indexType) => {
89
- const rowStart = currentRow;
90
- const rowSpan = calculateRowSpan(machine);
91
- currentRow += rowSpan;
92
- const gap = 16;
93
- const verticalLineHeight = calculateVerticalLineHeight(
94
- machine?.machineInstances,
95
- datasetHeight,
96
- gap
97
- );
98
-
99
- return (
100
- <React.Fragment key={index}>
101
- {/* Show ff-script-count-box only for the middle index */}
102
- {((!isOddMachineCount && index === middleIndex) ||
103
- (isOddMachineCount && index === 0)) && (
104
- <ArcherElement id="rootNode">
105
- <div
106
- className="ff-grid-item ff-dynamic-item"
107
- style={{
108
- gridRow: `${
109
- !isOddMachineCount ? rowStart : oddCountRow
110
- }`,
111
- }}
112
- >
113
- <div className="ff-script-count-container">
114
- <div className="ff-script-count-box">
115
- <Typography fontSize={12} fontWeight="regular">
116
- {
117
- machineData?.executionSettings?.machines
118
- ?.totalNoScript
119
- }
120
- </Typography>
121
- <Typography fontSize={12} fontWeight="regular">
122
- Scripts
123
- </Typography>
79
+ <div className="connecting-branch-container">
80
+ <ArcherContainer
81
+ strokeColor="var(--brand-color)"
82
+ strokeWidth={1}
83
+ startMarker={true}
84
+ endMarker={false}
85
+ noCurves
86
+ >
87
+ <div className="ff-connecting-branch-grid-container">
88
+ {machineData?.executionSettings?.machines?.selectedMachines.map(
89
+ (machine: MachineData, index: indexType) => {
90
+ const rowStart = currentRow;
91
+ const rowSpan = calculateRowSpan(machine);
92
+ currentRow += rowSpan;
93
+ const gap = 16;
94
+ const verticalLineHeight = calculateVerticalLineHeight(
95
+ machine?.machineInstances,
96
+ datasetHeight,
97
+ gap
98
+ );
99
+ return (
100
+ <React.Fragment key={index}>
101
+ {/* Show ff-script-count-box only for the middle index */}
102
+ {((!isOddMachineCount && index === middleIndex) ||
103
+ (isOddMachineCount && index === 0)) && (
104
+ <ArcherElement id="rootNode">
105
+ <div
106
+ className="ff-grid-item ff-dynamic-item"
107
+ style={{
108
+ gridRow: `${
109
+ !isOddMachineCount ? rowStart : oddCountRow
110
+ }`,
111
+ }}
112
+ >
113
+ <div className="ff-script-count-container">
114
+ <div className="ff-script-count-box">
115
+ <Typography fontSize={12} fontWeight="regular">
116
+ {
117
+ machineData?.executionSettings?.machines
118
+ ?.totalNoScript
119
+ }
120
+ </Typography>
121
+ <Typography fontSize={12} fontWeight="regular">
122
+ Scripts
123
+ </Typography>
124
+ </div>
124
125
  </div>
125
126
  </div>
127
+ </ArcherElement>
128
+ )}
129
+ {/* Selected Machine */}
130
+ <div
131
+ className="ff-selectedMachines"
132
+ style={{
133
+ gridRow: `${rowStart} / span ${rowSpan}`,
134
+ }}
135
+ >
136
+ <div className="ff-selectedMachines-input">
137
+ <div className="ff-input-box-container">
138
+ <ArcherElement
139
+ id={`parentnode${index}`}
140
+ key={machine?.clientId}
141
+ relations={[
142
+ {
143
+ targetId: 'rootNode',
144
+ targetAnchor: 'left',
145
+ sourceAnchor: 'left',
146
+ },
147
+ ]}
148
+ >
149
+ {/* Todo: here we will add select dropdown */}
150
+ {getParentNodeComponent(false, machine, index)}
151
+ </ArcherElement>
152
+ {getParentNodeComponentActionItems(machine, index)}
153
+ </div>
126
154
  </div>
127
- </ArcherElement>
128
- )}
129
- {/* Selected Machine */}
130
- <div
131
- className="ff-selectedMachines"
132
- style={{
133
- gridRow: `${rowStart} / span ${rowSpan}`,
134
- }}
135
- >
136
- <div className="ff-selectedMachines-input">
137
- <div className="ff-input-box-container">
138
- <ArcherElement
139
- id={`parentnode${index}`}
140
- key={index}
141
- relations={[
142
- {
143
- targetId: 'rootNode',
144
- targetAnchor: 'left',
145
- sourceAnchor: 'left',
146
- },
147
- ]}
148
- >
149
- {/* Todo: here we will add select dropdown */}
150
- {getParentNodeComponent(false, machine, index)}
151
- </ArcherElement>
152
- {getParentNodeComponentActionItems(machine, index)}
153
- </div>
155
+ <MachineInstances
156
+ parentNode={index}
157
+ data={machine}
158
+ verticalLineHeight={verticalLineHeight}
159
+ datasetHeight={datasetHeight}
160
+ curveHeights={curveHeights}
161
+ itemRefs={itemRefs}
162
+ datasetRef={datasetRef}
163
+ getChildNodeComponent={getChildNodeComponent}
164
+ />
154
165
  </div>
155
- <MachineInstances
156
- parentNode={index}
157
- data={machine}
158
- verticalLineHeight={verticalLineHeight}
159
- datasetHeight={datasetHeight}
160
- curveHeights={curveHeights}
161
- itemRefs={itemRefs}
162
- datasetRef={datasetRef}
163
- getChildNodeComponent={getChildNodeComponent}
164
- />
165
- </div>
166
- </React.Fragment>
167
- );
168
- }
169
- )}
170
- {/* Select Machine Input */}
171
- <div
172
- className="ff-select-machine-input"
173
- style={{
174
- gridRow: `${currentRow}`,
175
- }}
176
- >
177
- <ArcherElement
178
- id="lastNode"
179
- relations={[
180
- {
181
- targetId: 'rootNode',
182
- targetAnchor: 'left',
183
- sourceAnchor: 'left',
184
- },
185
- ]}
166
+ </React.Fragment>
167
+ );
168
+ }
169
+ )}
170
+ {/* Select Machine Input */}
171
+ <div
172
+ className="ff-select-machine-input"
173
+ style={{
174
+ gridRow: `${currentRow}`,
175
+ }}
186
176
  >
187
- <div>{getParentNodeComponent(true)}</div>
188
- </ArcherElement>
177
+ <ArcherElement
178
+ id="lastNode"
179
+ relations={[
180
+ {
181
+ targetId: 'rootNode',
182
+ targetAnchor: 'left',
183
+ sourceAnchor: 'left',
184
+ },
185
+ ]}
186
+ >
187
+ <div>{getParentNodeComponent(true)}</div>
188
+ </ArcherElement>
189
+ </div>
189
190
  </div>
190
- </div>
191
- </ArcherContainer>
191
+ </ArcherContainer>
192
+ </div>
192
193
  );
193
194
  };
194
195