@imgly/editor-react-native 1.81.0-rc.0 → 1.81.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/build.gradle +4 -1
- package/package.json +1 -1
- package/src/NativeIMGLYEditor.ts +1 -1
- package/android/src/main/assets/ly.img.memories.style/content.json +0 -50
- package/android/src/main/assets/ly.img.memories.style/thumbnails/bubblegum.png +0 -0
- package/android/src/main/assets/ly.img.memories.style/thumbnails/hologram.png +0 -0
- package/android/src/main/assets/ly.img.memories.style/thumbnails/noir.png +0 -0
- package/android/src/main/assets/ly.img.memories.style/videos/bubblegum.mp4 +0 -0
- package/android/src/main/assets/ly.img.memories.style/videos/hologram.mp4 +0 -0
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/MemoriesApp.kt +0 -77
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/MemoriesConfiguration.kt +0 -38
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/MemoriesEditor.kt +0 -79
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/MemoriesViewModel.kt +0 -469
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/callback/OnCreate.kt +0 -69
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/callback/OnExport.kt +0 -46
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/component/BottomPanel.kt +0 -151
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/component/Dock.kt +0 -145
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/component/ExportOverlay.kt +0 -229
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/component/NavigationBar.kt +0 -80
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/component/Overlay.kt +0 -138
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/extension/EditorScopeExt.kt +0 -111
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/iconPack/AddPhotoAlternate.kt +0 -79
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/iconPack/ArrowForward.kt +0 -45
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/iconPack/Audiotrack.kt +0 -43
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/iconPack/Check.kt +0 -39
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/iconPack/CheckCircle.kt +0 -44
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/iconPack/Close.kt +0 -43
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/iconPack/Delete.kt +0 -54
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/iconPack/DeleteOutline.kt +0 -53
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/iconPack/Fullscreen.kt +0 -74
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/iconPack/Image.kt +0 -51
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/iconPack/Info.kt +0 -48
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/iconPack/Pause.kt +0 -46
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/iconPack/PlayArrow.kt +0 -38
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/iconPack/RepeatOff.kt +0 -80
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/iconPack/RepeatOn.kt +0 -59
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/iconPack/SkipPrevious.kt +0 -46
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/iconPack/Sort.kt +0 -55
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/iconPack/Style.kt +0 -59
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/iconPack/Title.kt +0 -43
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/iconPack/TouchTriple.kt +0 -134
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/iconPack/VolumeDown.kt +0 -48
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/iconPack/VolumeUp.kt +0 -60
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/model/ExportStatus.kt +0 -20
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/model/ImageItem.kt +0 -8
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/model/TimelineImage.kt +0 -18
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/scene/Events.kt +0 -59
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/scene/Playback.kt +0 -29
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/scene/SceneSetup.kt +0 -79
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/scene/Timeline.kt +0 -27
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/scene/Title.kt +0 -162
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/scene/TrackEditor.kt +0 -740
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/screen/ImageSelectionScreen.kt +0 -387
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/screen/LoadingScreen.kt +0 -258
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/sheet/FilterStylesSheet.kt +0 -167
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/sheet/FilterStylesSheetType.kt +0 -21
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/sheet/VolumeSheet.kt +0 -104
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/style/StyleApplier.kt +0 -220
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/style/StyleAssetSource.kt +0 -43
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/style/VideoStyle.kt +0 -118
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/util/Animations.kt +0 -58
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/util/Constants.kt +0 -20
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/util/ImageDate.kt +0 -81
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/util/Utils.kt +0 -27
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/widget/CenteredAddImageButton.kt +0 -82
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/widget/DraggableImageItem.kt +0 -145
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/widget/FullscreenVideoControls.kt +0 -136
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/widget/ImageGrid.kt +0 -122
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/widget/ImageGridOverlay.kt +0 -149
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/widget/ImageTimelineStrip.kt +0 -323
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/widget/ImageToolbar.kt +0 -401
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/widget/ReorderableGridState.kt +0 -183
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/widget/VideoControlPanel.kt +0 -180
- package/android/src/main/kotlin/ly/img/editor/configuration/memories/widget/VideoThumbnail.kt +0 -110
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
package ly.img.editor.configuration.memories.component
|
|
2
|
-
|
|
3
|
-
import android.util.Log
|
|
4
|
-
import androidx.compose.foundation.background
|
|
5
|
-
import androidx.compose.foundation.clickable
|
|
6
|
-
import androidx.compose.foundation.layout.Box
|
|
7
|
-
import androidx.compose.foundation.layout.fillMaxSize
|
|
8
|
-
import androidx.compose.runtime.Composable
|
|
9
|
-
import androidx.compose.runtime.LaunchedEffect
|
|
10
|
-
import androidx.compose.runtime.collectAsState
|
|
11
|
-
import androidx.compose.runtime.getValue
|
|
12
|
-
import androidx.compose.runtime.mutableStateOf
|
|
13
|
-
import androidx.compose.runtime.remember
|
|
14
|
-
import androidx.compose.runtime.setValue
|
|
15
|
-
import androidx.compose.ui.Alignment
|
|
16
|
-
import androidx.compose.ui.Modifier
|
|
17
|
-
import androidx.compose.ui.graphics.Color
|
|
18
|
-
import kotlinx.coroutines.delay
|
|
19
|
-
import ly.img.editor.configuration.memories.MemoriesConfiguration
|
|
20
|
-
import ly.img.editor.configuration.memories.MemoriesViewModel
|
|
21
|
-
import ly.img.editor.configuration.memories.widget.FullscreenVideoControls
|
|
22
|
-
import ly.img.editor.configuration.memories.widget.ImageGridOverlay
|
|
23
|
-
import ly.img.editor.core.EditorContext
|
|
24
|
-
import ly.img.editor.core.component.EditorComponent
|
|
25
|
-
import ly.img.editor.core.component.remember
|
|
26
|
-
|
|
27
|
-
@Composable
|
|
28
|
-
fun MemoriesConfiguration.rememberOverlay(viewModel: MemoriesViewModel) = EditorComponent.remember {
|
|
29
|
-
decoration = {
|
|
30
|
-
Box(Modifier.fillMaxSize()) {
|
|
31
|
-
Overlay(viewModel, editorContext)
|
|
32
|
-
Overlay(loading = {})
|
|
33
|
-
ExportOverlay()
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@Composable
|
|
39
|
-
private fun Overlay(
|
|
40
|
-
viewModel: MemoriesViewModel,
|
|
41
|
-
editorContext: EditorContext,
|
|
42
|
-
) {
|
|
43
|
-
val showImageGrid by viewModel.showImageGrid.collectAsState()
|
|
44
|
-
val gridImages by viewModel.gridImages.collectAsState()
|
|
45
|
-
val imagesToDelete by viewModel.imagesToDelete.collectAsState()
|
|
46
|
-
val multiSelectMode by viewModel.multiSelectMode.collectAsState()
|
|
47
|
-
val isPreviewMode by viewModel.isPreviewMode.collectAsState()
|
|
48
|
-
val isPlaying by viewModel.isPlaying.collectAsState()
|
|
49
|
-
val isSortEnabled by viewModel.overlaySortEnabled.collectAsState()
|
|
50
|
-
val isSortAscending by viewModel.overlaySortAscending.collectAsState()
|
|
51
|
-
|
|
52
|
-
if (showImageGrid) {
|
|
53
|
-
ImageGridOverlay(
|
|
54
|
-
images = gridImages,
|
|
55
|
-
onImagesChanged = { viewModel.updateGridImages(it) },
|
|
56
|
-
onAddImages = { viewModel.addImagesToOverlay(it) },
|
|
57
|
-
onClose = { viewModel.cancelOverlay() },
|
|
58
|
-
onApply = { viewModel.applyOverlayChanges(editorContext) },
|
|
59
|
-
selectedForDeletion = imagesToDelete,
|
|
60
|
-
onToggleSelection = { viewModel.toggleImageForDeletion(it) },
|
|
61
|
-
isSortEnabled = isSortEnabled,
|
|
62
|
-
isSortAscending = isSortAscending,
|
|
63
|
-
onToggleSort = { viewModel.toggleOverlaySort() },
|
|
64
|
-
onDeleteSelected = { viewModel.deleteSelectedFromOverlay() },
|
|
65
|
-
onClearAll = { viewModel.clearOverlayImages() },
|
|
66
|
-
multiSelectMode = multiSelectMode,
|
|
67
|
-
onToggleMultiSelect = { viewModel.toggleMultiSelect() },
|
|
68
|
-
)
|
|
69
|
-
} else if (isPreviewMode) {
|
|
70
|
-
var progress by remember { mutableStateOf(0f) }
|
|
71
|
-
var totalDuration by remember { mutableStateOf(1f) }
|
|
72
|
-
|
|
73
|
-
// Update progress from playback
|
|
74
|
-
LaunchedEffect(isPlaying) {
|
|
75
|
-
if (isPlaying) {
|
|
76
|
-
while (isPlaying) {
|
|
77
|
-
try {
|
|
78
|
-
val engine = editorContext.engine
|
|
79
|
-
val page = engine.scene.getCurrentPage()
|
|
80
|
-
if (page != null) {
|
|
81
|
-
val currentTime = engine.block.getPlaybackTime(page).toFloat()
|
|
82
|
-
totalDuration = engine.block.getDuration(page).toFloat()
|
|
83
|
-
progress = if (totalDuration > 0) currentTime / totalDuration else 0f
|
|
84
|
-
}
|
|
85
|
-
} catch (e: Exception) {
|
|
86
|
-
// Transient (e.g. a scene/view-mode transition); values are re-polled in 100ms,
|
|
87
|
-
// so swallow rather than spam a log every frame.
|
|
88
|
-
}
|
|
89
|
-
delay(100) // Update every 100ms
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Full screen transparent overlay for preview mode
|
|
95
|
-
Box(
|
|
96
|
-
modifier = Modifier
|
|
97
|
-
.fillMaxSize()
|
|
98
|
-
.background(Color.Transparent)
|
|
99
|
-
.clickable {
|
|
100
|
-
viewModel.togglePreviewMode()
|
|
101
|
-
},
|
|
102
|
-
) {
|
|
103
|
-
FullscreenVideoControls(
|
|
104
|
-
isPlaying = isPlaying,
|
|
105
|
-
progress = progress,
|
|
106
|
-
currentTime = (progress * totalDuration).toDouble(),
|
|
107
|
-
totalDuration = totalDuration.toDouble(),
|
|
108
|
-
onPlayPauseClick = {
|
|
109
|
-
val newPlayingState = !isPlaying
|
|
110
|
-
viewModel.setPlaying(newPlayingState)
|
|
111
|
-
try {
|
|
112
|
-
val engine = editorContext.engine
|
|
113
|
-
val page = engine.scene.getCurrentPage()
|
|
114
|
-
if (page != null) {
|
|
115
|
-
engine.block.setPlaying(page, newPlayingState)
|
|
116
|
-
}
|
|
117
|
-
} catch (e: Exception) {
|
|
118
|
-
Log.w("MemoriesOverlay", "Could not toggle playback", e)
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
onSeek = { seekProgress ->
|
|
122
|
-
try {
|
|
123
|
-
val engine = editorContext.engine
|
|
124
|
-
val page = engine.scene.getCurrentPage()
|
|
125
|
-
if (page != null) {
|
|
126
|
-
val seekTime = (seekProgress * totalDuration).toDouble()
|
|
127
|
-
engine.block.setPlaybackTime(page, seekTime)
|
|
128
|
-
progress = seekProgress
|
|
129
|
-
}
|
|
130
|
-
} catch (e: Exception) {
|
|
131
|
-
Log.w("MemoriesOverlay", "Could not seek playback", e)
|
|
132
|
-
}
|
|
133
|
-
},
|
|
134
|
-
modifier = Modifier.align(Alignment.BottomCenter),
|
|
135
|
-
)
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
}
|
package/android/src/main/kotlin/ly/img/editor/configuration/memories/extension/EditorScopeExt.kt
DELETED
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
package ly.img.editor.configuration.memories.extension
|
|
2
|
-
|
|
3
|
-
import androidx.core.net.toUri
|
|
4
|
-
import kotlinx.coroutines.coroutineScope
|
|
5
|
-
import kotlinx.coroutines.launch
|
|
6
|
-
import ly.img.editor.configuration.memories.style.registerStyleAssetSource
|
|
7
|
-
import ly.img.editor.core.EditorScope
|
|
8
|
-
import ly.img.editor.core.library.data.AssetSourceType
|
|
9
|
-
import ly.img.editor.core.library.data.SystemGalleryAssetSource
|
|
10
|
-
import ly.img.editor.core.library.data.SystemGalleryConfiguration
|
|
11
|
-
import ly.img.editor.core.library.data.SystemGalleryPermission
|
|
12
|
-
import ly.img.editor.core.library.data.TextAssetSource
|
|
13
|
-
import ly.img.editor.core.library.data.TypefaceProvider
|
|
14
|
-
|
|
15
|
-
suspend fun EditorScope.onLoadAssetSources() {
|
|
16
|
-
// Register the kit's own custom local asset source: the bundled style backdrop videos and
|
|
17
|
-
// picker thumbnails, described by assets/ly.img.memories.style/content.json (files stay local).
|
|
18
|
-
editorContext.engine.registerStyleAssetSource()
|
|
19
|
-
|
|
20
|
-
// Load the default asset libraries in parallel from their content.json files using the current
|
|
21
|
-
// v5 source ids via addLocalSourceFromJSON, mirroring the video starter kit. The legacy v4 ids
|
|
22
|
-
// (ly.img.vectorpath / ly.img.filter.lut / ly.img.filter.duotone / ly.img.textComponents) plus
|
|
23
|
-
// the deprecated populateAssetSource combination 404s on the CDN and hangs the whole load.
|
|
24
|
-
coroutineScope {
|
|
25
|
-
val baseUri = editorContext.baseUri
|
|
26
|
-
listOf(
|
|
27
|
-
"ly.img.sticker",
|
|
28
|
-
"ly.img.vector.shape",
|
|
29
|
-
"ly.img.filter",
|
|
30
|
-
"ly.img.color.palette",
|
|
31
|
-
"ly.img.effect",
|
|
32
|
-
"ly.img.blur",
|
|
33
|
-
"ly.img.typeface",
|
|
34
|
-
"ly.img.crop.presets",
|
|
35
|
-
"ly.img.page.presets",
|
|
36
|
-
"ly.img.text",
|
|
37
|
-
"ly.img.text.styles",
|
|
38
|
-
"ly.img.text.curves",
|
|
39
|
-
"ly.img.text.components",
|
|
40
|
-
"ly.img.image",
|
|
41
|
-
"ly.img.audio",
|
|
42
|
-
"ly.img.video",
|
|
43
|
-
).forEach { id ->
|
|
44
|
-
launch {
|
|
45
|
-
editorContext.engine.asset.addLocalSourceFromJSON(
|
|
46
|
-
contentUri = "$baseUri/$id/content.json".toUri(),
|
|
47
|
-
)
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
// Required for animations
|
|
53
|
-
editorContext.engine.block.setMetadata(
|
|
54
|
-
block = requireNotNull(editorContext.engine.scene.get()),
|
|
55
|
-
key = "ly.img.defaultAssetSourcesBaseUri",
|
|
56
|
-
value = editorContext.baseUri.toString(),
|
|
57
|
-
)
|
|
58
|
-
|
|
59
|
-
// Load local (upload) asset sources
|
|
60
|
-
editorContext.engine.asset.addLocalSource(
|
|
61
|
-
sourceId = "ly.img.image.upload",
|
|
62
|
-
supportedMimeTypes = listOf(
|
|
63
|
-
"image/jpeg",
|
|
64
|
-
"image/png",
|
|
65
|
-
"image/heic",
|
|
66
|
-
"image/heif",
|
|
67
|
-
"image/svg+xml",
|
|
68
|
-
"image/gif",
|
|
69
|
-
"image/bmp",
|
|
70
|
-
),
|
|
71
|
-
)
|
|
72
|
-
|
|
73
|
-
editorContext.engine.asset.addLocalSource(
|
|
74
|
-
sourceId = "ly.img.audio.upload",
|
|
75
|
-
supportedMimeTypes = listOf(
|
|
76
|
-
"audio/x-m4a",
|
|
77
|
-
"audio/mp3",
|
|
78
|
-
"audio/mpeg",
|
|
79
|
-
),
|
|
80
|
-
)
|
|
81
|
-
editorContext.engine.asset.addLocalSource(
|
|
82
|
-
sourceId = "ly.img.video.upload",
|
|
83
|
-
supportedMimeTypes = listOf(
|
|
84
|
-
"video/mp4",
|
|
85
|
-
),
|
|
86
|
-
)
|
|
87
|
-
|
|
88
|
-
// Register gallery asset sources
|
|
89
|
-
listOf(
|
|
90
|
-
AssetSourceType.GalleryAllVisuals,
|
|
91
|
-
AssetSourceType.GalleryImage,
|
|
92
|
-
AssetSourceType.GalleryVideo,
|
|
93
|
-
).forEach { type ->
|
|
94
|
-
editorContext.engine.asset.addSource(
|
|
95
|
-
source = SystemGalleryAssetSource(
|
|
96
|
-
context = editorContext.engine.applicationContext,
|
|
97
|
-
type = type,
|
|
98
|
-
),
|
|
99
|
-
)
|
|
100
|
-
}
|
|
101
|
-
SystemGalleryPermission.setMode(SystemGalleryConfiguration.Enabled)
|
|
102
|
-
|
|
103
|
-
// Register text asset source
|
|
104
|
-
TypefaceProvider().provideTypeface(
|
|
105
|
-
engine = editorContext.engine,
|
|
106
|
-
name = "Roboto",
|
|
107
|
-
)?.let {
|
|
108
|
-
val textAssetSource = TextAssetSource(engine = editorContext.engine, typeface = it)
|
|
109
|
-
editorContext.engine.asset.addSource(textAssetSource)
|
|
110
|
-
}
|
|
111
|
-
}
|
package/android/src/main/kotlin/ly/img/editor/configuration/memories/iconPack/AddPhotoAlternate.kt
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
package ly.img.editor.configuration.memories.iconPack
|
|
2
|
-
|
|
3
|
-
import androidx.compose.ui.graphics.Color
|
|
4
|
-
import androidx.compose.ui.graphics.SolidColor
|
|
5
|
-
import androidx.compose.ui.graphics.vector.ImageVector
|
|
6
|
-
import androidx.compose.ui.graphics.vector.path
|
|
7
|
-
import androidx.compose.ui.unit.dp
|
|
8
|
-
import ly.img.editor.core.iconpack.IconPack
|
|
9
|
-
|
|
10
|
-
val IconPack.AddPhotoAlternate: ImageVector
|
|
11
|
-
get() {
|
|
12
|
-
if (_AddPhotoAlternate != null) {
|
|
13
|
-
return _AddPhotoAlternate!!
|
|
14
|
-
}
|
|
15
|
-
_AddPhotoAlternate = ImageVector.Builder(
|
|
16
|
-
name = "AddPhotoAlternate",
|
|
17
|
-
defaultWidth = 24.dp,
|
|
18
|
-
defaultHeight = 24.dp,
|
|
19
|
-
viewportWidth = 24f,
|
|
20
|
-
viewportHeight = 24f,
|
|
21
|
-
).apply {
|
|
22
|
-
path(fill = SolidColor(Color.Black)) {
|
|
23
|
-
moveTo(21.02f, 5f)
|
|
24
|
-
horizontalLineTo(19f)
|
|
25
|
-
verticalLineTo(2.98f)
|
|
26
|
-
curveToRelative(0f, -0.54f, -0.44f, -0.98f, -0.98f, -0.98f)
|
|
27
|
-
horizontalLineToRelative(-0.03f)
|
|
28
|
-
curveToRelative(-0.55f, 0f, -0.99f, 0.44f, -0.99f, 0.98f)
|
|
29
|
-
verticalLineTo(5f)
|
|
30
|
-
horizontalLineToRelative(-2.01f)
|
|
31
|
-
curveToRelative(-0.54f, 0f, -0.98f, 0.44f, -0.99f, 0.98f)
|
|
32
|
-
verticalLineToRelative(0.03f)
|
|
33
|
-
curveToRelative(0f, 0.55f, 0.44f, 0.99f, 0.99f, 0.99f)
|
|
34
|
-
horizontalLineTo(17f)
|
|
35
|
-
verticalLineToRelative(2.01f)
|
|
36
|
-
curveToRelative(0f, 0.54f, 0.44f, 0.99f, 0.99f, 0.98f)
|
|
37
|
-
horizontalLineToRelative(0.03f)
|
|
38
|
-
curveToRelative(0.54f, 0f, 0.98f, -0.44f, 0.98f, -0.98f)
|
|
39
|
-
verticalLineTo(7f)
|
|
40
|
-
horizontalLineToRelative(2.02f)
|
|
41
|
-
curveToRelative(0.54f, 0f, 0.98f, -0.44f, 0.98f, -0.98f)
|
|
42
|
-
verticalLineToRelative(-0.04f)
|
|
43
|
-
curveToRelative(0f, -0.54f, -0.44f, -0.98f, -0.98f, -0.98f)
|
|
44
|
-
close()
|
|
45
|
-
moveTo(16f, 9.01f)
|
|
46
|
-
verticalLineTo(8f)
|
|
47
|
-
horizontalLineToRelative(-1.01f)
|
|
48
|
-
curveToRelative(-0.53f, 0f, -1.03f, -0.21f, -1.41f, -0.58f)
|
|
49
|
-
curveToRelative(-0.37f, -0.38f, -0.58f, -0.88f, -0.58f, -1.44f)
|
|
50
|
-
curveToRelative(0f, -0.36f, 0.1f, -0.69f, 0.27f, -0.98f)
|
|
51
|
-
horizontalLineTo(5f)
|
|
52
|
-
curveToRelative(-1.1f, 0f, -2f, 0.9f, -2f, 2f)
|
|
53
|
-
verticalLineToRelative(12f)
|
|
54
|
-
curveToRelative(0f, 1.1f, 0.9f, 2f, 2f, 2f)
|
|
55
|
-
horizontalLineToRelative(12f)
|
|
56
|
-
curveToRelative(1.1f, 0f, 2f, -0.9f, 2f, -2f)
|
|
57
|
-
verticalLineToRelative(-8.28f)
|
|
58
|
-
curveToRelative(-0.3f, 0.17f, -0.64f, 0.28f, -1.02f, 0.28f)
|
|
59
|
-
arcTo(2f, 2f, 0f, isMoreThanHalf = false, isPositiveArc = true, 16f, 9.01f)
|
|
60
|
-
close()
|
|
61
|
-
moveTo(15.96f, 19f)
|
|
62
|
-
horizontalLineTo(6f)
|
|
63
|
-
arcToRelative(0.5f, 0.5f, 0f, isMoreThanHalf = false, isPositiveArc = true, -0.4f, -0.8f)
|
|
64
|
-
lineToRelative(1.98f, -2.63f)
|
|
65
|
-
curveToRelative(0.21f, -0.28f, 0.62f, -0.26f, 0.82f, 0.02f)
|
|
66
|
-
lineTo(10f, 18f)
|
|
67
|
-
lineToRelative(2.61f, -3.48f)
|
|
68
|
-
curveToRelative(0.2f, -0.26f, 0.59f, -0.27f, 0.79f, -0.01f)
|
|
69
|
-
lineToRelative(2.95f, 3.68f)
|
|
70
|
-
curveToRelative(0.26f, 0.33f, 0.03f, 0.81f, -0.39f, 0.81f)
|
|
71
|
-
close()
|
|
72
|
-
}
|
|
73
|
-
}.build()
|
|
74
|
-
|
|
75
|
-
return _AddPhotoAlternate!!
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
@Suppress("ObjectPropertyName")
|
|
79
|
-
private var _AddPhotoAlternate: ImageVector? = null
|
package/android/src/main/kotlin/ly/img/editor/configuration/memories/iconPack/ArrowForward.kt
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
package ly.img.editor.configuration.memories.iconPack
|
|
2
|
-
|
|
3
|
-
import androidx.compose.ui.graphics.Color
|
|
4
|
-
import androidx.compose.ui.graphics.SolidColor
|
|
5
|
-
import androidx.compose.ui.graphics.vector.ImageVector
|
|
6
|
-
import androidx.compose.ui.graphics.vector.path
|
|
7
|
-
import androidx.compose.ui.unit.dp
|
|
8
|
-
import ly.img.editor.core.iconpack.IconPack
|
|
9
|
-
|
|
10
|
-
val IconPack.ArrowForward: ImageVector
|
|
11
|
-
get() {
|
|
12
|
-
if (_ArrowForward != null) {
|
|
13
|
-
return _ArrowForward!!
|
|
14
|
-
}
|
|
15
|
-
_ArrowForward = ImageVector.Builder(
|
|
16
|
-
name = "ArrowForward",
|
|
17
|
-
defaultWidth = 24.dp,
|
|
18
|
-
defaultHeight = 24.dp,
|
|
19
|
-
viewportWidth = 24f,
|
|
20
|
-
viewportHeight = 24f,
|
|
21
|
-
autoMirror = true,
|
|
22
|
-
).apply {
|
|
23
|
-
path(fill = SolidColor(Color.Black)) {
|
|
24
|
-
moveTo(5f, 13f)
|
|
25
|
-
horizontalLineToRelative(11.17f)
|
|
26
|
-
lineToRelative(-4.88f, 4.88f)
|
|
27
|
-
curveToRelative(-0.39f, 0.39f, -0.39f, 1.03f, 0f, 1.42f)
|
|
28
|
-
curveToRelative(0.39f, 0.39f, 1.02f, 0.39f, 1.41f, 0f)
|
|
29
|
-
lineToRelative(6.59f, -6.59f)
|
|
30
|
-
arcToRelative(0.996f, 0.996f, 0f, isMoreThanHalf = false, isPositiveArc = false, 0f, -1.41f)
|
|
31
|
-
lineToRelative(-6.58f, -6.6f)
|
|
32
|
-
arcToRelative(0.996f, 0.996f, 0f, isMoreThanHalf = true, isPositiveArc = false, -1.41f, 1.41f)
|
|
33
|
-
lineTo(16.17f, 11f)
|
|
34
|
-
horizontalLineTo(5f)
|
|
35
|
-
curveToRelative(-0.55f, 0f, -1f, 0.45f, -1f, 1f)
|
|
36
|
-
reflectiveCurveToRelative(0.45f, 1f, 1f, 1f)
|
|
37
|
-
close()
|
|
38
|
-
}
|
|
39
|
-
}.build()
|
|
40
|
-
|
|
41
|
-
return _ArrowForward!!
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
@Suppress("ObjectPropertyName")
|
|
45
|
-
private var _ArrowForward: ImageVector? = null
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
package ly.img.editor.configuration.memories.iconPack
|
|
2
|
-
|
|
3
|
-
import androidx.compose.ui.graphics.Color
|
|
4
|
-
import androidx.compose.ui.graphics.SolidColor
|
|
5
|
-
import androidx.compose.ui.graphics.vector.ImageVector
|
|
6
|
-
import androidx.compose.ui.graphics.vector.path
|
|
7
|
-
import androidx.compose.ui.unit.dp
|
|
8
|
-
import ly.img.editor.core.iconpack.IconPack
|
|
9
|
-
|
|
10
|
-
val IconPack.Audiotrack: ImageVector
|
|
11
|
-
get() {
|
|
12
|
-
if (_Audiotrack != null) {
|
|
13
|
-
return _Audiotrack!!
|
|
14
|
-
}
|
|
15
|
-
_Audiotrack = ImageVector.Builder(
|
|
16
|
-
name = "Audiotrack",
|
|
17
|
-
defaultWidth = 24.dp,
|
|
18
|
-
defaultHeight = 24.dp,
|
|
19
|
-
viewportWidth = 24f,
|
|
20
|
-
viewportHeight = 24f,
|
|
21
|
-
).apply {
|
|
22
|
-
path(fill = SolidColor(Color.Black)) {
|
|
23
|
-
moveTo(12f, 5f)
|
|
24
|
-
verticalLineToRelative(8.55f)
|
|
25
|
-
curveToRelative(-0.94f, -0.54f, -2.1f, -0.75f, -3.33f, -0.32f)
|
|
26
|
-
curveToRelative(-1.34f, 0.48f, -2.37f, 1.67f, -2.61f, 3.07f)
|
|
27
|
-
arcToRelative(4.007f, 4.007f, 0f, isMoreThanHalf = false, isPositiveArc = false, 4.59f, 4.65f)
|
|
28
|
-
curveToRelative(1.96f, -0.31f, 3.35f, -2.11f, 3.35f, -4.1f)
|
|
29
|
-
verticalLineTo(7f)
|
|
30
|
-
horizontalLineToRelative(2f)
|
|
31
|
-
curveToRelative(1.1f, 0f, 2f, -0.9f, 2f, -2f)
|
|
32
|
-
reflectiveCurveToRelative(-0.9f, -2f, -2f, -2f)
|
|
33
|
-
horizontalLineToRelative(-2f)
|
|
34
|
-
curveToRelative(-1.1f, 0f, -2f, 0.9f, -2f, 2f)
|
|
35
|
-
close()
|
|
36
|
-
}
|
|
37
|
-
}.build()
|
|
38
|
-
|
|
39
|
-
return _Audiotrack!!
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
@Suppress("ObjectPropertyName")
|
|
43
|
-
private var _Audiotrack: ImageVector? = null
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
package ly.img.editor.configuration.memories.iconPack
|
|
2
|
-
|
|
3
|
-
import androidx.compose.ui.graphics.Color
|
|
4
|
-
import androidx.compose.ui.graphics.SolidColor
|
|
5
|
-
import androidx.compose.ui.graphics.vector.ImageVector
|
|
6
|
-
import androidx.compose.ui.graphics.vector.path
|
|
7
|
-
import androidx.compose.ui.unit.dp
|
|
8
|
-
import ly.img.editor.core.iconpack.IconPack
|
|
9
|
-
|
|
10
|
-
val IconPack.Check: ImageVector
|
|
11
|
-
get() {
|
|
12
|
-
if (_Check != null) {
|
|
13
|
-
return _Check!!
|
|
14
|
-
}
|
|
15
|
-
_Check = ImageVector.Builder(
|
|
16
|
-
name = "Check",
|
|
17
|
-
defaultWidth = 24.dp,
|
|
18
|
-
defaultHeight = 24.dp,
|
|
19
|
-
viewportWidth = 24f,
|
|
20
|
-
viewportHeight = 24f,
|
|
21
|
-
).apply {
|
|
22
|
-
path(fill = SolidColor(Color.Black)) {
|
|
23
|
-
moveTo(9f, 16.17f)
|
|
24
|
-
lineTo(5.53f, 12.7f)
|
|
25
|
-
arcToRelative(0.996f, 0.996f, 0f, isMoreThanHalf = true, isPositiveArc = false, -1.41f, 1.41f)
|
|
26
|
-
lineToRelative(4.18f, 4.18f)
|
|
27
|
-
curveToRelative(0.39f, 0.39f, 1.02f, 0.39f, 1.41f, 0f)
|
|
28
|
-
lineTo(20.29f, 7.71f)
|
|
29
|
-
arcToRelative(0.996f, 0.996f, 0f, isMoreThanHalf = true, isPositiveArc = false, -1.41f, -1.41f)
|
|
30
|
-
lineTo(9f, 16.17f)
|
|
31
|
-
close()
|
|
32
|
-
}
|
|
33
|
-
}.build()
|
|
34
|
-
|
|
35
|
-
return _Check!!
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@Suppress("ObjectPropertyName")
|
|
39
|
-
private var _Check: ImageVector? = null
|
package/android/src/main/kotlin/ly/img/editor/configuration/memories/iconPack/CheckCircle.kt
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
package ly.img.editor.configuration.memories.iconPack
|
|
2
|
-
|
|
3
|
-
import androidx.compose.ui.graphics.Color
|
|
4
|
-
import androidx.compose.ui.graphics.SolidColor
|
|
5
|
-
import androidx.compose.ui.graphics.vector.ImageVector
|
|
6
|
-
import androidx.compose.ui.graphics.vector.path
|
|
7
|
-
import androidx.compose.ui.unit.dp
|
|
8
|
-
import ly.img.editor.core.iconpack.IconPack
|
|
9
|
-
|
|
10
|
-
val IconPack.CheckCircle: ImageVector
|
|
11
|
-
get() {
|
|
12
|
-
if (_CheckCircle != null) {
|
|
13
|
-
return _CheckCircle!!
|
|
14
|
-
}
|
|
15
|
-
_CheckCircle = ImageVector.Builder(
|
|
16
|
-
name = "CheckCircle",
|
|
17
|
-
defaultWidth = 24.dp,
|
|
18
|
-
defaultHeight = 24.dp,
|
|
19
|
-
viewportWidth = 24f,
|
|
20
|
-
viewportHeight = 24f,
|
|
21
|
-
).apply {
|
|
22
|
-
path(fill = SolidColor(Color.Black)) {
|
|
23
|
-
moveTo(12f, 2f)
|
|
24
|
-
curveTo(6.48f, 2f, 2f, 6.48f, 2f, 12f)
|
|
25
|
-
reflectiveCurveToRelative(4.48f, 10f, 10f, 10f)
|
|
26
|
-
reflectiveCurveToRelative(10f, -4.48f, 10f, -10f)
|
|
27
|
-
reflectiveCurveTo(17.52f, 2f, 12f, 2f)
|
|
28
|
-
close()
|
|
29
|
-
moveTo(10f, 17f)
|
|
30
|
-
lineTo(5f, 12f)
|
|
31
|
-
lineTo(6.41f, 10.59f)
|
|
32
|
-
lineTo(10f, 14.17f)
|
|
33
|
-
lineToRelative(7.59f, -7.59f)
|
|
34
|
-
lineTo(19f, 8f)
|
|
35
|
-
lineToRelative(-9f, 9f)
|
|
36
|
-
close()
|
|
37
|
-
}
|
|
38
|
-
}.build()
|
|
39
|
-
|
|
40
|
-
return _CheckCircle!!
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
@Suppress("ObjectPropertyName")
|
|
44
|
-
private var _CheckCircle: ImageVector? = null
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
package ly.img.editor.configuration.memories.iconPack
|
|
2
|
-
|
|
3
|
-
import androidx.compose.ui.graphics.Color
|
|
4
|
-
import androidx.compose.ui.graphics.SolidColor
|
|
5
|
-
import androidx.compose.ui.graphics.vector.ImageVector
|
|
6
|
-
import androidx.compose.ui.graphics.vector.path
|
|
7
|
-
import androidx.compose.ui.unit.dp
|
|
8
|
-
import ly.img.editor.core.iconpack.IconPack
|
|
9
|
-
|
|
10
|
-
val IconPack.Close: ImageVector
|
|
11
|
-
get() {
|
|
12
|
-
if (_Close != null) {
|
|
13
|
-
return _Close!!
|
|
14
|
-
}
|
|
15
|
-
_Close = ImageVector.Builder(
|
|
16
|
-
name = "Close",
|
|
17
|
-
defaultWidth = 24.dp,
|
|
18
|
-
defaultHeight = 24.dp,
|
|
19
|
-
viewportWidth = 24f,
|
|
20
|
-
viewportHeight = 24f,
|
|
21
|
-
).apply {
|
|
22
|
-
path(fill = SolidColor(Color.Black)) {
|
|
23
|
-
moveTo(19f, 6.41f)
|
|
24
|
-
lineTo(17.59f, 5f)
|
|
25
|
-
lineTo(12f, 10.59f)
|
|
26
|
-
lineTo(6.41f, 5f)
|
|
27
|
-
lineTo(5f, 6.41f)
|
|
28
|
-
lineTo(10.59f, 12f)
|
|
29
|
-
lineTo(5f, 17.59f)
|
|
30
|
-
lineTo(6.41f, 19f)
|
|
31
|
-
lineTo(12f, 13.41f)
|
|
32
|
-
lineTo(17.59f, 19f)
|
|
33
|
-
lineTo(19f, 17.59f)
|
|
34
|
-
lineTo(13.41f, 12f)
|
|
35
|
-
close()
|
|
36
|
-
}
|
|
37
|
-
}.build()
|
|
38
|
-
|
|
39
|
-
return _Close!!
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
@Suppress("ObjectPropertyName")
|
|
43
|
-
private var _Close: ImageVector? = null
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
package ly.img.editor.configuration.memories.iconPack
|
|
2
|
-
|
|
3
|
-
import androidx.compose.ui.graphics.Color
|
|
4
|
-
import androidx.compose.ui.graphics.SolidColor
|
|
5
|
-
import androidx.compose.ui.graphics.vector.ImageVector
|
|
6
|
-
import androidx.compose.ui.graphics.vector.path
|
|
7
|
-
import androidx.compose.ui.unit.dp
|
|
8
|
-
import ly.img.editor.core.iconpack.IconPack
|
|
9
|
-
|
|
10
|
-
val IconPack.Delete: ImageVector
|
|
11
|
-
get() {
|
|
12
|
-
if (_Delete != null) {
|
|
13
|
-
return _Delete!!
|
|
14
|
-
}
|
|
15
|
-
_Delete = ImageVector.Builder(
|
|
16
|
-
name = "Delete",
|
|
17
|
-
defaultWidth = 24.dp,
|
|
18
|
-
defaultHeight = 24.dp,
|
|
19
|
-
viewportWidth = 24f,
|
|
20
|
-
viewportHeight = 24f,
|
|
21
|
-
).apply {
|
|
22
|
-
path(fill = SolidColor(Color.Black)) {
|
|
23
|
-
moveTo(6f, 19f)
|
|
24
|
-
curveToRelative(0f, 1.1f, 0.9f, 2f, 2f, 2f)
|
|
25
|
-
horizontalLineToRelative(8f)
|
|
26
|
-
curveToRelative(1.1f, 0f, 2f, -0.9f, 2f, -2f)
|
|
27
|
-
verticalLineTo(9f)
|
|
28
|
-
curveToRelative(0f, -1.1f, -0.9f, -2f, -2f, -2f)
|
|
29
|
-
horizontalLineTo(8f)
|
|
30
|
-
curveToRelative(-1.1f, 0f, -2f, 0.9f, -2f, 2f)
|
|
31
|
-
verticalLineToRelative(10f)
|
|
32
|
-
close()
|
|
33
|
-
moveTo(18f, 4f)
|
|
34
|
-
horizontalLineToRelative(-2.5f)
|
|
35
|
-
lineToRelative(-0.71f, -0.71f)
|
|
36
|
-
curveToRelative(-0.18f, -0.18f, -0.44f, -0.29f, -0.7f, -0.29f)
|
|
37
|
-
horizontalLineTo(9.91f)
|
|
38
|
-
curveToRelative(-0.26f, 0f, -0.52f, 0.11f, -0.7f, 0.29f)
|
|
39
|
-
lineTo(8.5f, 4f)
|
|
40
|
-
horizontalLineTo(6f)
|
|
41
|
-
curveToRelative(-0.55f, 0f, -1f, 0.45f, -1f, 1f)
|
|
42
|
-
reflectiveCurveToRelative(0.45f, 1f, 1f, 1f)
|
|
43
|
-
horizontalLineToRelative(12f)
|
|
44
|
-
curveToRelative(0.55f, 0f, 1f, -0.45f, 1f, -1f)
|
|
45
|
-
reflectiveCurveToRelative(-0.45f, -1f, -1f, -1f)
|
|
46
|
-
close()
|
|
47
|
-
}
|
|
48
|
-
}.build()
|
|
49
|
-
|
|
50
|
-
return _Delete!!
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
@Suppress("ObjectPropertyName")
|
|
54
|
-
private var _Delete: ImageVector? = null
|
package/android/src/main/kotlin/ly/img/editor/configuration/memories/iconPack/DeleteOutline.kt
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
package ly.img.editor.configuration.memories.iconPack
|
|
2
|
-
|
|
3
|
-
import androidx.compose.ui.graphics.Color
|
|
4
|
-
import androidx.compose.ui.graphics.SolidColor
|
|
5
|
-
import androidx.compose.ui.graphics.vector.ImageVector
|
|
6
|
-
import androidx.compose.ui.graphics.vector.path
|
|
7
|
-
import androidx.compose.ui.unit.dp
|
|
8
|
-
import ly.img.editor.core.iconpack.IconPack
|
|
9
|
-
|
|
10
|
-
val IconPack.DeleteOutline: ImageVector
|
|
11
|
-
get() {
|
|
12
|
-
if (_DeleteOutline != null) {
|
|
13
|
-
return _DeleteOutline!!
|
|
14
|
-
}
|
|
15
|
-
_DeleteOutline = ImageVector.Builder(
|
|
16
|
-
name = "DeleteOutline",
|
|
17
|
-
defaultWidth = 24.dp,
|
|
18
|
-
defaultHeight = 24.dp,
|
|
19
|
-
viewportWidth = 24f,
|
|
20
|
-
viewportHeight = 24f,
|
|
21
|
-
).apply {
|
|
22
|
-
path(fill = SolidColor(Color.Black)) {
|
|
23
|
-
moveTo(16f, 9f)
|
|
24
|
-
verticalLineToRelative(10f)
|
|
25
|
-
horizontalLineTo(8f)
|
|
26
|
-
verticalLineTo(9f)
|
|
27
|
-
horizontalLineToRelative(8f)
|
|
28
|
-
moveToRelative(-1.5f, -6f)
|
|
29
|
-
horizontalLineToRelative(-5f)
|
|
30
|
-
lineToRelative(-1f, 1f)
|
|
31
|
-
horizontalLineTo(5f)
|
|
32
|
-
verticalLineToRelative(2f)
|
|
33
|
-
horizontalLineToRelative(14f)
|
|
34
|
-
verticalLineTo(4f)
|
|
35
|
-
horizontalLineToRelative(-3.5f)
|
|
36
|
-
lineToRelative(-1f, -1f)
|
|
37
|
-
close()
|
|
38
|
-
moveTo(18f, 7f)
|
|
39
|
-
horizontalLineTo(6f)
|
|
40
|
-
verticalLineToRelative(12f)
|
|
41
|
-
curveToRelative(0f, 1.1f, 0.9f, 2f, 2f, 2f)
|
|
42
|
-
horizontalLineToRelative(8f)
|
|
43
|
-
curveToRelative(1.1f, 0f, 2f, -0.9f, 2f, -2f)
|
|
44
|
-
verticalLineTo(7f)
|
|
45
|
-
close()
|
|
46
|
-
}
|
|
47
|
-
}.build()
|
|
48
|
-
|
|
49
|
-
return _DeleteOutline!!
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
@Suppress("ObjectPropertyName")
|
|
53
|
-
private var _DeleteOutline: ImageVector? = null
|