CIA Compliance Manager API Documentation - v1.1.6
    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.

    Type Aliases

    WidgetClassKey

    Variables

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

    Functions

    areKeyboardShortcutsSupported
    calculateWidgetRiskLevel
    cn
    detectPlatform
    formatSecurityMetric
    formatShortcut
    getKeyCombination
    getPlatformModifier
    getPlatformShortcut
    getProgressColor
    getSeverityColor
    getShortcutAriaLabel
    isInputElement
    normalizeShortcut
    resetPlatformCache
    shortcutsMatch
    shouldIgnoreKeyboardEvent
    splitShortcutKeys

    References

    BUSINESS_IMPACT_CATEGORIES → BUSINESS_IMPACT_CATEGORIES
    calculateRiskLevel → CIAUtilities.calculateRiskLevel
    RISK_LEVELS → RISK_LEVELS