91 lines
2.1 KiB
TypeScript
91 lines
2.1 KiB
TypeScript
/*
|
|
* File: index.ts
|
|
* Description: Main exports for Dashboard module
|
|
* Design & Developed by Tech4Biz Solutions
|
|
* Copyright (c) Spurrin Innovations. All rights reserved.
|
|
*/
|
|
|
|
// Export screens
|
|
export { default as ERDashboardScreen } from './screens/ERDashboardScreen';
|
|
|
|
// Export navigation
|
|
export {
|
|
DashboardStackNavigator,
|
|
DashboardStackParamList,
|
|
DashboardNavigationProp,
|
|
DashboardScreenProps,
|
|
ERDashboardScreenProps,
|
|
PatientDetailsScreenProps,
|
|
AlertDetailsScreenProps,
|
|
DepartmentStatsScreenProps,
|
|
QuickActionsScreenProps,
|
|
navigateToERDashboard,
|
|
navigateToPatientDetails,
|
|
navigateToAlertDetails,
|
|
navigateToDepartmentStats,
|
|
navigateToQuickActions,
|
|
goBack,
|
|
resetToERDashboard,
|
|
replaceWithERDashboard,
|
|
navigateToERDashboardAndClearStack,
|
|
navigateToPatientDetailsAndClearStack,
|
|
navigateToAlertDetailsAndClearStack,
|
|
} from './navigation';
|
|
|
|
// Export components
|
|
export { default as PatientCard } from './components/PatientCard';
|
|
export { default as CriticalAlerts } from './components/CriticalAlerts';
|
|
export { default as DashboardHeader } from './components/DashboardHeader';
|
|
export { default as QuickActions } from './components/QuickActions';
|
|
export { default as DepartmentStats } from './components/DepartmentStats';
|
|
|
|
// Export Redux
|
|
export {
|
|
fetchDashboardData,
|
|
refreshDashboardData,
|
|
clearError,
|
|
setFilter,
|
|
setSort,
|
|
updateConnectionStatus,
|
|
updateLastUpdated,
|
|
updateDashboardData,
|
|
} from './redux/dashboardSlice';
|
|
|
|
export {
|
|
fetchAlerts,
|
|
acknowledgeAlert,
|
|
markAlertAsRead,
|
|
clearError as clearAlertsError,
|
|
setFilter as setAlertsFilter,
|
|
setSort as setAlertsSort,
|
|
addAlert,
|
|
removeAlert,
|
|
updateAlert,
|
|
clearAllAlerts,
|
|
markAllAsRead,
|
|
} from './redux/alertsSlice';
|
|
|
|
export {
|
|
setLoading,
|
|
showModal,
|
|
hideModal,
|
|
showOverlay,
|
|
hideOverlay,
|
|
setCurrentScreen,
|
|
clearNavigationStack,
|
|
toggleDarkMode,
|
|
setFontSize,
|
|
toggleHighContrast,
|
|
setRefreshing,
|
|
setScrolling,
|
|
updateLastInteraction,
|
|
showError,
|
|
clearError as clearUIError,
|
|
resetUIState,
|
|
} from './redux/uiSlice';
|
|
|
|
/*
|
|
* End of File: index.ts
|
|
* Design & Developed by Tech4Biz Solutions
|
|
* Copyright (c) Spurrin Innovations. All rights reserved.
|
|
*/
|