import{_ as x}from"./index-BwK8zDrs.js";import{G as w,H as b,h as k}from"./element-plus-z3MwpXC9.js";import C from"./oa-attr-BkuEK87y.js";import M from"./oa-phone-DbYmig0H.js";import{u as O}from"./useMenuOa-CGyGL28i.js";import{d as _,an as g,o as r,c as y,V as o,M as t,a as m,O as s,L as p,u as l,S as c}from"./@vue-TMcuEboY.js";import{d as B}from"./index-DXEGVToZ.js";import"./lodash-es-R-kYiKr_.js";import"./async-validator-DKvM95Vc.js";import"./@element-plus-DRBc1Xzw.js";import"./dayjs-CMfar2R3.js";import"./balanced-match-mNcR6oh4.js";import"./@ctrl-r5W6hzzQ.js";import"./normalize-wheel-es-B6fDCfyv.js";import"./@popperjs-D9SI2xQl.js";import"./index-BhjDDGVa.js";import"./index-CdmO5-Ss.js";import"./oa-menu-form.vue_vue_type_script_setup_true_lang-D-Ccvi-S.js";import"./oa-menu-form-edit.vue_vue_type_script_setup_true_lang-DJlOhav-.js";import"./wx_oa-BEHpACEm.js";import"./nprogress-Cgf5DU8x.js";import"./vue-router-D4MxfuQi.js";import"./pinia-ebUeA1L2.js";import"./axios-C-n2IhIP.js";import"./lodash-BtPWuHkK.js";import"./@vueuse-BQYVjZ5N.js";import"./css-color-function-rJvg8h-6.js";import"./color-B0v57BL7.js";import"./clone-CuIhj1wH.js";import"./color-convert-BGgJB5UM.js";import"./color-name-BQ5IbGbl.js";import"./color-string-BhgG7-8u.js";import"./ms-CzQ2E3wO.js";import"./vue-clipboard3-8CNoFg4V.js";import"./clipboard-Dch_ozqB.js";import"./echarts-BR_QmBtV.js";import"./tslib-BDyQ-Jie.js";import"./zrender-B-CeXLwU.js";import"./highlight.js-D5uP1KGk.js";import"./@highlightjs-KJi31KWJ.js";const E={class:"menu-oa"},V={class:"lg:flex flex-1"},N={class:"mt-4 lg:mt-0 max-w-[400px]"},A=_({name:"wxOaMenu"}),D=_({...A,setup(P){const{getOaMenuFunc:d,handleSave:u,handlePublish:f}=O(void 0);return d(),(S,e)=>{const h=w,i=b,n=k,v=x,a=g("perms");return r(),y("div",E,[o(i,{class:"!border-none",shadow:"never"},{default:t(()=>[o(h,{type:"warning",title:"配置微信公众号菜单，点击确认，保存菜单并发布至微信公众号",closable:!1,"show-icon":""})]),_:1}),o(i,{class:"!border-none mt-4",shadow:"never"},{default:t(()=>[m("div",V,[o(M),m("div",N,[o(C)])])]),_:1}),o(v,null,{default:t(()=>[s((r(),p(n,{type:"primary",onClick:l(u)},{default:t(()=>e[0]||(e[0]=[c(" 保存 ")])),_:1},8,["onClick"])),[[a,["channel:oaMenu:save"]]]),s((r(),p(n,{type:"primary",onClick:l(f)},{default:t(()=>e[1]||(e[1]=[c(" 发布 ")])),_:1},8,["onClick"])),[[a,["channel:oaMenu:publish"]]])]),_:1})])}}}),Co=B(D,[["__scopeId","data-v-f59ca9a4"]]);export{Co as default};
