2023-10-29 22:02:07 +03:00
|
|
|
<script setup lang="ts">
|
|
|
|
import { ref } from 'vue'
|
|
|
|
|
|
|
|
import TopBar from '@/components/TopBar.vue'
|
|
|
|
|
2024-08-08 15:12:05 +03:00
|
|
|
const showColorPicker = ref(false)
|
|
|
|
const showCodeEditor = ref(false)
|
|
|
|
const showDocumentationEditor = ref(false)
|
2023-10-29 22:02:07 +03:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<Story title="Top Bar" group="graph" :layout="{ type: 'grid', width: 500 }" autoPropsDisabled>
|
|
|
|
<div style="height: 48px">
|
|
|
|
<TopBar
|
2024-08-08 15:12:05 +03:00
|
|
|
v-model:showColorPicker="showColorPicker"
|
|
|
|
v-model:showCodeEditor="showCodeEditor"
|
|
|
|
v-model:showDocumentationEditor="showDocumentationEditor"
|
|
|
|
:zoomLevel="1"
|
|
|
|
:componentsSelected="1"
|
2023-10-29 22:02:07 +03:00
|
|
|
/>
|
|
|
|
</div>
|
2024-08-08 15:12:05 +03:00
|
|
|
<template #controls></template>
|
2023-10-29 22:02:07 +03:00
|
|
|
</Story>
|
|
|
|
</template>
|