Fix import indenetation
This commit is contained in:
@@ -7,9 +7,9 @@
|
||||
import NumberInput from "src/lib/UI/GUI/NumberInput.svelte";
|
||||
import TextInput from "src/lib/UI/GUI/TextInput.svelte";
|
||||
import SelectInput from "src/lib/UI/GUI/SelectInput.svelte";
|
||||
import OptionInput from "src/lib/UI/GUI/OptionInput.svelte";
|
||||
import Help from "src/lib/Others/Help.svelte";
|
||||
import { installPython } from "src/ts/process/models/local";
|
||||
import OptionInput from "src/lib/UI/GUI/OptionInput.svelte";
|
||||
import Help from "src/lib/Others/Help.svelte";
|
||||
import { installPython } from "src/ts/process/models/local";
|
||||
|
||||
</script>
|
||||
<h2 class="text-2xl font-bold mt-2">{language.advancedSettings}</h2>
|
||||
|
||||
@@ -22,10 +22,10 @@
|
||||
import { novelLogin } from "src/ts/process/models/nai";
|
||||
import { alertConfirm } from "src/ts/alert";
|
||||
import OobaSettings from "./OobaSettings.svelte";
|
||||
import Arcodion from "src/lib/UI/Arcodion.svelte";
|
||||
import { startsWith } from "lodash";
|
||||
import OpenrouterSettings from "./OpenrouterSettings.svelte";
|
||||
import ChatFormatSettings from "./ChatFormatSettings.svelte";
|
||||
import Arcodion from "src/lib/UI/Arcodion.svelte";
|
||||
import { startsWith } from "lodash";
|
||||
import OpenrouterSettings from "./OpenrouterSettings.svelte";
|
||||
import ChatFormatSettings from "./ChatFormatSettings.svelte";
|
||||
|
||||
let tokens = {
|
||||
mainPrompt: 0,
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
import SelectInput from "src/lib/UI/GUI/SelectInput.svelte";
|
||||
import OptionInput from "src/lib/UI/GUI/OptionInput.svelte";
|
||||
import { DataBase } from "src/ts/storage/database";
|
||||
import { language } from "src/lang";
|
||||
import { language } from "src/lang";
|
||||
</script>
|
||||
|
||||
<span class="text-textcolor">{language.chatFormating}</span>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
import OptionInput from "src/lib/UI/GUI/OptionInput.svelte";
|
||||
import { updateAnimationSpeed } from "src/ts/gui/animation";
|
||||
import { changeColorScheme, colorSchemeList, exportColorScheme, importColorScheme, updateColorScheme, updateTextTheme } from "src/ts/gui/colorscheme";
|
||||
import { DownloadIcon, FolderUpIcon } from "lucide-svelte";
|
||||
import { DownloadIcon, FolderUpIcon } from "lucide-svelte";
|
||||
|
||||
const onSchemeInputChange = (e:Event) => {
|
||||
changeColorScheme((e.target as HTMLInputElement).value)
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
import { checkDriver } from "src/ts/drive/drive";
|
||||
import { DataBase } from "src/ts/storage/database";
|
||||
import { isNodeServer, isTauri } from "src/ts/storage/globalApi";
|
||||
import { persistantStorageRecommended } from "src/ts/storage/persistant";
|
||||
import { persistantStorageRecommended } from "src/ts/storage/persistant";
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<script lang="ts">
|
||||
import { language } from "src/lang";
|
||||
import Help from "src/lib/Others/Help.svelte";
|
||||
import LoreBookSetting from "src/lib/SideBars/LoreBook/LoreBookSetting.svelte";
|
||||
import { DataBase } from "src/ts/storage/database";
|
||||
import { language } from "src/lang";
|
||||
import Help from "src/lib/Others/Help.svelte";
|
||||
import LoreBookSetting from "src/lib/SideBars/LoreBook/LoreBookSetting.svelte";
|
||||
import { DataBase } from "src/ts/storage/database";
|
||||
export let openLoreList = false
|
||||
</script>
|
||||
<h2 class="mb-2 text-2xl font-bold mt-2">{language.globalLoreBook} <Help key="lorebook" /></h2>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<script lang="ts">
|
||||
import { DownloadIcon, FolderUpIcon, PlusIcon } from "lucide-svelte";
|
||||
import { language } from "src/lang";
|
||||
import Help from "src/lib/Others/Help.svelte";
|
||||
import { DataBase } from "src/ts/storage/database";
|
||||
import { exportRegex, importRegex } from "src/ts/process/scripts";
|
||||
import RegexList from "src/lib/SideBars/Scripts/RegexList.svelte";
|
||||
import { DownloadIcon, FolderUpIcon, PlusIcon } from "lucide-svelte";
|
||||
import { language } from "src/lang";
|
||||
import Help from "src/lib/Others/Help.svelte";
|
||||
import { DataBase } from "src/ts/storage/database";
|
||||
import { exportRegex, importRegex } from "src/ts/process/scripts";
|
||||
import RegexList from "src/lib/SideBars/Scripts/RegexList.svelte";
|
||||
</script>
|
||||
<h2 class="mb-2 text-2xl font-bold mt-2">{language.globalRegexScript} <Help key="regexScript" /></h2>
|
||||
<RegexList bind:value={$DataBase.globalscript} />
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
import { DataBase } from "src/ts/storage/database";
|
||||
import SelectInput from "src/lib/UI/GUI/SelectInput.svelte";
|
||||
import OptionInput from "src/lib/UI/GUI/OptionInput.svelte";
|
||||
import ChatFormatSettings from "./ChatFormatSettings.svelte";
|
||||
import ChatFormatSettings from "./ChatFormatSettings.svelte";
|
||||
|
||||
const openrouterProviders = [
|
||||
"OpenAI",
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
<script lang="ts">
|
||||
import { PlusIcon, TrashIcon } from "lucide-svelte";
|
||||
import { language } from "src/lang";
|
||||
import { alertConfirm } from "src/ts/alert";
|
||||
import { DataBase } from "src/ts/storage/database";
|
||||
import { importPlugin } from "src/ts/plugins/plugins";
|
||||
import Check from "src/lib/UI/GUI/CheckInput.svelte";
|
||||
import TextInput from "src/lib/UI/GUI/TextInput.svelte";
|
||||
import NumberInput from "src/lib/UI/GUI/NumberInput.svelte";
|
||||
import SelectInput from "src/lib/UI/GUI/SelectInput.svelte";
|
||||
import OptionInput from "src/lib/UI/GUI/OptionInput.svelte";
|
||||
import Help from "src/lib/Others/Help.svelte";
|
||||
import { PlusIcon, TrashIcon } from "lucide-svelte";
|
||||
import { language } from "src/lang";
|
||||
import { alertConfirm } from "src/ts/alert";
|
||||
import { DataBase } from "src/ts/storage/database";
|
||||
import { importPlugin } from "src/ts/plugins/plugins";
|
||||
import Check from "src/lib/UI/GUI/CheckInput.svelte";
|
||||
import TextInput from "src/lib/UI/GUI/TextInput.svelte";
|
||||
import NumberInput from "src/lib/UI/GUI/NumberInput.svelte";
|
||||
import SelectInput from "src/lib/UI/GUI/SelectInput.svelte";
|
||||
import OptionInput from "src/lib/UI/GUI/OptionInput.svelte";
|
||||
import Help from "src/lib/Others/Help.svelte";
|
||||
|
||||
</script>
|
||||
<h2 class="mb-2 text-2xl font-bold mt-2">{language.plugin}</h2>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { language } from "src/lang";
|
||||
import { openURL } from "src/ts/storage/globalApi";
|
||||
import { openURL } from "src/ts/storage/globalApi";
|
||||
|
||||
|
||||
interface supporters{
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
import { language } from "../../lang";
|
||||
import { DataBase } from "../../ts/storage/database";
|
||||
import { EditIcon, PlusIcon, TrashIcon, XIcon } from "lucide-svelte";
|
||||
import TextInput from "../UI/GUI/TextInput.svelte";
|
||||
import TextInput from "../UI/GUI/TextInput.svelte";
|
||||
let editMode = false
|
||||
export let close = () => {}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user