-
-
-
-
-
-
-
-
+
+
+
-
+
- {{ $t('luma.button.extend') }}
-
-
-
- {{ $t('luma.button.generate') }}
+ {{ $t('headshots.button.generate') }}
@@ -33,33 +18,23 @@
import { defineComponent } from 'vue';
import { ElButton } from 'element-plus';
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
-import EnhancementSelector from './config/EnhancementSelector.vue';
-import CustomSelector from './config/CustomSelector.vue';
-import LoopSelector from './config/LoopSelector.vue';
-import EndImageUrlInput from './config/EndImageUrlInput.vue';
-import StartImageUrlInput from './config/StartImageUrlInput.vue';
+import ImageUrlsInput from './config/ImageUrlsInput.vue';
// @ts-ignore
-import UploadVideo from './config/UploadVideo.vue';
-import PromptInput from './config/PromptInput.vue';
-import ExtendFromInput from './config/ExtendFromInput.vue';
+import ModeSelector from './config/ModeSelector.vue';
+import ElementsSelector from './config/ElementsSelector.vue';
export default defineComponent({
name: 'PresetPanel',
components: {
- LoopSelector,
- StartImageUrlInput,
- EndImageUrlInput,
- EnhancementSelector,
+ ModeSelector,
+ ImageUrlsInput,
ElButton,
FontAwesomeIcon,
- PromptInput,
- ExtendFromInput,
- CustomSelector,
- UploadVideo
+ ElementsSelector
},
emits: ['generate'],
computed: {
config() {
- return this.$store.state.luma?.config;
+ return this.$store.state.headshots?.config;
}
},
methods: {
diff --git a/src/components/headshots/ImageGallery.vue b/src/components/headshots/ImageGallery.vue
new file mode 100644
index 00000000..755819a4
--- /dev/null
+++ b/src/components/headshots/ImageGallery.vue
@@ -0,0 +1,102 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/headshots/OperationPanel.vue b/src/components/headshots/OperationPanel.vue
index 66b8633a..a90b46dc 100644
--- a/src/components/headshots/OperationPanel.vue
+++ b/src/components/headshots/OperationPanel.vue
@@ -7,7 +7,7 @@
- {{ $t('luma.button.generate') }}
+ {{ $t('headshots.button.generate') }}
diff --git a/src/components/headshots/RecentPanel.vue b/src/components/headshots/RecentPanel.vue
index 9de228a3..438f9a7c 100644
--- a/src/components/headshots/RecentPanel.vue
+++ b/src/components/headshots/RecentPanel.vue
@@ -23,7 +23,7 @@
- {{ $t('luma.message.noTasks') }}
+ {{ $t('headshots.message.noTasks') }}