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.
- package/lib/components/Accordion/Accordion.d.ts +1 -1
- package/lib/components/Accordion/types.d.ts +4 -0
- package/lib/components/AllProjectsDropdown/types.d.ts +2 -0
- package/lib/components/Button/Button.d.ts +2 -2
- package/lib/components/Button/types.d.ts +17 -0
- package/lib/components/Charts/DashboardDonutChart/types.d.ts +1 -0
- package/lib/components/Charts/MultiRadialChart/types.d.ts +3 -0
- package/lib/components/ChooseFile/ChooseFile.d.ts +3 -0
- package/lib/components/ChooseFile/types.d.ts +68 -0
- package/lib/components/ConditionalDropdown/ConditionalDropdown.d.ts +1 -2
- package/lib/components/ConditionalDropdown/types.d.ts +3 -3
- package/lib/components/LabelEditTextField/types.d.ts +3 -1
- package/lib/components/ScriptSwitchButton/ScriptSwitchButton.d.ts +9 -0
- package/lib/components/ScriptSwitchButton/index.d.ts +1 -0
- package/lib/components/StatusCard/types.d.ts +2 -0
- package/lib/components/TableTree/Components/TableCell.d.ts +1 -1
- package/lib/components/TableTree/Components/TableRow.d.ts +1 -1
- package/lib/components/TableTree/data.d.ts +115 -1
- package/lib/components/TableTree/types.d.ts +4 -0
- package/lib/index.d.ts +218 -65
- package/lib/index.esm.js +721 -419
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +767 -418
- package/lib/index.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/validations/regex.d.ts +46 -0
- package/package.json +1 -1
- package/src/StyleGuide/ColorPalette/colorPaletteList.ts +5 -0
- package/src/assets/Themes/BaseTheme.scss +1 -1
- package/src/assets/Themes/BlueTheme.scss +1 -1
- package/src/assets/Themes/DarkTheme.scss +1 -1
- package/src/assets/icons/failed_status_icon.svg +1 -1
- package/src/assets/icons/flaky_status_icon.svg +1 -1
- package/src/assets/icons/settings.svg +3 -0
- package/src/assets/icons/skipped_status_icon.svg +1 -1
- package/src/assets/icons/warning_status_icon.svg +1 -1
- package/src/components/Accordion/Accordion.stories.tsx +13 -0
- package/src/components/Accordion/Accordion.tsx +2 -1
- package/src/components/Accordion/types.ts +4 -0
- package/src/components/AllProjectsDropdown/types.ts +2 -0
- package/src/components/AppHeader/AppHeader.scss +6 -2
- package/src/components/Button/Button.scss +12 -0
- package/src/components/Button/Button.tsx +29 -11
- package/src/components/Button/types.ts +21 -0
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.scss +83 -30
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.stories.tsx +2 -0
- package/src/components/Charts/DashboardDonutChart/DashboardDonutChart.tsx +38 -17
- package/src/components/Charts/DashboardDonutChart/types.ts +1 -0
- package/src/components/Charts/MultiRadialChart/MultiRadialChart.scss +0 -1
- package/src/components/Charts/MultiRadialChart/MultiRadialChart.stories.tsx +2 -1
- package/src/components/Charts/MultiRadialChart/MultiRadialChart.tsx +18 -4
- package/src/components/Charts/MultiRadialChart/types.ts +4 -1
- package/src/components/ChooseFile/ChooseFile.stories.tsx +190 -0
- package/src/components/ChooseFile/ChooseFile.tsx +46 -0
- package/src/components/ChooseFile/types.ts +78 -0
- package/src/components/ConditionalDropdown/ConditionalDropdown.stories.tsx +8 -5
- package/src/components/ConditionalDropdown/ConditionalDropdown.tsx +133 -135
- package/src/components/ConditionalDropdown/types.ts +8 -8
- package/src/components/ConnectingBranch/ConnectingBranch.scss +171 -169
- package/src/components/ConnectingBranch/ConnectingBranch.tsx +108 -107
- package/src/components/DatePicker/DatePicker.scss +310 -0
- package/src/components/Excel/ExcelFile/ExcelFile.tsx +4 -4
- package/src/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.tsx +22 -12
- package/src/components/Excel/ExcelFile/ExcelFileComponents/ColumnIndicator.tsx +2 -2
- package/src/components/Excel/ExcelFile/ExcelFileComponents/DataEditor.tsx +4 -1
- package/src/components/Excel/ExcelFile/ExcelFileComponents/RowIndicator.tsx +2 -2
- package/src/components/Excel/ExcelFile/ExcelFileComponents/reducerFunctions.ts +77 -10
- package/src/components/Icon/iconList.ts +2 -0
- package/src/components/LabelEditTextField/LabelEditTextField.scss +4 -0
- package/src/components/LabelEditTextField/LabelEditTextField.stories.tsx +8 -3
- package/src/components/LabelEditTextField/LabelEditTextField.tsx +42 -18
- package/src/components/LabelEditTextField/types.ts +3 -1
- package/src/components/MachineInputField/MachineInputField.tsx +2 -2
- package/src/components/NLPInput/components/NlpDropDown/NlpDropdown.scss +1 -1
- package/src/components/ScriptSwitchButton/ScriptSwitchButton.scss +33 -0
- package/src/components/ScriptSwitchButton/ScriptSwitchButton.stories.tsx +48 -0
- package/src/components/ScriptSwitchButton/ScriptSwitchButton.tsx +65 -0
- package/src/components/ScriptSwitchButton/index.ts +1 -0
- package/src/components/Select/Select.tsx +4 -4
- package/src/components/StatusCard/StatusCard.scss +2 -1
- package/src/components/StatusCard/StatusCard.stories.tsx +59 -1
- package/src/components/StatusCard/StatusCard.tsx +10 -2
- package/src/components/StatusCard/types.ts +2 -0
- package/src/components/TableTree/Components/TableBody.tsx +20 -16
- package/src/components/TableTree/Components/TableCell.tsx +47 -31
- package/src/components/TableTree/Components/TableRow.tsx +4 -0
- package/src/components/TableTree/TableTree.scss +121 -109
- package/src/components/TableTree/data.ts +48 -2
- package/src/components/TableTree/types.ts +4 -0
- package/src/index.ts +97 -0
- package/src/validations/regex.stories.tsx +362 -0
- package/src/validations/regex.ts +194 -0
|
@@ -1,208 +1,210 @@
|
|
|
1
|
-
.
|
|
2
|
-
|
|
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
|
-
|
|
16
|
-
|
|
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
|
-
|
|
22
|
-
|
|
23
|
-
|
|
9
|
+
.ff-selectedMachines {
|
|
10
|
+
display: contents;
|
|
11
|
+
}
|
|
24
12
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
13
|
+
.ff-selectedMachines-input {
|
|
14
|
+
grid-column: 2 / 3;
|
|
15
|
+
display: grid;
|
|
16
|
+
}
|
|
28
17
|
|
|
29
|
-
.ff-
|
|
30
|
-
|
|
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-
|
|
40
|
-
|
|
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
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
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
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
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
|
-
|
|
70
|
-
|
|
71
|
-
margin-left: 20px;
|
|
85
|
+
.ff-machine-instance {
|
|
86
|
+
grid-column: 4 / 5;
|
|
72
87
|
}
|
|
73
|
-
.ff-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
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
|
-
|
|
84
|
-
|
|
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
|
-
|
|
95
|
-
|
|
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
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
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
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
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
|
|
131
|
-
|
|
121
|
+
.ff-curve {
|
|
122
|
+
position: relative;
|
|
123
|
+
width: 80px;
|
|
132
124
|
height: 0;
|
|
133
|
-
border
|
|
134
|
-
border-
|
|
135
|
-
border-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
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-
|
|
142
|
-
|
|
143
|
-
|
|
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
|
-
|
|
163
|
-
|
|
164
|
+
.ff-curve-right-icon-0 {
|
|
165
|
+
display: none;
|
|
166
|
+
}
|
|
164
167
|
}
|
|
165
168
|
}
|
|
166
|
-
}
|
|
167
169
|
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
170
|
+
.ff-select-machine-input {
|
|
171
|
+
grid-column: 2 / 3;
|
|
172
|
+
}
|
|
171
173
|
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
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
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
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
|
-
|
|
201
|
-
|
|
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
|
-
<
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
(
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
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
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
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
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
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
|
-
<
|
|
188
|
-
|
|
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
|
-
</
|
|
191
|
-
</
|
|
191
|
+
</ArcherContainer>
|
|
192
|
+
</div>
|
|
192
193
|
);
|
|
193
194
|
};
|
|
194
195
|
|