|
1 | 1 | import { computed, defineComponent, effect, PropType, watch } from "vue"; |
2 | | -import { Button, CheckBox, Modal, NumberInput, Select } from "@munet/ui"; |
3 | | -import { ImportChartMessage, MessageLevel, MovieCodec, ShiftMethod } from "@/client/apiGen"; |
| 2 | +import { Button, Modal, NumberInput } from "@munet/ui"; |
| 3 | +import { ImportChartMessage, MessageLevel, ShiftMethod } from "@/client/apiGen"; |
4 | 4 | import { ImportChartMessageEx, ImportMeta, SavedOptions, TempOptions } from "./types"; |
5 | 5 | import noJacket from '@/assets/noJacket.webp'; |
6 | 6 | import { addVersionList, genreList, showNeedPurchaseDialog } from "@/store/refs"; |
7 | | -import { appSettings } from "@/store/settings"; |
8 | 7 | import GenreInput from "@/components/GenreInput"; |
9 | 8 | import VersionInput from "@/components/VersionInput"; |
10 | 9 | import { UTAGE_GENRE } from "@/consts"; |
@@ -63,34 +62,10 @@ export default defineComponent({ |
63 | 62 | <div class="ml-1 text-sm">{t('music.edit.version')}</div> |
64 | 63 | <VersionInput v-model:value={props.savedOptions.version}/> |
65 | 64 | </div> |
66 | | - <CheckBox v-model:value={appSettings.value.ignoreLevel}> |
67 | | - {t('chart.import.option.ignoreLevel')} |
68 | | - </CheckBox> |
69 | | - <CheckBox v-model:value={appSettings.value.disableBga}> |
70 | | - {t('chart.import.option.disableBga')} |
71 | | - </CheckBox> |
72 | 65 | <details> |
73 | 66 | <summary class="cursor-pointer">{t('chart.import.option.advancedOptions')}</summary> |
74 | 67 | <div class="flex flex-col gap-2 mt-2"> |
75 | 68 | <ShiftModeSelector tempOptions={props.tempOptions}></ShiftModeSelector> |
76 | | - <CheckBox v-model:value={appSettings.value.noScale}> |
77 | | - {t('chart.import.option.noScale')} |
78 | | - </CheckBox> |
79 | | - <div> |
80 | | - <div class="ml-1 text-sm">{t('chart.import.option.pvCodec')}</div> |
81 | | - <div class="flex flex-col gap-2 w-full"> |
82 | | - <div class="flex gap-2 h-34px items-center"> |
83 | | - <Select v-model:value={appSettings.value.movieCodec} options={[ |
84 | | - {label: t('chart.import.option.codecPreferH264'), value: MovieCodec.PreferH264}, |
85 | | - {label: t('chart.import.option.codecForceH264'), value: MovieCodec.ForceH264}, |
86 | | - {label: t('chart.import.option.codecForceVP9'), value: MovieCodec.ForceVp9}, |
87 | | - ]}/> |
88 | | - </div> |
89 | | - </div> |
90 | | - </div> |
91 | | - <CheckBox v-model:value={appSettings.value.yuv420p}> |
92 | | - {t('chart.import.option.yuv420p')} |
93 | | - </CheckBox> |
94 | 69 | </div> |
95 | 70 | </details> |
96 | 71 | </>} |
|
0 commit comments