+
}
+ title={t('waf.title')}
+ subtitle={t('waf.intro')}
+ />
+
+ {/* Status strip */}
+
+
+
+
+
+ {t('waf.stat.protected')}
+
+ 0 ? '#10B981' : '#94A3B8' }}>
+ {enabledCount}
+ / {activeDomains.length}
+
+
+
+
+
+
+
+
+ {t('waf.stat.blocking')}
+
+
+ {(wafConfigs ?? []).filter(c => c.enabled && c.mode === 'blocking').length}
+
+
+
+
+
+
+
+
+ {t('waf.stat.detection')}
+
+
+ {(wafConfigs ?? []).filter(c => c.enabled && c.mode === 'detection').length}
+
+
+
+
+
+
+
+
+
{
+ const cfg = configMap.get(row.id)
+ return cfg?.enabled ? '' : 'fw-rule-row--disabled'
+ }}
+ />
+
+ setDrawerDomain(null)}
+ />
+
+ )
+}