Package-level declarations

Functions

Link copied to clipboard
fun DecisionInteractiveDialog(title: UiText, text: UiText, confirmActionText: UiText = Localization.string("ok").asUiText(), dismissActionText: UiText = Localization.string("cancel").asUiText(), onConfirmAction: () -> Unit = {}, onDismissRequest: () -> Unit = {}, content: @Composable () -> Unit = {})

Renders the DecisionInteractiveDialog UI for the SDAI presentation layer.

Link copied to clipboard
fun DecisionInteractiveDialogContent(title: String, text: String, confirmActionText: String, dismissActionText: String, onConfirmAction: () -> Unit = {}, onDismissRequest: () -> Unit = {}, content: @Composable () -> Unit = {})

Renders the DecisionInteractiveDialogContent UI for the SDAI presentation layer.

Link copied to clipboard
fun ErrorDialog(text: UiText, onDismissRequest: () -> Unit = {})

Renders the ErrorDialog UI for the SDAI presentation layer.

Link copied to clipboard
fun ErrorDialogContent(title: String, text: String, okText: String, onDismissRequest: () -> Unit = {})

Renders the ErrorDialogContent UI for the SDAI presentation layer.

Link copied to clipboard
fun GeneratingProgressDialogContent(title: UiText = Localization.string("communicating_progress_title").asUiText(), subTitle: UiText = Localization.string("communicating_progress_sub_title").asUiText(), waitTimeSeconds: Int? = null, positionInQueue: Int? = null, step: Pair<Int, Int>? = null, content: @Composable () -> Unit? = null)

Renders the GeneratingProgressDialogContent UI for the SDAI presentation layer.

Link copied to clipboard
private fun GenerationBatchImageItem(result: AiGenerationResult, onClick: () -> Unit)

Renders the GenerationBatchImageItem UI for the SDAI presentation layer.

Link copied to clipboard
fun ColumnScope.GenerationImageBatchResultModal(results: List<AiGenerationResult>, showSaveButton: Boolean = false, onSaveRequest: () -> Unit = {}, onViewDetailRequest: (AiGenerationResult) -> Unit = {})

Renders the GenerationImageBatchResultModal UI for the SDAI presentation layer.

Link copied to clipboard
fun GenerationImageResultDialog(imageBase64: String, showSaveButton: Boolean = false, showReportButton: Boolean = false, onDismissRequest: () -> Unit = {}, onSaveRequest: () -> Unit = {}, onReportRequest: () -> Unit = {}, onViewDetailRequest: () -> Unit = {})

Renders the GenerationImageResultDialog UI for the SDAI presentation layer.

Link copied to clipboard
fun InfoDialog(title: UiText, subTitle: UiText, onDismissRequest: () -> Unit = {})

Renders the InfoDialog UI for the SDAI presentation layer.

Link copied to clipboard
fun InfoDialogContent(title: String, subTitle: String, okText: String, onDismissRequest: () -> Unit = {})

Renders the InfoDialogContent UI for the SDAI presentation layer.

Link copied to clipboard
fun ProgressDialog(title: UiText = Localization.string("communicating_progress_title").asUiText(), subTitle: UiText = Localization.string("communicating_progress_sub_title").asUiText(), canDismiss: Boolean = true, onDismissRequest: () -> Unit = {}, waitTimeSeconds: Int? = null, positionInQueue: Int? = null, step: Pair<Int, Int>? = null, content: @Composable () -> Unit? = null)

Renders the ProgressDialog UI for the SDAI presentation layer.

Link copied to clipboard

Renders the ProgressDialogCancelButton UI for the SDAI presentation layer.

Link copied to clipboard
fun ProgressDialogCancelButtonContent(cancelText: String, onClick: () -> Unit)

Renders the ProgressDialogCancelButtonContent UI for the SDAI presentation layer.

Link copied to clipboard
fun ProgressDialogContent(title: String, subTitle: String, waitTimeText: String? = null, statusText: String? = null, content: @Composable () -> Unit? = null)

Renders the ProgressDialogContent UI for the SDAI presentation layer.

Link copied to clipboard
fun ProgressDialogStatus(modifier: Modifier = Modifier, waitTimeSeconds: Int?, positionInQueue: Int?, step: Pair<Int, Int>?)

Renders the ProgressDialogStatus UI for the SDAI presentation layer.

Link copied to clipboard
fun ProgressDialogStatusContent(modifier: Modifier = Modifier, waitTimeText: String?, statusText: String?)

Renders the ProgressDialogStatusContent UI for the SDAI presentation layer.

Link copied to clipboard
private fun statusText(positionInQueue: Int?, step: Pair<Int, Int>?): String?

Executes the statusText step in the SDAI presentation layer.

Link copied to clipboard
private fun waitTimeText(waitTimeSeconds: Int?): String?

Executes the waitTimeText step in the SDAI presentation layer.