CIA Compliance Manager — API Documentation - v1.1.50
    Preparing search index...

    Module utils

    Central export of utility functions for CIA Compliance Manager

    This index file provides organized exports of all utility functions to ensure they're properly accessible throughout the application.

    Variables

    ARIA_ROLES
    ARIA_LIVE
    getSecurityLevelAriaLabel
    getWidgetAriaDescription
    getTabAriaProps
    getTabPanelAriaProps
    getButtonAriaProps
    getSelectAriaProps
    getProgressAriaProps
    getStatusAriaProps
    getChartAriaProps
    getTabIndex
    handleArrowKeyNavigation
    getMetricAccessibleName
    announceToScreenReader
    meetsContrastRequirement
    getSecurityLevelColorClass
    getColorForRiskLevel
    getComplianceStatusColor
    calculateImplementationCost
    calculateTotalSecurityCost
    calculateSecurityROI
    getRecommendedBudgetAllocation
    formatBudgetPercentage
    formatCurrency
    formatCurrencyWithOptions
    formatDate
    formatLargeNumber
    formatNumber
    formatNumberWithDecimals
    formatPercentage
    formatRiskLevel
    formatTimeframe
    formatUptime
    toTitleCase
    calculateOverallSecurityLevelFromValues
    compareSecurityLevels
    getNormalizedSecurityValue
    getNumericSecurityLevelValue
    getSecurityLevelFromValue
    SECURITY_LEVEL_VALUES
    calculateCombinedRiskLevel
    calculateRiskScore
    getFormattedRiskLevel
    getRiskBadgeVariant
    getRiskLevelFromSecurityLevel
    getRiskScoreFromSecurityLevel
    getRiskSeverityDescription
    getStatusBadgeForRiskLevel
    parseRiskLevel
    calculateOverallSecurityLevel
    asSecurityLevel
    formatSecurityLevelString
    getRecommendedSecurityLevel
    getSecurityIcon
    getSecurityLevelBadgeVariant
    getSecurityLevelClass
    getSecurityLevelDescription
    getSecurityLevelPercentage
    getSecurityLevelValue
    isSecurityLevel
    meetsComplianceRequirements
    normalizeSecurityLevel
    formatSecurityLevelFromWidget
    getWidgetColumnSpan
    getWidgetRowSpan
    handleWidgetError
    KeyValuePair
    RiskLevelKeyValue
    sanitizeWidgetId
    SecurityLevelBadge
    WidgetEmptyState
    WidgetError
    WidgetLoading
    ensureArray
    extractSecurityLevels
    hasProperty
    hasTagValue
    isBusinessImpactCategory
    isBusinessImpactDetails
    isComplianceFramework
    isComplianceFrameworkName
    isComplianceFrameworkObject
    isComplianceStatus
    isNumber
    isObject
    isRiskLevel
    isROIEstimate
    isROIMetricDetails
    isROIMetrics
    isSecurityProfile
    isSecurityResource
    isString
    isWidget
    isWidgetConfig
    isWidgetProps
    isWidgetType
    safeAccess
    safeNumberConversion
    hasWidgetProps
    toErrorObject
    formatError

    Functions

    getProgressColor
    getSeverityColor
    calculateWidgetRiskLevel
    formatSecurityMetric

    References

    CostResult → CostResult
    BUSINESS_IMPACT_CATEGORIES → BUSINESS_IMPACT_CATEGORIES
    calculateRiskLevel → calculateRiskLevel
    RISK_LEVELS → RISK_LEVELS
    cn → cn
    WidgetClasses → WidgetClasses
    WidgetClassKey → WidgetClassKey
    resetPlatformCache → resetPlatformCache
    detectPlatform → detectPlatform
    getPlatformModifier → getPlatformModifier
    getKeyCombination → getKeyCombination
    normalizeShortcut → normalizeShortcut
    shortcutsMatch → shortcutsMatch
    formatShortcut → formatShortcut
    splitShortcutKeys → splitShortcutKeys
    isInputElement → isInputElement
    shouldIgnoreKeyboardEvent → shouldIgnoreKeyboardEvent
    getPlatformShortcut → getPlatformShortcut
    getShortcutAriaLabel → getShortcutAriaLabel
    areKeyboardShortcutsSupported → areKeyboardShortcutsSupported