From b376bd9b6d45ef8493bf6d1acdea71287847973e Mon Sep 17 00:00:00 2001 From: Germey Date: Sun, 5 Nov 2023 15:50:48 +0800 Subject: [PATCH] update prompt --- src/components/common/InfoIcon.vue | 41 +++++++++++ src/components/midjourney/IgnoreSelector.vue | 4 +- src/components/midjourney/PresetPanel.vue | 12 ++-- src/components/midjourney/PromptInput.vue | 4 +- .../midjourney/preset/AdvancedSelector.vue | 11 ++- .../midjourney/preset/ChaosSelector.vue | 8 ++- .../midjourney/preset/ImageWeightSelector.vue | 8 ++- .../midjourney/preset/NijiSelector.vue | 68 +++++++++++++++++++ .../midjourney/preset/StylizeSelector.vue | 8 ++- .../midjourney/preset/TranslationSelector.vue | 15 ++-- .../{WiredSelector.vue => WeirdSelector.vue} | 14 ++-- src/i18n/zh/index.ts | 4 +- src/i18n/zh/midjourney/description.ts | 23 +++++++ src/i18n/zh/midjourney/index.ts | 6 ++ src/i18n/zh/midjourney/message.ts | 3 + src/i18n/zh/midjourney/name.ts | 23 +++++++ src/i18n/zh/midjourney/placeholder.ts | 4 ++ src/operators/midjourney/models.ts | 2 +- src/pages/midjourney/Index.vue | 4 +- src/plugins/font-awesome.ts | 2 + 20 files changed, 231 insertions(+), 33 deletions(-) create mode 100644 src/components/common/InfoIcon.vue create mode 100644 src/components/midjourney/preset/NijiSelector.vue rename src/components/midjourney/preset/{WiredSelector.vue => WeirdSelector.vue} (75%) create mode 100644 src/i18n/zh/midjourney/description.ts create mode 100644 src/i18n/zh/midjourney/index.ts create mode 100644 src/i18n/zh/midjourney/message.ts create mode 100644 src/i18n/zh/midjourney/name.ts create mode 100644 src/i18n/zh/midjourney/placeholder.ts diff --git a/src/components/common/InfoIcon.vue b/src/components/common/InfoIcon.vue new file mode 100644 index 0000000..5c9805b --- /dev/null +++ b/src/components/common/InfoIcon.vue @@ -0,0 +1,41 @@ + + + + + diff --git a/src/components/midjourney/IgnoreSelector.vue b/src/components/midjourney/IgnoreSelector.vue index 090b7c2..c755db3 100644 --- a/src/components/midjourney/IgnoreSelector.vue +++ b/src/components/midjourney/IgnoreSelector.vue @@ -1,7 +1,7 @@ diff --git a/src/components/midjourney/PresetPanel.vue b/src/components/midjourney/PresetPanel.vue index 5d2ae7b..aee93c0 100644 --- a/src/components/midjourney/PresetPanel.vue +++ b/src/components/midjourney/PresetPanel.vue @@ -7,9 +7,10 @@ - + + @@ -23,11 +24,11 @@ import ChaosSelector from './preset/ChaosSelector.vue'; import ModelSelector from './preset/ModelSelector.vue'; import QualitySelector from './preset/QualitySelector.vue'; import ImageWeightSelector from './preset/ImageWeightSelector.vue'; -import WiredSelector from './preset/WiredSelector.vue'; +import WeirdSelector from './preset/WeirdSelector.vue'; import RawSelector from './preset/RawSelector.vue'; import AdvancedSelector from './preset/AdvancedSelector.vue'; import TranslationSelector from './preset/TranslationSelector.vue'; - +import NijiSelector from './preset/NijiSelector.vue'; export default defineComponent({ name: 'PresetPanel', components: { @@ -37,11 +38,12 @@ export default defineComponent({ VersionSelector, StylizeSelector, ChaosSelector, - WiredSelector, + WeirdSelector, RawSelector, AdvancedSelector, ImageWeightSelector, - TranslationSelector + TranslationSelector, + NijiSelector }, props: { modelValue: { diff --git a/src/components/midjourney/PromptInput.vue b/src/components/midjourney/PromptInput.vue index dbd02ed..7eed2a7 100644 --- a/src/components/midjourney/PromptInput.vue +++ b/src/components/midjourney/PromptInput.vue @@ -1,7 +1,7 @@ diff --git a/src/components/midjourney/preset/AdvancedSelector.vue b/src/components/midjourney/preset/AdvancedSelector.vue index 0feb94a..d5889fb 100644 --- a/src/components/midjourney/preset/AdvancedSelector.vue +++ b/src/components/midjourney/preset/AdvancedSelector.vue @@ -1,20 +1,22 @@ + + diff --git a/src/components/midjourney/preset/StylizeSelector.vue b/src/components/midjourney/preset/StylizeSelector.vue index d271159..8ef6d64 100644 --- a/src/components/midjourney/preset/StylizeSelector.vue +++ b/src/components/midjourney/preset/StylizeSelector.vue @@ -1,19 +1,23 @@