"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
require("../../../../../../node_modules/element-plus/es/index.js");
;/* empty css                                                                */
;/* empty css                                                                        */
const Vue = require("vue");
const ConditionConfigButton = ;/* empty css                                                 */
const index = require("../../../../../../node_modules/element-plus/es/components/form/index.js");
const _sfc_main = {
  __name: "Advanced",
  props: {
    formData: Object
  },
  setup(__props) {
    const props = __props;
    function handleSkip(data) {
      props.formData.skipCondition = data;
    }
    function handleBlock(data) {
      props.formData.blockCondition = data;
    }
    return (_ctx, _cache) => {
      const _component_el_form_item = index.ElFormItem;
      return Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, null, [
        Vue.createVNode(_component_el_form_item, { label: "跳过条件" }, {
          default: Vue.withCtx(() => [
            Vue.createVNode(ConditionConfigButton.default, {
              width: "225px",
              condition: __props.formData.skipCondition,
              description: "当条件达成时，会跳过当前动作并继续执行后续动作。",
              onConfirm: handleSkip
            }, null, 8, ["condition"])
          ]),
          _: 1
        }),
        Vue.createVNode(_component_el_form_item, { label: "阻断条件" }, {
          default: Vue.withCtx(() => [
            Vue.createVNode(ConditionConfigButton.default, {
              width: "225px",
              condition: __props.formData.blockCondition,
              description: "当条件达成时，会阻止后续动作的执行。",
              onConfirm: handleBlock
            }, null, 8, ["condition"])
          ]),
          _: 1
        })
      ], 64);
    };
  }
};
exports.default = _sfc_main;
