import { ref, createBlock, openBlock, unref } from "vue";
import EventFlow from "./eventFlow.vue2.mjs";
const _sfc_main = {
  __name: "index",
  props: {
    process: Object
  },
  setup(__props, { expose: __expose }) {
    const props = __props;
    const eventFlowRef = ref(null);
    const fields = ref([]);
    __expose({
      validate: () => {
        var _a, _b;
        return (_b = (_a = eventFlowRef.value) == null ? void 0 : _a.validate) == null ? void 0 : _b.call(_a);
      }
    });
    return (_ctx, _cache) => {
      return openBlock(), createBlock(EventFlow, {
        ref_key: "eventFlowRef",
        ref: eventFlowRef,
        process: props.process,
        fields: unref(fields),
        readOnly: false
      }, null, 8, ["process", "fields"]);
    };
  }
};
export {
  _sfc_main as default
};
