|
|
@ -74,9 +74,6 @@ export default defineComponent({ |
|
|
|
setup(props, context) { |
|
|
|
setup(props, context) { |
|
|
|
const { t } = useI18n() |
|
|
|
const { t } = useI18n() |
|
|
|
|
|
|
|
|
|
|
|
const startupPopoverRef = ref(false) |
|
|
|
|
|
|
|
const paramPopoverRef = ref(false) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const themeStore = useThemeStore() |
|
|
|
const themeStore = useThemeStore() |
|
|
|
|
|
|
|
|
|
|
|
const graph = inject<Ref<Graph | undefined>>('graph', ref()) |
|
|
|
const graph = inject<Ref<Graph | undefined>>('graph', ref()) |
|
|
@ -229,19 +226,12 @@ export default defineComponent({ |
|
|
|
<NTooltip |
|
|
|
<NTooltip |
|
|
|
v-slots={{ |
|
|
|
v-slots={{ |
|
|
|
trigger: () => ( |
|
|
|
trigger: () => ( |
|
|
|
<NPopover |
|
|
|
<NPopover placement='bottom' trigger='click'> |
|
|
|
show={paramPopoverRef.value} |
|
|
|
|
|
|
|
placement='bottom' |
|
|
|
|
|
|
|
trigger='manual' |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
{{ |
|
|
|
{{ |
|
|
|
trigger: () => ( |
|
|
|
trigger: () => ( |
|
|
|
<NButton |
|
|
|
<NButton |
|
|
|
quaternary |
|
|
|
quaternary |
|
|
|
circle |
|
|
|
circle |
|
|
|
onClick={() => |
|
|
|
|
|
|
|
(paramPopoverRef.value = !paramPopoverRef.value) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
class={Styles['toolbar-btn']} |
|
|
|
class={Styles['toolbar-btn']} |
|
|
|
> |
|
|
|
> |
|
|
|
<NIcon> |
|
|
|
<NIcon> |
|
|
@ -264,20 +254,12 @@ export default defineComponent({ |
|
|
|
<NTooltip |
|
|
|
<NTooltip |
|
|
|
v-slots={{ |
|
|
|
v-slots={{ |
|
|
|
trigger: () => ( |
|
|
|
trigger: () => ( |
|
|
|
<NPopover |
|
|
|
<NPopover placement='bottom' trigger='click'> |
|
|
|
show={startupPopoverRef.value} |
|
|
|
|
|
|
|
placement='bottom' |
|
|
|
|
|
|
|
trigger='manual' |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
{{ |
|
|
|
{{ |
|
|
|
trigger: () => ( |
|
|
|
trigger: () => ( |
|
|
|
<NButton |
|
|
|
<NButton |
|
|
|
quaternary |
|
|
|
quaternary |
|
|
|
circle |
|
|
|
circle |
|
|
|
onClick={() => |
|
|
|
|
|
|
|
(startupPopoverRef.value = |
|
|
|
|
|
|
|
!startupPopoverRef.value) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
class={Styles['toolbar-btn']} |
|
|
|
class={Styles['toolbar-btn']} |
|
|
|
> |
|
|
|
> |
|
|
|
<NIcon> |
|
|
|
<NIcon> |
|
|
|