"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
require("../../../../../../node_modules/element-plus/es/index.js");
;/* empty css                                                                */
;/* empty css                                                                    */
;/* empty css                                                                     */
;/* empty css                                                                        */
;/* empty css                                                                    */
;/* empty css                                                                          */
;/* empty css                                                                           */
const Vue = require("vue");
const ParamsConfig = require("../../../../components/ParamsConfig.vue2.js");
require("../../../../store/index.js");
const index = require("../../../../../../node_modules/element-plus/es/components/form/index.js");
const index$1 = require("../../../../../../node_modules/element-plus/es/components/radio/index.js");
const index$2 = require("../../../../../../node_modules/element-plus/es/components/switch/index.js");
const index$3 = require("../../../../../../node_modules/element-plus/es/components/input/index.js");
const _sfc_main = {
  __name: "Page",
  props: {
    formData: Object
  },
  setup(__props) {
    return (_ctx, _cache) => {
      const _component_el_radio_button = index$1.ElRadioButton;
      const _component_el_radio_group = index$1.ElRadioGroup;
      const _component_el_form_item = index.ElFormItem;
      const _component_el_switch = index$2.ElSwitch;
      const _component_el_input = index$3.ElInput;
      return Vue.openBlock(), Vue.createElementBlock(Vue.Fragment, null, [
        Vue.createVNode(_component_el_form_item, { label: "跳转方式" }, {
          default: Vue.withCtx(() => [
            Vue.createVNode(_component_el_radio_group, {
              modelValue: __props.formData.transitionType,
              "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => __props.formData.transitionType = $event),
              size: "small"
            }, {
              default: Vue.withCtx(() => [
                Vue.createVNode(_component_el_radio_button, {
                  label: "路由跳转",
                  value: "page"
                }),
                Vue.createVNode(_component_el_radio_button, {
                  label: "外部链接",
                  value: "external"
                })
              ]),
              _: 1
            }, 8, ["modelValue"])
          ]),
          _: 1
        }),
        Vue.createVNode(_component_el_form_item, { label: "打开新页面" }, {
          default: Vue.withCtx(() => [
            Vue.createVNode(_component_el_switch, {
              modelValue: __props.formData.openNewPage,
              "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => __props.formData.openNewPage = $event)
            }, null, 8, ["modelValue"])
          ]),
          _: 1
        }),
        Vue.createVNode(_component_el_form_item, { label: "不可回退当前页" }, {
          default: Vue.withCtx(() => [
            Vue.createVNode(_component_el_switch, {
              modelValue: __props.formData.canNotGoBack,
              "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => __props.formData.canNotGoBack = $event)
            }, null, 8, ["modelValue"])
          ]),
          _: 1
        }),
        Vue.createVNode(_component_el_form_item, { label: "页面地址" }, {
          default: Vue.withCtx(() => [
            Vue.createVNode(_component_el_input, {
              modelValue: __props.formData.routePath,
              "onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => __props.formData.routePath = $event)
            }, null, 8, ["modelValue"])
          ]),
          _: 1
        }),
        Vue.createVNode(_component_el_form_item, { label: "页面参数" }, {
          default: Vue.withCtx(() => [
            Vue.createVNode(ParamsConfig.default, {
              modelValue: __props.formData.routeParams,
              "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => __props.formData.routeParams = $event)
            }, null, 8, ["modelValue"])
          ]),
          _: 1
        })
      ], 64);
    };
  }
};
exports.default = _sfc_main;
