multiStoreAdmin/build/store/assets/tabbar.affb6ac9.js

2 lines
3.6 KiB
JavaScript
Raw Normal View History

2024-06-20 18:14:25 +08:00
import{_ as V}from"./index.ff137ca9.js";import{I as E,E as f,w as C}from"./element-plus.61695454.js";import{c as T,d as F}from"./decoration.3357c88a.js";import k from"./menu.f7d5359a.js";import{_ as M}from"./attr.vue_vue_type_script_setup_true_lang.349b861b.js";import P from"./content.3f3fba3f.js";import{d as v,r as A,a0 as I,b as N,w as R,am as O,o as p,c as S,a as s,W as i,O as n,u as e,j as U,M as c,R as b,ag as j,ah as z,P as L,T as W}from"./@vue.c3e77981.js";import{d as $}from"./index.1dd80bf2.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"./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";import"./index.ae7d0ef2.js";import"./picker.5d8b6df0.js";import"./index.vue_vue_type_script_setup_true_lang.33ea11c1.js";import"./usePaging.d25ebf19.js";import"./article.11842954.js";import"./index.3446e7c2.js";import"./picker.832550d5.js";import"./index.cb97c6de.js";import"./index.ebe9ee83.js";import"./index.vue_vue_type_script_setup_true_lang.09ad5ba8.js";import"./vue3-video-play.4813c60b.js";import"./vuedraggable.5825c4b1.js";import"./vue.74758107.js";import"./sortablejs.275d9d20.js";import"./index.vue_vue_type_script_setup_true_lang.624bda90.js";import"./decoration-img.2d2c3571.js";const q={attr:M,content:P},G={class:"decoration-tabbar"},H={class:"flex-1 min-h-0 w-full"},J={class:"h-full"},K={class:"flex min-w-[900px] scroll-view-content"},Q={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=A("1"),l=I({[1]:{id:1,type:1,name:"\u79FB\u52A8\u7AEF\u5BFC\u822A\u680F",data:{style:{default_color:"",selected_color:""},list:[]},component:q}}),r=N(()=>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 R(a,()=>{_()},{immediate:!0}),(t,m)=>{const h=E,u=f,w=f,g=C,y=V,B=O("perms");return p(),S("div",G,[s("div",H,[s("div",J,[i(w,null,{default:n(()=>[s("div",K,[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=>U(a)?a.value=o:null),menus:e(l)},null,8,["modelValue","menus"])]),_:1}),s("div",Q,[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})])]),L((p(),c(y,{fixed:!0},{default:n(()=>[i(g,{type:"primary",onClick:x},{default:n(()=>[W("\u4FDD\u5B58")]),_:1})]),_:1})),[[B,["decorate:tabbar:save"]]])])}}});const oo=$(tt,[["__scopeId","data-v-f7a9692b"]]);export{oo as default};