"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 GatewayNode = require("./GatewayNode.vue2.js");
const index = require("../../../../../node_modules/element-plus/es/components/button/index.js");
const _sfc_main = {
  __name: "ExclusiveNode",
  props: {
    node: Object
  },
  setup(__props) {
    return (_ctx, _cache) => {
      const _component_el_button = index.ElButton;
      return Vue.openBlock(), Vue.createBlock(GatewayNode.default, Vue.mergeProps(_ctx.$attrs, { node: __props.node }), {
        default: Vue.withCtx(({ addNode, readOnly }) => [
          Vue.createVNode(_component_el_button, {
            type: "primary",
            disabled: readOnly,
            onClick: ($event) => addNode("condition", __props.node),
            plain: "",
            round: ""
          }, {
            default: Vue.withCtx(() => _cache[0] || (_cache[0] = [
              Vue.createTextVNode("添加条件")
            ])),
            _: 2
          }, 1032, ["disabled", "onClick"])
        ]),
        _: 1
      }, 16, ["node"]);
    };
  }
};
exports.default = _sfc_main;
