+ {isConfigMode ? (
+ <>
+ {configErrorMsg && (
+
+ )}
+
+ handleConfigChange('ip', e.target.value)}
+ placeholder={l('configFieldsIpPlaceholder')}
+ />
+
+
+ handleConfigChange('port', e.target.value)}
+ placeholder={l('configFieldsPortPlaceholder')}
+ />
+
+
+
+
+ handleConfigChange('sourceIp', e.target.value)}
+ placeholder={l('configFieldsSourceIpPlaceholder')}
+ />
+
+
+ handleConfigChange('destinationIp', e.target.value)}
+ placeholder={l('configFieldsDestinationIpPlaceholder')}
+ />
+
+
+ handleConfigChange('sourcePort', e.target.value)}
+ placeholder={l('configFieldsSourcePortPlaceholder')}
+ />
+
+
+ handleConfigChange('destinationPort', e.target.value)}
+ placeholder={l('configFieldsDestinationPortPlaceholder')}
+ />
+
+
+ handleConfigChange('packetSizeMin', e.target.value)}
+ placeholder={l('configFieldsPacketSizeMinPlaceholder')}
+ />
+
+
+ handleConfigChange('packetSizeMax', e.target.value)}
+ placeholder={l('configFieldsPacketSizeMaxPlaceholder')}
+ />
+
+
+ handleConfigChange('timeRange', e.target.value)}
+ placeholder={l('configFieldsTimeRangePlaceholder')}
+ />
+
+
+ handleConfigChange('tcpFlags', e.target.value)}
+ placeholder={l('configFieldsTcpFlagsPlaceholder')}
+ />
+
+
+ handleConfigChange('payloadContent', e.target.value)}
+ placeholder={l('configFieldsPayloadContentPlaceholder')}
+ />
+
+
+ handleConfigChange('macAddress', e.target.value)}
+ placeholder={l('configFieldsMacAddressPlaceholder')}
+ />
+
+
+ >
+ ) : effectiveLoading ? (
+
{l('monitoringLoading')}
+ ) : Array.isArray(effectiveJsonData) ? (
+ effectiveJsonData.length === 0 ? (
+
+ ) : (
+ <>
+
+ {l('monitoringPageSize')}:
+
+ {renderJsonData(
+ paginatedEffectiveJsonData,
+ expandedState,
+ toggleExpanded,
+ l,
+ )}
+
+ >
+ )
+ ) : isRunning ? (
+
+ ) : (
+
+ )}
+
+