import "../../../../../../node_modules/element-plus/es/index.mjs";
/* empty css                                                                */
/* empty css                                                                        */
/* empty css                                                                     */
/* empty css                                                                  */
/* empty css                                                                     */
/* empty css                                                                           */
/* empty css                                                                     */
/* empty css                                                                     */
/* empty css                                                                    */
/* empty css                                                                        */
/* empty css                                                                    */
/* empty css                                                                          */
/* empty css                                                                           */
import { createElementBlock, openBlock, Fragment, createVNode, withCtx } from "vue";
import { ElFormItem } from "../../../../../../node_modules/element-plus/es/components/form/index.mjs";
import { ElRadioGroup, ElRadioButton } from "../../../../../../node_modules/element-plus/es/components/radio/index.mjs";
import { ElInput } from "../../../../../../node_modules/element-plus/es/components/input/index.mjs";
import { ElSwitch } from "../../../../../../node_modules/element-plus/es/components/switch/index.mjs";
import { ElSelect, ElOption } from "../../../../../../node_modules/element-plus/es/components/select/index.mjs";
const _sfc_main = {
  __name: "Confirm",
  props: {
    formData: Object
  },
  setup(__props) {
    return (_ctx, _cache) => {
      const _component_el_radio_button = ElRadioButton;
      const _component_el_radio_group = ElRadioGroup;
      const _component_el_form_item = ElFormItem;
      const _component_el_input = ElInput;
      const _component_el_switch = ElSwitch;
      const _component_el_option = ElOption;
      const _component_el_select = ElSelect;
      return openBlock(), createElementBlock(Fragment, null, [
        createVNode(_component_el_form_item, { label: "提示类型" }, {
          default: withCtx(() => [
            createVNode(_component_el_radio_group, {
              modelValue: __props.formData.messageType,
              "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => __props.formData.messageType = $event),
              size: "small"
            }, {
              default: withCtx(() => [
                createVNode(_component_el_radio_button, {
                  label: "成功",
                  value: "success"
                }),
                createVNode(_component_el_radio_button, {
                  label: "信息",
                  value: "info"
                }),
                createVNode(_component_el_radio_button, {
                  label: "警告",
                  value: "warning"
                }),
                createVNode(_component_el_radio_button, {
                  label: "错误",
                  value: "error"
                })
              ]),
              _: 1
            }, 8, ["modelValue"])
          ]),
          _: 1
        }),
        createVNode(_component_el_form_item, { label: "标题" }, {
          default: withCtx(() => [
            createVNode(_component_el_input, {
              modelValue: __props.formData.title,
              "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => __props.formData.title = $event),
              placeholder: "请输入标题"
            }, null, 8, ["modelValue"])
          ]),
          _: 1
        }),
        createVNode(_component_el_form_item, { label: "提示内容" }, {
          default: withCtx(() => [
            createVNode(_component_el_input, {
              modelValue: __props.formData.message,
              "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => __props.formData.message = $event),
              type: "textarea",
              rows: 2,
              placeholder: "请输入提示内容",
              resize: "none"
            }, null, 8, ["modelValue"])
          ]),
          _: 1
        }),
        createVNode(_component_el_form_item, { label: "确认按钮文字" }, {
          default: withCtx(() => [
            createVNode(_component_el_input, {
              modelValue: __props.formData.confirmText,
              "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => __props.formData.confirmText = $event),
              placeholder: "确定"
            }, null, 8, ["modelValue"])
          ]),
          _: 1
        }),
        createVNode(_component_el_form_item, { label: "取消按钮文字" }, {
          default: withCtx(() => [
            createVNode(_component_el_input, {
              modelValue: __props.formData.cancelText,
              "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => __props.formData.cancelText = $event),
              placeholder: "取消"
            }, null, 8, ["modelValue"])
          ]),
          _: 1
        }),
        createVNode(_component_el_form_item, { label: "是否显示取消" }, {
          default: withCtx(() => [
            createVNode(_component_el_switch, {
              modelValue: __props.formData.showCancel,
              "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => __props.formData.showCancel = $event)
            }, null, 8, ["modelValue"])
          ]),
          _: 1
        }),
        createVNode(_component_el_form_item, { label: "确认操作" }, {
          default: withCtx(() => [
            createVNode(_component_el_select, {
              modelValue: __props.formData.confirmAction,
              "onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => __props.formData.confirmAction = $event),
              size: "small",
              style: { "width": "100%" }
            }, {
              default: withCtx(() => [
                createVNode(_component_el_option, {
                  label: "继续执行",
                  value: "continue"
                }),
                createVNode(_component_el_option, {
                  label: "停止执行",
                  value: "stop"
                })
              ]),
              _: 1
            }, 8, ["modelValue"])
          ]),
          _: 1
        })
      ], 64);
    };
  }
};
export {
  _sfc_main as default
};
