mirror of
https://github.com/setube/ogame-vue-ts.git
synced 2026-05-11 23:45:11 +08:00
重构并精简了部分UI组件,移除冗余弹窗与详情组件,新增NPC相关逻辑(npcBehaviorLogic、npcGrowthLogic、npcStore等)及外交逻辑(diplomaticLogic、DiplomacyView)。完善分页、标签、复选框等通用UI组件。优化战报弹窗,调整README下载链接为相对路径,修复部分国际化内容。
26 lines
783 B
Vue
26 lines
783 B
Vue
<template>
|
|
<PaginationEllipsis
|
|
data-slot="pagination-ellipsis"
|
|
v-bind="delegatedProps"
|
|
:class="cn('flex size-9 items-center justify-center', props.class)"
|
|
>
|
|
<slot>
|
|
<MoreHorizontal class="size-4" />
|
|
<span class="sr-only">More pages</span>
|
|
</slot>
|
|
</PaginationEllipsis>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import type { PaginationEllipsisProps } from 'reka-ui'
|
|
import type { HTMLAttributes } from 'vue'
|
|
import { reactiveOmit } from '@vueuse/core'
|
|
import { MoreHorizontal } from 'lucide-vue-next'
|
|
import { PaginationEllipsis } from 'reka-ui'
|
|
import { cn } from '@/lib/utils'
|
|
|
|
const props = defineProps<PaginationEllipsisProps & { class?: HTMLAttributes['class'] }>()
|
|
|
|
const delegatedProps = reactiveOmit(props, 'class')
|
|
</script>
|