<template>
  <property-builder
    class="scroll-region"
    :propertyBuilderForm="draftActiveStepGetter?.items"
    :entityProp="entity"
    :readOnly="Boolean(entity?.islock)"
  ></property-builder>
</template>

<script>
import { mapState } from "pinia";

export default {
  props: {
    entity: {
      default() {
        return {};
      },
    },
  },
  beforeMount() {},
  computed: {
    ...mapState("entity", ["draftActiveStepGetter"]),
  },
  methods: {
    // داخل کامپوننت خودش ، ذخیره می شود
    isChanged() {
      return false;
    },
  },

};
</script>
<style>
.scroll-region {
  height: 38em;
  overflow: auto;
}
</style>

