Package-level declarations

Types

Link copied to clipboard
internal object EditTagConstants

Provides the EditTagConstants singleton used by the SDAI presentation layer.

Link copied to clipboard
sealed interface EditTagEffect : MviEffect

Defines the EditTagEffect contract for the SDAI presentation layer.

Link copied to clipboard
sealed interface EditTagIntent : MviIntent

Defines the EditTagIntent contract for the SDAI presentation layer.

Link copied to clipboard
data class EditTagState(val prompt: String = "", val negativePrompt: String = "", val originalTag: String = "", val currentTag: String = "", val extraType: ExtraType? = null, val isNegative: Boolean = false) : MviState

Carries EditTagState data through the SDAI presentation layer.

Link copied to clipboard
class EditTagViewModel(dispatchersProvider: DispatchersProvider, prompt: String, negativePrompt: String, tag: String, isNegative: Boolean) : BaseMviViewModel<EditTagState, EditTagIntent, EditTagEffect>

Coordinates EditTagViewModel behavior in the SDAI presentation layer.

Functions

Link copied to clipboard
fun EditTagDialog(modifier: Modifier = Modifier, prompt: String, negativePrompt: String, tag: String, isNegative: Boolean, onDismissRequest: () -> Unit, onNewPrompts: (String, String) -> Unit)

Renders the EditTagDialog UI for the SDAI presentation layer.

Link copied to clipboard

Loads SDAI data through getExtraDoubleValue.

Link copied to clipboard

Executes the replaceExtraValue step in the SDAI presentation layer.

Link copied to clipboard
private fun ScreenContent(modifier: Modifier = Modifier, state: EditTagState, processIntent: (EditTagIntent) -> Unit = {})

Renders the ScreenContent UI for the SDAI presentation layer.