Skip to content

Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.

feat(i18n): 新增 i18n 支持,添加简体中文、繁体中文和英语翻译;将站点名称、头像、Slogan 等抽出到 .env 文件

Timothy Yin09ca034109df
diff --git a/.env.example b/.env.example
index 64c5f67d..c20de552 100644
--- a/.env.example
+++ b/.env.example
@@ -1,5 +1,12 @@
+# Site configuration
+NUXT_PUBLIC_APP_TITLE=ChronoFrame
+NUXT_PUBLIC_APP_SLOGAN=Mems rest within the lens.
+NUXT_PUBLIC_APP_AVATAR_URL=/avatar.webp
+
+# Photo files storage provider: s3
NUXT_STORAGE_PROVIDER=s3
+# S3 storage provider configuration
NUXT_PROVIDER_S3_ENDPOINT=
NUXT_PROVIDER_S3_BUCKET=
NUXT_PROVIDER_S3_REGION=auto
@@ -8,11 +15,12 @@ NUXT_PROVIDER_S3_SECRET_ACCESS_KEY=
NUXT_PROVIDER_S3_PREFIX=photos/
NUXT_PROVIDER_S3_CDN_URL=
-NUXT_CLOUDFLARE_API_TOKEN=
-NUXT_CLOUDFLARE_D1_UUID=
+# Session password for encrypting session data, 32 characters long
+NUXT_SESSION_PASSWORD=
+# GitHub OAuth app credentials
NUXT_OAUTH_GITHUB_CLIENT_ID=
NUXT_OAUTH_GITHUB_CLIENT_SECRET=
-NUXT_SESSION_PASSWORD=
+# Mapbox access token for map features
MAPBOX_TOKEN=
diff --git a/.vscode/i18n-ally-reviews.yml b/.vscode/i18n-ally-reviews.yml
new file mode 100644
index 00000000..b137500f
--- /dev/null
+++ b/.vscode/i18n-ally-reviews.yml
@@ -0,0 +1,25 @@
+# Review comments generated by i18n-ally. Please commit this file.
+
+reviews:
+ ui.stats.totalPhotosWithRange:
+ locales:
+ en:
+ comments:
+ - user:
+ name: Timothy Yin
+ id: GDf5TQ03edkhRu0KW_wc6
+ type: request_change
+ comment: ''
+ time: '2025-09-12T17:34:07.942Z'
+ resolved: true
+ - user:
+ name: Timothy Yin
+ id: R056cTQQQtxhI0LZ76W7M
+ type: approve
+ comment: ''
+ time: '2025-09-12T17:34:20.725Z'
+ resolved: true
+ viewer.hint.livePhoto.mobile:
+ description: ''
diff --git a/.vscode/settings.json b/.vscode/settings.json
index aa222ada..2f0112f2 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -15,5 +15,41 @@
"ui:\\s*{([^)]*)\\s*}",
"(?:'|\"|`)([^']*)(?:'|\"|`)"
]
+ ],
+ "i18n-ally.localesPaths": [
+ "i18n",
+ "i18n/locales"
+ ],
+ "i18n-ally.sourceLanguage": "en",
+ "i18n-ally.keystyle": "nested",
+ "i18n-ally.extract.autoDetect": true,
+ "i18n-ally.extract.ignoredByFiles": {
+ "app/components/photo/InfoPanel.vue": [
+ "${props.currentPhoto.width} × ${props.currentPhoto.height}"
+ ],
+ "app/components/map/ClusterPin.vue": [
+ "\n representativePhoto.title || `聚类 ${representativePhoto.id}`\n "
+ ],
+ "nuxt.config.ts": [
+ "简体中文"
+ ],
+ "app/components/map/SinglePhotoPin.vue": [
+ "marker.title || `照片 ${marker.id}`"
+ ]
+ },
+ "i18n-ally.extract.ignored": [
+ "(max-width: 768px)",
+ "photo.title || `照片 ${photo.id}`",
+ "\n +{{ clusteredPhotos.length - clusterCount }}\n ",
+ "\n {{\n clusteredPhotos\n .map((p) => p.city)\n .filter((v, i, a) => v ",
+ "& a.indexOf(v) === i)\n .join(', ')\n }}\n ",
+ "&",
+ "L LT",
+ "MMM YYYY",
+ "YYYY MMM",
+ "Author;s avatar",
+ "Author's avatar",
+ "Mems rest within the lens.",
+ "UCheckbox"
]
}
\ No newline at end of file
diff --git a/README.md b/README.md
index 12e1f204..3dffe792 100644
--- a/README.md
+++ b/README.md
@@ -80,10 +80,6 @@ NUXT_PROVIDER_S3_SECRET_ACCESS_KEY=
NUXT_PROVIDER_S3_PREFIX=photos/
NUXT_PROVIDER_S3_CDN_URL=
-# 数据库配置 (可选,默认使用 SQLite)
-NUXT_CLOUDFLARE_API_TOKEN=
-NUXT_CLOUDFLARE_D1_UUID=
-
# GitHub OAuth
NUXT_OAUTH_GITHUB_CLIENT_ID=
NUXT_OAUTH_GITHUB_CLIENT_SECRET=
diff --git a/app/app.vue b/app/app.vue
index 1f256d23..4c727267 100644
--- a/app/app.vue
+++ b/app/app.vue
@@ -1,21 +1,36 @@
<script setup lang="ts">
+import dayjsLocale_zhCN from 'dayjs/locale/zh-cn'
+import dayjsLocale_zhHK from 'dayjs/locale/zh-hk'
+const config = useRuntimeConfig()
+const { locale } = useI18n()
+const dayjs = useDayjs()
+
useHead({
- titleTemplate: (title) => `${title} - TimoYin's mems`,
+ titleTemplate: (title) => `${title} :: ${config.public.APP_TITLE}`,
})
const { data } = useFetch('/api/photos')
const photos = computed(() => (data.value as Photo[]) || [])
+watchEffect(() => {
+ dayjs.locale('zh-Hans', dayjsLocale_zhCN)
+ dayjs.locale('zh-Hant', dayjsLocale_zhHK)
+ dayjs.locale(locale.value)
+})
+
// 在全局级别提供筛选功能的状态管理
-provide('photosFiltering', reactive({
- activeFilters: {
- tags: [],
- cameras: [],
- lenses: [],
- cities: [],
- ratings: []
- }
-}))
+provide(
+ 'photosFiltering',
+ reactive({
+ activeFilters: {
+ tags: [],
+ cameras: [],
+ lenses: [],
+ cities: [],
+ ratings: [],
+ },
+ }),
+)
</script>
<template>
diff --git a/app/components/map/ClusterPin.vue b/app/components/map/ClusterPin.vue
index 7f2c99d4..3a0df1bf 100644
--- a/app/components/map/ClusterPin.vue
+++ b/app/components/map/ClusterPin.vue
@@ -136,9 +136,9 @@ const sizeDelta = computed(() => {
<div class="relative overflow-hidden p-3 space-y-3">
<div class="flex items-center justify-between">
<h3 class="text-sm font-semibold">
- 附近有 {{ clusteredPhotos.length }} 张照片
+ {{ $t('map.cluster.nearbyPhotos', [clusteredPhotos.length]) }}
</h3>
- <div class="text-muted text-[10px]">点击图片查看详情</div>
+ <div class="text-muted text-[10px]">{{ $t('map.cluster.details') }}</div>
</div>
<!-- Show grid of photos for cluster -->
<div class="grid grid-cols-3 gap-2 h-full">
@@ -241,8 +241,8 @@ const sizeDelta = computed(() => {
.sort()
if (dates.length === 0) return ''
if (dates.length === 1)
- return dayjs(dates[0]).format('YYYY年MM月DD日')
- return `${dayjs(dates[0]).format('YYYY年MM月DD日')} - ${dayjs(dates[dates.length - 1]).format('YYYY年MM月DD日')}`
+ return dayjs(dates[0]).format('l')
+ return `${dayjs(dates[0]).format('l')} - ${dayjs(dates[dates.length - 1]).format('l')}`
})()
}}
</span>
diff --git a/app/components/map/SinglePhotoPin.vue b/app/components/map/SinglePhotoPin.vue
index 0981376f..8b157446 100644
--- a/app/components/map/SinglePhotoPin.vue
+++ b/app/components/map/SinglePhotoPin.vue
@@ -177,11 +177,7 @@ const onClick = () => {
<span>·</span>
<div v-if="marker.exif?.DateTimeOriginal">
<span class="truncate">
- {{
- dayjs(marker.exif.DateTimeOriginal).format(
- 'YY年MM月DD日',
- )
- }}
+ {{ dayjs(marker.exif.DateTimeOriginal).format('ll') }}
</span>
</div>
</div>
diff --git a/app/components/masonry/HeaderItem.vue b/app/components/masonry/HeaderItem.vue
index 6c2d5a77..fbb880e9 100644
--- a/app/components/masonry/HeaderItem.vue
+++ b/app/components/masonry/HeaderItem.vue
@@ -9,9 +9,10 @@ defineProps<{
end: string | undefined
} | null
}
- dateRangeText?: string
+ dateRangeText: string
}>()
+const config = useRuntimeConfig()
const colorMode = useColorMode()
const isDark = computed({
@@ -56,7 +57,7 @@ const totalSelectedFilters = computed(() => {
<div
class="absolute inset-0 -z-10 blur-3xl scale-110 bg-cover bg-center opacity-35"
:style="{
- backgroundImage: `url(${avatarImage})`,
+ backgroundImage: `url(${config.public.APP_AVATAR_URL || avatarImage})`,
}"
></div>
<div
@@ -77,29 +78,38 @@ const totalSelectedFilters = computed(() => {
:src="avatarImage"
class="size-12 rounded-full object-cover"
:class="!loggedIn && 'cursor-pointer'"
- alt="Timothy's Avatar"
+ alt="Author's avatar"
@click="!loggedIn && handleOpenLogin()"
/>
</div>
<h1
class="text-2xl font-bold text-neutral-900 dark:text-white/90 mb-2"
>
- TimoYin's mems
+ {{ config.public.APP_TITLE }}
</h1>
</div>
<div
class="text-neutral-600 dark:text-white/30 space-y-1 text-center"
>
<p class="text-xs font-medium">
- <span v-if="dateRangeText">{{ dateRangeText }}, 共</span>
- {{ stats?.total }} 张照片
+ {{
+ $t('ui.stats.totalPhotosWithRange', {
+ range: dateRangeText,
+ count: stats?.total,
+ })
+ }}
+ </p>
+ <p
+ v-if="config.public.APP_SLOGAN"
+ class="font-[Pacifico]"
+ >
+ {{ config.public.APP_SLOGAN }}
</p>
- <p class="font-[Pacifico]">Mems rest within the lens.</p>
</div>
<div
class="flex items-center gap-0 p-1 bg-white/30 dark:bg-neutral-900/50 rounded-full"
>
- <UTooltip text="探索地图">
+ <UTooltip :text="$t('ui.action.explore.tooltip')">
<UButton
variant="soft"
color="neutral"
@@ -110,7 +120,7 @@ const totalSelectedFilters = computed(() => {
/>
</UTooltip>
<UPopover>
- <UTooltip text="筛选照片">
+ <UTooltip :text="$t('ui.action.filter.tooltip')">
<UChip
inset
size="sm"
@@ -134,7 +144,7 @@ const totalSelectedFilters = computed(() => {
</template>
</UPopover>
<UPopover>
- <UTooltip text="照片排序">
+ <UTooltip :text="$t('ui.action.sort.tooltip')">
<UButton
variant="soft"
:color="
@@ -154,7 +164,9 @@ const totalSelectedFilters = computed(() => {
class="w-3xs"
>
<template #header>
- <h3 class="font-bold text-sm p-1">排序方式</h3>
+ <h3 class="font-bold text-sm p-1">
+ {{ $t('ui.action.sort.title') }}
+ </h3>
</template>
<div class="space-y-1">
@@ -162,10 +174,10 @@ const totalSelectedFilters = computed(() => {
v-for="sort in availableSorts"
:key="sort.key"
:variant="
- currentSortLabel === sort.label ? 'soft' : 'ghost'
+ currentSortLabel === sort.labelI18n ? 'soft' : 'ghost'
"
:color="
- currentSortLabel === sort.label ? 'info' : 'neutral'
+ currentSortLabel === sort.labelI18n ? 'info' : 'neutral'
"
:icon="sort.icon"
size="sm"
@@ -173,13 +185,13 @@ const totalSelectedFilters = computed(() => {
class="justify-start"
@click="setSortOption(sort.key)"
>
- {{ sort.label }}
+ {{ $t(sort.labelI18n) }}
</UButton>
</div>
</UCard>
</template>
</UPopover>
- <UTooltip text="颜色主题">
+ <UTooltip :text="$t('ui.action.theme.tooltip')">
<UButton
variant="soft"
color="neutral"
@@ -191,7 +203,7 @@ const totalSelectedFilters = computed(() => {
</UTooltip>
<UTooltip
v-if="loggedIn"
- text="仪表盘"
+ :text="$t('ui.action.dashboard.tooltip')"
>
<UButton
size="sm"
@@ -204,7 +216,7 @@ const totalSelectedFilters = computed(() => {
</UTooltip>
<UTooltip
v-if="loggedIn"
- text="登出"
+ :text="$t('ui.action.logout.tooltip')"
>
<UButton
size="sm"
diff --git a/app/components/masonry/Root.vue b/app/components/masonry/Root.vue
index 34f10e93..00d7b26a 100644
--- a/app/components/masonry/Root.vue
+++ b/app/components/masonry/Root.vue
@@ -69,7 +69,7 @@ const photoStats = computed(() => {
const allDates = displayPhotos.value
?.map((p) => p?.dateTaken)
.filter((date): date is string => Boolean(date))
- .map((date) => dayjs(date).format('YYYY年MM月DD日'))
+ .map((date) => dayjs(date).format('ll'))
.sort((a, b) => (dayjs(a).isBefore(dayjs(b)) ? 1 : -1))
const dateRange =
@@ -193,16 +193,16 @@ const updateDateRange = () => {
// Check if dates are the same day
if (startDate.isSame(endDate, 'day')) {
// Same day
- dateRange.value = startDate.format('YYYY年M月D日')
+ dateRange.value = startDate.format('ll')
} else if (startDate.isSame(endDate, 'month')) {
// Same month
- dateRange.value = startDate.format('YYYY年M月')
+ dateRange.value = startDate.format('MMM YYYY')
} else if (startDate.isSame(endDate, 'year')) {
// Same year, different months
- dateRange.value = `${startDate.format('M月')} - ${endDate.format('M月 YYYY')}`
+ dateRange.value = `${startDate.format('MMM')} - ${endDate.format('MMM YYYY')}`
} else {
// Different years
- dateRange.value = `${startDate.format('YYYY年M月')} - ${endDate.format('YYYY年M月')}`
+ dateRange.value = `${startDate.format('ll')} - ${endDate.format('ll')}`
}
}
diff --git a/app/components/overlay/FilterPanel.vue b/app/components/overlay/FilterPanel.vue
index 6b37cb96..1411cd4e 100644
--- a/app/components/overlay/FilterPanel.vue
+++ b/app/components/overlay/FilterPanel.vue
@@ -22,35 +22,35 @@ const selectedRating = computed({
const tabItems = computed<TabsItem[]>(() => [
{
- label: '标签',
+ label: $t('ui.action.filter.tabs.tags'),
value: 'labels',
badge: selectedCounts.value.tags || undefined,
icon: 'tabler:tags',
slot: 'tags',
},
{
- label: '相机',
+ label: $t('ui.action.filter.tabs.cameras'),
value: 'cameras',
badge: selectedCounts.value.cameras || undefined,
icon: 'tabler:camera',
slot: 'cameras',
},
{
- label: '镜头',
+ label: $t('ui.action.filter.tabs.lenses'),
value: 'lenses',
badge: selectedCounts.value.lenses || undefined,
icon: 'tabler:aperture',
slot: 'lenses',
},
{
- label: '城市',
+ label: $t('ui.action.filter.tabs.cities'),
value: 'cities',
badge: selectedCounts.value.cities || undefined,
icon: 'tabler:map-pin',
slot: 'cities',
},
{
- label: '评分',
+ label: $t('ui.action.filter.tabs.ratings'),
value: 'ratings',
badge: selectedCounts.value.ratings || undefined,
icon: 'tabler:star',
@@ -64,10 +64,10 @@ const handleToggleFilter = (type: string, value: string | number) => {
</script>
<template>
- <div class="space-y-3 w-[calc(100vw-34px)] sm:w-96">
+ <div class="space-y-3 w-[calc(100vw-34px)] sm:w-md">
<div class="flex items-center justify-between">
<h3 class="text-sm font-bold text-neutral-900 dark:text-white p-2 pb-0">
- 筛选照片
+ {{ $t('ui.action.filter.title') }}
</h3>
<UButton
v-if="hasActiveFilters"
@@ -77,7 +77,7 @@ const handleToggleFilter = (type: string, value: string | number) => {
icon="tabler:filter-x"
@click="clearAllFilters"
>
- 清除全部
+ {{ $t('ui.action.filter.clearAll') }}
</UButton>
</div>
<!-- 标签页 -->
@@ -110,7 +110,7 @@ const handleToggleFilter = (type: string, value: string | number) => {
"
variant="soft"
class="cursor-pointer select-none transition-colors"
- :class="`${isFilterSelected('tags', tag.label) ? '' : 'bg-white/10 text-white hover:bg-white/20'}`"
+ :class="`${isFilterSelected('tags', tag.label) ? '' : 'bg-neutral-800/10 text-neutral-800 hover:bg-neutral-800/20 dark:bg-white/10 dark:text-white dark:hover:bg-white/20'}`"
@click="handleToggleFilter('tags', tag.label)"
/>
</div>
@@ -118,7 +118,7 @@ const handleToggleFilter = (type: string, value: string | number) => {
v-if="availableFilters.tags.length === 0"
class="text-center text-sm text-neutral-500 dark:text-neutral-400 py-4"
>
- 没有标签
+ {{ $t('ui.action.filter.empty.tags') }}
</div>
</div>
</template>
@@ -150,7 +150,7 @@ const handleToggleFilter = (type: string, value: string | number) => {
v-if="availableFilters.cameras.length === 0"
class="text-center text-sm text-neutral-500 dark:text-neutral-400 py-4"
>
- 没有相机信息
+ {{ $t('ui.action.filter.empty.cameras') }}
</div>
</div>
</template>
@@ -182,7 +182,7 @@ const handleToggleFilter = (type: string, value: string | number) => {
v-if="availableFilters.lenses.length === 0"
class="text-center text-sm text-neutral-500 dark:text-neutral-400 py-4"
>
- 没有镜头信息
+ {{ $t('ui.action.filter.empty.lenses') }}
</div>
</div>
</template>
@@ -214,7 +214,7 @@ const handleToggleFilter = (type: string, value: string | number) => {
v-if="availableFilters.cities.length === 0"
class="text-center text-sm text-neutral-500 dark:text-neutral-400 py-4"
>
- 没有城市信息
+ {{ $t('ui.action.filter.empty.cities') }}
</div>
</div>
</template>
@@ -234,8 +234,11 @@ const handleToggleFilter = (type: string, value: string | number) => {
>
{{
selectedRating
- ? `展示 ${selectedRating} 星及以上的照片`
- : '展示所有照片'
+ ? $t(
+ 'ui.action.filter.rating.showStarsAndAbove',
+ selectedRating,
+ )
+ : $t('ui.action.filter.rating.showAll')
}}
</div>
</div>
diff --git a/app/components/photo/InfoPanel.vue b/app/components/photo/InfoPanel.vue
index 6a012593..043e9fbd 100644
--- a/app/components/photo/InfoPanel.vue
+++ b/app/components/photo/InfoPanel.vue
@@ -105,90 +105,88 @@ const formatedExifData = computed<Record<string, KVData[]>>(() => {
// 基本信息
sections.basicInfo = [
{
- title: '基本信息',
+ title: $t('exif.sections.basic'),
items: [
props.currentPhoto.storageKey
? {
- label: '文件名',
+ label: $t('exif.filename'),
value: props.currentPhoto.storageKey,
icon: 'tabler:file',
}
: null,
props.currentPhoto.fileSize
? {
- label: '文件大小',
+ label: $t('exif.fileSize'),
value: formatBytes(props.currentPhoto.fileSize),
icon: 'tabler:database',
}
: null,
props.currentPhoto.width && props.currentPhoto.height
? {
- label: '分辨率',
+ label: $t('exif.resolution'),
value: `${props.currentPhoto.width} × ${props.currentPhoto.height}`,
icon: 'tabler:dimensions',
}
: null,
props.currentPhoto.width && props.currentPhoto.height
? {
- label: '像素',
+ label: $t('exif.pixels'),
value: `${((props.currentPhoto.width * props.currentPhoto.height) / 1000000).toFixed(2)} MP`,
icon: 'tabler:grid-dots',
}
: null,
props.exifData?.DateTimeOriginal
? {
- label: '拍摄时间',
- value: dayjs(props.exifData.DateTimeOriginal).format(
- 'YYYY-MM-DD HH:mm:ss',
- ),
+ label: $t('exif.dateTaken.title'),
+ value: dayjs(props.exifData.DateTimeOriginal).format('L LT'),
icon: 'tabler:calendar',
}
: null,
props.exifData?.ColorSpace
? {
- label: '色彩空间',
+ label: $t('exif.colorSpace.title'),
value: props.exifData.ColorSpace,
icon: 'tabler:palette',
}
: null,
props.exifData?.Artist
? {
- label: '艺术家',
+ label: $t('exif.artist'),
value: props.exifData.Artist,
icon: 'tabler:user',
}
: null,
props.exifData?.Software
? {
- label: '软件',
+ label: $t('exif.software'),
value: props.exifData.Software,
icon: 'tabler:app-window',
}
: null,
props.exifData?.tz
? {
- label: '时区',
+ label: $t('exif.tz'),
value: props.exifData.tz,
icon: 'tabler:world',
}
: null,
props.currentPhoto.country
? {
- label: '国家',
+ label: $t('exif.country'),
value: props.currentPhoto.country,
icon: 'tabler:map-pin',
}
: null,
props.currentPhoto.city
? {
- label: '城市',
+ label: $t('exif.city'),
value: props.currentPhoto.city,
icon: 'tabler:building',
}
: null,
props.currentPhoto.latitude && props.currentPhoto.longitude
? {
- label: '坐标',
+ label: $t('exif.gps.title'),
value: formatGPSCoordinatesMultiLine(
props.currentPhoto.latitude,
props.currentPhoto.longitude,
@@ -203,25 +201,25 @@ const formatedExifData = computed<Record<string, KVData[]>>(() => {
// 拍摄参数
sections.captureParams = [
{
- title: '拍摄参数',
+ title: $t('exif.sections.shooting.parameters'),
items: [
props.exifData?.FocalLengthIn35mmFormat
? {
- label: '焦距',
+ label: $t('exif.focal.length.actual'),
value: `${props.exifData.FocalLengthIn35mmFormat}`,
icon: 'tabler:telescope',
}
: null,
props.exifData?.FNumber
? {
- label: '光圈',
+ label: $t('exif.aperture'),
value: `f/${props.exifData.FNumber}`,
icon: 'tabler:aperture',
}
: null,
props.exifData?.ExposureTime
? {
- label: '曝光时间',
+ label: $t('exif.exposure.time'),
value: formatExposureTime(props.exifData.ExposureTime),
icon: 'tabler:clock',
}
@@ -240,11 +238,11 @@ const formatedExifData = computed<Record<string, KVData[]>>(() => {
// 设备信息
sections.deviceInfo = [
{
- title: '设备信息',
+ title: $t('exif.sections.deviceInfomation'),
items: [
props.exifData?.Make && props.exifData?.Model
? {
- label: '相机',
+ label: $t('exif.camera'),
value: formatCameraInfo(
props.exifData.Make,
props.exifData.Model,
@@ -254,7 +252,7 @@ const formatedExifData = computed<Record<string, KVData[]>>(() => {
: null,
props.exifData?.LensModel
? {
- label: '镜头',
+ label: $t('exif.lens'),
value: formatLensInfo(
props.exifData.LensMake,
props.exifData.LensModel,
@@ -264,21 +262,21 @@ const formatedExifData = computed<Record<string, KVData[]>>(() => {
: null,
props.exifData?.MaxApertureValue
? {
- label: '最大光圈',
+ label: $t('exif.maxAperture'),
value: `f/${props.exifData.MaxApertureValue}`,
icon: 'tabler:aperture',
}
: null,
props.exifData?.FocalLength
? {
- label: '焦距',
+ label: $t('exif.focal.length.actual'),
value: props.exifData.FocalLength,
icon: 'tabler:telescope',
}
: null,
props.exifData?.FocalLengthIn35mmFormat
? {
- label: '35mm 等效',
+ label: $t('exif.focal.length.equivalent'),
value: props.exifData.FocalLengthIn35mmFormat,
icon: 'tabler:zoom-in-area',
}
@@ -290,81 +288,81 @@ const formatedExifData = computed<Record<string, KVData[]>>(() => {
// 拍摄模式
sections.captureMode = [
{
- title: '拍摄模式',
+ title: $t('exif.sections.shooting.mode'),
items: [
props.exifData?.WhiteBalance
? {
- label: '白平衡',
+ label: $t('exif.wb.title'),
value: props.exifData.WhiteBalance,
icon: 'mdi:white-balance-auto',
}
: null,
props.exifData?.WBShiftAB
? {
- label: '白平衡偏移(琥珀-蓝)',
+ label: $t('exif.wb.shiftAB'),
value: `${props.exifData.WBShiftAB}`,
icon: 'mdi:white-balance-auto',
}
: null,
props.exifData?.WBShiftGM
? {
- label: '白平衡偏移(绿-品红)',
+ label: $t('exif.wb.shiftGM'),
value: `${props.exifData.WBShiftGM}`,
icon: 'mdi:white-balance-auto',
}
: null,
props.exifData?.WhiteBalanceBias
? {
- label: '白平衡偏移',
+ label: $t('exif.wb.bias'),
value: `${props.exifData.WhiteBalanceBias}`,
icon: 'mdi:white-balance-auto',
}
: null,
props.exifData?.WhiteBalanceFineTune
? {
- label: '白平衡微调',
+ label: $t('exif.wb.fineTune'),
value: `${props.exifData.WhiteBalanceFineTune}`,
icon: 'mdi:white-balance-auto',
}
: null,
props.exifData?.ExposureProgram
? {
- label: '曝光程序',
+ label: $t('exif.exposure.program'),
value: props.exifData.ExposureProgram,
icon: 'tabler:exposure',
}
: null,
props.exifData?.ExposureMode
? {
- label: '曝光模式',
+ label: $t('exif.exposure.mode'),
value: props.exifData.ExposureMode,
icon: 'tabler:exposure-filled',
}
: null,
props.exifData?.MeteringMode
? {
- label: '测光模式',
+ label: $t('exif.metering.title'),
value: props.exifData.MeteringMode,
icon: 'tabler:focus-auto',
}
: null,
props.exifData?.Flash
? {
- label: '闪光灯',
+ label: $t('exif.flash.title'),
value: props.exifData.Flash,
icon: 'material-symbols:flash-on-rounded',
}
: null,
props.exifData?.FlashMeteringMode
? {
- label: '闪光灯测光模式',
+ label: $t('exif.flash.meteringMode'),
value: props.exifData.FlashMeteringMode,
icon: 'material-symbols:flash-on-rounded',
}
: null,
props.exifData?.SceneCaptureType
? {
- label: '场景捕捉类型',
+ label: $t('exif.scene.captureType'),
value: props.exifData.SceneCaptureType,
icon: 'material-symbols:scene',
}
@@ -376,18 +374,18 @@ const formatedExifData = computed<Record<string, KVData[]>>(() => {
// 技术参数
sections.technicalParams = [
{
- title: '技术参数',
+ title: $t('exif.sections.specification'),
items: [
props.exifData?.BrightnessValue
? {
- label: '亮度',
+ label: $t('exif.brightness.value'),
value: `${props.exifData.BrightnessValue.toFixed(1)} EV`,
icon: 'tabler:sun',
}
: null,
props.exifData?.SensingMethod
? {
- label: '感光元件',
+ label: $t('exif.sensing.method'),
value: props.exifData.SensingMethod,
icon: 'tabler:photo-sensor',
}
@@ -395,7 +393,7 @@ const formatedExifData = computed<Record<string, KVData[]>>(() => {
props.exifData?.FocalPlaneXResolution &&
props.exifData?.FocalPlaneYResolution
? {
- label: '焦平面分辨率',
+ label: $t('exif.focal.plane.resolution'),
value: `${props.exifData.FocalPlaneXResolution.toFixed(2)} x ${props.exifData.FocalPlaneYResolution.toFixed(2)}`,
icon: 'tabler:photo-sensor',
}
@@ -497,7 +495,7 @@ const onTagClick = (tag: string) => {
class="flex items-center gap-2 justify-between"
>
<h4 class="text-sm font-medium text-white uppercase tracking-wide">
- 评分
+ {{ $t('exif.sections.rating') }}
</h4>
<UiRating
@@ -515,7 +513,7 @@ const onTagClick = (tag: string) => {
<h4
class="text-sm font-medium text-white/90 uppercase tracking-wide mb-2"
>
- 标签
+ {{ $t('exif.sections.tags') }}
</h4>
<div class="flex flex-wrap gap-1">
<UBadge
@@ -537,7 +535,7 @@ const onTagClick = (tag: string) => {
<div class="space-y-2">
<h4 class="text-sm font-medium text-white uppercase tracking-wide">
- 直方图
+ {{ $t('exif.sections.histogram') }}
</h4>
<Histogram
diff --git a/app/components/photo/LivePhotoIndicator.vue b/app/components/photo/LivePhotoIndicator.vue
index 05c9f1a6..f48e84ff 100644
--- a/app/components/photo/LivePhotoIndicator.vue
+++ b/app/components/photo/LivePhotoIndicator.vue
@@ -34,7 +34,7 @@ defineProps<{
name="tabler:live-photo"
class="size-[17px]"
/>
- <span>实况</span>
+ <span>{{ $t('ui.livePhoto') }}</span>
<span
v-if="processingState?.isProcessing"
diff --git a/app/components/photo/MiniMap.vue b/app/components/photo/MiniMap.vue
index eebffb20..694ed0d5 100644
--- a/app/components/photo/MiniMap.vue
+++ b/app/components/photo/MiniMap.vue
@@ -91,11 +91,11 @@ onUnmounted(() => {
zoom: 12,
config: {
basemap: {
- colorThemes: 'faded'
- }
+ colorThemes: 'faded',
+ },
},
interactive: false,
- language: 'zh-Hans'
+ language: $i18n.locale,
}"
@load="onMapLoad"
>
@@ -121,7 +121,9 @@ onUnmounted(() => {
v-if="!loaded"
class="absolute inset-0 bg-default/80 flex items-center justify-center backdrop-blur-sm"
>
- <p class="text-xs font-medium text-white/60">Loading minimap...</p>
+ <p class="text-xs font-medium text-white/60">
+ {{ $t('minimap.loading') }}
+ </p>
</div>
</MapboxMap>
</div>
diff --git a/app/components/photo/Viewer.vue b/app/components/photo/Viewer.vue
index 11154218..75014bac 100644
--- a/app/components/photo/Viewer.vue
+++ b/app/components/photo/Viewer.vue
@@ -639,16 +639,16 @@ const swiperModules = [Navigation, Keyboard, Virtual]
class="absolute bottom-6 left-1/2 z-20 -translate-x-1/2 bg-black/50 rounded-lg border border-white/10 px-2 py-1 shadow-2xl text-white text-xs font-bold"
>
<span v-if="currentPhoto?.isLivePhoto && isMobile">
- 长按播放实况照片 · 双击或捏合缩放
+ {{ $t('viewer.hint.livePhoto.mobile') }}
</span>
<span
v-else-if="currentPhoto?.isLivePhoto && !isMobile"
>
- 悬停左上角实况标志播放 · 双击或鼠标滚轮缩放
+ {{ $t('viewer.hint.livePhoto.desktop') }}
</span>
<span v-else>
{{
- isMobile ? '双击或捏合缩放' : '双击或用鼠标滚轮缩放'
+ isMobile ? $t('viewer.hint.mobile') : $t('viewer.hint.desktop')
}}
</span>
</motion.div>
diff --git a/app/components/ui/Rating.vue b/app/components/ui/Rating.vue
index e4e3e744..e3c2c360 100644
--- a/app/components/ui/Rating.vue
+++ b/app/components/ui/Rating.vue
@@ -66,7 +66,7 @@ const getStarType = (index: number) => {
>
<TablerStar
v-if="getStarType(i - 1) === 'empty'"
- class="text-neutral-300"
+ class="text-neutral-500 dark:text-neutral-300"
/>
<TablerStarFilled
v-else-if="getStarType(i - 1) === 'filled'"
@@ -87,7 +87,7 @@ const getStarType = (index: number) => {
>
<TablerStar
v-if="getStarType(i - 1) === 'empty'"
- class="text-neutral-300"
+ class="text-neutral-500 dark:text-neutral-300"
/>
<TablerStarFilled
v-else-if="getStarType(i - 1) === 'filled'"
diff --git a/app/composables/usePhotoSort.ts b/app/composables/usePhotoSort.ts
index 2203d644..11c214dc 100644
--- a/app/composables/usePhotoSort.ts
+++ b/app/composables/usePhotoSort.ts
@@ -1,6 +1,6 @@
interface SortOption {
key: string
- label: string
+ labelI18n: string
icon?: string
value: (photo: Photo) => any
order: 'asc' | 'desc'
@@ -17,7 +17,7 @@ const globalSortState = ref<SortState>({
availableSorts: [
{
key: 'dateTaken-desc',
- label: '拍摄时间(新到旧)',
+ labelI18n: 'ui.action.sort.options.dateTakenDesc',
icon: 'tabler:sort-descending',
value: (photo: Photo) =>
photo.dateTaken ? new Date(photo.dateTaken).getTime() : 0,
@@ -25,7 +25,7 @@ const globalSortState = ref<SortState>({
},
{
key: 'dateTaken-asc',
- label: '拍摄时间(旧到新)',
+ labelI18n: 'ui.action.sort.options.dateTakenAsc',
icon: 'tabler:sort-ascending',
value: (photo: Photo) =>
photo.dateTaken ? new Date(photo.dateTaken).getTime() : 0,
@@ -33,28 +33,28 @@ const globalSortState = ref<SortState>({
},
{
key: 'fileSize-asc',
- label: '文件大小正序',
+ labelI18n: 'ui.action.sort.options.fileSizeAsc',
icon: 'tabler:sort-ascending-small-big',
value: (photo: Photo) => photo.fileSize || 0,
order: 'asc',
},
{
key: 'fileSize-desc',
- label: '文件大小倒序',
+ labelI18n: 'ui.action.sort.options.fileSizeDesc',
icon: 'tabler:sort-descending-small-big',
value: (photo: Photo) => photo.fileSize || 0,
order: 'desc',
},
{
key: 'title-asc',
- label: '标题正序',
+ labelI18n: 'ui.action.sort.options.titleAsc',
icon: 'tabler:sort-ascending-letters',
value: (photo: Photo) => (photo.title || photo.id).toLowerCase(),
order: 'asc',
},
{
key: 'title-desc',
- label: '标题倒序',
+ labelI18n: 'ui.action.sort.options.titleDesc',
icon: 'tabler:sort-descending-letters',
value: (photo: Photo) => (photo.title || photo.id).toLowerCase(),
order: 'desc',
@@ -64,52 +64,56 @@ const globalSortState = ref<SortState>({
export function usePhotoSort() {
const { photos } = usePhotos()
-
+
// 当前排序选项
const currentSortOption = computed(() => {
- return globalSortState.value.availableSorts.find(
- sort => sort.key === globalSortState.value.currentSort
- ) || globalSortState.value.availableSorts[0]
+ return (
+ globalSortState.value.availableSorts.find(
+ (sort) => sort.key === globalSortState.value.currentSort,
+ ) || globalSortState.value.availableSorts[0]
+ )
})
// 排序后的照片
const sortedPhotos = computed(() => {
const option = currentSortOption.value
if (!option) return photos.value
-
+
const sorted = [...photos.value].sort((a, b) => {
const valueA = option.value(a)
const valueB = option.value(b)
-
+
// 处理 null/undefined 值
if (valueA == null && valueB == null) return 0
if (valueA == null) return 1
if (valueB == null) return -1
-
+
// 数值比较
if (typeof valueA === 'number' && typeof valueB === 'number') {
return option.order === 'asc' ? valueA - valueB : valueB - valueA
}
-
+
// 字符串比较
if (typeof valueA === 'string' && typeof valueB === 'string') {
const comparison = valueA.localeCompare(valueB)
return option.order === 'asc' ? comparison : -comparison
}
-
+
// 其他类型转字符串比较
const strA = String(valueA)
const strB = String(valueB)
const comparison = strA.localeCompare(strB)
return option.order === 'asc' ? comparison : -comparison
})
-
+
return sorted
})
// 设置排序方式
const setSortOption = (sortKey: string) => {
- if (globalSortState.value.availableSorts.some(sort => sort.key === sortKey)) {
+ if (
+ globalSortState.value.availableSorts.some((sort) => sort.key === sortKey)
+ ) {
globalSortState.value.currentSort = sortKey
}
}
@@ -128,10 +132,14 @@ export function usePhotoSort() {
const availableSorts = computed(() => globalSortState.value.availableSorts)
// 获取当前排序的显示标签
- const currentSortLabel = computed(() => currentSortOption.value?.label || '拍摄时间(新到旧)')
+ const currentSortLabel = computed(
+ () => currentSortOption.value?.labelI18n || '拍摄时间(新到旧)',
+ )
// 获取当前排序的显示图标
- const currentSortIcon = computed(() => currentSortOption.value?.icon || 'tabler:sort-descending')
+ const currentSortIcon = computed(
+ () => currentSortOption.value?.icon || 'tabler:sort-descending',
+ )
// 检查是否为时间排序
const isDateSort = computed(() => {
@@ -152,6 +160,6 @@ export function usePhotoSort() {
isDateSort,
isDateSortDesc,
setSortOption,
- toggleDateSortOrder
+ toggleDateSortOrder,
}
}
diff --git a/app/layouts/masonry.vue b/app/layouts/masonry.vue
index 931f3ca3..ceb36ba4 100644
--- a/app/layouts/masonry.vue
+++ b/app/layouts/masonry.vue
@@ -1,6 +1,6 @@
<script lang="ts" setup>
useHead({
- title: 'Gallery',
+ title: $t('title.gallery'),
})
const { photos } = usePhotos()
diff --git a/app/pages/[...slug].vue b/app/pages/[...slug].vue
index 7ec49b0f..7e5f9813 100644
--- a/app/pages/[...slug].vue
+++ b/app/pages/[...slug].vue
@@ -38,7 +38,7 @@ watch(
)
if (foundIndex !== -1) {
useHead({
- title: currentPhotos[foundIndex]?.title || 'Photo',
+ title: currentPhotos[foundIndex]?.title || $t('title.fallback.photo'),
})
if (!isViewerOpen.value) {
openViewer(foundIndex)
@@ -49,7 +49,7 @@ watch(
} else if (!currentPhotoId) {
closeViewer()
useHead({
- title: 'Gallery',
+ title: $t('title.gallery'),
})
}
},
diff --git a/app/pages/dashboard/index.vue b/app/pages/dashboard/index.vue
index 0fa71315..74be480e 100644
--- a/app/pages/dashboard/index.vue
+++ b/app/pages/dashboard/index.vue
@@ -4,7 +4,7 @@ definePageMeta({
})
useHead({
- title: 'Dashboard',
+ title: $t('title.dashboard'),
})
interface SystemHealth {
diff --git a/app/pages/dashboard/location.vue b/app/pages/dashboard/location.vue
index 0eae95b1..bcc13905 100644
--- a/app/pages/dashboard/location.vue
+++ b/app/pages/dashboard/location.vue
@@ -4,7 +4,7 @@ definePageMeta({
})
useHead({
- title: 'Locations',
+ title: $t('title.locations'),
})
interface LocationStats {
diff --git a/app/pages/dashboard/photos.vue b/app/pages/dashboard/photos.vue
index 2795c795..b7a5292f 100644
--- a/app/pages/dashboard/photos.vue
+++ b/app/pages/dashboard/photos.vue
@@ -12,7 +12,7 @@ definePageMeta({
})
useHead({
- title: 'Photos',
+ title: $t('title.photos'),
})
const dayjs = useDayjs()
diff --git a/app/pages/explore.vue b/app/pages/explore.vue
index b6b9df8b..d63c7c30 100644
--- a/app/pages/explore.vue
+++ b/app/pages/explore.vue
@@ -257,7 +257,7 @@ const resetMap = () => {
},
},
attributionControl: false,
- language: 'zh-Hans',
+ language: $i18n.locale,
}"
@load="onMapLoaded"
@zoom="onMapZoom"
@@ -268,9 +268,6 @@ const resetMap = () => {
v-for="clusterPoint in clusterGroups"
:key="`cluster-${clusterPoint.properties.marker?.id}`"
:cluster-point="clusterPoint"
- :is-selected="
- clusterPoint.properties.marker?.id === currentClusterPointId
- "
@click="onMarkerPinClick"
@close="onMarkerPinClose"
/>
diff --git a/docker-compose.yml b/docker-compose.yml
index 292e5cce..08269e3e 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -1,5 +1,3 @@
-version: '3.8'
-
services:
chronoframe:
build:
@@ -22,8 +20,6 @@ services:
# - PROVIDER_S3_SECRET_ACCESS_KEY=your-secret-key
# - PROVIDER_S3_PREFIX=your-prefix
# - PROVIDER_S3_CDN_URL=your-cdn-url
- # - CLOUDFLARE_API_TOKEN=your-cloudflare-token
- # - CLOUDFLARE_D1_UUID=your-d1-uuid
restart: unless-stopped
volumes:
- ./data:/app/.data
diff --git a/i18n/i18n.config.ts b/i18n/i18n.config.ts
new file mode 100644
index 00000000..63676991
--- /dev/null
+++ b/i18n/i18n.config.ts
@@ -0,0 +1,5 @@
+export default defineI18nConfig(() => {
+ return {
+ fallbackLocale: 'en',
+ }
+})
diff --git a/i18n/locales/en.json b/i18n/locales/en.json
new file mode 100644
index 00000000..d3c416b4
--- /dev/null
+++ b/i18n/locales/en.json
@@ -0,0 +1,161 @@
+{
+ "plural": {
+ "photo": "no photos | one photo | {count} photos"
+ },
+ "ui": {
+ "action": {
+ "explore": {
+ "tooltip": "Explore Map"
+ },
+ "filter": {
+ "tooltip": "Filter Photos",
+ "title": "Filter Photos",
+ "clearAll": "Clear All",
+ "tabs": {
+ "tags": "Tags",
+ "cameras": "Cameras",
+ "lenses": "Lenses",
+ "cities": "Cities",
+ "ratings": "Ratings"
+ },
+ "empty": {
+ "tags": "No tags",
+ "cameras": "No camera information",
+ "lenses": "No lens information",
+ "cities": "No city information"
+ },
+ "rating": {
+ "showAll": "Show all photos",
+ "showStarsAndAbove": "Show {count} star(s) and above photos"
+ }
+ },
+ "sort": {
+ "tooltip": "Photo Sorting",
+ "title": "Sort By",
+ "options": {
+ "dateTakenDesc": "Date Taken (Newest First)",
+ "dateTakenAsc": "Date Taken (Oldest First)",
+ "fileSizeAsc": "File Size (Ascending)",
+ "fileSizeDesc": "File Size (Descending)",
+ "titleAsc": "Title (Ascending)",
+ "titleDesc": "Title (Descending)"
+ }
+ },
+ "theme": {
+ "tooltip": "Color Theme"
+ },
+ "dashboard": {
+ "tooltip": "Dashboard"
+ },
+ "logout": {
+ "tooltip": "Logout"
+ }
+ },
+ "stats": {
+ "totalPhotosWithRange": "{range}, @:plural.photo total"
+ },
+ "livePhoto": "Live Photo"
+ },
+ "map": {
+ "cluster": {
+ "details": "Click to view details",
+ "nearbyPhotos": "{0} photos nearby"
+ }
+ },
+ "minimap": {
+ "loading": "Loading minimap..."
+ },
+ "viewer": {
+ "hint": {
+ "livePhoto": {
+ "mobile": "Long press to play live photos · Double-click or pinch zoom",
+ "desktop": "Hover play icon · Double-click/scroll zoom"
+ },
+ "mobile": "Double-click or pinch zoom",
+ "desktop": "Double-click or zoom with the mouse wheel"
+ }
+ },
+ "exif": {
+ "sections": {
+ "basic": "Basic information",
+ "deviceInfomation": "Equipment Information",
+ "specification": "Technical parameters",
+ "rating": "Rating",
+ "tags": "Keywords",
+ "histogram": "Histogram",
+ "capture": {},
+ "shooting": {
+ "parameters": "Shooting Parameters",
+ "mode": "Shooting Mode"
+ }
+ },
+ "aperture": "Aperture Value",
+ "dateTaken": {
+ "title": "Shooting Time"
+ },
+ "filename": "Filename",
+ "fileSize": "File Size",
+ "resolution": "Resolution",
+ "pixels": "Pixels",
+ "colorSpace": {
+ "title": "Color Space"
+ },
+ "artist": "Artist",
+ "software": "Software",
+ "tz": "Time Zone",
+ "country": "Country",
+ "city": "City",
+ "gps": {
+ "title": "Coordinate"
+ },
+ "focal": {
+ "length": {
+ "actual": "Focal Length",
+ "equivalent": "35mm Equivalent"
+ },
+ "plane": {
+ "resolution": "Focal Plane Resolution"
+ }
+ },
+ "exposure": {
+ "time": "Exposure Time",
+ "program": "Exposure Program",
+ "mode": "Exposure Mode"
+ },
+ "camera": "Camera",
+ "lens": "Lens",
+ "maxAperture": "Maximum Aperture",
+ "wb": {
+ "title": "White Balance",
+ "shiftAB": "WB Offset(amber-blue)",
+ "shiftGM": "WB Offset(green-magenta)",
+ "bias": "WB Bias",
+ "fineTune": "WB FineTune"
+ },
+ "metering": {
+ "title": "Metering Mode"
+ },
+ "flash": {
+ "title": "Flash",
+ "meteringMode": "Flash Metering Mode"
+ },
+ "scene": {
+ "captureType": "Scene Capture Type"
+ },
+ "brightness": {
+ "value": "Brightness"
+ },
+ "sensing": {
+ "method": "Sensing Method"
+ }
+ },
+ "title": {
+ "gallery": "Gallery",
+ "fallback": {
+ "photo": "Photo"
+ },
+ "dashboard": "Dashboard",
+ "photos": "Photos",
+ "locations": "Locations"
+ }
+}
diff --git a/i18n/locales/zh-Hans.json b/i18n/locales/zh-Hans.json
new file mode 100644
index 00000000..8181d2a0
--- /dev/null
+++ b/i18n/locales/zh-Hans.json
@@ -0,0 +1,161 @@
+{
+ "map": {
+ "cluster": {
+ "details": "点击图片查看详情",
+ "nearbyPhotos": "附近有 {0} 张照片"
+ }
+ },
+ "ui": {
+ "livePhoto": "实况",
+ "action": {
+ "dashboard": {
+ "tooltip": "控制台"
+ },
+ "explore": {
+ "tooltip": "探索地图"
+ },
+ "filter": {
+ "empty": {
+ "cameras": "没有相机信息",
+ "cities": "没有城市信息",
+ "lenses": "没有镜头信息",
+ "tags": "没有标签"
+ },
+ "rating": {
+ "showAll": "展示所有照片",
+ "showStarsAndAbove": "展示 {count} 星以上的照片"
+ },
+ "tabs": {
+ "cameras": "相机",
+ "cities": "城市",
+ "lenses": "镜头",
+ "ratings": "评分",
+ "tags": "标签"
+ },
+ "title": "筛选照片",
+ "tooltip": "筛选照片",
+ "clearAll": "清除全部"
+ },
+ "logout": {
+ "tooltip": "登出"
+ },
+ "sort": {
+ "options": {
+ "dateTakenAsc": "日期(最旧的在前)",
+ "dateTakenDesc": "日期(最新的在前)",
+ "fileSizeAsc": "文件大小(升序)",
+ "fileSizeDesc": "文件大小(降序)",
+ "titleAsc": "标题(A-Z)",
+ "titleDesc": "标题(Z-A)"
+ },
+ "title": "排序方式",
+ "tooltip": "照片排序"
+ },
+ "theme": {
+ "tooltip": "颜色主题"
+ }
+ },
+ "stats": {
+ "totalPhotosWithRange": "{range}, 共 @:plural.photo"
+ }
+ },
+ "minimap": {
+ "loading": "加载小地图..."
+ },
+ "viewer": {
+ "hint": {
+ "livePhoto": {
+ "mobile": "长按播放实况照片 · 双击或捏合缩放",
+ "desktop": "悬停左上播放 · 双击/滚轮缩放"
+ },
+ "mobile": "双击或捏合缩放",
+ "desktop": "双击或用鼠标滚轮缩放"
+ }
+ },
+ "exif": {
+ "sections": {
+ "basic": "基本信息",
+ "deviceInfomation": "设备信息",
+ "specification": "技术参数",
+ "rating": "评分",
+ "tags": "标签",
+ "histogram": "直方图",
+ "capture": {},
+ "shooting": {
+ "parameters": "拍摄参数",
+ "mode": "拍摄模式"
+ }
+ },
+ "filename": "文件名",
+ "fileSize": "文件大小",
+ "resolution": "分辨率",
+ "pixels": "像素",
+ "dateTaken": {
+ "title": "拍摄时间"
+ },
+ "colorSpace": {
+ "title": "色彩空间"
+ },
+ "artist": "艺术家",
+ "software": "软件",
+ "tz": "时区",
+ "country": "国家",
+ "city": "城市",
+ "gps": {
+ "title": "坐标"
+ },
+ "focal": {
+ "length": {
+ "actual": "焦距",
+ "equivalent": "35mm 等效"
+ },
+ "plane": {
+ "resolution": "焦平面分辨率"
+ }
+ },
+ "maxAperture": "最大光圈",
+ "aperture": "光圈",
+ "exposure": {
+ "time": "曝光时间",
+ "program": "曝光程序",
+ "mode": "曝光模式"
+ },
+ "camera": "相机",
+ "lens": "镜头",
+ "wb": {
+ "title": "白平衡",
+ "shiftAB": "白平衡偏移(琥珀-蓝)",
+ "shiftGM": "白平衡偏移(绿-品红)",
+ "bias": "白平衡偏移",
+ "fineTune": "白平衡微调"
+ },
+ "metering": {
+ "title": "测光模式"
+ },
+ "flash": {
+ "title": "闪光灯",
+ "meteringMode": "闪光灯测光模式"
+ },
+ "scene": {
+ "captureType": "场景捕捉类型"
+ },
+ "brightness": {
+ "value": "亮度"
+ },
+ "sensing": {
+ "method": "感光方式"
+ }
+ },
+ "plural": {
+ "photo": "没有照片 | 一张照片 | {count} 张照片"
+ },
+ "title": {
+ "dashboard": "仪表板",
+ "fallback": {
+ "photo": "照片"
+ },
+ "gallery": "相册",
+ "locations": "位置",
+ "photos": "照片"
+ }
+}
diff --git a/i18n/locales/zh-Hant.json b/i18n/locales/zh-Hant.json
new file mode 100644
index 00000000..dcc27f4e
--- /dev/null
+++ b/i18n/locales/zh-Hant.json
@@ -0,0 +1,161 @@
+{
+ "map": {
+ "cluster": {
+ "details": "點擊圖片查看詳情",
+ "nearbyPhotos": "附近有 {0} 張照片"
+ }
+ },
+ "ui": {
+ "livePhoto": "實況",
+ "action": {
+ "dashboard": {
+ "tooltip": "控制台"
+ },
+ "explore": {
+ "tooltip": "探索地圖"
+ },
+ "filter": {
+ "empty": {
+ "cameras": "沒有相機信息",
+ "cities": "沒有城市信息",
+ "lenses": "沒有鏡頭信息",
+ "tags": "沒有標籤"
+ },
+ "rating": {
+ "showAll": "展示所有照片",
+ "showStarsAndAbove": "展示 {count} 星以上的照片"
+ },
+ "tabs": {
+ "cameras": "相機",
+ "cities": "城市",
+ "lenses": "鏡頭",
+ "ratings": "評分",
+ "tags": "標籤"
+ },
+ "title": "篩選照片",
+ "tooltip": "篩選照片",
+ "clearAll": "清除全部"
+ },
+ "logout": {
+ "tooltip": "登出"
+ },
+ "sort": {
+ "options": {
+ "dateTakenAsc": "日期(最旧的在前)",
+ "dateTakenDesc": "日期(最新的在前)",
+ "fileSizeAsc": "文件大小(升序)",
+ "fileSizeDesc": "文件大小(降序)",
+ "titleAsc": "標題(A-Z)",
+ "titleDesc": "標題(Z-A)"
+ },
+ "title": "排序方式",
+ "tooltip": "照片排序"
+ },
+ "theme": {
+ "tooltip": "顏色主題"
+ }
+ },
+ "stats": {
+ "totalPhotosWithRange": "{range}, 共 @:plural.photo"
+ }
+ },
+ "minimap": {
+ "loading": "加載小地圖..."
+ },
+ "viewer": {
+ "hint": {
+ "livePhoto": {
+ "mobile": "長按播放實況照片 · 雙擊或捏合縮放",
+ "desktop": "懸停左上播放 · 雙擊/滾輪縮放"
+ },
+ "mobile": "雙擊或捏合縮放",
+ "desktop": "雙擊或用鼠標滾輪縮放"
+ }
+ },
+ "exif": {
+ "sections": {
+ "basic": "基本信息",
+ "deviceInfomation": "設備信息",
+ "specification": "技術參數",
+ "rating": "評分",
+ "tags": "標籤",
+ "histogram": "直方圖",
+ "capture": {},
+ "shooting": {
+ "parameters": "拍攝參數",
+ "mode": "拍攝模式"
+ }
+ },
+ "aperture": "光圈",
+ "filename": "文件名",
+ "fileSize": "文件大小",
+ "resolution": "分辨率",
+ "pixels": "像素",
+ "dateTaken": {
+ "title": "拍攝時間"
+ },
+ "colorSpace": {
+ "title": "色彩空間"
+ },
+ "artist": "藝術家",
+ "software": "軟體",
+ "tz": "時區",
+ "country": "國家",
+ "city": "城市",
+ "gps": {
+ "title": "坐標"
+ },
+ "focal": {
+ "length": {
+ "actual": "焦距",
+ "equivalent": "35mm 等效"
+ },
+ "plane": {
+ "resolution": "焦平面分辨率"
+ }
+ },
+ "exposure": {
+ "time": "曝光時間",
+ "program": "曝光程序",
+ "mode": "曝光模式"
+ },
+ "camera": "相機",
+ "lens": "鏡頭",
+ "maxAperture": "最大光圈",
+ "wb": {
+ "title": "白平衡",
+ "shiftAB": "白平衡偏移(琥珀-藍)",
+ "shiftGM": "白平衡偏移(綠-品紅)",
+ "bias": "白平衡偏移",
+ "fineTune": "白平衡微調"
+ },
+ "metering": {
+ "title": "測光模式"
+ },
+ "flash": {
+ "title": "閃光燈",
+ "meteringMode": "閃光燈測光模式"
+ },
+ "scene": {
+ "captureType": "場景捕捉類型"
+ },
+ "brightness": {
+ "value": "亮度"
+ },
+ "sensing": {
+ "method": "感光方式"
+ }
+ },
+ "plural": {
+ "photo": "沒有照片 | 一張照片 | {count} 張照片"
+ },
+ "title": {
+ "dashboard": "儀表板",
+ "fallback": {
+ "photo": "照片"
+ },
+ "locations": "位置",
+ "photos": "照片",
+ "gallery": "畫廊"
+ }
+}
diff --git a/nuxt.config.ts b/nuxt.config.ts
index 8ea9bd32..d6884d88 100644
--- a/nuxt.config.ts
+++ b/nuxt.config.ts
@@ -18,12 +18,18 @@ export default defineNuxtConfig({
'nuxt-auth-utils',
'@vueuse/nuxt',
'dayjs-nuxt',
+ '@nuxtjs/i18n',
'nuxt-mapbox',
],
css: ['~/assets/css/tailwind.css'],
runtimeConfig: {
+ public: {
+ APP_TITLE: 'ChronoFrame',
+ APP_SLOGAN: '',
+ APP_AVATAR_URL: '/avatar.webp',
+ },
STORAGE_PROVIDER: 's3',
PROVIDER_S3_ENDPOINT: '',
PROVIDER_S3_BUCKET: '',
@@ -32,8 +38,6 @@ export default defineNuxtConfig({
PROVIDER_S3_SECRET_ACCESS_KEY: '',
PROVIDER_S3_PREFIX: '',
PROVIDER_S3_CDN_URL: '',
- CLOUDFLARE_API_TOKEN: '',
- CLOUDFLARE_D1_UUID: '',
},
nitro: {
@@ -53,12 +57,20 @@ export default defineNuxtConfig({
},
dayjs: {
- locales: ['zh-cn', 'en'],
- plugins: ['relativeTime', 'utc', 'timezone', 'duration'],
- defaultLocale: 'zh-cn',
+ locales: ['zh-cn', 'zh-hk', 'en'],
+ plugins: ['relativeTime', 'utc', 'timezone', 'duration', 'localizedFormat'],
defaultTimezone: 'Asia/Shanghai',
},
+ i18n: {
+ strategy: 'no_prefix',
+ locales: [
+ { code: 'zh-Hans', name: '简体中文', file: 'zh-Hans.json' },
+ { code: 'zh-Hant', name: '繁体中文', file: 'zh-Hant.json' },
+ { code: 'en', name: 'English', file: 'en.json' },
+ ],
+ },
+
mapbox: {
accessToken: process.env.MAPBOX_TOKEN || '',
},
diff --git a/package.json b/package.json
index acede668..c838a38c 100644
--- a/package.json
+++ b/package.json
@@ -31,6 +31,7 @@
"@nuxt/image": "1.11.0",
"@nuxt/ui": "^3.3.2",
"@nuxthub/core": "0.9.0",
+ "@nuxtjs/i18n": "10.1.0",
"@pinia/nuxt": "^0.11.2",
"@tailwindcss/vite": "^4.1.12",
"@vingle/bmp-js": "^0.2.5",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index ae1c0ec1..11954ccb 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -32,6 +32,9 @@ importers:
'@nuxthub/core':
specifier: 0.9.0
+ '@nuxtjs/i18n':
+ specifier: 10.1.0
'@pinia/nuxt':
specifier: ^0.11.2
@@ -43,7 +46,7 @@ importers:
version: 0.2.5
'@vueuse/nuxt':
specifier: 13.8.0
better-sqlite3:
specifier: ^12.2.0
version: 12.2.0
@@ -79,7 +82,7 @@ importers:
nuxt:
specifier: ^4.0.3
nuxt-auth-utils:
specifier: 0.5.23
version: 0.5.23([email protected])
@@ -134,7 +137,7 @@ importers:
version: 1.2.22
'@nuxt/eslint':
specifier: 1.9.0
'@nuxt/test-utils':
specifier: 3.19.2
@@ -1580,6 +1583,73 @@ packages:
'@internationalized/[email protected]':
resolution: {integrity: sha512-P+/h+RDaiX8EGt3shB9AYM1+QgkvHmJ5rKi4/59k4sg9g58k9rqsRW0WxRO7jCoHyvVbFRRFKmVTdFYdehrxHg==}
+ '@intlify/[email protected]':
+ resolution: {integrity: sha512-5l10G5wE2cQRsZMS9y0oSFMOLW5IG/SgbkIUltqnwF1EMRrRbUAHFiPabXdGTHeexCsMTcxj/1w9i0rzjJU9IQ==}
+ engines: {node: '>= 20'}
+ peerDependencies:
+ petite-vue-i18n: '*'
+ vue-i18n: '*'
+ peerDependenciesMeta:
+ petite-vue-i18n:
+ optional: true
+ vue-i18n:
+ optional: true
+
+ '@intlify/[email protected]':
+ resolution: {integrity: sha512-whh0trqRsSqVLNEUCwU59pyJZYpU8AmSWl8M3Jz2Mv5ESPP6kFh4juas2NpZ1iCvy7GlNRffUD1xr84gceimjg==}
+ engines: {node: '>= 16'}
+
+ '@intlify/[email protected]':
+ resolution: {integrity: sha512-Uccp4VtalUSk/b4F9nBBs7VGgIh9VnXTSHHQ+Kc0AetsHJLxdi04LfhfSi4dujtsTAWnHMHWZw07UbMm6Umq1g==}
+ engines: {node: '>= 16'}
+
+ '@intlify/[email protected]':
+ resolution: {integrity: sha512-D/9+L7IzPrOa7e6R/ztepXayAq+snfzBYIwAk3RbaQsLEXwVNjC5c+WKXjni1boc/plGRegw4/m33SaFwvdEpg==}
+ engines: {node: '>= 20'}
+
+ '@intlify/[email protected]':
+ resolution: {integrity: sha512-Fv9iQSJoJaXl4ZGkOCN1LDM3trzze0AS2zRz2EHLiwenwL6t0Ki9KySYlyr27yVOj5aVz0e55JePO+kELIvfdQ==}
+ engines: {node: '>= 16'}
+
+ '@intlify/[email protected]':
+ resolution: {integrity: sha512-Om86EjuQtA69hdNj3GQec9ZC0L0vPSAnXzB3gP/gyJ7+mA7t06d9aOAiqMZ+xEOsumGP4eEBlfl8zF2LOTzf2A==}
+ engines: {node: '>= 16'}
+
+ '@intlify/[email protected]':
+ resolution: {integrity: sha512-nH5NJdNjy/lO6Ne8LDtZzv4SbpVsMhPE+LbvBDmMeIeJDiino8sOJN2QB3MXzTliYTnqe3aB9Fw5+LJ/XVaXCg==}
+ engines: {node: '>= 20'}
+ peerDependencies:
+ petite-vue-i18n: '*'
+ vue: ^3.2.25
+ vue-i18n: '*'
+ peerDependenciesMeta:
+ petite-vue-i18n:
+ optional: true
+ vue-i18n:
+ optional: true
+
+ '@intlify/[email protected]':
+ resolution: {integrity: sha512-8i3uRdAxCGzuHwfmHcVjeLQBtysQB2aXl/ojoagDut5/gY5lvWCQ2+cnl2TiqE/fXj/D8EhWG/SLKA7qz4a3QA==}
+ engines: {node: '>= 18'}
+
+ '@intlify/[email protected]':
+ resolution: {integrity: sha512-w0+70CvTmuqbskWfzeYhn0IXxllr6mU+IeM2MU0M+j9OW64jkrvqY+pYFWrUnIIC9bEdij3NICruicwd5EgUuQ==}
+ engines: {node: '>= 18'}
+ peerDependencies:
+ '@intlify/shared': ^9.0.0 || ^10.0.0 || ^11.0.0
+ '@vue/compiler-dom': ^3.0.0
+ vue: ^3.0.0
+ vue-i18n: ^9.0.0 || ^10.0.0 || ^11.0.0
+ peerDependenciesMeta:
+ '@intlify/shared':
+ optional: true
+ '@vue/compiler-dom':
+ optional: true
+ vue:
+ optional: true
+ vue-i18n:
+ optional: true
+
'@ioredis/[email protected]':
resolution: {integrity: sha512-M/T6Zewn7sDaBQEqIZ8Rb+i9y8qfGmq+5SDFSf9sA2lUZTmdDLVdOiQaeDp+Q4wElZ9HG1GAX5KhDaidp6LQsQ==}
@@ -1705,6 +1775,11 @@ packages:
'@microsoft/[email protected]':
resolution: {integrity: sha512-4aErSrCR/On/e5G2hDP0wjooqDdauzEbIq8hIkIe5pXV0rtWJZvdCEKL0ykZxex+IxIwBp0eGeV48hQN07dXtw==}
+ '@miyaneee/[email protected]':
+ resolution: {integrity: sha512-JjTIaXZp9WzhUHpElrqPnl1AzBi/rvRs065F71+aTmlqvTMVkdbjZ8vfFl4nRlgJy+TPBw69ZK4pwFdmOAt4aA==}
+ peerDependencies:
+ rollup: ^1.20.0 || ^2.0.0 || ^3.0.0 || ^4.0.0
+
'@napi-rs/[email protected]':
resolution: {integrity: sha512-ZVWUcfwY4E/yPitQJl481FjFo3K22D6qF0DuFH6Y/nbnE11GY5uguDxZMGXPQ8WQ0128MXQD7TnfHyK4oWoIJQ==}
@@ -1926,6 +2001,10 @@ packages:
'@nuxtjs/[email protected]':
resolution: {integrity: sha512-cC6RfgZh3guHBMLLjrBB2Uti5eUoGM9KyauOaYS9ETmxNWBMTvpgjvSiSJp1OFljIXPIqVTJ3xtJpSNZiO3ZaA==}
+ '@nuxtjs/[email protected]':
+ resolution: {integrity: sha512-2h/6Y4ke+mYq3RrV71erTBn1HzKKKPGEJrzYW6GA8SAc91zb7jqyfRkElG95Cei+2+6XJrt73Djys5qTc0tCUw==}
+ engines: {node: '>=20.11.1'}
+
'@oxc-minify/[email protected]':
resolution: {integrity: sha512-OLelUqrLkSJwNyjLZHgpKy9n0+zHQiMX8A0GFovJIwhgfPxjT/mt2JMnGkSoDlTnf9cw6nvALFzCsJZLTyl8gg==}
engines: {node: '>=14.0.0'}
@@ -2021,181 +2100,362 @@ packages:
cpu: [arm64]
os: [android]
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-nGcfHGLkpy2R4Dm1TcpDDifVIZ0q50pvFkHgcbqLpdtbyM9NDlQp1SIgRdGtKPUXAVJz3LDV8hLYvCss8Bb5wg==}
+ engines: {node: '>=20.0.0'}
+ cpu: [arm64]
+ os: [android]
+
'@oxc-parser/[email protected]':
resolution: {integrity: sha512-cVGI6NeGs1u1Ev8yO7I+zXPQuduCwwhYXd/K64uygx+OFp7fC7zSIlkGpoxFRUuSxqyipC813foAfUOwM1Y0PA==}
engines: {node: '>=20.0.0'}
cpu: [arm64]
os: [darwin]
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-Xl0sB6UcAbU36d1nUs/JfPnihq0JD62xP7sFa/pML+ksxcwAEMMGzifOxNyQkInDzFp+Ql63GD7iJGbavPc5/w==}
+ engines: {node: '>=20.0.0'}
+ cpu: [arm64]
+ os: [darwin]
+
'@oxc-parser/[email protected]':
resolution: {integrity: sha512-h7wRo10ywI2vLz9VljFeIaUh9u7l2l3kvF6FAteY3cPqbCA6JYUZGJaykhMqTxJoG6wrzf35sMA2ubvq67iAMA==}
engines: {node: '>=20.0.0'}
cpu: [x64]
os: [darwin]
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-OyHZuZjHBnZ6SOXe8fDD3i0Vf+Q0oVuaaWu2+ZtxRYDcIDTG67uMN6tg+JkCkYU7elMEJp+Tgw38uEPQWnt3eg==}
+ engines: {node: '>=20.0.0'}
+ cpu: [x64]
+ os: [darwin]
+
'@oxc-parser/[email protected]':
resolution: {integrity: sha512-KcJ+8w/wVwd/XfDmgA9QZJAWML3vPu2O2Y8XRkf3U9VsN5n8cZ5PXMbH4NBSb3O7ctdDSvwnnuApLOz3sTHsUw==}
engines: {node: '>=20.0.0'}
cpu: [x64]
os: [freebsd]
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-FLkXVaHT3PQSHEZkSB99s3Bz/E03tXu2jvspmwu34tlmLaEk3dqoAvYS/uZcBtetGXa3Y48sW/rtBwW6jE811w==}
+ engines: {node: '>=20.0.0'}
+ cpu: [x64]
+ os: [freebsd]
+
'@oxc-parser/[email protected]':
resolution: {integrity: sha512-5OCRxV5fX5RkVqsag55m4EFeudSZ0nSMYXgdtfR/5JZSiYmIYyPycafNNa52liqC2gx27vzrDRE4FdlG+5fhww==}
engines: {node: '>=20.0.0'}
cpu: [arm]
os: [linux]
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-c4IXIYDmzMeuYaTtyWl9fj7L90BAN7KZ3eKKDWnmB+ekZd1QduKT8MJiLfv7/pSecxQFwzMTpZ0el++ccRprTQ==}
+ engines: {node: '>=20.0.0'}
+ cpu: [arm]
+ os: [linux]
+
'@oxc-parser/[email protected]':
resolution: {integrity: sha512-kMa2PeA2GHMhvV617WdFzDAWCo2A00knPEe6rxFUO/Gr8TTLv1/LlEY6UqGseWrRfkkhFiAO496nRPW/6B5DCg==}
engines: {node: '>=20.0.0'}
cpu: [arm]
os: [linux]
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-Jahl5EPtdF3z8Lv8/ErCgy5tF+324nPAaFxFC+xFjOE2NdS9e8IMeWR/WbkO5pOSueEGq76GrjOX9uj9SsKqCw==}
+ engines: {node: '>=20.0.0'}
+ cpu: [arm]
+ os: [linux]
+
'@oxc-parser/[email protected]':
resolution: {integrity: sha512-y2NEhbFfKPdOkf3ZR/3xwJFJVji6IKxwXKHUN4bEdqpcO0tkXSCiP0MzTxjEY6ql2/MXdkqK0Ym92dYsRsgsyg==}
engines: {node: '>=20.0.0'}
cpu: [arm64]
os: [linux]
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-ufLjqUhcMMyIOzvI7BeRGWyhS5bBsuu2Mkks2wBVlpcs9dFbtlnvKv8SToiM/TTP/DFRu9SrKMVUyD0cuKVlcw==}
+ engines: {node: '>=20.0.0'}
+ cpu: [arm64]
+ os: [linux]
+
'@oxc-parser/[email protected]':
resolution: {integrity: sha512-j3tKausSXwHS/Ej6ct2dmKJtw0UIME2XJmj6QfPT6LyUSNTndj4yXRXuMSrCOrX9/0qH9GhmqeL9ouU27dQRFw==}
engines: {node: '>=20.0.0'}
cpu: [arm64]
os: [linux]
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-U4pce3jsMe1s8/BLrCJPqNFdm8IJRhk9Mwf0qw4D6KLa14LT/j32b7kASnFxpy+U0X8ywHGsir8nwPEcWsvrzA==}
+ engines: {node: '>=20.0.0'}
+ cpu: [arm64]
+ os: [linux]
+
'@oxc-parser/[email protected]':
resolution: {integrity: sha512-h+uPvyTcpTFd946fGPU57sZeec2qHPUYQRZeXHB2uuZjps+9pxQ5zIz0EBM/JgBtnwdtoR93RAu1YNAVbqY5Zw==}
engines: {node: '>=20.0.0'}
cpu: [riscv64]
os: [linux]
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-AjjSbkoy0oHQaGMsLg7O+gY/Vbx12K7IWbxheDO1BNL0eIwiL3xRrhKdTtaHU1KcHm2/asTtwYdndAzXQX5Jyw==}
+ engines: {node: '>=20.0.0'}
+ cpu: [riscv64]
+ os: [linux]
+
'@oxc-parser/[email protected]':
resolution: {integrity: sha512-+u74hV+WwCPL4UBNOJaIGRozTCfZ7pM5JCEe8zAlMkKexftUzbtvW02314bVD9bqoRAL3Gg6jcZrjNjwDX2FwQ==}
engines: {node: '>=20.0.0'}
cpu: [s390x]
os: [linux]
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-Dx4tOdUekDMa3k18MjogWLy+b9z3RmLBf4OUSwJs5iGkr/nc7kph/N8IPI4thVw4KbhEPZOq6SKUp7Q6FhPRzA==}
+ engines: {node: '>=20.0.0'}
+ cpu: [s390x]
+ os: [linux]
+
'@oxc-parser/[email protected]':
resolution: {integrity: sha512-N9UGnWVWMlOJH+6550tqyBxd9qkMd0f4m+YRA0gly6efJTuLbPQpjkJm7pJbMu+GULcvSJ/Y0bkMAIQTtwP0vQ==}
engines: {node: '>=20.0.0'}
cpu: [x64]
os: [linux]
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-B4RwYZqmgZJg2AV3YWR8/zyjg2t/2GwEIdd5WS4NkDxX9NzHNv1tz1uwGurPyFskO9/S0PoXDFGeESCI5GrkuA==}
+ engines: {node: '>=20.0.0'}
+ cpu: [x64]
+ os: [linux]
+
'@oxc-parser/[email protected]':
resolution: {integrity: sha512-l2N/GlFEri27QBMi0e53V/SlpQotIvHbz+rZZG/EO+vn58ZEr0eTG+PjJoOY/T8+TQb8nrCtRe4S/zNDpV6zSQ==}
engines: {node: '>=20.0.0'}
cpu: [x64]
os: [linux]
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-VvZlPOG03uKRYPgynVcIvR42ygNRo4kiLKaoKWdpQESSfc1uRD6fNQI5V/O9dAfEmZuTM9dhpgszr9McCeRK6A==}
+ engines: {node: '>=20.0.0'}
+ cpu: [x64]
+ os: [linux]
+
'@oxc-parser/[email protected]':
resolution: {integrity: sha512-5iEwQqMXU1HiRlWuD3f+8N2O3qWhS+nOFEAWgE3sjMUnTtILPJETYhaGBPqqPWg1iRO3+hE1lEBCdI91GS1CUQ==}
engines: {node: '>=14.0.0'}
cpu: [wasm32]
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-uGGqDuiO9JKWq5CiNDToZJPTQx6zqp0Wlj5zsKlKuN7AslvhdyzITCAyY+mtRcNEPl+k7j5uR7aIWFFhGuqycA==}
+ engines: {node: '>=14.0.0'}
+ cpu: [wasm32]
+
'@oxc-parser/[email protected]':
resolution: {integrity: sha512-HedSH/Db7OFR2SugTbuawaV1vjgUjCXzxPquow/1FLtpRT2wASbMaRRbyD/h2n4DJ8V2zGqnV8Q+vic+VNvnKg==}
engines: {node: '>=20.0.0'}
cpu: [arm64]
os: [win32]
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-rWL3ieNa8nNk4XHRQ58Hrt249UanJhmzsuBOei3l5xmMleTAnTsvUxKMK4eiFw4Cdku7C5C5VJFgq7+9yPwn8Q==}
+ engines: {node: '>=20.0.0'}
+ cpu: [arm64]
+ os: [win32]
+
'@oxc-parser/[email protected]':
resolution: {integrity: sha512-SSiM0m7jG5yxVf0ivy1rF8OuTJo8ITgp1ccp2aqPZG6Qyl5QiVpf8HI1X5AvPFxts2B4Bv8U3Dip+FobqBkwcw==}
engines: {node: '>=20.0.0'}
cpu: [x64]
os: [win32]
+ '@oxc-parser/[email protected]':
+ resolution: {integrity: sha512-XZCXKi5SW4ekpIY6O4yDZJHiLeVCJgvr6aT+vyQbNMlSEXKOieFTUZPsp9QiohvkXZE60ZEUqX3TP+8z9A7RRQ==}
+ engines: {node: '>=20.0.0'}
+ cpu: [x64]
+ os: [win32]
+
'@oxc-project/[email protected]':
resolution: {integrity: sha512-xxHQm8wfCv2e8EmtaDwpMeAHOWqgQDAYg+BJouLXSQt5oTKu9TIXrgNMGSrM2fLvKmECsRd9uUFAAD+hPyootA==}
+ '@oxc-project/[email protected]':
+ resolution: {integrity: sha512-CnOqkybZK8z6Gx7Wb1qF7AEnSzbol1WwcIzxYOr8e91LytGOjo0wCpgoYWZo8sdbpqX+X+TJayIzo4Pv0R/KjA==}
+
'@oxc-transform/[email protected]':
resolution: {integrity: sha512-HAK6zIUOteptOsSRqoGu41cez7kj/OPJqBGdgdP6FFh2RFcRfh0vqefjgF69af7TjzsRxVF8itiWvFsJHrIFoA==}
engines: {node: '>=14.0.0'}
cpu: [arm64]
os: [android]
+ '@oxc-transform/[email protected]':
+ resolution: {integrity: sha512-Lli18mT/TaUsQSXL7Q08xatbOySqKhruNpI/mGvSbIHXX7TfznNbQ/zbzNftKa4tvbJnDUXz7SV9JO1wXOoYSw==}
+ engines: {node: '>=14.0.0'}
+ cpu: [arm64]
+ os: [android]
+
'@oxc-transform/[email protected]':
resolution: {integrity: sha512-sVcK4tjXbCfexlhquKVcwoKQrekQWDzRXtDwOWxm3CV1k5qGUm/rl5RAQLnXYtZVgu0U2dGEct9tNms+dzbACA==}
engines: {node: '>=14.0.0'}
cpu: [arm64]
os: [darwin]
+ '@oxc-transform/[email protected]':
+ resolution: {integrity: sha512-EseJY9FQa1Ipow4quJ36i+1C5oEbrwJ3eKGZPw48/H5/5S+JFMHwPaE3NOF/aSLw8lkH6ghY6qKWanal2Jh8bA==}
+ engines: {node: '>=14.0.0'}
+ cpu: [arm64]
+ os: [darwin]
+
'@oxc-transform/[email protected]':
resolution: {integrity: sha512-MWmDTJszdO3X2LvbvIZocdfJnb/wjr3zhU99IlruwxsFfVNHbl03091bXi1ABsV5dyU+47V/A5jG3xOtg5X0vQ==}
engines: {node: '>=14.0.0'}
cpu: [x64]
os: [darwin]
+ '@oxc-transform/[email protected]':
+ resolution: {integrity: sha512-L12EE6d/TveVsPKAaqqgW5IAA3xCh64RmsmJwxIJ7fBrnUg0qHfqENcxLfaFDwjDQe5mrZczuSYfOCwhoKWZdA==}
+ engines: {node: '>=14.0.0'}
+ cpu: [x64]
+ os: [darwin]
+
'@oxc-transform/[email protected]':
resolution: {integrity: sha512-fKuwj/iBfjfGePjcR9+j2TQ/7RlrUIT4ir/OAcHWYJ/kvxp4XY/juKYXo4lks/MW/dwe+UR1Lp6xiCQBuxpyIg==}
engines: {node: '>=14.0.0'}
cpu: [x64]
os: [freebsd]
+ '@oxc-transform/[email protected]':
+ resolution: {integrity: sha512-l1LbYOq+q6VVI+lIMFd+ehkqLokMj2Zjeyza4PSMzAfXYeaIFHDGiQBn1KE+IXMNN/E4Dwj6b3LwtvdB/uLpeQ==}
+ engines: {node: '>=14.0.0'}
+ cpu: [x64]
+ os: [freebsd]
+
'@oxc-transform/[email protected]':
resolution: {integrity: sha512-R0QdfKiV+ZFiM28UnyylOEtTBFjAb4XuHvQltUSUpylXXIbGd+0Z1WF5lY3Z776Vy00HWhYj/Vo03rhvjdVDTA==}
engines: {node: '>=14.0.0'}
cpu: [arm]
os: [linux]
+ '@oxc-transform/[email protected]':
+ resolution: {integrity: sha512-8xmYvtpi1GDvsp5nmvnKyjceHLyxLIn2Esolm7GFTGrLxmcPo+ZUn2huAZCuOzSbjAqNRV/nU8At/2N93tLphg==}
+ engines: {node: '>=14.0.0'}
+ cpu: [arm]
+ os: [linux]
+
'@oxc-transform/[email protected]':
resolution: {integrity: sha512-hIfp4LwyQMRhsY9ptx4UleffoY9wZofTmnHFhZTMdb/hoE97Vuqw7Ub2cLcWMu0FYHIX8zXCMd1CJjs2MV1X3w==}
engines: {node: '>=14.0.0'}
cpu: [arm]
os: [linux]
+ '@oxc-transform/[email protected]':
+ resolution: {integrity: sha512-YaLHLoaWVyI458zaF3yEBKq2YIoYFftmnEHJ7mvbYwhfvH6SDwQez2TnjZEoB/UD+LX9XQfiIfX6VP35RAPHUQ==}
+ engines: {node: '>=14.0.0'}
+ cpu: [arm]
+ os: [linux]
+
'@oxc-transform/[email protected]':
resolution: {integrity: sha512-mOYGji1m55BD2vV5m1qnrXbdqyPp/AU9p1Rn+0hM2zkE3pVkETCPvLevSvt4rHQZBZFIWeRGo47QNsNQyaZBsg==}
engines: {node: '>=14.0.0'}
cpu: [arm64]
os: [linux]
+ '@oxc-transform/[email protected]':
+ resolution: {integrity: sha512-jFTlu6KrTq/z9z/HfdsntxQz6lmrIyIOXC3iZVxyoz2MDulXHhYotKypRqBPPyblyKeMbX1BCPwwKiIyYfiXMQ==}
+ engines: {node: '>=14.0.0'}
+ cpu: [arm64]
+ os: [linux]
+
'@oxc-transform/[email protected]':
resolution: {integrity: sha512-kBBCQwr1GCkr/b0iXH+ijsg+CSPCAMSV2tu4LmG2PFaxBnZilMYfUyWHCAiskbbUADikecUfwX6hHIaQoMaixg==}
engines: {node: '>=14.0.0'}
cpu: [arm64]
os: [linux]
+ '@oxc-transform/[email protected]':
+ resolution: {integrity: sha512-Tk0fOSFxYN/CH2yZLF1Cy8rKHboW7OMubGULd9HUh3Mdi25yBngmc3sOdcLscLvBvutqgdSNn7e/gdPaodDlmw==}
+ engines: {node: '>=14.0.0'}
+ cpu: [arm64]
+ os: [linux]
+
'@oxc-transform/[email protected]':
resolution: {integrity: sha512-8CGJhHoD2Ttw8HtCNd/IWnGtL0Nsn448L2hZJtbDDGVUZUF4bbZFdXPnRt0QrEbupywoH6InN6q2imLous6xnw==}
engines: {node: '>=14.0.0'}
cpu: [riscv64]
os: [linux]
+ '@oxc-transform/[email protected]':
+ resolution: {integrity: sha512-8JWsRm8tR0DDLb+1UuZM/E46MscCGlklH5hMpKQpF2cH6NzED7184S7yMmamoIIuMQEGF6coOAToukoW0ItSzQ==}
+ engines: {node: '>=14.0.0'}
+ cpu: [riscv64]
+ os: [linux]
+
'@oxc-transform/[email protected]':
resolution: {integrity: sha512-V/Lb6m5loWzvdB/qo6eYvVXidQku/PA706JbeE/PPCup8At+BwOXnZjktv7LDxrpuqnO32tZDHUUc9Y3bzOEBw==}
engines: {node: '>=14.0.0'}
cpu: [s390x]
os: [linux]
+ '@oxc-transform/[email protected]':
+ resolution: {integrity: sha512-Tb08GTZR0inR0hMXoP7MQx4G5YCTObJ8GEbBHKWMtL71RJhJGnJIn63DY3uvfPbi1XNW7uSJSzQ0mWMzelPAgg==}
+ engines: {node: '>=14.0.0'}
+ cpu: [s390x]
+ os: [linux]
+
'@oxc-transform/[email protected]':
resolution: {integrity: sha512-03hHW04MQNb+ak27xo79nUkMjVu6146TNgeSapcDRATH4R0YMmXB2oPQK1K2nuBJzVZjBjH7Bus/I7tR3JasAg==}
engines: {node: '>=14.0.0'}
cpu: [x64]
os: [linux]
+ '@oxc-transform/[email protected]':
+ resolution: {integrity: sha512-RalVuZu/iDzGJeQpyQ3KaJLsD11kvb/SLqKt0MXMkq2lBfIB4A1Pdx4JL0RuvcqjLPEgEWq8GcAPiyVeTYEtVQ==}
+ engines: {node: '>=14.0.0'}
+ cpu: [x64]
+ os: [linux]
+
'@oxc-transform/[email protected]':
resolution: {integrity: sha512-BkXniuuHpo9cR2S3JDKIvmUrNvmm335owGW4rfp07HjVUsbq9e7bSnvOnyA3gXGdrPR2IgCWGi5nnXk2NN5Q0A==}
engines: {node: '>=14.0.0'}
cpu: [x64]
os: [linux]
+ '@oxc-transform/[email protected]':
+ resolution: {integrity: sha512-EdbKDZ4gA5jD5YKT15HgYMCcoHGYEqO5oFGn6uREWvc4BcJ6cDrK9oyttT5CO6Y35tgnSQElHVKDWXyTMIbQlA==}
+ engines: {node: '>=14.0.0'}
+ cpu: [x64]
+ os: [linux]
+
'@oxc-transform/[email protected]':
resolution: {integrity: sha512-jfRRXLtfSgTeJXBHj6qb+HHUd6hmYcyUNMBcTY8/k+JVsx0ThfrmCIufNlSJTt1zB+ugnMVMuQGeB0oF+aa86w==}
engines: {node: '>=14.0.0'}
cpu: [wasm32]
+ '@oxc-transform/[email protected]':
+ resolution: {integrity: sha512-NCAj6b7fQvxM9U3UkbfFxelx458w8t7CnyRNvxlFpQjESCaYZ6hUzxHL57TGKUq6P7jKt6xjDdoFnVwZ36SR6w==}
+ engines: {node: '>=14.0.0'}
+ cpu: [wasm32]
+
'@oxc-transform/[email protected]':
resolution: {integrity: sha512-bofcVhlAV1AKzbE0TgDH+h813pbwWwwRhN6tv/hD4qEuWh/qEjv8Xb3Ar15xfBfyLI53FoJascuaJAFzX+IN9A==}
engines: {node: '>=14.0.0'}
cpu: [arm64]
os: [win32]
+ '@oxc-transform/[email protected]':
+ resolution: {integrity: sha512-zwZMMQAwfRM0uk5iMHf6q1fXG8qCcKU30qOhzdrxfO/rD+2Xz/ZfRTkGJzxG2cXAaJ3TRUzYdTr6YLxgGfTIbQ==}
+ engines: {node: '>=14.0.0'}
+ cpu: [arm64]
+ os: [win32]
+
'@oxc-transform/[email protected]':
resolution: {integrity: sha512-MT6hQo9Kw/VuQUfX0fc0OpUdZesQruT0UNY9hxIcqcli7pbxMrvFBjkXo7oUb2151s/n+F4fyQOWvaR6zwxtDA==}
engines: {node: '>=14.0.0'}
cpu: [x64]
os: [win32]
+ '@oxc-transform/[email protected]':
+ resolution: {integrity: sha512-Y86Doj1eOkiY9Y+W51iJ3+/D9L+0eZ5Fl5AIQfQcHSGAjlF9geHeHxUsILZWEav12yuE/zeB5gO3AgJ801aJyQ==}
+ engines: {node: '>=14.0.0'}
+ cpu: [x64]
+ os: [win32]
+
'@parcel/[email protected]':
resolution: {integrity: sha512-KF8+j9nNbUN8vzOFDpRMsaKBHZ/mcjEjMToVMJOhTozkDonQFFrRcfdLWn6yWKCmJKmdVxSgHiYvTCef4/qcBA==}
engines: {node: '>= 10.0.0'}
@@ -2396,6 +2656,15 @@ packages:
rollup:
optional: true
+ '@rollup/[email protected]':
+ resolution: {integrity: sha512-RpupciIeZMUqhgFE97ba0s98mOFS7CWzN3EJNhJkqSv9XLlWYtwVdtE6cDw6ASOF/sZVFS7kRJXftaqM2Vakdw==}
+ engines: {node: '>=14.0.0'}
+ peerDependencies:
+ rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0
+ peerDependenciesMeta:
+ rollup:
+ optional: true
+
'@rollup/[email protected]':
resolution: {integrity: sha512-qWJ2ZTbmumwiLFomfzTyt5Kng4hwPi9rwCYN4SHb6eaRU1KNO4ccxINHr/VhH4GgPlt1XfSTLX2LBTme8ne4Zw==}
engines: {node: '>=14.0.0'}
@@ -3238,6 +3507,15 @@ packages:
resolution: {integrity: sha512-2aZ8i0cqPGjXb4BhkMsPYDkkuc2ZQ6yOpqwAuNwUoncELqoy5fRgOQtLR9gB0g902iS0NAkvpIzs27geVyVdPg==}
+ '@vue-macros/[email protected]':
+ resolution: {integrity: sha512-DMgq/rIh1H20WYNWU7krIbEfJRYDDhy7ix64GlT4AVUJZZWCZ5pxiYVJR3A3GmWQPkn7Pg7i3oIiGqu4JGC65w==}
+ engines: {node: '>=20.18.0'}
+ peerDependencies:
+ vue: ^2.7.0 || ^3.2.25
+ peerDependenciesMeta:
+ vue:
+ optional: true
+
'@vue-macros/[email protected]':
resolution: {integrity: sha512-8O2gWxWFiaoNkk7PGi0+p7NPGe/f8xJ3/INUufvje/RZOs7sJvlI1jnR4lydtRFa/mU0ylMXUXXjSK0fHDEYTA==}
engines: {node: '>=20.18.0'}
@@ -3266,21 +3544,27 @@ packages:
resolution: {integrity: sha512-/afpyvlkrSNYbPo94Qu8GtIOWS+g5TRdOvs6XZNw6pWQQmj5pBgSZvEPOIZlqWq0YvoUhDDQaQ2TnzuJdOV4hA==}
- resolution: {integrity: sha512-8TWXUyiqFd3GmP4JTX9hbiTFRwYHgVL/vr3cqhr4YQ258+9FADwvj7golk2sWNGHR67QgmCZ8gz80nQcMokhwg==}
+ resolution: {integrity: sha512-8i+LZ0vf6ZgII5Z9XmUvrCyEzocvWT+TeR2VBUVlzIH6Tyv57E20mPZ1bCS+tbejgUgmjrEh7q/0F0bibskAmw==}
resolution: {integrity: sha512-Drs6rPHQZx/pN9S6ml3Z3K/TWCIRPvzG2B/o5kFK9X0MNHt8/E+38tiRfojufrYBfA6FQUFB2qBBRXlcSXWtOA==}
- resolution: {integrity: sha512-whB44M59XKjqUEYOMPYU0ijUV0G+4fdrHVKDe32abNdX/kJe1NUEMqsi4cwzXa9kyM9w5S8WqFsrfo1ogtBZGQ==}
+ resolution: {integrity: sha512-jNtbu/u97wiyEBJlJ9kmdw7tAr5Vy0Aj5CgQmo+6pxWNQhXZDPsRr1UWPN4v3Zf82s2H3kF51IbzZ4jMWAgPlQ==}
resolution: {integrity: sha512-YWCm1CYaJ+2RvNmhCwI7t3I3nU+hOrWGWMsn+Z/kmm1jy5iinnVtlmkiZwbLlbV1SRizX7vHsc0/bG5dj0zRTg==}
+ resolution: {integrity: sha512-SXlyk6I5eUGBd2v8Ie7tF6ADHE9kCR6mBEuPyH1nUZ0h6Xx6nZI29i12sJKQmzbDyr2tUHMhhTt51Z6blbkTTQ==}
+
resolution: {integrity: sha512-/wx0VZtkWOPdiQLWPeQeqpHWR/LuNC7bHfSX7OayBTtUy8wur6vT6EQIX6Et86aED6J+y8tTw43qo2uoqGg5sw==}
+ resolution: {integrity: sha512-vKQ5olH5edFZdf5ZrlEgSO1j1DMA4u23TVK5XR1uMhvwnYvVdDF0nHXJUblL/GvzlShQbjhZZ2uvYmDlAbgo9w==}
+
resolution: {integrity: sha512-qYC3Psj9S/mfu9uVi5WvNZIzq+xnXMhOwbTFKKDD7b1lhpnn71jXSFdTQ+WsIEk0ONCd7VV2IMm7ONl6tbQ86A==}
@@ -3345,6 +3629,9 @@ packages:
resolution: {integrity: sha512-SoRGP596KU/ig6TfgkCMbXkr4YJ91n/QSdMuqeP5r3hVIYA3CPHUBCc7Skak0EAKV+5lL4KyIh61VA/pK1CIAA==}
+ resolution: {integrity: sha512-+2k1EQpnYuVuu3N7atWyG3/xoFWIVJZq4Mz8XNOdScFI0etES75fbny/oU4lKWk/577P1zmg0ioYvpGEDZ3DLw==}
+
'@vueuse/[email protected]':
resolution: {integrity: sha512-guoy26JQktXPcz+0n3GukWIy/JDNKti9v6VEMu6kV2sYBsWuGiTU8OWdg+ADfUbHg3/3DlqySDe7JmdHrktiww==}
@@ -4675,6 +4962,10 @@ packages:
resolution: {integrity: sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
+ resolution: {integrity: sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+
resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==}
engines: {node: '>=4'}
@@ -5399,6 +5690,10 @@ packages:
engines: {node: '>=6'}
hasBin: true
+ resolution: {integrity: sha512-WYDyuc/uFcGp6YtM2H0uKmUwieOuzeE/5YocFJLnLfclZ4inf3mRn8ZVy1s7Hxji7Jxm6Ss8gqpexD/GlKoGgg==}
+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
+
resolution: {integrity: sha512-FGuPw30AdOIUTRMC2OMRtQV+jkVj2cfPqSeWXv1NEAJ1qZ5zb1X6z1mFhbfOB/iy3ssJCD+3KuZ8r8C3uVFlAg==}
@@ -5947,6 +6242,9 @@ packages:
'@simplewebauthn/server':
optional: true
+ resolution: {integrity: sha512-CYZ2WjU+KCyCDVzjYUM4eEpMF0rkPmkpiFrybTqqQCRpUbPt2h3snswWIpFPXTi+osRCY6Og0W/XLAQgDL4FfQ==}
+
resolution: {integrity: sha512-xSdlAX/RvU9zO8awNN5Hk3WpfkCFQl83UQEa6/4n401HPaAsVXOj/8P0CJxozg4TMdhyKmaqcPbO9R7Ytg/cBQ==}
@@ -6022,10 +6320,18 @@ packages:
resolution: {integrity: sha512-lTEUQs+WBOXPUzMR/tWY4yT9D7xXwnENtRR7Epw/QcuYpV4fRveEA+zq8IGUwyyuWecl8jHrddCCuadw+kZOSA==}
engines: {node: '>=20.0.0'}
+ resolution: {integrity: sha512-iceu9s70mZyjKs6V2QX7TURkJj1crnKi9csGByWvOWwrR5rwq0U0f49yIlRAzMP4t7K2gRC1MnyMZggMhiwAVg==}
+ engines: {node: '>=20.0.0'}
+
resolution: {integrity: sha512-hWusSpynsn4MZP1KJa7e254xyVmowTUshvttpk7JfTt055YEJ+ad6memMJ9GJqPeeyydfnwwKkLy6eiwDn12xA==}
engines: {node: '>=14.0.0'}
+ resolution: {integrity: sha512-Sfb7sBZJoA7GPNlgeVvwqSS+fKFG5Lu2N4CJIlKPdkBgMDwVqUPOTVrEXHYaoYilA2x0VXVwLWqjcW3CwrfzSA==}
+ engines: {node: '>=14.0.0'}
+
resolution: {integrity: sha512-x5TJAZQD3kRnRBGZ+8uryMZUwkTYddwzBftkqyJIcmpBOXmoK/fwriRKATjZroR2d+aS7+2w1B0oz189bBTwfw==}
peerDependencies:
@@ -7098,6 +7404,10 @@ packages:
resolution: {integrity: sha512-y/mWCZinnvxjTKYhJ+pYxwD0mRLVvOtdS2Awbgxln6iEnt4rk0yBxeSBHkGJcPucRiG0e55mwWp+g/05rsrd6w==}
+ resolution: {integrity: sha512-KAB2lrSS48y91MzFPFuDg4hLbvDiyTjOVgaK7Erw+5AmZXNq4sFRVn8r6yxSLuNs15PaokrDRpS61ERY9uZOug==}
+ engines: {node: '>=10'}
+
resolution: {integrity: sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==}
engines: {node: '>=6'}
@@ -7262,6 +7572,15 @@ packages:
'@nuxt/kit':
optional: true
+ resolution: {integrity: sha512-ipjunvS5e2aFHBAUFuLbHl2aHKbXXXBhTxGT9wZx66fNVPdEQzVVitF8nODr1plANhTTa3UZ+DQu9uyLngMzoQ==}
+ peerDependencies:
+ '@vue/compiler-sfc': ^3.5.17
+ vue-router: ^4.5.1
+ peerDependenciesMeta:
+ vue-router:
+ optional: true
+
resolution: {integrity: sha512-PyGehCjd9Ny9h+Uer4McbBjjib3lHihcyUEILa7pHKl6+rh8N7sFyw4ZkV+N30Oq2zmIUG7iKs3qpL0r+gXAaQ==}
peerDependencies:
@@ -7563,6 +7882,12 @@ packages:
peerDependencies:
eslint: ^8.57.0 || ^9.0.0
+ resolution: {integrity: sha512-BnstPj3KLHLrsqbVU2UOrPmr0+Mv11bsUZG0PyCOzsawCivk8W00GMXHeVUWIDOgNaScCuZah47CZFE+Wnl8mw==}
+ engines: {node: '>= 16'}
+ peerDependencies:
+ vue: ^3.0.0
+
resolution: {integrity: sha512-ogAF3P97NPm8fJsE4by9dwSYtDwXIY1nFY9T6DyQnGHd1E2Da94w9JIolpe42LJGIl0DwOHBi8TcRPlPGwbTtw==}
peerDependencies:
@@ -7720,6 +8045,10 @@ packages:
resolution: {integrity: sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==}
engines: {node: '>=18'}
+ resolution: {integrity: sha512-E/+VitOorXSLiAqtTd7Yqax0/pAS3xaYMP+AUUJGOK1OZG3rhcj9fcJOM5HJ2VrP1FrStVCWr1muTfQCdj4tAA==}
+ engines: {node: ^14.17.0 || >=16.0.0}
+
resolution: {integrity: sha512-lcYcMxX2PO9XMGvAJkJ3OsNMw+/7FKes7/hgerGUYWIoWu5j/+YQqcZr5JnPZWzOsEBgMbSbiSTn/dv/69Mkpw==}
engines: {node: '>= 14.6'}
@@ -9233,6 +9562,77 @@ snapshots:
dependencies:
'@swc/helpers': 0.5.17
+ dependencies:
+ '@intlify/message-compiler': 11.1.12
+ '@intlify/shared': 11.1.12
+ acorn: 8.15.0
+ esbuild: 0.25.9
+ escodegen: 2.1.0
+ estree-walker: 2.0.2
+ jsonc-eslint-parser: 2.4.0
+ source-map-js: 1.2.1
+ yaml-eslint-parser: 1.3.0
+ optionalDependencies:
+
+ '@intlify/[email protected]':
+ dependencies:
+ '@intlify/message-compiler': 11.1.12
+ '@intlify/shared': 11.1.12
+
+ '@intlify/[email protected]':
+ dependencies:
+ '@intlify/core-base': 11.1.12
+ '@intlify/shared': 11.1.12
+
+ '@intlify/[email protected]':
+ dependencies:
+ '@intlify/core': 11.1.12
+ '@intlify/utils': 0.13.0
+
+ '@intlify/[email protected]':
+ dependencies:
+ '@intlify/shared': 11.1.12
+ source-map-js: 1.2.1
+
+ '@intlify/[email protected]': {}
+
+ dependencies:
+ '@eslint-community/eslint-utils': 4.7.0([email protected]([email protected]))
+ '@intlify/bundle-utils': 11.0.1([email protected]([email protected]([email protected])))
+ '@intlify/shared': 11.1.12
+ '@rollup/pluginutils': 5.2.0([email protected])
+ '@typescript-eslint/scope-manager': 8.40.0
+ '@typescript-eslint/typescript-estree': 8.40.0([email protected])
+ debug: 4.4.1
+ fast-glob: 3.3.3
+ pathe: 2.0.3
+ picocolors: 1.1.1
+ unplugin: 2.3.8
+ vue: 3.5.19([email protected])
+ optionalDependencies:
+ transitivePeerDependencies:
+ - '@vue/compiler-dom'
+ - eslint
+ - rollup
+ - supports-color
+ - typescript
+
+ '@intlify/[email protected]': {}
+
+ dependencies:
+ '@babel/parser': 7.28.3
+ optionalDependencies:
+ '@intlify/shared': 11.1.12
+ '@vue/compiler-dom': 3.5.21
+ vue: 3.5.19([email protected])
+
'@ioredis/[email protected]': {}
'@isaacs/[email protected]': {}
@@ -9407,6 +9807,12 @@ snapshots:
'@microsoft/[email protected]': {}
+ dependencies:
+ '@rollup/pluginutils': 5.2.0([email protected])
+ json5: 2.2.3
+ rollup: 4.47.1
+
'@napi-rs/[email protected]':
dependencies:
'@emnapi/core': 1.4.5
@@ -9665,6 +10071,37 @@ snapshots:
- supports-color
- typescript
+ dependencies:
+ '@antfu/install-pkg': 1.1.0
+ '@clack/prompts': 0.11.0
+ '@eslint/js': 9.33.0
+ '@nuxt/eslint-plugin': 1.9.0([email protected]([email protected]))([email protected])
+ '@stylistic/eslint-plugin': 5.2.3([email protected]([email protected]))
+ '@typescript-eslint/parser': 8.40.0([email protected]([email protected]))([email protected])
+ eslint: 9.33.0([email protected])
+ eslint-config-flat-gitignore: 2.1.0([email protected]([email protected]))
+ eslint-flat-config-utils: 2.1.1
+ eslint-merge-processors: 2.0.0([email protected]([email protected]))
+ eslint-plugin-import-lite: 0.3.0([email protected]([email protected]))([email protected])
+ eslint-plugin-jsdoc: 54.1.1([email protected]([email protected]))
+ eslint-plugin-regexp: 2.10.0([email protected]([email protected]))
+ eslint-plugin-unicorn: 60.0.0([email protected]([email protected]))
+ eslint-processor-vue-blocks: 2.0.0(@vue/[email protected])([email protected]([email protected]))
+ globals: 16.3.0
+ local-pkg: 1.1.2
+ pathe: 2.0.3
+ vue-eslint-parser: 10.2.0([email protected]([email protected]))
+ transitivePeerDependencies:
+ - '@typescript-eslint/utils'
+ - '@vue/compiler-sfc'
+ - eslint-import-resolver-node
+ - supports-color
+ - typescript
+
dependencies:
'@typescript-eslint/types': 8.40.0
@@ -9702,11 +10139,11 @@ snapshots:
- utf-8-validate
- vite
dependencies:
'@eslint/config-inspector': 1.2.0([email protected]([email protected]))
'@nuxt/kit': 4.0.3([email protected])
chokidar: 4.0.3
@@ -10163,6 +10600,64 @@ snapshots:
transitivePeerDependencies:
- magicast
+ dependencies:
+ '@intlify/core': 11.1.12
+ '@intlify/h3': 0.7.1
+ '@intlify/shared': 11.1.12
+ '@intlify/utils': 0.13.0
+ '@miyaneee/rollup-plugin-json5': 1.2.0([email protected])
+ '@nuxt/kit': 4.0.3([email protected])
+ '@rollup/plugin-yaml': 4.1.2([email protected])
+ '@vue/compiler-sfc': 3.5.21
+ cookie-es: 2.0.0
+ defu: 6.1.4
+ devalue: 5.1.1
+ h3: 1.15.4
+ knitwork: 1.2.0
+ magic-string: 0.30.18
+ mlly: 1.7.4
+ nuxt-define: 1.0.0
+ ohash: 2.0.11
+ oxc-parser: 0.81.0
+ oxc-transform: 0.81.0
+ oxc-walker: 0.4.0([email protected])
+ pathe: 2.0.3
+ typescript: 5.9.2
+ ufo: 1.6.1
+ unplugin: 2.3.8
+ transitivePeerDependencies:
+ - '@azure/app-configuration'
+ - '@azure/cosmos'
+ - '@azure/data-tables'
+ - '@azure/identity'
+ - '@azure/keyvault-secrets'
+ - '@azure/storage-blob'
+ - '@capacitor/preferences'
+ - '@deno/kv'
+ - '@netlify/blobs'
+ - '@planetscale/database'
+ - '@upstash/redis'
+ - '@vercel/blob'
+ - '@vercel/kv'
+ - '@vue/compiler-dom'
+ - aws4fetch
+ - db0
+ - eslint
+ - idb-keyval
+ - ioredis
+ - magicast
+ - petite-vue-i18n
+ - rollup
+ - supports-color
+ - uploadthing
+ - vue
+
'@oxc-minify/[email protected]':
optional: true
@@ -10213,99 +10708,195 @@ snapshots:
'@oxc-parser/[email protected]':
optional: true
+ '@oxc-parser/[email protected]':
+ optional: true
+
'@oxc-parser/[email protected]':
optional: true
+ '@oxc-parser/[email protected]':
+ optional: true
+
'@oxc-parser/[email protected]':
optional: true
+ '@oxc-parser/[email protected]':
+ optional: true
+
'@oxc-parser/[email protected]':
optional: true
+ '@oxc-parser/[email protected]':
+ optional: true
+
'@oxc-parser/[email protected]':
optional: true
+ '@oxc-parser/[email protected]':
+ optional: true
+
'@oxc-parser/[email protected]':
optional: true
+ '@oxc-parser/[email protected]':
+ optional: true
+
'@oxc-parser/[email protected]':
optional: true
+ '@oxc-parser/[email protected]':
+ optional: true
+
'@oxc-parser/[email protected]':
optional: true
+ '@oxc-parser/[email protected]':
+ optional: true
+
'@oxc-parser/[email protected]':
optional: true
+ '@oxc-parser/[email protected]':
+ optional: true
+
'@oxc-parser/[email protected]':
optional: true
+ '@oxc-parser/[email protected]':
+ optional: true
+
'@oxc-parser/[email protected]':
optional: true
+ '@oxc-parser/[email protected]':
+ optional: true
+
'@oxc-parser/[email protected]':
optional: true
+ '@oxc-parser/[email protected]':
+ optional: true
+
'@oxc-parser/[email protected]':
dependencies:
'@napi-rs/wasm-runtime': 1.0.3
optional: true
+ '@oxc-parser/[email protected]':
+ dependencies:
+ '@napi-rs/wasm-runtime': 1.0.3
+ optional: true
+
'@oxc-parser/[email protected]':
optional: true
+ '@oxc-parser/[email protected]':
+ optional: true
+
'@oxc-parser/[email protected]':
optional: true
+ '@oxc-parser/[email protected]':
+ optional: true
+
'@oxc-project/[email protected]': {}
+ '@oxc-project/[email protected]': {}
+
'@oxc-transform/[email protected]':
optional: true
+ '@oxc-transform/[email protected]':
+ optional: true
+
'@oxc-transform/[email protected]':
optional: true
+ '@oxc-transform/[email protected]':
+ optional: true
+
'@oxc-transform/[email protected]':
optional: true
+ '@oxc-transform/[email protected]':
+ optional: true
+
'@oxc-transform/[email protected]':
optional: true
+ '@oxc-transform/[email protected]':
+ optional: true
+
'@oxc-transform/[email protected]':
optional: true
+ '@oxc-transform/[email protected]':
+ optional: true
+
'@oxc-transform/[email protected]':
optional: true
+ '@oxc-transform/[email protected]':
+ optional: true
+
'@oxc-transform/[email protected]':
optional: true
+ '@oxc-transform/[email protected]':
+ optional: true
+
'@oxc-transform/[email protected]':
optional: true
+ '@oxc-transform/[email protected]':
+ optional: true
+
'@oxc-transform/[email protected]':
optional: true
+ '@oxc-transform/[email protected]':
+ optional: true
+
'@oxc-transform/[email protected]':
optional: true
+ '@oxc-transform/[email protected]':
+ optional: true
+
'@oxc-transform/[email protected]':
optional: true
+ '@oxc-transform/[email protected]':
+ optional: true
+
'@oxc-transform/[email protected]':
optional: true
+ '@oxc-transform/[email protected]':
+ optional: true
+
'@oxc-transform/[email protected]':
dependencies:
'@napi-rs/wasm-runtime': 1.0.3
optional: true
+ '@oxc-transform/[email protected]':
+ dependencies:
+ '@napi-rs/wasm-runtime': 1.0.3
+ optional: true
+
'@oxc-transform/[email protected]':
optional: true
+ '@oxc-transform/[email protected]':
+ optional: true
+
'@oxc-transform/[email protected]':
optional: true
+ '@oxc-transform/[email protected]':
+ optional: true
+
'@parcel/[email protected]':
optional: true
@@ -10482,6 +11073,14 @@ snapshots:
optionalDependencies:
rollup: 4.47.1
+ dependencies:
+ '@rollup/pluginutils': 5.2.0([email protected])
+ js-yaml: 4.1.0
+ tosource: 2.0.0-alpha.3
+ optionalDependencies:
+ rollup: 4.47.1
+
dependencies:
'@types/estree': 1.0.8
@@ -11448,6 +12047,16 @@ snapshots:
path-browserify: 1.0.1
vscode-uri: 3.1.0
+ dependencies:
+ '@vue/compiler-sfc': 3.5.21
+ ast-kit: 2.1.2
+ local-pkg: 1.1.2
+ magic-string-ast: 1.0.2
+ unplugin-utils: 0.2.5
+ optionalDependencies:
+ vue: 3.5.19([email protected])
+
dependencies:
'@vue/compiler-sfc': 3.5.19
@@ -11495,10 +12104,10 @@ snapshots:
estree-walker: 2.0.2
source-map-js: 1.2.1
dependencies:
'@babel/parser': 7.28.3
- '@vue/shared': 3.5.20
+ '@vue/shared': 3.5.21
entities: 4.5.0
estree-walker: 2.0.2
source-map-js: 1.2.1
@@ -11508,10 +12117,10 @@ snapshots:
'@vue/compiler-core': 3.5.19
'@vue/shared': 3.5.19
dependencies:
- '@vue/compiler-core': 3.5.20
- '@vue/shared': 3.5.20
+ '@vue/compiler-core': 3.5.21
+ '@vue/shared': 3.5.21
dependencies:
@@ -11525,11 +12134,28 @@ snapshots:
postcss: 8.5.6
source-map-js: 1.2.1
+ dependencies:
+ '@babel/parser': 7.28.3
+ '@vue/compiler-core': 3.5.21
+ '@vue/compiler-dom': 3.5.21
+ '@vue/compiler-ssr': 3.5.21
+ '@vue/shared': 3.5.21
+ estree-walker: 2.0.2
+ magic-string: 0.30.18
+ postcss: 8.5.6
+ source-map-js: 1.2.1
+
dependencies:
'@vue/compiler-dom': 3.5.19
'@vue/shared': 3.5.19
+ dependencies:
+ '@vue/compiler-dom': 3.5.21
+ '@vue/shared': 3.5.21
+
dependencies:
de-indent: 1.0.2
@@ -11583,7 +12209,7 @@ snapshots:
dependencies:
'@volar/language-core': 2.4.15
- '@vue/compiler-dom': 3.5.20
+ '@vue/compiler-dom': 3.5.21
'@vue/compiler-vue2': 2.7.16
'@vue/shared': 3.5.20
alien-signals: 1.0.13
@@ -11632,6 +12258,8 @@ snapshots:
'@vue/[email protected]': {}
+ '@vue/[email protected]': {}
+
dependencies:
'@types/web-bluetooth': 0.0.20
@@ -11684,13 +12312,13 @@ snapshots:
'@vueuse/[email protected]': {}
dependencies:
'@nuxt/kit': 3.18.1([email protected])
'@vueuse/core': 13.8.0([email protected]([email protected]))
'@vueuse/metadata': 13.8.0
local-pkg: 1.1.2
vue: 3.5.19([email protected])
transitivePeerDependencies:
- magicast
@@ -12924,6 +13552,11 @@ snapshots:
'@vue/compiler-sfc': 3.5.19
eslint: 9.33.0([email protected])
+ dependencies:
+ '@vue/compiler-sfc': 3.5.21
+ eslint: 9.33.0([email protected])
+
dependencies:
esrecurse: 4.3.0
@@ -12987,6 +13620,12 @@ snapshots:
acorn-jsx: 5.3.2([email protected])
eslint-visitor-keys: 4.2.1
+ dependencies:
+ acorn: 8.15.0
+ acorn-jsx: 5.3.2([email protected])
+ eslint-visitor-keys: 3.4.3
+
@@ -13704,6 +14343,13 @@ snapshots:
+ dependencies:
+ acorn: 8.15.0
+ eslint-visitor-keys: 3.4.3
+ espree: 9.6.1
+ semver: 7.7.2
+
dependencies:
universalify: 2.0.1
@@ -14365,6 +15011,8 @@ snapshots:
- bcrypt
- magicast
+
dependencies:
'@mapbox/mapbox-gl-geocoder': 5.1.0-beta.0([email protected])
@@ -14383,7 +15031,7 @@ snapshots:
- utf-8-validate
- vite
dependencies:
'@nuxt/cli': 3.28.0([email protected])
'@nuxt/devalue': 2.0.2
@@ -14442,7 +15090,7 @@ snapshots:
unctx: 2.4.1
unimport: 5.2.0
unplugin: 2.3.8
untyped: 2.0.0
vue: 3.5.19([email protected])
@@ -14609,6 +15257,26 @@ snapshots:
'@oxc-parser/binding-win32-arm64-msvc': 0.80.0
'@oxc-parser/binding-win32-x64-msvc': 0.80.0
+ dependencies:
+ '@oxc-project/types': 0.81.0
+ optionalDependencies:
+ '@oxc-parser/binding-android-arm64': 0.81.0
+ '@oxc-parser/binding-darwin-arm64': 0.81.0
+ '@oxc-parser/binding-darwin-x64': 0.81.0
+ '@oxc-parser/binding-freebsd-x64': 0.81.0
+ '@oxc-parser/binding-linux-arm-gnueabihf': 0.81.0
+ '@oxc-parser/binding-linux-arm-musleabihf': 0.81.0
+ '@oxc-parser/binding-linux-arm64-gnu': 0.81.0
+ '@oxc-parser/binding-linux-arm64-musl': 0.81.0
+ '@oxc-parser/binding-linux-riscv64-gnu': 0.81.0
+ '@oxc-parser/binding-linux-s390x-gnu': 0.81.0
+ '@oxc-parser/binding-linux-x64-gnu': 0.81.0
+ '@oxc-parser/binding-linux-x64-musl': 0.81.0
+ '@oxc-parser/binding-wasm32-wasi': 0.81.0
+ '@oxc-parser/binding-win32-arm64-msvc': 0.81.0
+ '@oxc-parser/binding-win32-x64-msvc': 0.81.0
+
optionalDependencies:
'@oxc-transform/binding-android-arm64': 0.80.0
@@ -14627,12 +15295,36 @@ snapshots:
'@oxc-transform/binding-win32-arm64-msvc': 0.80.0
'@oxc-transform/binding-win32-x64-msvc': 0.80.0
+ optionalDependencies:
+ '@oxc-transform/binding-android-arm64': 0.81.0
+ '@oxc-transform/binding-darwin-arm64': 0.81.0
+ '@oxc-transform/binding-darwin-x64': 0.81.0
+ '@oxc-transform/binding-freebsd-x64': 0.81.0
+ '@oxc-transform/binding-linux-arm-gnueabihf': 0.81.0
+ '@oxc-transform/binding-linux-arm-musleabihf': 0.81.0
+ '@oxc-transform/binding-linux-arm64-gnu': 0.81.0
+ '@oxc-transform/binding-linux-arm64-musl': 0.81.0
+ '@oxc-transform/binding-linux-riscv64-gnu': 0.81.0
+ '@oxc-transform/binding-linux-s390x-gnu': 0.81.0
+ '@oxc-transform/binding-linux-x64-gnu': 0.81.0
+ '@oxc-transform/binding-linux-x64-musl': 0.81.0
+ '@oxc-transform/binding-wasm32-wasi': 0.81.0
+ '@oxc-transform/binding-win32-arm64-msvc': 0.81.0
+ '@oxc-transform/binding-win32-x64-msvc': 0.81.0
+
dependencies:
estree-walker: 3.0.3
magic-regexp: 0.10.0
oxc-parser: 0.80.0
+ dependencies:
+ estree-walker: 3.0.3
+ magic-regexp: 0.10.0
+ oxc-parser: 0.81.0
+
@@ -15785,6 +16477,8 @@ snapshots:
+
@@ -15953,10 +16647,32 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ dependencies:
+ '@vue-macros/common': 3.0.0-beta.15([email protected]([email protected]))
+ '@vue/compiler-sfc': 3.5.21
+ ast-walker-scope: 0.8.2
+ chokidar: 4.0.3
+ fast-glob: 3.3.3
+ json5: 2.2.3
+ local-pkg: 1.1.2
+ magic-string: 0.30.18
+ mlly: 1.7.4
+ pathe: 2.0.3
+ picomatch: 4.0.3
+ scule: 1.3.0
+ unplugin: 2.3.8
+ unplugin-utils: 0.2.5
+ yaml: 2.8.1
+ optionalDependencies:
+ transitivePeerDependencies:
+ - vue
+
dependencies:
'@vue-macros/common': 3.0.0-beta.16([email protected]([email protected]))
- '@vue/compiler-sfc': 3.5.19
+ '@vue/compiler-sfc': 3.5.21
'@vue/language-core': 3.0.6([email protected])
ast-walker-scope: 0.8.2
chokidar: 4.0.3
@@ -16300,6 +17016,13 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ dependencies:
+ '@intlify/core-base': 11.1.12
+ '@intlify/shared': 11.1.12
+ '@vue/devtools-api': 6.6.4
+ vue: 3.5.19([email protected])
+
dependencies:
'@vue/devtools-api': 6.6.4
@@ -16452,6 +17175,11 @@ snapshots:
+ dependencies:
+ eslint-visitor-keys: 3.4.3
+ yaml: 2.8.1
+
diff --git a/public/avatar.webp b/public/avatar.webp
new file mode 100644
index 00000000..1e65fa7e
Binary files /dev/null and b/public/avatar.webp differ