chore: migriere ComponentPreview-Annotation in konsistente Paketstruktur und bereinige referenzierende Importe
This commit is contained in:
@@ -9,6 +9,9 @@ plugins {
|
||||
alias(libs.plugins.composeMultiplatform)
|
||||
}
|
||||
|
||||
group = "at.mocode.frontend.core"
|
||||
version = "1.0.0"
|
||||
|
||||
kotlin {
|
||||
jvm()
|
||||
|
||||
@@ -31,8 +34,13 @@ kotlin {
|
||||
implementation(compose.components.resources)
|
||||
implementation(libs.bundles.kmp.common)
|
||||
}
|
||||
|
||||
jvmMain.dependencies {
|
||||
implementation(compose.uiTooling)
|
||||
}
|
||||
|
||||
wasmJsMain.dependencies {
|
||||
implementation(libs.kotlin.stdlib.wasm.js)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package at.mocode.wui.preview
|
||||
package at.mocode.frontend.core.designsystem.preview
|
||||
|
||||
import androidx.compose.ui.tooling.preview.Preview
|
||||
|
||||
+1
-1
@@ -2,9 +2,9 @@ package at.mocode.ping.feature.presentation
|
||||
|
||||
import androidx.compose.material3.MaterialTheme
|
||||
import androidx.compose.runtime.Composable
|
||||
import at.mocode.frontend.core.designsystem.preview.ComponentPreview
|
||||
import at.mocode.ping.api.*
|
||||
import at.mocode.ping.feature.domain.PingSyncService
|
||||
import at.mocode.wui.preview.ComponentPreview
|
||||
|
||||
// ─────────────────────────────────────────────────────────────────────────────
|
||||
// Fake-Implementierungen für Preview (kein Koin, kein Netzwerk nötig)
|
||||
|
||||
+1
-1
@@ -2,11 +2,11 @@ package at.mocode.frontend.features.reiter.presentation
|
||||
|
||||
import androidx.compose.material3.MaterialTheme
|
||||
import androidx.compose.runtime.Composable
|
||||
import at.mocode.frontend.core.designsystem.preview.ComponentPreview
|
||||
import at.mocode.frontend.features.reiter.domain.LizenzKlasse
|
||||
import at.mocode.frontend.features.reiter.domain.Reiter
|
||||
import at.mocode.frontend.features.reiter.domain.ReiterStatus
|
||||
import at.mocode.frontend.features.reiter.domain.Sparte
|
||||
import at.mocode.wui.preview.ComponentPreview
|
||||
|
||||
/**
|
||||
* Hilf's-ViewModel für die Vorschau, um den Status direkt setzen zu können.
|
||||
|
||||
+1
-1
@@ -2,6 +2,7 @@ package at.mocode.frontend.shell.desktop.screens.preview
|
||||
|
||||
import androidx.compose.material3.MaterialTheme
|
||||
import androidx.compose.runtime.Composable
|
||||
import at.mocode.frontend.core.designsystem.preview.ComponentPreview
|
||||
import at.mocode.turnier.feature.domain.*
|
||||
import at.mocode.turnier.feature.presentation.*
|
||||
import at.mocode.turnier.feature.data.remote.dto.NennungEinreichenRequest
|
||||
@@ -11,7 +12,6 @@ import at.mocode.frontend.features.veranstalter.presentation.VeranstalterDetailS
|
||||
import at.mocode.frontend.features.veranstalter.presentation.VeranstalterNeuScreen
|
||||
import at.mocode.turnier.feature.domain.model.StartlistenZeile
|
||||
import at.mocode.veranstaltung.feature.presentation.VeranstaltungUebersichtScreen
|
||||
import at.mocode.wui.preview.ComponentPreview
|
||||
|
||||
// ─────────────────────────────────────────────────────────────────────────────
|
||||
// Compose Desktop Previews – alle wichtigen Screens auf einen Blick
|
||||
|
||||
Reference in New Issue
Block a user