multiStoreAdmin/build/store/assets/tabbar.5374ad50.js

2 lines
3.7 KiB
JavaScript
Raw Normal View History

2024-09-05 22:56:41 +08:00
import{_ as V}from"./index.c4e4a250.js";import{J as E,E as f,w as C}from"./element-plus.ab0703f2.js";import{c as T,d as F}from"./decoration.3a684a1f.js";import k from"./menu.7abd98df.js";import{_ as P}from"./attr.vue_vue_type_script_setup_true_lang.f9c7c97e.js";import A from"./content.893ac208.js";import{d as v,r as M,$ as N,b as R,w as S,ap as U,o as p,c as I,a as s,W as i,Q as n,u as e,j as $,P as c,S as b,ad as j,ae as z,R as J,U as L}from"./@vue.340249d8.js";import{d as O}from"./index.26dce67b.js";import"./lodash-es.edba6135.js";import"./@vueuse.e3650918.js";import"./@element-plus.558a564d.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.9886411c.js";import"./axios.45058a27.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.0f9ce7c3.js";import"./lodash.3d784a58.js";import"./vue-router.9ddb0e92.js";import"./pinia.97fe9b12.js";import"./css-color-function.5c1c877d.js";import"./color.97e03886.js";import"./clone.cfa55f7b.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.8c276ac9.js";import"./vue-clipboard3.44194d32.js";import"./clipboard.47836ecb.js";import"./echarts.8535e5a6.js";import"./zrender.3eba8991.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.309a94da.js";import"./index.5b716f69.js";import"./picker.ea15ca85.js";import"./index.vue_vue_type_script_setup_true_lang.5fc87b57.js";import"./usePaging.fff444fa.js";import"./article.1597ad9b.js";import"./index.b76ec1c2.js";import"./picker.09d1a7ad.js";import"./index.27485157.js";import"./index.b0dbb4c3.js";import"./index.vue_vue_type_script_setup_true_lang.9909e290.js";import"./vue3-video-play.fb56db8a.js";import"./vuedraggable.5c3595e9.js";import"./vue.75cf012d.js";import"./sortablejs.dcbae258.js";import"./index.vue_vue_type_script_setup_true_lang.9482c280.js";import"./decoration-img.8af40d5c.js";const Q={attr:P,content:A},W={class:"decoration-tabbar"},q={class:"flex-1 min-h-0 w-full"},G={class:"h-full"},H={class:"flex min-w-[900px] scroll-view-content"},K={class:"flex-1 pages-preview-box"},X={class:"pages-preview mx-[30px]"},Y={class:"px-5 pb-5"},Z=v({name:"decorationTabbar"}),tt=v({...Z,setup(ot){let d;(t=>{t.MOBILE="1",t.PC="2"})(d||(d={}));const a=M("1"),l=N({[1]:{id:1,type:1,name:"\u79FB\u52A8\u7AEF\u5BFC\u822A\u680F",data:{style:{default_color:"",selected_color:""},list:[]},component:Q}}),r=R(()=>l[a.value]),_=async()=>{const t=await T({type:a.value});l[1].data=t},x=async()=>{const{data:t}=r.value;await F({...t}),_()};return S(a,()=>{_()},{immediate:!0}),(t,m)=>{const h=E,u=f,w=f,y=C,g=V,B=U("perms");return p(),I("div",W,[s("div",q,[s("div",G,[i(w,null,{default:n(()=>[s("div",H,[i(h,{shadow:"never",class:"!border-none flex","body-style":{"padding-right":0}},{default:n(()=>[i(k,{class:"!h-full flex-none",modelValue:e(a),"onUpdate:modelValue":m[0]||(m[0]=o=>$(a)?a.value=o:null),menus:e(l)},null,8,["modelValue","menus"])]),_:1}),s("div",K,[s("div",X,[i(u,{height:"100%"},{default:n(()=>{var o;return[(p(),c(b((o=e(r).component)==null?void 0:o.content),j(z(e(r).data)),null,16))]}),_:1})])]),i(u,{class:"attr-setting flex-none"},{default:n(()=>{var o;return[s("div",Y,[(p(),c(b((o=e(r).component)==null?void 0:o.attr),{modelValue:e(r).data,"onUpdate:modelValue":m[1]||(m[1]=D=>e(r).data=D)},null,8,["modelValue"]))])]}),_:1})])]),_:1})])]),J((p(),c(g,{fixed:!0},{default:n(()=>[i(y,{type:"primary",onClick:x},{default:n(()=>[L("\u4FDD\u5B58")]),_:1})]),_:1})),[[B,["decorate:tabbar:save"]]])])}}});const eo=O(tt,[["__scopeId","data-v-f7a9692b"]]);export{eo as default};