import{_ as h}from"./index.569abc7c.js";import{K as v,I as C,w as E}from"./element-plus.0a93cab1.js";import x from"./oa-phone.0312828a.js";import D from"./oa-attr.b56d85db.js";import{u as B}from"./useMenuOa.422834bc.js";import{d as c,am as w,o as e,c as b,W as o,O as t,a,P as m,M as s,u as p,T as u}from"./@vue.c3e77981.js";import{d as k}from"./index.8ccde2ce.js";import"./@vueuse.a48d0173.js";import"./@element-plus.12c58ce2.js";import"./lodash-es.2b5acb28.js";import"./dayjs.16ed1fda.js";import"./axios.a8078129.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.b082b0c1.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./index.198329df.js";import"./index.39ecea31.js";import"./oa-menu-form.vue_vue_type_script_setup_true_lang.26833301.js";import"./oa-menu-form-edit.vue_vue_type_script_setup_true_lang.5227fd4b.js";import"./wx_oa.d2dee31b.js";import"./lodash.a2abcd4b.js";import"./vue-router.43c06794.js";import"./pinia.b5130627.js";import"./css-color-function.975e80a5.js";import"./color.d986aa86.js";import"./clone.704d8332.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./nprogress.ded7f805.js";import"./vue-clipboard3.987889a8.js";import"./clipboard.af74a91f.js";import"./echarts.8535e5a6.js";import"./zrender.3eba8991.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b8b719e9.js";const y={class:"menu-oa"},g={class:"lg:flex flex-1"},M={class:"mt-4 lg:mt-0 max-w-[400px]"},O=c({name:"wxOaMenu"}),A=c({...O,setup(N){const{getOaMenuFunc:_,handleSave:l,handlePublish:d}=B(void 0);return _(),(P,V)=>{const f=v,r=C,i=E,F=h,n=w("perms");return e(),b("div",y,[o(r,{class:"!border-none",shadow:"never"},{default:t(()=>[o(f,{type:"warning",title:"\u914D\u7F6E\u5FAE\u4FE1\u516C\u4F17\u53F7\u83DC\u5355\uFF0C\u70B9\u51FB\u786E\u8BA4\uFF0C\u4FDD\u5B58\u83DC\u5355\u5E76\u53D1\u5E03\u81F3\u5FAE\u4FE1\u516C\u4F17\u53F7",closable:!1,"show-icon":""})]),_:1}),o(r,{class:"!border-none mt-4",shadow:"never"},{default:t(()=>[a("div",g,[o(x),a("div",M,[o(D)])])]),_:1}),o(F,null,{default:t(()=>[m((e(),s(i,{type:"primary",onClick:p(l)},{default:t(()=>[u(" \u4FDD\u5B58 ")]),_:1},8,["onClick"])),[[n,["channel:oaMenu:save"]]]),m((e(),s(i,{type:"primary",onClick:p(d)},{default:t(()=>[u(" \u53D1\u5E03 ")]),_:1},8,["onClick"])),[[n,["channel:oaMenu:publish"]]])]),_:1})])}}});const Bo=k(A,[["__scopeId","data-v-cc6f2f7e"]]);export{Bo as default};