Package-level declarations

Types

Link copied to clipboard
sealed interface AppRoute

Defines the AppRoute contract for the SDAI presentation layer.

Link copied to clipboard
internal data class HomeNavigationBarItem(val label: String, val selected: Boolean, val icon: @Composable () -> Unit, val onClick: () -> Unit)

Carries bottom navigation item data used by AppScaffold.

Functions

Link copied to clipboard

Renders the AiSdApp UI for the SDAI presentation layer.

Link copied to clipboard

Renders the appBottomNavigationItems UI for the SDAI presentation layer.

Link copied to clipboard
private fun appDrawerItems(currentRoute: AppRoute, settings: Settings, router: RootAppRouter): List<DrawerSheetItem>

Renders the appDrawerItems UI for the SDAI presentation layer.

Link copied to clipboard
internal fun AppScaffold(currentRoute: AppRoute, router: RootAppRouter, buildInfoProvider: BuildInfoProvider, preferenceManager: PreferenceManager, content: @Composable (Modifier) -> Unit)

Renders the AppScaffold UI for the SDAI presentation layer.

Link copied to clipboard

Executes the asHomeTabRoute step in the SDAI presentation layer.

Link copied to clipboard

Executes the canFallBackToTextToImage step in the SDAI presentation layer.

Link copied to clipboard
internal actual fun DrawerBrandLogo(modifier: Modifier)

Renders the DrawerBrandLogo UI for the SDAI presentation layer.

internal expect fun DrawerBrandLogo(modifier: Modifier)

Renders the DrawerBrandLogo UI for the SDAI presentation layer.

internal actual fun DrawerBrandLogo(modifier: Modifier)

Renders the DrawerBrandLogo UI for the SDAI presentation layer.

Link copied to clipboard
private fun DrawerHeader(buildInfoProvider: BuildInfoProvider)

Renders the DrawerHeader UI for the SDAI presentation layer.

Link copied to clipboard
internal actual fun DrawerPlatformIcon(modifier: Modifier)

Renders the DrawerPlatformIcon UI for the SDAI presentation layer.

internal expect fun DrawerPlatformIcon(modifier: Modifier)

Renders the DrawerPlatformIcon UI for the SDAI presentation layer.

internal actual fun DrawerPlatformIcon(modifier: Modifier)

Renders the DrawerPlatformIcon UI for the SDAI presentation layer.

Link copied to clipboard

Renders the app bottom navigation bar.

Link copied to clipboard
internal fun HomeRouteSlot(route: AppRoute, activeRoute: AppRoute, renderedRoutes: List<AppRoute>, content: @Composable (Modifier) -> Unit)

Renders the HomeRouteSlot UI for the SDAI presentation layer.

Link copied to clipboard
internal fun HomeRoutesScaffold(languageCode: String, activeRoute: AppRoute, renderedRoutes: List<AppRoute>, router: RootAppRouter, buildInfoProvider: BuildInfoProvider, preferenceManager: PreferenceManager, textToImageViewModel: TextToImageViewModel, imageToImageViewModel: ImageToImageViewModel)

Renders the HomeRoutesScaffold UI for the SDAI presentation layer.

Link copied to clipboard

Executes the isHomeRoute step in the SDAI presentation layer.

Link copied to clipboard
fun MainViewController(): UIViewController

Executes the MainViewController step in the SDAI presentation layer.

Link copied to clipboard
internal fun OverlayRouteContent(languageCode: String, route: AppRoute, koin: Koin, router: RootAppRouter, urlLauncher: ExternalUrlLauncher, imageToImageViewModel: ImageToImageViewModel)

Renders the OverlayRouteContent UI for the SDAI presentation layer.

Link copied to clipboard
internal actual fun RootBackHandler(enabled: Boolean, onBack: () -> Unit)

Renders the RootBackHandler UI for the SDAI presentation layer.

internal expect fun RootBackHandler(enabled: Boolean, onBack: () -> Unit)

Renders the RootBackHandler UI for the SDAI presentation layer.

internal actual fun RootBackHandler(enabled: Boolean, onBack: () -> Unit)

Renders the RootBackHandler UI for the SDAI presentation layer.