WokerTask/public/admin/assets/index.4c60fd9c.js

2 lines
4.7 KiB
JavaScript
Raw Normal View History

2024-01-12 13:48:06 +08:00
import{_ as V}from"./index.dbc3c83a.js";import{J as b,w as C}from"./element-plus.ff90c99c.js";import P from"./menu.8abb6d59.js";import N from"./preview.3b792589.js";import{_ as S}from"./attr-setting.vue_vue_type_script_setup_true_lang.72990d73.js";import{w as h}from"./index.0c79a7b3.js";import{s as I,a as k}from"./decoration.a9ac88df.js";import{t as F,d as R}from"./index.000b0758.js";import{d as x,$ as U,r as f,b as g,w as A,aq as J,o as v,c as M,W as i,Q as l,a as O,u as m,j as D,R as W,P as $,U as j}from"./@vue.f8dfc830.js";import"./lodash-es.a73406b7.js";import"./@vueuse.a2e59ee9.js";import"./@element-plus.0374639c.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.7f1be2bc.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.34a21088.js";import"./lodash.3e731b89.js";import"./axios.c2babb35.js";import"./vue-router.6d4cf914.js";import"./pinia.4b196199.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.3a7f085f.js";import"./color.5ae3e2dd.js";import"./clone.7bcb5228.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.37836f15.js";import"./ms.a9ae1d6d.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.ac57a99a.js";import"./zrender.d54ce080.js";import"./tslib.60310f1a.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.79024f1a.js";import"./attr.vue_vue_type_script_setup_true_lang.ddf410eb.js";import"./index.881aa789.js";import"./picker.113070e2.js";import"./index.37ed0e1b.js";import"./index.vue_vue_type_style_index_0_scoped_95d1884e_lang.af59f801.js";import"./picker.d22b899b.js";import"./index.12a52234.js";import"./index.vue_vue_type_script_setup_true_lang.44dbc460.js";import"./index.2d717933.js";import"./index.vue_vue_type_script_setup_true_lang.ec118b31.js";import"./usePaging.bd7a7dec.js";import"./vue3-video-play.5592bdaa.js";import"./vuedraggable.99ce9db3.js";import"./vue.80fb6650.js";import"./sortablejs.76b408b5.js";import"./content.vue_vue_type_script_setup_true_lang.e285b30f.js";import"./decoration-img.f38b4d5c.js";import"./attr.vue_vue_type_script_setup_true_lang.2aab4f52.js";import"./content.cd65c2d7.js";import"./attr.vue_vue_type_script_setup_true_lang.25940cd9.js";import"./add-nav.vue_vue_type_script_setup_true_lang.ee78126c.js";import"./content.a5f409d4.js";import"./attr.vue_vue_type_script_setup_true_lang.d79d3261.js";import"./content.vue_vue_type_script_setup_true_lang.05fbff2a.js";import"./attr.vue_vue_type_script_setup_true_lang.b806e4c7.js";import"./content.65e90214.js";import"./attr.vue_vue_type_script_setup_true_lang.153369b3.js";import"./content.a848ec73.js";import"./attr.vue_vue_type_script_setup_true_lang.acd6e2ee.js";import"./content.vue_vue_type_script_setup_true_lang.923d2353.js";import"./attr.vue_vue_type_script_setup_true_lang.645b3e63.js";import"./content.1cb9e9ec.js";const q={class:"decoration-pages min-w-[1100px]"},H={class:"flex h-full items-start"},Q=x({name:"decorationPages"}),z=x({...Q,setup(G){let u;(t=>{t.HOME="1",t.USER="2",t.SERVICE="3"})(u||(u={}));const s=t=>t.map(e=>{var p;return{id:F(),...((p=h[e])==null?void 0:p.options())||{}}}),a=U({[1]:{id:1,type:1,name:"\u9996\u9875\u88C5\u4FEE",pageData:s(["search","banner","nav","news"])},[2]:{id:2,type:2,name:"\u4E2A\u4EBA\u4E2D\u5FC3",pageData:s(["user-info","my-service","user-banner"])},[3]:{id:3,type:3,name:"\u5BA2\u670D\u8BBE\u7F6E",pageData:s(["customer-service"])}}),o=f("1"),r=f(-1),c=g(()=>{var t,e;return(e=(t=a[o.value])==null?void 0:t.pageData)!=null?e:[]}),w=g(()=>{var t,e;return(e=(t=a[o.value])==null?void 0:t.pageData[r.value])!=null?e:""}),d=async()=>{const t=await k({id:o.value});a[String(t.id)].pageData=JSON.parse(t.data)},E=async()=>{await I({...a[o.value],data:JSON.stringify(a[o.value].pageData)}),d()};return A(o,()=>{r.value=c.value.findIndex(t=>!t.dis