feat(WIP): processing, 몰수

- 초성에서 Windows 겹받침, Mac 된소리 자음(automata 초성)
- 장수 선택에에서 검은색 테마
- 양 선택기에 숫자 추가
This commit is contained in:
2021-12-19 04:28:44 +09:00
parent 9bd151cdc2
commit a01e5df650
18 changed files with 447 additions and 88 deletions
+3 -1
View File
@@ -33,6 +33,7 @@
</v-multiselect>
</template>
<script lang="ts">
import { automata초성All } from "@/util/automata초성";
import { filter초성withAlphabet } from "@/util/filter초성withAlphabet";
import { defineComponent, PropType } from "vue";
import { procNationItem } from "./processingRes";
@@ -75,13 +76,14 @@ export default defineComponent({
const [filteredTextH, filteredTextA] = filter초성withAlphabet(
nationItem.name
);
const [filteredTextHL1, filteredTextHL2] = automata초성All(filteredTextH);
const obj: SelectedNation = {
value: nationItem.id,
title: nationItem.name,
info: nationItem.info,
simpleName: nationItem.name,
notAvailable: nationItem.notAvailable,
searchText: `${nationItem.name} ${filteredTextH} ${filteredTextA}`,
searchText: `${nationItem.name} ${filteredTextH} ${filteredTextA} ${filteredTextHL1} ${filteredTextHL2}`,
};
if (nationItem.id == this.modelValue) {
selectedNation = obj;