import _sfc_main from "./Page.vue.mjs";
import _sfc_main$1 from "./PageGoBack.vue.mjs";
import _sfc_main$6 from "./Request.vue.mjs";
import FormSubmit from "./FormSubmit.vue2.mjs";
import FormSetValue from "./FormSetValue.vue2.mjs";
import _sfc_main$3 from "./Message.vue.mjs";
import _sfc_main$4 from "./Confirm.vue.mjs";
import TableRefresh from "./TableRefresh.vue2.mjs";
import TableChildRefresh from "./TableChildRefresh.vue2.mjs";
import TableRowDelete from "./TableRowDelete.vue2.mjs";
import _sfc_main$2 from "./Dialog.vue.mjs";
import Upload from "./Upload.vue2.mjs";
import TableChildSelection from "./TableChildSelection.vue2.mjs";
import _sfc_main$5 from "./RiskSch.vue.mjs";
const menuData = [
  {
    index: "page",
    label: "页面",
    items: [
      {
        index: "page-jump",
        label: "跳转页面",
        desc: "跳转到指定页面",
        component: _sfc_main,
        default: {
          transitionType: "page",
          routePath: "",
          routeParams: []
        }
      },
      { index: "page-refresh", label: "刷新页面", desc: "刷新当前页面" },
      {
        index: "page-go-back",
        label: "页面返回",
        desc: "返回之前访问的页面",
        component: _sfc_main$1,
        default: {
          backLevel: 1,
          showConfirm: false,
          confirmTitle: "确认返回",
          confirmMessage: "确定要返回到上一页吗？",
          noHistoryAction: "none"
        }
      }
    ]
  },
  {
    index: "ui",
    label: "交互",
    items: [
      {
        index: "ui-dialog",
        label: "打开弹层",
        desc: "打开指定的弹层",
        component: _sfc_main$2,
        default: {
          dialogSource: "global",
          selectionMode: "none",
          fieldMapping: []
        }
      },
      {
        index: "ui-message",
        label: "显示提示信息",
        desc: "显示消息提示",
        component: _sfc_main$3,
        default: {
          messageType: "success",
          message: ""
        }
      },
      {
        index: "ui-confirm",
        label: "确认弹窗",
        desc: "显示确认对话框",
        component: _sfc_main$4,
        default: {
          messageType: "warning",
          title: "确认操作",
          message: "此操作将永久删除该记录, 是否继续?",
          confirmText: "确定",
          cancelText: "取消",
          showCancel: true,
          confirmAction: "continue"
        }
      },
      {
        index: "ui-upload",
        label: "文件上传",
        desc: "上传文件到服务器",
        component: Upload,
        default: {
          acceptType: [
            "doc",
            "xls",
            "ppt",
            "pdf",
            "text",
            "image",
            "video",
            "audio",
            "zip"
          ],
          maxSize: "0",
          multipleUpload: false
        }
      },
      {
        index: "riskSchDialog",
        label: "风险拦截校验",
        desc: "弹出风险拦截提示信息",
        component: _sfc_main$5,
        default: {
          formValidate: true,
          schName: [],
          schNo: "",
          params: []
        }
      }
    ]
  },
  {
    index: "form",
    label: "表单",
    items: [
      {
        index: "form-setValue",
        label: "请求表单赋值",
        desc: "通过请求设置表单字段的值",
        component: FormSetValue,
        default: { fieldMapping: [] }
      },
      {
        index: "form-submit",
        label: "请求表单提交",
        desc: "提交表单数据到后台服务",
        component: FormSubmit,
        default: { formValidate: true, fieldMapping: [], extraParams: [] }
      }
    ]
  },
  {
    index: "table",
    label: "列表",
    items: [
      {
        index: "table-refresh",
        label: "列表数据刷新",
        desc: "刷新表格的数据列表",
        component: TableRefresh,
        default: {
          resetSort: false,
          resetFilter: false,
          resetPagination: false
        }
      },
      {
        index: "table-row-delete",
        label: "行数据删除",
        desc: "删除列表的行数据",
        component: TableRowDelete,
        default: {
          showConfirmDeleteMessage: true,
          resetTableAfterDelete: true
        }
      },
      {
        index: "table-child-refresh",
        label: "子列表数据刷新",
        desc: "刷新子列表的数据列表",
        component: TableChildRefresh,
        default: {
          resetSort: false,
          resetFilter: false,
          resetPagination: false
        }
      },
      {
        index: "table-child-selection",
        label: "子列表勾选数据赋值",
        desc: "将子列表勾选的数据赋值到主表单",
        component: TableChildSelection,
        default: {
          subTableSelectionFieldMapping: []
        }
      }
    ]
  },
  {
    index: "request",
    label: "请求",
    items: [
      {
        index: "request-send",
        label: "发送请求",
        desc: "通过数据源发送API请求",
        component: _sfc_main$6,
        default: { showSuccessMessage: false }
      }
    ]
  },
  {
    index: "storage",
    label: "存储",
    items: [
      {
        index: "storage-set",
        label: "存入本地 / 会话缓存",
        desc: "将数据保存到本地存储或会话存储"
      },
      {
        index: "storage-get",
        label: "从缓存中读取数据",
        desc: "从本地存储或会话存储中获取数据"
      },
      {
        index: "storage-remove",
        label: "删除缓存数据",
        desc: "从本地存储或会话存储中删除指定数据"
      }
    ]
  }
];
export {
  menuData as default
};
