mirror of https://github.com/nocodb/nocodb
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
895 B
52 lines
895 B
2 years ago
|
<script lang="ts" setup>
|
||
2 years ago
|
import ExportCache from './ExportCache.vue'
|
||
|
import DeleteCache from './DeleteCache.vue'
|
||
2 years ago
|
import DebugMeta from './DebugMeta.vue'
|
||
2 years ago
|
import ToggleDrawer from './ToggleDrawer.vue'
|
||
2 years ago
|
|
||
2 years ago
|
const debug = $ref(false)
|
||
|
|
||
|
const clickCount = $ref(0)
|
||
2 years ago
|
</script>
|
||
|
|
||
2 years ago
|
<template>
|
||
2 years ago
|
<div
|
||
2 years ago
|
class="flex gap-2 justify-start"
|
||
2 years ago
|
@click="
|
||
|
() => {
|
||
|
clickCount = clickCount + 1
|
||
|
debug = clickCount >= 4
|
||
|
}
|
||
|
"
|
||
|
>
|
||
2 years ago
|
<slot name="start" />
|
||
2 years ago
|
<ToggleDrawer />
|
||
|
<span></span>
|
||
2 years ago
|
<template v-if="debug">
|
||
|
<ExportCache />
|
||
|
|
||
|
<div class="dot" />
|
||
|
|
||
|
<DeleteCache />
|
||
|
|
||
|
<div class="dot" />
|
||
2 years ago
|
|
||
2 years ago
|
<DebugMeta />
|
||
|
|
||
|
<div class="dot" />
|
||
2 years ago
|
</template>
|
||
2 years ago
|
|
||
2 years ago
|
<slot name="end" />
|
||
2 years ago
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<style scoped>
|
||
|
:deep(.nc-toolbar-btn) {
|
||
|
@apply border-0 !text-xs font-semibold px-2;
|
||
|
}
|
||
|
|
||
|
.dot {
|
||
|
@apply w-[3px] h-[3px] bg-gray-300 rounded-full;
|
||
|
}
|
||
|
</style>
|