biome format --write

This commit is contained in:
Henry Jameson 2026-01-06 16:22:52 +02:00
commit 9262e803ec
415 changed files with 54076 additions and 17419 deletions

View file

@ -7,29 +7,23 @@ import { library } from '@fortawesome/fontawesome-svg-core'
import {
faExclamationTriangle,
faKeyboard,
faFont
faFont,
} from '@fortawesome/free-solid-svg-icons'
library.add(
faExclamationTriangle,
faKeyboard,
faFont
)
library.add(faExclamationTriangle, faKeyboard, faFont)
export default {
components: {
Select,
Checkbox,
Popover
Popover,
},
props: [
'name', 'label', 'modelValue', 'fallback', 'options', 'no-inherit'
],
mounted () {
props: ['name', 'label', 'modelValue', 'fallback', 'options', 'no-inherit'],
mounted() {
useInterfaceStore().queryLocalFonts()
},
emits: ['update:modelValue'],
data () {
data() {
return {
manualEntry: false,
availableOptions: [
@ -37,24 +31,24 @@ export default {
'serif',
'sans-serif',
'monospace',
...(this.options || [])
].filter(_ => _)
...(this.options || []),
].filter((_) => _),
}
},
methods: {
toggleManualEntry () {
toggleManualEntry() {
this.manualEntry = !this.manualEntry
}
},
},
computed: {
present () {
present() {
return typeof this.modelValue !== 'undefined'
},
localFontsList () {
localFontsList() {
return useInterfaceStore().localFonts
},
localFontsSize () {
localFontsSize() {
return useInterfaceStore().localFonts?.length
}
}
},
},
}