mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-14 21:09:58 +00:00
chore: unify script setup lang order (#2943)
This commit is contained in:
parent
b2102732cf
commit
3054667050
25 changed files with 25 additions and 25 deletions
|
@ -1,4 +1,4 @@
|
|||
<script lang="ts" setup>
|
||||
<script setup lang="ts">
|
||||
import type { mastodon } from 'masto'
|
||||
|
||||
defineOptions({
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<script lang="ts" setup>
|
||||
<script setup lang="ts">
|
||||
import type { ResolvedCommand } from '~/composables/command'
|
||||
|
||||
const {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<script lang="ts" setup>
|
||||
<script setup lang="ts">
|
||||
const emit = defineEmits<{
|
||||
(event: 'close'): void
|
||||
}>()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<script lang="ts" setup>
|
||||
<script setup lang="ts">
|
||||
import type { Boundaries } from 'vue-advanced-cropper'
|
||||
import { Cropper } from 'vue-advanced-cropper'
|
||||
import 'vue-advanced-cropper/dist/style.css'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<script lang="ts" setup>
|
||||
<script setup lang="ts">
|
||||
import { fileOpen } from 'browser-fs-access'
|
||||
import type { FileWithHandle } from 'browser-fs-access'
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<script lang="ts" setup>
|
||||
<script setup lang="ts">
|
||||
import type { mastodon } from 'masto'
|
||||
|
||||
const {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<script lang="ts" setup>
|
||||
<script setup lang="ts">
|
||||
import type { mastodon } from 'masto'
|
||||
import sparkline from '@fnando/sparkline'
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<script lang="ts" setup>
|
||||
<script setup lang="ts">
|
||||
const { userId } = defineProps<{
|
||||
userId: string
|
||||
}>()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<script lang="ts" setup>
|
||||
<script setup lang="ts">
|
||||
import { useFocusTrap } from '@vueuse/integrations/useFocusTrap'
|
||||
|
||||
export interface Props {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<script lang="ts" setup>
|
||||
<script setup lang="ts">
|
||||
import { invoke } from '@vueuse/core'
|
||||
|
||||
const modelValue = defineModel<boolean>({ required: true })
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<script setup>
|
||||
<script setup lang="ts">
|
||||
const { busy, oauth, singleInstanceServer } = useSignIn()
|
||||
</script>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<script lang="ts" setup>
|
||||
<script setup lang="ts">
|
||||
import { DEFAULT_FONT_SIZE } from '~/constants'
|
||||
import type { FontSize } from '~/composables/settings'
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<script lang="ts" setup>
|
||||
<script setup lang="ts">
|
||||
const props = defineProps<{
|
||||
text?: string
|
||||
content?: string
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<script lang="ts" setup>
|
||||
<script setup lang="ts">
|
||||
import type { ComputedRef } from 'vue'
|
||||
import type { LocaleObject } from '@nuxtjs/i18n'
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<script lang="ts" setup>
|
||||
<script setup lang="ts">
|
||||
import ISO6391 from 'iso-639-1'
|
||||
|
||||
const supportedTranslationLanguages = ISO6391.getLanguages([...supportedTranslationCodes])
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<script lang="ts" setup>
|
||||
<script setup lang="ts">
|
||||
import { usePreferences } from '~/composables/settings'
|
||||
|
||||
const route = useRoute()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<script lang="ts" setup>
|
||||
<script setup lang="ts">
|
||||
import { STORAGE_KEY_HIDE_EXPLORE_POSTS_TIPS, STORAGE_KEY_LAST_ACCESSED_EXPLORE_ROUTE } from '~~/constants'
|
||||
|
||||
const { t } = useI18n()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<script lang="ts" setup>
|
||||
<script setup lang="ts">
|
||||
import { STORAGE_KEY_HIDE_EXPLORE_NEWS_TIPS, STORAGE_KEY_LAST_ACCESSED_EXPLORE_ROUTE } from '~~/constants'
|
||||
|
||||
const { t } = useI18n()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<script lang="ts" setup>
|
||||
<script setup lang="ts">
|
||||
import { STORAGE_KEY_HIDE_EXPLORE_TAGS_TIPS, STORAGE_KEY_LAST_ACCESSED_EXPLORE_ROUTE } from '~~/constants'
|
||||
|
||||
const { t } = useI18n()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<script lang="ts" setup>
|
||||
<script setup lang="ts">
|
||||
import { STORAGE_KEY_LAST_ACCESSED_EXPLORE_ROUTE } from '~/constants'
|
||||
|
||||
const { t } = useI18n()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<script lang="ts" setup>
|
||||
<script setup lang="ts">
|
||||
import type { mastodon } from 'masto'
|
||||
|
||||
definePageMeta({
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<script lang="ts" setup>
|
||||
<script setup lang="ts">
|
||||
definePageMeta({
|
||||
wideLayout: true,
|
||||
})
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<script lang="ts" setup>
|
||||
<script setup lang="ts">
|
||||
import type { mastodon } from 'masto'
|
||||
import { useForm } from 'slimeform'
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<script lang="ts" setup>
|
||||
<script setup lang="ts">
|
||||
/* eslint-disable no-alert */
|
||||
import { fileOpen } from 'browser-fs-access'
|
||||
import type { UserLogin } from '~/types'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<script setup>
|
||||
<script setup lang="ts">
|
||||
definePageMeta({
|
||||
middleware: () => {
|
||||
if (!useAppConfig().pwaEnabled)
|
||||
|
|
Loading…
Reference in a new issue