<template>
  <div>
    <div class="toolbar">
      <attribute @addTag="addTag"></attribute>
      <process @addTag="addTag"></process>
      <calc @addTag="addTag"></calc>
    </div>
  </div>
</template>
<script lang="ts">
import { Options, Vue } from "vue-class-component";
import attribute from "./attribute.vue";
import process from "./process.vue";
import calc from "./calc.vue";
import { returnToolType } from "@/enums/process";
@Options({
  components: {
    attribute,
    process,
    calc,
  },
})
export default class toolbar extends Vue {
  public addTag(data: any, type: returnToolType) {
    this.$emit("addTag", data, type);
  }
}
</script>
<style lang="scss" scoped>
</style>
