ace-component-lib 0.0.74 → 0.0.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ace-component-lib.umd.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(te,U){typeof exports=="object"&&typeof module<"u"?module.exports=U(require("pinia"),require("@wangeditor/editor"),require("vue"),require("element-plus"),require("vue-draggable-plus"),require("dayjs"),require("echarts/core"),require("@wangeditor/editor-for-vue"),require("jsoneditor")):typeof define=="function"&&define.amd?define(["pinia","@wangeditor/editor","vue","element-plus","vue-draggable-plus","dayjs","echarts/core","@wangeditor/editor-for-vue","jsoneditor"],U):(te=typeof globalThis<"u"?globalThis:te||self,te["ace-component-lib"]=U(te.pinia,te.editor,te.Vue,te.elementPlus,te.vueDraggablePlus,te.dayjs,te.core,te.editorForVue,te.JsonEditor))})(this,function(pinia,editor,vue,elementPlus,vueDraggablePlus,dayjs,core,editorForVue,JsonEditor){"use strict";const version="0.0.74",aceLib="";let e$3=class{constructor(U){this.standards={strict:"strict",loose:"loose",html5:"html5"},this.previewBody=null,this.close=null,this.previewBodyUtilPrintBtn=null,this.selectArray=[],this.counter=0,this.settings={standard:this.standards.html5},Object.assign(this.settings,U),this.init()}init(){this.counter++,this.settings.id=`printArea_${this.counter}`;let U="";this.settings.url&&!this.settings.asyncUrl&&(U=this.settings.url);let G=this;if(this.settings.asyncUrl)return void G.settings.asyncUrl(function(ne){let re=G.getPrintWindow(ne);G.settings.preview?G.previewIfrmaeLoad():G.print(re)},G.settings.vue);let ee=this.getPrintWindow(U);this.settings.url||this.write(ee.doc),this.settings.preview?this.previewIfrmaeLoad():this.print(ee)}addEvent(U,G,ee){U.addEventListener?U.addEventListener(G,ee,!1):U.attachEvent?U.attachEvent("on"+G,ee):U["on"+G]=ee}previewIfrmaeLoad(){let U=document.getElementById("vue-pirnt-nb-previewBox");if(U){let G=this,ee=U.querySelector("iframe");this.settings.previewBeforeOpenCallback(),this.addEvent(ee,"load",function(){G.previewBoxShow(),G.removeCanvasImg(),G.settings.previewOpenCallback()}),this.addEvent(U.querySelector(".previewBodyUtilPrintBtn"),"click",function(){G.settings.beforeOpenCallback(),G.settings.openCallback(),ee.contentWindow.print(),G.settings.closeCallback()})}}removeCanvasImg(){let U=this;try{if(U.elsdom){let G=U.elsdom.querySelectorAll(".canvasImg");for(let ee=0;ee<G.length;ee++)G[ee].remove()}}catch(G){console.log(G)}}print(U){var G=this;let ee=document.getElementById(this.settings.id)||U.f,ne=document.getElementById(this.settings.id).contentWindow||U.f.contentWindow;G.settings.beforeOpenCallback(),G.addEvent(ee,"load",function(){ne.focus(),G.settings.openCallback(),ne.print(),ee.remove(),G.settings.closeCallback(),G.removeCanvasImg()})}write(U){U.open(),U.write(`${this.docType()}<html>${this.getHead()}${this.getBody()}</html>`),U.close()}docType(){return this.settings.standard===this.standards.html5?"<!DOCTYPE html>":`<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01${this.settings.standard===this.standards.loose?" Transitional":""}//EN" "http://www.w3.org/TR/html4/${this.settings.standard===this.standards.loose?"loose":"strict"}.dtd">`}getHead(){let U="",G="",ee="";this.settings.extraHead&&this.settings.extraHead.replace(/([^,]+)/g,re=>{U+=re}),[].forEach.call(document.querySelectorAll("link"),function(re){re.href.indexOf(".css")>=0&&(G+=`<link type="text/css" rel="stylesheet" href="${re.href}" >`)});let ne=document.styleSheets;if(ne&&ne.length>0)for(let re=0;re<ne.length;re++)try{if(ne[re].cssRules||ne[re].rules){let oe=ne[re].cssRules||ne[re].rules;for(let ie=0;ie<oe.length;ie++)ee+=oe[ie].cssText}}catch(oe){console.log(ne[re].href+oe)}return this.settings.extraCss&&this.settings.extraCss.replace(/([^,\s]+)/g,re=>{G+=`<link type="text/css" rel="stylesheet" href="${re}">`}),`<head><title>${this.settings.popTitle}</title>${U}${G}<style type="text/css">${ee}</style></head>`}getBody(){let U=this.settings.ids;return U=U.replace(new RegExp("#","g"),""),this.elsdom=this.beforeHanler(document.getElementById(U)),"<body>"+this.getFormData(this.elsdom).outerHTML+"</body>"}beforeHanler(U){let G=U.querySelectorAll("canvas");for(let ee=0;ee<G.length;ee++)if(!G[ee].style.display){let ne=G[ee].parentNode,re=G[ee].toDataURL("image/png"),oe=new Image;oe.className="canvasImg",oe.style.display="none",oe.src=re,ne.appendChild(oe)}return U}getFormData(U){let G=U.cloneNode(!0),ee=G.querySelectorAll("input,select,textarea"),ne=G.querySelectorAll(".canvasImg,canvas"),re=-1;for(let oe=0;oe<ne.length;oe++){let ie=ne[oe].parentNode,le=ne[oe];le.tagName.toLowerCase()==="canvas"?ie.removeChild(le):le.style.display="block"}for(let oe=0;oe<ee.length;oe++){let ie=ee[oe],le=ie.getAttribute("type"),ae=ee[oe];if(le||(le=ie.tagName==="SELECT"?"select":ie.tagName==="TEXTAREA"?"textarea":""),ie.tagName==="INPUT")le==="radio"||le==="checkbox"?ie.checked&&ae.setAttribute("checked",ie.checked):(ae.value=ie.value,ae.setAttribute("value",ie.value));else if(le==="select"){re++;for(let se=0;se<U.querySelectorAll("select").length;se++){let ue=U.querySelectorAll("select")[se];if(!ue.getAttribute("newbs")&&ue.setAttribute("newbs",se),ue.getAttribute("newbs")==re){let ce=U.querySelectorAll("select")[re].selectedIndex;ie.options[ce].setAttribute("selected",!0)}}}else ae.innerHTML=ie.value,ae.setAttribute("html",ie.value)}return G}getPrintWindow(U){var G=this.Iframe(U);return{f:G,win:G.contentWindow||G,doc:G.doc}}previewBoxShow(){let U=document.getElementById("vue-pirnt-nb-previewBox");U&&(document.querySelector("html").setAttribute("style","overflow: hidden"),U.style.display="block")}previewBoxHide(){let U=document.getElementById("vue-pirnt-nb-previewBox");U&&(document.querySelector("html").setAttribute("style","overflow: visible;"),U.querySelector("iframe")&&U.querySelector("iframe").remove(),U.style.display="none")}previewBox(){let U=document.getElementById("vue-pirnt-nb-previewBox"),G="previewBody";if(U)return U.querySelector("iframe")&&U.querySelector("iframe").remove(),{close:U.querySelector(".previewClose"),previewBody:U.querySelector(".previewBody")};let ee=document.createElement("div");ee.setAttribute("id","vue-pirnt-nb-previewBox"),ee.setAttribute("style","position: fixed;top: 0px;left: 0px;width: 100%;height: 100%;background: white;display:none"),ee.style.zIndex=this.settings.zIndex;let ne=document.createElement("div");ne.setAttribute("class","previewHeader"),ne.setAttribute("style","padding: 5px 20px;"),ne.innerHTML=this.settings.previewTitle,ee.appendChild(ne),this.close=document.createElement("div");let re=this.close;re.setAttribute("class","previewClose"),re.setAttribute("style","position: absolute;top: 5px;right: 20px;width: 25px;height: 20px;cursor: pointer;");let oe=document.createElement("div"),ie=document.createElement("div");oe.setAttribute("class","closeBefore"),oe.setAttribute("style","position: absolute;width: 3px;height: 100%;background: #040404;transform: rotate(45deg); top: 0px;left: 50%;"),ie.setAttribute("class","closeAfter"),ie.setAttribute("style","position: absolute;width: 3px;height: 100%;background: #040404;transform: rotate(-45deg); top: 0px;left: 50%;"),re.appendChild(oe),re.appendChild(ie),ne.appendChild(re),this.previewBody=document.createElement("div");let le=this.previewBody;le.setAttribute("class",G),le.setAttribute("style","display: flex;flex-direction: column; height: 100%;"),ee.appendChild(le);let ae=document.createElement("div");ae.setAttribute("class","previewBodyUtil"),ae.setAttribute("style","height: 32px;background: #474747;position: relative;"),le.appendChild(ae),this.previewBodyUtilPrintBtn=document.createElement("div");let se=this.previewBodyUtilPrintBtn;return se.setAttribute("class","previewBodyUtilPrintBtn"),se.innerHTML=this.settings.previewPrintBtnLabel,se.setAttribute("style","position: absolute;padding: 2px 10px;margin-top: 3px;left: 24px;font-size: 14px;color: white;cursor: pointer;background-color: rgba(0,0,0,.12);background-image: linear-gradient(hsla(0,0%,100%,.05),hsla(0,0%,100%,0));background-clip: padding-box;border: 1px solid rgba(0,0,0,.35);border-color: rgba(0,0,0,.32) rgba(0,0,0,.38) rgba(0,0,0,.42);box-shadow: inset 0 1px 0 hsla(0,0%,100%,.05), inset 0 0 1px hsla(0,0%,100%,.15), 0 1px 0 hsla(0,0%,100%,.05);"),ae.appendChild(se),document.body.appendChild(ee),{close:this.close,previewBody:this.previewBody}}iframeBox(U,G){let ee=document.createElement("iframe");return ee.style.border="0px",ee.style.position="absolute",ee.style.width="0px",ee.style.height="0px",ee.style.right="0px",ee.style.top="0px",ee.setAttribute("id",U),ee.setAttribute("src",G),ee}Iframe(U){let G=this.settings.id;U=U||new Date().getTime();let ee=this,ne=this.iframeBox(G,U);try{if(this.settings.preview){ne.setAttribute("style","border: 0px;flex: 1;");let re=this.previewBox(),oe=re.previewBody,ie=re.close;oe.appendChild(ne),this.addEvent(ie,"click",function(){ee.previewBoxHide()})}else document.body.appendChild(ne);ne.doc=null,ne.doc=ne.contentDocument?ne.contentDocument:ne.contentWindow?ne.contentWindow.document:ne.document}catch(re){throw new Error(re+". iframes may not be supported in this browser.")}if(ne.doc==null)throw new Error("Cannot find document.");return ne}};var t$2={directiveName:"print",mounted(te,U,G){let ee=U.instance,ne="";var re,oe,ie;oe="click",ie=()=>{if(typeof U.value=="string")ne=U.value;else{if(typeof U.value!="object"||!U.value.id)return void window.print();{ne=U.value.id;let ae=ne.replace(new RegExp("#","g"),"");document.getElementById(ae)||(console.log("id in Error"),ne="")}}le()},(re=te).addEventListener?re.addEventListener(oe,ie,!1):re.attachEvent?re.attachEvent("on"+oe,ie):re["on"+oe]=ie;const le=()=>{new e$3({ids:ne,vue:ee,url:U.value.url,standard:"",extraHead:U.value.extraHead,extraCss:U.value.extraCss,zIndex:U.value.zIndex||20002,previewTitle:U.value.previewTitle||"打印预览",previewPrintBtnLabel:U.value.previewPrintBtnLabel||"打印",popTitle:U.value.popTitle,preview:U.value.preview||!1,asyncUrl:U.value.asyncUrl,previewBeforeOpenCallback(){U.value.previewBeforeOpenCallback&&U.value.previewBeforeOpenCallback(ee)},previewOpenCallback(){U.value.previewOpenCallback&&U.value.previewOpenCallback(ee)},openCallback(){U.value.openCallback&&U.value.openCallback(ee)},closeCallback(){U.value.closeCallback&&U.value.closeCallback(ee)},beforeOpenCallback(){U.value.beforeOpenCallback&&U.value.beforeOpenCallback(ee)}})}},install:function(te){te.directive("print",t$2)}},FieldRenderType=(te=>(te.String="string",te.Integer="interget",te))(FieldRenderType||{}),DynamicTableType=(te=>(te.Default="default",te.DataForm="dataForm",te))(DynamicTableType||{}),ItableType=(te=>(te.Link="link",te))(ItableType||{}),FieldType=(te=>(te.Text="text",te.Select="select",te.Date="date",te.DateTime="datetime",te.CheckBox="checkbox",te.Switch="switch",te.Radio="radio",te.Textarea="textarea",te.Number="number",te.NumberRange="numberRange",te.Cascader="cascader",te.Daterange="daterange",te.Monthrange="monthrange",te.File="file",te.TreeSelect="treeSelect",te.Year="year",te.Month="month",te.Hr="hr",te.Slot="slot",te.Editor="editor",te.Password="password",te.Json="json",te.Markdown="markdown",te.Rate="rate",te.TimeRange="timerange",te.Time="time",te.DateTimeRange="datetimerange",te))(FieldType||{});let nanoid=(te=21)=>crypto.getRandomValues(new Uint8Array(te)).reduce((U,G)=>(G&=63,G<36?U+=G.toString(36):G<62?U+=(G-26).toString(36).toUpperCase():G>62?U+="-":U+="_",U),"");const screenDesignMainStore=pinia.defineStore({id:"design",state:()=>({theme:localStorage.getItem("design-theme")||"",stageWidth:1920,stageHeight:1080,scale:.2,targetsWidget:[],sketchRuleLine:{h:[],v:[]},widgetConfg:{config:{backgroundColor:"transparent",backgroundImage:""},list:[]},widgetHoverIds:[],pasteWidget:[],createLoading:!1,showRightPannel:!1,tempChartData:{},chartData:{},countMap:{}}),getters:{getScale(){return this.scale},getStage(){return{stageWidth:this.stageWidth,stageHeight:this.stageHeight}},getSketchRuleLine(){return this.sketchRuleLine},getTargetWidget(){return this.targetsWidget},getWidgetConfig(){return this.widgetConfg.config},getWidgetList(){return this.widgetConfg.list},getWidgetHoverIds(){return this.widgetHoverIds},getPasteWidget(){return this.pasteWidget},getCreateLoading(){return this.createLoading},getRightPannel(){return this.showRightPannel},getTheme(){return this.theme},getChartData(){return this.chartData},getCountMap(){return this.countMap}},actions:{setSacle(te){this.scale=te/100},setSketchRuleLine(te,U){this.sketchRuleLine.h=te,this.sketchRuleLine.v=U},clearSketchRuleLine(){this.sketchRuleLine={h:[],v:[]}},setTargetWidget(te){this.targetsWidget=te},setWidgetList(te){this.widgetConfg.list=te},setWidgetHoverIds(te){this.widgetHoverIds=te},delWidgetItem(te){this.setWidgetList(this.getWidgetList.filter(U=>!te.includes(U.id))),this.setTargetWidget(this.getTargetWidget.filter(U=>!te.includes(U.id)))},copyWidgetItem(te){this.pasteWidget=[],te.forEach(U=>{const G=this.getWidgetList.find(ee=>ee.id==U);G&&this.pasteWidget.push(G)})},pasteWidgetItem(){this.pasteWidget.forEach(G=>{const ee=JSON.parse(JSON.stringify(G));let ne=ee.x,re=ee.y;ee.x+40>this.stageWidth-ee.w?ne=this.stageWidth-ee.w-40:ne+=40,ee.y+40>this.stageHeight-ee.h?re=this.stageHeight-ee.h-40:re+=40,this.widgetConfg.list.unshift({...ee,id:nanoid(),x:ne,y:re,z:this.widgetConfg.list.length+1,locked:!1})})},sortWidgetList(){this.widgetConfg.list.sort((te,U)=>U.z-te.z)},setCreateLoading(te){this.createLoading=te,te&&(this.targetsWidget=[],this.clearSketchRuleLine())},setRightPannel(te){this.showRightPannel=te},setStageWidth(te){this.stageWidth=te,this.widgetConfg.config.stageWidth=te},setStageHeight(te){this.stageHeight=te,this.widgetConfg.config.stageHeight=te},setTheme(){this.theme=this.theme=="dark"?"":"dark",document.getElementsByTagName("html")[0].className=this.theme,localStorage.setItem("design-theme",this.theme)},setChartData(te){this.chartData=te},setCountMap(te,U){this.countMap[te]=U}}});/*!
|
|
1
|
+
(function(te,U){typeof exports=="object"&&typeof module<"u"?module.exports=U(require("pinia"),require("@wangeditor/editor"),require("vue"),require("element-plus"),require("vue-draggable-plus"),require("dayjs"),require("echarts/core"),require("@wangeditor/editor-for-vue"),require("jsoneditor")):typeof define=="function"&&define.amd?define(["pinia","@wangeditor/editor","vue","element-plus","vue-draggable-plus","dayjs","echarts/core","@wangeditor/editor-for-vue","jsoneditor"],U):(te=typeof globalThis<"u"?globalThis:te||self,te["ace-component-lib"]=U(te.pinia,te.editor,te.Vue,te.elementPlus,te.vueDraggablePlus,te.dayjs,te.core,te.editorForVue,te.JsonEditor))})(this,function(pinia,editor,vue,elementPlus,vueDraggablePlus,dayjs,core,editorForVue,JsonEditor){"use strict";const version="0.0.75",aceLib="";let e$3=class{constructor(U){this.standards={strict:"strict",loose:"loose",html5:"html5"},this.previewBody=null,this.close=null,this.previewBodyUtilPrintBtn=null,this.selectArray=[],this.counter=0,this.settings={standard:this.standards.html5},Object.assign(this.settings,U),this.init()}init(){this.counter++,this.settings.id=`printArea_${this.counter}`;let U="";this.settings.url&&!this.settings.asyncUrl&&(U=this.settings.url);let G=this;if(this.settings.asyncUrl)return void G.settings.asyncUrl(function(ne){let re=G.getPrintWindow(ne);G.settings.preview?G.previewIfrmaeLoad():G.print(re)},G.settings.vue);let ee=this.getPrintWindow(U);this.settings.url||this.write(ee.doc),this.settings.preview?this.previewIfrmaeLoad():this.print(ee)}addEvent(U,G,ee){U.addEventListener?U.addEventListener(G,ee,!1):U.attachEvent?U.attachEvent("on"+G,ee):U["on"+G]=ee}previewIfrmaeLoad(){let U=document.getElementById("vue-pirnt-nb-previewBox");if(U){let G=this,ee=U.querySelector("iframe");this.settings.previewBeforeOpenCallback(),this.addEvent(ee,"load",function(){G.previewBoxShow(),G.removeCanvasImg(),G.settings.previewOpenCallback()}),this.addEvent(U.querySelector(".previewBodyUtilPrintBtn"),"click",function(){G.settings.beforeOpenCallback(),G.settings.openCallback(),ee.contentWindow.print(),G.settings.closeCallback()})}}removeCanvasImg(){let U=this;try{if(U.elsdom){let G=U.elsdom.querySelectorAll(".canvasImg");for(let ee=0;ee<G.length;ee++)G[ee].remove()}}catch(G){console.log(G)}}print(U){var G=this;let ee=document.getElementById(this.settings.id)||U.f,ne=document.getElementById(this.settings.id).contentWindow||U.f.contentWindow;G.settings.beforeOpenCallback(),G.addEvent(ee,"load",function(){ne.focus(),G.settings.openCallback(),ne.print(),ee.remove(),G.settings.closeCallback(),G.removeCanvasImg()})}write(U){U.open(),U.write(`${this.docType()}<html>${this.getHead()}${this.getBody()}</html>`),U.close()}docType(){return this.settings.standard===this.standards.html5?"<!DOCTYPE html>":`<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01${this.settings.standard===this.standards.loose?" Transitional":""}//EN" "http://www.w3.org/TR/html4/${this.settings.standard===this.standards.loose?"loose":"strict"}.dtd">`}getHead(){let U="",G="",ee="";this.settings.extraHead&&this.settings.extraHead.replace(/([^,]+)/g,re=>{U+=re}),[].forEach.call(document.querySelectorAll("link"),function(re){re.href.indexOf(".css")>=0&&(G+=`<link type="text/css" rel="stylesheet" href="${re.href}" >`)});let ne=document.styleSheets;if(ne&&ne.length>0)for(let re=0;re<ne.length;re++)try{if(ne[re].cssRules||ne[re].rules){let oe=ne[re].cssRules||ne[re].rules;for(let ie=0;ie<oe.length;ie++)ee+=oe[ie].cssText}}catch(oe){console.log(ne[re].href+oe)}return this.settings.extraCss&&this.settings.extraCss.replace(/([^,\s]+)/g,re=>{G+=`<link type="text/css" rel="stylesheet" href="${re}">`}),`<head><title>${this.settings.popTitle}</title>${U}${G}<style type="text/css">${ee}</style></head>`}getBody(){let U=this.settings.ids;return U=U.replace(new RegExp("#","g"),""),this.elsdom=this.beforeHanler(document.getElementById(U)),"<body>"+this.getFormData(this.elsdom).outerHTML+"</body>"}beforeHanler(U){let G=U.querySelectorAll("canvas");for(let ee=0;ee<G.length;ee++)if(!G[ee].style.display){let ne=G[ee].parentNode,re=G[ee].toDataURL("image/png"),oe=new Image;oe.className="canvasImg",oe.style.display="none",oe.src=re,ne.appendChild(oe)}return U}getFormData(U){let G=U.cloneNode(!0),ee=G.querySelectorAll("input,select,textarea"),ne=G.querySelectorAll(".canvasImg,canvas"),re=-1;for(let oe=0;oe<ne.length;oe++){let ie=ne[oe].parentNode,le=ne[oe];le.tagName.toLowerCase()==="canvas"?ie.removeChild(le):le.style.display="block"}for(let oe=0;oe<ee.length;oe++){let ie=ee[oe],le=ie.getAttribute("type"),ae=ee[oe];if(le||(le=ie.tagName==="SELECT"?"select":ie.tagName==="TEXTAREA"?"textarea":""),ie.tagName==="INPUT")le==="radio"||le==="checkbox"?ie.checked&&ae.setAttribute("checked",ie.checked):(ae.value=ie.value,ae.setAttribute("value",ie.value));else if(le==="select"){re++;for(let se=0;se<U.querySelectorAll("select").length;se++){let ue=U.querySelectorAll("select")[se];if(!ue.getAttribute("newbs")&&ue.setAttribute("newbs",se),ue.getAttribute("newbs")==re){let ce=U.querySelectorAll("select")[re].selectedIndex;ie.options[ce].setAttribute("selected",!0)}}}else ae.innerHTML=ie.value,ae.setAttribute("html",ie.value)}return G}getPrintWindow(U){var G=this.Iframe(U);return{f:G,win:G.contentWindow||G,doc:G.doc}}previewBoxShow(){let U=document.getElementById("vue-pirnt-nb-previewBox");U&&(document.querySelector("html").setAttribute("style","overflow: hidden"),U.style.display="block")}previewBoxHide(){let U=document.getElementById("vue-pirnt-nb-previewBox");U&&(document.querySelector("html").setAttribute("style","overflow: visible;"),U.querySelector("iframe")&&U.querySelector("iframe").remove(),U.style.display="none")}previewBox(){let U=document.getElementById("vue-pirnt-nb-previewBox"),G="previewBody";if(U)return U.querySelector("iframe")&&U.querySelector("iframe").remove(),{close:U.querySelector(".previewClose"),previewBody:U.querySelector(".previewBody")};let ee=document.createElement("div");ee.setAttribute("id","vue-pirnt-nb-previewBox"),ee.setAttribute("style","position: fixed;top: 0px;left: 0px;width: 100%;height: 100%;background: white;display:none"),ee.style.zIndex=this.settings.zIndex;let ne=document.createElement("div");ne.setAttribute("class","previewHeader"),ne.setAttribute("style","padding: 5px 20px;"),ne.innerHTML=this.settings.previewTitle,ee.appendChild(ne),this.close=document.createElement("div");let re=this.close;re.setAttribute("class","previewClose"),re.setAttribute("style","position: absolute;top: 5px;right: 20px;width: 25px;height: 20px;cursor: pointer;");let oe=document.createElement("div"),ie=document.createElement("div");oe.setAttribute("class","closeBefore"),oe.setAttribute("style","position: absolute;width: 3px;height: 100%;background: #040404;transform: rotate(45deg); top: 0px;left: 50%;"),ie.setAttribute("class","closeAfter"),ie.setAttribute("style","position: absolute;width: 3px;height: 100%;background: #040404;transform: rotate(-45deg); top: 0px;left: 50%;"),re.appendChild(oe),re.appendChild(ie),ne.appendChild(re),this.previewBody=document.createElement("div");let le=this.previewBody;le.setAttribute("class",G),le.setAttribute("style","display: flex;flex-direction: column; height: 100%;"),ee.appendChild(le);let ae=document.createElement("div");ae.setAttribute("class","previewBodyUtil"),ae.setAttribute("style","height: 32px;background: #474747;position: relative;"),le.appendChild(ae),this.previewBodyUtilPrintBtn=document.createElement("div");let se=this.previewBodyUtilPrintBtn;return se.setAttribute("class","previewBodyUtilPrintBtn"),se.innerHTML=this.settings.previewPrintBtnLabel,se.setAttribute("style","position: absolute;padding: 2px 10px;margin-top: 3px;left: 24px;font-size: 14px;color: white;cursor: pointer;background-color: rgba(0,0,0,.12);background-image: linear-gradient(hsla(0,0%,100%,.05),hsla(0,0%,100%,0));background-clip: padding-box;border: 1px solid rgba(0,0,0,.35);border-color: rgba(0,0,0,.32) rgba(0,0,0,.38) rgba(0,0,0,.42);box-shadow: inset 0 1px 0 hsla(0,0%,100%,.05), inset 0 0 1px hsla(0,0%,100%,.15), 0 1px 0 hsla(0,0%,100%,.05);"),ae.appendChild(se),document.body.appendChild(ee),{close:this.close,previewBody:this.previewBody}}iframeBox(U,G){let ee=document.createElement("iframe");return ee.style.border="0px",ee.style.position="absolute",ee.style.width="0px",ee.style.height="0px",ee.style.right="0px",ee.style.top="0px",ee.setAttribute("id",U),ee.setAttribute("src",G),ee}Iframe(U){let G=this.settings.id;U=U||new Date().getTime();let ee=this,ne=this.iframeBox(G,U);try{if(this.settings.preview){ne.setAttribute("style","border: 0px;flex: 1;");let re=this.previewBox(),oe=re.previewBody,ie=re.close;oe.appendChild(ne),this.addEvent(ie,"click",function(){ee.previewBoxHide()})}else document.body.appendChild(ne);ne.doc=null,ne.doc=ne.contentDocument?ne.contentDocument:ne.contentWindow?ne.contentWindow.document:ne.document}catch(re){throw new Error(re+". iframes may not be supported in this browser.")}if(ne.doc==null)throw new Error("Cannot find document.");return ne}};var t$2={directiveName:"print",mounted(te,U,G){let ee=U.instance,ne="";var re,oe,ie;oe="click",ie=()=>{if(typeof U.value=="string")ne=U.value;else{if(typeof U.value!="object"||!U.value.id)return void window.print();{ne=U.value.id;let ae=ne.replace(new RegExp("#","g"),"");document.getElementById(ae)||(console.log("id in Error"),ne="")}}le()},(re=te).addEventListener?re.addEventListener(oe,ie,!1):re.attachEvent?re.attachEvent("on"+oe,ie):re["on"+oe]=ie;const le=()=>{new e$3({ids:ne,vue:ee,url:U.value.url,standard:"",extraHead:U.value.extraHead,extraCss:U.value.extraCss,zIndex:U.value.zIndex||20002,previewTitle:U.value.previewTitle||"打印预览",previewPrintBtnLabel:U.value.previewPrintBtnLabel||"打印",popTitle:U.value.popTitle,preview:U.value.preview||!1,asyncUrl:U.value.asyncUrl,previewBeforeOpenCallback(){U.value.previewBeforeOpenCallback&&U.value.previewBeforeOpenCallback(ee)},previewOpenCallback(){U.value.previewOpenCallback&&U.value.previewOpenCallback(ee)},openCallback(){U.value.openCallback&&U.value.openCallback(ee)},closeCallback(){U.value.closeCallback&&U.value.closeCallback(ee)},beforeOpenCallback(){U.value.beforeOpenCallback&&U.value.beforeOpenCallback(ee)}})}},install:function(te){te.directive("print",t$2)}},FieldRenderType=(te=>(te.String="string",te.Integer="interget",te))(FieldRenderType||{}),DynamicTableType=(te=>(te.Default="default",te.DataForm="dataForm",te))(DynamicTableType||{}),ItableType=(te=>(te.Link="link",te))(ItableType||{}),FieldType=(te=>(te.Text="text",te.Select="select",te.Date="date",te.DateTime="datetime",te.CheckBox="checkbox",te.Switch="switch",te.Radio="radio",te.Textarea="textarea",te.Number="number",te.NumberRange="numberRange",te.Cascader="cascader",te.Daterange="daterange",te.Monthrange="monthrange",te.File="file",te.TreeSelect="treeSelect",te.Year="year",te.Month="month",te.Hr="hr",te.Slot="slot",te.Editor="editor",te.Password="password",te.Json="json",te.Markdown="markdown",te.Rate="rate",te.TimeRange="timerange",te.Time="time",te.DateTimeRange="datetimerange",te))(FieldType||{});let nanoid=(te=21)=>crypto.getRandomValues(new Uint8Array(te)).reduce((U,G)=>(G&=63,G<36?U+=G.toString(36):G<62?U+=(G-26).toString(36).toUpperCase():G>62?U+="-":U+="_",U),"");const screenDesignMainStore=pinia.defineStore({id:"design",state:()=>({theme:localStorage.getItem("design-theme")||"",stageWidth:1920,stageHeight:1080,scale:.2,targetsWidget:[],sketchRuleLine:{h:[],v:[]},widgetConfg:{config:{backgroundColor:"transparent",backgroundImage:""},list:[]},widgetHoverIds:[],pasteWidget:[],createLoading:!1,showRightPannel:!1,tempChartData:{},chartData:{},countMap:{}}),getters:{getScale(){return this.scale},getStage(){return{stageWidth:this.stageWidth,stageHeight:this.stageHeight}},getSketchRuleLine(){return this.sketchRuleLine},getTargetWidget(){return this.targetsWidget},getWidgetConfig(){return this.widgetConfg.config},getWidgetList(){return this.widgetConfg.list},getWidgetHoverIds(){return this.widgetHoverIds},getPasteWidget(){return this.pasteWidget},getCreateLoading(){return this.createLoading},getRightPannel(){return this.showRightPannel},getTheme(){return this.theme},getChartData(){return this.chartData},getCountMap(){return this.countMap}},actions:{setSacle(te){this.scale=te/100},setSketchRuleLine(te,U){this.sketchRuleLine.h=te,this.sketchRuleLine.v=U},clearSketchRuleLine(){this.sketchRuleLine={h:[],v:[]}},setTargetWidget(te){this.targetsWidget=te},setWidgetList(te){this.widgetConfg.list=te},setWidgetHoverIds(te){this.widgetHoverIds=te},delWidgetItem(te){this.setWidgetList(this.getWidgetList.filter(U=>!te.includes(U.id))),this.setTargetWidget(this.getTargetWidget.filter(U=>!te.includes(U.id)))},copyWidgetItem(te){this.pasteWidget=[],te.forEach(U=>{const G=this.getWidgetList.find(ee=>ee.id==U);G&&this.pasteWidget.push(G)})},pasteWidgetItem(){this.pasteWidget.forEach(G=>{const ee=JSON.parse(JSON.stringify(G));let ne=ee.x,re=ee.y;ee.x+40>this.stageWidth-ee.w?ne=this.stageWidth-ee.w-40:ne+=40,ee.y+40>this.stageHeight-ee.h?re=this.stageHeight-ee.h-40:re+=40,this.widgetConfg.list.unshift({...ee,id:nanoid(),x:ne,y:re,z:this.widgetConfg.list.length+1,locked:!1})})},sortWidgetList(){this.widgetConfg.list.sort((te,U)=>U.z-te.z)},setCreateLoading(te){this.createLoading=te,te&&(this.targetsWidget=[],this.clearSketchRuleLine())},setRightPannel(te){this.showRightPannel=te},setStageWidth(te){this.stageWidth=te,this.widgetConfg.config.stageWidth=te},setStageHeight(te){this.stageHeight=te,this.widgetConfg.config.stageHeight=te},setTheme(){this.theme=this.theme=="dark"?"":"dark",document.getElementsByTagName("html")[0].className=this.theme,localStorage.setItem("design-theme",this.theme)},setChartData(te){this.chartData=te},setCountMap(te,U){this.countMap[te]=U}}});/*!
|
|
2
2
|
* Compressor.js v1.2.1
|
|
3
3
|
* https://fengyuanchen.github.io/compressorjs
|
|
4
4
|
*
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* Date: 2023-02-28T14:09:41.732Z
|
|
9
9
|
*/function ownKeys(te,U){var G=Object.keys(te);if(Object.getOwnPropertySymbols){var ee=Object.getOwnPropertySymbols(te);U&&(ee=ee.filter(function(ne){return Object.getOwnPropertyDescriptor(te,ne).enumerable})),G.push.apply(G,ee)}return G}function _objectSpread2(te){for(var U=1;U<arguments.length;U++){var G=arguments[U]!=null?arguments[U]:{};U%2?ownKeys(Object(G),!0).forEach(function(ee){_defineProperty(te,ee,G[ee])}):Object.getOwnPropertyDescriptors?Object.defineProperties(te,Object.getOwnPropertyDescriptors(G)):ownKeys(Object(G)).forEach(function(ee){Object.defineProperty(te,ee,Object.getOwnPropertyDescriptor(G,ee))})}return te}function _classCallCheck(te,U){if(!(te instanceof U))throw new TypeError("Cannot call a class as a function")}function _defineProperties(te,U){for(var G=0;G<U.length;G++){var ee=U[G];ee.enumerable=ee.enumerable||!1,ee.configurable=!0,"value"in ee&&(ee.writable=!0),Object.defineProperty(te,_toPropertyKey(ee.key),ee)}}function _createClass(te,U,G){return U&&_defineProperties(te.prototype,U),G&&_defineProperties(te,G),Object.defineProperty(te,"prototype",{writable:!1}),te}function _defineProperty(te,U,G){return U=_toPropertyKey(U),U in te?Object.defineProperty(te,U,{value:G,enumerable:!0,configurable:!0,writable:!0}):te[U]=G,te}function _extends(){return _extends=Object.assign?Object.assign.bind():function(te){for(var U=1;U<arguments.length;U++){var G=arguments[U];for(var ee in G)Object.prototype.hasOwnProperty.call(G,ee)&&(te[ee]=G[ee])}return te},_extends.apply(this,arguments)}function _toPrimitive(te,U){if(typeof te!="object"||te===null)return te;var G=te[Symbol.toPrimitive];if(G!==void 0){var ee=G.call(te,U||"default");if(typeof ee!="object")return ee;throw new TypeError("@@toPrimitive must return a primitive value.")}return(U==="string"?String:Number)(te)}function _toPropertyKey(te){var U=_toPrimitive(te,"string");return typeof U=="symbol"?U:String(U)}var canvasToBlob={exports:{}};(function(te){typeof window>"u"||function(U){var G=U.HTMLCanvasElement&&U.HTMLCanvasElement.prototype,ee=U.Blob&&function(){try{return!!new Blob}catch{return!1}}(),ne=ee&&U.Uint8Array&&function(){try{return new Blob([new Uint8Array(100)]).size===100}catch{return!1}}(),re=U.BlobBuilder||U.WebKitBlobBuilder||U.MozBlobBuilder||U.MSBlobBuilder,oe=/^data:((.*?)(;charset=.*?)?)(;base64)?,/,ie=(ee||re)&&U.atob&&U.ArrayBuffer&&U.Uint8Array&&function(le){var ae,se,ue,ce,de,fe,ve,he,pe;if(ae=le.match(oe),!ae)throw new Error("invalid data URI");for(se=ae[2]?ae[1]:"text/plain"+(ae[3]||";charset=US-ASCII"),ue=!!ae[4],ce=le.slice(ae[0].length),ue?de=atob(ce):de=decodeURIComponent(ce),fe=new ArrayBuffer(de.length),ve=new Uint8Array(fe),he=0;he<de.length;he+=1)ve[he]=de.charCodeAt(he);return ee?new Blob([ne?ve:fe],{type:se}):(pe=new re,pe.append(fe),pe.getBlob(se))};U.HTMLCanvasElement&&!G.toBlob&&(G.mozGetAsFile?G.toBlob=function(le,ae,se){var ue=this;setTimeout(function(){se&&G.toDataURL&&ie?le(ie(ue.toDataURL(ae,se))):le(ue.mozGetAsFile("blob",ae))})}:G.toDataURL&&ie&&(G.msToBlob?G.toBlob=function(le,ae,se){var ue=this;setTimeout(function(){(ae&&ae!=="image/png"||se)&&G.toDataURL&&ie?le(ie(ue.toDataURL(ae,se))):le(ue.msToBlob(ae))})}:G.toBlob=function(le,ae,se){var ue=this;setTimeout(function(){le(ie(ue.toDataURL(ae,se)))})})),te.exports?te.exports=ie:U.dataURLtoBlob=ie}(window)})(canvasToBlob);var toBlob=canvasToBlob.exports,isBlob=function(U){return typeof Blob>"u"?!1:U instanceof Blob||Object.prototype.toString.call(U)==="[object Blob]"},DEFAULTS={strict:!0,checkOrientation:!0,retainExif:!1,maxWidth:1/0,maxHeight:1/0,minWidth:0,minHeight:0,width:void 0,height:void 0,resize:"none",quality:.8,mimeType:"auto",convertTypes:["image/png"],convertSize:5e6,beforeDraw:null,drew:null,success:null,error:null},IS_BROWSER=typeof window<"u"&&typeof window.document<"u",WINDOW=IS_BROWSER?window:{},isPositiveNumber=function(U){return U>0&&U<1/0},slice=Array.prototype.slice;function toArray$1(te){return Array.from?Array.from(te):slice.call(te)}var REGEXP_IMAGE_TYPE=/^image\/.+$/;function isImageType(te){return REGEXP_IMAGE_TYPE.test(te)}function imageTypeToExtension(te){var U=isImageType(te)?te.substr(6):"";return U==="jpeg"&&(U="jpg"),".".concat(U)}var fromCharCode=String.fromCharCode;function getStringFromCharCode(te,U,G){var ee="",ne;for(G+=U,ne=U;ne<G;ne+=1)ee+=fromCharCode(te.getUint8(ne));return ee}var btoa$1=WINDOW.btoa;function arrayBufferToDataURL(te,U){for(var G=[],ee=8192,ne=new Uint8Array(te);ne.length>0;)G.push(fromCharCode.apply(null,toArray$1(ne.subarray(0,ee)))),ne=ne.subarray(ee);return"data:".concat(U,";base64,").concat(btoa$1(G.join("")))}function resetAndGetOrientation(te){var U=new DataView(te),G;try{var ee,ne,re;if(U.getUint8(0)===255&&U.getUint8(1)===216)for(var oe=U.byteLength,ie=2;ie+1<oe;){if(U.getUint8(ie)===255&&U.getUint8(ie+1)===225){ne=ie;break}ie+=1}if(ne){var le=ne+4,ae=ne+10;if(getStringFromCharCode(U,le,4)==="Exif"){var se=U.getUint16(ae);if(ee=se===18761,(ee||se===19789)&&U.getUint16(ae+2,ee)===42){var ue=U.getUint32(ae+4,ee);ue>=8&&(re=ae+ue)}}}if(re){var ce=U.getUint16(re,ee),de,fe;for(fe=0;fe<ce;fe+=1)if(de=re+fe*12+2,U.getUint16(de,ee)===274){de+=8,G=U.getUint16(de,ee),U.setUint16(de,1,ee);break}}}catch{G=1}return G}function parseOrientation(te){var U=0,G=1,ee=1;switch(te){case 2:G=-1;break;case 3:U=-180;break;case 4:ee=-1;break;case 5:U=90,ee=-1;break;case 6:U=90;break;case 7:U=90,G=-1;break;case 8:U=-90;break}return{rotate:U,scaleX:G,scaleY:ee}}var REGEXP_DECIMALS=/\.\d*(?:0|9){12}\d*$/;function normalizeDecimalNumber(te){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e11;return REGEXP_DECIMALS.test(te)?Math.round(te*U)/U:te}function getAdjustedSizes(te){var U=te.aspectRatio,G=te.height,ee=te.width,ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"none",re=isPositiveNumber(ee),oe=isPositiveNumber(G);if(re&&oe){var ie=G*U;(ne==="contain"||ne==="none")&&ie>ee||ne==="cover"&&ie<ee?G=ee/U:ee=G*U}else re?G=ee/U:oe&&(ee=G*U);return{width:ee,height:G}}function getExif(te){for(var U=toArray$1(new Uint8Array(te)),G=U.length,ee=[],ne=0;ne+3<G;){var re=U[ne],oe=U[ne+1];if(re===255&&oe===218)break;if(re===255&&oe===216)ne+=2;else{var ie=U[ne+2]*256+U[ne+3],le=ne+ie+2,ae=U.slice(ne,le);ee.push(ae),ne=le}}return ee.reduce(function(se,ue){return ue[0]===255&&ue[1]===225?se.concat(ue):se},[])}function insertExif(te,U){var G=toArray$1(new Uint8Array(te));if(G[2]!==255||G[3]!==224)return te;var ee=G[4]*256+G[5],ne=[255,216].concat(U,G.slice(4+ee));return new Uint8Array(ne)}var ArrayBuffer$1=WINDOW.ArrayBuffer,FileReader$1=WINDOW.FileReader,URL$1=WINDOW.URL||WINDOW.webkitURL,REGEXP_EXTENSION=/\.\w+$/,AnotherCompressor=WINDOW.Compressor,Compressor=function(){function te(U,G){_classCallCheck(this,te),this.file=U,this.exif=[],this.image=new Image,this.options=_objectSpread2(_objectSpread2({},DEFAULTS),G),this.aborted=!1,this.result=null,this.init()}return _createClass(te,[{key:"init",value:function(){var G=this,ee=this.file,ne=this.options;if(!isBlob(ee)){this.fail(new Error("The first argument must be a File or Blob object."));return}var re=ee.type;if(!isImageType(re)){this.fail(new Error("The first argument must be an image File or Blob object."));return}if(!URL$1||!FileReader$1){this.fail(new Error("The current browser does not support image compression."));return}ArrayBuffer$1||(ne.checkOrientation=!1,ne.retainExif=!1);var oe=re==="image/jpeg",ie=oe&&ne.checkOrientation,le=oe&&ne.retainExif;if(URL$1&&!ie&&!le)this.load({url:URL$1.createObjectURL(ee)});else{var ae=new FileReader$1;this.reader=ae,ae.onload=function(se){var ue=se.target,ce=ue.result,de={},fe=1;ie&&(fe=resetAndGetOrientation(ce),fe>1&&_extends(de,parseOrientation(fe))),le&&(G.exif=getExif(ce)),ie||le?!URL$1||fe>1?de.url=arrayBufferToDataURL(ce,re):de.url=URL$1.createObjectURL(ee):de.url=ce,G.load(de)},ae.onabort=function(){G.fail(new Error("Aborted to read the image with FileReader."))},ae.onerror=function(){G.fail(new Error("Failed to read the image with FileReader."))},ae.onloadend=function(){G.reader=null},ie||le?ae.readAsArrayBuffer(ee):ae.readAsDataURL(ee)}}},{key:"load",value:function(G){var ee=this,ne=this.file,re=this.image;re.onload=function(){ee.draw(_objectSpread2(_objectSpread2({},G),{},{naturalWidth:re.naturalWidth,naturalHeight:re.naturalHeight}))},re.onabort=function(){ee.fail(new Error("Aborted to load the image."))},re.onerror=function(){ee.fail(new Error("Failed to load the image."))},WINDOW.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(WINDOW.navigator.userAgent)&&(re.crossOrigin="anonymous"),re.alt=ne.name,re.src=G.url}},{key:"draw",value:function(G){var ee=this,ne=G.naturalWidth,re=G.naturalHeight,oe=G.rotate,ie=oe===void 0?0:oe,le=G.scaleX,ae=le===void 0?1:le,se=G.scaleY,ue=se===void 0?1:se,ce=this.file,de=this.image,fe=this.options,ve=document.createElement("canvas"),he=ve.getContext("2d"),pe=Math.abs(ie)%180===90,ge=(fe.resize==="contain"||fe.resize==="cover")&&isPositiveNumber(fe.width)&&isPositiveNumber(fe.height),me=Math.max(fe.maxWidth,0)||1/0,_e=Math.max(fe.maxHeight,0)||1/0,ye=Math.max(fe.minWidth,0)||0,be=Math.max(fe.minHeight,0)||0,xe=ne/re,Ce=fe.width,$e=fe.height;if(pe){var Ee=[_e,me];me=Ee[0],_e=Ee[1];var Ve=[be,ye];ye=Ve[0],be=Ve[1];var Ne=[$e,Ce];Ce=Ne[0],$e=Ne[1]}ge&&(xe=Ce/$e);var Se=getAdjustedSizes({aspectRatio:xe,width:me,height:_e},"contain");me=Se.width,_e=Se.height;var Pe=getAdjustedSizes({aspectRatio:xe,width:ye,height:be},"cover");if(ye=Pe.width,be=Pe.height,ge){var we=getAdjustedSizes({aspectRatio:xe,width:Ce,height:$e},fe.resize);Ce=we.width,$e=we.height}else{var ke=getAdjustedSizes({aspectRatio:xe,width:Ce,height:$e}),Te=ke.width;Ce=Te===void 0?ne:Te;var De=ke.height;$e=De===void 0?re:De}Ce=Math.floor(normalizeDecimalNumber(Math.min(Math.max(Ce,ye),me))),$e=Math.floor(normalizeDecimalNumber(Math.min(Math.max($e,be),_e)));var Ie=-Ce/2,Me=-$e/2,Be=Ce,Ae=$e,ze=[];if(ge){var Re=0,Fe=0,je=ne,Oe=re,Le=getAdjustedSizes({aspectRatio:xe,width:ne,height:re},{contain:"cover",cover:"contain"}[fe.resize]);je=Le.width,Oe=Le.height,Re=(ne-je)/2,Fe=(re-Oe)/2,ze.push(Re,Fe,je,Oe)}if(ze.push(Ie,Me,Be,Ae),pe){var Ge=[$e,Ce];Ce=Ge[0],$e=Ge[1]}ve.width=Ce,ve.height=$e,isImageType(fe.mimeType)||(fe.mimeType=ce.type);var qe="transparent";ce.size>fe.convertSize&&fe.convertTypes.indexOf(fe.mimeType)>=0&&(fe.mimeType="image/jpeg");var Ue=fe.mimeType==="image/jpeg";if(Ue&&(qe="#fff"),he.fillStyle=qe,he.fillRect(0,0,Ce,$e),fe.beforeDraw&&fe.beforeDraw.call(this,he,ve),!this.aborted&&(he.save(),he.translate(Ce/2,$e/2),he.rotate(ie*Math.PI/180),he.scale(ae,ue),he.drawImage.apply(he,[de].concat(ze)),he.restore(),fe.drew&&fe.drew.call(this,he,ve),!this.aborted)){var We=function(Je){if(!ee.aborted){var Xe=function(Ze){return ee.done({naturalWidth:ne,naturalHeight:re,result:Ze})};if(Je&&Ue&&fe.retainExif&&ee.exif&&ee.exif.length>0){var Ke=function(Ze){return Xe(toBlob(arrayBufferToDataURL(insertExif(Ze,ee.exif),fe.mimeType)))};if(Je.arrayBuffer)Je.arrayBuffer().then(Ke).catch(function(){ee.fail(new Error("Failed to read the compressed image with Blob.arrayBuffer()."))});else{var He=new FileReader$1;ee.reader=He,He.onload=function(Qe){var Ze=Qe.target;Ke(Ze.result)},He.onabort=function(){ee.fail(new Error("Aborted to read the compressed image with FileReader."))},He.onerror=function(){ee.fail(new Error("Failed to read the compressed image with FileReader."))},He.onloadend=function(){ee.reader=null},He.readAsArrayBuffer(Je)}}else Xe(Je)}};ve.toBlob?ve.toBlob(We,fe.mimeType,fe.quality):We(toBlob(ve.toDataURL(fe.mimeType,fe.quality)))}}},{key:"done",value:function(G){var ee=G.naturalWidth,ne=G.naturalHeight,re=G.result,oe=this.file,ie=this.image,le=this.options;if(URL$1&&ie.src.indexOf("blob:")===0&&URL$1.revokeObjectURL(ie.src),re)if(le.strict&&!le.retainExif&&re.size>oe.size&&le.mimeType===oe.type&&!(le.width>ee||le.height>ne||le.minWidth>ee||le.minHeight>ne||le.maxWidth<ee||le.maxHeight<ne))re=oe;else{var ae=new Date;re.lastModified=ae.getTime(),re.lastModifiedDate=ae,re.name=oe.name,re.name&&re.type!==oe.type&&(re.name=re.name.replace(REGEXP_EXTENSION,imageTypeToExtension(re.type)))}else re=oe;this.result=re,le.success&&le.success.call(this,re)}},{key:"fail",value:function(G){var ee=this.options;if(ee.error)ee.error.call(this,G);else throw G}},{key:"abort",value:function(){this.aborted||(this.aborted=!0,this.reader?this.reader.abort():this.image.complete?this.fail(new Error("The compression process has been aborted.")):(this.image.onload=null,this.image.onabort()))}}],[{key:"noConflict",value:function(){return window.Compressor=AnotherCompressor,te}},{key:"setDefaults",value:function(G){_extends(DEFAULTS,G)}}]),te}();function resolveUrl(te,U){if(te.match(/^[a-z]+:\/\//i))return te;if(te.match(/^\/\//))return window.location.protocol+te;if(te.match(/^[a-z]+:/i))return te;const G=document.implementation.createHTMLDocument(),ee=G.createElement("base"),ne=G.createElement("a");return G.head.appendChild(ee),G.body.appendChild(ne),U&&(ee.href=U),ne.href=te,ne.href}const uuid$1=(()=>{let te=0;const U=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(te+=1,`u${U()}${te}`)})();function toArray(te){const U=[];for(let G=0,ee=te.length;G<ee;G++)U.push(te[G]);return U}function px(te,U){const ee=(te.ownerDocument.defaultView||window).getComputedStyle(te).getPropertyValue(U);return ee?parseFloat(ee.replace("px","")):0}function getNodeWidth(te){const U=px(te,"border-left-width"),G=px(te,"border-right-width");return te.clientWidth+U+G}function getNodeHeight(te){const U=px(te,"border-top-width"),G=px(te,"border-bottom-width");return te.clientHeight+U+G}function getImageSize(te,U={}){const G=U.width||getNodeWidth(te),ee=U.height||getNodeHeight(te);return{width:G,height:ee}}function getPixelRatio(){let te,U;try{U=process}catch{}const G=U&&U.env?U.env.devicePixelRatio:null;return G&&(te=parseInt(G,10),Number.isNaN(te)&&(te=1)),te||window.devicePixelRatio||1}const canvasDimensionLimit=16384;function checkCanvasDimensions(te){(te.width>canvasDimensionLimit||te.height>canvasDimensionLimit)&&(te.width>canvasDimensionLimit&&te.height>canvasDimensionLimit?te.width>te.height?(te.height*=canvasDimensionLimit/te.width,te.width=canvasDimensionLimit):(te.width*=canvasDimensionLimit/te.height,te.height=canvasDimensionLimit):te.width>canvasDimensionLimit?(te.height*=canvasDimensionLimit/te.width,te.width=canvasDimensionLimit):(te.width*=canvasDimensionLimit/te.height,te.height=canvasDimensionLimit))}function createImage(te){return new Promise((U,G)=>{const ee=new Image;ee.decode=()=>U(ee),ee.onload=()=>U(ee),ee.onerror=G,ee.crossOrigin="anonymous",ee.decoding="async",ee.src=te})}async function svgToDataURL(te){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(te)).then(encodeURIComponent).then(U=>`data:image/svg+xml;charset=utf-8,${U}`)}async function nodeToDataURL(te,U,G){const ee="http://www.w3.org/2000/svg",ne=document.createElementNS(ee,"svg"),re=document.createElementNS(ee,"foreignObject");return ne.setAttribute("width",`${U}`),ne.setAttribute("height",`${G}`),ne.setAttribute("viewBox",`0 0 ${U} ${G}`),re.setAttribute("width","100%"),re.setAttribute("height","100%"),re.setAttribute("x","0"),re.setAttribute("y","0"),re.setAttribute("externalResourcesRequired","true"),ne.appendChild(re),re.appendChild(te),svgToDataURL(ne)}const isInstanceOfElement=(te,U)=>{if(te instanceof U)return!0;const G=Object.getPrototypeOf(te);return G===null?!1:G.constructor.name===U.name||isInstanceOfElement(G,U)};function formatCSSText(te){const U=te.getPropertyValue("content");return`${te.cssText} content: '${U.replace(/'|"/g,"")}';`}function formatCSSProperties(te){return toArray(te).map(U=>{const G=te.getPropertyValue(U),ee=te.getPropertyPriority(U);return`${U}: ${G}${ee?" !important":""};`}).join(" ")}function getPseudoElementStyle(te,U,G){const ee=`.${te}:${U}`,ne=G.cssText?formatCSSText(G):formatCSSProperties(G);return document.createTextNode(`${ee}{${ne}}`)}function clonePseudoElement(te,U,G){const ee=window.getComputedStyle(te,G),ne=ee.getPropertyValue("content");if(ne===""||ne==="none")return;const re=uuid$1();try{U.className=`${U.className} ${re}`}catch{return}const oe=document.createElement("style");oe.appendChild(getPseudoElementStyle(re,G,ee)),U.appendChild(oe)}function clonePseudoElements(te,U){clonePseudoElement(te,U,":before"),clonePseudoElement(te,U,":after")}const WOFF="application/font-woff",JPEG="image/jpeg",mimes={woff:WOFF,woff2:WOFF,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:JPEG,jpeg:JPEG,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function getExtension(te){const U=/\.([^./]*?)$/g.exec(te);return U?U[1]:""}function getMimeType(te){const U=getExtension(te).toLowerCase();return mimes[U]||""}function getContentFromDataUrl(te){return te.split(/,/)[1]}function isDataUrl(te){return te.search(/^(data:)/)!==-1}function makeDataUrl(te,U){return`data:${U};base64,${te}`}async function fetchAsDataURL(te,U,G){const ee=await fetch(te,U);if(ee.status===404)throw new Error(`Resource "${ee.url}" not found`);const ne=await ee.blob();return new Promise((re,oe)=>{const ie=new FileReader;ie.onerror=oe,ie.onloadend=()=>{try{re(G({res:ee,result:ie.result}))}catch(le){oe(le)}},ie.readAsDataURL(ne)})}const cache={};function getCacheKey(te,U,G){let ee=te.replace(/\?.*/,"");return G&&(ee=te),/ttf|otf|eot|woff2?/i.test(ee)&&(ee=ee.replace(/.*\//,"")),U?`[${U}]${ee}`:ee}async function resourceToDataURL(te,U,G){const ee=getCacheKey(te,U,G.includeQueryParams);if(cache[ee]!=null)return cache[ee];G.cacheBust&&(te+=(/\?/.test(te)?"&":"?")+new Date().getTime());let ne;try{const re=await fetchAsDataURL(te,G.fetchRequestInit,({res:oe,result:ie})=>(U||(U=oe.headers.get("Content-Type")||""),getContentFromDataUrl(ie)));ne=makeDataUrl(re,U)}catch(re){ne=G.imagePlaceholder||"";let oe=`Failed to fetch resource: ${te}`;re&&(oe=typeof re=="string"?re:re.message),oe&&console.warn(oe)}return cache[ee]=ne,ne}async function cloneCanvasElement(te){const U=te.toDataURL();return U==="data:,"?te.cloneNode(!1):createImage(U)}async function cloneVideoElement(te,U){if(te.currentSrc){const re=document.createElement("canvas"),oe=re.getContext("2d");re.width=te.clientWidth,re.height=te.clientHeight,oe==null||oe.drawImage(te,0,0,re.width,re.height);const ie=re.toDataURL();return createImage(ie)}const G=te.poster,ee=getMimeType(G),ne=await resourceToDataURL(G,ee,U);return createImage(ne)}async function cloneIFrameElement(te){var U;try{if(!((U=te==null?void 0:te.contentDocument)===null||U===void 0)&&U.body)return await cloneNode(te.contentDocument.body,{},!0)}catch{}return te.cloneNode(!1)}async function cloneSingleNode(te,U){return isInstanceOfElement(te,HTMLCanvasElement)?cloneCanvasElement(te):isInstanceOfElement(te,HTMLVideoElement)?cloneVideoElement(te,U):isInstanceOfElement(te,HTMLIFrameElement)?cloneIFrameElement(te):te.cloneNode(!1)}const isSlotElement=te=>te.tagName!=null&&te.tagName.toUpperCase()==="SLOT";async function cloneChildren(te,U,G){var ee,ne;let re=[];return isSlotElement(te)&&te.assignedNodes?re=toArray(te.assignedNodes()):isInstanceOfElement(te,HTMLIFrameElement)&&(!((ee=te.contentDocument)===null||ee===void 0)&&ee.body)?re=toArray(te.contentDocument.body.childNodes):re=toArray(((ne=te.shadowRoot)!==null&&ne!==void 0?ne:te).childNodes),re.length===0||isInstanceOfElement(te,HTMLVideoElement)||await re.reduce((oe,ie)=>oe.then(()=>cloneNode(ie,G)).then(le=>{le&&U.appendChild(le)}),Promise.resolve()),U}function cloneCSSStyle(te,U){const G=U.style;if(!G)return;const ee=window.getComputedStyle(te);ee.cssText?(G.cssText=ee.cssText,G.transformOrigin=ee.transformOrigin):toArray(ee).forEach(ne=>{let re=ee.getPropertyValue(ne);ne==="font-size"&&re.endsWith("px")&&(re=`${Math.floor(parseFloat(re.substring(0,re.length-2)))-.1}px`),isInstanceOfElement(te,HTMLIFrameElement)&&ne==="display"&&re==="inline"&&(re="block"),ne==="d"&&U.getAttribute("d")&&(re=`path(${U.getAttribute("d")})`),G.setProperty(ne,re,ee.getPropertyPriority(ne))})}function cloneInputValue(te,U){isInstanceOfElement(te,HTMLTextAreaElement)&&(U.innerHTML=te.value),isInstanceOfElement(te,HTMLInputElement)&&U.setAttribute("value",te.value)}function cloneSelectValue(te,U){if(isInstanceOfElement(te,HTMLSelectElement)){const G=U,ee=Array.from(G.children).find(ne=>te.value===ne.getAttribute("value"));ee&&ee.setAttribute("selected","")}}function decorate(te,U){return isInstanceOfElement(U,Element)&&(cloneCSSStyle(te,U),clonePseudoElements(te,U),cloneInputValue(te,U),cloneSelectValue(te,U)),U}async function ensureSVGSymbols(te,U){const G=te.querySelectorAll?te.querySelectorAll("use"):[];if(G.length===0)return te;const ee={};for(let re=0;re<G.length;re++){const ie=G[re].getAttribute("xlink:href");if(ie){const le=te.querySelector(ie),ae=document.querySelector(ie);!le&&ae&&!ee[ie]&&(ee[ie]=await cloneNode(ae,U,!0))}}const ne=Object.values(ee);if(ne.length){const re="http://www.w3.org/1999/xhtml",oe=document.createElementNS(re,"svg");oe.setAttribute("xmlns",re),oe.style.position="absolute",oe.style.width="0",oe.style.height="0",oe.style.overflow="hidden",oe.style.display="none";const ie=document.createElementNS(re,"defs");oe.appendChild(ie);for(let le=0;le<ne.length;le++)ie.appendChild(ne[le]);te.appendChild(oe)}return te}async function cloneNode(te,U,G){return!G&&U.filter&&!U.filter(te)?null:Promise.resolve(te).then(ee=>cloneSingleNode(ee,U)).then(ee=>cloneChildren(te,ee,U)).then(ee=>decorate(te,ee)).then(ee=>ensureSVGSymbols(ee,U))}const URL_REGEX=/url\((['"]?)([^'"]+?)\1\)/g,URL_WITH_FORMAT_REGEX=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,FONT_SRC_REGEX=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function toRegex(te){const U=te.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${U})(['"]?\\))`,"g")}function parseURLs(te){const U=[];return te.replace(URL_REGEX,(G,ee,ne)=>(U.push(ne),G)),U.filter(G=>!isDataUrl(G))}async function embed(te,U,G,ee,ne){try{const re=G?resolveUrl(U,G):U,oe=getMimeType(U);let ie;if(ne){const le=await ne(re);ie=makeDataUrl(le,oe)}else ie=await resourceToDataURL(re,oe,ee);return te.replace(toRegex(U),`$1${ie}$3`)}catch{}return te}function filterPreferredFontFormat(te,{preferredFontFormat:U}){return U?te.replace(FONT_SRC_REGEX,G=>{for(;;){const[ee,,ne]=URL_WITH_FORMAT_REGEX.exec(G)||[];if(!ne)return"";if(ne===U)return`src: ${ee};`}}):te}function shouldEmbed(te){return te.search(URL_REGEX)!==-1}async function embedResources(te,U,G){if(!shouldEmbed(te))return te;const ee=filterPreferredFontFormat(te,G);return parseURLs(ee).reduce((re,oe)=>re.then(ie=>embed(ie,oe,U,G)),Promise.resolve(ee))}async function embedProp(te,U,G){var ee;const ne=(ee=U.style)===null||ee===void 0?void 0:ee.getPropertyValue(te);if(ne){const re=await embedResources(ne,null,G);return U.style.setProperty(te,re,U.style.getPropertyPriority(te)),!0}return!1}async function embedBackground(te,U){await embedProp("background",te,U)||await embedProp("background-image",te,U),await embedProp("mask",te,U)||await embedProp("mask-image",te,U)}async function embedImageNode(te,U){const G=isInstanceOfElement(te,HTMLImageElement);if(!(G&&!isDataUrl(te.src))&&!(isInstanceOfElement(te,SVGImageElement)&&!isDataUrl(te.href.baseVal)))return;const ee=G?te.src:te.href.baseVal,ne=await resourceToDataURL(ee,getMimeType(ee),U);await new Promise((re,oe)=>{te.onload=re,te.onerror=oe;const ie=te;ie.decode&&(ie.decode=re),ie.loading==="lazy"&&(ie.loading="eager"),G?(te.srcset="",te.src=ne):te.href.baseVal=ne})}async function embedChildren(te,U){const ee=toArray(te.childNodes).map(ne=>embedImages(ne,U));await Promise.all(ee).then(()=>te)}async function embedImages(te,U){isInstanceOfElement(te,Element)&&(await embedBackground(te,U),await embedImageNode(te,U),await embedChildren(te,U))}function applyStyle(te,U){const{style:G}=te;U.backgroundColor&&(G.backgroundColor=U.backgroundColor),U.width&&(G.width=`${U.width}px`),U.height&&(G.height=`${U.height}px`);const ee=U.style;return ee!=null&&Object.keys(ee).forEach(ne=>{G[ne]=ee[ne]}),te}const cssFetchCache={};async function fetchCSS(te){let U=cssFetchCache[te];if(U!=null)return U;const ee=await(await fetch(te)).text();return U={url:te,cssText:ee},cssFetchCache[te]=U,U}async function embedFonts(te,U){let G=te.cssText;const ee=/url\(["']?([^"')]+)["']?\)/g,re=(G.match(/url\([^)]+\)/g)||[]).map(async oe=>{let ie=oe.replace(ee,"$1");return ie.startsWith("https://")||(ie=new URL(ie,te.url).href),fetchAsDataURL(ie,U.fetchRequestInit,({result:le})=>(G=G.replace(oe,`url(${le})`),[oe,le]))});return Promise.all(re).then(()=>G)}function parseCSS(te){if(te==null)return[];const U=[],G=/(\/\*[\s\S]*?\*\/)/gi;let ee=te.replace(G,"");const ne=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const le=ne.exec(ee);if(le===null)break;U.push(le[0])}ee=ee.replace(ne,"");const re=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,oe="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",ie=new RegExp(oe,"gi");for(;;){let le=re.exec(ee);if(le===null){if(le=ie.exec(ee),le===null)break;re.lastIndex=ie.lastIndex}else ie.lastIndex=re.lastIndex;U.push(le[0])}return U}async function getCSSRules(te,U){const G=[],ee=[];return te.forEach(ne=>{if("cssRules"in ne)try{toArray(ne.cssRules||[]).forEach((re,oe)=>{if(re.type===CSSRule.IMPORT_RULE){let ie=oe+1;const le=re.href,ae=fetchCSS(le).then(se=>embedFonts(se,U)).then(se=>parseCSS(se).forEach(ue=>{try{ne.insertRule(ue,ue.startsWith("@import")?ie+=1:ne.cssRules.length)}catch(ce){console.error("Error inserting rule from remote css",{rule:ue,error:ce})}})).catch(se=>{console.error("Error loading remote css",se.toString())});ee.push(ae)}})}catch(re){const oe=te.find(ie=>ie.href==null)||document.styleSheets[0];ne.href!=null&&ee.push(fetchCSS(ne.href).then(ie=>embedFonts(ie,U)).then(ie=>parseCSS(ie).forEach(le=>{oe.insertRule(le,ne.cssRules.length)})).catch(ie=>{console.error("Error loading remote stylesheet",ie)})),console.error("Error inlining remote css file",re)}}),Promise.all(ee).then(()=>(te.forEach(ne=>{if("cssRules"in ne)try{toArray(ne.cssRules||[]).forEach(re=>{G.push(re)})}catch(re){console.error(`Error while reading CSS rules from ${ne.href}`,re)}}),G))}function getWebFontRules(te){return te.filter(U=>U.type===CSSRule.FONT_FACE_RULE).filter(U=>shouldEmbed(U.style.getPropertyValue("src")))}async function parseWebFontRules(te,U){if(te.ownerDocument==null)throw new Error("Provided element is not within a Document");const G=toArray(te.ownerDocument.styleSheets),ee=await getCSSRules(G,U);return getWebFontRules(ee)}async function getWebFontCSS(te,U){const G=await parseWebFontRules(te,U);return(await Promise.all(G.map(ne=>{const re=ne.parentStyleSheet?ne.parentStyleSheet.href:null;return embedResources(ne.cssText,re,U)}))).join(`
|
|
10
|
-
`)}async function embedWebFonts(te,U){const G=U.fontEmbedCSS!=null?U.fontEmbedCSS:U.skipFonts?null:await getWebFontCSS(te,U);if(G){const ee=document.createElement("style"),ne=document.createTextNode(G);ee.appendChild(ne),te.firstChild?te.insertBefore(ee,te.firstChild):te.appendChild(ee)}}async function toSvg(te,U={}){const{width:G,height:ee}=getImageSize(te,U),ne=await cloneNode(te,U,!0);return await embedWebFonts(ne,U),await embedImages(ne,U),applyStyle(ne,U),await nodeToDataURL(ne,G,ee)}async function toCanvas(te,U={}){const{width:G,height:ee}=getImageSize(te,U),ne=await toSvg(te,U),re=await createImage(ne),oe=document.createElement("canvas"),ie=oe.getContext("2d"),le=U.pixelRatio||getPixelRatio(),ae=U.canvasWidth||G,se=U.canvasHeight||ee;return oe.width=ae*le,oe.height=se*le,U.skipAutoScale||checkCanvasDimensions(oe),oe.style.width=`${ae}`,oe.style.height=`${se}`,U.backgroundColor&&(ie.fillStyle=U.backgroundColor,ie.fillRect(0,0,oe.width,oe.height)),ie.drawImage(re,0,0,oe.width,oe.height),oe}async function toPng(te,U={}){return(await toCanvas(te,U)).toDataURL()}const resetUrl=(te="")=>{if(process.env.NODE_ENV==="development"){const U="http://192.168.70.09:30010/".split(":")[1].split("."),G=U[U.length-1],ee=`http://192.168.70.${Number(G)}:9000`;return te=te.replace("http://172.17.95.13:9000",ee),te=te.replace("http://172.29.26.123:9000",ee),te=te.replace("http://192.168.0.22:9000",ee),te}return te=te.replace(/http:\/\/172\.17\.95\.13:9000/g,""),te=te.replace(/http:\/\/172\.29\.26\.123:9000/g,""),te=te.replace(/http:\/\/172\.17\.95\.13:9000/g,""),te},echartsTypeList={1:{name:"折线图",icon:"ri-line-chart-line"},2:{name:"饼状图",icon:"ri-pie-chart-line"},3:{name:"柱状图",icon:"ri-bar-chart-2-line"},4:{name:"雷达图",icon:"ri-radar-line"},5:{name:"柱状折线图",icon:"ri-bar-chart-line"},6:{name:"散点图",icon:"ri-bubble-chart-line"},7:{name:"单值",icon:"ri-infinity-line"},8:{name:"表格",icon:"ri-grid-fill"},9:{name:"地图",icon:"ri-road-map-line"}},chartJsonFormat=te=>JSON.parse(te,(U,G)=>G&&typeof G=="string"&&G.indexOf("FUNCTION_FLAG")>-1?G.indexOf(".custom")==-1?new Function(`return ${G.toString().replace("FUNCTION_FLAG","")}`)():"":G),chartJsonToStringFormat=te=>JSON.stringify(te,(U,G)=>typeof G=="function"?"FUNCTION_FLAG"+G:G),base64ToBlob=(te,U="image/png",G="")=>{const ne=atob(te.split(",")[1]),re=[];for(let le=0;le<ne.length;le+=1024){const ae=ne.slice(le,le+1024),se=new Array(ae.length);for(let ue=0;ue<ae.length;ue++)se[ue]=ae.charCodeAt(ue);re.push(new Uint8Array(se))}const oe=new Blob(re,{type:U});return new File([oe],G||`${nanoid()}.png`,{type:U})},commonDataType=[{label:"字符串",value:"varchar"},{label:"整数",value:"int"},{label:"长整数",value:"bigint"},{label:"高精度小数",value:"decimal"},{label:"小数",value:"double"},{label:"日期",value:"date"},{label:"日期时间",value:"datetime"},{label:"文本",value:"text"},{label:"长文本",value:"longtext"}],dictArratToTree=te=>{const U=new Map,G=[];for(const ee of te)U.set(ee.code,{...ee,children:[]});for(const ee of te){const ne=U.get(ee.parentCode);ne?ne.children.push(U.get(ee.code)):G.push(U.get(ee.code))}return G},isMobile=/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent),_withScopeId$F=te=>(vue.pushScopeId("data-v-25032105"),te=te(),vue.popScopeId(),te),_hoisted_1$1K={class:"flex items-center justify-between h-full pl-2 pr-2"},_hoisted_2$1q={class:"flex items-center text-sm"},_hoisted_3$1d=_withScopeId$F(()=>vue.createElementVNode("i",{class:"mr-2 text-sm ri-draft-line"},null,-1)),_hoisted_4$16={class:"flex items-center"},_hoisted_5$V=_withScopeId$F(()=>vue.createElementVNode("span",{class:"mr-2"},"缩放",-1)),_hoisted_6$J=_withScopeId$F(()=>vue.createElementVNode("div",{class:"head-btn"},[vue.createTextVNode(" 对齐方式 "),vue.createElementVNode("i",{class:"ml-1 ri-arrow-down-s-line"})],-1)),_sfc_main$32=vue.defineComponent({__name:"TopPannel",props:{title:{default:""},id:{default:""}},emits:["update:title","preview","save","back"],setup(te,{emit:U}){const G=te,ee=U,ne=screenDesignMainStore(),{proxy:re}=vue.getCurrentInstance(),oe=vue.computed(()=>Number((ne.scale*100).toFixed(0))),ie=[{label:"左侧对齐",value:"left"},{label:"居中对齐",value:"center"},{label:"右侧对齐",value:"right"},{label:"顶部对齐",value:"top"},{label:"中部对齐",value:"middle"},{label:"底部对齐",value:"bottom"},{label:"水平均分",value:"levelAround",disabled:()=>ne.getTargetWidget.length<=1},{label:"垂直均分",value:"verticalAround",disabled:()=>ne.getTargetWidget.length<=1}],le=fe=>{re.$baseEventBus.emit("change-align",fe)},ae=()=>{re.$baseEventBus.emit("auto-scale")},se=async fe=>{if(ne.setTargetWidget([]),ne.getCreateLoading)return;const ve=document.querySelector(".render");return ne.setCreateLoading(!0),await new Promise(he=>{setTimeout(()=>{toPng(ve).then(pe=>{if(ne.setCreateLoading(!1),he(pe),fe=="export"){const ge=document.createElement("a");ge.download=`${new Date().getTime()}.png`,ge.href=pe,ge.click(),ge.addEventListener("click",()=>{ge.remove()})}}).catch(pe=>{ne.setCreateLoading(!1),re.$message({type:"warning",message:"导出失败请联系管理员",plain:!0}),console.log(pe)})},100)})},ue=()=>{const fe=chartJsonFormat(chartJsonToStringFormat(ne.widgetConfg));fe.list.forEach(ve=>{var he;ve.chartId&&(((he=ve==null?void 0:ve.customize)==null?void 0:he.series)??[]).forEach(pe=>{pe.label&&delete pe.label.formatter})}),ee("preview",chartJsonToStringFormat(fe))},ce=()=>{re.$baseConfirm({content:"是否清空画布",customclass:"design-screen-messagebox",callConfirm:async()=>{re.$baseEventBus.emit("clear-stage")}})},de=async()=>{if(!G.title)return;const fe={config:chartJsonFormat(chartJsonToStringFormat(ne.widgetConfg)),id:G.id,title:G.title};fe.config.list.forEach(be=>{var xe;be.chartId&&(((xe=be==null?void 0:be.customize)==null?void 0:xe.series)??[]).forEach(Ce=>{Ce.label&&delete Ce.label.formatter})}),fe.config=chartJsonToStringFormat(fe.config);let he=(await se("file")).split(","),pe=he[0].match(/:(.*?);/)[1],ge=atob(he[1]),me=ge.length,_e=new Uint8Array(me);for(;me--;)_e[me]=ge.charCodeAt(me);const ye=new File([_e],new Date().getTime().toString(),{type:pe});new Compressor(ye,{quality:.9,convertSize:1e6,width:1920,success:async be=>{const xe=new FormData;xe.append("file",new File([be],be.name,{type:be.type}));let Ce;Ce=await re.$baseHttp.post("/api/ace-api/blade-resource/oss/endpoint/put-file",xe,{headers:{"Content-Type":"multipart/form-data",loading:!0}}),Ce&&(fe.imageUrl=Ce==null?void 0:Ce.data.link,fe.projectId=re.$baseGetCurrentProjectId(),Ce=await re.$baseHttp.post("/api/ace-data-center/screen/submit",fe,{headers:{loading:!0}}),Ce&&(ee("save",Ce.data),re.$message({type:"success",message:"操作成功",plain:!0})))},error:()=>{}})};return vue.onBeforeUnmount(()=>{re.$baseEventBus.off("clear-stage"),re.$baseEventBus.off("change-align"),re.$baseEventBus.off("auto-scale"),re.$baseEventBus.off("update-rect")}),(fe,ve)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1K,[vue.createElementVNode("div",_hoisted_2$1q,[vue.createElementVNode("i",{class:"mr-2 text-xl cursor-pointer ri-home-6-line",onClick:ve[0]||(ve[0]=he=>ee("back"))}),_hoisted_3$1d,vue.createVNode(vue.unref(elementPlus.ElInput),{placeholder:"请输入标题","model-value":fe.title,size:"small",onInput:ve[1]||(ve[1]=he=>ee("update:title",he))},null,8,["model-value"])]),vue.createElementVNode("div",_hoisted_4$16,[_hoisted_5$V,vue.createVNode(vue.unref(elementPlus.ElInputNumber),{class:"design-screen-input-number","model-value":vue.unref(oe),size:"small",max:100,min:0,controls:!0,onChange:ve[2]||(ve[2]=he=>vue.unref(ne).setSacle(he))},null,8,["model-value"]),vue.createElementVNode("div",{class:"ml-2 head-btn",onClick:ae},"自适应"),vue.createVNode(vue.unref(elementPlus.ElDropdown),{"popper-class":"design-screen-popper",onCommand:le,teleported:!1},{dropdown:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElDropdownMenu),null,{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(ie,he=>vue.createVNode(vue.unref(elementPlus.ElDropdownItem),{key:he.value,command:he.value,disabled:(he.disabled&&he.disabled())??!1},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(he.label),1)]),_:2},1032,["command","disabled"])),64))]),_:1})]),default:vue.withCtx(()=>[_hoisted_6$J]),_:1}),vue.createElementVNode("div",{class:"head-btn",onClick:ve[3]||(ve[3]=he=>se("export"))},"生成图片"),vue.createElementVNode("div",{class:"head-btn",onClick:ue},"预览"),vue.createElementVNode("div",{class:vue.normalizeClass(["head-btn",{disabled:!G.title}]),onClick:de},"保存",2),vue.createElementVNode("div",{class:"head-btn",onClick:ce},"清空"),vue.createElementVNode("div",{class:"head-btn",onClick:ve[4]||(ve[4]=he=>{vue.unref(ne).setTargetWidget([]),vue.unref(ne).setRightPannel(!0)})}," 设置 "),vue.createElementVNode("div",{class:"head-btn",onClick:ve[5]||(ve[5]=vue.withModifiers(he=>vue.unref(ne).setTheme(),["stop"]))},[vue.createElementVNode("i",{class:vue.normalizeClass(vue.unref(ne).theme=="dark"?"ri-sun-line":"ri-moon-line")},null,2)]),vue.createElementVNode("div",{class:"head-btn",onClick:ve[6]||(ve[6]=he=>vue.unref(ne).setRightPannel(!vue.unref(ne).getRightPannel))},[vue.createElementVNode("i",{class:vue.normalizeClass(vue.unref(ne).getRightPannel?"ri-menu-unfold-fill":"ri-menu-fold-fill")},null,2)])])]))}}),TopPannel_vue_vue_type_style_index_0_scoped_25032105_lang="",_export_sfc$2=(te,U)=>{const G=te.__vccOpts||te;for(const[ee,ne]of U)G[ee]=ne;return G},TopPannel=_export_sfc$2(_sfc_main$32,[["__scopeId","data-v-25032105"]]),getItemFromElement=te=>document.getElementById(te.id),getItemStyle=te=>{let U=`translate(${te.x}px, ${te.y}px)`;return{width:te.w+"px",height:te.h+"px",zIndex:te.z,transform:U}},_withScopeId$E=te=>(vue.pushScopeId("data-v-7c2b133e"),te=te(),vue.popScopeId(),te),_hoisted_1$1J=_withScopeId$E(()=>vue.createElementVNode("div",{class:"flex items-center h-10 p-2",style:{"background-color":"var(--design-bg-color3)"}},[vue.createElementVNode("span",{class:"w-1 h-4 mr-2 rounded-sm bg-color-primary"}),vue.createTextVNode(" 图层 ")],-1)),_hoisted_2$1p={class:"flex-1 overflow-hidden"},_hoisted_3$1c=["onMouseenter","onClick"],_hoisted_4$15=_withScopeId$E(()=>vue.createElementVNode("i",{class:"ml-2 mr-2 text-xl cursor-move ri-drag-move-2-line sortable-handle"},null,-1)),_hoisted_5$U=["title"],_sfc_main$31=vue.defineComponent({__name:"layer",setup(te){const U=screenDesignMainStore();vue.getCurrentInstance(),vue.ref(null);const G=vue.computed(()=>U.targetsWidget.map(re=>re.id)),ee=()=>{const re=U.widgetConfg.list;re.forEach((oe,ie)=>{oe.z=re.length-ie})},ne=re=>{const oe=getItemFromElement(re);U.setTargetWidget([oe])};return(re,oe)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[_hoisted_1$1J,vue.createElementVNode("div",_hoisted_2$1p,[vue.createVNode(vue.unref(elementPlus.ElScrollbar),null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:vue.unref(U).widgetConfg.list,"onUpdate:modelValue":oe[1]||(oe[1]=ie=>vue.unref(U).widgetConfg.list=ie),animation:150,handle:".sortable-handle",onUpdate:ee},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(U).getWidgetList,ie=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["flex items-center h-10 pl-2 pr-2 item",{active:vue.unref(G).includes(ie.id),"hover-item":vue.unref(U).widgetHoverIds.includes(ie.id)}]),key:ie.id,onMouseenter:vue.withModifiers(le=>vue.unref(U).setWidgetHoverIds([ie.id]),["stop"]),onMouseleave:oe[0]||(oe[0]=vue.withModifiers(le=>vue.unref(U).setWidgetHoverIds([]),["stop"])),onClick:vue.withModifiers(le=>ne(ie),["stop"])},[_hoisted_4$15,vue.createElementVNode("div",{class:"overflow-hidden text-xs whitespace-nowrap text-ellipsis",title:ie.name},vue.toDisplayString(ie.name),9,_hoisted_5$U)],42,_hoisted_3$1c))),128))]),_:1},8,["modelValue"])]),_:1})])],64))}}),layer_vue_vue_type_style_index_0_scoped_7c2b133e_lang="",Layer=_export_sfc$2(_sfc_main$31,[["__scopeId","data-v-7c2b133e"]]),commonSetting={root:{}},setting$z={...commonSetting,customize:{decorationColor1:"#1296db",decorationColor2:"#0de7c2"}},__vite_glob_0_0$5=Object.freeze(Object.defineProperty({__proto__:null,default:setting$z},Symbol.toStringTag,{value:"Module"})),setting$y={...commonSetting,customize:{decorationColor1:"#00c2ff",decorationColor2:"rgba(0, 194, 255, 0.3)"}},__vite_glob_0_1$5=Object.freeze(Object.defineProperty({__proto__:null,default:setting$y},Symbol.toStringTag,{value:"Module"})),setting$x={...commonSetting,customize:{decorationColor1:"#1a98fc",decorationColor2:"#2cf7fe"}},__vite_glob_0_2$4=Object.freeze(Object.defineProperty({__proto__:null,default:setting$x},Symbol.toStringTag,{value:"Module"})),setting$w={...commonSetting,customize:{decorationColor1:null,decorationColor2:null,scanDuration:3,haloDuration:2}},__vite_glob_0_3$4=Object.freeze(Object.defineProperty({__proto__:null,default:setting$w},Symbol.toStringTag,{value:"Module"})),setting$v={...commonSetting,customize:{decorationColor1:"#1296db",decorationColor2:"#0de7c2",duration:6,reverse:!1}},__vite_glob_0_4$4=Object.freeze(Object.defineProperty({__proto__:null,default:setting$v},Symbol.toStringTag,{value:"Module"})),setting$u={...commonSetting,customize:{decorationColor1:"#7acaec",decorationColor2:"#000"}},__vite_glob_0_5$4=Object.freeze(Object.defineProperty({__proto__:null,default:setting$u},Symbol.toStringTag,{value:"Module"})),setting$t={...commonSetting,customize:{decorationColor1:"rgba(255, 255, 255, 0.3)",decorationColor2:"rgba(255, 255, 255, 0.3)",duration:3,reverse:!1}},__vite_glob_0_6$4=Object.freeze(Object.defineProperty({__proto__:null,default:setting$t},Symbol.toStringTag,{value:"Module"})),setting$s={...commonSetting,customize:{decorationColor1:"#3f96a5",decorationColor2:"#3f96a5",duration:1.2}},__vite_glob_0_7$4=Object.freeze(Object.defineProperty({__proto__:null,default:setting$s},Symbol.toStringTag,{value:"Module"})),setting$r={...commonSetting,customize:{decorationColor1:"#7acaec",decorationColor2:"#7acaec"}},__vite_glob_0_8$3=Object.freeze(Object.defineProperty({__proto__:null,default:setting$r},Symbol.toStringTag,{value:"Module"})),setting$q={...commonSetting,customize:{decorationColor1:"#3f96a5",decorationColor2:"#3f96a5",reverse:!1}},__vite_glob_0_9$3=Object.freeze(Object.defineProperty({__proto__:null,default:setting$q},Symbol.toStringTag,{value:"Module"})),setting$p={...commonSetting,customize:{decorationColor1:"rgba(3, 166, 224, 0.8)",decorationColor2:"rgba(3, 166, 224, 0.5)",duration:3}},__vite_glob_0_10$3=Object.freeze(Object.defineProperty({__proto__:null,default:setting$p},Symbol.toStringTag,{value:"Module"})),modulesFiles$3=Object.assign({"../decoration/decoration1/setting.ts":__vite_glob_0_0$5,"../decoration/decoration10/setting.ts":__vite_glob_0_1$5,"../decoration/decoration11/setting.ts":__vite_glob_0_2$4,"../decoration/decoration12/setting.ts":__vite_glob_0_3$4,"../decoration/decoration2/setting.ts":__vite_glob_0_4$4,"../decoration/decoration3/setting.ts":__vite_glob_0_5$4,"../decoration/decoration4/setting.ts":__vite_glob_0_6$4,"../decoration/decoration5/setting.ts":__vite_glob_0_7$4,"../decoration/decoration6/setting.ts":__vite_glob_0_8$3,"../decoration/decoration8/setting.ts":__vite_glob_0_9$3,"../decoration/decoration9/setting.ts":__vite_glob_0_10$3}),modules$3=[];for(const[te,U]of Object.entries(modulesFiles$3)){const G=te.split("/")[2];let ee={};switch(G){case"decoration1":ee={name:"装饰一",w:350,h:30};break;case"decoration2":ee={name:"装饰二(可旋转)",w:350,h:20};break;case"decoration3":ee={name:"装饰三",w:350,h:30};break;case"decoration4":ee={name:"装饰四",w:30,h:320};break;case"decoration5":ee={name:"装饰五",w:350,h:50};break;case"decoration6":ee={name:"装饰六",w:350,h:50};break;case"decoration8":ee={name:"装饰七(可旋转)",w:350,h:50};break;case"decoration9":ee={name:"装饰八",w:150,h:150};break;case"decoration10":ee={name:"装饰九",w:350,h:50};break;case"decoration11":ee={name:"装饰十",w:350,h:100};break;case"decoration12":ee={name:"装饰十一",w:150,h:150};break}modules$3.push({...ee,type:G,...U.default})}modules$3.sort((te,U)=>Number(te.type.replace("decoration",""))-Number(U.type.replace("decoration","")));const setting$o={...commonSetting,customize:{borderMainColor:"#83bff6",borderSecondaryColor:"#00CED1",backgroundColor:"transparent"}},__vite_glob_0_0$4=Object.freeze(Object.defineProperty({__proto__:null,default:setting$o},Symbol.toStringTag,{value:"Module"})),setting$n={...commonSetting,customize:{borderMainColor:"#83bff6",borderSecondaryColor:"#00CED1",backgroundColor:"transparent"}},__vite_glob_0_1$4=Object.freeze(Object.defineProperty({__proto__:null,default:setting$n},Symbol.toStringTag,{value:"Module"})),setting$m={...commonSetting,customize:{borderMainColor:"#83bff6",borderSecondaryColor:"#00CED1",backgroundColor:"transparent",titleWidth:250,title:"我是标题"}},__vite_glob_0_2$3=Object.freeze(Object.defineProperty({__proto__:null,default:setting$m},Symbol.toStringTag,{value:"Module"})),setting$l={...commonSetting,customize:{borderMainColor:"#83bff6",borderSecondaryColor:"#00CED1",backgroundColor:"transparent"}},__vite_glob_0_3$3=Object.freeze(Object.defineProperty({__proto__:null,default:setting$l},Symbol.toStringTag,{value:"Module"})),setting$k={...commonSetting,customize:{borderMainColor:"#83bff6",borderSecondaryColor:"#00CED1",backgroundColor:"transparent"}},__vite_glob_0_4$3=Object.freeze(Object.defineProperty({__proto__:null,default:setting$k},Symbol.toStringTag,{value:"Module"})),setting$j={...commonSetting,customize:{borderMainColor:"#83bff6",borderSecondaryColor:"#00CED1",backgroundColor:"transparent"}},__vite_glob_0_5$3=Object.freeze(Object.defineProperty({__proto__:null,default:setting$j},Symbol.toStringTag,{value:"Module"})),setting$i={...commonSetting,customize:{borderMainColor:"#83bff6",borderSecondaryColor:"#00CED1",backgroundColor:"transparent"}},__vite_glob_0_6$3=Object.freeze(Object.defineProperty({__proto__:null,default:setting$i},Symbol.toStringTag,{value:"Module"})),setting$h={...commonSetting,customize:{borderMainColor:"#83bff6",borderSecondaryColor:"#00CED1",backgroundColor:"transparent",reverse:!1}},__vite_glob_0_7$3=Object.freeze(Object.defineProperty({__proto__:null,default:setting$h},Symbol.toStringTag,{value:"Module"})),setting$g={...commonSetting,customize:{borderMainColor:"#83bff6",borderSecondaryColor:"#00CED1",backgroundColor:"transparent",reverse:!1}},__vite_glob_0_8$2=Object.freeze(Object.defineProperty({__proto__:null,default:setting$g},Symbol.toStringTag,{value:"Module"})),setting$f={...commonSetting,customize:{borderMainColor:"#83bff6",borderSecondaryColor:"#00CED1",backgroundColor:"transparent"}},__vite_glob_0_9$2=Object.freeze(Object.defineProperty({__proto__:null,default:setting$f},Symbol.toStringTag,{value:"Module"})),setting$e={...commonSetting,customize:{borderMainColor:"#83bff6",borderSecondaryColor:"#00CED1",backgroundColor:"transparent"}},__vite_glob_0_10$2=Object.freeze(Object.defineProperty({__proto__:null,default:setting$e},Symbol.toStringTag,{value:"Module"})),setting$d={...commonSetting,customize:{borderMainColor:"#83bff6",borderSecondaryColor:"#00CED1",backgroundColor:"transparent",duration:3,reverse:!1}},__vite_glob_0_11=Object.freeze(Object.defineProperty({__proto__:null,default:setting$d},Symbol.toStringTag,{value:"Module"})),setting$c={...commonSetting,customize:{borderMainColor:"#83bff6",borderSecondaryColor:"#00CED1",backgroundColor:"transparent"}},__vite_glob_0_12=Object.freeze(Object.defineProperty({__proto__:null,default:setting$c},Symbol.toStringTag,{value:"Module"})),modulesFiles$2=Object.assign({"../border/border1/setting.ts":__vite_glob_0_0$4,"../border/border10/setting.ts":__vite_glob_0_1$4,"../border/border11/setting.ts":__vite_glob_0_2$3,"../border/border12/setting.ts":__vite_glob_0_3$3,"../border/border13/setting.ts":__vite_glob_0_4$3,"../border/border2/setting.ts":__vite_glob_0_5$3,"../border/border3/setting.ts":__vite_glob_0_6$3,"../border/border4/setting.ts":__vite_glob_0_7$3,"../border/border5/setting.ts":__vite_glob_0_8$2,"../border/border6/setting.ts":__vite_glob_0_9$2,"../border/border7/setting.ts":__vite_glob_0_10$2,"../border/border8/setting.ts":__vite_glob_0_11,"../border/border9/setting.ts":__vite_glob_0_12}),modules$2=[];for(const[te,U]of Object.entries(modulesFiles$2)){const G=te.split("/")[2],ne={name:{border1:"边框一",border2:"边框二",border3:"边框三",border4:"边框四(可翻转)",border5:"边框五(可翻转)",border6:"边框六",border7:"边框七",border8:"边框八",border9:"边框九",border10:"边框十",border11:"边框十一",border12:"边框十二",border13:"边框十三"}[G],w:450,h:320,type:G,...U.default};modules$2.push({...ne})}modules$2.sort((te,U)=>Number(te.type.replace("border",""))-Number(U.type.replace("border","")));const setting$b={...commonSetting,customize:{gradientColor0:"#1296db",gradientColor1:"#1296db",width:2}},__vite_glob_0_0$3=Object.freeze(Object.defineProperty({__proto__:null,default:setting$b},Symbol.toStringTag,{value:"Module"})),setting$a={...commonSetting,customize:{url:"https://cn.bing.com/"}},__vite_glob_0_1$3=Object.freeze(Object.defineProperty({__proto__:null,default:setting$a},Symbol.toStringTag,{value:"Module"})),setting$9={...commonSetting,customize:{fit:"contain",url:"https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg"}},__vite_glob_0_2$2=Object.freeze(Object.defineProperty({__proto__:null,default:setting$9},Symbol.toStringTag,{value:"Module"})),setting$8={...commonSetting,customize:{title:"1234",color:"#1296db",fontSize:20,fontWeight:700,textAlign:"center",letterSpacing:1,colorPosition:"top",startColor:"#1296db",endColor:"#1296db",formula:"",toFixed:2}},__vite_glob_0_3$2=Object.freeze(Object.defineProperty({__proto__:null,default:setting$8},Symbol.toStringTag,{value:"Module"})),setting$7={...commonSetting,customize:{colorPosition:"bottom",gradientColor0:"#1296db",gradientColor1:"#1296db",borderRadius:0}},__vite_glob_0_4$2=Object.freeze(Object.defineProperty({__proto__:null,default:setting$7},Symbol.toStringTag,{value:"Module"})),setting$6={...commonSetting,customize:{title:"文本数据",color:"#1296db",fontSize:20,fontWeight:700,textAlign:"center",letterSpacing:1,colorPosition:"top",startColor:"#1296db",endColor:"#1296db"}},__vite_glob_0_5$2=Object.freeze(Object.defineProperty({__proto__:null,default:setting$6},Symbol.toStringTag,{value:"Module"})),setting$5={...commonSetting,customize:{title:"1234",color:"#1296db",fontSize:20,fontWeight:700,textAlign:"center",letterSpacing:1,colorPosition:"top",startColor:"#1296db",endColor:"#1296db"}},__vite_glob_0_6$2=Object.freeze(Object.defineProperty({__proto__:null,default:setting$5},Symbol.toStringTag,{value:"Module"})),setting$4={...commonSetting,customize:{gradientColor0:"#1296db",gradientColor1:"#1296db",height:2}},__vite_glob_0_7$2=Object.freeze(Object.defineProperty({__proto__:null,default:setting$4},Symbol.toStringTag,{value:"Module"})),modulesFiles$1=Object.assign({"../basic/horizontal-line/setting.ts":__vite_glob_0_0$3,"../basic/iframe/setting.ts":__vite_glob_0_1$3,"../basic/img/setting.ts":__vite_glob_0_2$2,"../basic/number/setting.ts":__vite_glob_0_3$2,"../basic/square/setting.ts":__vite_glob_0_4$2,"../basic/text/setting.ts":__vite_glob_0_5$2,"../basic/time/setting.ts":__vite_glob_0_6$2,"../basic/vertical-line/setting.ts":__vite_glob_0_7$2}),modules$1=[];for(const[te,U]of Object.entries(modulesFiles$1)){const G=te.split("/")[2];let ee={};switch(G){case"square":ee={name:"正方形",w:200,h:200};break;case"img":ee={name:"图片",w:200,h:200};break;case"number":ee={name:"数字",w:200,h:50};break;case"text":ee={name:"文本",w:200,h:50};break;case"time":ee={name:"当前时间",w:200,h:50};break;case"horizontal-line":ee={name:"竖线",w:10,h:100};break;case"vertical-line":ee={name:"横线",w:100,h:10};break;case"iframe":ee={name:"iframe",w:1e3,h:500};break}modules$1.push({...ee,type:G,...U.default})}const sortMap$1={text:1,number:2,img:3,time:4,"vertical-line":5,"horizontal-line":6,circular:7,square:8,iframe:9};modules$1.sort((te,U)=>(sortMap$1[te.type]??99)-(sortMap$1[U.type]??99));const setting$3={...commonSetting,customize:{backgroundColor:"transparent",borderColor:"#ebeef5",borderTopWidth:0,borderRightWidth:0,borderBottomWidth:1,borderLeftWidth:0,color:"#000",fontSize:14,borderRadius:0,placeholder:"请输入文字",modelValue:"",linkage:[]}},__vite_glob_0_0$2=Object.freeze(Object.defineProperty({__proto__:null,default:setting$3},Symbol.toStringTag,{value:"Module"})),setting$2={...commonSetting,customize:{placeholder:"请选择",clearable:!0,modelValue:"",linkage:[]}},__vite_glob_0_1$2=Object.freeze(Object.defineProperty({__proto__:null,default:setting$2},Symbol.toStringTag,{value:"Module"})),modulesFiles=Object.assign({"../control/input/setting.ts":__vite_glob_0_0$2,"../control/select/setting.ts":__vite_glob_0_1$2}),modules=[];for(const[te,U]of Object.entries(modulesFiles)){const G=te.split("/")[2];let ee={};switch(G){case"input":ee={name:"输入框",w:200,h:40};break;case"select":ee={name:"下拉框",w:200,h:40};break}modules.push({...ee,type:G,...U.default})}const sortMap={input:1};modules.sort((te,U)=>(sortMap[te.type]??99)-(sortMap[U.type]??99));const _withScopeId$D=te=>(vue.pushScopeId("data-v-945ce3a3"),te=te(),vue.popScopeId(),te),_hoisted_1$1I={class:"text-xs"},_hoisted_2$1o={class:"flex items-center h-10 p-2",style:{"background-color":"var(--design-bg-color3)"}},_hoisted_3$1b=_withScopeId$D(()=>vue.createElementVNode("span",{class:"w-1 h-4 mr-2 rounded-sm bg-color-primary"},null,-1)),_hoisted_4$14={class:"flex-1 p-2 overflow-hidden"},_hoisted_5$T=["onClick"],_hoisted_6$I=["data-type","data-id"],_hoisted_7$B={class:"p-1 overflow-hidden text-xs text-ellipsis whitespace-nowrap",style:{"background-color":"var(--design-bg-color4)"}},_hoisted_8$v={class:"flex items-center justify-center"},_hoisted_9$q={key:0,class:"flex items-center justify-center pb-3 mt-2"},_hoisted_10$l=["onClick"],_hoisted_11$g=["data-type","data-ptype"],_hoisted_12$e={class:"p-1 text-xs",style:{"background-color":"var(--design-bg-color4)"}},_hoisted_13$c={class:"flex items-center justify-center pt-1 pb-1",style:{"background-color":"var(--design-bg-color3)"}},_sfc_main$30=vue.defineComponent({__name:"leftPannel",setup(te){const{proxy:U}=vue.getCurrentInstance(),G=vue.ref([{label:"图层",type:"layer",icon:"ri-stack-line"},{label:"基础",type:"base",icon:"ri-supabase-line",list:modules$1},{label:"指标",type:"indicators",icon:"ri-database-2-line",list:[]},{label:"边框",type:"border",icon:"ri-body-scan-line",list:modules$2},{label:"装饰",type:"decoration",icon:"ri-sparkling-line",list:modules$3},{label:"控件",type:"controal",icon:"ri-remote-control-2-line",list:modules}]),ee=vue.ref("layer"),ne=re=>{const oe=vue.unref(G).find(ie=>ie.type=="indicators");oe&&(oe.list=oe.list.map(ie=>({...ie,isOpen:ie.isOpen?!1:ie.id==re.id})))};return vue.nextTick(()=>{U.$baseHttp.get("/api/ace-data-center/indicators/loadIndicatorsMenu",{params:{projectId:U.$baseGetCurrentProjectId()}}).then(re=>{const oe=[],ie=vue.unref(G).find(le=>le.type=="indicators");ie&&(ie.list=Object.keys(re.data).map((le,ae)=>({name:le,id:le,isOpen:ae==0,children:re.data[le].map(se=>{var ue;return{...se,echartsType:(ue=se.echarts)!=null&&ue.length?se.echarts[0].echartsType:""}})})),oe.push(...ie.list.map(le=>le.children))),vue.nextTick(()=>{document.querySelectorAll(".drag-node").forEach(ae=>{const{ptype:se,type:ue,id:ce}=ae.dataset;ae.addEventListener("dragstart",de=>{var ve;let fe=(ve=vue.unref(G).find(he=>he.type==se))==null?void 0:ve.list.find(he=>he.type==ue);if(["MODEL_INDICATORS","INDICATORS"].includes(ue)){const he=oe.flat().find(ge=>ge.id==ce),pe=he==null?void 0:he.echarts.find(ge=>ge.echartsType==he.echartsType);fe={name:`${he.name}(${echartsTypeList[pe.echartsType].name})`,chartType:he.echartsType,chartId:he.id,indicatorsId:ce,w:500,h:500,customize:pe.echartsConfig,modelType:he.type}}U.$baseEventBus.emit("drag-start"),de.dataTransfer.setData("dragComponent",JSON.stringify({...fe,id:nanoid(),locked:!1}))}),ae.addEventListener("dragend",de=>{U.$baseEventBus.emit("drag-end")})}),document.addEventListener("drop",ae=>{ae.preventDefault()},!1)})})}),vue.onBeforeUnmount(()=>{U.$baseEventBus.off("drag-start"),U.$baseEventBus.off("drag-end")}),(re,oe)=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElTabs),{"tab-position":"left",modelValue:vue.unref(ee),"onUpdate:modelValue":oe[0]||(oe[0]=ie=>vue.isRef(ee)?ee.value=ie:null),onKeydownCapture:oe[1]||(oe[1]=vue.withKeys(vue.withModifiers(()=>{},["stop","prevent"]),["native"]))},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(G),ie=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElTabPane),{name:ie.type,key:ie.type},{label:vue.withCtx(()=>[vue.createElementVNode("div",null,[vue.createElementVNode("i",{class:vue.normalizeClass(["text-xl",ie.icon])},null,2),vue.createElementVNode("div",_hoisted_1$1I,vue.toDisplayString(ie.label),1)])]),default:vue.withCtx(()=>[ie.type=="layer"?(vue.openBlock(),vue.createBlock(Layer,{key:0})):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createElementVNode("div",_hoisted_2$1o,[_hoisted_3$1b,vue.createTextVNode(" "+vue.toDisplayString(ie.label),1)]),vue.createElementVNode("div",_hoisted_4$14,[vue.createVNode(vue.unref(elementPlus.ElScrollbar),null,{default:vue.withCtx(()=>[ie.type=="indicators"?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:0},vue.renderList(ie.list,le=>(vue.openBlock(),vue.createElementBlock("div",{key:le.label},[vue.createElementVNode("div",{class:"mb-2 overflow-hidden cursor-pointer text-ellipsis whitespace-nowrap",onClick:ae=>ne(le)},[vue.createElementVNode("i",{class:vue.normalizeClass(["text-base",le.isOpen?"ri-folder-open-line":"ri-folder-line"])},null,2),vue.createTextVNode(" "+vue.toDisplayString(le.name),1)],8,_hoisted_5$T),vue.withDirectives(vue.createElementVNode("div",null,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(le.children,ae=>{var se;return vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:ae.modelId},[["MODEL_INDICATORS","INDICATORS"].includes(ae.type)&&((se=ae.echarts)!=null&&se.length)?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"mb-2 cursor-move drag-node",draggable:!0,"data-type":ae.type,"data-id":ae.id},[vue.createElementVNode("div",_hoisted_7$B,vue.toDisplayString(ae.name),1),vue.createElementVNode("div",_hoisted_8$v,[vue.createElementVNode("div",{class:vue.normalizeClass([`bg-${ae.echartsType}`,"item-img"])},null,2)]),ae.echarts.length>1?(vue.openBlock(),vue.createElementBlock("div",_hoisted_9$q,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(ae.echarts,ue=>(vue.openBlock(),vue.createElementBlock("i",{class:vue.normalizeClass([[vue.unref(echartsTypeList)[ue.echartsType].icon,ue.echartsType==ae.echartsType?"activeCode":""],"cursor-pointer chart-item"]),onClick:ce=>ae.echartsType=ue.echartsType,key:ue.code},null,10,_hoisted_10$l))),128))])):vue.createCommentVNode("",!0)],8,_hoisted_6$I)):vue.createCommentVNode("",!0)],64)}),128))],512),[[vue.vShow,le.isOpen]])]))),128)):(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:1},vue.renderList(ie.list,le=>(vue.openBlock(),vue.createElementBlock("div",{key:ie.type,class:"mb-2 cursor-move drag-node",draggable:!0,"data-type":le.type,"data-ptype":ie.type},[vue.createElementVNode("div",_hoisted_12$e,vue.toDisplayString(le.name),1),vue.createElementVNode("div",_hoisted_13$c,[vue.createElementVNode("div",{class:vue.normalizeClass([`bg-${le.type}`,"item-img"])},null,2)])],8,_hoisted_11$g))),128))]),_:2},1024)])],64))]),_:2},1032,["name"]))),128))]),_:1},8,["modelValue"]))}}),leftPannel_vue_vue_type_style_index_0_scoped_945ce3a3_lang="",LeftPannel=_export_sfc$2(_sfc_main$30,[["__scopeId","data-v-945ce3a3"]]);function tryOnScopeDispose(te){return vue.getCurrentScope()?(vue.onScopeDispose(te),!0):!1}function toValue(te){return typeof te=="function"?te():vue.unref(te)}const isClient=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const toString$1=Object.prototype.toString,isObject$2=te=>toString$1.call(te)==="[object Object]",noop$2=()=>{};function unrefElement(te){var U;const G=toValue(te);return(U=G==null?void 0:G.$el)!=null?U:G}const defaultWindow=isClient?window:void 0,defaultDocument=isClient?window.document:void 0;function useEventListener(...te){let U,G,ee,ne;if(typeof te[0]=="string"||Array.isArray(te[0])?([G,ee,ne]=te,U=defaultWindow):[U,G,ee,ne]=te,!U)return noop$2;Array.isArray(G)||(G=[G]),Array.isArray(ee)||(ee=[ee]);const re=[],oe=()=>{re.forEach(se=>se()),re.length=0},ie=(se,ue,ce,de)=>(se.addEventListener(ue,ce,de),()=>se.removeEventListener(ue,ce,de)),le=vue.watch(()=>[unrefElement(U),toValue(ne)],([se,ue])=>{if(oe(),!se)return;const ce=isObject$2(ue)?{...ue}:ue;re.push(...G.flatMap(de=>ee.map(fe=>ie(se,de,fe,ce))))},{immediate:!0,flush:"post"}),ae=()=>{le(),oe()};return tryOnScopeDispose(ae),ae}function createKeyPredicate(te){return typeof te=="function"?te:typeof te=="string"?U=>U.key===te:Array.isArray(te)?U=>te.includes(U.key):()=>!0}function onKeyStroke(...te){let U,G,ee={};te.length===3?(U=te[0],G=te[1],ee=te[2]):te.length===2?typeof te[1]=="object"?(U=!0,G=te[0],ee=te[1]):(U=te[0],G=te[1]):(U=!0,G=te[0]);const{target:ne=defaultWindow,eventName:re="keydown",passive:oe=!1,dedupe:ie=!1}=ee,le=createKeyPredicate(U);return useEventListener(ne,re,se=>{se.repeat&&toValue(ie)||le(se)&&G(se)},oe)}const defaultEvents=["mousedown","mouseup","keydown","keyup"];function useKeyModifier(te,U={}){const{events:G=defaultEvents,document:ee=defaultDocument,initial:ne=null}=U,re=vue.ref(ne);return ee&&G.forEach(oe=>{useEventListener(ee,oe,ie=>{typeof ie.getModifierState=="function"&&(re.value=ie.getModifierState(te))})}),re}var __defProp=Object.defineProperty,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(te,U,G)=>U in te?__defProp(te,U,{enumerable:!0,configurable:!0,writable:!0,value:G}):te[U]=G,__spreadValues=(te,U)=>{for(var G in U||(U={}))__hasOwnProp.call(U,G)&&__defNormalProp(te,G,U[G]);if(__getOwnPropSymbols)for(var G of __getOwnPropSymbols(U))__propIsEnum.call(U,G)&&__defNormalProp(te,G,U[G]);return te};const lineProps={scale:Number,thick:Number,palette:Object,index:Number,start:Number,vertical:Boolean,value:Number,isShowReferLine:Boolean};var _export_sfc$1=(te,U)=>{const G=te.__vccOpts||te;for(const[ee,ne]of U)G[ee]=ne;return G};const _sfc_main$3$1=vue.defineComponent({name:"LineRuler",props:lineProps,emits:["onMouseDown","onRelease","onRemove"],setup(te,{emit:U}){const G=vue.ref(0),ee=vue.ref(!0);vue.onMounted(()=>{G.value=te.value});const ne=se=>{ee.value=se>=0},re=vue.computed(()=>{const se=(G.value-te.start)*te.scale;ne(se);const ue=se+"px";return te.vertical?{top:ue}:{left:ue}}),oe=vue.computed(()=>{var se;const ue=`1px solid ${(se=te.palette)==null?void 0:se.lineColor}`,ce=te.vertical?{borderTop:ue}:{borderLeft:ue},de=te.isShowReferLine?te.vertical?"ns-resize":"ew-resize":"none";return __spreadValues({cursor:de},ce)}),ie=vue.computed(()=>te.vertical?{left:te.thick+"px"}:{top:te.thick+"px"});return{startValue:G,showLine:ee,offset:re,borderCursor:oe,actionStyle:ie,handleDown:se=>{const ue=te.vertical?se.clientY:se.clientX,ce=G.value;U("onMouseDown");const de=ve=>{const he=te.vertical?ve.clientY:ve.clientX,pe=Math.round(ce+(he-ue)/te.scale);G.value=pe},fe=()=>{U("onRelease",G.value,te.index),document.removeEventListener("mousemove",de),document.removeEventListener("mouseup",fe)};document.addEventListener("mousemove",de),document.addEventListener("mouseup",fe)},handleRemove:()=>{U("onRemove",te.index)}}}}),_hoisted_1$2$1={class:"value"};function _sfc_render$3(te,U,G,ee,ne,re){return vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",{class:"line",style:vue.normalizeStyle([te.offset,te.borderCursor]),onMousedown:U[1]||(U[1]=(...oe)=>te.handleDown&&te.handleDown(...oe))},[vue.createElementVNode("div",{class:"action",style:vue.normalizeStyle(te.actionStyle)},[vue.createElementVNode("span",{class:"del",onClick:U[0]||(U[0]=(...oe)=>te.handleRemove&&te.handleRemove(...oe))},"×"),vue.createElementVNode("span",_hoisted_1$2$1,vue.toDisplayString(te.startValue),1)],4)],36)),[[vue.vShow,te.showLine]])}var RulerLine=_export_sfc$1(_sfc_main$3$1,[["render",_sfc_render$3],["__scopeId","data-v-7cc5d020"]]);const getGridSize=te=>te<=.25?40:te<=.5?20:te<=1?10:te<=2?5:te<=4?2:1,FONT_SCALE=.83,drawCavaseRuler=(te,U,G,ee,ne,re)=>{const{scale:oe,width:ie,height:le,ratio:ae,palette:se}=ne,{bgColor:ue,fontColor:ce,shadowColor:de,longfgColor:fe,shortfgColor:ve}=se;if(te.scale(ae,ae),te.clearRect(0,0,ie,le),te.fillStyle=ue,te.fillRect(0,0,ie,le),ee){const $e=(G-U)*oe,Ee=ee*oe;te.fillStyle=de,re?te.fillRect($e,0,Ee,le*3/8):te.fillRect(0,$e,ie*3/8,Ee)}const he=getGridSize(oe),pe=he*oe,ge=he*10,me=ge*oe,_e=Math.floor(U/he)*he,ye=Math.floor(U/ge)*ge,be=(_e-U)/he*pe,xe=(ye-U)/ge*me,Ce=U+Math.ceil((re?ie:le)/oe);te.beginPath(),te.fillStyle=ce,te.strokeStyle=fe;for(let $e=ye,Ee=0;$e<Ce;$e+=ge,Ee++){const Ve=xe+Ee*me+.5;re?te.moveTo(Ve,0):te.moveTo(0,Ve),te.save(),re?te.translate(Ve,le*.4):te.translate(ie*.4,Ve),re||te.rotate(-Math.PI/2),te.scale(FONT_SCALE/ae,FONT_SCALE/ae),te.fillText($e.toString(),4*ae,7*ae),te.restore(),re?te.lineTo(Ve,le*9/16):te.lineTo(ie*9/16,Ve)}te.stroke(),te.closePath(),te.beginPath(),te.strokeStyle=ve;for(let $e=_e,Ee=0;$e<Ce;$e+=he,Ee++){const Ve=be+Ee*pe+.5;re?te.moveTo(Ve,0):te.moveTo(0,Ve),$e%ge!==0&&(re?te.lineTo(Ve,le*1/4):te.lineTo(ie*1/4,Ve))}te.stroke(),te.closePath(),te.setTransform(1,0,0,1,0,0)},_sfc_main$2$1=vue.defineComponent({name:"CanvasRuler",props:{showIndicator:Boolean,valueNum:Number,scale:Number,ratio:Number,palette:Object,vertical:Boolean,start:Number,width:Number,height:Number,selectStart:Number,selectLength:Number},emits:["onAddLine","update:showIndicator","update:valueNum"],setup(te,{emit:U}){const G=vue.reactive({canvasContext:null});let ee=1;const ne=vue.ref(null);vue.onMounted(()=>{ee=te.ratio||window.devicePixelRatio||1,re(),oe(ee),ie(ee)});const re=()=>{G.canvasContext=ne.value&&ne.value.getContext("2d")},oe=ae=>{if(ne.value){ne.value.width=te.width*ae,ne.value.height=te.height*ae;const se=G.canvasContext;se&&(se.font=`${12*ae}px -apple-system,
|
|
10
|
+
`)}async function embedWebFonts(te,U){const G=U.fontEmbedCSS!=null?U.fontEmbedCSS:U.skipFonts?null:await getWebFontCSS(te,U);if(G){const ee=document.createElement("style"),ne=document.createTextNode(G);ee.appendChild(ne),te.firstChild?te.insertBefore(ee,te.firstChild):te.appendChild(ee)}}async function toSvg(te,U={}){const{width:G,height:ee}=getImageSize(te,U),ne=await cloneNode(te,U,!0);return await embedWebFonts(ne,U),await embedImages(ne,U),applyStyle(ne,U),await nodeToDataURL(ne,G,ee)}async function toCanvas(te,U={}){const{width:G,height:ee}=getImageSize(te,U),ne=await toSvg(te,U),re=await createImage(ne),oe=document.createElement("canvas"),ie=oe.getContext("2d"),le=U.pixelRatio||getPixelRatio(),ae=U.canvasWidth||G,se=U.canvasHeight||ee;return oe.width=ae*le,oe.height=se*le,U.skipAutoScale||checkCanvasDimensions(oe),oe.style.width=`${ae}`,oe.style.height=`${se}`,U.backgroundColor&&(ie.fillStyle=U.backgroundColor,ie.fillRect(0,0,oe.width,oe.height)),ie.drawImage(re,0,0,oe.width,oe.height),oe}async function toPng(te,U={}){return(await toCanvas(te,U)).toDataURL()}const resetUrl=(te="")=>{if(process.env.NODE_ENV==="development"){const U="http://192.168.70.09:30010/".split(":")[1].split("."),G=U[U.length-1],ee=`http://192.168.70.${Number(G)}:9000`;return te=te.replace("http://172.17.95.13:9000",ee),te=te.replace("http://172.29.26.123:9000",ee),te=te.replace("http://192.168.0.22:9000",ee),te}return te=te.replace(/http:\/\/172\.17\.95\.13:9000/g,""),te=te.replace(/http:\/\/172\.29\.26\.123:9000/g,""),te=te.replace(/http:\/\/172\.17\.95\.13:9000/g,""),te},echartsTypeList={1:{name:"折线图",icon:"ri-line-chart-line"},2:{name:"饼状图",icon:"ri-pie-chart-line"},3:{name:"柱状图",icon:"ri-bar-chart-2-line"},4:{name:"雷达图",icon:"ri-radar-line"},5:{name:"柱状折线图",icon:"ri-bar-chart-line"},6:{name:"散点图",icon:"ri-bubble-chart-line"},7:{name:"单值",icon:"ri-infinity-line"},8:{name:"表格",icon:"ri-grid-fill"},9:{name:"地图",icon:"ri-road-map-line"}},chartJsonFormat=te=>JSON.parse(te,(U,G)=>G&&typeof G=="string"&&G.indexOf("FUNCTION_FLAG")>-1?G.indexOf(".custom")==-1?new Function(`return ${G.toString().replace("FUNCTION_FLAG","")}`)():"":G),chartJsonToStringFormat=te=>JSON.stringify(te,(U,G)=>typeof G=="function"?"FUNCTION_FLAG"+G:G),base64ToBlob=(te,U="image/png",G="")=>{const ne=atob(te.split(",")[1]),re=[];for(let le=0;le<ne.length;le+=1024){const ae=ne.slice(le,le+1024),se=new Array(ae.length);for(let ue=0;ue<ae.length;ue++)se[ue]=ae.charCodeAt(ue);re.push(new Uint8Array(se))}const oe=new Blob(re,{type:U});return new File([oe],G||`${nanoid()}.png`,{type:U})},commonDataType=[{label:"字符串",value:"varchar"},{label:"整数",value:"int"},{label:"长整数",value:"bigint"},{label:"高精度小数",value:"decimal"},{label:"小数",value:"double"},{label:"日期",value:"date"},{label:"日期时间",value:"datetime"},{label:"文本",value:"text"},{label:"长文本",value:"longtext"}],dictArratToTree=te=>{const U=new Map,G=[];for(const ee of te)U.set(ee.code,{...ee,children:[]});for(const ee of te){const ne=U.get(ee.parentCode);ne?ne.children.push(U.get(ee.code)):G.push(U.get(ee.code))}return G},isMobile=/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent),_withScopeId$F=te=>(vue.pushScopeId("data-v-7f398de1"),te=te(),vue.popScopeId(),te),_hoisted_1$1K={class:"flex items-center justify-between h-full pl-2 pr-2"},_hoisted_2$1q={class:"flex items-center text-sm"},_hoisted_3$1d=_withScopeId$F(()=>vue.createElementVNode("i",{class:"mr-2 text-sm ri-draft-line"},null,-1)),_hoisted_4$16={class:"flex items-center"},_hoisted_5$V=_withScopeId$F(()=>vue.createElementVNode("span",{class:"ml-2"},"缩放",-1)),_hoisted_6$J=_withScopeId$F(()=>vue.createElementVNode("div",{class:"head-btn"},[vue.createTextVNode(" 对齐方式 "),vue.createElementVNode("i",{class:"ml-1 ri-arrow-down-s-line"})],-1)),_sfc_main$32=vue.defineComponent({__name:"TopPannel",props:{title:{default:""},id:{default:""}},emits:["update:title","preview","save","back"],setup(te,{emit:U}){const G=te,ee=U,ne=screenDesignMainStore(),{proxy:re}=vue.getCurrentInstance(),oe=vue.computed(()=>Number((ne.scale*100).toFixed(0))),ie=[{label:"左侧对齐",value:"left"},{label:"居中对齐",value:"center"},{label:"右侧对齐",value:"right"},{label:"顶部对齐",value:"top"},{label:"中部对齐",value:"middle"},{label:"底部对齐",value:"bottom"},{label:"水平均分",value:"levelAround",disabled:()=>ne.getTargetWidget.length<=1},{label:"垂直均分",value:"verticalAround",disabled:()=>ne.getTargetWidget.length<=1}],le=fe=>{re.$baseEventBus.emit("change-align",fe)},ae=()=>{re.$baseEventBus.emit("auto-scale")},se=async fe=>{if(ne.setTargetWidget([]),ne.getCreateLoading)return;const ve=document.querySelector(".render");return ne.setCreateLoading(!0),await new Promise(he=>{setTimeout(()=>{toPng(ve).then(pe=>{if(ne.setCreateLoading(!1),he(pe),fe=="export"){const ge=document.createElement("a");ge.download=`${new Date().getTime()}.png`,ge.href=pe,ge.click(),ge.addEventListener("click",()=>{ge.remove()})}}).catch(pe=>{ne.setCreateLoading(!1),re.$message({type:"warning",message:"导出失败请联系管理员",plain:!0}),console.log(pe)})},100)})},ue=()=>{const fe=chartJsonFormat(chartJsonToStringFormat(ne.widgetConfg));fe.list.forEach(ve=>{var he;ve.chartId&&(((he=ve==null?void 0:ve.customize)==null?void 0:he.series)??[]).forEach(pe=>{pe.label&&delete pe.label.formatter})}),ee("preview",chartJsonToStringFormat(fe))},ce=()=>{re.$baseConfirm({content:"是否清空画布",customclass:"design-screen-messagebox",callConfirm:async()=>{re.$baseEventBus.emit("clear-stage")}})},de=async()=>{if(!G.title)return;const fe={config:chartJsonFormat(chartJsonToStringFormat(ne.widgetConfg)),id:G.id,title:G.title};fe.config.list.forEach(be=>{var xe;be.chartId&&(((xe=be==null?void 0:be.customize)==null?void 0:xe.series)??[]).forEach(Ce=>{Ce.label&&delete Ce.label.formatter})}),fe.config=chartJsonToStringFormat(fe.config);let he=(await se("file")).split(","),pe=he[0].match(/:(.*?);/)[1],ge=atob(he[1]),me=ge.length,_e=new Uint8Array(me);for(;me--;)_e[me]=ge.charCodeAt(me);const ye=new File([_e],new Date().getTime().toString(),{type:pe});new Compressor(ye,{quality:.9,convertSize:1e6,width:1920,success:async be=>{const xe=new FormData;xe.append("file",new File([be],be.name,{type:be.type}));let Ce;Ce=await re.$baseHttp.post("/api/ace-api/blade-resource/oss/endpoint/put-file",xe,{headers:{"Content-Type":"multipart/form-data",loading:!0}}),Ce&&(fe.imageUrl=Ce==null?void 0:Ce.data.link,fe.projectId=re.$baseGetCurrentProjectId(),Ce=await re.$baseHttp.post("/api/ace-data-center/screen/submit",fe,{headers:{loading:!0}}),Ce&&(ee("save",Ce.data),re.$message({type:"success",message:"操作成功",plain:!0})))},error:()=>{}})};return vue.onBeforeUnmount(()=>{re.$baseEventBus.off("clear-stage"),re.$baseEventBus.off("change-align"),re.$baseEventBus.off("auto-scale"),re.$baseEventBus.off("update-rect")}),(fe,ve)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1K,[vue.createElementVNode("div",_hoisted_2$1q,[_hoisted_3$1d,vue.createVNode(vue.unref(elementPlus.ElInput),{placeholder:"请输入标题","model-value":fe.title,size:"small",onInput:ve[0]||(ve[0]=he=>ee("update:title",he))},null,8,["model-value"])]),vue.createElementVNode("div",_hoisted_4$16,[vue.createElementVNode("div",{class:"mr-2 head-btn",onClick:ve[1]||(ve[1]=he=>ee("back"))},"返回"),_hoisted_5$V,vue.createVNode(vue.unref(elementPlus.ElInputNumber),{class:"design-screen-input-number","model-value":vue.unref(oe),size:"small",max:100,min:0,controls:!0,onChange:ve[2]||(ve[2]=he=>vue.unref(ne).setSacle(he))},null,8,["model-value"]),vue.createElementVNode("div",{class:"ml-2 head-btn",onClick:ae},"自适应"),vue.createVNode(vue.unref(elementPlus.ElDropdown),{"popper-class":"design-screen-popper",onCommand:le,teleported:!1},{dropdown:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElDropdownMenu),null,{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(ie,he=>vue.createVNode(vue.unref(elementPlus.ElDropdownItem),{key:he.value,command:he.value,disabled:(he.disabled&&he.disabled())??!1},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(he.label),1)]),_:2},1032,["command","disabled"])),64))]),_:1})]),default:vue.withCtx(()=>[_hoisted_6$J]),_:1}),vue.createElementVNode("div",{class:"head-btn",onClick:ve[3]||(ve[3]=he=>se("export"))},"生成图片"),vue.createElementVNode("div",{class:"head-btn",onClick:ue},"预览"),vue.createElementVNode("div",{class:vue.normalizeClass(["head-btn",{disabled:!G.title}]),onClick:de},"保存",2),vue.createElementVNode("div",{class:"head-btn",onClick:ce},"清空"),vue.createElementVNode("div",{class:"head-btn",onClick:ve[4]||(ve[4]=he=>{vue.unref(ne).setTargetWidget([]),vue.unref(ne).setRightPannel(!0)})}," 设置 "),vue.createElementVNode("div",{class:"head-btn",onClick:ve[5]||(ve[5]=vue.withModifiers(he=>vue.unref(ne).setTheme(),["stop"]))},[vue.createElementVNode("i",{class:vue.normalizeClass(vue.unref(ne).theme=="dark"?"ri-sun-line":"ri-moon-line")},null,2)]),vue.createElementVNode("div",{class:"head-btn",onClick:ve[6]||(ve[6]=he=>vue.unref(ne).setRightPannel(!vue.unref(ne).getRightPannel))},[vue.createElementVNode("i",{class:vue.normalizeClass(vue.unref(ne).getRightPannel?"ri-menu-unfold-fill":"ri-menu-fold-fill")},null,2)])])]))}}),TopPannel_vue_vue_type_style_index_0_scoped_7f398de1_lang="",_export_sfc$2=(te,U)=>{const G=te.__vccOpts||te;for(const[ee,ne]of U)G[ee]=ne;return G},TopPannel=_export_sfc$2(_sfc_main$32,[["__scopeId","data-v-7f398de1"]]),getItemFromElement=te=>document.getElementById(te.id),getItemStyle=te=>{let U=`translate(${te.x}px, ${te.y}px)`;return{width:te.w+"px",height:te.h+"px",zIndex:te.z,transform:U}},_withScopeId$E=te=>(vue.pushScopeId("data-v-7c2b133e"),te=te(),vue.popScopeId(),te),_hoisted_1$1J=_withScopeId$E(()=>vue.createElementVNode("div",{class:"flex items-center h-10 p-2",style:{"background-color":"var(--design-bg-color3)"}},[vue.createElementVNode("span",{class:"w-1 h-4 mr-2 rounded-sm bg-color-primary"}),vue.createTextVNode(" 图层 ")],-1)),_hoisted_2$1p={class:"flex-1 overflow-hidden"},_hoisted_3$1c=["onMouseenter","onClick"],_hoisted_4$15=_withScopeId$E(()=>vue.createElementVNode("i",{class:"ml-2 mr-2 text-xl cursor-move ri-drag-move-2-line sortable-handle"},null,-1)),_hoisted_5$U=["title"],_sfc_main$31=vue.defineComponent({__name:"layer",setup(te){const U=screenDesignMainStore();vue.getCurrentInstance(),vue.ref(null);const G=vue.computed(()=>U.targetsWidget.map(re=>re.id)),ee=()=>{const re=U.widgetConfg.list;re.forEach((oe,ie)=>{oe.z=re.length-ie})},ne=re=>{const oe=getItemFromElement(re);U.setTargetWidget([oe])};return(re,oe)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[_hoisted_1$1J,vue.createElementVNode("div",_hoisted_2$1p,[vue.createVNode(vue.unref(elementPlus.ElScrollbar),null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:vue.unref(U).widgetConfg.list,"onUpdate:modelValue":oe[1]||(oe[1]=ie=>vue.unref(U).widgetConfg.list=ie),animation:150,handle:".sortable-handle",onUpdate:ee},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(U).getWidgetList,ie=>(vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(["flex items-center h-10 pl-2 pr-2 item",{active:vue.unref(G).includes(ie.id),"hover-item":vue.unref(U).widgetHoverIds.includes(ie.id)}]),key:ie.id,onMouseenter:vue.withModifiers(le=>vue.unref(U).setWidgetHoverIds([ie.id]),["stop"]),onMouseleave:oe[0]||(oe[0]=vue.withModifiers(le=>vue.unref(U).setWidgetHoverIds([]),["stop"])),onClick:vue.withModifiers(le=>ne(ie),["stop"])},[_hoisted_4$15,vue.createElementVNode("div",{class:"overflow-hidden text-xs whitespace-nowrap text-ellipsis",title:ie.name},vue.toDisplayString(ie.name),9,_hoisted_5$U)],42,_hoisted_3$1c))),128))]),_:1},8,["modelValue"])]),_:1})])],64))}}),layer_vue_vue_type_style_index_0_scoped_7c2b133e_lang="",Layer=_export_sfc$2(_sfc_main$31,[["__scopeId","data-v-7c2b133e"]]),commonSetting={root:{}},setting$z={...commonSetting,customize:{decorationColor1:"#1296db",decorationColor2:"#0de7c2"}},__vite_glob_0_0$5=Object.freeze(Object.defineProperty({__proto__:null,default:setting$z},Symbol.toStringTag,{value:"Module"})),setting$y={...commonSetting,customize:{decorationColor1:"#00c2ff",decorationColor2:"rgba(0, 194, 255, 0.3)"}},__vite_glob_0_1$5=Object.freeze(Object.defineProperty({__proto__:null,default:setting$y},Symbol.toStringTag,{value:"Module"})),setting$x={...commonSetting,customize:{decorationColor1:"#1a98fc",decorationColor2:"#2cf7fe"}},__vite_glob_0_2$4=Object.freeze(Object.defineProperty({__proto__:null,default:setting$x},Symbol.toStringTag,{value:"Module"})),setting$w={...commonSetting,customize:{decorationColor1:null,decorationColor2:null,scanDuration:3,haloDuration:2}},__vite_glob_0_3$4=Object.freeze(Object.defineProperty({__proto__:null,default:setting$w},Symbol.toStringTag,{value:"Module"})),setting$v={...commonSetting,customize:{decorationColor1:"#1296db",decorationColor2:"#0de7c2",duration:6,reverse:!1}},__vite_glob_0_4$4=Object.freeze(Object.defineProperty({__proto__:null,default:setting$v},Symbol.toStringTag,{value:"Module"})),setting$u={...commonSetting,customize:{decorationColor1:"#7acaec",decorationColor2:"#000"}},__vite_glob_0_5$4=Object.freeze(Object.defineProperty({__proto__:null,default:setting$u},Symbol.toStringTag,{value:"Module"})),setting$t={...commonSetting,customize:{decorationColor1:"rgba(255, 255, 255, 0.3)",decorationColor2:"rgba(255, 255, 255, 0.3)",duration:3,reverse:!1}},__vite_glob_0_6$4=Object.freeze(Object.defineProperty({__proto__:null,default:setting$t},Symbol.toStringTag,{value:"Module"})),setting$s={...commonSetting,customize:{decorationColor1:"#3f96a5",decorationColor2:"#3f96a5",duration:1.2}},__vite_glob_0_7$4=Object.freeze(Object.defineProperty({__proto__:null,default:setting$s},Symbol.toStringTag,{value:"Module"})),setting$r={...commonSetting,customize:{decorationColor1:"#7acaec",decorationColor2:"#7acaec"}},__vite_glob_0_8$3=Object.freeze(Object.defineProperty({__proto__:null,default:setting$r},Symbol.toStringTag,{value:"Module"})),setting$q={...commonSetting,customize:{decorationColor1:"#3f96a5",decorationColor2:"#3f96a5",reverse:!1}},__vite_glob_0_9$3=Object.freeze(Object.defineProperty({__proto__:null,default:setting$q},Symbol.toStringTag,{value:"Module"})),setting$p={...commonSetting,customize:{decorationColor1:"rgba(3, 166, 224, 0.8)",decorationColor2:"rgba(3, 166, 224, 0.5)",duration:3}},__vite_glob_0_10$3=Object.freeze(Object.defineProperty({__proto__:null,default:setting$p},Symbol.toStringTag,{value:"Module"})),modulesFiles$3=Object.assign({"../decoration/decoration1/setting.ts":__vite_glob_0_0$5,"../decoration/decoration10/setting.ts":__vite_glob_0_1$5,"../decoration/decoration11/setting.ts":__vite_glob_0_2$4,"../decoration/decoration12/setting.ts":__vite_glob_0_3$4,"../decoration/decoration2/setting.ts":__vite_glob_0_4$4,"../decoration/decoration3/setting.ts":__vite_glob_0_5$4,"../decoration/decoration4/setting.ts":__vite_glob_0_6$4,"../decoration/decoration5/setting.ts":__vite_glob_0_7$4,"../decoration/decoration6/setting.ts":__vite_glob_0_8$3,"../decoration/decoration8/setting.ts":__vite_glob_0_9$3,"../decoration/decoration9/setting.ts":__vite_glob_0_10$3}),modules$3=[];for(const[te,U]of Object.entries(modulesFiles$3)){const G=te.split("/")[2];let ee={};switch(G){case"decoration1":ee={name:"装饰一",w:350,h:30};break;case"decoration2":ee={name:"装饰二(可旋转)",w:350,h:20};break;case"decoration3":ee={name:"装饰三",w:350,h:30};break;case"decoration4":ee={name:"装饰四",w:30,h:320};break;case"decoration5":ee={name:"装饰五",w:350,h:50};break;case"decoration6":ee={name:"装饰六",w:350,h:50};break;case"decoration8":ee={name:"装饰七(可旋转)",w:350,h:50};break;case"decoration9":ee={name:"装饰八",w:150,h:150};break;case"decoration10":ee={name:"装饰九",w:350,h:50};break;case"decoration11":ee={name:"装饰十",w:350,h:100};break;case"decoration12":ee={name:"装饰十一",w:150,h:150};break}modules$3.push({...ee,type:G,...U.default})}modules$3.sort((te,U)=>Number(te.type.replace("decoration",""))-Number(U.type.replace("decoration","")));const setting$o={...commonSetting,customize:{borderMainColor:"#83bff6",borderSecondaryColor:"#00CED1",backgroundColor:"transparent"}},__vite_glob_0_0$4=Object.freeze(Object.defineProperty({__proto__:null,default:setting$o},Symbol.toStringTag,{value:"Module"})),setting$n={...commonSetting,customize:{borderMainColor:"#83bff6",borderSecondaryColor:"#00CED1",backgroundColor:"transparent"}},__vite_glob_0_1$4=Object.freeze(Object.defineProperty({__proto__:null,default:setting$n},Symbol.toStringTag,{value:"Module"})),setting$m={...commonSetting,customize:{borderMainColor:"#83bff6",borderSecondaryColor:"#00CED1",backgroundColor:"transparent",titleWidth:250,title:"我是标题"}},__vite_glob_0_2$3=Object.freeze(Object.defineProperty({__proto__:null,default:setting$m},Symbol.toStringTag,{value:"Module"})),setting$l={...commonSetting,customize:{borderMainColor:"#83bff6",borderSecondaryColor:"#00CED1",backgroundColor:"transparent"}},__vite_glob_0_3$3=Object.freeze(Object.defineProperty({__proto__:null,default:setting$l},Symbol.toStringTag,{value:"Module"})),setting$k={...commonSetting,customize:{borderMainColor:"#83bff6",borderSecondaryColor:"#00CED1",backgroundColor:"transparent"}},__vite_glob_0_4$3=Object.freeze(Object.defineProperty({__proto__:null,default:setting$k},Symbol.toStringTag,{value:"Module"})),setting$j={...commonSetting,customize:{borderMainColor:"#83bff6",borderSecondaryColor:"#00CED1",backgroundColor:"transparent"}},__vite_glob_0_5$3=Object.freeze(Object.defineProperty({__proto__:null,default:setting$j},Symbol.toStringTag,{value:"Module"})),setting$i={...commonSetting,customize:{borderMainColor:"#83bff6",borderSecondaryColor:"#00CED1",backgroundColor:"transparent"}},__vite_glob_0_6$3=Object.freeze(Object.defineProperty({__proto__:null,default:setting$i},Symbol.toStringTag,{value:"Module"})),setting$h={...commonSetting,customize:{borderMainColor:"#83bff6",borderSecondaryColor:"#00CED1",backgroundColor:"transparent",reverse:!1}},__vite_glob_0_7$3=Object.freeze(Object.defineProperty({__proto__:null,default:setting$h},Symbol.toStringTag,{value:"Module"})),setting$g={...commonSetting,customize:{borderMainColor:"#83bff6",borderSecondaryColor:"#00CED1",backgroundColor:"transparent",reverse:!1}},__vite_glob_0_8$2=Object.freeze(Object.defineProperty({__proto__:null,default:setting$g},Symbol.toStringTag,{value:"Module"})),setting$f={...commonSetting,customize:{borderMainColor:"#83bff6",borderSecondaryColor:"#00CED1",backgroundColor:"transparent"}},__vite_glob_0_9$2=Object.freeze(Object.defineProperty({__proto__:null,default:setting$f},Symbol.toStringTag,{value:"Module"})),setting$e={...commonSetting,customize:{borderMainColor:"#83bff6",borderSecondaryColor:"#00CED1",backgroundColor:"transparent"}},__vite_glob_0_10$2=Object.freeze(Object.defineProperty({__proto__:null,default:setting$e},Symbol.toStringTag,{value:"Module"})),setting$d={...commonSetting,customize:{borderMainColor:"#83bff6",borderSecondaryColor:"#00CED1",backgroundColor:"transparent",duration:3,reverse:!1}},__vite_glob_0_11=Object.freeze(Object.defineProperty({__proto__:null,default:setting$d},Symbol.toStringTag,{value:"Module"})),setting$c={...commonSetting,customize:{borderMainColor:"#83bff6",borderSecondaryColor:"#00CED1",backgroundColor:"transparent"}},__vite_glob_0_12=Object.freeze(Object.defineProperty({__proto__:null,default:setting$c},Symbol.toStringTag,{value:"Module"})),modulesFiles$2=Object.assign({"../border/border1/setting.ts":__vite_glob_0_0$4,"../border/border10/setting.ts":__vite_glob_0_1$4,"../border/border11/setting.ts":__vite_glob_0_2$3,"../border/border12/setting.ts":__vite_glob_0_3$3,"../border/border13/setting.ts":__vite_glob_0_4$3,"../border/border2/setting.ts":__vite_glob_0_5$3,"../border/border3/setting.ts":__vite_glob_0_6$3,"../border/border4/setting.ts":__vite_glob_0_7$3,"../border/border5/setting.ts":__vite_glob_0_8$2,"../border/border6/setting.ts":__vite_glob_0_9$2,"../border/border7/setting.ts":__vite_glob_0_10$2,"../border/border8/setting.ts":__vite_glob_0_11,"../border/border9/setting.ts":__vite_glob_0_12}),modules$2=[];for(const[te,U]of Object.entries(modulesFiles$2)){const G=te.split("/")[2],ne={name:{border1:"边框一",border2:"边框二",border3:"边框三",border4:"边框四(可翻转)",border5:"边框五(可翻转)",border6:"边框六",border7:"边框七",border8:"边框八",border9:"边框九",border10:"边框十",border11:"边框十一",border12:"边框十二",border13:"边框十三"}[G],w:450,h:320,type:G,...U.default};modules$2.push({...ne})}modules$2.sort((te,U)=>Number(te.type.replace("border",""))-Number(U.type.replace("border","")));const setting$b={...commonSetting,customize:{gradientColor0:"#1296db",gradientColor1:"#1296db",width:2}},__vite_glob_0_0$3=Object.freeze(Object.defineProperty({__proto__:null,default:setting$b},Symbol.toStringTag,{value:"Module"})),setting$a={...commonSetting,customize:{url:"https://cn.bing.com/"}},__vite_glob_0_1$3=Object.freeze(Object.defineProperty({__proto__:null,default:setting$a},Symbol.toStringTag,{value:"Module"})),setting$9={...commonSetting,customize:{fit:"contain",url:"https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg"}},__vite_glob_0_2$2=Object.freeze(Object.defineProperty({__proto__:null,default:setting$9},Symbol.toStringTag,{value:"Module"})),setting$8={...commonSetting,customize:{title:"1234",color:"#1296db",fontSize:20,fontWeight:700,textAlign:"center",letterSpacing:1,colorPosition:"top",startColor:"#1296db",endColor:"#1296db",formula:"",toFixed:2}},__vite_glob_0_3$2=Object.freeze(Object.defineProperty({__proto__:null,default:setting$8},Symbol.toStringTag,{value:"Module"})),setting$7={...commonSetting,customize:{colorPosition:"bottom",gradientColor0:"#1296db",gradientColor1:"#1296db",borderRadius:0}},__vite_glob_0_4$2=Object.freeze(Object.defineProperty({__proto__:null,default:setting$7},Symbol.toStringTag,{value:"Module"})),setting$6={...commonSetting,customize:{title:"文本数据",color:"#1296db",fontSize:20,fontWeight:700,textAlign:"center",letterSpacing:1,colorPosition:"top",startColor:"#1296db",endColor:"#1296db"}},__vite_glob_0_5$2=Object.freeze(Object.defineProperty({__proto__:null,default:setting$6},Symbol.toStringTag,{value:"Module"})),setting$5={...commonSetting,customize:{title:"1234",color:"#1296db",fontSize:20,fontWeight:700,textAlign:"center",letterSpacing:1,colorPosition:"top",startColor:"#1296db",endColor:"#1296db"}},__vite_glob_0_6$2=Object.freeze(Object.defineProperty({__proto__:null,default:setting$5},Symbol.toStringTag,{value:"Module"})),setting$4={...commonSetting,customize:{gradientColor0:"#1296db",gradientColor1:"#1296db",height:2}},__vite_glob_0_7$2=Object.freeze(Object.defineProperty({__proto__:null,default:setting$4},Symbol.toStringTag,{value:"Module"})),modulesFiles$1=Object.assign({"../basic/horizontal-line/setting.ts":__vite_glob_0_0$3,"../basic/iframe/setting.ts":__vite_glob_0_1$3,"../basic/img/setting.ts":__vite_glob_0_2$2,"../basic/number/setting.ts":__vite_glob_0_3$2,"../basic/square/setting.ts":__vite_glob_0_4$2,"../basic/text/setting.ts":__vite_glob_0_5$2,"../basic/time/setting.ts":__vite_glob_0_6$2,"../basic/vertical-line/setting.ts":__vite_glob_0_7$2}),modules$1=[];for(const[te,U]of Object.entries(modulesFiles$1)){const G=te.split("/")[2];let ee={};switch(G){case"square":ee={name:"正方形",w:200,h:200};break;case"img":ee={name:"图片",w:200,h:200};break;case"number":ee={name:"数字",w:200,h:50};break;case"text":ee={name:"文本",w:200,h:50};break;case"time":ee={name:"当前时间",w:200,h:50};break;case"horizontal-line":ee={name:"竖线",w:10,h:100};break;case"vertical-line":ee={name:"横线",w:100,h:10};break;case"iframe":ee={name:"iframe",w:1e3,h:500};break}modules$1.push({...ee,type:G,...U.default})}const sortMap$1={text:1,number:2,img:3,time:4,"vertical-line":5,"horizontal-line":6,circular:7,square:8,iframe:9};modules$1.sort((te,U)=>(sortMap$1[te.type]??99)-(sortMap$1[U.type]??99));const setting$3={...commonSetting,customize:{backgroundColor:"transparent",borderColor:"#ebeef5",borderTopWidth:0,borderRightWidth:0,borderBottomWidth:1,borderLeftWidth:0,color:"#000",fontSize:14,borderRadius:0,placeholder:"请输入文字",modelValue:"",linkage:[]}},__vite_glob_0_0$2=Object.freeze(Object.defineProperty({__proto__:null,default:setting$3},Symbol.toStringTag,{value:"Module"})),setting$2={...commonSetting,customize:{placeholder:"请选择",clearable:!0,modelValue:"",linkage:[]}},__vite_glob_0_1$2=Object.freeze(Object.defineProperty({__proto__:null,default:setting$2},Symbol.toStringTag,{value:"Module"})),modulesFiles=Object.assign({"../control/input/setting.ts":__vite_glob_0_0$2,"../control/select/setting.ts":__vite_glob_0_1$2}),modules=[];for(const[te,U]of Object.entries(modulesFiles)){const G=te.split("/")[2];let ee={};switch(G){case"input":ee={name:"输入框",w:200,h:40};break;case"select":ee={name:"下拉框",w:200,h:40};break}modules.push({...ee,type:G,...U.default})}const sortMap={input:1};modules.sort((te,U)=>(sortMap[te.type]??99)-(sortMap[U.type]??99));const _withScopeId$D=te=>(vue.pushScopeId("data-v-945ce3a3"),te=te(),vue.popScopeId(),te),_hoisted_1$1I={class:"text-xs"},_hoisted_2$1o={class:"flex items-center h-10 p-2",style:{"background-color":"var(--design-bg-color3)"}},_hoisted_3$1b=_withScopeId$D(()=>vue.createElementVNode("span",{class:"w-1 h-4 mr-2 rounded-sm bg-color-primary"},null,-1)),_hoisted_4$14={class:"flex-1 p-2 overflow-hidden"},_hoisted_5$T=["onClick"],_hoisted_6$I=["data-type","data-id"],_hoisted_7$B={class:"p-1 overflow-hidden text-xs text-ellipsis whitespace-nowrap",style:{"background-color":"var(--design-bg-color4)"}},_hoisted_8$v={class:"flex items-center justify-center"},_hoisted_9$q={key:0,class:"flex items-center justify-center pb-3 mt-2"},_hoisted_10$l=["onClick"],_hoisted_11$g=["data-type","data-ptype"],_hoisted_12$e={class:"p-1 text-xs",style:{"background-color":"var(--design-bg-color4)"}},_hoisted_13$c={class:"flex items-center justify-center pt-1 pb-1",style:{"background-color":"var(--design-bg-color3)"}},_sfc_main$30=vue.defineComponent({__name:"leftPannel",setup(te){const{proxy:U}=vue.getCurrentInstance(),G=vue.ref([{label:"图层",type:"layer",icon:"ri-stack-line"},{label:"基础",type:"base",icon:"ri-supabase-line",list:modules$1},{label:"指标",type:"indicators",icon:"ri-database-2-line",list:[]},{label:"边框",type:"border",icon:"ri-body-scan-line",list:modules$2},{label:"装饰",type:"decoration",icon:"ri-sparkling-line",list:modules$3},{label:"控件",type:"controal",icon:"ri-remote-control-2-line",list:modules}]),ee=vue.ref("layer"),ne=re=>{const oe=vue.unref(G).find(ie=>ie.type=="indicators");oe&&(oe.list=oe.list.map(ie=>({...ie,isOpen:ie.isOpen?!1:ie.id==re.id})))};return vue.nextTick(()=>{U.$baseHttp.get("/api/ace-data-center/indicators/loadIndicatorsMenu",{params:{projectId:U.$baseGetCurrentProjectId()}}).then(re=>{const oe=[],ie=vue.unref(G).find(le=>le.type=="indicators");ie&&(ie.list=Object.keys(re.data).map((le,ae)=>({name:le,id:le,isOpen:ae==0,children:re.data[le].map(se=>{var ue;return{...se,echartsType:(ue=se.echarts)!=null&&ue.length?se.echarts[0].echartsType:""}})})),oe.push(...ie.list.map(le=>le.children))),vue.nextTick(()=>{document.querySelectorAll(".drag-node").forEach(ae=>{const{ptype:se,type:ue,id:ce}=ae.dataset;ae.addEventListener("dragstart",de=>{var ve;let fe=(ve=vue.unref(G).find(he=>he.type==se))==null?void 0:ve.list.find(he=>he.type==ue);if(["MODEL_INDICATORS","INDICATORS"].includes(ue)){const he=oe.flat().find(ge=>ge.id==ce),pe=he==null?void 0:he.echarts.find(ge=>ge.echartsType==he.echartsType);fe={name:`${he.name}(${echartsTypeList[pe.echartsType].name})`,chartType:he.echartsType,chartId:he.id,indicatorsId:ce,w:500,h:500,customize:pe.echartsConfig,modelType:he.type}}U.$baseEventBus.emit("drag-start"),de.dataTransfer.setData("dragComponent",JSON.stringify({...fe,id:nanoid(),locked:!1}))}),ae.addEventListener("dragend",de=>{U.$baseEventBus.emit("drag-end")})}),document.addEventListener("drop",ae=>{ae.preventDefault()},!1)})})}),vue.onBeforeUnmount(()=>{U.$baseEventBus.off("drag-start"),U.$baseEventBus.off("drag-end")}),(re,oe)=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElTabs),{"tab-position":"left",modelValue:vue.unref(ee),"onUpdate:modelValue":oe[0]||(oe[0]=ie=>vue.isRef(ee)?ee.value=ie:null),onKeydownCapture:oe[1]||(oe[1]=vue.withKeys(vue.withModifiers(()=>{},["stop","prevent"]),["native"]))},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(G),ie=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElTabPane),{name:ie.type,key:ie.type},{label:vue.withCtx(()=>[vue.createElementVNode("div",null,[vue.createElementVNode("i",{class:vue.normalizeClass(["text-xl",ie.icon])},null,2),vue.createElementVNode("div",_hoisted_1$1I,vue.toDisplayString(ie.label),1)])]),default:vue.withCtx(()=>[ie.type=="layer"?(vue.openBlock(),vue.createBlock(Layer,{key:0})):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createElementVNode("div",_hoisted_2$1o,[_hoisted_3$1b,vue.createTextVNode(" "+vue.toDisplayString(ie.label),1)]),vue.createElementVNode("div",_hoisted_4$14,[vue.createVNode(vue.unref(elementPlus.ElScrollbar),null,{default:vue.withCtx(()=>[ie.type=="indicators"?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:0},vue.renderList(ie.list,le=>(vue.openBlock(),vue.createElementBlock("div",{key:le.label},[vue.createElementVNode("div",{class:"mb-2 overflow-hidden cursor-pointer text-ellipsis whitespace-nowrap",onClick:ae=>ne(le)},[vue.createElementVNode("i",{class:vue.normalizeClass(["text-base",le.isOpen?"ri-folder-open-line":"ri-folder-line"])},null,2),vue.createTextVNode(" "+vue.toDisplayString(le.name),1)],8,_hoisted_5$T),vue.withDirectives(vue.createElementVNode("div",null,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(le.children,ae=>{var se;return vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:ae.modelId},[["MODEL_INDICATORS","INDICATORS"].includes(ae.type)&&((se=ae.echarts)!=null&&se.length)?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"mb-2 cursor-move drag-node",draggable:!0,"data-type":ae.type,"data-id":ae.id},[vue.createElementVNode("div",_hoisted_7$B,vue.toDisplayString(ae.name),1),vue.createElementVNode("div",_hoisted_8$v,[vue.createElementVNode("div",{class:vue.normalizeClass([`bg-${ae.echartsType}`,"item-img"])},null,2)]),ae.echarts.length>1?(vue.openBlock(),vue.createElementBlock("div",_hoisted_9$q,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(ae.echarts,ue=>(vue.openBlock(),vue.createElementBlock("i",{class:vue.normalizeClass([[vue.unref(echartsTypeList)[ue.echartsType].icon,ue.echartsType==ae.echartsType?"activeCode":""],"cursor-pointer chart-item"]),onClick:ce=>ae.echartsType=ue.echartsType,key:ue.code},null,10,_hoisted_10$l))),128))])):vue.createCommentVNode("",!0)],8,_hoisted_6$I)):vue.createCommentVNode("",!0)],64)}),128))],512),[[vue.vShow,le.isOpen]])]))),128)):(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:1},vue.renderList(ie.list,le=>(vue.openBlock(),vue.createElementBlock("div",{key:ie.type,class:"mb-2 cursor-move drag-node",draggable:!0,"data-type":le.type,"data-ptype":ie.type},[vue.createElementVNode("div",_hoisted_12$e,vue.toDisplayString(le.name),1),vue.createElementVNode("div",_hoisted_13$c,[vue.createElementVNode("div",{class:vue.normalizeClass([`bg-${le.type}`,"item-img"])},null,2)])],8,_hoisted_11$g))),128))]),_:2},1024)])],64))]),_:2},1032,["name"]))),128))]),_:1},8,["modelValue"]))}}),leftPannel_vue_vue_type_style_index_0_scoped_945ce3a3_lang="",LeftPannel=_export_sfc$2(_sfc_main$30,[["__scopeId","data-v-945ce3a3"]]);function tryOnScopeDispose(te){return vue.getCurrentScope()?(vue.onScopeDispose(te),!0):!1}function toValue(te){return typeof te=="function"?te():vue.unref(te)}const isClient=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const toString$1=Object.prototype.toString,isObject$2=te=>toString$1.call(te)==="[object Object]",noop$2=()=>{};function unrefElement(te){var U;const G=toValue(te);return(U=G==null?void 0:G.$el)!=null?U:G}const defaultWindow=isClient?window:void 0,defaultDocument=isClient?window.document:void 0;function useEventListener(...te){let U,G,ee,ne;if(typeof te[0]=="string"||Array.isArray(te[0])?([G,ee,ne]=te,U=defaultWindow):[U,G,ee,ne]=te,!U)return noop$2;Array.isArray(G)||(G=[G]),Array.isArray(ee)||(ee=[ee]);const re=[],oe=()=>{re.forEach(se=>se()),re.length=0},ie=(se,ue,ce,de)=>(se.addEventListener(ue,ce,de),()=>se.removeEventListener(ue,ce,de)),le=vue.watch(()=>[unrefElement(U),toValue(ne)],([se,ue])=>{if(oe(),!se)return;const ce=isObject$2(ue)?{...ue}:ue;re.push(...G.flatMap(de=>ee.map(fe=>ie(se,de,fe,ce))))},{immediate:!0,flush:"post"}),ae=()=>{le(),oe()};return tryOnScopeDispose(ae),ae}function createKeyPredicate(te){return typeof te=="function"?te:typeof te=="string"?U=>U.key===te:Array.isArray(te)?U=>te.includes(U.key):()=>!0}function onKeyStroke(...te){let U,G,ee={};te.length===3?(U=te[0],G=te[1],ee=te[2]):te.length===2?typeof te[1]=="object"?(U=!0,G=te[0],ee=te[1]):(U=te[0],G=te[1]):(U=!0,G=te[0]);const{target:ne=defaultWindow,eventName:re="keydown",passive:oe=!1,dedupe:ie=!1}=ee,le=createKeyPredicate(U);return useEventListener(ne,re,se=>{se.repeat&&toValue(ie)||le(se)&&G(se)},oe)}const defaultEvents=["mousedown","mouseup","keydown","keyup"];function useKeyModifier(te,U={}){const{events:G=defaultEvents,document:ee=defaultDocument,initial:ne=null}=U,re=vue.ref(ne);return ee&&G.forEach(oe=>{useEventListener(ee,oe,ie=>{typeof ie.getModifierState=="function"&&(re.value=ie.getModifierState(te))})}),re}var __defProp=Object.defineProperty,__getOwnPropSymbols=Object.getOwnPropertySymbols,__hasOwnProp=Object.prototype.hasOwnProperty,__propIsEnum=Object.prototype.propertyIsEnumerable,__defNormalProp=(te,U,G)=>U in te?__defProp(te,U,{enumerable:!0,configurable:!0,writable:!0,value:G}):te[U]=G,__spreadValues=(te,U)=>{for(var G in U||(U={}))__hasOwnProp.call(U,G)&&__defNormalProp(te,G,U[G]);if(__getOwnPropSymbols)for(var G of __getOwnPropSymbols(U))__propIsEnum.call(U,G)&&__defNormalProp(te,G,U[G]);return te};const lineProps={scale:Number,thick:Number,palette:Object,index:Number,start:Number,vertical:Boolean,value:Number,isShowReferLine:Boolean};var _export_sfc$1=(te,U)=>{const G=te.__vccOpts||te;for(const[ee,ne]of U)G[ee]=ne;return G};const _sfc_main$3$1=vue.defineComponent({name:"LineRuler",props:lineProps,emits:["onMouseDown","onRelease","onRemove"],setup(te,{emit:U}){const G=vue.ref(0),ee=vue.ref(!0);vue.onMounted(()=>{G.value=te.value});const ne=se=>{ee.value=se>=0},re=vue.computed(()=>{const se=(G.value-te.start)*te.scale;ne(se);const ue=se+"px";return te.vertical?{top:ue}:{left:ue}}),oe=vue.computed(()=>{var se;const ue=`1px solid ${(se=te.palette)==null?void 0:se.lineColor}`,ce=te.vertical?{borderTop:ue}:{borderLeft:ue},de=te.isShowReferLine?te.vertical?"ns-resize":"ew-resize":"none";return __spreadValues({cursor:de},ce)}),ie=vue.computed(()=>te.vertical?{left:te.thick+"px"}:{top:te.thick+"px"});return{startValue:G,showLine:ee,offset:re,borderCursor:oe,actionStyle:ie,handleDown:se=>{const ue=te.vertical?se.clientY:se.clientX,ce=G.value;U("onMouseDown");const de=ve=>{const he=te.vertical?ve.clientY:ve.clientX,pe=Math.round(ce+(he-ue)/te.scale);G.value=pe},fe=()=>{U("onRelease",G.value,te.index),document.removeEventListener("mousemove",de),document.removeEventListener("mouseup",fe)};document.addEventListener("mousemove",de),document.addEventListener("mouseup",fe)},handleRemove:()=>{U("onRemove",te.index)}}}}),_hoisted_1$2$1={class:"value"};function _sfc_render$3(te,U,G,ee,ne,re){return vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",{class:"line",style:vue.normalizeStyle([te.offset,te.borderCursor]),onMousedown:U[1]||(U[1]=(...oe)=>te.handleDown&&te.handleDown(...oe))},[vue.createElementVNode("div",{class:"action",style:vue.normalizeStyle(te.actionStyle)},[vue.createElementVNode("span",{class:"del",onClick:U[0]||(U[0]=(...oe)=>te.handleRemove&&te.handleRemove(...oe))},"×"),vue.createElementVNode("span",_hoisted_1$2$1,vue.toDisplayString(te.startValue),1)],4)],36)),[[vue.vShow,te.showLine]])}var RulerLine=_export_sfc$1(_sfc_main$3$1,[["render",_sfc_render$3],["__scopeId","data-v-7cc5d020"]]);const getGridSize=te=>te<=.25?40:te<=.5?20:te<=1?10:te<=2?5:te<=4?2:1,FONT_SCALE=.83,drawCavaseRuler=(te,U,G,ee,ne,re)=>{const{scale:oe,width:ie,height:le,ratio:ae,palette:se}=ne,{bgColor:ue,fontColor:ce,shadowColor:de,longfgColor:fe,shortfgColor:ve}=se;if(te.scale(ae,ae),te.clearRect(0,0,ie,le),te.fillStyle=ue,te.fillRect(0,0,ie,le),ee){const $e=(G-U)*oe,Ee=ee*oe;te.fillStyle=de,re?te.fillRect($e,0,Ee,le*3/8):te.fillRect(0,$e,ie*3/8,Ee)}const he=getGridSize(oe),pe=he*oe,ge=he*10,me=ge*oe,_e=Math.floor(U/he)*he,ye=Math.floor(U/ge)*ge,be=(_e-U)/he*pe,xe=(ye-U)/ge*me,Ce=U+Math.ceil((re?ie:le)/oe);te.beginPath(),te.fillStyle=ce,te.strokeStyle=fe;for(let $e=ye,Ee=0;$e<Ce;$e+=ge,Ee++){const Ve=xe+Ee*me+.5;re?te.moveTo(Ve,0):te.moveTo(0,Ve),te.save(),re?te.translate(Ve,le*.4):te.translate(ie*.4,Ve),re||te.rotate(-Math.PI/2),te.scale(FONT_SCALE/ae,FONT_SCALE/ae),te.fillText($e.toString(),4*ae,7*ae),te.restore(),re?te.lineTo(Ve,le*9/16):te.lineTo(ie*9/16,Ve)}te.stroke(),te.closePath(),te.beginPath(),te.strokeStyle=ve;for(let $e=_e,Ee=0;$e<Ce;$e+=he,Ee++){const Ve=be+Ee*pe+.5;re?te.moveTo(Ve,0):te.moveTo(0,Ve),$e%ge!==0&&(re?te.lineTo(Ve,le*1/4):te.lineTo(ie*1/4,Ve))}te.stroke(),te.closePath(),te.setTransform(1,0,0,1,0,0)},_sfc_main$2$1=vue.defineComponent({name:"CanvasRuler",props:{showIndicator:Boolean,valueNum:Number,scale:Number,ratio:Number,palette:Object,vertical:Boolean,start:Number,width:Number,height:Number,selectStart:Number,selectLength:Number},emits:["onAddLine","update:showIndicator","update:valueNum"],setup(te,{emit:U}){const G=vue.reactive({canvasContext:null});let ee=1;const ne=vue.ref(null);vue.onMounted(()=>{ee=te.ratio||window.devicePixelRatio||1,re(),oe(ee),ie(ee)});const re=()=>{G.canvasContext=ne.value&&ne.value.getContext("2d")},oe=ae=>{if(ne.value){ne.value.width=te.width*ae,ne.value.height=te.height*ae;const se=G.canvasContext;se&&(se.font=`${12*ae}px -apple-system,
|
|
11
11
|
"Helvetica Neue", ".SFNSText-Regular",
|
|
12
12
|
"SF UI Text", Arial, "PingFang SC", "Hiragino Sans GB",
|
|
13
13
|
"Microsoft YaHei", "WenQuanYi Zen Hei", sans-serif`,se.lineWidth=1,se.textBaseline="middle")}},ie=ae=>{const se={scale:te.scale,width:te.width,height:te.height,palette:te.palette,ratio:ae};G.canvasContext&&drawCavaseRuler(G.canvasContext,te.start,te.selectStart,te.selectLength,se,!te.vertical)};return vue.watch(()=>te.start,()=>ie(ee)),vue.watch([()=>te.width,()=>te.height],()=>{oe(ee),ie(ee)}),{handle:(ae,se)=>{const ue=(fe,ve,he)=>Math.round(ve+fe/he),ce=te.vertical?ae.offsetY:ae.offsetX,de=ue(ce,te.start,te.scale);switch(se){case"click":U("onAddLine",de);break;case"enter":U("update:valueNum",de),U("update:showIndicator",!0);break;default:U("update:valueNum",de);break}},canvas:ne}}});function _sfc_render$2(te,U,G,ee,ne,re){return vue.openBlock(),vue.createElementBlock("canvas",{ref:"canvas",class:"ruler",onClick:U[0]||(U[0]=oe=>te.handle(oe,"click")),onMouseenter:U[1]||(U[1]=oe=>te.handle(oe,"enter")),onMousemove:U[2]||(U[2]=oe=>te.handle(oe,"move")),onMouseleave:U[3]||(U[3]=oe=>te.$emit("update:showIndicator",!1))},null,544)}var CanvasRuler=_export_sfc$1(_sfc_main$2$1,[["render",_sfc_render$2]]);const wrapperProps={scale:Number,ratio:Number,thick:Number,palette:Object,vertical:{type:Boolean,default:!0},width:{type:Number,default:200},height:{type:Number,default:200},start:{type:Number,default:0},lines:{type:Array,default:()=>[]},selectStart:{type:Number},selectLength:{type:Number},isShowReferLine:{type:Boolean}},_sfc_main$1$1=vue.defineComponent({name:"RulerWrapper",components:{CanvasRuler,RulerLine},props:wrapperProps,setup(te){const U=vue.ref(!1),G=vue.ref(0),ee=vue.computed(()=>te.vertical?"v-container":"h-container"),ne=vue.computed(()=>{const ae={width:`calc(100% - ${te.thick}px)`,height:`${te.thick+1}px`,left:`${te.thick}px`},se={width:`${te.thick&&te.thick+1}px`,height:`calc(100% - ${te.thick}px)`,top:`${te.thick}px`};return te.vertical?se:ae}),re=vue.computed(()=>{var ae;const se=(G.value-te.start)*te.scale;let ue="top",ce="borderLeft";return ue=te.vertical?"top":"left",ce=te.vertical?"borderBottom":"borderLeft",{[ue]:se+"px",[ce]:`1px solid ${(ae=te.palette)==null?void 0:ae.lineColor}`}}),oe=ae=>{te.lines.push(ae)},ie=(ae,se)=>{const ue=ae-te.start,ce=(te.vertical?te.height:te.width)/te.scale;ue<0||ue>ce?le(se):te.lines[se]=ae},le=ae=>{te.lines.splice(ae,1)};return{showIndicator:U,valueNum:G,rwClassName:ee,rwStyle:ne,indicatorStyle:re,handleNewLine:oe,handleLineRelease:ie,handleLineRemove:le}}}),_hoisted_1$1$1={class:"lines"},_hoisted_2$1n={class:"value"};function _sfc_render$1$1(te,U,G,ee,ne,re){const oe=vue.resolveComponent("CanvasRuler"),ie=vue.resolveComponent("RulerLine");return vue.openBlock(),vue.createElementBlock("div",{class:vue.normalizeClass(te.rwClassName),style:vue.normalizeStyle(te.rwStyle)},[vue.createVNode(oe,{vertical:te.vertical,scale:te.scale,width:te.width,height:te.height,start:te.start,ratio:te.ratio,"select-start":te.selectStart,"select-length":te.selectLength,palette:te.palette,valueNum:te.valueNum,"onUpdate:valueNum":U[0]||(U[0]=le=>te.valueNum=le),showIndicator:te.showIndicator,"onUpdate:showIndicator":U[1]||(U[1]=le=>te.showIndicator=le),onOnAddLine:te.handleNewLine},null,8,["vertical","scale","width","height","start","ratio","select-start","select-length","palette","valueNum","showIndicator","onOnAddLine"]),vue.withDirectives(vue.createElementVNode("div",_hoisted_1$1$1,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(te.lines,(le,ae)=>(vue.openBlock(),vue.createBlock(ie,{key:le+ae,index:ae,value:le>>0,scale:te.scale,start:te.start,thick:te.thick,palette:te.palette,vertical:te.vertical,"is-show-refer-line":te.isShowReferLine,onOnRemove:te.handleLineRemove,onOnRelease:te.handleLineRelease},null,8,["index","value","scale","start","thick","palette","vertical","is-show-refer-line","onOnRemove","onOnRelease"]))),128))],512),[[vue.vShow,te.isShowReferLine]]),vue.withDirectives(vue.createElementVNode("div",{class:"indicator",style:vue.normalizeStyle(te.indicatorStyle)},[vue.createElementVNode("div",_hoisted_2$1n,vue.toDisplayString(te.valueNum),1)],4),[[vue.vShow,te.showIndicator]])],6)}var RulerWrapper=_export_sfc$1(_sfc_main$1$1,[["render",_sfc_render$1$1],["__scopeId","data-v-65a7f0f6"]]);const eye64="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAYAAACpF6WWAAAAAXNSR0IArs4c6QAAAopJREFUOE/FlE9IVEEcx7+/N9ouds1Mu0QUSFZYdIgoUqQoKPBQHsKozpXE7jbTO/U8xLJvn6usBHWQ6hBFXupSkQeVbh0KJEPp0sH+eLGTsKs77xcj78m0ax0E8cHjzZv5zef3/c33xxA24KENYGJzoEEQbNNaN4Zh2OQ4znwYhr9c1/39vwrXVDo0NNS0tLR0GYB5D64BmAMwzMyvlFKz1es10Hw+f4mZ7wHYBeA9gNdENFepVOaEEM3M3OI4Thczn41gt6WUgQ3+C+r7/h0AWQD3mXnYqPA8L9nQ0HCemduIaFpKOWoAhUJhT6VSuQXgOjP3K6W8GLwKzeVyp4jonR0QBEErM48w8zFLyayUsjX+z+VyHhHdZebTSqkxM78CHRgYOKS1/ghgVErZY214RkQ7ADyRUj72ff8qgCtmXUrZGcf5vv8CwEUhxOF0Ov1pBRpla5dSdseBhUJhpznH6tIsZb1KqacW+BGArUaUXX63UuplHJTNZjuEEONSyhozfd/n6mQ1RkXZL2itz7mu+80EDA4ONi8vL/8AcM2UbikyR2BU9cSmmTU70YqKIAj2hWFo2uenlHK/BRg3Y2aeNO5GyU8S0ZbFxcUuz/NKEXAGQKPjOCcymcyX1dIi8DSAiWQyeaavr68cbSgCuBknYubnQoj+TCYzUywWE6VS6S2ADsdx2gxw1X3L7SNENMbMnwE8qK+vf5NKpRaMaeVyeW8ikfiaSqW+R7BuZr5BRMe11p2u607U9Gk8kc/ntzPzQwCmExYATDLzVBiGE0KIowAOADDf3QA+aK2VDaxRajto3K+rq+tl5nYAzQBamHmeiOYBTGmtR6ph/1Rqg9c73pz7dD1qN0TpHyNQRCUDJXrAAAAAAElFTkSuQmCC",closeEye64="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAYAAACpF6WWAAAAAXNSR0IArs4c6QAAAjtJREFUOE/NlD9oFEEUxn9v9ghC0hpRUogIAUmniGAT/5Q2FrETPSNRJILg7RwimI0ox85eQFCEBGIUO1PYpFM0jSConQoBEZGgGPsgl+w+2eM2bC57SopAFqYZ3v7m+977ZoQt+GQLmGxPaBiGgYiMWWvXBHZUGoZhH3BERPYC+4F+4Keq/urt7b1RLpf/ZEBVHa9Wq0HWyg3QKIoGVPU8cA7wgK/pUtXPQJ8xZk+pVBpuNBqXUoUiEvi+P56fzTpo6+SbwHNg1lo7WzTITGEKXFlZeeB53tVCpa3CK8AFa+1cBgvD8LKIXAQOJkkyICJDeYVBEJS6u7s/qeoLa+1o+l9TqXNuBLhmjDlbqVQ+5ICjInIfOBPH8W9jzGCR5YmJiRNxHM+papgqzqDvgSlr7VTernPuO3An3c9bBt74vv+yrdaKyLDv+/1Sq9UGPc97nY9EVuycU2AQOA7cAm4Dr4D5TvVxHB9rKo2iaEFVp621Ln96FEUngaOqGmSxabVqsh3a2h+x1h5qQjNrae/yE4+iaCwDJkky73neTuBZe129Xk+H+BS4l7ZqLVIZ2BhzuFKpvMsDVXXWGPMxFdAedOfcKeCRqj7MYrUhpz09PfXl5eXrectFWXXODQHpOq2qd/95o/JXr6ura3J1dXU6SZIfwKKIHAD2tVYMPBGRx77vN10UXtO85fTkmZmZHUtLSzUR2QXsBhaAL6r6DXhbrVYXi1yss59GqOgub/bN3Z7v6X/tb9Zmp/q/kN8s+lJb8oEAAAAASUVORK5CYII=",sketchRulerProps={scale:{type:Number,default:1},ratio:{type:Number},thick:{type:Number,default:16},palette:Object,startX:{type:Number},startY:{type:Number,default:0},width:{type:Number,default:200},height:{type:Number,default:200},shadow:{type:Object,default:()=>({x:0,y:0,width:0,height:0})},lines:{type:Object,default:()=>({h:[],v:[]})},cornerActive:{type:Boolean,default:!1},isShowReferLine:{type:Boolean,default:!0}},_sfc_main$2$=vue.defineComponent({name:"SketchRule",components:{RulerWrapper},props:sketchRulerProps,emits:["onCornerClick","handleLine"],setup(te,{emit:U}){let G=vue.ref(!0);G.value=te.isShowReferLine;const ee=vue.computed(()=>{function ie(ae,se){return Object.keys(ae).forEach(ue=>{ue&&ae.hasOwnProperty(ue)&&(typeof se.key=="object"?ae[ue]=ie(ae[ue],se[ue]):se.hasOwnProperty(ue)&&(ae[ue]=se[ue]))}),ae}return ie({bgColor:"rgba(225,225,225, 0)",longfgColor:"#BABBBC",shortfgColor:"#C8CDD0",fontColor:"#7D8694",shadowColor:"#E8E8E8",lineColor:"#EB5648",borderColor:"#DADADC",cornerActiveColor:"rgb(235, 86, 72, 0.6)",menu:{bgColor:"#fff",dividerColor:"#DBDBDB",listItem:{textColor:"#415058",hoverTextColor:"#298DF8",disabledTextColor:"rgba(65, 80, 88, 0.4)",bgColor:"#fff",hoverBgColor:"#F2F2F2"}}},te.palette||{})}),ne=vue.computed(()=>te.cornerActive?" active":""),re=vue.computed(()=>({backgroundImage:G.value?`url(${eye64})`:`url(${closeEye64})`,width:te.thick+"px",height:te.thick+"px",borderRight:`1px solid ${ee.value.borderColor}`,borderBottom:`1px solid ${ee.value.borderColor}`}));return{isShowReferLine:G,paletteCpu:ee,cornerActiveClass:ne,cornerStyle:re,onCornerClick:ie=>{G.value=!G.value,U("onCornerClick",ie)}}}}),_hoisted_1$1H={id:"mb-ruler",class:"style-ruler mb-ruler"};function _sfc_render$4(te,U,G,ee,ne,re){const oe=vue.resolveComponent("RulerWrapper");return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1H,[vue.createVNode(oe,{vertical:!1,width:te.width,height:te.thick,"is-show-refer-line":te.isShowReferLine,thick:te.thick,ratio:te.ratio,start:te.startX,lines:te.lines.h,"select-start":te.shadow.x,"select-length":te.shadow.width,scale:te.scale,palette:te.paletteCpu},null,8,["width","height","is-show-refer-line","thick","ratio","start","lines","select-start","select-length","scale","palette"]),vue.createVNode(oe,{vertical:!0,width:te.thick,height:te.height,"is-show-refer-line":te.isShowReferLine,thick:te.thick,ratio:te.ratio,start:te.startY,lines:te.lines.v,"select-start":te.shadow.y,"select-length":te.shadow.height,scale:te.scale,palette:te.paletteCpu},null,8,["width","height","is-show-refer-line","thick","ratio","start","lines","select-start","select-length","scale","palette"]),vue.createElementVNode("a",{class:vue.normalizeClass(["corner",te.cornerActiveClass]),style:vue.normalizeStyle(te.cornerStyle),onClick:U[0]||(U[0]=(...ie)=>te.onCornerClick&&te.onCornerClick(...ie))},null,6)])}var SketchRule$1=_export_sfc$1(_sfc_main$2$,[["render",_sfc_render$4]]);const style$1="",_sfc_main$2_=vue.defineComponent({__name:"sketchRule",setup(te){const U=screenDesignMainStore(),{proxy:G}=vue.getCurrentInstance(),ee=vue.computed(()=>U.stageWidth),ne=vue.computed(()=>U.stageHeight),{resetUrl:re}=G.$globalUtils,oe={bgColor:"rgba(225,225,225, 0)",longfgColor:"#BABBBC",shortfgColor:"#C8CDD0",fontColor:"#7D8694",shadowColor:"transparent",lineColor:"#0089d0",borderColor:"#transparent",cornerActiveColor:"rgb(235, 86, 72, 0.6)"},ie=vue.reactive({innerWidth:0,innerHeight:0,thick:20,width:3e3,height:3e3,startX:0,startY:0}),le=vue.ref({});vue.watch(()=>U.scale,()=>{ue()});const ae=()=>{vue.nextTick(()=>{var _e;const ce=(_e=document.querySelector("#design-container"))==null?void 0:_e.getBoundingClientRect();if(!ce)return;ie.innerWidth=ce.width,ie.innerHeight=ce.height;const{width:de,height:fe,thick:ve,innerWidth:he,innerHeight:pe}=ie,ge=de-he,me=fe-pe;le.value={width:ge>0?de+ge+ve+30+"px":vue.unref(de)+"px",height:me>0?fe+me+ve+30+"px":vue.unref(fe)+"px"},se()})},se=()=>{const ce=ie.innerWidth/(vue.unref(ee)+120),de=ie.innerHeight/(vue.unref(ne)+120),fe=Math.floor(Math.min(ce*100,de*100));U.setSacle(fe<100?fe:100)},ue=()=>{vue.nextTick(()=>{const ce=document.querySelector("#screens").getBoundingClientRect(),de=document.querySelector("#canvas").getBoundingClientRect(),fe=(ce.left+ie.thick-de.left)/U.getScale,ve=(ce.top+ie.thick-de.top)/U.getScale;ie.startX=fe>>0,ie.startY=ve>>0})};return G.$baseEventBus.on("auto-scale",()=>{se()}),ae(),ue(),window.addEventListener("resize",ae),vue.onUnmounted(()=>{window.removeEventListener("resize",ae)}),(ce,de)=>(vue.openBlock(),vue.createElementBlock("div",{class:"absolute top-0 left-0 grid-bg",style:vue.normalizeStyle({width:vue.unref(ie).width+vue.unref(ie).thick+"px",height:vue.unref(ie).height+vue.unref(ie).thick+"px"})},[(vue.openBlock(),vue.createBlock(vue.unref(SketchRule$1),{key:vue.unref(U).getScale,thick:vue.unref(ie).thick,scale:vue.unref(U).getScale,width:vue.unref(ie).width,height:vue.unref(ie).height,startX:vue.unref(ie).startX,startY:vue.unref(ie).startY,palette:oe,lines:vue.unref(U).getSketchRuleLine},null,8,["thick","scale","width","height","startX","startY","lines"])),vue.createElementVNode("div",{id:"screens",class:"absolute overflow-scroll",style:vue.normalizeStyle({width:vue.unref(ie).innerWidth+"px",height:vue.unref(ie).innerHeight+"px"}),onScroll:ue},[vue.createElementVNode("div",{class:"absolute top-0 left-0",style:vue.normalizeStyle(vue.unref(le))},[vue.createElementVNode("div",{id:"canvas",style:vue.normalizeStyle({transform:`scale(${vue.unref(U).getScale})`,transformOrigin:"0 0 0",background:"var(--design-bg-color2)"})},[vue.createElementVNode("div",{class:"render",style:vue.normalizeStyle({width:vue.unref(ee)+"px",height:vue.unref(ne)+"px",backgroundColor:vue.unref(U).getWidgetConfig.backgroundColor=="transparent"?"var(--design-bg-color2)":vue.unref(U).getWidgetConfig.backgroundColor,backgroundImage:`url(${vue.unref(re)(vue.unref(U).getWidgetConfig.backgroundImage)})`,backgroundSize:vue.unref(U).getWidgetConfig.backgroundSize,backgroundRepeat:vue.unref(U).getWidgetConfig.backgroundRepeat,backgroundPosition:vue.unref(U).getWidgetConfig.backgroundPosition})},[vue.renderSlot(ce.$slots,"default",{},void 0,!0)],4)],4)],4)],36)],4))}}),sketchRule_vue_vue_type_style_index_0_scoped_4c8c02c1_lang="",SketchRule=_export_sfc$2(_sfc_main$2_,[["__scopeId","data-v-4c8c02c1"]]);function prefixNames(te){for(var U=[],G=1;G<arguments.length;G++)U[G-1]=arguments[G];return U.map(function(ee){return ee.split(" ").map(function(ne){return ne?""+te+ne:""}).join(" ")}).join(" ")}function prefixCSS(te,U){return U.replace(/([^}{]*){/gm,function(G,ee){return ee.replace(/\.([^{,\s\d.]+)/g,"."+te+"$1")+"{"})}function ref$1(te,U){return function(G){G&&(te[U]=G)}}function refs(te,U,G){return function(ee){ee&&(te[U][G]=ee)}}function Properties(te,U){return function(G){var ee=G.prototype;te.forEach(function(ne){U(ee,ne)})}}function withMethods(te,U){return U===void 0&&(U={}),function(G,ee){te.forEach(function(ne){var re=U[ne]||ne;re in G||(G[re]=function(){for(var oe,ie=[],le=0;le<arguments.length;le++)ie[le]=arguments[le];var ae=(oe=this[ee])[ne].apply(oe,ie);return ae===this[ee]?this:ae})})}}var FUNCTION="function",OBJECT="object",STRING="string",NUMBER="number",UNDEFINED="undefined",IS_WINDOW=typeof window!==UNDEFINED,doc=typeof document!==UNDEFINED&&document,OPEN_CLOSED_CHARACTERS=[{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:'\\"',close:'\\"'},{open:"\\'",close:"\\'"}],TINY_NUM$1=1e-7,DEFAULT_UNIT_PRESETS={cm:function(te){return te*96/2.54},mm:function(te){return te*96/254},in:function(te){return te*96},pt:function(te){return te*96/72},pc:function(te){return te*96/6},"%":function(te,U){return te*U/100},vw:function(te,U){return U===void 0&&(U=window.innerWidth),te/100*U},vh:function(te,U){return U===void 0&&(U=window.innerHeight),te/100*U},vmax:function(te,U){return U===void 0&&(U=Math.max(window.innerWidth,window.innerHeight)),te/100*U},vmin:function(te,U){return U===void 0&&(U=Math.min(window.innerWidth,window.innerHeight)),te/100*U}};/*! *****************************************************************************
|
|
@@ -786,7 +786,7 @@ cursor: move;
|
|
|
786
786
|
}
|
|
787
787
|
.__STYLED__ .loading-tip {
|
|
788
788
|
font-size: 15px;
|
|
789
|
-
`("loading");vue.defineComponent({name:"Loading",setup(te,{slots:U}){return()=>vue.createVNode(o,null,{default:()=>{var G;return[vue.createVNode("svg",{width:"50px",height:"50px"},[vue.createVNode("circle",{cx:"25",cy:"25",r:"20",fill:"transparent","stroke-width":"3","stroke-dasharray":"31.415, 31.415",stroke:"#02bcfe","stroke-linecap":"round"},[vue.createVNode("animateTransform",{attributeName:"transform",type:"rotate",values:"0, 25 25;360, 25 25",dur:"1.5s",repeatCount:"indefinite"},null),vue.createVNode("animate",{attributeName:"stroke",values:"#02bcfe;#3be6cb;#02bcfe",dur:"3s",repeatCount:"indefinite"},null)]),vue.createVNode("circle",{cx:"25",cy:"25",r:"10",fill:"transparent","stroke-width":"3","stroke-dasharray":"15.7, 15.7",stroke:"#3be6cb","stroke-linecap":"round"},[vue.createVNode("animateTransform",{attributeName:"transform",type:"rotate",values:"360, 25 25;0, 25 25",dur:"1.5s",repeatCount:"indefinite"},null),vue.createVNode("animate",{attributeName:"stroke",values:"#3be6cb;#02bcfe;#3be6cb",dur:"3s",repeatCount:"indefinite"},null)])]),vue.createVNode("div",{class:"loading-tip"},[(G=U.default)==null?void 0:G.call(U)])]}})}});const _sfc_main$2Y=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.decorationColor1||(re=U.config.customize)!=null&&re.decorationColor2?[U.config.customize.decorationColor1,U.config.customize.decorationColor2]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>(vue.openBlock(),vue.createBlock(vue.unref(V$3),{color:vue.unref(G),ref_key:"customRef",ref:ee},null,8,["color"]))}}),__vite_glob_0_0$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2Y},Symbol.toStringTag,{value:"Module"})),_sfc_main$2X=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.decorationColor1||(re=U.config.customize)!=null&&re.decorationColor2?[U.config.customize.decorationColor1,U.config.customize.decorationColor2]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>(vue.openBlock(),vue.createBlock(vue.unref(V$2),{color:vue.unref(G),ref_key:"customRef",ref:ee},null,8,["color"]))}}),__vite_glob_0_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2X},Symbol.toStringTag,{value:"Module"})),_sfc_main$2W=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.decorationColor1||(re=U.config.customize)!=null&&re.decorationColor2?[U.config.customize.decorationColor1,U.config.customize.decorationColor2]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>(vue.openBlock(),vue.createBlock(vue.unref(B$1),{color:vue.unref(G),ref_key:"customRef",ref:ee},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(U.config.customize.title),1)]),_:1},8,["color"]))}}),__vite_glob_0_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2W},Symbol.toStringTag,{value:"Module"})),_sfc_main$2V=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.decorationColor1||(re=U.config.customize)!=null&&re.decorationColor2?[U.config.customize.decorationColor1,U.config.customize.decorationColor2]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>(vue.openBlock(),vue.createBlock(vue.unref(dt),{color:vue.unref(G),scanDuration:ne.config.customize.scanDuration,haloDuration:ne.config.customize.haloDuration,ref_key:"customRef",ref:ee},null,8,["color","scanDuration","haloDuration"]))}}),__vite_glob_0_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2V},Symbol.toStringTag,{value:"Module"})),_sfc_main$2U=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.decorationColor1||(re=U.config.customize)!=null&&re.decorationColor2?[U.config.customize.decorationColor1,U.config.customize.decorationColor2]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>(vue.openBlock(),vue.createBlock(vue.unref(A$3),{color:vue.unref(G),duration:ne.config.customize.duration,reverse:ne.config.customize.reverse,ref_key:"customRef",ref:ee},null,8,["color","duration","reverse"]))}}),__vite_glob_0_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2U},Symbol.toStringTag,{value:"Module"})),_sfc_main$2T=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.decorationColor1||(re=U.config.customize)!=null&&re.decorationColor2?[U.config.customize.decorationColor1,U.config.customize.decorationColor2]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>(vue.openBlock(),vue.createBlock(vue.unref(E$1),{color:vue.unref(G),ref_key:"customRef",ref:ee},null,8,["color"]))}}),__vite_glob_0_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2T},Symbol.toStringTag,{value:"Module"})),_sfc_main$2S=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.decorationColor1||(re=U.config.customize)!=null&&re.decorationColor2?[U.config.customize.decorationColor1,U.config.customize.decorationColor2]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>(vue.openBlock(),vue.createBlock(vue.unref(F),{color:vue.unref(G),duration:ne.config.customize.duration,reverse:ne.config.customize.reverse,ref_key:"customRef",ref:ee},null,8,["color","duration","reverse"]))}}),__vite_glob_0_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2S},Symbol.toStringTag,{value:"Module"})),_sfc_main$2R=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.decorationColor1||(re=U.config.customize)!=null&&re.decorationColor2?[U.config.customize.decorationColor1,U.config.customize.decorationColor2]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>(vue.openBlock(),vue.createBlock(vue.unref(J$1),{color:vue.unref(G),duration:ne.config.customize.duration,ref_key:"customRef",ref:ee},null,8,["color","duration"]))}}),__vite_glob_0_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2R},Symbol.toStringTag,{value:"Module"})),_sfc_main$2Q=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.decorationColor1||(re=U.config.customize)!=null&&re.decorationColor2?[U.config.customize.decorationColor1,U.config.customize.decorationColor2]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>(vue.openBlock(),vue.createBlock(vue.unref(Y),{color:vue.unref(G),ref_key:"customRef",ref:ee},null,8,["color"]))}}),__vite_glob_0_8$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2Q},Symbol.toStringTag,{value:"Module"})),_sfc_main$2P=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.decorationColor1||(re=U.config.customize)!=null&&re.decorationColor2?[U.config.customize.decorationColor1,U.config.customize.decorationColor2]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>(vue.openBlock(),vue.createBlock(vue.unref(A$1),{color:vue.unref(G),reverse:ne.config.customize.reverse,ref_key:"customRef",ref:ee},null,8,["color","reverse"]))}}),__vite_glob_0_9$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2P},Symbol.toStringTag,{value:"Module"})),_sfc_main$2O=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.decorationColor1||(re=U.config.customize)!=null&&re.decorationColor2?[U.config.customize.decorationColor1,U.config.customize.decorationColor2]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>(vue.openBlock(),vue.createBlock(vue.unref(J),{color:vue.unref(G),reverse:ne.config.customize.duration,ref_key:"customRef",ref:ee},null,8,["color","reverse"]))}}),__vite_glob_0_10$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2O},Symbol.toStringTag,{value:"Module"})),_sfc_main$2N=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.borderMainColor||(re=U.config.customize)!=null&&re.borderSecondaryColor?[U.config.customize.borderMainColor,U.config.customize.borderSecondaryColor]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>{var oe;return vue.openBlock(),vue.createBlock(vue.unref(D$7),{color:vue.unref(G),backgroundColor:(oe=U.config)==null?void 0:oe.customize.backgroundColor,ref_key:"customRef",ref:ee},null,8,["color","backgroundColor"])}}}),__vite_glob_1_0$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2N},Symbol.toStringTag,{value:"Module"})),_sfc_main$2M=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.borderMainColor||(re=U.config.customize)!=null&&re.borderSecondaryColor?[U.config.customize.borderMainColor,U.config.customize.borderSecondaryColor]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>{var oe;return vue.openBlock(),vue.createBlock(vue.unref(E$4),{color:vue.unref(G),backgroundColor:(oe=U.config)==null?void 0:oe.customize.backgroundColor,ref_key:"customRef",ref:ee},null,8,["color","backgroundColor"])}}}),__vite_glob_1_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2M},Symbol.toStringTag,{value:"Module"})),_sfc_main$2L=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.borderMainColor||(re=U.config.customize)!=null&&re.borderSecondaryColor?[U.config.customize.borderMainColor,U.config.customize.borderSecondaryColor]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>{var oe,ie,le;return vue.openBlock(),vue.createBlock(vue.unref(O$1),{color:vue.unref(G),title:(oe=U.config)==null?void 0:oe.customize.title,titleWidth:(ie=U.config)==null?void 0:ie.customize.titleWidth,backgroundColor:(le=U.config)==null?void 0:le.customize.backgroundColor,ref_key:"customRef",ref:ee},null,8,["color","title","titleWidth","backgroundColor"])}}}),__vite_glob_1_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2L},Symbol.toStringTag,{value:"Module"})),_sfc_main$2K=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.borderMainColor||(re=U.config.customize)!=null&&re.borderSecondaryColor?[U.config.customize.borderMainColor,U.config.customize.borderSecondaryColor]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>{var oe;return vue.openBlock(),vue.createBlock(vue.unref(D$6),{color:vue.unref(G),backgroundColor:(oe=U.config)==null?void 0:oe.customize.backgroundColor,ref_key:"customRef",ref:ee},null,8,["color","backgroundColor"])}}}),__vite_glob_1_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2K},Symbol.toStringTag,{value:"Module"})),_sfc_main$2J=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.borderMainColor||(re=U.config.customize)!=null&&re.borderSecondaryColor?[U.config.customize.borderMainColor,U.config.customize.borderSecondaryColor]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>{var oe;return vue.openBlock(),vue.createBlock(vue.unref(R$7),{color:vue.unref(G),backgroundColor:(oe=U.config)==null?void 0:oe.customize.backgroundColor,ref_key:"customRef",ref:ee},null,8,["color","backgroundColor"])}}}),__vite_glob_1_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2J},Symbol.toStringTag,{value:"Module"})),_sfc_main$2I=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.borderMainColor||(re=U.config.customize)!=null&&re.borderSecondaryColor?[U.config.customize.borderMainColor,U.config.customize.borderSecondaryColor]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>{var oe;return vue.openBlock(),vue.createBlock(vue.unref(R$6),{color:vue.unref(G),backgroundColor:(oe=U.config)==null?void 0:oe.customize.backgroundColor,ref_key:"customRef",ref:ee},null,8,["color","backgroundColor"])}}}),__vite_glob_1_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2I},Symbol.toStringTag,{value:"Module"})),_sfc_main$2H=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.borderMainColor||(re=U.config.customize)!=null&&re.borderSecondaryColor?[U.config.customize.borderMainColor,U.config.customize.borderSecondaryColor]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>{var oe;return vue.openBlock(),vue.createBlock(vue.unref(E$3),{color:vue.unref(G),backgroundColor:(oe=U.config)==null?void 0:oe.customize.backgroundColor,ref_key:"customRef",ref:ee},null,8,["color","backgroundColor"])}}}),__vite_glob_1_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2H},Symbol.toStringTag,{value:"Module"})),_sfc_main$2G=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.borderMainColor||(re=U.config.customize)!=null&&re.borderSecondaryColor?[U.config.customize.borderMainColor,U.config.customize.borderSecondaryColor]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>{var oe,ie;return vue.openBlock(),vue.createBlock(vue.unref(J$4),{color:vue.unref(G),backgroundColor:(oe=U.config)==null?void 0:oe.customize.backgroundColor,reverse:(ie=U.config)==null?void 0:ie.customize.reverse,ref_key:"customRef",ref:ee},null,8,["color","backgroundColor","reverse"])}}}),__vite_glob_1_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2G},Symbol.toStringTag,{value:"Module"})),_sfc_main$2F=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.borderMainColor||(re=U.config.customize)!=null&&re.borderSecondaryColor?[U.config.customize.borderMainColor,U.config.customize.borderSecondaryColor]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>{var oe,ie;return vue.openBlock(),vue.createBlock(vue.unref(J$3),{color:vue.unref(G),backgroundColor:(oe=U.config)==null?void 0:oe.customize.backgroundColor,reverse:(ie=U.config)==null?void 0:ie.customize.reverse,ref_key:"customRef",ref:ee},null,8,["color","backgroundColor","reverse"])}}}),__vite_glob_1_8$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2F},Symbol.toStringTag,{value:"Module"})),_sfc_main$2E=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.borderMainColor||(re=U.config.customize)!=null&&re.borderSecondaryColor?[U.config.customize.borderMainColor,U.config.customize.borderSecondaryColor]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>{var oe;return vue.openBlock(),vue.createBlock(vue.unref(R$5),{color:vue.unref(G),backgroundColor:(oe=U.config)==null?void 0:oe.customize.backgroundColor,ref_key:"customRef",ref:ee},null,8,["color","backgroundColor"])}}}),__vite_glob_1_9$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2E},Symbol.toStringTag,{value:"Module"})),_sfc_main$2D=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.borderMainColor||(re=U.config.customize)!=null&&re.borderSecondaryColor?[U.config.customize.borderMainColor,U.config.customize.borderSecondaryColor]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>{var oe;return vue.openBlock(),vue.createBlock(vue.unref(E$2),{color:vue.unref(G),backgroundColor:(oe=U.config)==null?void 0:oe.customize.backgroundColor,ref_key:"customRef",ref:ee},null,8,["color","backgroundColor"])}}}),__vite_glob_1_10$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2D},Symbol.toStringTag,{value:"Module"})),_sfc_main$2C=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.borderMainColor||(re=U.config.customize)!=null&&re.borderSecondaryColor?[U.config.customize.borderMainColor,U.config.customize.borderSecondaryColor]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>{var oe,ie,le;return vue.openBlock(),vue.createBlock(vue.unref(Y$3),{color:vue.unref(G),backgroundColor:(oe=U.config)==null?void 0:oe.customize.backgroundColor,reverse:(ie=U.config)==null?void 0:ie.customize.reverse,duration:(le=U.config)==null?void 0:le.customize.duration,ref_key:"customRef",ref:ee},null,8,["color","backgroundColor","reverse","duration"])}}}),__vite_glob_1_11$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2C},Symbol.toStringTag,{value:"Module"})),_sfc_main$2B=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.borderMainColor||(re=U.config.customize)!=null&&re.borderSecondaryColor?[U.config.customize.borderMainColor,U.config.customize.borderSecondaryColor]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>{var oe;return vue.openBlock(),vue.createBlock(vue.unref(V$4),{color:vue.unref(G),backgroundColor:(oe=U.config)==null?void 0:oe.customize.backgroundColor,ref_key:"customRef",ref:ee},null,8,["color","backgroundColor"])}}}),__vite_glob_1_12$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2B},Symbol.toStringTag,{value:"Module"})),_sfc_main$2A=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{const ee=U.config.customize.gradientColor0,ne=U.config.customize.gradientColor1;return`linear-gradient(to bottom, ${ee||ne} , ${ne||ee})`});return(ee,ne)=>(vue.openBlock(),vue.createElementBlock("div",{style:vue.normalizeStyle({width:U.config.customize.width+"px","background-image":vue.unref(G)}),class:"h-full"},null,4))}}),__vite_glob_2_0$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2A},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1F=["src"],_sfc_main$2z=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te;return(G,ee)=>(vue.openBlock(),vue.createElementBlock("iframe",{src:U.config.customize.url,class:"w-full h-full border-0"},null,8,_hoisted_1$1F))}}),__vite_glob_2_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2z},Symbol.toStringTag,{value:"Module"})),_sfc_main$2y=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const{proxy:U}=vue.getCurrentInstance(),{resetUrl:G}=U.$globalUtils,ee=te;return(ne,re)=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElImage),{class:"w-full h-full",src:vue.unref(G)(ee.config.customize.url),fit:ee.config.customize.fit},null,8,["src","fit"]))}}),__vite_glob_2_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2y},Symbol.toStringTag,{value:"Module"})),_sfc_main$2x=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>`-webkit-linear-gradient(${U.config.customize.colorPosition}, ${U.config.customize.startColor}, ${U.config.customize.endColor}`);return(ee,ne)=>(vue.openBlock(),vue.createElementBlock("div",{style:vue.normalizeStyle({...U.config.customize,fontSize:U.config.customize.fontSize+"px",letterSpacing:U.config.customize.letterSpacing+"px",backgroundImage:vue.unref(G),"-webkit-background-clip":"text","-webkit-text-fill-color":"transparent"})},vue.toDisplayString(U.config.customize.title),5))}}),__vite_glob_2_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2x},Symbol.toStringTag,{value:"Module"})),_sfc_main$2w=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{const ee=U.config.customize.gradientColor0,ne=U.config.customize.gradientColor1;return`linear-gradient(to ${U.config.customize.colorPosition}, ${ee||ne} , ${ne||ee})`});return(ee,ne)=>(vue.openBlock(),vue.createElementBlock("div",{class:"w-full h-full",style:vue.normalizeStyle({"background-image":vue.unref(G),borderRadius:U.config.customize.borderRadius+"px"})},null,4))}}),__vite_glob_2_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2w},Symbol.toStringTag,{value:"Module"})),_sfc_main$2v=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>`-webkit-linear-gradient(${U.config.customize.colorPosition}, ${U.config.customize.startColor}, ${U.config.customize.endColor}`);return(ee,ne)=>(vue.openBlock(),vue.createElementBlock("div",{style:vue.normalizeStyle({...U.config.customize,fontSize:U.config.customize.fontSize+"px",letterSpacing:U.config.customize.letterSpacing+"px",backgroundImage:vue.unref(G),"-webkit-background-clip":"text","-webkit-text-fill-color":"transparent"})},vue.toDisplayString(U.config.customize.title),5))}}),__vite_glob_2_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2v},Symbol.toStringTag,{value:"Module"})),_sfc_main$2u=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.ref(),ee=()=>{G.value=dayjs().format("YYYY-MM-DD HH:mm:ss")},ne=setInterval(()=>{ee()},1e3);ee(),vue.onBeforeUnmount(()=>{ne&&clearInterval(ne)});const re=vue.computed(()=>`-webkit-linear-gradient(${U.config.customize.colorPosition}, ${U.config.customize.startColor}, ${U.config.customize.endColor}`);return(oe,ie)=>(vue.openBlock(),vue.createElementBlock("div",{style:vue.normalizeStyle({...U.config.customize,fontSize:U.config.customize.fontSize+"px",letterSpacing:U.config.customize.letterSpacing+"px",backgroundImage:vue.unref(re),"-webkit-background-clip":"text","-webkit-text-fill-color":"transparent"})},vue.toDisplayString(vue.unref(G)),5))}}),__vite_glob_2_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2u},Symbol.toStringTag,{value:"Module"})),_sfc_main$2t=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{const ee=U.config.customize.gradientColor0,ne=U.config.customize.gradientColor1;return`linear-gradient(to right, ${ee||ne} , ${ne||ee})`});return(ee,ne)=>(vue.openBlock(),vue.createElementBlock("div",{style:vue.normalizeStyle({height:U.config.customize.height+"px","background-image":vue.unref(G)}),class:"w-full"},null,4))}}),__vite_glob_2_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2t},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1E={class:"w-full h-full"},_hoisted_2$1m=["placeholder"],_sfc_main$2s=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){vue.useCssVars(re=>({"75aca5f8":vue.unref(ee)}));const U=te,{proxy:G}=vue.getCurrentInstance(),ee=vue.computed(()=>U.config.customize.color),ne=()=>{const re=U.config.customize.linkage;G.$baseEventBus.emit("ace-screen-indicators-linkage",re.map(oe=>oe[0]))};return(re,oe)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1E,[vue.withDirectives(vue.createElementVNode("input",{"onUpdate:modelValue":oe[0]||(oe[0]=ie=>U.config.customize.modelValue=ie),placeholder:U.config.customize.placeholder,style:vue.normalizeStyle({width:"100%",height:"100%",backgroundColor:U.config.customize.backgroundColor,borderWidth:`${U.config.customize.borderTopWidth}px ${U.config.customize.borderRightWidth}px ${U.config.customize.borderBottomWidth}px ${U.config.customize.borderLeftWidth}px `,borderColor:U.config.customize.borderColor,color:U.config.customize.color,fontSize:U.config.customize.fontSize+"px",borderRadius:U.config.customize.borderRadius+"px"}),onBlur:ne},null,44,_hoisted_2$1m),[[vue.vModelText,U.config.customize.modelValue]])]))}}),index_vue_vue_type_style_index_0_scoped_4faa96c2_lang="",index$2=_export_sfc$2(_sfc_main$2s,[["__scopeId","data-v-4faa96c2"]]),__vite_glob_3_0$1=Object.freeze(Object.defineProperty({__proto__:null,default:index$2},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1D={class:"w-full h-full"},_sfc_main$2r=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,{proxy:G}=vue.getCurrentInstance(),ee=vue.ref([]);vue.watch(()=>U.config.customize.dictId,()=>{ne()},{});const ne=()=>{const oe=U.config.customize.dictId;oe&&G.$baseHttp.get(`/api/ace-data-center/custom-dic/readDict/${oe}`).then(ie=>{ee.value=ie.data??[]})};vue.onMounted(()=>{ne()});const re=()=>{const oe=U.config.customize.linkage;G.$baseEventBus.emit("ace-screen-indicators-linkage",oe.map(ie=>ie[0]))};return(oe,ie)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1D,[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:U.config.customize.modelValue,"onUpdate:modelValue":ie[0]||(ie[0]=le=>U.config.customize.modelValue=le),placeholder:U.config.customize.placeholder,style:{width:"100%",height:"100%"},onChange:re,clearable:U.config.customize.clearable},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(ee),le=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{label:le.name,value:le.code,key:le.code},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder","clearable"])]))}}),__vite_glob_3_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2r},Symbol.toStringTag,{value:"Module"})),moudleComponents$1={};for(let te=0;te<=5;te+=1){let U=null;if(te==0&&(U=Object.assign({"../decoration/decoration1/index.vue":__vite_glob_0_0$1,"../decoration/decoration10/index.vue":__vite_glob_0_1$1,"../decoration/decoration11/index.vue":__vite_glob_0_2$1,"../decoration/decoration12/index.vue":__vite_glob_0_3$1,"../decoration/decoration2/index.vue":__vite_glob_0_4$1,"../decoration/decoration3/index.vue":__vite_glob_0_5$1,"../decoration/decoration4/index.vue":__vite_glob_0_6$1,"../decoration/decoration5/index.vue":__vite_glob_0_7$1,"../decoration/decoration6/index.vue":__vite_glob_0_8$1,"../decoration/decoration8/index.vue":__vite_glob_0_9$1,"../decoration/decoration9/index.vue":__vite_glob_0_10$1})),te==1&&(U=Object.assign({"../border/border1/index.vue":__vite_glob_1_0$1,"../border/border10/index.vue":__vite_glob_1_1$1,"../border/border11/index.vue":__vite_glob_1_2$1,"../border/border12/index.vue":__vite_glob_1_3$1,"../border/border13/index.vue":__vite_glob_1_4$1,"../border/border2/index.vue":__vite_glob_1_5$1,"../border/border3/index.vue":__vite_glob_1_6$1,"../border/border4/index.vue":__vite_glob_1_7$1,"../border/border5/index.vue":__vite_glob_1_8$1,"../border/border6/index.vue":__vite_glob_1_9$1,"../border/border7/index.vue":__vite_glob_1_10$1,"../border/border8/index.vue":__vite_glob_1_11$1,"../border/border9/index.vue":__vite_glob_1_12$1})),te==2&&(U=Object.assign({"../basic/horizontal-line/index.vue":__vite_glob_2_0$1,"../basic/iframe/index.vue":__vite_glob_2_1$1,"../basic/img/index.vue":__vite_glob_2_2$1,"../basic/number/index.vue":__vite_glob_2_3$1,"../basic/square/index.vue":__vite_glob_2_4$1,"../basic/text/index.vue":__vite_glob_2_5$1,"../basic/time/index.vue":__vite_glob_2_6$1,"../basic/vertical-line/index.vue":__vite_glob_2_7$1})),te==3&&(U=Object.assign({"../control/input/index.vue":__vite_glob_3_0$1,"../control/select/index.vue":__vite_glob_3_1$1})),U)for(const[G,ee]of Object.entries(U)){const ne=G.split("/")[2];moudleComponents$1[ne]=ee.default}}function useBarCommon(){const te=vue.ref((window==null?void 0:window.customSeriesData)??{}),U=(ne,re)=>{ne.series=[],setTimeout(()=>{const oe=ne.dataShow.y.filter(ie=>!ne.dataShow.hide.includes(ie));ne.dataset.dimensions=[ne.dataShow.x,...oe],ne.dataShow.y.forEach(ie=>{te.value[ie]||(te.value[ie]=JSON.parse(JSON.stringify(G)))}),window.customSeriesData=te.value,Object.values(vue.unref(te)).forEach(ie=>{ie.label.formatter=le=>{const ae=ne.custom,se=le.data[le.seriesName];if((ae==null?void 0:ae.toFixed)!=="")try{return Number(se).toFixed(ae.toFixed)}catch{return se}return se}}),ne.series=oe.map((ie,le)=>te.value[ie]),re&&re()})},G={type:"bar",barWidth:15,stack:!1,borderRadiusNumber:4,itemStyle:{color:null,borderRadius:[4,4,0,0]},label:{show:!0,rotate:0,position:"top",color:"#000000",fontSize:10}};return{init:U,customSeriesData:te,seriesItem:G,barConfig:{tooltip:{show:!0,confine:!0,valueFormatter:ne=>ne,trigger:"axis",axisPointer:{show:!0,type:"shadow"}},custom:{prefix:"",suffix:"",toFixed:0},dataShow:{x:[],y:[],hide:[]},grid:{left:"3%",right:"3%",bottom:"3%",top:"10%",containLabel:!0},legend:{show:!0,textStyle:{fontSize:12},x:"center",y:"top",orient:"horizontal",icon:"roundRect",itemWidth:20,itemHeight:10},xAxis:{show:!0,axisLabel:{fontSize:12,interval:0,rotate:0},nameTextStyle:{fontSize:12},splitLine:{lineStyle:{width:1,type:"solid"}},position:"bottom",type:"category"},yAxis:{show:!0,axisLabel:{fontSize:12,interval:0,rotate:0},nameTextStyle:{fontSize:12},splitLine:{lineStyle:{width:1,type:"solid"}},position:"left",type:"value"},dataset:{},series:[]}}}function useLineCommon(){const te=vue.ref((window==null?void 0:window.customSeriesData)??{}),U=(ne,re)=>{ne.series=[],setTimeout(()=>{const oe=ne.dataShow.y.filter(ie=>!ne.dataShow.hide.includes(ie));ne.dataset.dimensions=[ne.dataShow.x,...oe],ne.dataShow.y.forEach(ie=>{te.value[ie]||(te.value[ie]=JSON.parse(JSON.stringify(G)))}),window.customSeriesData=te.value,Object.values(vue.unref(te)).forEach(ie=>{ie.label.formatter=le=>{const ae=ne.custom,se=le.data[le.seriesName];if((ae==null?void 0:ae.toFixed)!=="")try{return Number(se).toFixed(ae.toFixed)}catch{return se}return se}}),ne.series=oe.map((ie,le)=>te.value[ie]),re&&re()})},G={type:"line",symbolSize:5,smooth:!0,lineStyle:{type:"solid",width:3,color:null},label:{show:!0,position:"top",color:"#000000",fontSize:10,rotate:0}};return{init:U,customSeriesData:te,seriesItem:G,lineConfig:{tooltip:{show:!0,confine:!0,valueFormatter:ne=>ne,trigger:"axis",axisPointer:{show:!0,type:"shadow"}},custom:{prefix:"",suffix:"",toFixed:0},dataShow:{x:[],y:[],hide:[]},grid:{left:"3%",right:"3%",bottom:"3%",top:"10%",containLabel:!0},legend:{show:!0,textStyle:{fontSize:12},x:"center",y:"top",orient:"horizontal",itemWidth:20,itemHeight:10},xAxis:{show:!0,axisLabel:{fontSize:12,interval:0,rotate:0},nameTextStyle:{fontSize:12},splitLine:{lineStyle:{width:1,type:"solid"}},position:"bottom",type:"category"},yAxis:{show:!0,axisLabel:{fontSize:12,interval:0,rotate:0},nameTextStyle:{fontSize:12},splitLine:{lineStyle:{width:1,type:"solid"}},position:"left",type:"value"},dataset:{},series:[]}}}function usePieCommon(){const te=vue.ref((window==null?void 0:window.customSeriesData)??{}),U=(ne,re)=>{ne.series=[],setTimeout(()=>{ne.dataset.dimensions=[ne.dataShow.x,ne.dataShow.y],te.value[ne.dataShow.y]||(te.value[ne.dataShow.y]=JSON.parse(JSON.stringify(G))),window.customSeriesData=te.value,ne.series=[te.value[ne.dataShow.y]],re&&re()})},G={type:"pie",radius:["40%","65%"],center:["50%","50%"],roseType:!1,avoidLabelOverlap:!1,itemStyle:{show:!0,borderRadius:10,borderColor:"#fff",borderWidth:2},emphasis:{labelLine:{show:!0}},labelLine:{show:!0},label:{show:!0,color:"#000000",fontSize:10,position:"center",formatter:"{b}"}};return{init:U,customSeriesData:te,seriesItem:G,pieConfig:{tooltip:{show:!0,confine:!0,valueFormatter:ne=>ne,trigger:"item"},dataShow:{x:"",y:""},grid:{left:"3%",right:"3%",bottom:"3%",top:"10%",containLabel:!0},legend:{show:!0,textStyle:{fontSize:12},x:"center",y:"top",orient:"horizontal",icon:"roundRect",itemWidth:20,itemHeight:10},dataset:{},series:[]}}}function useBarLineCommon(){const te=vue.ref((window==null?void 0:window.customSeriesData)??{}),U=(re,oe)=>{re.series=[],setTimeout(()=>{const ie=re.dataShow.y.filter(le=>!re.dataShow.hide.includes(le));re.dataset.dimensions=[re.dataShow.x,...ie],re.dataShow.y.forEach((le,ae)=>{if(te.value[le])return;const se=re.dataShow.y.length==ae+1&&re.dataShow.y.length>0;te.value[le]=JSON.parse(JSON.stringify(se?G:ee))}),window.customSeriesData=te.value,Object.values(vue.unref(te)).forEach(le=>{le.label.formatter=ae=>{const se=re.custom,ue=ae.data[ae.seriesName];if((se==null?void 0:se.toFixed)!=="")try{return Number(ue).toFixed(se.toFixed)}catch{return ue}return ue}}),re.series=ie.map((le,ae)=>te.value[le]),oe&&oe()})},G={type:"line",symbolSize:5,smooth:!0,lineStyle:{type:"solid",width:3,color:null},label:{show:!0,rotate:0,position:"top",color:"#000000",fontSize:10}},ee={type:"bar",barWidth:15,stack:!1,borderRadiusNumber:4,itemStyle:{color:null,borderRadius:[4,4,0,0]},label:{show:!0,rotate:0,position:"top",color:"#000000",fontSize:10}};return{init:U,customSeriesData:te,seriesLineItem:G,seriesBarItem:ee,barsLinesConfig:{tooltip:{show:!0,confine:!0,valueFormatter:re=>re,trigger:"axis",axisPointer:{show:!0,type:"shadow"}},custom:{prefix:"",suffix:"",toFixed:0},dataShow:{x:[],y:[],hide:[]},grid:{left:"3%",right:"3%",bottom:"3%",top:"10%",containLabel:!0},legend:{show:!0,textStyle:{fontSize:12},x:"center",y:"top",orient:"horizontal",itemWidth:20,itemHeight:10},xAxis:{show:!0,axisLabel:{fontSize:12,interval:0,rotate:0},nameTextStyle:{fontSize:12},splitLine:{lineStyle:{width:1,type:"solid"}},position:"bottom",type:"category"},yAxis:{show:!0,axisLabel:{fontSize:12,interval:0,rotate:0},nameTextStyle:{fontSize:12},splitLine:{lineStyle:{width:1,type:"solid"}},position:"left",type:"value"},dataset:{},series:[]}}}function useScatterCommon(){const te=vue.ref((window==null?void 0:window.customSeriesData)??{}),U=(ne,re)=>{ne.series=[],setTimeout(()=>{const oe=ne.dataShow.y.filter(ie=>!ne.dataShow.hide.includes(ie));ne.dataset.dimensions=[ne.dataShow.x,...oe],ne.dataShow.y.forEach(ie=>{te.value[ie]||(te.value[ie]=JSON.parse(JSON.stringify(G)))}),window.customSeriesData=te.value,Object.values(vue.unref(te)).forEach(ie=>{ie.label.formatter=le=>{const ae=ne.custom,se=le.data[le.seriesName];if((ae==null?void 0:ae.toFixed)!=="")try{return Number(se).toFixed(ae.toFixed)}catch{return se}return se}}),ne.series=oe.map((ie,le)=>te.value[ie]),re&&re()})},G={type:"scatter",emphasis:{focus:"series"},symbolSize:12,itemStyle:{color:null},markArea:{silent:!0,itemStyle:{color:"transparent",borderWidth:1,borderType:"dashed"},data:[[{xAxis:"min",yAxis:"min"},{xAxis:"max",yAxis:"max"}]]},label:{show:!0,rotate:0,position:"top",color:"#000000",fontSize:10}};return{init:U,customSeriesData:te,seriesItem:G,scatterCfg:{tooltip:{show:!0,confine:!0,valueFormatter:ne=>ne,trigger:"axis",axisPointer:{show:!0,type:"shadow"}},custom:{prefix:"",suffix:"",toFixed:0},dataShow:{x:[],y:[],hide:[]},grid:{left:"3%",right:"3%",bottom:"3%",top:"10%",containLabel:!0},legend:{show:!0,textStyle:{fontSize:12},x:"center",y:"top",orient:"horizontal",icon:"roundRect",itemWidth:20,itemHeight:10},xAxis:{show:!0,axisLabel:{fontSize:12,interval:0,rotate:0},nameTextStyle:{fontSize:12},splitLine:{lineStyle:{width:1,type:"solid"}},position:"bottom",type:"category"},yAxis:{show:!0,axisLabel:{fontSize:12,interval:0,rotate:0},nameTextStyle:{fontSize:12},splitLine:{lineStyle:{width:1,type:"solid"}},position:"left",type:"value"},dataset:{},series:[]}}}function useRadar(){const te=vue.ref((window==null?void 0:window.customSeriesData)??{}),U=(ne,re)=>{ne.series=[],setTimeout(()=>{const oe=ne.dataShow.y.filter(le=>!ne.dataShow.hide.includes(le));ne.dataset.dimensions=oe,vue.unref(te).type||(te.value=JSON.parse(JSON.stringify(G))),window.customSeriesData=te.value,ne.radar.indicator=ne.dataset.source.map(le=>({name:le[ne.dataShow.x]}));const ie=[];ne.dataset.dimensions.forEach(le=>{ie.push({name:le,value:ne.dataset.source.map(ae=>ae[le])})}),ne.series=[{...te.value,data:ie}],vue.unref(te).label.formatter=le=>{const ae=ne.custom,se=le.value;if((ae==null?void 0:ae.toFixed)!=="")try{return Number(se).toFixed(ae.toFixed)}catch{return se}return se},re&&re()})},G={type:"radar",areaStyle:{opacity:.1},label:{show:!0,rotate:0,position:"top",color:"#000000",fontSize:10},data:[]};return{init:U,customSeriesData:te,seriesItem:G,radarConfig:{tooltip:{show:!0,confine:!0,valueFormatter:ne=>ne},custom:{prefix:"",suffix:"",toFixed:0},dataShow:{x:[],y:[],hide:[]},grid:{left:"3%",right:"3%",bottom:"3%",top:"10%",containLabel:!0},legend:{show:!0,textStyle:{fontSize:12},x:"center",y:"top",orient:"horizontal",icon:"roundRect",itemWidth:20,itemHeight:10},radar:{shape:"polygon",radius:["0%","60%"],center:["50%","55%"],splitArea:{show:!0},splitLine:{show:!0},axisName:{show:!0,color:"#000",fontSize:12},axisLine:{show:!0},axisTick:{show:!0},indicator:[]},dataset:{},series:[]}}}function useNumber(){const te=vue.ref((window==null?void 0:window.customSeriesData)??{}),U=(ne,re)=>{ne.series=[],setTimeout(()=>{typeof ne.dataShow.y=="string"&&ne.dataShow.y&&(ne.dataShow.y=[ne.dataShow.y]);const oe=ne.dataShow.y.filter(ie=>{var le;return!(((le=ne.dataShow)==null?void 0:le.hide)??[]).includes(ie)});ne.dataset.dimensions=oe,ne.dataShow.y.forEach(ie=>{te.value[ie]||(te.value[ie]=JSON.parse(JSON.stringify(G)))}),ne.customSeriesData=te.value,window.customSeriesData=te.value,re&&re()})},G={prefix:"",suffix:"",toFixed:0,color:null,fontSize:14,bgColor:null};return{init:U,seriesItem:G,customSeriesData:te,numberConfig:{dataShow:{x:"",y:[],hide:[]},dataset:{}}}}function useTable(){const te=vue.ref((window==null?void 0:window.customSeriesData)??{}),U=(ne,re)=>{ne.series=[],setTimeout(()=>{const oe=ne.dataShow.y.filter(ie=>!ne.dataShow.hide.includes(ie));ne.dataset.dimensions=oe,ne.dataShow.y.forEach(ie=>{te.value[ie]||(te.value[ie]=JSON.parse(JSON.stringify(G)))}),ne.customSeriesData=te.value,window.customSeriesData=te.value,re&&re()})},G={prefix:"",suffix:"",toFixed:0,color:null};return{init:U,customSeriesData:te,tableConfig:{dataShow:{x:"",y:[],hide:[]},dataset:{}}}}const city=[{code:"100000",name:"中华人民共和国",region_level:0,children:[{code:"11",name:"北京市",region_level:1,children:[{code:"1101",name:"北京市",region_level:2,children:[{code:"110101",name:"东城区",region_level:3,children:[]},{code:"110102",name:"西城区",region_level:3,children:[]},{code:"110105",name:"朝阳区",region_level:3,children:[]},{code:"110106",name:"丰台区",region_level:3,children:[]},{code:"110107",name:"石景山区",region_level:3,children:[]},{code:"110108",name:"海淀区",region_level:3,children:[]},{code:"110109",name:"门头沟区",region_level:3,children:[]},{code:"110111",name:"房山区",region_level:3,children:[]},{code:"110112",name:"通州区",region_level:3,children:[]},{code:"110113",name:"顺义区",region_level:3,children:[]},{code:"110114",name:"昌平区",region_level:3,children:[]},{code:"110115",name:"大兴区",region_level:3,children:[]},{code:"110116",name:"怀柔区",region_level:3,children:[]},{code:"110117",name:"平谷区",region_level:3,children:[]},{code:"110118",name:"密云区",region_level:3,children:[]},{code:"110119",name:"延庆区",region_level:3,children:[]}]}]},{code:"12",name:"天津市",region_level:1,children:[{code:"1201",name:"天津市",region_level:2,children:[{code:"120101",name:"和平区",region_level:3,children:[]},{code:"120102",name:"河东区",region_level:3,children:[]},{code:"120103",name:"河西区",region_level:3,children:[]},{code:"120104",name:"南开区",region_level:3,children:[]},{code:"120105",name:"河北区",region_level:3,children:[]},{code:"120106",name:"红桥区",region_level:3,children:[]},{code:"120110",name:"东丽区",region_level:3,children:[]},{code:"120111",name:"西青区",region_level:3,children:[]},{code:"120112",name:"津南区",region_level:3,children:[]},{code:"120113",name:"北辰区",region_level:3,children:[]},{code:"120114",name:"武清区",region_level:3,children:[]},{code:"120115",name:"宝坻区",region_level:3,children:[]},{code:"120116",name:"滨海新区",region_level:3,children:[]},{code:"120117",name:"宁河区",region_level:3,children:[]},{code:"120118",name:"静海区",region_level:3,children:[]},{code:"120119",name:"蓟州区",region_level:3,children:[]}]}]},{code:"13",name:"河北省",region_level:1,children:[{code:"1301",name:"石家庄市",region_level:2,children:[{code:"130102",name:"长安区",region_level:3,children:[]},{code:"130104",name:"桥西区",region_level:3,children:[]},{code:"130105",name:"新华区",region_level:3,children:[]},{code:"130107",name:"井陉矿区",region_level:3,children:[]},{code:"130108",name:"裕华区",region_level:3,children:[]},{code:"130109",name:"藁城区",region_level:3,children:[]},{code:"130110",name:"鹿泉区",region_level:3,children:[]},{code:"130111",name:"栾城区",region_level:3,children:[]},{code:"130121",name:"井陉县",region_level:3,children:[]},{code:"130123",name:"正定县",region_level:3,children:[]},{code:"130125",name:"行唐县",region_level:3,children:[]},{code:"130126",name:"灵寿县",region_level:3,children:[]},{code:"130127",name:"高邑县",region_level:3,children:[]},{code:"130128",name:"深泽县",region_level:3,children:[]},{code:"130129",name:"赞皇县",region_level:3,children:[]},{code:"130130",name:"无极县",region_level:3,children:[]},{code:"130131",name:"平山县",region_level:3,children:[]},{code:"130132",name:"元氏县",region_level:3,children:[]},{code:"130133",name:"赵县",region_level:3,children:[]},{code:"130181",name:"辛集市",region_level:3,children:[]},{code:"130183",name:"晋州市",region_level:3,children:[]},{code:"130184",name:"新乐市",region_level:3,children:[]}]},{code:"1302",name:"唐山市",region_level:2,children:[{code:"130202",name:"路南区",region_level:3,children:[]},{code:"130203",name:"路北区",region_level:3,children:[]},{code:"130204",name:"古冶区",region_level:3,children:[]},{code:"130205",name:"开平区",region_level:3,children:[]},{code:"130207",name:"丰南区",region_level:3,children:[]},{code:"130208",name:"丰润区",region_level:3,children:[]},{code:"130209",name:"曹妃甸区",region_level:3,children:[]},{code:"130224",name:"滦南县",region_level:3,children:[]},{code:"130225",name:"乐亭县",region_level:3,children:[]},{code:"130227",name:"迁西县",region_level:3,children:[]},{code:"130229",name:"玉田县",region_level:3,children:[]},{code:"130281",name:"遵化市",region_level:3,children:[]},{code:"130283",name:"迁安市",region_level:3,children:[]},{code:"130284",name:"滦州市",region_level:3,children:[]}]},{code:"1303",name:"秦皇岛市",region_level:2,children:[{code:"130302",name:"海港区",region_level:3,children:[]},{code:"130303",name:"山海关区",region_level:3,children:[]},{code:"130304",name:"北戴河区",region_level:3,children:[]},{code:"130306",name:"抚宁区",region_level:3,children:[]},{code:"130321",name:"青龙满族自治县",region_level:3,children:[]},{code:"130322",name:"昌黎县",region_level:3,children:[]},{code:"130324",name:"卢龙县",region_level:3,children:[]}]},{code:"1304",name:"邯郸市",region_level:2,children:[{code:"130402",name:"邯山区",region_level:3,children:[]},{code:"130403",name:"丛台区",region_level:3,children:[]},{code:"130404",name:"复兴区",region_level:3,children:[]},{code:"130406",name:"峰峰矿区",region_level:3,children:[]},{code:"130407",name:"肥乡区",region_level:3,children:[]},{code:"130408",name:"永年区",region_level:3,children:[]},{code:"130423",name:"临漳县",region_level:3,children:[]},{code:"130424",name:"成安县",region_level:3,children:[]},{code:"130425",name:"大名县",region_level:3,children:[]},{code:"130426",name:"涉县",region_level:3,children:[]},{code:"130427",name:"磁县",region_level:3,children:[]},{code:"130430",name:"邱县",region_level:3,children:[]},{code:"130431",name:"鸡泽县",region_level:3,children:[]},{code:"130432",name:"广平县",region_level:3,children:[]},{code:"130433",name:"馆陶县",region_level:3,children:[]},{code:"130434",name:"魏县",region_level:3,children:[]},{code:"130435",name:"曲周县",region_level:3,children:[]},{code:"130481",name:"武安市",region_level:3,children:[]}]},{code:"1305",name:"邢台市",region_level:2,children:[{code:"130502",name:"桥东区",region_level:3,children:[]},{code:"130503",name:"桥西区",region_level:3,children:[]},{code:"130521",name:"邢台县",region_level:3,children:[]},{code:"130522",name:"临城县",region_level:3,children:[]},{code:"130523",name:"内丘县",region_level:3,children:[]},{code:"130524",name:"柏乡县",region_level:3,children:[]},{code:"130525",name:"隆尧县",region_level:3,children:[]},{code:"130526",name:"任县",region_level:3,children:[]},{code:"130527",name:"南和县",region_level:3,children:[]},{code:"130528",name:"宁晋县",region_level:3,children:[]},{code:"130529",name:"巨鹿县",region_level:3,children:[]},{code:"130530",name:"新河县",region_level:3,children:[]},{code:"130531",name:"广宗县",region_level:3,children:[]},{code:"130532",name:"平乡县",region_level:3,children:[]},{code:"130533",name:"威县",region_level:3,children:[]},{code:"130534",name:"清河县",region_level:3,children:[]},{code:"130535",name:"临西县",region_level:3,children:[]},{code:"130581",name:"南宫市",region_level:3,children:[]},{code:"130582",name:"沙河市",region_level:3,children:[]}]},{code:"1306",name:"保定市",region_level:2,children:[{code:"130602",name:"竞秀区",region_level:3,children:[]},{code:"130606",name:"莲池区",region_level:3,children:[]},{code:"130607",name:"满城区",region_level:3,children:[]},{code:"130608",name:"清苑区",region_level:3,children:[]},{code:"130609",name:"徐水区",region_level:3,children:[]},{code:"130623",name:"涞水县",region_level:3,children:[]},{code:"130624",name:"阜平县",region_level:3,children:[]},{code:"130626",name:"定兴县",region_level:3,children:[]},{code:"130627",name:"唐县",region_level:3,children:[]},{code:"130628",name:"高阳县",region_level:3,children:[]},{code:"130629",name:"容城县",region_level:3,children:[]},{code:"130630",name:"涞源县",region_level:3,children:[]},{code:"130631",name:"望都县",region_level:3,children:[]},{code:"130632",name:"安新县",region_level:3,children:[]},{code:"130633",name:"易县",region_level:3,children:[]},{code:"130634",name:"曲阳县",region_level:3,children:[]},{code:"130635",name:"蠡县",region_level:3,children:[]},{code:"130636",name:"顺平县",region_level:3,children:[]},{code:"130637",name:"博野县",region_level:3,children:[]},{code:"130638",name:"雄县",region_level:3,children:[]},{code:"130681",name:"涿州市",region_level:3,children:[]},{code:"130682",name:"定州市",region_level:3,children:[]},{code:"130683",name:"安国市",region_level:3,children:[]},{code:"130684",name:"高碑店市",region_level:3,children:[]}]},{code:"1307",name:"张家口市",region_level:2,children:[{code:"130702",name:"桥东区",region_level:3,children:[]},{code:"130703",name:"桥西区",region_level:3,children:[]},{code:"130705",name:"宣化区",region_level:3,children:[]},{code:"130706",name:"下花园区",region_level:3,children:[]},{code:"130708",name:"万全区",region_level:3,children:[]},{code:"130709",name:"崇礼区",region_level:3,children:[]},{code:"130722",name:"张北县",region_level:3,children:[]},{code:"130723",name:"康保县",region_level:3,children:[]},{code:"130724",name:"沽源县",region_level:3,children:[]},{code:"130725",name:"尚义县",region_level:3,children:[]},{code:"130726",name:"蔚县",region_level:3,children:[]},{code:"130727",name:"阳原县",region_level:3,children:[]},{code:"130728",name:"怀安县",region_level:3,children:[]},{code:"130730",name:"怀来县",region_level:3,children:[]},{code:"130731",name:"涿鹿县",region_level:3,children:[]},{code:"130732",name:"赤城县",region_level:3,children:[]}]},{code:"1308",name:"承德市",region_level:2,children:[{code:"130802",name:"双桥区",region_level:3,children:[]},{code:"130803",name:"双滦区",region_level:3,children:[]},{code:"130804",name:"鹰手营子矿区",region_level:3,children:[]},{code:"130821",name:"承德县",region_level:3,children:[]},{code:"130822",name:"兴隆县",region_level:3,children:[]},{code:"130824",name:"滦平县",region_level:3,children:[]},{code:"130825",name:"隆化县",region_level:3,children:[]},{code:"130826",name:"丰宁满族自治县",region_level:3,children:[]},{code:"130827",name:"宽城满族自治县",region_level:3,children:[]},{code:"130828",name:"围场满族蒙古族自治县",region_level:3,children:[]},{code:"130881",name:"平泉市",region_level:3,children:[]}]},{code:"1309",name:"沧州市",region_level:2,children:[{code:"130902",name:"新华区",region_level:3,children:[]},{code:"130903",name:"运河区",region_level:3,children:[]},{code:"130921",name:"沧县",region_level:3,children:[]},{code:"130922",name:"青县",region_level:3,children:[]},{code:"130923",name:"东光县",region_level:3,children:[]},{code:"130924",name:"海兴县",region_level:3,children:[]},{code:"130925",name:"盐山县",region_level:3,children:[]},{code:"130926",name:"肃宁县",region_level:3,children:[]},{code:"130927",name:"南皮县",region_level:3,children:[]},{code:"130928",name:"吴桥县",region_level:3,children:[]},{code:"130929",name:"献县",region_level:3,children:[]},{code:"130930",name:"孟村回族自治县",region_level:3,children:[]},{code:"130981",name:"泊头市",region_level:3,children:[]},{code:"130982",name:"任丘市",region_level:3,children:[]},{code:"130983",name:"黄骅市",region_level:3,children:[]},{code:"130984",name:"河间市",region_level:3,children:[]}]},{code:"1310",name:"廊坊市",region_level:2,children:[{code:"131002",name:"安次区",region_level:3,children:[]},{code:"131003",name:"广阳区",region_level:3,children:[]},{code:"131022",name:"固安县",region_level:3,children:[]},{code:"131023",name:"永清县",region_level:3,children:[]},{code:"131024",name:"香河县",region_level:3,children:[]},{code:"131025",name:"大城县",region_level:3,children:[]},{code:"131026",name:"文安县",region_level:3,children:[]},{code:"131028",name:"大厂回族自治县",region_level:3,children:[]},{code:"131081",name:"霸州市",region_level:3,children:[]},{code:"131082",name:"三河市",region_level:3,children:[]}]},{code:"1311",name:"衡水市",region_level:2,children:[{code:"131102",name:"桃城区",region_level:3,children:[]},{code:"131103",name:"冀州区",region_level:3,children:[]},{code:"131121",name:"枣强县",region_level:3,children:[]},{code:"131122",name:"武邑县",region_level:3,children:[]},{code:"131123",name:"武强县",region_level:3,children:[]},{code:"131124",name:"饶阳县",region_level:3,children:[]},{code:"131125",name:"安平县",region_level:3,children:[]},{code:"131126",name:"故城县",region_level:3,children:[]},{code:"131127",name:"景县",region_level:3,children:[]},{code:"131128",name:"阜城县",region_level:3,children:[]},{code:"131182",name:"深州市",region_level:3,children:[]}]}]},{code:"14",name:"山西省",region_level:1,children:[{code:"1401",name:"太原市",region_level:2,children:[{code:"140105",name:"小店区",region_level:3,children:[]},{code:"140106",name:"迎泽区",region_level:3,children:[]},{code:"140107",name:"杏花岭区",region_level:3,children:[]},{code:"140108",name:"尖草坪区",region_level:3,children:[]},{code:"140109",name:"万柏林区",region_level:3,children:[]},{code:"140110",name:"晋源区",region_level:3,children:[]},{code:"140121",name:"清徐县",region_level:3,children:[]},{code:"140122",name:"阳曲县",region_level:3,children:[]},{code:"140123",name:"娄烦县",region_level:3,children:[]},{code:"140181",name:"古交市",region_level:3,children:[]}]},{code:"1402",name:"大同市",region_level:2,children:[{code:"140212",name:"新荣区",region_level:3,children:[]},{code:"140213",name:"平城区",region_level:3,children:[]},{code:"140214",name:"云冈区",region_level:3,children:[]},{code:"140215",name:"云州区",region_level:3,children:[]},{code:"140221",name:"阳高县",region_level:3,children:[]},{code:"140222",name:"天镇县",region_level:3,children:[]},{code:"140223",name:"广灵县",region_level:3,children:[]},{code:"140224",name:"灵丘县",region_level:3,children:[]},{code:"140225",name:"浑源县",region_level:3,children:[]},{code:"140226",name:"左云县",region_level:3,children:[]}]},{code:"1403",name:"阳泉市",region_level:2,children:[{code:"140302",name:"城区",region_level:3,children:[]},{code:"140303",name:"矿区",region_level:3,children:[]},{code:"140311",name:"郊区",region_level:3,children:[]},{code:"140321",name:"平定县",region_level:3,children:[]},{code:"140322",name:"盂县",region_level:3,children:[]}]},{code:"1404",name:"长治市",region_level:2,children:[{code:"140403",name:"潞州区",region_level:3,children:[]},{code:"140404",name:"上党区",region_level:3,children:[]},{code:"140405",name:"屯留区",region_level:3,children:[]},{code:"140406",name:"潞城区",region_level:3,children:[]},{code:"140423",name:"襄垣县",region_level:3,children:[]},{code:"140425",name:"平顺县",region_level:3,children:[]},{code:"140426",name:"黎城县",region_level:3,children:[]},{code:"140427",name:"壶关县",region_level:3,children:[]},{code:"140428",name:"长子县",region_level:3,children:[]},{code:"140429",name:"武乡县",region_level:3,children:[]},{code:"140430",name:"沁县",region_level:3,children:[]},{code:"140431",name:"沁源县",region_level:3,children:[]}]},{code:"1405",name:"晋城市",region_level:2,children:[{code:"140502",name:"城区",region_level:3,children:[]},{code:"140521",name:"沁水县",region_level:3,children:[]},{code:"140522",name:"阳城县",region_level:3,children:[]},{code:"140524",name:"陵川县",region_level:3,children:[]},{code:"140525",name:"泽州县",region_level:3,children:[]},{code:"140581",name:"高平市",region_level:3,children:[]}]},{code:"1406",name:"朔州市",region_level:2,children:[{code:"140602",name:"朔城区",region_level:3,children:[]},{code:"140603",name:"平鲁区",region_level:3,children:[]},{code:"140621",name:"山阴县",region_level:3,children:[]},{code:"140622",name:"应县",region_level:3,children:[]},{code:"140623",name:"右玉县",region_level:3,children:[]},{code:"140681",name:"怀仁市",region_level:3,children:[]}]},{code:"1407",name:"晋中市",region_level:2,children:[{code:"140702",name:"榆次区",region_level:3,children:[]},{code:"140703",name:"太谷区",region_level:3,children:[]},{code:"140721",name:"榆社县",region_level:3,children:[]},{code:"140722",name:"左权县",region_level:3,children:[]},{code:"140723",name:"和顺县",region_level:3,children:[]},{code:"140724",name:"昔阳县",region_level:3,children:[]},{code:"140725",name:"寿阳县",region_level:3,children:[]},{code:"140727",name:"祁县",region_level:3,children:[]},{code:"140728",name:"平遥县",region_level:3,children:[]},{code:"140729",name:"灵石县",region_level:3,children:[]},{code:"140781",name:"介休市",region_level:3,children:[]}]},{code:"1408",name:"运城市",region_level:2,children:[{code:"140802",name:"盐湖区",region_level:3,children:[]},{code:"140821",name:"临猗县",region_level:3,children:[]},{code:"140822",name:"万荣县",region_level:3,children:[]},{code:"140823",name:"闻喜县",region_level:3,children:[]},{code:"140824",name:"稷山县",region_level:3,children:[]},{code:"140825",name:"新绛县",region_level:3,children:[]},{code:"140826",name:"绛县",region_level:3,children:[]},{code:"140827",name:"垣曲县",region_level:3,children:[]},{code:"140828",name:"夏县",region_level:3,children:[]},{code:"140829",name:"平陆县",region_level:3,children:[]},{code:"140830",name:"芮城县",region_level:3,children:[]},{code:"140881",name:"永济市",region_level:3,children:[]},{code:"140882",name:"河津市",region_level:3,children:[]}]},{code:"1409",name:"忻州市",region_level:2,children:[{code:"140902",name:"忻府区",region_level:3,children:[]},{code:"140921",name:"定襄县",region_level:3,children:[]},{code:"140922",name:"五台县",region_level:3,children:[]},{code:"140923",name:"代县",region_level:3,children:[]},{code:"140924",name:"繁峙县",region_level:3,children:[]},{code:"140925",name:"宁武县",region_level:3,children:[]},{code:"140926",name:"静乐县",region_level:3,children:[]},{code:"140927",name:"神池县",region_level:3,children:[]},{code:"140928",name:"五寨县",region_level:3,children:[]},{code:"140929",name:"岢岚县",region_level:3,children:[]},{code:"140930",name:"河曲县",region_level:3,children:[]},{code:"140931",name:"保德县",region_level:3,children:[]},{code:"140932",name:"偏关县",region_level:3,children:[]},{code:"140981",name:"原平市",region_level:3,children:[]}]},{code:"1410",name:"临汾市",region_level:2,children:[{code:"141002",name:"尧都区",region_level:3,children:[]},{code:"141021",name:"曲沃县",region_level:3,children:[]},{code:"141022",name:"翼城县",region_level:3,children:[]},{code:"141023",name:"襄汾县",region_level:3,children:[]},{code:"141024",name:"洪洞县",region_level:3,children:[]},{code:"141025",name:"古县",region_level:3,children:[]},{code:"141026",name:"安泽县",region_level:3,children:[]},{code:"141027",name:"浮山县",region_level:3,children:[]},{code:"141028",name:"吉县",region_level:3,children:[]},{code:"141029",name:"乡宁县",region_level:3,children:[]},{code:"141030",name:"大宁县",region_level:3,children:[]},{code:"141031",name:"隰县",region_level:3,children:[]},{code:"141032",name:"永和县",region_level:3,children:[]},{code:"141033",name:"蒲县",region_level:3,children:[]},{code:"141034",name:"汾西县",region_level:3,children:[]},{code:"141081",name:"侯马市",region_level:3,children:[]},{code:"141082",name:"霍州市",region_level:3,children:[]}]},{code:"1411",name:"吕梁市",region_level:2,children:[{code:"141102",name:"离石区",region_level:3,children:[]},{code:"141121",name:"文水县",region_level:3,children:[]},{code:"141122",name:"交城县",region_level:3,children:[]},{code:"141123",name:"兴县",region_level:3,children:[]},{code:"141124",name:"临县",region_level:3,children:[]},{code:"141125",name:"柳林县",region_level:3,children:[]},{code:"141126",name:"石楼县",region_level:3,children:[]},{code:"141127",name:"岚县",region_level:3,children:[]},{code:"141128",name:"方山县",region_level:3,children:[]},{code:"141129",name:"中阳县",region_level:3,children:[]},{code:"141130",name:"交口县",region_level:3,children:[]},{code:"141181",name:"孝义市",region_level:3,children:[]},{code:"141182",name:"汾阳市",region_level:3,children:[]}]}]},{code:"15",name:"内蒙古自治区",region_level:1,children:[{code:"1501",name:"呼和浩特市",region_level:2,children:[{code:"150102",name:"新城区",region_level:3,children:[]},{code:"150103",name:"回民区",region_level:3,children:[]},{code:"150104",name:"玉泉区",region_level:3,children:[]},{code:"150105",name:"赛罕区",region_level:3,children:[]},{code:"150121",name:"土默特左旗",region_level:3,children:[]},{code:"150122",name:"托克托县",region_level:3,children:[]},{code:"150123",name:"和林格尔县",region_level:3,children:[]},{code:"150124",name:"清水河县",region_level:3,children:[]},{code:"150125",name:"武川县",region_level:3,children:[]}]},{code:"1502",name:"包头市",region_level:2,children:[{code:"150202",name:"东河区",region_level:3,children:[]},{code:"150203",name:"昆都仑区",region_level:3,children:[]},{code:"150204",name:"青山区",region_level:3,children:[]},{code:"150205",name:"石拐区",region_level:3,children:[]},{code:"150206",name:"白云鄂博矿区",region_level:3,children:[]},{code:"150207",name:"九原区",region_level:3,children:[]},{code:"150221",name:"土默特右旗",region_level:3,children:[]},{code:"150222",name:"固阳县",region_level:3,children:[]},{code:"150223",name:"达尔罕茂明安联合旗",region_level:3,children:[]}]},{code:"1503",name:"乌海市",region_level:2,children:[{code:"150302",name:"海勃湾区",region_level:3,children:[]},{code:"150303",name:"海南区",region_level:3,children:[]},{code:"150304",name:"乌达区",region_level:3,children:[]}]},{code:"1504",name:"赤峰市",region_level:2,children:[{code:"150402",name:"红山区",region_level:3,children:[]},{code:"150403",name:"元宝山区",region_level:3,children:[]},{code:"150404",name:"松山区",region_level:3,children:[]},{code:"150421",name:"阿鲁科尔沁旗",region_level:3,children:[]},{code:"150422",name:"巴林左旗",region_level:3,children:[]},{code:"150423",name:"巴林右旗",region_level:3,children:[]},{code:"150424",name:"林西县",region_level:3,children:[]},{code:"150425",name:"克什克腾旗",region_level:3,children:[]},{code:"150426",name:"翁牛特旗",region_level:3,children:[]},{code:"150428",name:"喀喇沁旗",region_level:3,children:[]},{code:"150429",name:"宁城县",region_level:3,children:[]},{code:"150430",name:"敖汉旗",region_level:3,children:[]}]},{code:"1505",name:"通辽市",region_level:2,children:[{code:"150502",name:"科尔沁区",region_level:3,children:[]},{code:"150521",name:"科尔沁左翼中旗",region_level:3,children:[]},{code:"150522",name:"科尔沁左翼后旗",region_level:3,children:[]},{code:"150523",name:"开鲁县",region_level:3,children:[]},{code:"150524",name:"库伦旗",region_level:3,children:[]},{code:"150525",name:"奈曼旗",region_level:3,children:[]},{code:"150526",name:"扎鲁特旗",region_level:3,children:[]},{code:"150581",name:"霍林郭勒市",region_level:3,children:[]}]},{code:"1506",name:"鄂尔多斯市",region_level:2,children:[{code:"150602",name:"东胜区",region_level:3,children:[]},{code:"150603",name:"康巴什区",region_level:3,children:[]},{code:"150621",name:"达拉特旗",region_level:3,children:[]},{code:"150622",name:"准格尔旗",region_level:3,children:[]},{code:"150623",name:"鄂托克前旗",region_level:3,children:[]},{code:"150624",name:"鄂托克旗",region_level:3,children:[]},{code:"150625",name:"杭锦旗",region_level:3,children:[]},{code:"150626",name:"乌审旗",region_level:3,children:[]},{code:"150627",name:"伊金霍洛旗",region_level:3,children:[]}]},{code:"1507",name:"呼伦贝尔市",region_level:2,children:[{code:"150702",name:"海拉尔区",region_level:3,children:[]},{code:"150703",name:"扎赉诺尔区",region_level:3,children:[]},{code:"150721",name:"阿荣旗",region_level:3,children:[]},{code:"150722",name:"莫力达瓦达斡尔族自治旗",region_level:3,children:[]},{code:"150723",name:"鄂伦春自治旗",region_level:3,children:[]},{code:"150724",name:"鄂温克族自治旗",region_level:3,children:[]},{code:"150725",name:"陈巴尔虎旗",region_level:3,children:[]},{code:"150726",name:"新巴尔虎左旗",region_level:3,children:[]},{code:"150727",name:"新巴尔虎右旗",region_level:3,children:[]},{code:"150781",name:"满洲里市",region_level:3,children:[]},{code:"150782",name:"牙克石市",region_level:3,children:[]},{code:"150783",name:"扎兰屯市",region_level:3,children:[]},{code:"150784",name:"额尔古纳市",region_level:3,children:[]},{code:"150785",name:"根河市",region_level:3,children:[]}]},{code:"1508",name:"巴彦淖尔市",region_level:2,children:[{code:"150802",name:"临河区",region_level:3,children:[]},{code:"150821",name:"五原县",region_level:3,children:[]},{code:"150822",name:"磴口县",region_level:3,children:[]},{code:"150823",name:"乌拉特前旗",region_level:3,children:[]},{code:"150824",name:"乌拉特中旗",region_level:3,children:[]},{code:"150825",name:"乌拉特后旗",region_level:3,children:[]},{code:"150826",name:"杭锦后旗",region_level:3,children:[]}]},{code:"1509",name:"乌兰察布市",region_level:2,children:[{code:"150902",name:"集宁区",region_level:3,children:[]},{code:"150921",name:"卓资县",region_level:3,children:[]},{code:"150922",name:"化德县",region_level:3,children:[]},{code:"150923",name:"商都县",region_level:3,children:[]},{code:"150924",name:"兴和县",region_level:3,children:[]},{code:"150925",name:"凉城县",region_level:3,children:[]},{code:"150926",name:"察哈尔右翼前旗",region_level:3,children:[]},{code:"150927",name:"察哈尔右翼中旗",region_level:3,children:[]},{code:"150928",name:"察哈尔右翼后旗",region_level:3,children:[]},{code:"150929",name:"四子王旗",region_level:3,children:[]},{code:"150981",name:"丰镇市",region_level:3,children:[]}]},{code:"1522",name:"兴安盟",region_level:2,children:[{code:"152201",name:"乌兰浩特市",region_level:3,children:[]},{code:"152202",name:"阿尔山市",region_level:3,children:[]},{code:"152221",name:"科尔沁右翼前旗",region_level:3,children:[]},{code:"152222",name:"科尔沁右翼中旗",region_level:3,children:[]},{code:"152223",name:"扎赉特旗",region_level:3,children:[]},{code:"152224",name:"突泉县",region_level:3,children:[]}]},{code:"1525",name:"锡林郭勒盟",region_level:2,children:[{code:"152501",name:"二连浩特市",region_level:3,children:[]},{code:"152502",name:"锡林浩特市",region_level:3,children:[]},{code:"152522",name:"阿巴嘎旗",region_level:3,children:[]},{code:"152523",name:"苏尼特左旗",region_level:3,children:[]},{code:"152524",name:"苏尼特右旗",region_level:3,children:[]},{code:"152525",name:"东乌珠穆沁旗",region_level:3,children:[]},{code:"152526",name:"西乌珠穆沁旗",region_level:3,children:[]},{code:"152527",name:"太仆寺旗",region_level:3,children:[]},{code:"152528",name:"镶黄旗",region_level:3,children:[]},{code:"152529",name:"正镶白旗",region_level:3,children:[]},{code:"152530",name:"正蓝旗",region_level:3,children:[]},{code:"152531",name:"多伦县",region_level:3,children:[]}]},{code:"1529",name:"阿拉善盟",region_level:2,children:[{code:"152921",name:"阿拉善左旗",region_level:3,children:[]},{code:"152922",name:"阿拉善右旗",region_level:3,children:[]},{code:"152923",name:"额济纳旗",region_level:3,children:[]}]}]},{code:"21",name:"辽宁省",region_level:1,children:[{code:"2101",name:"沈阳市",region_level:2,children:[{code:"210102",name:"和平区",region_level:3,children:[]},{code:"210103",name:"沈河区",region_level:3,children:[]},{code:"210104",name:"大东区",region_level:3,children:[]},{code:"210105",name:"皇姑区",region_level:3,children:[]},{code:"210106",name:"铁西区",region_level:3,children:[]},{code:"210111",name:"苏家屯区",region_level:3,children:[]},{code:"210112",name:"浑南区",region_level:3,children:[]},{code:"210113",name:"沈北新区",region_level:3,children:[]},{code:"210114",name:"于洪区",region_level:3,children:[]},{code:"210115",name:"辽中区",region_level:3,children:[]},{code:"210123",name:"康平县",region_level:3,children:[]},{code:"210124",name:"法库县",region_level:3,children:[]},{code:"210181",name:"新民市",region_level:3,children:[]}]},{code:"2102",name:"大连市",region_level:2,children:[{code:"210202",name:"中山区",region_level:3,children:[]},{code:"210203",name:"西岗区",region_level:3,children:[]},{code:"210204",name:"沙河口区",region_level:3,children:[]},{code:"210211",name:"甘井子区",region_level:3,children:[]},{code:"210212",name:"旅顺口区",region_level:3,children:[]},{code:"210213",name:"金州区",region_level:3,children:[]},{code:"210214",name:"普兰店区",region_level:3,children:[]},{code:"210224",name:"长海县",region_level:3,children:[]},{code:"210281",name:"瓦房店市",region_level:3,children:[]},{code:"210283",name:"庄河市",region_level:3,children:[]}]},{code:"2103",name:"鞍山市",region_level:2,children:[{code:"210302",name:"铁东区",region_level:3,children:[]},{code:"210303",name:"铁西区",region_level:3,children:[]},{code:"210304",name:"立山区",region_level:3,children:[]},{code:"210311",name:"千山区",region_level:3,children:[]},{code:"210321",name:"台安县",region_level:3,children:[]},{code:"210323",name:"岫岩满族自治县",region_level:3,children:[]},{code:"210381",name:"海城市",region_level:3,children:[]}]},{code:"2104",name:"抚顺市",region_level:2,children:[{code:"210402",name:"新抚区",region_level:3,children:[]},{code:"210403",name:"东洲区",region_level:3,children:[]},{code:"210404",name:"望花区",region_level:3,children:[]},{code:"210411",name:"顺城区",region_level:3,children:[]},{code:"210421",name:"抚顺县",region_level:3,children:[]},{code:"210422",name:"新宾满族自治县",region_level:3,children:[]},{code:"210423",name:"清原满族自治县",region_level:3,children:[]}]},{code:"2105",name:"本溪市",region_level:2,children:[{code:"210502",name:"平山区",region_level:3,children:[]},{code:"210503",name:"溪湖区",region_level:3,children:[]},{code:"210504",name:"明山区",region_level:3,children:[]},{code:"210505",name:"南芬区",region_level:3,children:[]},{code:"210521",name:"本溪满族自治县",region_level:3,children:[]},{code:"210522",name:"桓仁满族自治县",region_level:3,children:[]}]},{code:"2106",name:"丹东市",region_level:2,children:[{code:"210602",name:"元宝区",region_level:3,children:[]},{code:"210603",name:"振兴区",region_level:3,children:[]},{code:"210604",name:"振安区",region_level:3,children:[]},{code:"210624",name:"宽甸满族自治县",region_level:3,children:[]},{code:"210681",name:"东港市",region_level:3,children:[]},{code:"210682",name:"凤城市",region_level:3,children:[]}]},{code:"2107",name:"锦州市",region_level:2,children:[{code:"210702",name:"古塔区",region_level:3,children:[]},{code:"210703",name:"凌河区",region_level:3,children:[]},{code:"210711",name:"太和区",region_level:3,children:[]},{code:"210726",name:"黑山县",region_level:3,children:[]},{code:"210727",name:"义县",region_level:3,children:[]},{code:"210781",name:"凌海市",region_level:3,children:[]},{code:"210782",name:"北镇市",region_level:3,children:[]}]},{code:"2108",name:"营口市",region_level:2,children:[{code:"210802",name:"站前区",region_level:3,children:[]},{code:"210803",name:"西市区",region_level:3,children:[]},{code:"210804",name:"鲅鱼圈区",region_level:3,children:[]},{code:"210811",name:"老边区",region_level:3,children:[]},{code:"210881",name:"盖州市",region_level:3,children:[]},{code:"210882",name:"大石桥市",region_level:3,children:[]}]},{code:"2109",name:"阜新市",region_level:2,children:[{code:"210902",name:"海州区",region_level:3,children:[]},{code:"210903",name:"新邱区",region_level:3,children:[]},{code:"210904",name:"太平区",region_level:3,children:[]},{code:"210905",name:"清河门区",region_level:3,children:[]},{code:"210911",name:"细河区",region_level:3,children:[]},{code:"210921",name:"阜新蒙古族自治县",region_level:3,children:[]},{code:"210922",name:"彰武县",region_level:3,children:[]}]},{code:"2110",name:"辽阳市",region_level:2,children:[{code:"211002",name:"白塔区",region_level:3,children:[]},{code:"211003",name:"文圣区",region_level:3,children:[]},{code:"211004",name:"宏伟区",region_level:3,children:[]},{code:"211005",name:"弓长岭区",region_level:3,children:[]},{code:"211011",name:"太子河区",region_level:3,children:[]},{code:"211021",name:"辽阳县",region_level:3,children:[]},{code:"211081",name:"灯塔市",region_level:3,children:[]}]},{code:"2111",name:"盘锦市",region_level:2,children:[{code:"211102",name:"双台子区",region_level:3,children:[]},{code:"211103",name:"兴隆台区",region_level:3,children:[]},{code:"211104",name:"大洼区",region_level:3,children:[]},{code:"211122",name:"盘山县",region_level:3,children:[]}]},{code:"2112",name:"铁岭市",region_level:2,children:[{code:"211202",name:"银州区",region_level:3,children:[]},{code:"211204",name:"清河区",region_level:3,children:[]},{code:"211221",name:"铁岭县",region_level:3,children:[]},{code:"211223",name:"西丰县",region_level:3,children:[]},{code:"211224",name:"昌图县",region_level:3,children:[]},{code:"211281",name:"调兵山市",region_level:3,children:[]},{code:"211282",name:"开原市",region_level:3,children:[]}]},{code:"2113",name:"朝阳市",region_level:2,children:[{code:"211302",name:"双塔区",region_level:3,children:[]},{code:"211303",name:"龙城区",region_level:3,children:[]},{code:"211321",name:"朝阳县",region_level:3,children:[]},{code:"211322",name:"建平县",region_level:3,children:[]},{code:"211324",name:"喀喇沁左翼蒙古族自治县",region_level:3,children:[]},{code:"211381",name:"北票市",region_level:3,children:[]},{code:"211382",name:"凌源市",region_level:3,children:[]}]},{code:"2114",name:"葫芦岛市",region_level:2,children:[{code:"211402",name:"连山区",region_level:3,children:[]},{code:"211403",name:"龙港区",region_level:3,children:[]},{code:"211404",name:"南票区",region_level:3,children:[]},{code:"211421",name:"绥中县",region_level:3,children:[]},{code:"211422",name:"建昌县",region_level:3,children:[]},{code:"211481",name:"兴城市",region_level:3,children:[]}]}]},{code:"22",name:"吉林省",region_level:1,children:[{code:"2201",name:"长春市",region_level:2,children:[{code:"220102",name:"南关区",region_level:3,children:[]},{code:"220103",name:"宽城区",region_level:3,children:[]},{code:"220104",name:"朝阳区",region_level:3,children:[]},{code:"220105",name:"二道区",region_level:3,children:[]},{code:"220106",name:"绿园区",region_level:3,children:[]},{code:"220112",name:"双阳区",region_level:3,children:[]},{code:"220113",name:"九台区",region_level:3,children:[]},{code:"220122",name:"农安县",region_level:3,children:[]},{code:"220182",name:"榆树市",region_level:3,children:[]},{code:"220183",name:"德惠市",region_level:3,children:[]}]},{code:"2202",name:"吉林市",region_level:2,children:[{code:"220202",name:"昌邑区",region_level:3,children:[]},{code:"220203",name:"龙潭区",region_level:3,children:[]},{code:"220204",name:"船营区",region_level:3,children:[]},{code:"220211",name:"丰满区",region_level:3,children:[]},{code:"220221",name:"永吉县",region_level:3,children:[]},{code:"220281",name:"蛟河市",region_level:3,children:[]},{code:"220282",name:"桦甸市",region_level:3,children:[]},{code:"220283",name:"舒兰市",region_level:3,children:[]},{code:"220284",name:"磐石市",region_level:3,children:[]}]},{code:"2203",name:"四平市",region_level:2,children:[{code:"220302",name:"铁西区",region_level:3,children:[]},{code:"220303",name:"铁东区",region_level:3,children:[]},{code:"220322",name:"梨树县",region_level:3,children:[]},{code:"220323",name:"伊通满族自治县",region_level:3,children:[]},{code:"220381",name:"公主岭市",region_level:3,children:[]},{code:"220382",name:"双辽市",region_level:3,children:[]}]},{code:"2204",name:"辽源市",region_level:2,children:[{code:"220402",name:"龙山区",region_level:3,children:[]},{code:"220403",name:"西安区",region_level:3,children:[]},{code:"220421",name:"东丰县",region_level:3,children:[]},{code:"220422",name:"东辽县",region_level:3,children:[]}]},{code:"2205",name:"通化市",region_level:2,children:[{code:"220502",name:"东昌区",region_level:3,children:[]},{code:"220503",name:"二道江区",region_level:3,children:[]},{code:"220521",name:"通化县",region_level:3,children:[]},{code:"220523",name:"辉南县",region_level:3,children:[]},{code:"220524",name:"柳河县",region_level:3,children:[]},{code:"220581",name:"梅河口市",region_level:3,children:[]},{code:"220582",name:"集安市",region_level:3,children:[]}]},{code:"2206",name:"白山市",region_level:2,children:[{code:"220602",name:"浑江区",region_level:3,children:[]},{code:"220605",name:"江源区",region_level:3,children:[]},{code:"220621",name:"抚松县",region_level:3,children:[]},{code:"220622",name:"靖宇县",region_level:3,children:[]},{code:"220623",name:"长白朝鲜族自治县",region_level:3,children:[]},{code:"220681",name:"临江市",region_level:3,children:[]}]},{code:"2207",name:"松原市",region_level:2,children:[{code:"220702",name:"宁江区",region_level:3,children:[]},{code:"220721",name:"前郭尔罗斯蒙古族自治县",region_level:3,children:[]},{code:"220722",name:"长岭县",region_level:3,children:[]},{code:"220723",name:"乾安县",region_level:3,children:[]},{code:"220781",name:"扶余市",region_level:3,children:[]}]},{code:"2208",name:"白城市",region_level:2,children:[{code:"220802",name:"洮北区",region_level:3,children:[]},{code:"220821",name:"镇赉县",region_level:3,children:[]},{code:"220822",name:"通榆县",region_level:3,children:[]},{code:"220881",name:"洮南市",region_level:3,children:[]},{code:"220882",name:"大安市",region_level:3,children:[]}]},{code:"2224",name:"延边朝鲜族自治州",region_level:2,children:[{code:"222401",name:"延吉市",region_level:3,children:[]},{code:"222402",name:"图们市",region_level:3,children:[]},{code:"222403",name:"敦化市",region_level:3,children:[]},{code:"222404",name:"珲春市",region_level:3,children:[]},{code:"222405",name:"龙井市",region_level:3,children:[]},{code:"222406",name:"和龙市",region_level:3,children:[]},{code:"222424",name:"汪清县",region_level:3,children:[]},{code:"222426",name:"安图县",region_level:3,children:[]}]}]},{code:"23",name:"黑龙江省",region_level:1,children:[{code:"2301",name:"哈尔滨市",region_level:2,children:[{code:"230102",name:"道里区",region_level:3,children:[]},{code:"230103",name:"南岗区",region_level:3,children:[]},{code:"230104",name:"道外区",region_level:3,children:[]},{code:"230108",name:"平房区",region_level:3,children:[]},{code:"230109",name:"松北区",region_level:3,children:[]},{code:"230110",name:"香坊区",region_level:3,children:[]},{code:"230111",name:"呼兰区",region_level:3,children:[]},{code:"230112",name:"阿城区",region_level:3,children:[]},{code:"230113",name:"双城区",region_level:3,children:[]},{code:"230123",name:"依兰县",region_level:3,children:[]},{code:"230124",name:"方正县",region_level:3,children:[]},{code:"230125",name:"宾县",region_level:3,children:[]},{code:"230126",name:"巴彦县",region_level:3,children:[]},{code:"230127",name:"木兰县",region_level:3,children:[]},{code:"230128",name:"通河县",region_level:3,children:[]},{code:"230129",name:"延寿县",region_level:3,children:[]},{code:"230183",name:"尚志市",region_level:3,children:[]},{code:"230184",name:"五常市",region_level:3,children:[]}]},{code:"2302",name:"齐齐哈尔市",region_level:2,children:[{code:"230202",name:"龙沙区",region_level:3,children:[]},{code:"230203",name:"建华区",region_level:3,children:[]},{code:"230204",name:"铁锋区",region_level:3,children:[]},{code:"230205",name:"昂昂溪区",region_level:3,children:[]},{code:"230206",name:"富拉尔基区",region_level:3,children:[]},{code:"230207",name:"碾子山区",region_level:3,children:[]},{code:"230208",name:"梅里斯达斡尔族区",region_level:3,children:[]},{code:"230221",name:"龙江县",region_level:3,children:[]},{code:"230223",name:"依安县",region_level:3,children:[]},{code:"230224",name:"泰来县",region_level:3,children:[]},{code:"230225",name:"甘南县",region_level:3,children:[]},{code:"230227",name:"富裕县",region_level:3,children:[]},{code:"230229",name:"克山县",region_level:3,children:[]},{code:"230230",name:"克东县",region_level:3,children:[]},{code:"230231",name:"拜泉县",region_level:3,children:[]},{code:"230281",name:"讷河市",region_level:3,children:[]}]},{code:"2303",name:"鸡西市",region_level:2,children:[{code:"230302",name:"鸡冠区",region_level:3,children:[]},{code:"230303",name:"恒山区",region_level:3,children:[]},{code:"230304",name:"滴道区",region_level:3,children:[]},{code:"230305",name:"梨树区",region_level:3,children:[]},{code:"230306",name:"城子河区",region_level:3,children:[]},{code:"230307",name:"麻山区",region_level:3,children:[]},{code:"230321",name:"鸡东县",region_level:3,children:[]},{code:"230381",name:"虎林市",region_level:3,children:[]},{code:"230382",name:"密山市",region_level:3,children:[]}]},{code:"2304",name:"鹤岗市",region_level:2,children:[{code:"230402",name:"向阳区",region_level:3,children:[]},{code:"230403",name:"工农区",region_level:3,children:[]},{code:"230404",name:"南山区",region_level:3,children:[]},{code:"230405",name:"兴安区",region_level:3,children:[]},{code:"230406",name:"东山区",region_level:3,children:[]},{code:"230407",name:"兴山区",region_level:3,children:[]},{code:"230421",name:"萝北县",region_level:3,children:[]},{code:"230422",name:"绥滨县",region_level:3,children:[]}]},{code:"2305",name:"双鸭山市",region_level:2,children:[{code:"230502",name:"尖山区",region_level:3,children:[]},{code:"230503",name:"岭东区",region_level:3,children:[]},{code:"230505",name:"四方台区",region_level:3,children:[]},{code:"230506",name:"宝山区",region_level:3,children:[]},{code:"230521",name:"集贤县",region_level:3,children:[]},{code:"230522",name:"友谊县",region_level:3,children:[]},{code:"230523",name:"宝清县",region_level:3,children:[]},{code:"230524",name:"饶河县",region_level:3,children:[]}]},{code:"2306",name:"大庆市",region_level:2,children:[{code:"230602",name:"萨尔图区",region_level:3,children:[]},{code:"230603",name:"龙凤区",region_level:3,children:[]},{code:"230604",name:"让胡路区",region_level:3,children:[]},{code:"230605",name:"红岗区",region_level:3,children:[]},{code:"230606",name:"大同区",region_level:3,children:[]},{code:"230621",name:"肇州县",region_level:3,children:[]},{code:"230622",name:"肇源县",region_level:3,children:[]},{code:"230623",name:"林甸县",region_level:3,children:[]},{code:"230624",name:"杜尔伯特蒙古族自治县",region_level:3,children:[]}]},{code:"2307",name:"伊春市",region_level:2,children:[{code:"230717",name:"伊美区",region_level:3,children:[]},{code:"230718",name:"乌翠区",region_level:3,children:[]},{code:"230719",name:"友好区",region_level:3,children:[]},{code:"230722",name:"嘉荫县",region_level:3,children:[]},{code:"230723",name:"汤旺县",region_level:3,children:[]},{code:"230724",name:"丰林县",region_level:3,children:[]},{code:"230725",name:"大箐山县",region_level:3,children:[]},{code:"230726",name:"南岔县",region_level:3,children:[]},{code:"230751",name:"金林区",region_level:3,children:[]},{code:"230781",name:"铁力市",region_level:3,children:[]}]},{code:"2308",name:"佳木斯市",region_level:2,children:[{code:"230803",name:"向阳区",region_level:3,children:[]},{code:"230804",name:"前进区",region_level:3,children:[]},{code:"230805",name:"东风区",region_level:3,children:[]},{code:"230811",name:"郊区",region_level:3,children:[]},{code:"230822",name:"桦南县",region_level:3,children:[]},{code:"230826",name:"桦川县",region_level:3,children:[]},{code:"230828",name:"汤原县",region_level:3,children:[]},{code:"230881",name:"同江市",region_level:3,children:[]},{code:"230882",name:"富锦市",region_level:3,children:[]},{code:"230883",name:"抚远市",region_level:3,children:[]}]},{code:"2309",name:"七台河市",region_level:2,children:[{code:"230902",name:"新兴区",region_level:3,children:[]},{code:"230903",name:"桃山区",region_level:3,children:[]},{code:"230904",name:"茄子河区",region_level:3,children:[]},{code:"230921",name:"勃利县",region_level:3,children:[]}]},{code:"2310",name:"牡丹江市",region_level:2,children:[{code:"231002",name:"东安区",region_level:3,children:[]},{code:"231003",name:"阳明区",region_level:3,children:[]},{code:"231004",name:"爱民区",region_level:3,children:[]},{code:"231005",name:"西安区",region_level:3,children:[]},{code:"231025",name:"林口县",region_level:3,children:[]},{code:"231081",name:"绥芬河市",region_level:3,children:[]},{code:"231083",name:"海林市",region_level:3,children:[]},{code:"231084",name:"宁安市",region_level:3,children:[]},{code:"231085",name:"穆棱市",region_level:3,children:[]},{code:"231086",name:"东宁市",region_level:3,children:[]}]},{code:"2311",name:"黑河市",region_level:2,children:[{code:"231102",name:"爱辉区",region_level:3,children:[]},{code:"231123",name:"逊克县",region_level:3,children:[]},{code:"231124",name:"孙吴县",region_level:3,children:[]},{code:"231181",name:"北安市",region_level:3,children:[]},{code:"231182",name:"五大连池市",region_level:3,children:[]},{code:"231183",name:"嫩江市",region_level:3,children:[]}]},{code:"2312",name:"绥化市",region_level:2,children:[{code:"231202",name:"北林区",region_level:3,children:[]},{code:"231221",name:"望奎县",region_level:3,children:[]},{code:"231222",name:"兰西县",region_level:3,children:[]},{code:"231223",name:"青冈县",region_level:3,children:[]},{code:"231224",name:"庆安县",region_level:3,children:[]},{code:"231225",name:"明水县",region_level:3,children:[]},{code:"231226",name:"绥棱县",region_level:3,children:[]},{code:"231281",name:"安达市",region_level:3,children:[]},{code:"231282",name:"肇东市",region_level:3,children:[]},{code:"231283",name:"海伦市",region_level:3,children:[]}]},{code:"2327",name:"大兴安岭地区",region_level:2,children:[{code:"232701",name:"漠河市",region_level:3,children:[]},{code:"232721",name:"呼玛县",region_level:3,children:[]},{code:"232722",name:"塔河县",region_level:3,children:[]}]}]},{code:"31",name:"上海市",region_level:1,children:[{code:"3101",name:"上海市",region_level:2,children:[{code:"310101",name:"黄浦区",region_level:3,children:[]},{code:"310104",name:"徐汇区",region_level:3,children:[]},{code:"310105",name:"长宁区",region_level:3,children:[]},{code:"310106",name:"静安区",region_level:3,children:[]},{code:"310107",name:"普陀区",region_level:3,children:[]},{code:"310109",name:"虹口区",region_level:3,children:[]},{code:"310110",name:"杨浦区",region_level:3,children:[]},{code:"310112",name:"闵行区",region_level:3,children:[]},{code:"310113",name:"宝山区",region_level:3,children:[]},{code:"310114",name:"嘉定区",region_level:3,children:[]},{code:"310115",name:"浦东新区",region_level:3,children:[]},{code:"310116",name:"金山区",region_level:3,children:[]},{code:"310117",name:"松江区",region_level:3,children:[]},{code:"310118",name:"青浦区",region_level:3,children:[]},{code:"310120",name:"奉贤区",region_level:3,children:[]},{code:"310151",name:"崇明区",region_level:3,children:[]}]}]},{code:"32",name:"江苏省",region_level:1,children:[{code:"3201",name:"南京市",region_level:2,children:[{code:"320102",name:"玄武区",region_level:3,children:[]},{code:"320104",name:"秦淮区",region_level:3,children:[]},{code:"320105",name:"建邺区",region_level:3,children:[]},{code:"320106",name:"鼓楼区",region_level:3,children:[]},{code:"320111",name:"浦口区",region_level:3,children:[]},{code:"320113",name:"栖霞区",region_level:3,children:[]},{code:"320114",name:"雨花台区",region_level:3,children:[]},{code:"320115",name:"江宁区",region_level:3,children:[]},{code:"320116",name:"六合区",region_level:3,children:[]},{code:"320117",name:"溧水区",region_level:3,children:[]},{code:"320118",name:"高淳区",region_level:3,children:[]}]},{code:"3202",name:"无锡市",region_level:2,children:[{code:"320205",name:"锡山区",region_level:3,children:[]},{code:"320206",name:"惠山区",region_level:3,children:[]},{code:"320211",name:"滨湖区",region_level:3,children:[]},{code:"320213",name:"梁溪区",region_level:3,children:[]},{code:"320214",name:"新吴区",region_level:3,children:[]},{code:"320281",name:"江阴市",region_level:3,children:[]},{code:"320282",name:"宜兴市",region_level:3,children:[]}]},{code:"3203",name:"徐州市",region_level:2,children:[{code:"320302",name:"鼓楼区",region_level:3,children:[]},{code:"320303",name:"云龙区",region_level:3,children:[]},{code:"320305",name:"贾汪区",region_level:3,children:[]},{code:"320311",name:"泉山区",region_level:3,children:[]},{code:"320312",name:"铜山区",region_level:3,children:[]},{code:"320321",name:"丰县",region_level:3,children:[]},{code:"320322",name:"沛县",region_level:3,children:[]},{code:"320324",name:"睢宁县",region_level:3,children:[]},{code:"320381",name:"新沂市",region_level:3,children:[]},{code:"320382",name:"邳州市",region_level:3,children:[]}]},{code:"3204",name:"常州市",region_level:2,children:[{code:"320402",name:"天宁区",region_level:3,children:[]},{code:"320404",name:"钟楼区",region_level:3,children:[]},{code:"320411",name:"新北区",region_level:3,children:[]},{code:"320412",name:"武进区",region_level:3,children:[]},{code:"320413",name:"金坛区",region_level:3,children:[]},{code:"320481",name:"溧阳市",region_level:3,children:[]}]},{code:"3205",name:"苏州市",region_level:2,children:[{code:"320505",name:"虎丘区",region_level:3,children:[]},{code:"320506",name:"吴中区",region_level:3,children:[]},{code:"320507",name:"相城区",region_level:3,children:[]},{code:"320508",name:"姑苏区",region_level:3,children:[]},{code:"320509",name:"吴江区",region_level:3,children:[]},{code:"320581",name:"常熟市",region_level:3,children:[]},{code:"320582",name:"张家港市",region_level:3,children:[]},{code:"320583",name:"昆山市",region_level:3,children:[]},{code:"320585",name:"太仓市",region_level:3,children:[]}]},{code:"3206",name:"南通市",region_level:2,children:[{code:"320602",name:"崇川区",region_level:3,children:[]},{code:"320611",name:"港闸区",region_level:3,children:[]},{code:"320612",name:"通州区",region_level:3,children:[]},{code:"320623",name:"如东县",region_level:3,children:[]},{code:"320681",name:"启东市",region_level:3,children:[]},{code:"320682",name:"如皋市",region_level:3,children:[]},{code:"320684",name:"海门市",region_level:3,children:[]},{code:"320685",name:"海安市",region_level:3,children:[]}]},{code:"3207",name:"连云港市",region_level:2,children:[{code:"320703",name:"连云区",region_level:3,children:[]},{code:"320706",name:"海州区",region_level:3,children:[]},{code:"320707",name:"赣榆区",region_level:3,children:[]},{code:"320722",name:"东海县",region_level:3,children:[]},{code:"320723",name:"灌云县",region_level:3,children:[]},{code:"320724",name:"灌南县",region_level:3,children:[]}]},{code:"3208",name:"淮安市",region_level:2,children:[{code:"320803",name:"淮安区",region_level:3,children:[]},{code:"320804",name:"淮阴区",region_level:3,children:[]},{code:"320812",name:"清江浦区",region_level:3,children:[]},{code:"320813",name:"洪泽区",region_level:3,children:[]},{code:"320826",name:"涟水县",region_level:3,children:[]},{code:"320830",name:"盱眙县",region_level:3,children:[]},{code:"320831",name:"金湖县",region_level:3,children:[]}]},{code:"3209",name:"盐城市",region_level:2,children:[{code:"320902",name:"亭湖区",region_level:3,children:[]},{code:"320903",name:"盐都区",region_level:3,children:[]},{code:"320904",name:"大丰区",region_level:3,children:[]},{code:"320921",name:"响水县",region_level:3,children:[]},{code:"320922",name:"滨海县",region_level:3,children:[]},{code:"320923",name:"阜宁县",region_level:3,children:[]},{code:"320924",name:"射阳县",region_level:3,children:[]},{code:"320925",name:"建湖县",region_level:3,children:[]},{code:"320981",name:"东台市",region_level:3,children:[]}]},{code:"3210",name:"扬州市",region_level:2,children:[{code:"321002",name:"广陵区",region_level:3,children:[]},{code:"321003",name:"邗江区",region_level:3,children:[]},{code:"321012",name:"江都区",region_level:3,children:[]},{code:"321023",name:"宝应县",region_level:3,children:[]},{code:"321081",name:"仪征市",region_level:3,children:[]},{code:"321084",name:"高邮市",region_level:3,children:[]}]},{code:"3211",name:"镇江市",region_level:2,children:[{code:"321102",name:"京口区",region_level:3,children:[]},{code:"321111",name:"润州区",region_level:3,children:[]},{code:"321112",name:"丹徒区",region_level:3,children:[]},{code:"321181",name:"丹阳市",region_level:3,children:[]},{code:"321182",name:"扬中市",region_level:3,children:[]},{code:"321183",name:"句容市",region_level:3,children:[]}]},{code:"3212",name:"泰州市",region_level:2,children:[{code:"321202",name:"海陵区",region_level:3,children:[]},{code:"321203",name:"高港区",region_level:3,children:[]},{code:"321204",name:"姜堰区",region_level:3,children:[]},{code:"321281",name:"兴化市",region_level:3,children:[]},{code:"321282",name:"靖江市",region_level:3,children:[]},{code:"321283",name:"泰兴市",region_level:3,children:[]}]},{code:"3213",name:"宿迁市",region_level:2,children:[{code:"321302",name:"宿城区",region_level:3,children:[]},{code:"321311",name:"宿豫区",region_level:3,children:[]},{code:"321322",name:"沭阳县",region_level:3,children:[]},{code:"321323",name:"泗阳县",region_level:3,children:[]},{code:"321324",name:"泗洪县",region_level:3,children:[]}]}]},{code:"33",name:"浙江省",region_level:1,children:[{code:"3301",name:"杭州市",region_level:2,children:[{code:"330102",name:"上城区",region_level:3,children:[]},{code:"330103",name:"下城区",region_level:3,children:[]},{code:"330104",name:"江干区",region_level:3,children:[]},{code:"330105",name:"拱墅区",region_level:3,children:[]},{code:"330106",name:"西湖区",region_level:3,children:[]},{code:"330108",name:"滨江区",region_level:3,children:[]},{code:"330109",name:"萧山区",region_level:3,children:[]},{code:"330110",name:"余杭区",region_level:3,children:[]},{code:"330111",name:"富阳区",region_level:3,children:[]},{code:"330112",name:"临安区",region_level:3,children:[]},{code:"330122",name:"桐庐县",region_level:3,children:[]},{code:"330127",name:"淳安县",region_level:3,children:[]},{code:"330182",name:"建德市",region_level:3,children:[]}]},{code:"3302",name:"宁波市",region_level:2,children:[{code:"330203",name:"海曙区",region_level:3,children:[]},{code:"330205",name:"江北区",region_level:3,children:[]},{code:"330206",name:"北仑区",region_level:3,children:[]},{code:"330211",name:"镇海区",region_level:3,children:[]},{code:"330212",name:"鄞州区",region_level:3,children:[]},{code:"330213",name:"奉化区",region_level:3,children:[]},{code:"330225",name:"象山县",region_level:3,children:[]},{code:"330226",name:"宁海县",region_level:3,children:[]},{code:"330281",name:"余姚市",region_level:3,children:[]},{code:"330282",name:"慈溪市",region_level:3,children:[]}]},{code:"3303",name:"温州市",region_level:2,children:[{code:"330302",name:"鹿城区",region_level:3,children:[]},{code:"330303",name:"龙湾区",region_level:3,children:[]},{code:"330304",name:"瓯海区",region_level:3,children:[]},{code:"330305",name:"洞头区",region_level:3,children:[]},{code:"330324",name:"永嘉县",region_level:3,children:[]},{code:"330326",name:"平阳县",region_level:3,children:[]},{code:"330327",name:"苍南县",region_level:3,children:[]},{code:"330328",name:"文成县",region_level:3,children:[]},{code:"330329",name:"泰顺县",region_level:3,children:[]},{code:"330381",name:"瑞安市",region_level:3,children:[]},{code:"330382",name:"乐清市",region_level:3,children:[]},{code:"330383",name:"龙港市",region_level:3,children:[]}]},{code:"3304",name:"嘉兴市",region_level:2,children:[{code:"330402",name:"南湖区",region_level:3,children:[]},{code:"330411",name:"秀洲区",region_level:3,children:[]},{code:"330421",name:"嘉善县",region_level:3,children:[]},{code:"330424",name:"海盐县",region_level:3,children:[]},{code:"330481",name:"海宁市",region_level:3,children:[]},{code:"330482",name:"平湖市",region_level:3,children:[]},{code:"330483",name:"桐乡市",region_level:3,children:[]}]},{code:"3305",name:"湖州市",region_level:2,children:[{code:"330502",name:"吴兴区",region_level:3,children:[]},{code:"330503",name:"南浔区",region_level:3,children:[]},{code:"330521",name:"德清县",region_level:3,children:[]},{code:"330522",name:"长兴县",region_level:3,children:[]},{code:"330523",name:"安吉县",region_level:3,children:[]}]},{code:"3306",name:"绍兴市",region_level:2,children:[{code:"330602",name:"越城区",region_level:3,children:[]},{code:"330603",name:"柯桥区",region_level:3,children:[]},{code:"330604",name:"上虞区",region_level:3,children:[]},{code:"330624",name:"新昌县",region_level:3,children:[]},{code:"330681",name:"诸暨市",region_level:3,children:[]},{code:"330683",name:"嵊州市",region_level:3,children:[]}]},{code:"3307",name:"金华市",region_level:2,children:[{code:"330702",name:"婺城区",region_level:3,children:[]},{code:"330703",name:"金东区",region_level:3,children:[]},{code:"330723",name:"武义县",region_level:3,children:[]},{code:"330726",name:"浦江县",region_level:3,children:[]},{code:"330727",name:"磐安县",region_level:3,children:[]},{code:"330781",name:"兰溪市",region_level:3,children:[]},{code:"330782",name:"义乌市",region_level:3,children:[]},{code:"330783",name:"东阳市",region_level:3,children:[]},{code:"330784",name:"永康市",region_level:3,children:[]}]},{code:"3308",name:"衢州市",region_level:2,children:[{code:"330802",name:"柯城区",region_level:3,children:[]},{code:"330803",name:"衢江区",region_level:3,children:[]},{code:"330822",name:"常山县",region_level:3,children:[]},{code:"330824",name:"开化县",region_level:3,children:[]},{code:"330825",name:"龙游县",region_level:3,children:[]},{code:"330881",name:"江山市",region_level:3,children:[]}]},{code:"3309",name:"舟山市",region_level:2,children:[{code:"330902",name:"定海区",region_level:3,children:[]},{code:"330903",name:"普陀区",region_level:3,children:[]},{code:"330921",name:"岱山县",region_level:3,children:[]},{code:"330922",name:"嵊泗县",region_level:3,children:[]}]},{code:"3310",name:"台州市",region_level:2,children:[{code:"331002",name:"椒江区",region_level:3,children:[]},{code:"331003",name:"黄岩区",region_level:3,children:[]},{code:"331004",name:"路桥区",region_level:3,children:[]},{code:"331022",name:"三门县",region_level:3,children:[]},{code:"331023",name:"天台县",region_level:3,children:[]},{code:"331024",name:"仙居县",region_level:3,children:[]},{code:"331081",name:"温岭市",region_level:3,children:[]},{code:"331082",name:"临海市",region_level:3,children:[]},{code:"331083",name:"玉环市",region_level:3,children:[]}]},{code:"3311",name:"丽水市",region_level:2,children:[{code:"331102",name:"莲都区",region_level:3,children:[]},{code:"331121",name:"青田县",region_level:3,children:[]},{code:"331122",name:"缙云县",region_level:3,children:[]},{code:"331123",name:"遂昌县",region_level:3,children:[]},{code:"331124",name:"松阳县",region_level:3,children:[]},{code:"331125",name:"云和县",region_level:3,children:[]},{code:"331126",name:"庆元县",region_level:3,children:[]},{code:"331127",name:"景宁畲族自治县",region_level:3,children:[]},{code:"331181",name:"龙泉市",region_level:3,children:[]}]}]},{code:"34",name:"安徽省",region_level:1,children:[{code:"3401",name:"合肥市",region_level:2,children:[{code:"340102",name:"瑶海区",region_level:3,children:[]},{code:"340103",name:"庐阳区",region_level:3,children:[]},{code:"340104",name:"蜀山区",region_level:3,children:[]},{code:"340111",name:"包河区",region_level:3,children:[]},{code:"340121",name:"长丰县",region_level:3,children:[]},{code:"340122",name:"肥东县",region_level:3,children:[]},{code:"340123",name:"肥西县",region_level:3,children:[]},{code:"340124",name:"庐江县",region_level:3,children:[]},{code:"340181",name:"巢湖市",region_level:3,children:[]}]},{code:"3402",name:"芜湖市",region_level:2,children:[{code:"340202",name:"镜湖区",region_level:3,children:[]},{code:"340203",name:"弋江区",region_level:3,children:[]},{code:"340207",name:"鸠江区",region_level:3,children:[]},{code:"340208",name:"三山区",region_level:3,children:[]},{code:"340221",name:"芜湖县",region_level:3,children:[]},{code:"340222",name:"繁昌县",region_level:3,children:[]},{code:"340223",name:"南陵县",region_level:3,children:[]},{code:"340281",name:"无为市",region_level:3,children:[]}]},{code:"3403",name:"蚌埠市",region_level:2,children:[{code:"340302",name:"龙子湖区",region_level:3,children:[]},{code:"340303",name:"蚌山区",region_level:3,children:[]},{code:"340304",name:"禹会区",region_level:3,children:[]},{code:"340311",name:"淮上区",region_level:3,children:[]},{code:"340321",name:"怀远县",region_level:3,children:[]},{code:"340322",name:"五河县",region_level:3,children:[]},{code:"340323",name:"固镇县",region_level:3,children:[]}]},{code:"3404",name:"淮南市",region_level:2,children:[{code:"340402",name:"大通区",region_level:3,children:[]},{code:"340403",name:"田家庵区",region_level:3,children:[]},{code:"340404",name:"谢家集区",region_level:3,children:[]},{code:"340405",name:"八公山区",region_level:3,children:[]},{code:"340406",name:"潘集区",region_level:3,children:[]},{code:"340421",name:"凤台县",region_level:3,children:[]},{code:"340422",name:"寿县",region_level:3,children:[]}]},{code:"3405",name:"马鞍山市",region_level:2,children:[{code:"340503",name:"花山区",region_level:3,children:[]},{code:"340504",name:"雨山区",region_level:3,children:[]},{code:"340506",name:"博望区",region_level:3,children:[]},{code:"340521",name:"当涂县",region_level:3,children:[]},{code:"340522",name:"含山县",region_level:3,children:[]},{code:"340523",name:"和县",region_level:3,children:[]}]},{code:"3406",name:"淮北市",region_level:2,children:[{code:"340602",name:"杜集区",region_level:3,children:[]},{code:"340603",name:"相山区",region_level:3,children:[]},{code:"340604",name:"烈山区",region_level:3,children:[]},{code:"340621",name:"濉溪县",region_level:3,children:[]}]},{code:"3407",name:"铜陵市",region_level:2,children:[{code:"340705",name:"铜官区",region_level:3,children:[]},{code:"340706",name:"义安区",region_level:3,children:[]},{code:"340711",name:"郊区",region_level:3,children:[]},{code:"340722",name:"枞阳县",region_level:3,children:[]}]},{code:"3408",name:"安庆市",region_level:2,children:[{code:"340802",name:"迎江区",region_level:3,children:[]},{code:"340803",name:"大观区",region_level:3,children:[]},{code:"340811",name:"宜秀区",region_level:3,children:[]},{code:"340822",name:"怀宁县",region_level:3,children:[]},{code:"340825",name:"太湖县",region_level:3,children:[]},{code:"340826",name:"宿松县",region_level:3,children:[]},{code:"340827",name:"望江县",region_level:3,children:[]},{code:"340828",name:"岳西县",region_level:3,children:[]},{code:"340881",name:"桐城市",region_level:3,children:[]},{code:"340882",name:"潜山市",region_level:3,children:[]}]},{code:"3410",name:"黄山市",region_level:2,children:[{code:"341002",name:"屯溪区",region_level:3,children:[]},{code:"341003",name:"黄山区",region_level:3,children:[]},{code:"341004",name:"徽州区",region_level:3,children:[]},{code:"341021",name:"歙县",region_level:3,children:[]},{code:"341022",name:"休宁县",region_level:3,children:[]},{code:"341023",name:"黟县",region_level:3,children:[]},{code:"341024",name:"祁门县",region_level:3,children:[]}]},{code:"3411",name:"滁州市",region_level:2,children:[{code:"341102",name:"琅琊区",region_level:3,children:[]},{code:"341103",name:"南谯区",region_level:3,children:[]},{code:"341122",name:"来安县",region_level:3,children:[]},{code:"341124",name:"全椒县",region_level:3,children:[]},{code:"341125",name:"定远县",region_level:3,children:[]},{code:"341126",name:"凤阳县",region_level:3,children:[]},{code:"341181",name:"天长市",region_level:3,children:[]},{code:"341182",name:"明光市",region_level:3,children:[]}]},{code:"3412",name:"阜阳市",region_level:2,children:[{code:"341202",name:"颍州区",region_level:3,children:[]},{code:"341203",name:"颍东区",region_level:3,children:[]},{code:"341204",name:"颍泉区",region_level:3,children:[]},{code:"341221",name:"临泉县",region_level:3,children:[]},{code:"341222",name:"太和县",region_level:3,children:[]},{code:"341225",name:"阜南县",region_level:3,children:[]},{code:"341226",name:"颍上县",region_level:3,children:[]},{code:"341282",name:"界首市",region_level:3,children:[]}]},{code:"3413",name:"宿州市",region_level:2,children:[{code:"341302",name:"埇桥区",region_level:3,children:[]},{code:"341321",name:"砀山县",region_level:3,children:[]},{code:"341322",name:"萧县",region_level:3,children:[]},{code:"341323",name:"灵璧县",region_level:3,children:[]},{code:"341324",name:"泗县",region_level:3,children:[]}]},{code:"3415",name:"六安市",region_level:2,children:[{code:"341502",name:"金安区",region_level:3,children:[]},{code:"341503",name:"裕安区",region_level:3,children:[]},{code:"341504",name:"叶集区",region_level:3,children:[]},{code:"341522",name:"霍邱县",region_level:3,children:[]},{code:"341523",name:"舒城县",region_level:3,children:[]},{code:"341524",name:"金寨县",region_level:3,children:[]},{code:"341525",name:"霍山县",region_level:3,children:[]}]},{code:"3416",name:"亳州市",region_level:2,children:[{code:"341602",name:"谯城区",region_level:3,children:[]},{code:"341621",name:"涡阳县",region_level:3,children:[]},{code:"341622",name:"蒙城县",region_level:3,children:[]},{code:"341623",name:"利辛县",region_level:3,children:[]}]},{code:"3417",name:"池州市",region_level:2,children:[{code:"341702",name:"贵池区",region_level:3,children:[]},{code:"341721",name:"东至县",region_level:3,children:[]},{code:"341722",name:"石台县",region_level:3,children:[]},{code:"341723",name:"青阳县",region_level:3,children:[]}]},{code:"3418",name:"宣城市",region_level:2,children:[{code:"341802",name:"宣州区",region_level:3,children:[]},{code:"341821",name:"郎溪县",region_level:3,children:[]},{code:"341823",name:"泾县",region_level:3,children:[]},{code:"341824",name:"绩溪县",region_level:3,children:[]},{code:"341825",name:"旌德县",region_level:3,children:[]},{code:"341881",name:"宁国市",region_level:3,children:[]},{code:"341882",name:"广德市",region_level:3,children:[]}]}]},{code:"35",name:"福建省",region_level:1,children:[{code:"3501",name:"福州市",region_level:2,children:[{code:"350102",name:"鼓楼区",region_level:3,children:[]},{code:"350103",name:"台江区",region_level:3,children:[]},{code:"350104",name:"仓山区",region_level:3,children:[]},{code:"350105",name:"马尾区",region_level:3,children:[]},{code:"350111",name:"晋安区",region_level:3,children:[]},{code:"350112",name:"长乐区",region_level:3,children:[]},{code:"350121",name:"闽侯县",region_level:3,children:[]},{code:"350122",name:"连江县",region_level:3,children:[]},{code:"350123",name:"罗源县",region_level:3,children:[]},{code:"350124",name:"闽清县",region_level:3,children:[]},{code:"350125",name:"永泰县",region_level:3,children:[]},{code:"350128",name:"平潭县",region_level:3,children:[]},{code:"350181",name:"福清市",region_level:3,children:[]}]},{code:"3502",name:"厦门市",region_level:2,children:[{code:"350203",name:"思明区",region_level:3,children:[]},{code:"350205",name:"海沧区",region_level:3,children:[]},{code:"350206",name:"湖里区",region_level:3,children:[]},{code:"350211",name:"集美区",region_level:3,children:[]},{code:"350212",name:"同安区",region_level:3,children:[]},{code:"350213",name:"翔安区",region_level:3,children:[]}]},{code:"3503",name:"莆田市",region_level:2,children:[{code:"350302",name:"城厢区",region_level:3,children:[]},{code:"350303",name:"涵江区",region_level:3,children:[]},{code:"350304",name:"荔城区",region_level:3,children:[]},{code:"350305",name:"秀屿区",region_level:3,children:[]},{code:"350322",name:"仙游县",region_level:3,children:[]}]},{code:"3504",name:"三明市",region_level:2,children:[{code:"350402",name:"梅列区",region_level:3,children:[]},{code:"350403",name:"三元区",region_level:3,children:[]},{code:"350421",name:"明溪县",region_level:3,children:[]},{code:"350423",name:"清流县",region_level:3,children:[]},{code:"350424",name:"宁化县",region_level:3,children:[]},{code:"350425",name:"大田县",region_level:3,children:[]},{code:"350426",name:"尤溪县",region_level:3,children:[]},{code:"350427",name:"沙县",region_level:3,children:[]},{code:"350428",name:"将乐县",region_level:3,children:[]},{code:"350429",name:"泰宁县",region_level:3,children:[]},{code:"350430",name:"建宁县",region_level:3,children:[]},{code:"350481",name:"永安市",region_level:3,children:[]}]},{code:"3505",name:"泉州市",region_level:2,children:[{code:"350502",name:"鲤城区",region_level:3,children:[]},{code:"350503",name:"丰泽区",region_level:3,children:[]},{code:"350504",name:"洛江区",region_level:3,children:[]},{code:"350505",name:"泉港区",region_level:3,children:[]},{code:"350521",name:"惠安县",region_level:3,children:[]},{code:"350524",name:"安溪县",region_level:3,children:[]},{code:"350525",name:"永春县",region_level:3,children:[]},{code:"350526",name:"德化县",region_level:3,children:[]},{code:"350527",name:"金门县",region_level:3,children:[]},{code:"350581",name:"石狮市",region_level:3,children:[]},{code:"350582",name:"晋江市",region_level:3,children:[]},{code:"350583",name:"南安市",region_level:3,children:[]}]},{code:"3506",name:"漳州市",region_level:2,children:[{code:"350602",name:"芗城区",region_level:3,children:[]},{code:"350603",name:"龙文区",region_level:3,children:[]},{code:"350622",name:"云霄县",region_level:3,children:[]},{code:"350623",name:"漳浦县",region_level:3,children:[]},{code:"350624",name:"诏安县",region_level:3,children:[]},{code:"350625",name:"长泰县",region_level:3,children:[]},{code:"350626",name:"东山县",region_level:3,children:[]},{code:"350627",name:"南靖县",region_level:3,children:[]},{code:"350628",name:"平和县",region_level:3,children:[]},{code:"350629",name:"华安县",region_level:3,children:[]},{code:"350681",name:"龙海市",region_level:3,children:[]}]},{code:"3507",name:"南平市",region_level:2,children:[{code:"350702",name:"延平区",region_level:3,children:[]},{code:"350703",name:"建阳区",region_level:3,children:[]},{code:"350721",name:"顺昌县",region_level:3,children:[]},{code:"350722",name:"浦城县",region_level:3,children:[]},{code:"350723",name:"光泽县",region_level:3,children:[]},{code:"350724",name:"松溪县",region_level:3,children:[]},{code:"350725",name:"政和县",region_level:3,children:[]},{code:"350781",name:"邵武市",region_level:3,children:[]},{code:"350782",name:"武夷山市",region_level:3,children:[]},{code:"350783",name:"建瓯市",region_level:3,children:[]}]},{code:"3508",name:"龙岩市",region_level:2,children:[{code:"350802",name:"新罗区",region_level:3,children:[]},{code:"350803",name:"永定区",region_level:3,children:[]},{code:"350821",name:"长汀县",region_level:3,children:[]},{code:"350823",name:"上杭县",region_level:3,children:[]},{code:"350824",name:"武平县",region_level:3,children:[]},{code:"350825",name:"连城县",region_level:3,children:[]},{code:"350881",name:"漳平市",region_level:3,children:[]}]},{code:"3509",name:"宁德市",region_level:2,children:[{code:"350902",name:"蕉城区",region_level:3,children:[]},{code:"350921",name:"霞浦县",region_level:3,children:[]},{code:"350922",name:"古田县",region_level:3,children:[]},{code:"350923",name:"屏南县",region_level:3,children:[]},{code:"350924",name:"寿宁县",region_level:3,children:[]},{code:"350925",name:"周宁县",region_level:3,children:[]},{code:"350926",name:"柘荣县",region_level:3,children:[]},{code:"350981",name:"福安市",region_level:3,children:[]},{code:"350982",name:"福鼎市",region_level:3,children:[]}]}]},{code:"36",name:"江西省",region_level:1,children:[{code:"3601",name:"南昌市",region_level:2,children:[{code:"360102",name:"东湖区",region_level:3,children:[]},{code:"360103",name:"西湖区",region_level:3,children:[]},{code:"360104",name:"青云谱区",region_level:3,children:[]},{code:"360111",name:"青山湖区",region_level:3,children:[]},{code:"360112",name:"新建区",region_level:3,children:[]},{code:"360113",name:"红谷滩区",region_level:3,children:[]},{code:"360121",name:"南昌县",region_level:3,children:[]},{code:"360123",name:"安义县",region_level:3,children:[]},{code:"360124",name:"进贤县",region_level:3,children:[]}]},{code:"3602",name:"景德镇市",region_level:2,children:[{code:"360202",name:"昌江区",region_level:3,children:[]},{code:"360203",name:"珠山区",region_level:3,children:[]},{code:"360222",name:"浮梁县",region_level:3,children:[]},{code:"360281",name:"乐平市",region_level:3,children:[]}]},{code:"3603",name:"萍乡市",region_level:2,children:[{code:"360302",name:"安源区",region_level:3,children:[]},{code:"360313",name:"湘东区",region_level:3,children:[]},{code:"360321",name:"莲花县",region_level:3,children:[]},{code:"360322",name:"上栗县",region_level:3,children:[]},{code:"360323",name:"芦溪县",region_level:3,children:[]}]},{code:"3604",name:"九江市",region_level:2,children:[{code:"360402",name:"濂溪区",region_level:3,children:[]},{code:"360403",name:"浔阳区",region_level:3,children:[]},{code:"360404",name:"柴桑区",region_level:3,children:[]},{code:"360423",name:"武宁县",region_level:3,children:[]},{code:"360424",name:"修水县",region_level:3,children:[]},{code:"360425",name:"永修县",region_level:3,children:[]},{code:"360426",name:"德安县",region_level:3,children:[]},{code:"360428",name:"都昌县",region_level:3,children:[]},{code:"360429",name:"湖口县",region_level:3,children:[]},{code:"360430",name:"彭泽县",region_level:3,children:[]},{code:"360481",name:"瑞昌市",region_level:3,children:[]},{code:"360482",name:"共青城市",region_level:3,children:[]},{code:"360483",name:"庐山市",region_level:3,children:[]}]},{code:"3605",name:"新余市",region_level:2,children:[{code:"360502",name:"渝水区",region_level:3,children:[]},{code:"360521",name:"分宜县",region_level:3,children:[]}]},{code:"3606",name:"鹰潭市",region_level:2,children:[{code:"360602",name:"月湖区",region_level:3,children:[]},{code:"360603",name:"余江区",region_level:3,children:[]},{code:"360681",name:"贵溪市",region_level:3,children:[]}]},{code:"3607",name:"赣州市",region_level:2,children:[{code:"360702",name:"章贡区",region_level:3,children:[]},{code:"360703",name:"南康区",region_level:3,children:[]},{code:"360704",name:"赣县区",region_level:3,children:[]},{code:"360722",name:"信丰县",region_level:3,children:[]},{code:"360723",name:"大余县",region_level:3,children:[]},{code:"360724",name:"上犹县",region_level:3,children:[]},{code:"360725",name:"崇义县",region_level:3,children:[]},{code:"360726",name:"安远县",region_level:3,children:[]},{code:"360727",name:"龙南县",region_level:3,children:[]},{code:"360728",name:"定南县",region_level:3,children:[]},{code:"360729",name:"全南县",region_level:3,children:[]},{code:"360730",name:"宁都县",region_level:3,children:[]},{code:"360731",name:"于都县",region_level:3,children:[]},{code:"360732",name:"兴国县",region_level:3,children:[]},{code:"360733",name:"会昌县",region_level:3,children:[]},{code:"360734",name:"寻乌县",region_level:3,children:[]},{code:"360735",name:"石城县",region_level:3,children:[]},{code:"360781",name:"瑞金市",region_level:3,children:[]}]},{code:"3608",name:"吉安市",region_level:2,children:[{code:"360802",name:"吉州区",region_level:3,children:[]},{code:"360803",name:"青原区",region_level:3,children:[]},{code:"360821",name:"吉安县",region_level:3,children:[]},{code:"360822",name:"吉水县",region_level:3,children:[]},{code:"360823",name:"峡江县",region_level:3,children:[]},{code:"360824",name:"新干县",region_level:3,children:[]},{code:"360825",name:"永丰县",region_level:3,children:[]},{code:"360826",name:"泰和县",region_level:3,children:[]},{code:"360827",name:"遂川县",region_level:3,children:[]},{code:"360828",name:"万安县",region_level:3,children:[]},{code:"360829",name:"安福县",region_level:3,children:[]},{code:"360830",name:"永新县",region_level:3,children:[]},{code:"360881",name:"井冈山市",region_level:3,children:[]}]},{code:"3609",name:"宜春市",region_level:2,children:[{code:"360902",name:"袁州区",region_level:3,children:[]},{code:"360921",name:"奉新县",region_level:3,children:[]},{code:"360922",name:"万载县",region_level:3,children:[]},{code:"360923",name:"上高县",region_level:3,children:[]},{code:"360924",name:"宜丰县",region_level:3,children:[]},{code:"360925",name:"靖安县",region_level:3,children:[]},{code:"360926",name:"铜鼓县",region_level:3,children:[]},{code:"360981",name:"丰城市",region_level:3,children:[]},{code:"360982",name:"樟树市",region_level:3,children:[]},{code:"360983",name:"高安市",region_level:3,children:[]}]},{code:"3610",name:"抚州市",region_level:2,children:[{code:"361002",name:"临川区",region_level:3,children:[]},{code:"361003",name:"东乡区",region_level:3,children:[]},{code:"361021",name:"南城县",region_level:3,children:[]},{code:"361022",name:"黎川县",region_level:3,children:[]},{code:"361023",name:"南丰县",region_level:3,children:[]},{code:"361024",name:"崇仁县",region_level:3,children:[]},{code:"361025",name:"乐安县",region_level:3,children:[]},{code:"361026",name:"宜黄县",region_level:3,children:[]},{code:"361027",name:"金溪县",region_level:3,children:[]},{code:"361028",name:"资溪县",region_level:3,children:[]},{code:"361030",name:"广昌县",region_level:3,children:[]}]},{code:"3611",name:"上饶市",region_level:2,children:[{code:"361102",name:"信州区",region_level:3,children:[]},{code:"361103",name:"广丰区",region_level:3,children:[]},{code:"361104",name:"广信区",region_level:3,children:[]},{code:"361123",name:"玉山县",region_level:3,children:[]},{code:"361124",name:"铅山县",region_level:3,children:[]},{code:"361125",name:"横峰县",region_level:3,children:[]},{code:"361126",name:"弋阳县",region_level:3,children:[]},{code:"361127",name:"余干县",region_level:3,children:[]},{code:"361128",name:"鄱阳县",region_level:3,children:[]},{code:"361129",name:"万年县",region_level:3,children:[]},{code:"361130",name:"婺源县",region_level:3,children:[]},{code:"361181",name:"德兴市",region_level:3,children:[]}]}]},{code:"37",name:"山东省",region_level:1,children:[{code:"3701",name:"济南市",region_level:2,children:[{code:"370102",name:"历下区",region_level:3,children:[]},{code:"370103",name:"市中区",region_level:3,children:[]},{code:"370104",name:"槐荫区",region_level:3,children:[]},{code:"370105",name:"天桥区",region_level:3,children:[]},{code:"370112",name:"历城区",region_level:3,children:[]},{code:"370113",name:"长清区",region_level:3,children:[]},{code:"370114",name:"章丘区",region_level:3,children:[]},{code:"370115",name:"济阳区",region_level:3,children:[]},{code:"370116",name:"莱芜区",region_level:3,children:[]},{code:"370117",name:"钢城区",region_level:3,children:[]},{code:"370124",name:"平阴县",region_level:3,children:[]},{code:"370126",name:"商河县",region_level:3,children:[]}]},{code:"3702",name:"青岛市",region_level:2,children:[{code:"370202",name:"市南区",region_level:3,children:[]},{code:"370203",name:"市北区",region_level:3,children:[]},{code:"370211",name:"黄岛区",region_level:3,children:[]},{code:"370212",name:"崂山区",region_level:3,children:[]},{code:"370213",name:"李沧区",region_level:3,children:[]},{code:"370214",name:"城阳区",region_level:3,children:[]},{code:"370215",name:"即墨区",region_level:3,children:[]},{code:"370281",name:"胶州市",region_level:3,children:[]},{code:"370283",name:"平度市",region_level:3,children:[]},{code:"370285",name:"莱西市",region_level:3,children:[]}]},{code:"3703",name:"淄博市",region_level:2,children:[{code:"370302",name:"淄川区",region_level:3,children:[]},{code:"370303",name:"张店区",region_level:3,children:[]},{code:"370304",name:"博山区",region_level:3,children:[]},{code:"370305",name:"临淄区",region_level:3,children:[]},{code:"370306",name:"周村区",region_level:3,children:[]},{code:"370321",name:"桓台县",region_level:3,children:[]},{code:"370322",name:"高青县",region_level:3,children:[]},{code:"370323",name:"沂源县",region_level:3,children:[]}]},{code:"3704",name:"枣庄市",region_level:2,children:[{code:"370402",name:"市中区",region_level:3,children:[]},{code:"370403",name:"薛城区",region_level:3,children:[]},{code:"370404",name:"峄城区",region_level:3,children:[]},{code:"370405",name:"台儿庄区",region_level:3,children:[]},{code:"370406",name:"山亭区",region_level:3,children:[]},{code:"370481",name:"滕州市",region_level:3,children:[]}]},{code:"3705",name:"东营市",region_level:2,children:[{code:"370502",name:"东营区",region_level:3,children:[]},{code:"370503",name:"河口区",region_level:3,children:[]},{code:"370505",name:"垦利区",region_level:3,children:[]},{code:"370522",name:"利津县",region_level:3,children:[]},{code:"370523",name:"广饶县",region_level:3,children:[]}]},{code:"3706",name:"烟台市",region_level:2,children:[{code:"370602",name:"芝罘区",region_level:3,children:[]},{code:"370611",name:"福山区",region_level:3,children:[]},{code:"370612",name:"牟平区",region_level:3,children:[]},{code:"370613",name:"莱山区",region_level:3,children:[]},{code:"370634",name:"长岛县",region_level:3,children:[]},{code:"370681",name:"龙口市",region_level:3,children:[]},{code:"370682",name:"莱阳市",region_level:3,children:[]},{code:"370683",name:"莱州市",region_level:3,children:[]},{code:"370684",name:"蓬莱市",region_level:3,children:[]},{code:"370685",name:"招远市",region_level:3,children:[]},{code:"370686",name:"栖霞市",region_level:3,children:[]},{code:"370687",name:"海阳市",region_level:3,children:[]}]},{code:"3707",name:"潍坊市",region_level:2,children:[{code:"370702",name:"潍城区",region_level:3,children:[]},{code:"370703",name:"寒亭区",region_level:3,children:[]},{code:"370704",name:"坊子区",region_level:3,children:[]},{code:"370705",name:"奎文区",region_level:3,children:[]},{code:"370724",name:"临朐县",region_level:3,children:[]},{code:"370725",name:"昌乐县",region_level:3,children:[]},{code:"370781",name:"青州市",region_level:3,children:[]},{code:"370782",name:"诸城市",region_level:3,children:[]},{code:"370783",name:"寿光市",region_level:3,children:[]},{code:"370784",name:"安丘市",region_level:3,children:[]},{code:"370785",name:"高密市",region_level:3,children:[]},{code:"370786",name:"昌邑市",region_level:3,children:[]}]},{code:"3708",name:"济宁市",region_level:2,children:[{code:"370811",name:"任城区",region_level:3,children:[]},{code:"370812",name:"兖州区",region_level:3,children:[]},{code:"370826",name:"微山县",region_level:3,children:[]},{code:"370827",name:"鱼台县",region_level:3,children:[]},{code:"370828",name:"金乡县",region_level:3,children:[]},{code:"370829",name:"嘉祥县",region_level:3,children:[]},{code:"370830",name:"汶上县",region_level:3,children:[]},{code:"370831",name:"泗水县",region_level:3,children:[]},{code:"370832",name:"梁山县",region_level:3,children:[]},{code:"370881",name:"曲阜市",region_level:3,children:[]},{code:"370883",name:"邹城市",region_level:3,children:[]}]},{code:"3709",name:"泰安市",region_level:2,children:[{code:"370902",name:"泰山区",region_level:3,children:[]},{code:"370911",name:"岱岳区",region_level:3,children:[]},{code:"370921",name:"宁阳县",region_level:3,children:[]},{code:"370923",name:"东平县",region_level:3,children:[]},{code:"370982",name:"新泰市",region_level:3,children:[]},{code:"370983",name:"肥城市",region_level:3,children:[]}]},{code:"3710",name:"威海市",region_level:2,children:[{code:"371002",name:"环翠区",region_level:3,children:[]},{code:"371003",name:"文登区",region_level:3,children:[]},{code:"371082",name:"荣成市",region_level:3,children:[]},{code:"371083",name:"乳山市",region_level:3,children:[]}]},{code:"3711",name:"日照市",region_level:2,children:[{code:"371102",name:"东港区",region_level:3,children:[]},{code:"371103",name:"岚山区",region_level:3,children:[]},{code:"371121",name:"五莲县",region_level:3,children:[]},{code:"371122",name:"莒县",region_level:3,children:[]}]},{code:"3713",name:"临沂市",region_level:2,children:[{code:"371302",name:"兰山区",region_level:3,children:[]},{code:"371311",name:"罗庄区",region_level:3,children:[]},{code:"371312",name:"河东区",region_level:3,children:[]},{code:"371321",name:"沂南县",region_level:3,children:[]},{code:"371322",name:"郯城县",region_level:3,children:[]},{code:"371323",name:"沂水县",region_level:3,children:[]},{code:"371324",name:"兰陵县",region_level:3,children:[]},{code:"371325",name:"费县",region_level:3,children:[]},{code:"371326",name:"平邑县",region_level:3,children:[]},{code:"371327",name:"莒南县",region_level:3,children:[]},{code:"371328",name:"蒙阴县",region_level:3,children:[]},{code:"371329",name:"临沭县",region_level:3,children:[]}]},{code:"3714",name:"德州市",region_level:2,children:[{code:"371402",name:"德城区",region_level:3,children:[]},{code:"371403",name:"陵城区",region_level:3,children:[]},{code:"371422",name:"宁津县",region_level:3,children:[]},{code:"371423",name:"庆云县",region_level:3,children:[]},{code:"371424",name:"临邑县",region_level:3,children:[]},{code:"371425",name:"齐河县",region_level:3,children:[]},{code:"371426",name:"平原县",region_level:3,children:[]},{code:"371427",name:"夏津县",region_level:3,children:[]},{code:"371428",name:"武城县",region_level:3,children:[]},{code:"371481",name:"乐陵市",region_level:3,children:[]},{code:"371482",name:"禹城市",region_level:3,children:[]}]},{code:"3715",name:"聊城市",region_level:2,children:[{code:"371502",name:"东昌府区",region_level:3,children:[]},{code:"371503",name:"茌平区",region_level:3,children:[]},{code:"371521",name:"阳谷县",region_level:3,children:[]},{code:"371522",name:"莘县",region_level:3,children:[]},{code:"371524",name:"东阿县",region_level:3,children:[]},{code:"371525",name:"冠县",region_level:3,children:[]},{code:"371526",name:"高唐县",region_level:3,children:[]},{code:"371581",name:"临清市",region_level:3,children:[]}]},{code:"3716",name:"滨州市",region_level:2,children:[{code:"371602",name:"滨城区",region_level:3,children:[]},{code:"371603",name:"沾化区",region_level:3,children:[]},{code:"371621",name:"惠民县",region_level:3,children:[]},{code:"371622",name:"阳信县",region_level:3,children:[]},{code:"371623",name:"无棣县",region_level:3,children:[]},{code:"371625",name:"博兴县",region_level:3,children:[]},{code:"371681",name:"邹平市",region_level:3,children:[]}]},{code:"3717",name:"菏泽市",region_level:2,children:[{code:"371702",name:"牡丹区",region_level:3,children:[]},{code:"371703",name:"定陶区",region_level:3,children:[]},{code:"371721",name:"曹县",region_level:3,children:[]},{code:"371722",name:"单县",region_level:3,children:[]},{code:"371723",name:"成武县",region_level:3,children:[]},{code:"371724",name:"巨野县",region_level:3,children:[]},{code:"371725",name:"郓城县",region_level:3,children:[]},{code:"371726",name:"鄄城县",region_level:3,children:[]},{code:"371728",name:"东明县",region_level:3,children:[]}]}]},{code:"41",name:"河南省",region_level:1,children:[{code:"4101",name:"郑州市",region_level:2,children:[{code:"410102",name:"中原区",region_level:3,children:[]},{code:"410103",name:"二七区",region_level:3,children:[]},{code:"410104",name:"管城回族区",region_level:3,children:[]},{code:"410105",name:"金水区",region_level:3,children:[]},{code:"410106",name:"上街区",region_level:3,children:[]},{code:"410108",name:"惠济区",region_level:3,children:[]},{code:"410122",name:"中牟县",region_level:3,children:[]},{code:"410181",name:"巩义市",region_level:3,children:[]},{code:"410182",name:"荥阳市",region_level:3,children:[]},{code:"410183",name:"新密市",region_level:3,children:[]},{code:"410184",name:"新郑市",region_level:3,children:[]},{code:"410185",name:"登封市",region_level:3,children:[]}]},{code:"4102",name:"开封市",region_level:2,children:[{code:"410202",name:"龙亭区",region_level:3,children:[]},{code:"410203",name:"顺河回族区",region_level:3,children:[]},{code:"410204",name:"鼓楼区",region_level:3,children:[]},{code:"410205",name:"禹王台区",region_level:3,children:[]},{code:"410212",name:"祥符区",region_level:3,children:[]},{code:"410221",name:"杞县",region_level:3,children:[]},{code:"410222",name:"通许县",region_level:3,children:[]},{code:"410223",name:"尉氏县",region_level:3,children:[]},{code:"410225",name:"兰考县",region_level:3,children:[]}]},{code:"4103",name:"洛阳市",region_level:2,children:[{code:"410302",name:"老城区",region_level:3,children:[]},{code:"410303",name:"西工区",region_level:3,children:[]},{code:"410304",name:"瀍河回族区",region_level:3,children:[]},{code:"410305",name:"涧西区",region_level:3,children:[]},{code:"410306",name:"吉利区",region_level:3,children:[]},{code:"410311",name:"洛龙区",region_level:3,children:[]},{code:"410322",name:"孟津县",region_level:3,children:[]},{code:"410323",name:"新安县",region_level:3,children:[]},{code:"410324",name:"栾川县",region_level:3,children:[]},{code:"410325",name:"嵩县",region_level:3,children:[]},{code:"410326",name:"汝阳县",region_level:3,children:[]},{code:"410327",name:"宜阳县",region_level:3,children:[]},{code:"410328",name:"洛宁县",region_level:3,children:[]},{code:"410329",name:"伊川县",region_level:3,children:[]},{code:"410381",name:"偃师市",region_level:3,children:[]}]},{code:"4104",name:"平顶山市",region_level:2,children:[{code:"410402",name:"新华区",region_level:3,children:[]},{code:"410403",name:"卫东区",region_level:3,children:[]},{code:"410404",name:"石龙区",region_level:3,children:[]},{code:"410411",name:"湛河区",region_level:3,children:[]},{code:"410421",name:"宝丰县",region_level:3,children:[]},{code:"410422",name:"叶县",region_level:3,children:[]},{code:"410423",name:"鲁山县",region_level:3,children:[]},{code:"410425",name:"郏县",region_level:3,children:[]},{code:"410481",name:"舞钢市",region_level:3,children:[]},{code:"410482",name:"汝州市",region_level:3,children:[]}]},{code:"4105",name:"安阳市",region_level:2,children:[{code:"410502",name:"文峰区",region_level:3,children:[]},{code:"410503",name:"北关区",region_level:3,children:[]},{code:"410505",name:"殷都区",region_level:3,children:[]},{code:"410506",name:"龙安区",region_level:3,children:[]},{code:"410522",name:"安阳县",region_level:3,children:[]},{code:"410523",name:"汤阴县",region_level:3,children:[]},{code:"410526",name:"滑县",region_level:3,children:[]},{code:"410527",name:"内黄县",region_level:3,children:[]},{code:"410581",name:"林州市",region_level:3,children:[]}]},{code:"4106",name:"鹤壁市",region_level:2,children:[{code:"410602",name:"鹤山区",region_level:3,children:[]},{code:"410603",name:"山城区",region_level:3,children:[]},{code:"410611",name:"淇滨区",region_level:3,children:[]},{code:"410621",name:"浚县",region_level:3,children:[]},{code:"410622",name:"淇县",region_level:3,children:[]}]},{code:"4107",name:"新乡市",region_level:2,children:[{code:"410702",name:"红旗区",region_level:3,children:[]},{code:"410703",name:"卫滨区",region_level:3,children:[]},{code:"410704",name:"凤泉区",region_level:3,children:[]},{code:"410711",name:"牧野区",region_level:3,children:[]},{code:"410721",name:"新乡县",region_level:3,children:[]},{code:"410724",name:"获嘉县",region_level:3,children:[]},{code:"410725",name:"原阳县",region_level:3,children:[]},{code:"410726",name:"延津县",region_level:3,children:[]},{code:"410727",name:"封丘县",region_level:3,children:[]},{code:"410781",name:"卫辉市",region_level:3,children:[]},{code:"410782",name:"辉县市",region_level:3,children:[]},{code:"410783",name:"长垣市",region_level:3,children:[]}]},{code:"4108",name:"焦作市",region_level:2,children:[{code:"410802",name:"解放区",region_level:3,children:[]},{code:"410803",name:"中站区",region_level:3,children:[]},{code:"410804",name:"马村区",region_level:3,children:[]},{code:"410811",name:"山阳区",region_level:3,children:[]},{code:"410821",name:"修武县",region_level:3,children:[]},{code:"410822",name:"博爱县",region_level:3,children:[]},{code:"410823",name:"武陟县",region_level:3,children:[]},{code:"410825",name:"温县",region_level:3,children:[]},{code:"410882",name:"沁阳市",region_level:3,children:[]},{code:"410883",name:"孟州市",region_level:3,children:[]}]},{code:"4109",name:"濮阳市",region_level:2,children:[{code:"410902",name:"华龙区",region_level:3,children:[]},{code:"410922",name:"清丰县",region_level:3,children:[]},{code:"410923",name:"南乐县",region_level:3,children:[]},{code:"410926",name:"范县",region_level:3,children:[]},{code:"410927",name:"台前县",region_level:3,children:[]},{code:"410928",name:"濮阳县",region_level:3,children:[]}]},{code:"4110",name:"许昌市",region_level:2,children:[{code:"411002",name:"魏都区",region_level:3,children:[]},{code:"411003",name:"建安区",region_level:3,children:[]},{code:"411024",name:"鄢陵县",region_level:3,children:[]},{code:"411025",name:"襄城县",region_level:3,children:[]},{code:"411081",name:"禹州市",region_level:3,children:[]},{code:"411082",name:"长葛市",region_level:3,children:[]}]},{code:"4111",name:"漯河市",region_level:2,children:[{code:"411102",name:"源汇区",region_level:3,children:[]},{code:"411103",name:"郾城区",region_level:3,children:[]},{code:"411104",name:"召陵区",region_level:3,children:[]},{code:"411121",name:"舞阳县",region_level:3,children:[]},{code:"411122",name:"临颍县",region_level:3,children:[]}]},{code:"4112",name:"三门峡市",region_level:2,children:[{code:"411202",name:"湖滨区",region_level:3,children:[]},{code:"411203",name:"陕州区",region_level:3,children:[]},{code:"411221",name:"渑池县",region_level:3,children:[]},{code:"411224",name:"卢氏县",region_level:3,children:[]},{code:"411281",name:"义马市",region_level:3,children:[]},{code:"411282",name:"灵宝市",region_level:3,children:[]}]},{code:"4113",name:"南阳市",region_level:2,children:[{code:"411302",name:"宛城区",region_level:3,children:[]},{code:"411303",name:"卧龙区",region_level:3,children:[]},{code:"411321",name:"南召县",region_level:3,children:[]},{code:"411322",name:"方城县",region_level:3,children:[]},{code:"411323",name:"西峡县",region_level:3,children:[]},{code:"411324",name:"镇平县",region_level:3,children:[]},{code:"411325",name:"内乡县",region_level:3,children:[]},{code:"411326",name:"淅川县",region_level:3,children:[]},{code:"411327",name:"社旗县",region_level:3,children:[]},{code:"411328",name:"唐河县",region_level:3,children:[]},{code:"411329",name:"新野县",region_level:3,children:[]},{code:"411330",name:"桐柏县",region_level:3,children:[]},{code:"411381",name:"邓州市",region_level:3,children:[]}]},{code:"4114",name:"商丘市",region_level:2,children:[{code:"411402",name:"梁园区",region_level:3,children:[]},{code:"411403",name:"睢阳区",region_level:3,children:[]},{code:"411421",name:"民权县",region_level:3,children:[]},{code:"411422",name:"睢县",region_level:3,children:[]},{code:"411423",name:"宁陵县",region_level:3,children:[]},{code:"411424",name:"柘城县",region_level:3,children:[]},{code:"411425",name:"虞城县",region_level:3,children:[]},{code:"411426",name:"夏邑县",region_level:3,children:[]},{code:"411481",name:"永城市",region_level:3,children:[]}]},{code:"4115",name:"信阳市",region_level:2,children:[{code:"411502",name:"浉河区",region_level:3,children:[]},{code:"411503",name:"平桥区",region_level:3,children:[]},{code:"411521",name:"罗山县",region_level:3,children:[]},{code:"411522",name:"光山县",region_level:3,children:[]},{code:"411523",name:"新县",region_level:3,children:[]},{code:"411524",name:"商城县",region_level:3,children:[]},{code:"411525",name:"固始县",region_level:3,children:[]},{code:"411526",name:"潢川县",region_level:3,children:[]},{code:"411527",name:"淮滨县",region_level:3,children:[]},{code:"411528",name:"息县",region_level:3,children:[]}]},{code:"4116",name:"周口市",region_level:2,children:[{code:"411602",name:"川汇区",region_level:3,children:[]},{code:"411603",name:"淮阳区",region_level:3,children:[]},{code:"411621",name:"扶沟县",region_level:3,children:[]},{code:"411622",name:"西华县",region_level:3,children:[]},{code:"411623",name:"商水县",region_level:3,children:[]},{code:"411624",name:"沈丘县",region_level:3,children:[]},{code:"411625",name:"郸城县",region_level:3,children:[]},{code:"411627",name:"太康县",region_level:3,children:[]},{code:"411628",name:"鹿邑县",region_level:3,children:[]},{code:"411681",name:"项城市",region_level:3,children:[]}]},{code:"4117",name:"驻马店市",region_level:2,children:[{code:"411702",name:"驿城区",region_level:3,children:[]},{code:"411721",name:"西平县",region_level:3,children:[]},{code:"411722",name:"上蔡县",region_level:3,children:[]},{code:"411723",name:"平舆县",region_level:3,children:[]},{code:"411724",name:"正阳县",region_level:3,children:[]},{code:"411725",name:"确山县",region_level:3,children:[]},{code:"411726",name:"泌阳县",region_level:3,children:[]},{code:"411727",name:"汝南县",region_level:3,children:[]},{code:"411728",name:"遂平县",region_level:3,children:[]},{code:"411729",name:"新蔡县",region_level:3,children:[]}]},{code:"4190",name:"省直辖县级行政区",region_level:2,children:[{code:"419001",name:"济源市",region_level:3,children:[]}]}]},{code:"42",name:"湖北省",region_level:1,children:[{code:"4201",name:"武汉市",region_level:2,children:[{code:"420102",name:"江岸区",region_level:3,children:[]},{code:"420103",name:"江汉区",region_level:3,children:[]},{code:"420104",name:"硚口区",region_level:3,children:[]},{code:"420105",name:"汉阳区",region_level:3,children:[]},{code:"420106",name:"武昌区",region_level:3,children:[]},{code:"420107",name:"青山区",region_level:3,children:[]},{code:"420111",name:"洪山区",region_level:3,children:[]},{code:"420112",name:"东西湖区",region_level:3,children:[]},{code:"420113",name:"汉南区",region_level:3,children:[]},{code:"420114",name:"蔡甸区",region_level:3,children:[]},{code:"420115",name:"江夏区",region_level:3,children:[]},{code:"420116",name:"黄陂区",region_level:3,children:[]},{code:"420117",name:"新洲区",region_level:3,children:[]}]},{code:"4202",name:"黄石市",region_level:2,children:[{code:"420202",name:"黄石港区",region_level:3,children:[]},{code:"420203",name:"西塞山区",region_level:3,children:[]},{code:"420204",name:"下陆区",region_level:3,children:[]},{code:"420205",name:"铁山区",region_level:3,children:[]},{code:"420222",name:"阳新县",region_level:3,children:[]},{code:"420281",name:"大冶市",region_level:3,children:[]}]},{code:"4203",name:"十堰市",region_level:2,children:[{code:"420302",name:"茅箭区",region_level:3,children:[]},{code:"420303",name:"张湾区",region_level:3,children:[]},{code:"420304",name:"郧阳区",region_level:3,children:[]},{code:"420322",name:"郧西县",region_level:3,children:[]},{code:"420323",name:"竹山县",region_level:3,children:[]},{code:"420324",name:"竹溪县",region_level:3,children:[]},{code:"420325",name:"房县",region_level:3,children:[]},{code:"420381",name:"丹江口市",region_level:3,children:[]}]},{code:"4205",name:"宜昌市",region_level:2,children:[{code:"420502",name:"西陵区",region_level:3,children:[]},{code:"420503",name:"伍家岗区",region_level:3,children:[]},{code:"420504",name:"点军区",region_level:3,children:[]},{code:"420505",name:"猇亭区",region_level:3,children:[]},{code:"420506",name:"夷陵区",region_level:3,children:[]},{code:"420525",name:"远安县",region_level:3,children:[]},{code:"420526",name:"兴山县",region_level:3,children:[]},{code:"420527",name:"秭归县",region_level:3,children:[]},{code:"420528",name:"长阳土家族自治县",region_level:3,children:[]},{code:"420529",name:"五峰土家族自治县",region_level:3,children:[]},{code:"420581",name:"宜都市",region_level:3,children:[]},{code:"420582",name:"当阳市",region_level:3,children:[]},{code:"420583",name:"枝江市",region_level:3,children:[]}]},{code:"4206",name:"襄阳市",region_level:2,children:[{code:"420602",name:"襄城区",region_level:3,children:[]},{code:"420606",name:"樊城区",region_level:3,children:[]},{code:"420607",name:"襄州区",region_level:3,children:[]},{code:"420624",name:"南漳县",region_level:3,children:[]},{code:"420625",name:"谷城县",region_level:3,children:[]},{code:"420626",name:"保康县",region_level:3,children:[]},{code:"420682",name:"老河口市",region_level:3,children:[]},{code:"420683",name:"枣阳市",region_level:3,children:[]},{code:"420684",name:"宜城市",region_level:3,children:[]}]},{code:"4207",name:"鄂州市",region_level:2,children:[{code:"420702",name:"梁子湖区",region_level:3,children:[]},{code:"420703",name:"华容区",region_level:3,children:[]},{code:"420704",name:"鄂城区",region_level:3,children:[]}]},{code:"4208",name:"荆门市",region_level:2,children:[{code:"420802",name:"东宝区",region_level:3,children:[]},{code:"420804",name:"掇刀区",region_level:3,children:[]},{code:"420822",name:"沙洋县",region_level:3,children:[]},{code:"420881",name:"钟祥市",region_level:3,children:[]},{code:"420882",name:"京山市",region_level:3,children:[]}]},{code:"4209",name:"孝感市",region_level:2,children:[{code:"420902",name:"孝南区",region_level:3,children:[]},{code:"420921",name:"孝昌县",region_level:3,children:[]},{code:"420922",name:"大悟县",region_level:3,children:[]},{code:"420923",name:"云梦县",region_level:3,children:[]},{code:"420981",name:"应城市",region_level:3,children:[]},{code:"420982",name:"安陆市",region_level:3,children:[]},{code:"420984",name:"汉川市",region_level:3,children:[]}]},{code:"4210",name:"荆州市",region_level:2,children:[{code:"421002",name:"沙市区",region_level:3,children:[]},{code:"421003",name:"荆州区",region_level:3,children:[]},{code:"421022",name:"公安县",region_level:3,children:[]},{code:"421023",name:"监利县",region_level:3,children:[]},{code:"421024",name:"江陵县",region_level:3,children:[]},{code:"421081",name:"石首市",region_level:3,children:[]},{code:"421083",name:"洪湖市",region_level:3,children:[]},{code:"421087",name:"松滋市",region_level:3,children:[]}]},{code:"4211",name:"黄冈市",region_level:2,children:[{code:"421102",name:"黄州区",region_level:3,children:[]},{code:"421121",name:"团风县",region_level:3,children:[]},{code:"421122",name:"红安县",region_level:3,children:[]},{code:"421123",name:"罗田县",region_level:3,children:[]},{code:"421124",name:"英山县",region_level:3,children:[]},{code:"421125",name:"浠水县",region_level:3,children:[]},{code:"421126",name:"蕲春县",region_level:3,children:[]},{code:"421127",name:"黄梅县",region_level:3,children:[]},{code:"421181",name:"麻城市",region_level:3,children:[]},{code:"421182",name:"武穴市",region_level:3,children:[]}]},{code:"4212",name:"咸宁市",region_level:2,children:[{code:"421202",name:"咸安区",region_level:3,children:[]},{code:"421221",name:"嘉鱼县",region_level:3,children:[]},{code:"421222",name:"通城县",region_level:3,children:[]},{code:"421223",name:"崇阳县",region_level:3,children:[]},{code:"421224",name:"通山县",region_level:3,children:[]},{code:"421281",name:"赤壁市",region_level:3,children:[]}]},{code:"4213",name:"随州市",region_level:2,children:[{code:"421303",name:"曾都区",region_level:3,children:[]},{code:"421321",name:"随县",region_level:3,children:[]},{code:"421381",name:"广水市",region_level:3,children:[]}]},{code:"4228",name:"恩施土家族苗族自治州",region_level:2,children:[{code:"422801",name:"恩施市",region_level:3,children:[]},{code:"422802",name:"利川市",region_level:3,children:[]},{code:"422822",name:"建始县",region_level:3,children:[]},{code:"422823",name:"巴东县",region_level:3,children:[]},{code:"422825",name:"宣恩县",region_level:3,children:[]},{code:"422826",name:"咸丰县",region_level:3,children:[]},{code:"422827",name:"来凤县",region_level:3,children:[]},{code:"422828",name:"鹤峰县",region_level:3,children:[]}]},{code:"4290",name:"省直辖县级行政区",region_level:2,children:[{code:"429004",name:"仙桃市",region_level:3,children:[]},{code:"429005",name:"潜江市",region_level:3,children:[]},{code:"429006",name:"天门市",region_level:3,children:[]},{code:"429021",name:"神农架林区",region_level:3,children:[]}]}]},{code:"43",name:"湖南省",region_level:1,children:[{code:"4301",name:"长沙市",region_level:2,children:[{code:"430102",name:"芙蓉区",region_level:3,children:[]},{code:"430103",name:"天心区",region_level:3,children:[]},{code:"430104",name:"岳麓区",region_level:3,children:[]},{code:"430105",name:"开福区",region_level:3,children:[]},{code:"430111",name:"雨花区",region_level:3,children:[]},{code:"430112",name:"望城区",region_level:3,children:[]},{code:"430121",name:"长沙县",region_level:3,children:[]},{code:"430181",name:"浏阳市",region_level:3,children:[]},{code:"430182",name:"宁乡市",region_level:3,children:[]}]},{code:"4302",name:"株洲市",region_level:2,children:[{code:"430202",name:"荷塘区",region_level:3,children:[]},{code:"430203",name:"芦淞区",region_level:3,children:[]},{code:"430204",name:"石峰区",region_level:3,children:[]},{code:"430211",name:"天元区",region_level:3,children:[]},{code:"430212",name:"渌口区",region_level:3,children:[]},{code:"430223",name:"攸县",region_level:3,children:[]},{code:"430224",name:"茶陵县",region_level:3,children:[]},{code:"430225",name:"炎陵县",region_level:3,children:[]},{code:"430281",name:"醴陵市",region_level:3,children:[]}]},{code:"4303",name:"湘潭市",region_level:2,children:[{code:"430302",name:"雨湖区",region_level:3,children:[]},{code:"430304",name:"岳塘区",region_level:3,children:[]},{code:"430321",name:"湘潭县",region_level:3,children:[]},{code:"430381",name:"湘乡市",region_level:3,children:[]},{code:"430382",name:"韶山市",region_level:3,children:[]}]},{code:"4304",name:"衡阳市",region_level:2,children:[{code:"430405",name:"珠晖区",region_level:3,children:[]},{code:"430406",name:"雁峰区",region_level:3,children:[]},{code:"430407",name:"石鼓区",region_level:3,children:[]},{code:"430408",name:"蒸湘区",region_level:3,children:[]},{code:"430412",name:"南岳区",region_level:3,children:[]},{code:"430421",name:"衡阳县",region_level:3,children:[]},{code:"430422",name:"衡南县",region_level:3,children:[]},{code:"430423",name:"衡山县",region_level:3,children:[]},{code:"430424",name:"衡东县",region_level:3,children:[]},{code:"430426",name:"祁东县",region_level:3,children:[]},{code:"430481",name:"耒阳市",region_level:3,children:[]},{code:"430482",name:"常宁市",region_level:3,children:[]}]},{code:"4305",name:"邵阳市",region_level:2,children:[{code:"430502",name:"双清区",region_level:3,children:[]},{code:"430503",name:"大祥区",region_level:3,children:[]},{code:"430511",name:"北塔区",region_level:3,children:[]},{code:"430522",name:"新邵县",region_level:3,children:[]},{code:"430523",name:"邵阳县",region_level:3,children:[]},{code:"430524",name:"隆回县",region_level:3,children:[]},{code:"430525",name:"洞口县",region_level:3,children:[]},{code:"430527",name:"绥宁县",region_level:3,children:[]},{code:"430528",name:"新宁县",region_level:3,children:[]},{code:"430529",name:"城步苗族自治县",region_level:3,children:[]},{code:"430581",name:"武冈市",region_level:3,children:[]},{code:"430582",name:"邵东市",region_level:3,children:[]}]},{code:"4306",name:"岳阳市",region_level:2,children:[{code:"430602",name:"岳阳楼区",region_level:3,children:[]},{code:"430603",name:"云溪区",region_level:3,children:[]},{code:"430611",name:"君山区",region_level:3,children:[]},{code:"430621",name:"岳阳县",region_level:3,children:[]},{code:"430623",name:"华容县",region_level:3,children:[]},{code:"430624",name:"湘阴县",region_level:3,children:[]},{code:"430626",name:"平江县",region_level:3,children:[]},{code:"430681",name:"汨罗市",region_level:3,children:[]},{code:"430682",name:"临湘市",region_level:3,children:[]}]},{code:"4307",name:"常德市",region_level:2,children:[{code:"430702",name:"武陵区",region_level:3,children:[]},{code:"430703",name:"鼎城区",region_level:3,children:[]},{code:"430721",name:"安乡县",region_level:3,children:[]},{code:"430722",name:"汉寿县",region_level:3,children:[]},{code:"430723",name:"澧县",region_level:3,children:[]},{code:"430724",name:"临澧县",region_level:3,children:[]},{code:"430725",name:"桃源县",region_level:3,children:[]},{code:"430726",name:"石门县",region_level:3,children:[]},{code:"430781",name:"津市市",region_level:3,children:[]}]},{code:"4308",name:"张家界市",region_level:2,children:[{code:"430802",name:"永定区",region_level:3,children:[]},{code:"430811",name:"武陵源区",region_level:3,children:[]},{code:"430821",name:"慈利县",region_level:3,children:[]},{code:"430822",name:"桑植县",region_level:3,children:[]}]},{code:"4309",name:"益阳市",region_level:2,children:[{code:"430902",name:"资阳区",region_level:3,children:[]},{code:"430903",name:"赫山区",region_level:3,children:[]},{code:"430921",name:"南县",region_level:3,children:[]},{code:"430922",name:"桃江县",region_level:3,children:[]},{code:"430923",name:"安化县",region_level:3,children:[]},{code:"430981",name:"沅江市",region_level:3,children:[]}]},{code:"4310",name:"郴州市",region_level:2,children:[{code:"431002",name:"北湖区",region_level:3,children:[]},{code:"431003",name:"苏仙区",region_level:3,children:[]},{code:"431021",name:"桂阳县",region_level:3,children:[]},{code:"431022",name:"宜章县",region_level:3,children:[]},{code:"431023",name:"永兴县",region_level:3,children:[]},{code:"431024",name:"嘉禾县",region_level:3,children:[]},{code:"431025",name:"临武县",region_level:3,children:[]},{code:"431026",name:"汝城县",region_level:3,children:[]},{code:"431027",name:"桂东县",region_level:3,children:[]},{code:"431028",name:"安仁县",region_level:3,children:[]},{code:"431081",name:"资兴市",region_level:3,children:[]}]},{code:"4311",name:"永州市",region_level:2,children:[{code:"431102",name:"零陵区",region_level:3,children:[]},{code:"431103",name:"冷水滩区",region_level:3,children:[]},{code:"431121",name:"祁阳县",region_level:3,children:[]},{code:"431122",name:"东安县",region_level:3,children:[]},{code:"431123",name:"双牌县",region_level:3,children:[]},{code:"431124",name:"道县",region_level:3,children:[]},{code:"431125",name:"江永县",region_level:3,children:[]},{code:"431126",name:"宁远县",region_level:3,children:[]},{code:"431127",name:"蓝山县",region_level:3,children:[]},{code:"431128",name:"新田县",region_level:3,children:[]},{code:"431129",name:"江华瑶族自治县",region_level:3,children:[]}]},{code:"4312",name:"怀化市",region_level:2,children:[{code:"431202",name:"鹤城区",region_level:3,children:[]},{code:"431221",name:"中方县",region_level:3,children:[]},{code:"431222",name:"沅陵县",region_level:3,children:[]},{code:"431223",name:"辰溪县",region_level:3,children:[]},{code:"431224",name:"溆浦县",region_level:3,children:[]},{code:"431225",name:"会同县",region_level:3,children:[]},{code:"431226",name:"麻阳苗族自治县",region_level:3,children:[]},{code:"431227",name:"新晃侗族自治县",region_level:3,children:[]},{code:"431228",name:"芷江侗族自治县",region_level:3,children:[]},{code:"431229",name:"靖州苗族侗族自治县",region_level:3,children:[]},{code:"431230",name:"通道侗族自治县",region_level:3,children:[]},{code:"431281",name:"洪江市",region_level:3,children:[]}]},{code:"4313",name:"娄底市",region_level:2,children:[{code:"431302",name:"娄星区",region_level:3,children:[]},{code:"431321",name:"双峰县",region_level:3,children:[]},{code:"431322",name:"新化县",region_level:3,children:[]},{code:"431381",name:"冷水江市",region_level:3,children:[]},{code:"431382",name:"涟源市",region_level:3,children:[]}]},{code:"4331",name:"湘西土家族苗族自治州",region_level:2,children:[{code:"433101",name:"吉首市",region_level:3,children:[]},{code:"433122",name:"泸溪县",region_level:3,children:[]},{code:"433123",name:"凤凰县",region_level:3,children:[]},{code:"433124",name:"花垣县",region_level:3,children:[]},{code:"433125",name:"保靖县",region_level:3,children:[]},{code:"433126",name:"古丈县",region_level:3,children:[]},{code:"433127",name:"永顺县",region_level:3,children:[]},{code:"433130",name:"龙山县",region_level:3,children:[]}]}]},{code:"44",name:"广东省",region_level:1,children:[{code:"4401",name:"广州市",region_level:2,children:[{code:"440103",name:"荔湾区",region_level:3,children:[]},{code:"440104",name:"越秀区",region_level:3,children:[]},{code:"440105",name:"海珠区",region_level:3,children:[]},{code:"440106",name:"天河区",region_level:3,children:[]},{code:"440111",name:"白云区",region_level:3,children:[]},{code:"440112",name:"黄埔区",region_level:3,children:[]},{code:"440113",name:"番禺区",region_level:3,children:[]},{code:"440114",name:"花都区",region_level:3,children:[]},{code:"440115",name:"南沙区",region_level:3,children:[]},{code:"440117",name:"从化区",region_level:3,children:[]},{code:"440118",name:"增城区",region_level:3,children:[]}]},{code:"4402",name:"韶关市",region_level:2,children:[{code:"440203",name:"武江区",region_level:3,children:[]},{code:"440204",name:"浈江区",region_level:3,children:[]},{code:"440205",name:"曲江区",region_level:3,children:[]},{code:"440222",name:"始兴县",region_level:3,children:[]},{code:"440224",name:"仁化县",region_level:3,children:[]},{code:"440229",name:"翁源县",region_level:3,children:[]},{code:"440232",name:"乳源瑶族自治县",region_level:3,children:[]},{code:"440233",name:"新丰县",region_level:3,children:[]},{code:"440281",name:"乐昌市",region_level:3,children:[]},{code:"440282",name:"南雄市",region_level:3,children:[]}]},{code:"4403",name:"深圳市",region_level:2,children:[{code:"440303",name:"罗湖区",region_level:3,children:[]},{code:"440304",name:"福田区",region_level:3,children:[]},{code:"440305",name:"南山区",region_level:3,children:[]},{code:"440306",name:"宝安区",region_level:3,children:[]},{code:"440307",name:"龙岗区",region_level:3,children:[]},{code:"440308",name:"盐田区",region_level:3,children:[]},{code:"440309",name:"龙华区",region_level:3,children:[]},{code:"440310",name:"坪山区",region_level:3,children:[]},{code:"440311",name:"光明区",region_level:3,children:[]}]},{code:"4404",name:"珠海市",region_level:2,children:[{code:"440402",name:"香洲区",region_level:3,children:[]},{code:"440403",name:"斗门区",region_level:3,children:[]},{code:"440404",name:"金湾区",region_level:3,children:[]}]},{code:"4405",name:"汕头市",region_level:2,children:[{code:"440507",name:"龙湖区",region_level:3,children:[]},{code:"440511",name:"金平区",region_level:3,children:[]},{code:"440512",name:"濠江区",region_level:3,children:[]},{code:"440513",name:"潮阳区",region_level:3,children:[]},{code:"440514",name:"潮南区",region_level:3,children:[]},{code:"440515",name:"澄海区",region_level:3,children:[]},{code:"440523",name:"南澳县",region_level:3,children:[]}]},{code:"4406",name:"佛山市",region_level:2,children:[{code:"440604",name:"禅城区",region_level:3,children:[]},{code:"440605",name:"南海区",region_level:3,children:[]},{code:"440606",name:"顺德区",region_level:3,children:[]},{code:"440607",name:"三水区",region_level:3,children:[]},{code:"440608",name:"高明区",region_level:3,children:[]}]},{code:"4407",name:"江门市",region_level:2,children:[{code:"440703",name:"蓬江区",region_level:3,children:[]},{code:"440704",name:"江海区",region_level:3,children:[]},{code:"440705",name:"新会区",region_level:3,children:[]},{code:"440781",name:"台山市",region_level:3,children:[]},{code:"440783",name:"开平市",region_level:3,children:[]},{code:"440784",name:"鹤山市",region_level:3,children:[]},{code:"440785",name:"恩平市",region_level:3,children:[]}]},{code:"4408",name:"湛江市",region_level:2,children:[{code:"440802",name:"赤坎区",region_level:3,children:[]},{code:"440803",name:"霞山区",region_level:3,children:[]},{code:"440804",name:"坡头区",region_level:3,children:[]},{code:"440811",name:"麻章区",region_level:3,children:[]},{code:"440823",name:"遂溪县",region_level:3,children:[]},{code:"440825",name:"徐闻县",region_level:3,children:[]},{code:"440881",name:"廉江市",region_level:3,children:[]},{code:"440882",name:"雷州市",region_level:3,children:[]},{code:"440883",name:"吴川市",region_level:3,children:[]}]},{code:"4409",name:"茂名市",region_level:2,children:[{code:"440902",name:"茂南区",region_level:3,children:[]},{code:"440904",name:"电白区",region_level:3,children:[]},{code:"440981",name:"高州市",region_level:3,children:[]},{code:"440982",name:"化州市",region_level:3,children:[]},{code:"440983",name:"信宜市",region_level:3,children:[]}]},{code:"4412",name:"肇庆市",region_level:2,children:[{code:"441202",name:"端州区",region_level:3,children:[]},{code:"441203",name:"鼎湖区",region_level:3,children:[]},{code:"441204",name:"高要区",region_level:3,children:[]},{code:"441223",name:"广宁县",region_level:3,children:[]},{code:"441224",name:"怀集县",region_level:3,children:[]},{code:"441225",name:"封开县",region_level:3,children:[]},{code:"441226",name:"德庆县",region_level:3,children:[]},{code:"441284",name:"四会市",region_level:3,children:[]}]},{code:"4413",name:"惠州市",region_level:2,children:[{code:"441302",name:"惠城区",region_level:3,children:[]},{code:"441303",name:"惠阳区",region_level:3,children:[]},{code:"441322",name:"博罗县",region_level:3,children:[]},{code:"441323",name:"惠东县",region_level:3,children:[]},{code:"441324",name:"龙门县",region_level:3,children:[]}]},{code:"4414",name:"梅州市",region_level:2,children:[{code:"441402",name:"梅江区",region_level:3,children:[]},{code:"441403",name:"梅县区",region_level:3,children:[]},{code:"441422",name:"大埔县",region_level:3,children:[]},{code:"441423",name:"丰顺县",region_level:3,children:[]},{code:"441424",name:"五华县",region_level:3,children:[]},{code:"441426",name:"平远县",region_level:3,children:[]},{code:"441427",name:"蕉岭县",region_level:3,children:[]},{code:"441481",name:"兴宁市",region_level:3,children:[]}]},{code:"4415",name:"汕尾市",region_level:2,children:[{code:"441502",name:"城区",region_level:3,children:[]},{code:"441521",name:"海丰县",region_level:3,children:[]},{code:"441523",name:"陆河县",region_level:3,children:[]},{code:"441581",name:"陆丰市",region_level:3,children:[]}]},{code:"4416",name:"河源市",region_level:2,children:[{code:"441602",name:"源城区",region_level:3,children:[]},{code:"441621",name:"紫金县",region_level:3,children:[]},{code:"441622",name:"龙川县",region_level:3,children:[]},{code:"441623",name:"连平县",region_level:3,children:[]},{code:"441624",name:"和平县",region_level:3,children:[]},{code:"441625",name:"东源县",region_level:3,children:[]}]},{code:"4417",name:"阳江市",region_level:2,children:[{code:"441702",name:"江城区",region_level:3,children:[]},{code:"441704",name:"阳东区",region_level:3,children:[]},{code:"441721",name:"阳西县",region_level:3,children:[]},{code:"441781",name:"阳春市",region_level:3,children:[]}]},{code:"4418",name:"清远市",region_level:2,children:[{code:"441802",name:"清城区",region_level:3,children:[]},{code:"441803",name:"清新区",region_level:3,children:[]},{code:"441821",name:"佛冈县",region_level:3,children:[]},{code:"441823",name:"阳山县",region_level:3,children:[]},{code:"441825",name:"连山壮族瑶族自治县",region_level:3,children:[]},{code:"441826",name:"连南瑶族自治县",region_level:3,children:[]},{code:"441881",name:"英德市",region_level:3,children:[]},{code:"441882",name:"连州市",region_level:3,children:[]}]},{code:"4419",name:"东莞市",region_level:2,children:[{code:"441900",name:"东莞市",region_level:3,children:[]}]},{code:"4420",name:"中山市",region_level:2,children:[{code:"442000",name:"中山市",region_level:3,children:[]}]},{code:"4451",name:"潮州市",region_level:2,children:[{code:"445102",name:"湘桥区",region_level:3,children:[]},{code:"445103",name:"潮安区",region_level:3,children:[]},{code:"445122",name:"饶平县",region_level:3,children:[]}]},{code:"4452",name:"揭阳市",region_level:2,children:[{code:"445202",name:"榕城区",region_level:3,children:[]},{code:"445203",name:"揭东区",region_level:3,children:[]},{code:"445222",name:"揭西县",region_level:3,children:[]},{code:"445224",name:"惠来县",region_level:3,children:[]},{code:"445281",name:"普宁市",region_level:3,children:[]}]},{code:"4453",name:"云浮市",region_level:2,children:[{code:"445302",name:"云城区",region_level:3,children:[]},{code:"445303",name:"云安区",region_level:3,children:[]},{code:"445321",name:"新兴县",region_level:3,children:[]},{code:"445322",name:"郁南县",region_level:3,children:[]},{code:"445381",name:"罗定市",region_level:3,children:[]}]}]},{code:"45",name:"广西壮族自治区",region_level:1,children:[{code:"4501",name:"南宁市",region_level:2,children:[{code:"450102",name:"兴宁区",region_level:3,children:[]},{code:"450103",name:"青秀区",region_level:3,children:[]},{code:"450105",name:"江南区",region_level:3,children:[]},{code:"450107",name:"西乡塘区",region_level:3,children:[]},{code:"450108",name:"良庆区",region_level:3,children:[]},{code:"450109",name:"邕宁区",region_level:3,children:[]},{code:"450110",name:"武鸣区",region_level:3,children:[]},{code:"450123",name:"隆安县",region_level:3,children:[]},{code:"450124",name:"马山县",region_level:3,children:[]},{code:"450125",name:"上林县",region_level:3,children:[]},{code:"450126",name:"宾阳县",region_level:3,children:[]},{code:"450127",name:"横县",region_level:3,children:[]}]},{code:"4502",name:"柳州市",region_level:2,children:[{code:"450202",name:"城中区",region_level:3,children:[]},{code:"450203",name:"鱼峰区",region_level:3,children:[]},{code:"450204",name:"柳南区",region_level:3,children:[]},{code:"450205",name:"柳北区",region_level:3,children:[]},{code:"450206",name:"柳江区",region_level:3,children:[]},{code:"450222",name:"柳城县",region_level:3,children:[]},{code:"450223",name:"鹿寨县",region_level:3,children:[]},{code:"450224",name:"融安县",region_level:3,children:[]},{code:"450225",name:"融水苗族自治县",region_level:3,children:[]},{code:"450226",name:"三江侗族自治县",region_level:3,children:[]}]},{code:"4503",name:"桂林市",region_level:2,children:[{code:"450302",name:"秀峰区",region_level:3,children:[]},{code:"450303",name:"叠彩区",region_level:3,children:[]},{code:"450304",name:"象山区",region_level:3,children:[]},{code:"450305",name:"七星区",region_level:3,children:[]},{code:"450311",name:"雁山区",region_level:3,children:[]},{code:"450312",name:"临桂区",region_level:3,children:[]},{code:"450321",name:"阳朔县",region_level:3,children:[]},{code:"450323",name:"灵川县",region_level:3,children:[]},{code:"450324",name:"全州县",region_level:3,children:[]},{code:"450325",name:"兴安县",region_level:3,children:[]},{code:"450326",name:"永福县",region_level:3,children:[]},{code:"450327",name:"灌阳县",region_level:3,children:[]},{code:"450328",name:"龙胜各族自治县",region_level:3,children:[]},{code:"450329",name:"资源县",region_level:3,children:[]},{code:"450330",name:"平乐县",region_level:3,children:[]},{code:"450332",name:"恭城瑶族自治县",region_level:3,children:[]},{code:"450381",name:"荔浦市",region_level:3,children:[]}]},{code:"4504",name:"梧州市",region_level:2,children:[{code:"450403",name:"万秀区",region_level:3,children:[]},{code:"450405",name:"长洲区",region_level:3,children:[]},{code:"450406",name:"龙圩区",region_level:3,children:[]},{code:"450421",name:"苍梧县",region_level:3,children:[]},{code:"450422",name:"藤县",region_level:3,children:[]},{code:"450423",name:"蒙山县",region_level:3,children:[]},{code:"450481",name:"岑溪市",region_level:3,children:[]}]},{code:"4505",name:"北海市",region_level:2,children:[{code:"450502",name:"海城区",region_level:3,children:[]},{code:"450503",name:"银海区",region_level:3,children:[]},{code:"450512",name:"铁山港区",region_level:3,children:[]},{code:"450521",name:"合浦县",region_level:3,children:[]}]},{code:"4506",name:"防城港市",region_level:2,children:[{code:"450602",name:"港口区",region_level:3,children:[]},{code:"450603",name:"防城区",region_level:3,children:[]},{code:"450621",name:"上思县",region_level:3,children:[]},{code:"450681",name:"东兴市",region_level:3,children:[]}]},{code:"4507",name:"钦州市",region_level:2,children:[{code:"450702",name:"钦南区",region_level:3,children:[]},{code:"450703",name:"钦北区",region_level:3,children:[]},{code:"450721",name:"灵山县",region_level:3,children:[]},{code:"450722",name:"浦北县",region_level:3,children:[]}]},{code:"4508",name:"贵港市",region_level:2,children:[{code:"450802",name:"港北区",region_level:3,children:[]},{code:"450803",name:"港南区",region_level:3,children:[]},{code:"450804",name:"覃塘区",region_level:3,children:[]},{code:"450821",name:"平南县",region_level:3,children:[]},{code:"450881",name:"桂平市",region_level:3,children:[]}]},{code:"4509",name:"玉林市",region_level:2,children:[{code:"450902",name:"玉州区",region_level:3,children:[]},{code:"450903",name:"福绵区",region_level:3,children:[]},{code:"450921",name:"容县",region_level:3,children:[]},{code:"450922",name:"陆川县",region_level:3,children:[]},{code:"450923",name:"博白县",region_level:3,children:[]},{code:"450924",name:"兴业县",region_level:3,children:[]},{code:"450981",name:"北流市",region_level:3,children:[]}]},{code:"4510",name:"百色市",region_level:2,children:[{code:"451002",name:"右江区",region_level:3,children:[]},{code:"451003",name:"田阳区",region_level:3,children:[]},{code:"451022",name:"田东县",region_level:3,children:[]},{code:"451024",name:"德保县",region_level:3,children:[]},{code:"451026",name:"那坡县",region_level:3,children:[]},{code:"451027",name:"凌云县",region_level:3,children:[]},{code:"451028",name:"乐业县",region_level:3,children:[]},{code:"451029",name:"田林县",region_level:3,children:[]},{code:"451030",name:"西林县",region_level:3,children:[]},{code:"451031",name:"隆林各族自治县",region_level:3,children:[]},{code:"451081",name:"靖西市",region_level:3,children:[]},{code:"451082",name:"平果市",region_level:3,children:[]}]},{code:"4511",name:"贺州市",region_level:2,children:[{code:"451102",name:"八步区",region_level:3,children:[]},{code:"451103",name:"平桂区",region_level:3,children:[]},{code:"451121",name:"昭平县",region_level:3,children:[]},{code:"451122",name:"钟山县",region_level:3,children:[]},{code:"451123",name:"富川瑶族自治县",region_level:3,children:[]}]},{code:"4512",name:"河池市",region_level:2,children:[{code:"451202",name:"金城江区",region_level:3,children:[]},{code:"451203",name:"宜州区",region_level:3,children:[]},{code:"451221",name:"南丹县",region_level:3,children:[]},{code:"451222",name:"天峨县",region_level:3,children:[]},{code:"451223",name:"凤山县",region_level:3,children:[]},{code:"451224",name:"东兰县",region_level:3,children:[]},{code:"451225",name:"罗城仫佬族自治县",region_level:3,children:[]},{code:"451226",name:"环江毛南族自治县",region_level:3,children:[]},{code:"451227",name:"巴马瑶族自治县",region_level:3,children:[]},{code:"451228",name:"都安瑶族自治县",region_level:3,children:[]},{code:"451229",name:"大化瑶族自治县",region_level:3,children:[]}]},{code:"4513",name:"来宾市",region_level:2,children:[{code:"451302",name:"兴宾区",region_level:3,children:[]},{code:"451321",name:"忻城县",region_level:3,children:[]},{code:"451322",name:"象州县",region_level:3,children:[]},{code:"451323",name:"武宣县",region_level:3,children:[]},{code:"451324",name:"金秀瑶族自治县",region_level:3,children:[]},{code:"451381",name:"合山市",region_level:3,children:[]}]},{code:"4514",name:"崇左市",region_level:2,children:[{code:"451402",name:"江州区",region_level:3,children:[]},{code:"451421",name:"扶绥县",region_level:3,children:[]},{code:"451422",name:"宁明县",region_level:3,children:[]},{code:"451423",name:"龙州县",region_level:3,children:[]},{code:"451424",name:"大新县",region_level:3,children:[]},{code:"451425",name:"天等县",region_level:3,children:[]},{code:"451481",name:"凭祥市",region_level:3,children:[]}]}]},{code:"46",name:"海南省",region_level:1,children:[{code:"4601",name:"海口市",region_level:2,children:[{code:"460105",name:"秀英区",region_level:3,children:[]},{code:"460106",name:"龙华区",region_level:3,children:[]},{code:"460107",name:"琼山区",region_level:3,children:[]},{code:"460108",name:"美兰区",region_level:3,children:[]}]},{code:"4602",name:"三亚市",region_level:2,children:[{code:"460202",name:"海棠区",region_level:3,children:[]},{code:"460203",name:"吉阳区",region_level:3,children:[]},{code:"460204",name:"天涯区",region_level:3,children:[]},{code:"460205",name:"崖州区",region_level:3,children:[]}]},{code:"4603",name:"三沙市",region_level:2,children:[{code:"460300",name:"三沙市",region_level:3,children:[]}]},{code:"4604",name:"儋州市",region_level:2,children:[{code:"460400",name:"儋州市",region_level:3,children:[]}]},{code:"4690",name:"省直辖县级行政区",region_level:2,children:[{code:"469001",name:"五指山市",region_level:3,children:[]},{code:"469002",name:"琼海市",region_level:3,children:[]},{code:"469005",name:"文昌市",region_level:3,children:[]},{code:"469006",name:"万宁市",region_level:3,children:[]},{code:"469007",name:"东方市",region_level:3,children:[]},{code:"469021",name:"定安县",region_level:3,children:[]},{code:"469022",name:"屯昌县",region_level:3,children:[]},{code:"469023",name:"澄迈县",region_level:3,children:[]},{code:"469024",name:"临高县",region_level:3,children:[]},{code:"469025",name:"白沙黎族自治县",region_level:3,children:[]},{code:"469026",name:"昌江黎族自治县",region_level:3,children:[]},{code:"469027",name:"乐东黎族自治县",region_level:3,children:[]},{code:"469028",name:"陵水黎族自治县",region_level:3,children:[]},{code:"469029",name:"保亭黎族苗族自治县",region_level:3,children:[]},{code:"469030",name:"琼中黎族苗族自治县",region_level:3,children:[]}]}]},{code:"50",name:"重庆市",region_level:1,children:[{code:"5001",name:"重庆市",region_level:2,children:[{code:"500101",name:"万州区",region_level:3,children:[]},{code:"500102",name:"涪陵区",region_level:3,children:[]},{code:"500103",name:"渝中区",region_level:3,children:[]},{code:"500104",name:"大渡口区",region_level:3,children:[]},{code:"500105",name:"江北区",region_level:3,children:[]},{code:"500106",name:"沙坪坝区",region_level:3,children:[]},{code:"500107",name:"九龙坡区",region_level:3,children:[]},{code:"500108",name:"南岸区",region_level:3,children:[]},{code:"500109",name:"北碚区",region_level:3,children:[]},{code:"500110",name:"綦江区",region_level:3,children:[]},{code:"500111",name:"大足区",region_level:3,children:[]},{code:"500112",name:"渝北区",region_level:3,children:[]},{code:"500113",name:"巴南区",region_level:3,children:[]},{code:"500114",name:"黔江区",region_level:3,children:[]},{code:"500115",name:"长寿区",region_level:3,children:[]},{code:"500116",name:"江津区",region_level:3,children:[]},{code:"500117",name:"合川区",region_level:3,children:[]},{code:"500118",name:"永川区",region_level:3,children:[]},{code:"500119",name:"南川区",region_level:3,children:[]},{code:"500120",name:"璧山区",region_level:3,children:[]},{code:"500151",name:"铜梁区",region_level:3,children:[]},{code:"500152",name:"潼南区",region_level:3,children:[]},{code:"500153",name:"荣昌区",region_level:3,children:[]},{code:"500154",name:"开州区",region_level:3,children:[]},{code:"500155",name:"梁平区",region_level:3,children:[]},{code:"500156",name:"武隆区",region_level:3,children:[]}]},{code:"5002",name:"重庆市",region_level:2,children:[{code:"500229",name:"城口县",region_level:3,children:[]},{code:"500230",name:"丰都县",region_level:3,children:[]},{code:"500231",name:"垫江县",region_level:3,children:[]},{code:"500233",name:"忠县",region_level:3,children:[]},{code:"500235",name:"云阳县",region_level:3,children:[]},{code:"500236",name:"奉节县",region_level:3,children:[]},{code:"500237",name:"巫山县",region_level:3,children:[]},{code:"500238",name:"巫溪县",region_level:3,children:[]},{code:"500240",name:"石柱土家族自治县",region_level:3,children:[]},{code:"500241",name:"秀山土家族苗族自治县",region_level:3,children:[]},{code:"500242",name:"酉阳土家族苗族自治县",region_level:3,children:[]},{code:"500243",name:"彭水苗族土家族自治县",region_level:3,children:[]}]}]},{code:"51",name:"四川省",region_level:1,children:[{code:"5101",name:"成都市",region_level:2,children:[{code:"510104",name:"锦江区",region_level:3,children:[]},{code:"510105",name:"青羊区",region_level:3,children:[]},{code:"510106",name:"金牛区",region_level:3,children:[]},{code:"510107",name:"武侯区",region_level:3,children:[]},{code:"510108",name:"成华区",region_level:3,children:[]},{code:"510112",name:"龙泉驿区",region_level:3,children:[]},{code:"510113",name:"青白江区",region_level:3,children:[]},{code:"510114",name:"新都区",region_level:3,children:[]},{code:"510115",name:"温江区",region_level:3,children:[]},{code:"510116",name:"双流区",region_level:3,children:[]},{code:"510117",name:"郫都区",region_level:3,children:[]},{code:"510121",name:"金堂县",region_level:3,children:[]},{code:"510129",name:"大邑县",region_level:3,children:[]},{code:"510131",name:"蒲江县",region_level:3,children:[]},{code:"510132",name:"新津县",region_level:3,children:[]},{code:"510181",name:"都江堰市",region_level:3,children:[]},{code:"510182",name:"彭州市",region_level:3,children:[]},{code:"510183",name:"邛崃市",region_level:3,children:[]},{code:"510184",name:"崇州市",region_level:3,children:[]},{code:"510185",name:"简阳市",region_level:3,children:[]}]},{code:"5103",name:"自贡市",region_level:2,children:[{code:"510302",name:"自流井区",region_level:3,children:[]},{code:"510303",name:"贡井区",region_level:3,children:[]},{code:"510304",name:"大安区",region_level:3,children:[]},{code:"510311",name:"沿滩区",region_level:3,children:[]},{code:"510321",name:"荣县",region_level:3,children:[]},{code:"510322",name:"富顺县",region_level:3,children:[]}]},{code:"5104",name:"攀枝花市",region_level:2,children:[{code:"510402",name:"东区",region_level:3,children:[]},{code:"510403",name:"西区",region_level:3,children:[]},{code:"510411",name:"仁和区",region_level:3,children:[]},{code:"510421",name:"米易县",region_level:3,children:[]},{code:"510422",name:"盐边县",region_level:3,children:[]}]},{code:"5105",name:"泸州市",region_level:2,children:[{code:"510502",name:"江阳区",region_level:3,children:[]},{code:"510503",name:"纳溪区",region_level:3,children:[]},{code:"510504",name:"龙马潭区",region_level:3,children:[]},{code:"510521",name:"泸县",region_level:3,children:[]},{code:"510522",name:"合江县",region_level:3,children:[]},{code:"510524",name:"叙永县",region_level:3,children:[]},{code:"510525",name:"古蔺县",region_level:3,children:[]}]},{code:"5106",name:"德阳市",region_level:2,children:[{code:"510603",name:"旌阳区",region_level:3,children:[]},{code:"510604",name:"罗江区",region_level:3,children:[]},{code:"510623",name:"中江县",region_level:3,children:[]},{code:"510681",name:"广汉市",region_level:3,children:[]},{code:"510682",name:"什邡市",region_level:3,children:[]},{code:"510683",name:"绵竹市",region_level:3,children:[]}]},{code:"5107",name:"绵阳市",region_level:2,children:[{code:"510703",name:"涪城区",region_level:3,children:[]},{code:"510704",name:"游仙区",region_level:3,children:[]},{code:"510705",name:"安州区",region_level:3,children:[]},{code:"510722",name:"三台县",region_level:3,children:[]},{code:"510723",name:"盐亭县",region_level:3,children:[]},{code:"510725",name:"梓潼县",region_level:3,children:[]},{code:"510726",name:"北川羌族自治县",region_level:3,children:[]},{code:"510727",name:"平武县",region_level:3,children:[]},{code:"510781",name:"江油市",region_level:3,children:[]}]},{code:"5108",name:"广元市",region_level:2,children:[{code:"510802",name:"利州区",region_level:3,children:[]},{code:"510811",name:"昭化区",region_level:3,children:[]},{code:"510812",name:"朝天区",region_level:3,children:[]},{code:"510821",name:"旺苍县",region_level:3,children:[]},{code:"510822",name:"青川县",region_level:3,children:[]},{code:"510823",name:"剑阁县",region_level:3,children:[]},{code:"510824",name:"苍溪县",region_level:3,children:[]}]},{code:"5109",name:"遂宁市",region_level:2,children:[{code:"510903",name:"船山区",region_level:3,children:[]},{code:"510904",name:"安居区",region_level:3,children:[]},{code:"510921",name:"蓬溪县",region_level:3,children:[]},{code:"510923",name:"大英县",region_level:3,children:[]},{code:"510981",name:"射洪市",region_level:3,children:[]}]},{code:"5110",name:"内江市",region_level:2,children:[{code:"511002",name:"市中区",region_level:3,children:[]},{code:"511011",name:"东兴区",region_level:3,children:[]},{code:"511024",name:"威远县",region_level:3,children:[]},{code:"511025",name:"资中县",region_level:3,children:[]},{code:"511083",name:"隆昌市",region_level:3,children:[]}]},{code:"5111",name:"乐山市",region_level:2,children:[{code:"511102",name:"市中区",region_level:3,children:[]},{code:"511111",name:"沙湾区",region_level:3,children:[]},{code:"511112",name:"五通桥区",region_level:3,children:[]},{code:"511113",name:"金口河区",region_level:3,children:[]},{code:"511123",name:"犍为县",region_level:3,children:[]},{code:"511124",name:"井研县",region_level:3,children:[]},{code:"511126",name:"夹江县",region_level:3,children:[]},{code:"511129",name:"沐川县",region_level:3,children:[]},{code:"511132",name:"峨边彝族自治县",region_level:3,children:[]},{code:"511133",name:"马边彝族自治县",region_level:3,children:[]},{code:"511181",name:"峨眉山市",region_level:3,children:[]}]},{code:"5113",name:"南充市",region_level:2,children:[{code:"511302",name:"顺庆区",region_level:3,children:[]},{code:"511303",name:"高坪区",region_level:3,children:[]},{code:"511304",name:"嘉陵区",region_level:3,children:[]},{code:"511321",name:"南部县",region_level:3,children:[]},{code:"511322",name:"营山县",region_level:3,children:[]},{code:"511323",name:"蓬安县",region_level:3,children:[]},{code:"511324",name:"仪陇县",region_level:3,children:[]},{code:"511325",name:"西充县",region_level:3,children:[]},{code:"511381",name:"阆中市",region_level:3,children:[]}]},{code:"5114",name:"眉山市",region_level:2,children:[{code:"511402",name:"东坡区",region_level:3,children:[]},{code:"511403",name:"彭山区",region_level:3,children:[]},{code:"511421",name:"仁寿县",region_level:3,children:[]},{code:"511423",name:"洪雅县",region_level:3,children:[]},{code:"511424",name:"丹棱县",region_level:3,children:[]},{code:"511425",name:"青神县",region_level:3,children:[]}]},{code:"5115",name:"宜宾市",region_level:2,children:[{code:"511502",name:"翠屏区",region_level:3,children:[]},{code:"511503",name:"南溪区",region_level:3,children:[]},{code:"511504",name:"叙州区",region_level:3,children:[]},{code:"511523",name:"江安县",region_level:3,children:[]},{code:"511524",name:"长宁县",region_level:3,children:[]},{code:"511525",name:"高县",region_level:3,children:[]},{code:"511526",name:"珙县",region_level:3,children:[]},{code:"511527",name:"筠连县",region_level:3,children:[]},{code:"511528",name:"兴文县",region_level:3,children:[]},{code:"511529",name:"屏山县",region_level:3,children:[]}]},{code:"5116",name:"广安市",region_level:2,children:[{code:"511602",name:"广安区",region_level:3,children:[]},{code:"511603",name:"前锋区",region_level:3,children:[]},{code:"511621",name:"岳池县",region_level:3,children:[]},{code:"511622",name:"武胜县",region_level:3,children:[]},{code:"511623",name:"邻水县",region_level:3,children:[]},{code:"511681",name:"华蓥市",region_level:3,children:[]}]},{code:"5117",name:"达州市",region_level:2,children:[{code:"511702",name:"通川区",region_level:3,children:[]},{code:"511703",name:"达川区",region_level:3,children:[]},{code:"511722",name:"宣汉县",region_level:3,children:[]},{code:"511723",name:"开江县",region_level:3,children:[]},{code:"511724",name:"大竹县",region_level:3,children:[]},{code:"511725",name:"渠县",region_level:3,children:[]},{code:"511781",name:"万源市",region_level:3,children:[]}]},{code:"5118",name:"雅安市",region_level:2,children:[{code:"511802",name:"雨城区",region_level:3,children:[]},{code:"511803",name:"名山区",region_level:3,children:[]},{code:"511822",name:"荥经县",region_level:3,children:[]},{code:"511823",name:"汉源县",region_level:3,children:[]},{code:"511824",name:"石棉县",region_level:3,children:[]},{code:"511825",name:"天全县",region_level:3,children:[]},{code:"511826",name:"芦山县",region_level:3,children:[]},{code:"511827",name:"宝兴县",region_level:3,children:[]}]},{code:"5119",name:"巴中市",region_level:2,children:[{code:"511902",name:"巴州区",region_level:3,children:[]},{code:"511903",name:"恩阳区",region_level:3,children:[]},{code:"511921",name:"通江县",region_level:3,children:[]},{code:"511922",name:"南江县",region_level:3,children:[]},{code:"511923",name:"平昌县",region_level:3,children:[]}]},{code:"5120",name:"资阳市",region_level:2,children:[{code:"512002",name:"雁江区",region_level:3,children:[]},{code:"512021",name:"安岳县",region_level:3,children:[]},{code:"512022",name:"乐至县",region_level:3,children:[]}]},{code:"5132",name:"阿坝藏族羌族自治州",region_level:2,children:[{code:"513201",name:"马尔康市",region_level:3,children:[]},{code:"513221",name:"汶川县",region_level:3,children:[]},{code:"513222",name:"理县",region_level:3,children:[]},{code:"513223",name:"茂县",region_level:3,children:[]},{code:"513224",name:"松潘县",region_level:3,children:[]},{code:"513225",name:"九寨沟县",region_level:3,children:[]},{code:"513226",name:"金川县",region_level:3,children:[]},{code:"513227",name:"小金县",region_level:3,children:[]},{code:"513228",name:"黑水县",region_level:3,children:[]},{code:"513230",name:"壤塘县",region_level:3,children:[]},{code:"513231",name:"阿坝县",region_level:3,children:[]},{code:"513232",name:"若尔盖县",region_level:3,children:[]},{code:"513233",name:"红原县",region_level:3,children:[]}]},{code:"5133",name:"甘孜藏族自治州",region_level:2,children:[{code:"513301",name:"康定市",region_level:3,children:[]},{code:"513322",name:"泸定县",region_level:3,children:[]},{code:"513323",name:"丹巴县",region_level:3,children:[]},{code:"513324",name:"九龙县",region_level:3,children:[]},{code:"513325",name:"雅江县",region_level:3,children:[]},{code:"513326",name:"道孚县",region_level:3,children:[]},{code:"513327",name:"炉霍县",region_level:3,children:[]},{code:"513328",name:"甘孜县",region_level:3,children:[]},{code:"513329",name:"新龙县",region_level:3,children:[]},{code:"513330",name:"德格县",region_level:3,children:[]},{code:"513331",name:"白玉县",region_level:3,children:[]},{code:"513332",name:"石渠县",region_level:3,children:[]},{code:"513333",name:"色达县",region_level:3,children:[]},{code:"513334",name:"理塘县",region_level:3,children:[]},{code:"513335",name:"巴塘县",region_level:3,children:[]},{code:"513336",name:"乡城县",region_level:3,children:[]},{code:"513337",name:"稻城县",region_level:3,children:[]},{code:"513338",name:"得荣县",region_level:3,children:[]}]},{code:"5134",name:"凉山彝族自治州",region_level:2,children:[{code:"513401",name:"西昌市",region_level:3,children:[]},{code:"513422",name:"木里藏族自治县",region_level:3,children:[]},{code:"513423",name:"盐源县",region_level:3,children:[]},{code:"513424",name:"德昌县",region_level:3,children:[]},{code:"513425",name:"会理县",region_level:3,children:[]},{code:"513426",name:"会东县",region_level:3,children:[]},{code:"513427",name:"宁南县",region_level:3,children:[]},{code:"513428",name:"普格县",region_level:3,children:[]},{code:"513429",name:"布拖县",region_level:3,children:[]},{code:"513430",name:"金阳县",region_level:3,children:[]},{code:"513431",name:"昭觉县",region_level:3,children:[]},{code:"513432",name:"喜德县",region_level:3,children:[]},{code:"513433",name:"冕宁县",region_level:3,children:[]},{code:"513434",name:"越西县",region_level:3,children:[]},{code:"513435",name:"甘洛县",region_level:3,children:[]},{code:"513436",name:"美姑县",region_level:3,children:[]},{code:"513437",name:"雷波县",region_level:3,children:[]}]}]},{code:"52",name:"贵州省",region_level:1,children:[{code:"5201",name:"贵阳市",region_level:2,children:[{code:"520102",name:"南明区",region_level:3,children:[]},{code:"520103",name:"云岩区",region_level:3,children:[]},{code:"520111",name:"花溪区",region_level:3,children:[]},{code:"520112",name:"乌当区",region_level:3,children:[]},{code:"520113",name:"白云区",region_level:3,children:[]},{code:"520115",name:"观山湖区",region_level:3,children:[]},{code:"520121",name:"开阳县",region_level:3,children:[]},{code:"520122",name:"息烽县",region_level:3,children:[]},{code:"520123",name:"修文县",region_level:3,children:[]},{code:"520181",name:"清镇市",region_level:3,children:[]}]},{code:"5202",name:"六盘水市",region_level:2,children:[{code:"520201",name:"钟山区",region_level:3,children:[]},{code:"520203",name:"六枝特区",region_level:3,children:[]},{code:"520221",name:"水城县",region_level:3,children:[]},{code:"520281",name:"盘州市",region_level:3,children:[]}]},{code:"5203",name:"遵义市",region_level:2,children:[{code:"520302",name:"红花岗区",region_level:3,children:[]},{code:"520303",name:"汇川区",region_level:3,children:[]},{code:"520304",name:"播州区",region_level:3,children:[]},{code:"520322",name:"桐梓县",region_level:3,children:[]},{code:"520323",name:"绥阳县",region_level:3,children:[]},{code:"520324",name:"正安县",region_level:3,children:[]},{code:"520325",name:"道真仡佬族苗族自治县",region_level:3,children:[]},{code:"520326",name:"务川仡佬族苗族自治县",region_level:3,children:[]},{code:"520327",name:"凤冈县",region_level:3,children:[]},{code:"520328",name:"湄潭县",region_level:3,children:[]},{code:"520329",name:"余庆县",region_level:3,children:[]},{code:"520330",name:"习水县",region_level:3,children:[]},{code:"520381",name:"赤水市",region_level:3,children:[]},{code:"520382",name:"仁怀市",region_level:3,children:[]}]},{code:"5204",name:"安顺市",region_level:2,children:[{code:"520402",name:"西秀区",region_level:3,children:[]},{code:"520403",name:"平坝区",region_level:3,children:[]},{code:"520422",name:"普定县",region_level:3,children:[]},{code:"520423",name:"镇宁布依族苗族自治县",region_level:3,children:[]},{code:"520424",name:"关岭布依族苗族自治县",region_level:3,children:[]},{code:"520425",name:"紫云苗族布依族自治县",region_level:3,children:[]}]},{code:"5205",name:"毕节市",region_level:2,children:[{code:"520502",name:"七星关区",region_level:3,children:[]},{code:"520521",name:"大方县",region_level:3,children:[]},{code:"520522",name:"黔西县",region_level:3,children:[]},{code:"520523",name:"金沙县",region_level:3,children:[]},{code:"520524",name:"织金县",region_level:3,children:[]},{code:"520525",name:"纳雍县",region_level:3,children:[]},{code:"520526",name:"威宁彝族回族苗族自治县",region_level:3,children:[]},{code:"520527",name:"赫章县",region_level:3,children:[]}]},{code:"5206",name:"铜仁市",region_level:2,children:[{code:"520602",name:"碧江区",region_level:3,children:[]},{code:"520603",name:"万山区",region_level:3,children:[]},{code:"520621",name:"江口县",region_level:3,children:[]},{code:"520622",name:"玉屏侗族自治县",region_level:3,children:[]},{code:"520623",name:"石阡县",region_level:3,children:[]},{code:"520624",name:"思南县",region_level:3,children:[]},{code:"520625",name:"印江土家族苗族自治县",region_level:3,children:[]},{code:"520626",name:"德江县",region_level:3,children:[]},{code:"520627",name:"沿河土家族自治县",region_level:3,children:[]},{code:"520628",name:"松桃苗族自治县",region_level:3,children:[]}]},{code:"5223",name:"黔西南布依族苗族自治州",region_level:2,children:[{code:"522301",name:"兴义市",region_level:3,children:[]},{code:"522302",name:"兴仁市",region_level:3,children:[]},{code:"522323",name:"普安县",region_level:3,children:[]},{code:"522324",name:"晴隆县",region_level:3,children:[]},{code:"522325",name:"贞丰县",region_level:3,children:[]},{code:"522326",name:"望谟县",region_level:3,children:[]},{code:"522327",name:"册亨县",region_level:3,children:[]},{code:"522328",name:"安龙县",region_level:3,children:[]}]},{code:"5226",name:"黔东南苗族侗族自治州",region_level:2,children:[{code:"522601",name:"凯里市",region_level:3,children:[]},{code:"522622",name:"黄平县",region_level:3,children:[]},{code:"522623",name:"施秉县",region_level:3,children:[]},{code:"522624",name:"三穗县",region_level:3,children:[]},{code:"522625",name:"镇远县",region_level:3,children:[]},{code:"522626",name:"岑巩县",region_level:3,children:[]},{code:"522627",name:"天柱县",region_level:3,children:[]},{code:"522628",name:"锦屏县",region_level:3,children:[]},{code:"522629",name:"剑河县",region_level:3,children:[]},{code:"522630",name:"台江县",region_level:3,children:[]},{code:"522631",name:"黎平县",region_level:3,children:[]},{code:"522632",name:"榕江县",region_level:3,children:[]},{code:"522633",name:"从江县",region_level:3,children:[]},{code:"522634",name:"雷山县",region_level:3,children:[]},{code:"522635",name:"麻江县",region_level:3,children:[]},{code:"522636",name:"丹寨县",region_level:3,children:[]}]},{code:"5227",name:"黔南布依族苗族自治州",region_level:2,children:[{code:"522701",name:"都匀市",region_level:3,children:[]},{code:"522702",name:"福泉市",region_level:3,children:[]},{code:"522722",name:"荔波县",region_level:3,children:[]},{code:"522723",name:"贵定县",region_level:3,children:[]},{code:"522725",name:"瓮安县",region_level:3,children:[]},{code:"522726",name:"独山县",region_level:3,children:[]},{code:"522727",name:"平塘县",region_level:3,children:[]},{code:"522728",name:"罗甸县",region_level:3,children:[]},{code:"522729",name:"长顺县",region_level:3,children:[]},{code:"522730",name:"龙里县",region_level:3,children:[]},{code:"522731",name:"惠水县",region_level:3,children:[]},{code:"522732",name:"三都水族自治县",region_level:3,children:[]}]}]},{code:"53",name:"云南省",region_level:1,children:[{code:"5301",name:"昆明市",region_level:2,children:[{code:"530102",name:"五华区",region_level:3,children:[]},{code:"530103",name:"盘龙区",region_level:3,children:[]},{code:"530111",name:"官渡区",region_level:3,children:[]},{code:"530112",name:"西山区",region_level:3,children:[]},{code:"530113",name:"东川区",region_level:3,children:[]},{code:"530114",name:"呈贡区",region_level:3,children:[]},{code:"530115",name:"晋宁区",region_level:3,children:[]},{code:"530124",name:"富民县",region_level:3,children:[]},{code:"530125",name:"宜良县",region_level:3,children:[]},{code:"530126",name:"石林彝族自治县",region_level:3,children:[]},{code:"530127",name:"嵩明县",region_level:3,children:[]},{code:"530128",name:"禄劝彝族苗族自治县",region_level:3,children:[]},{code:"530129",name:"寻甸回族彝族自治县",region_level:3,children:[]},{code:"530181",name:"安宁市",region_level:3,children:[]}]},{code:"5303",name:"曲靖市",region_level:2,children:[{code:"530302",name:"麒麟区",region_level:3,children:[]},{code:"530303",name:"沾益区",region_level:3,children:[]},{code:"530304",name:"马龙区",region_level:3,children:[]},{code:"530322",name:"陆良县",region_level:3,children:[]},{code:"530323",name:"师宗县",region_level:3,children:[]},{code:"530324",name:"罗平县",region_level:3,children:[]},{code:"530325",name:"富源县",region_level:3,children:[]},{code:"530326",name:"会泽县",region_level:3,children:[]},{code:"530381",name:"宣威市",region_level:3,children:[]}]},{code:"5304",name:"玉溪市",region_level:2,children:[{code:"530402",name:"红塔区",region_level:3,children:[]},{code:"530403",name:"江川区",region_level:3,children:[]},{code:"530423",name:"通海县",region_level:3,children:[]},{code:"530424",name:"华宁县",region_level:3,children:[]},{code:"530425",name:"易门县",region_level:3,children:[]},{code:"530426",name:"峨山彝族自治县",region_level:3,children:[]},{code:"530427",name:"新平彝族傣族自治县",region_level:3,children:[]},{code:"530428",name:"元江哈尼族彝族傣族自治县",region_level:3,children:[]},{code:"530481",name:"澄江市",region_level:3,children:[]}]},{code:"5305",name:"保山市",region_level:2,children:[{code:"530502",name:"隆阳区",region_level:3,children:[]},{code:"530521",name:"施甸县",region_level:3,children:[]},{code:"530523",name:"龙陵县",region_level:3,children:[]},{code:"530524",name:"昌宁县",region_level:3,children:[]},{code:"530581",name:"腾冲市",region_level:3,children:[]}]},{code:"5306",name:"昭通市",region_level:2,children:[{code:"530602",name:"昭阳区",region_level:3,children:[]},{code:"530621",name:"鲁甸县",region_level:3,children:[]},{code:"530622",name:"巧家县",region_level:3,children:[]},{code:"530623",name:"盐津县",region_level:3,children:[]},{code:"530624",name:"大关县",region_level:3,children:[]},{code:"530625",name:"永善县",region_level:3,children:[]},{code:"530626",name:"绥江县",region_level:3,children:[]},{code:"530627",name:"镇雄县",region_level:3,children:[]},{code:"530628",name:"彝良县",region_level:3,children:[]},{code:"530629",name:"威信县",region_level:3,children:[]},{code:"530681",name:"水富市",region_level:3,children:[]}]},{code:"5307",name:"丽江市",region_level:2,children:[{code:"530702",name:"古城区",region_level:3,children:[]},{code:"530721",name:"玉龙纳西族自治县",region_level:3,children:[]},{code:"530722",name:"永胜县",region_level:3,children:[]},{code:"530723",name:"华坪县",region_level:3,children:[]},{code:"530724",name:"宁蒗彝族自治县",region_level:3,children:[]}]},{code:"5308",name:"普洱市",region_level:2,children:[{code:"530802",name:"思茅区",region_level:3,children:[]},{code:"530821",name:"宁洱哈尼族彝族自治县",region_level:3,children:[]},{code:"530822",name:"墨江哈尼族自治县",region_level:3,children:[]},{code:"530823",name:"景东彝族自治县",region_level:3,children:[]},{code:"530824",name:"景谷傣族彝族自治县",region_level:3,children:[]},{code:"530825",name:"镇沅彝族哈尼族拉祜族自治县",region_level:3,children:[]},{code:"530826",name:"江城哈尼族彝族自治县",region_level:3,children:[]},{code:"530827",name:"孟连傣族拉祜族佤族自治县",region_level:3,children:[]},{code:"530828",name:"澜沧拉祜族自治县",region_level:3,children:[]},{code:"530829",name:"西盟佤族自治县",region_level:3,children:[]}]},{code:"5309",name:"临沧市",region_level:2,children:[{code:"530902",name:"临翔区",region_level:3,children:[]},{code:"530921",name:"凤庆县",region_level:3,children:[]},{code:"530922",name:"云县",region_level:3,children:[]},{code:"530923",name:"永德县",region_level:3,children:[]},{code:"530924",name:"镇康县",region_level:3,children:[]},{code:"530925",name:"双江拉祜族佤族布朗族傣族自治县",region_level:3,children:[]},{code:"530926",name:"耿马傣族佤族自治县",region_level:3,children:[]},{code:"530927",name:"沧源佤族自治县",region_level:3,children:[]}]},{code:"5323",name:"楚雄彝族自治州",region_level:2,children:[{code:"532301",name:"楚雄市",region_level:3,children:[]},{code:"532322",name:"双柏县",region_level:3,children:[]},{code:"532323",name:"牟定县",region_level:3,children:[]},{code:"532324",name:"南华县",region_level:3,children:[]},{code:"532325",name:"姚安县",region_level:3,children:[]},{code:"532326",name:"大姚县",region_level:3,children:[]},{code:"532327",name:"永仁县",region_level:3,children:[]},{code:"532328",name:"元谋县",region_level:3,children:[]},{code:"532329",name:"武定县",region_level:3,children:[]},{code:"532331",name:"禄丰县",region_level:3,children:[]}]},{code:"5325",name:"红河哈尼族彝族自治州",region_level:2,children:[{code:"532501",name:"个旧市",region_level:3,children:[]},{code:"532502",name:"开远市",region_level:3,children:[]},{code:"532503",name:"蒙自市",region_level:3,children:[]},{code:"532504",name:"弥勒市",region_level:3,children:[]},{code:"532523",name:"屏边苗族自治县",region_level:3,children:[]},{code:"532524",name:"建水县",region_level:3,children:[]},{code:"532525",name:"石屏县",region_level:3,children:[]},{code:"532527",name:"泸西县",region_level:3,children:[]},{code:"532528",name:"元阳县",region_level:3,children:[]},{code:"532529",name:"红河县",region_level:3,children:[]},{code:"532530",name:"金平苗族瑶族傣族自治县",region_level:3,children:[]},{code:"532531",name:"绿春县",region_level:3,children:[]},{code:"532532",name:"河口瑶族自治县",region_level:3,children:[]}]},{code:"5326",name:"文山壮族苗族自治州",region_level:2,children:[{code:"532601",name:"文山市",region_level:3,children:[]},{code:"532622",name:"砚山县",region_level:3,children:[]},{code:"532623",name:"西畴县",region_level:3,children:[]},{code:"532624",name:"麻栗坡县",region_level:3,children:[]},{code:"532625",name:"马关县",region_level:3,children:[]},{code:"532626",name:"丘北县",region_level:3,children:[]},{code:"532627",name:"广南县",region_level:3,children:[]},{code:"532628",name:"富宁县",region_level:3,children:[]}]},{code:"5328",name:"西双版纳傣族自治州",region_level:2,children:[{code:"532801",name:"景洪市",region_level:3,children:[]},{code:"532822",name:"勐海县",region_level:3,children:[]},{code:"532823",name:"勐腊县",region_level:3,children:[]}]},{code:"5329",name:"大理白族自治州",region_level:2,children:[{code:"532901",name:"大理市",region_level:3,children:[]},{code:"532922",name:"漾濞彝族自治县",region_level:3,children:[]},{code:"532923",name:"祥云县",region_level:3,children:[]},{code:"532924",name:"宾川县",region_level:3,children:[]},{code:"532925",name:"弥渡县",region_level:3,children:[]},{code:"532926",name:"南涧彝族自治县",region_level:3,children:[]},{code:"532927",name:"巍山彝族回族自治县",region_level:3,children:[]},{code:"532928",name:"永平县",region_level:3,children:[]},{code:"532929",name:"云龙县",region_level:3,children:[]},{code:"532930",name:"洱源县",region_level:3,children:[]},{code:"532931",name:"剑川县",region_level:3,children:[]},{code:"532932",name:"鹤庆县",region_level:3,children:[]}]},{code:"5331",name:"德宏傣族景颇族自治州",region_level:2,children:[{code:"533102",name:"瑞丽市",region_level:3,children:[]},{code:"533103",name:"芒市",region_level:3,children:[]},{code:"533122",name:"梁河县",region_level:3,children:[]},{code:"533123",name:"盈江县",region_level:3,children:[]},{code:"533124",name:"陇川县",region_level:3,children:[]}]},{code:"5333",name:"怒江傈僳族自治州",region_level:2,children:[{code:"533301",name:"泸水市",region_level:3,children:[]},{code:"533323",name:"福贡县",region_level:3,children:[]},{code:"533324",name:"贡山独龙族怒族自治县",region_level:3,children:[]},{code:"533325",name:"兰坪白族普米族自治县",region_level:3,children:[]}]},{code:"5334",name:"迪庆藏族自治州",region_level:2,children:[{code:"533401",name:"香格里拉市",region_level:3,children:[]},{code:"533422",name:"德钦县",region_level:3,children:[]},{code:"533423",name:"维西傈僳族自治县",region_level:3,children:[]}]}]},{code:"54",name:"西藏自治区",region_level:1,children:[{code:"5401",name:"拉萨市",region_level:2,children:[{code:"540102",name:"城关区",region_level:3,children:[]},{code:"540103",name:"堆龙德庆区",region_level:3,children:[]},{code:"540104",name:"达孜区",region_level:3,children:[]},{code:"540121",name:"林周县",region_level:3,children:[]},{code:"540122",name:"当雄县",region_level:3,children:[]},{code:"540123",name:"尼木县",region_level:3,children:[]},{code:"540124",name:"曲水县",region_level:3,children:[]},{code:"540127",name:"墨竹工卡县",region_level:3,children:[]}]},{code:"5402",name:"日喀则市",region_level:2,children:[{code:"540202",name:"桑珠孜区",region_level:3,children:[]},{code:"540221",name:"南木林县",region_level:3,children:[]},{code:"540222",name:"江孜县",region_level:3,children:[]},{code:"540223",name:"定日县",region_level:3,children:[]},{code:"540224",name:"萨迦县",region_level:3,children:[]},{code:"540225",name:"拉孜县",region_level:3,children:[]},{code:"540226",name:"昂仁县",region_level:3,children:[]},{code:"540227",name:"谢通门县",region_level:3,children:[]},{code:"540228",name:"白朗县",region_level:3,children:[]},{code:"540229",name:"仁布县",region_level:3,children:[]},{code:"540230",name:"康马县",region_level:3,children:[]},{code:"540231",name:"定结县",region_level:3,children:[]},{code:"540232",name:"仲巴县",region_level:3,children:[]},{code:"540233",name:"亚东县",region_level:3,children:[]},{code:"540234",name:"吉隆县",region_level:3,children:[]},{code:"540235",name:"聂拉木县",region_level:3,children:[]},{code:"540236",name:"萨嘎县",region_level:3,children:[]},{code:"540237",name:"岗巴县",region_level:3,children:[]}]},{code:"5403",name:"昌都市",region_level:2,children:[{code:"540302",name:"卡若区",region_level:3,children:[]},{code:"540321",name:"江达县",region_level:3,children:[]},{code:"540322",name:"贡觉县",region_level:3,children:[]},{code:"540323",name:"类乌齐县",region_level:3,children:[]},{code:"540324",name:"丁青县",region_level:3,children:[]},{code:"540325",name:"察雅县",region_level:3,children:[]},{code:"540326",name:"八宿县",region_level:3,children:[]},{code:"540327",name:"左贡县",region_level:3,children:[]},{code:"540328",name:"芒康县",region_level:3,children:[]},{code:"540329",name:"洛隆县",region_level:3,children:[]},{code:"540330",name:"边坝县",region_level:3,children:[]}]},{code:"5404",name:"林芝市",region_level:2,children:[{code:"540402",name:"巴宜区",region_level:3,children:[]},{code:"540421",name:"工布江达县",region_level:3,children:[]},{code:"540422",name:"米林县",region_level:3,children:[]},{code:"540423",name:"墨脱县",region_level:3,children:[]},{code:"540424",name:"波密县",region_level:3,children:[]},{code:"540425",name:"察隅县",region_level:3,children:[]},{code:"540426",name:"朗县",region_level:3,children:[]}]},{code:"5405",name:"山南市",region_level:2,children:[{code:"540502",name:"乃东区",region_level:3,children:[]},{code:"540521",name:"扎囊县",region_level:3,children:[]},{code:"540522",name:"贡嘎县",region_level:3,children:[]},{code:"540523",name:"桑日县",region_level:3,children:[]},{code:"540524",name:"琼结县",region_level:3,children:[]},{code:"540525",name:"曲松县",region_level:3,children:[]},{code:"540526",name:"措美县",region_level:3,children:[]},{code:"540527",name:"洛扎县",region_level:3,children:[]},{code:"540528",name:"加查县",region_level:3,children:[]},{code:"540529",name:"隆子县",region_level:3,children:[]},{code:"540530",name:"错那县",region_level:3,children:[]},{code:"540531",name:"浪卡子县",region_level:3,children:[]}]},{code:"5406",name:"那曲市",region_level:2,children:[{code:"540602",name:"色尼区",region_level:3,children:[]},{code:"540621",name:"嘉黎县",region_level:3,children:[]},{code:"540622",name:"比如县",region_level:3,children:[]},{code:"540623",name:"聂荣县",region_level:3,children:[]},{code:"540624",name:"安多县",region_level:3,children:[]},{code:"540625",name:"申扎县",region_level:3,children:[]},{code:"540626",name:"索县",region_level:3,children:[]},{code:"540627",name:"班戈县",region_level:3,children:[]},{code:"540628",name:"巴青县",region_level:3,children:[]},{code:"540629",name:"尼玛县",region_level:3,children:[]},{code:"540630",name:"双湖县",region_level:3,children:[]}]},{code:"5425",name:"阿里地区",region_level:2,children:[{code:"542521",name:"普兰县",region_level:3,children:[]},{code:"542522",name:"札达县",region_level:3,children:[]},{code:"542523",name:"噶尔县",region_level:3,children:[]},{code:"542524",name:"日土县",region_level:3,children:[]},{code:"542525",name:"革吉县",region_level:3,children:[]},{code:"542526",name:"改则县",region_level:3,children:[]},{code:"542527",name:"措勤县",region_level:3,children:[]}]}]},{code:"61",name:"陕西省",region_level:1,children:[{code:"6101",name:"西安市",region_level:2,children:[{code:"610102",name:"新城区",region_level:3,children:[]},{code:"610103",name:"碑林区",region_level:3,children:[]},{code:"610104",name:"莲湖区",region_level:3,children:[]},{code:"610111",name:"灞桥区",region_level:3,children:[]},{code:"610112",name:"未央区",region_level:3,children:[]},{code:"610113",name:"雁塔区",region_level:3,children:[]},{code:"610114",name:"阎良区",region_level:3,children:[]},{code:"610115",name:"临潼区",region_level:3,children:[]},{code:"610116",name:"长安区",region_level:3,children:[]},{code:"610117",name:"高陵区",region_level:3,children:[]},{code:"610118",name:"鄠邑区",region_level:3,children:[]},{code:"610122",name:"蓝田县",region_level:3,children:[]},{code:"610124",name:"周至县",region_level:3,children:[]}]},{code:"6102",name:"铜川市",region_level:2,children:[{code:"610202",name:"王益区",region_level:3,children:[]},{code:"610203",name:"印台区",region_level:3,children:[]},{code:"610204",name:"耀州区",region_level:3,children:[]},{code:"610222",name:"宜君县",region_level:3,children:[]}]},{code:"6103",name:"宝鸡市",region_level:2,children:[{code:"610302",name:"渭滨区",region_level:3,children:[]},{code:"610303",name:"金台区",region_level:3,children:[]},{code:"610304",name:"陈仓区",region_level:3,children:[]},{code:"610322",name:"凤翔县",region_level:3,children:[]},{code:"610323",name:"岐山县",region_level:3,children:[]},{code:"610324",name:"扶风县",region_level:3,children:[]},{code:"610326",name:"眉县",region_level:3,children:[]},{code:"610327",name:"陇县",region_level:3,children:[]},{code:"610328",name:"千阳县",region_level:3,children:[]},{code:"610329",name:"麟游县",region_level:3,children:[]},{code:"610330",name:"凤县",region_level:3,children:[]},{code:"610331",name:"太白县",region_level:3,children:[]}]},{code:"6104",name:"咸阳市",region_level:2,children:[{code:"610402",name:"秦都区",region_level:3,children:[]},{code:"610403",name:"杨陵区",region_level:3,children:[]},{code:"610404",name:"渭城区",region_level:3,children:[]},{code:"610422",name:"三原县",region_level:3,children:[]},{code:"610423",name:"泾阳县",region_level:3,children:[]},{code:"610424",name:"乾县",region_level:3,children:[]},{code:"610425",name:"礼泉县",region_level:3,children:[]},{code:"610426",name:"永寿县",region_level:3,children:[]},{code:"610428",name:"长武县",region_level:3,children:[]},{code:"610429",name:"旬邑县",region_level:3,children:[]},{code:"610430",name:"淳化县",region_level:3,children:[]},{code:"610431",name:"武功县",region_level:3,children:[]},{code:"610481",name:"兴平市",region_level:3,children:[]},{code:"610482",name:"彬州市",region_level:3,children:[]}]},{code:"6105",name:"渭南市",region_level:2,children:[{code:"610502",name:"临渭区",region_level:3,children:[]},{code:"610503",name:"华州区",region_level:3,children:[]},{code:"610522",name:"潼关县",region_level:3,children:[]},{code:"610523",name:"大荔县",region_level:3,children:[]},{code:"610524",name:"合阳县",region_level:3,children:[]},{code:"610525",name:"澄城县",region_level:3,children:[]},{code:"610526",name:"蒲城县",region_level:3,children:[]},{code:"610527",name:"白水县",region_level:3,children:[]},{code:"610528",name:"富平县",region_level:3,children:[]},{code:"610581",name:"韩城市",region_level:3,children:[]},{code:"610582",name:"华阴市",region_level:3,children:[]}]},{code:"6106",name:"延安市",region_level:2,children:[{code:"610602",name:"宝塔区",region_level:3,children:[]},{code:"610603",name:"安塞区",region_level:3,children:[]},{code:"610621",name:"延长县",region_level:3,children:[]},{code:"610622",name:"延川县",region_level:3,children:[]},{code:"610625",name:"志丹县",region_level:3,children:[]},{code:"610626",name:"吴起县",region_level:3,children:[]},{code:"610627",name:"甘泉县",region_level:3,children:[]},{code:"610628",name:"富县",region_level:3,children:[]},{code:"610629",name:"洛川县",region_level:3,children:[]},{code:"610630",name:"宜川县",region_level:3,children:[]},{code:"610631",name:"黄龙县",region_level:3,children:[]},{code:"610632",name:"黄陵县",region_level:3,children:[]},{code:"610681",name:"子长市",region_level:3,children:[]}]},{code:"6107",name:"汉中市",region_level:2,children:[{code:"610702",name:"汉台区",region_level:3,children:[]},{code:"610703",name:"南郑区",region_level:3,children:[]},{code:"610722",name:"城固县",region_level:3,children:[]},{code:"610723",name:"洋县",region_level:3,children:[]},{code:"610724",name:"西乡县",region_level:3,children:[]},{code:"610725",name:"勉县",region_level:3,children:[]},{code:"610726",name:"宁强县",region_level:3,children:[]},{code:"610727",name:"略阳县",region_level:3,children:[]},{code:"610728",name:"镇巴县",region_level:3,children:[]},{code:"610729",name:"留坝县",region_level:3,children:[]},{code:"610730",name:"佛坪县",region_level:3,children:[]}]},{code:"6108",name:"榆林市",region_level:2,children:[{code:"610802",name:"榆阳区",region_level:3,children:[]},{code:"610803",name:"横山区",region_level:3,children:[]},{code:"610822",name:"府谷县",region_level:3,children:[]},{code:"610824",name:"靖边县",region_level:3,children:[]},{code:"610825",name:"定边县",region_level:3,children:[]},{code:"610826",name:"绥德县",region_level:3,children:[]},{code:"610827",name:"米脂县",region_level:3,children:[]},{code:"610828",name:"佳县",region_level:3,children:[]},{code:"610829",name:"吴堡县",region_level:3,children:[]},{code:"610830",name:"清涧县",region_level:3,children:[]},{code:"610831",name:"子洲县",region_level:3,children:[]},{code:"610881",name:"神木市",region_level:3,children:[]}]},{code:"6109",name:"安康市",region_level:2,children:[{code:"610902",name:"汉滨区",region_level:3,children:[]},{code:"610921",name:"汉阴县",region_level:3,children:[]},{code:"610922",name:"石泉县",region_level:3,children:[]},{code:"610923",name:"宁陕县",region_level:3,children:[]},{code:"610924",name:"紫阳县",region_level:3,children:[]},{code:"610925",name:"岚皋县",region_level:3,children:[]},{code:"610926",name:"平利县",region_level:3,children:[]},{code:"610927",name:"镇坪县",region_level:3,children:[]},{code:"610928",name:"旬阳县",region_level:3,children:[]},{code:"610929",name:"白河县",region_level:3,children:[]}]},{code:"6110",name:"商洛市",region_level:2,children:[{code:"611002",name:"商州区",region_level:3,children:[]},{code:"611021",name:"洛南县",region_level:3,children:[]},{code:"611022",name:"丹凤县",region_level:3,children:[]},{code:"611023",name:"商南县",region_level:3,children:[]},{code:"611024",name:"山阳县",region_level:3,children:[]},{code:"611025",name:"镇安县",region_level:3,children:[]},{code:"611026",name:"柞水县",region_level:3,children:[]}]}]},{code:"62",name:"甘肃省",region_level:1,children:[{code:"6201",name:"兰州市",region_level:2,children:[{code:"620102",name:"城关区",region_level:3,children:[]},{code:"620103",name:"七里河区",region_level:3,children:[]},{code:"620104",name:"西固区",region_level:3,children:[]},{code:"620105",name:"安宁区",region_level:3,children:[]},{code:"620111",name:"红古区",region_level:3,children:[]},{code:"620121",name:"永登县",region_level:3,children:[]},{code:"620122",name:"皋兰县",region_level:3,children:[]},{code:"620123",name:"榆中县",region_level:3,children:[]}]},{code:"6202",name:"嘉峪关市",region_level:2,children:[{code:"620200",name:"嘉峪关市",region_level:3,children:[]}]},{code:"6203",name:"金昌市",region_level:2,children:[{code:"620302",name:"金川区",region_level:3,children:[]},{code:"620321",name:"永昌县",region_level:3,children:[]}]},{code:"6204",name:"白银市",region_level:2,children:[{code:"620402",name:"白银区",region_level:3,children:[]},{code:"620403",name:"平川区",region_level:3,children:[]},{code:"620421",name:"靖远县",region_level:3,children:[]},{code:"620422",name:"会宁县",region_level:3,children:[]},{code:"620423",name:"景泰县",region_level:3,children:[]}]},{code:"6205",name:"天水市",region_level:2,children:[{code:"620502",name:"秦州区",region_level:3,children:[]},{code:"620503",name:"麦积区",region_level:3,children:[]},{code:"620521",name:"清水县",region_level:3,children:[]},{code:"620522",name:"秦安县",region_level:3,children:[]},{code:"620523",name:"甘谷县",region_level:3,children:[]},{code:"620524",name:"武山县",region_level:3,children:[]},{code:"620525",name:"张家川回族自治县",region_level:3,children:[]}]},{code:"6206",name:"武威市",region_level:2,children:[{code:"620602",name:"凉州区",region_level:3,children:[]},{code:"620621",name:"民勤县",region_level:3,children:[]},{code:"620622",name:"古浪县",region_level:3,children:[]},{code:"620623",name:"天祝藏族自治县",region_level:3,children:[]}]},{code:"6207",name:"张掖市",region_level:2,children:[{code:"620702",name:"甘州区",region_level:3,children:[]},{code:"620721",name:"肃南裕固族自治县",region_level:3,children:[]},{code:"620722",name:"民乐县",region_level:3,children:[]},{code:"620723",name:"临泽县",region_level:3,children:[]},{code:"620724",name:"高台县",region_level:3,children:[]},{code:"620725",name:"山丹县",region_level:3,children:[]}]},{code:"6208",name:"平凉市",region_level:2,children:[{code:"620802",name:"崆峒区",region_level:3,children:[]},{code:"620821",name:"泾川县",region_level:3,children:[]},{code:"620822",name:"灵台县",region_level:3,children:[]},{code:"620823",name:"崇信县",region_level:3,children:[]},{code:"620825",name:"庄浪县",region_level:3,children:[]},{code:"620826",name:"静宁县",region_level:3,children:[]},{code:"620881",name:"华亭市",region_level:3,children:[]}]},{code:"6209",name:"酒泉市",region_level:2,children:[{code:"620902",name:"肃州区",region_level:3,children:[]},{code:"620921",name:"金塔县",region_level:3,children:[]},{code:"620922",name:"瓜州县",region_level:3,children:[]},{code:"620923",name:"肃北蒙古族自治县",region_level:3,children:[]},{code:"620924",name:"阿克塞哈萨克族自治县",region_level:3,children:[]},{code:"620981",name:"玉门市",region_level:3,children:[]},{code:"620982",name:"敦煌市",region_level:3,children:[]}]},{code:"6210",name:"庆阳市",region_level:2,children:[{code:"621002",name:"西峰区",region_level:3,children:[]},{code:"621021",name:"庆城县",region_level:3,children:[]},{code:"621022",name:"环县",region_level:3,children:[]},{code:"621023",name:"华池县",region_level:3,children:[]},{code:"621024",name:"合水县",region_level:3,children:[]},{code:"621025",name:"正宁县",region_level:3,children:[]},{code:"621026",name:"宁县",region_level:3,children:[]},{code:"621027",name:"镇原县",region_level:3,children:[]}]},{code:"6211",name:"定西市",region_level:2,children:[{code:"621102",name:"安定区",region_level:3,children:[]},{code:"621121",name:"通渭县",region_level:3,children:[]},{code:"621122",name:"陇西县",region_level:3,children:[]},{code:"621123",name:"渭源县",region_level:3,children:[]},{code:"621124",name:"临洮县",region_level:3,children:[]},{code:"621125",name:"漳县",region_level:3,children:[]},{code:"621126",name:"岷县",region_level:3,children:[]}]},{code:"6212",name:"陇南市",region_level:2,children:[{code:"621202",name:"武都区",region_level:3,children:[]},{code:"621221",name:"成县",region_level:3,children:[]},{code:"621222",name:"文县",region_level:3,children:[]},{code:"621223",name:"宕昌县",region_level:3,children:[]},{code:"621224",name:"康县",region_level:3,children:[]},{code:"621225",name:"西和县",region_level:3,children:[]},{code:"621226",name:"礼县",region_level:3,children:[]},{code:"621227",name:"徽县",region_level:3,children:[]},{code:"621228",name:"两当县",region_level:3,children:[]}]},{code:"6229",name:"临夏回族自治州",region_level:2,children:[{code:"622901",name:"临夏市",region_level:3,children:[]},{code:"622921",name:"临夏县",region_level:3,children:[]},{code:"622922",name:"康乐县",region_level:3,children:[]},{code:"622923",name:"永靖县",region_level:3,children:[]},{code:"622924",name:"广河县",region_level:3,children:[]},{code:"622925",name:"和政县",region_level:3,children:[]},{code:"622926",name:"东乡族自治县",region_level:3,children:[]},{code:"622927",name:"积石山保安族东乡族撒拉族自治县",region_level:3,children:[]}]},{code:"6230",name:"甘南藏族自治州",region_level:2,children:[{code:"623001",name:"合作市",region_level:3,children:[]},{code:"623021",name:"临潭县",region_level:3,children:[]},{code:"623022",name:"卓尼县",region_level:3,children:[]},{code:"623023",name:"舟曲县",region_level:3,children:[]},{code:"623024",name:"迭部县",region_level:3,children:[]},{code:"623025",name:"玛曲县",region_level:3,children:[]},{code:"623026",name:"碌曲县",region_level:3,children:[]},{code:"623027",name:"夏河县",region_level:3,children:[]}]}]},{code:"63",name:"青海省",region_level:1,children:[{code:"6301",name:"西宁市",region_level:2,children:[{code:"630102",name:"城东区",region_level:3,children:[]},{code:"630103",name:"城中区",region_level:3,children:[]},{code:"630104",name:"城西区",region_level:3,children:[]},{code:"630105",name:"城北区",region_level:3,children:[]},{code:"630106",name:"湟中区",region_level:3,children:[]},{code:"630121",name:"大通回族土族自治县",region_level:3,children:[]},{code:"630123",name:"湟源县",region_level:3,children:[]}]},{code:"6302",name:"海东市",region_level:2,children:[{code:"630202",name:"乐都区",region_level:3,children:[]},{code:"630203",name:"平安区",region_level:3,children:[]},{code:"630222",name:"民和回族土族自治县",region_level:3,children:[]},{code:"630223",name:"互助土族自治县",region_level:3,children:[]},{code:"630224",name:"化隆回族自治县",region_level:3,children:[]},{code:"630225",name:"循化撒拉族自治县",region_level:3,children:[]}]},{code:"6322",name:"海北藏族自治州",region_level:2,children:[{code:"632221",name:"门源回族自治县",region_level:3,children:[]},{code:"632222",name:"祁连县",region_level:3,children:[]},{code:"632223",name:"海晏县",region_level:3,children:[]},{code:"632224",name:"刚察县",region_level:3,children:[]}]},{code:"6323",name:"黄南藏族自治州",region_level:2,children:[{code:"632321",name:"同仁县",region_level:3,children:[]},{code:"632322",name:"尖扎县",region_level:3,children:[]},{code:"632323",name:"泽库县",region_level:3,children:[]},{code:"632324",name:"河南蒙古族自治县",region_level:3,children:[]}]},{code:"6325",name:"海南藏族自治州",region_level:2,children:[{code:"632521",name:"共和县",region_level:3,children:[]},{code:"632522",name:"同德县",region_level:3,children:[]},{code:"632523",name:"贵德县",region_level:3,children:[]},{code:"632524",name:"兴海县",region_level:3,children:[]},{code:"632525",name:"贵南县",region_level:3,children:[]}]},{code:"6326",name:"果洛藏族自治州",region_level:2,children:[{code:"632621",name:"玛沁县",region_level:3,children:[]},{code:"632622",name:"班玛县",region_level:3,children:[]},{code:"632623",name:"甘德县",region_level:3,children:[]},{code:"632624",name:"达日县",region_level:3,children:[]},{code:"632625",name:"久治县",region_level:3,children:[]},{code:"632626",name:"玛多县",region_level:3,children:[]}]},{code:"6327",name:"玉树藏族自治州",region_level:2,children:[{code:"632701",name:"玉树市",region_level:3,children:[]},{code:"632722",name:"杂多县",region_level:3,children:[]},{code:"632723",name:"称多县",region_level:3,children:[]},{code:"632724",name:"治多县",region_level:3,children:[]},{code:"632725",name:"囊谦县",region_level:3,children:[]},{code:"632726",name:"曲麻莱县",region_level:3,children:[]}]},{code:"6328",name:"海西蒙古族藏族自治州",region_level:2,children:[{code:"632801",name:"格尔木市",region_level:3,children:[]},{code:"632802",name:"德令哈市",region_level:3,children:[]},{code:"632803",name:"茫崖市",region_level:3,children:[]},{code:"632821",name:"乌兰县",region_level:3,children:[]},{code:"632822",name:"都兰县",region_level:3,children:[]},{code:"632823",name:"天峻县",region_level:3,children:[]}]}]},{code:"64",name:"宁夏回族自治区",region_level:1,children:[{code:"6401",name:"银川市",region_level:2,children:[{code:"640104",name:"兴庆区",region_level:3,children:[]},{code:"640105",name:"西夏区",region_level:3,children:[]},{code:"640106",name:"金凤区",region_level:3,children:[]},{code:"640121",name:"永宁县",region_level:3,children:[]},{code:"640122",name:"贺兰县",region_level:3,children:[]},{code:"640181",name:"灵武市",region_level:3,children:[]}]},{code:"6402",name:"石嘴山市",region_level:2,children:[{code:"640202",name:"大武口区",region_level:3,children:[]},{code:"640205",name:"惠农区",region_level:3,children:[]},{code:"640221",name:"平罗县",region_level:3,children:[]}]},{code:"6403",name:"吴忠市",region_level:2,children:[{code:"640302",name:"利通区",region_level:3,children:[]},{code:"640303",name:"红寺堡区",region_level:3,children:[]},{code:"640323",name:"盐池县",region_level:3,children:[]},{code:"640324",name:"同心县",region_level:3,children:[]},{code:"640381",name:"青铜峡市",region_level:3,children:[]}]},{code:"6404",name:"固原市",region_level:2,children:[{code:"640402",name:"原州区",region_level:3,children:[]},{code:"640422",name:"西吉县",region_level:3,children:[]},{code:"640423",name:"隆德县",region_level:3,children:[]},{code:"640424",name:"泾源县",region_level:3,children:[]},{code:"640425",name:"彭阳县",region_level:3,children:[]}]},{code:"6405",name:"中卫市",region_level:2,children:[{code:"640502",name:"沙坡头区",region_level:3,children:[]},{code:"640521",name:"中宁县",region_level:3,children:[]},{code:"640522",name:"海原县",region_level:3,children:[]}]}]},{code:"65",name:"新疆维吾尔自治区",region_level:1,children:[{code:"6501",name:"乌鲁木齐市",region_level:2,children:[{code:"650102",name:"天山区",region_level:3,children:[]},{code:"650103",name:"沙依巴克区",region_level:3,children:[]},{code:"650104",name:"新市区",region_level:3,children:[]},{code:"650105",name:"水磨沟区",region_level:3,children:[]},{code:"650106",name:"头屯河区",region_level:3,children:[]},{code:"650107",name:"达坂城区",region_level:3,children:[]},{code:"650109",name:"米东区",region_level:3,children:[]},{code:"650121",name:"乌鲁木齐县",region_level:3,children:[]}]},{code:"6502",name:"克拉玛依市",region_level:2,children:[{code:"650202",name:"独山子区",region_level:3,children:[]},{code:"650203",name:"克拉玛依区",region_level:3,children:[]},{code:"650204",name:"白碱滩区",region_level:3,children:[]},{code:"650205",name:"乌尔禾区",region_level:3,children:[]}]},{code:"6504",name:"吐鲁番市",region_level:2,children:[{code:"650402",name:"高昌区",region_level:3,children:[]},{code:"650421",name:"鄯善县",region_level:3,children:[]},{code:"650422",name:"托克逊县",region_level:3,children:[]}]},{code:"6505",name:"哈密市",region_level:2,children:[{code:"650502",name:"伊州区",region_level:3,children:[]},{code:"650521",name:"巴里坤哈萨克自治县",region_level:3,children:[]},{code:"650522",name:"伊吾县",region_level:3,children:[]}]},{code:"6523",name:"昌吉回族自治州",region_level:2,children:[{code:"652301",name:"昌吉市",region_level:3,children:[]},{code:"652302",name:"阜康市",region_level:3,children:[]},{code:"652323",name:"呼图壁县",region_level:3,children:[]},{code:"652324",name:"玛纳斯县",region_level:3,children:[]},{code:"652325",name:"奇台县",region_level:3,children:[]},{code:"652327",name:"吉木萨尔县",region_level:3,children:[]},{code:"652328",name:"木垒哈萨克自治县",region_level:3,children:[]}]},{code:"6527",name:"博尔塔拉蒙古自治州",region_level:2,children:[{code:"652701",name:"博乐市",region_level:3,children:[]},{code:"652702",name:"阿拉山口市",region_level:3,children:[]},{code:"652722",name:"精河县",region_level:3,children:[]},{code:"652723",name:"温泉县",region_level:3,children:[]}]},{code:"6528",name:"巴音郭楞蒙古自治州",region_level:2,children:[{code:"652801",name:"库尔勒市",region_level:3,children:[]},{code:"652822",name:"轮台县",region_level:3,children:[]},{code:"652823",name:"尉犁县",region_level:3,children:[]},{code:"652824",name:"若羌县",region_level:3,children:[]},{code:"652825",name:"且末县",region_level:3,children:[]},{code:"652826",name:"焉耆回族自治县",region_level:3,children:[]},{code:"652827",name:"和静县",region_level:3,children:[]},{code:"652828",name:"和硕县",region_level:3,children:[]},{code:"652829",name:"博湖县",region_level:3,children:[]}]},{code:"6529",name:"阿克苏地区",region_level:2,children:[{code:"652901",name:"阿克苏市",region_level:3,children:[]},{code:"652902",name:"库车市",region_level:3,children:[]},{code:"652922",name:"温宿县",region_level:3,children:[]},{code:"652924",name:"沙雅县",region_level:3,children:[]},{code:"652925",name:"新和县",region_level:3,children:[]},{code:"652926",name:"拜城县",region_level:3,children:[]},{code:"652927",name:"乌什县",region_level:3,children:[]},{code:"652928",name:"阿瓦提县",region_level:3,children:[]},{code:"652929",name:"柯坪县",region_level:3,children:[]}]},{code:"6530",name:"克孜勒苏柯尔克孜自治州",region_level:2,children:[{code:"653001",name:"阿图什市",region_level:3,children:[]},{code:"653022",name:"阿克陶县",region_level:3,children:[]},{code:"653023",name:"阿合奇县",region_level:3,children:[]},{code:"653024",name:"乌恰县",region_level:3,children:[]}]},{code:"6531",name:"喀什地区",region_level:2,children:[{code:"653101",name:"喀什市",region_level:3,children:[]},{code:"653121",name:"疏附县",region_level:3,children:[]},{code:"653122",name:"疏勒县",region_level:3,children:[]},{code:"653123",name:"英吉沙县",region_level:3,children:[]},{code:"653124",name:"泽普县",region_level:3,children:[]},{code:"653125",name:"莎车县",region_level:3,children:[]},{code:"653126",name:"叶城县",region_level:3,children:[]},{code:"653127",name:"麦盖提县",region_level:3,children:[]},{code:"653128",name:"岳普湖县",region_level:3,children:[]},{code:"653129",name:"伽师县",region_level:3,children:[]},{code:"653130",name:"巴楚县",region_level:3,children:[]},{code:"653131",name:"塔什库尔干塔吉克自治县",region_level:3,children:[]}]},{code:"6532",name:"和田地区",region_level:2,children:[{code:"653201",name:"和田市",region_level:3,children:[]},{code:"653221",name:"和田县",region_level:3,children:[]},{code:"653222",name:"墨玉县",region_level:3,children:[]},{code:"653223",name:"皮山县",region_level:3,children:[]},{code:"653224",name:"洛浦县",region_level:3,children:[]},{code:"653225",name:"策勒县",region_level:3,children:[]},{code:"653226",name:"于田县",region_level:3,children:[]},{code:"653227",name:"民丰县",region_level:3,children:[]}]},{code:"6540",name:"伊犁哈萨克自治州",region_level:2,children:[{code:"654002",name:"伊宁市",region_level:3,children:[]},{code:"654003",name:"奎屯市",region_level:3,children:[]},{code:"654004",name:"霍尔果斯市",region_level:3,children:[]},{code:"654021",name:"伊宁县",region_level:3,children:[]},{code:"654022",name:"察布查尔锡伯自治县",region_level:3,children:[]},{code:"654023",name:"霍城县",region_level:3,children:[]},{code:"654024",name:"巩留县",region_level:3,children:[]},{code:"654025",name:"新源县",region_level:3,children:[]},{code:"654026",name:"昭苏县",region_level:3,children:[]},{code:"654027",name:"特克斯县",region_level:3,children:[]},{code:"654028",name:"尼勒克县",region_level:3,children:[]}]},{code:"6542",name:"塔城地区",region_level:2,children:[{code:"654201",name:"塔城市",region_level:3,children:[]},{code:"654202",name:"乌苏市",region_level:3,children:[]},{code:"654221",name:"额敏县",region_level:3,children:[]},{code:"654223",name:"沙湾县",region_level:3,children:[]},{code:"654224",name:"托里县",region_level:3,children:[]},{code:"654225",name:"裕民县",region_level:3,children:[]},{code:"654226",name:"和布克赛尔蒙古自治县",region_level:3,children:[]}]},{code:"6543",name:"阿勒泰地区",region_level:2,children:[{code:"654301",name:"阿勒泰市",region_level:3,children:[]},{code:"654321",name:"布尔津县",region_level:3,children:[]},{code:"654322",name:"富蕴县",region_level:3,children:[]},{code:"654323",name:"福海县",region_level:3,children:[]},{code:"654324",name:"哈巴河县",region_level:3,children:[]},{code:"654325",name:"青河县",region_level:3,children:[]},{code:"654326",name:"吉木乃县",region_level:3,children:[]}]},{code:"6590",name:"自治区直辖县级行政区",region_level:2,children:[{code:"659001",name:"石河子市",region_level:3,children:[]},{code:"659002",name:"阿拉尔市",region_level:3,children:[]},{code:"659003",name:"图木舒克市",region_level:3,children:[]},{code:"659004",name:"五家渠市",region_level:3,children:[]},{code:"659005",name:"北屯市",region_level:3,children:[]},{code:"659006",name:"铁门关市",region_level:3,children:[]},{code:"659007",name:"双河市",region_level:3,children:[]},{code:"659008",name:"可克达拉市",region_level:3,children:[]},{code:"659009",name:"昆玉市",region_level:3,children:[]},{code:"659010",name:"胡杨河市",region_level:3,children:[]}]}]},{code:"71",name:"台湾省",region_level:1,children:[]},{code:"81",name:"香港特别行政区",region_level:1,children:[]},{code:"82",name:"澳门特别行政区",region_level:1,children:[]}]}];function useMap(){const te=async(ne,re)=>{let oe=String(ne.code).padEnd(6,"0");const ie=G(vue.unref(city)[0],oe),le=await U(`${oe}${(ie==null?void 0:ie.region_level)!=3?"_full":""}`);core.registerMap(oe,le),ne.geo.map=oe;const ae=ne.dataset.source,se=[];((le==null?void 0:le.features)??[]).forEach(ue=>{const de=(ae.find(he=>he[ne.dataShow.x]==ue.properties.name)??{})[ne.dataShow.y]??0,fe=ue.properties.center?[...ue.properties.center,de]:ue.properties.center,ve={name:ue.properties.name,value:fe,code:ue.properties.adcode,data:de};Number(de)<=0&&(ve.symbolSize=0),se.push(ve)}),ne.series=[{type:"map",map:oe,roam:!0,geoIndex:0,select:!1,data:se},{...ne.style.style1,data:se},{...ne.style.style2,data:se}],re&&re()},U=async ne=>{const re=`https://geo.datav.aliyun.com/areas_v3/bound/${ne}.json`;return await fetch(re).then(ie=>ie.json())};function G(ne,re){var oe;if(String(ne.code).padEnd(6,"0")==re)return ne;for(let ie=0;ie<((oe=ne==null?void 0:ne.children)==null?void 0:oe.length);ie+=1){const le=ne.children[ie],ae=G(le,re);if(ae)return ae}return null}return{init:te,city,mapConfig:{code:"100000",tooltip:{show:!0},dataShow:{x:"",y:""},custom:{prefix:"",suffix:"",toFixed:0},style:{style1:{name:"散点",type:"scatter",coordinateSystem:"geo",symbol:"circle",itemStyle:{color:"#05C3F9"}},style2:{name:"点",type:"scatter",coordinateSystem:"geo",symbol:"pin",symbolSize:20,itemStyle:{color:"#F62157"},label:{show:!0,formatter:ne=>ne.data.data||"",color:"#fff",fontSize:9},zlevel:6}},geo:{map:"",roam:!0,zoom:1.2,label:{show:!0,fontSize:12,color:"#000"},emphasis:{itemStyle:{areaColor:"#389BB7",borderColor:"#389BB7",borderWidth:0},label:{fontSize:14,color:"#fff"}}},visualMap:{show:!0,left:"left",top:"bottom",text:["高","低"],min:0,max:200,calculable:!0,seriesIndex:[0],inRange:{color:["#00467F","#A5CC82"]}},dataset:{},series:[]}}}function useCustomChart(){const{proxy:te}=vue.getCurrentInstance(),U=vue.ref({}),G=vue.ref(""),ee=vue.ref(null),ne=vue.ref(null),re=vue.ref(""),oe=async(ce,de,fe)=>await new Promise(async ve=>{var ye,be;const he=screenDesignMainStore(),pe=JSON.parse(JSON.stringify(((ye=vue.unref(ee))==null?void 0:ye.params)??((be=he.getChartData)==null?void 0:be.params))),ge=JSON.parse((pe==null?void 0:pe.groupArgsJson)??"[]");let me=JSON.parse((pe==null?void 0:pe.aggArgsJson)??"[]");if(de){const xe=ge.find(Ce=>Ce.comment==de);xe&&(pe.groupArgsJson=JSON.stringify([xe]))}if(["2"].includes(ce)&&fe){const xe=me.find(Ce=>Ce.showLabel==fe);xe&&(pe.aggArgsJson=JSON.stringify([xe]))}["8"].includes(ce)||(pe.aggArgsJson=JSON.stringify(me.filter(xe=>xe.aggType!="other")));const _e=await te.$baseHttp.post("/api/ace-data-center/model-indicators/exec",pe);ne.value=_e.data.var,re.value=_e.data.modelIndicatorsName,ve(_e.data.page.records)}),ie=async(ce,de,fe)=>await new Promise(async ve=>{let he=de;const pe=screenDesignMainStore();if(ce){const ge=await te.$baseHttp.get(`/api/ace-data-center/model-indicators-echarts/detail?id=${ce}`);if(!ge)return;fe=chartJsonFormat(ge.data.echartsConfig),he=ge.data.echartsType}G.value=he,setTimeout(async()=>{var ge,me,_e,ye,be,xe,Ce,$e,Ee,Ve,Ne,Se,Pe,we,ke,Te,De,Ie,Me,Be,Ae,ze,Re,Fe,je,Oe,Le,Ge,qe,Ue,We,Ye,Je,Xe,Ke,He,Qe,Ze,et,at,ct,st,it,lt,pt,mt,bt,xt,wt;switch(he){case"1":{const{lineConfig:ft,customSeriesData:ut,init:ht}=useLineCommon();ut.value=((ge=vue.unref(fe))==null?void 0:ge.customSeriesData)??{},U.value=fe??chartJsonFormat(chartJsonToStringFormat(ft)),delete U.value.legend.icon,vue.unref(U).dataShow.x=((me=fe==null?void 0:fe.dataShow)==null?void 0:me.x)??((ye=(_e=pe.getChartData)==null?void 0:_e.x[0])==null?void 0:ye.comment),vue.unref(U).dataShow.y=(((be=vue.unref(ee))==null?void 0:be.y)??((xe=pe.getChartData)==null?void 0:xe.y)).filter(rt=>rt.aggType!="other").map(rt=>rt.showLabel),vue.unref(U).dataset.source=await oe(he,vue.unref(U).dataShow.x),ht(vue.unref(U),()=>ue())}break;case"2":{const{pieConfig:ft,customSeriesData:ut,init:ht}=usePieCommon();ut.value=(fe==null?void 0:fe.customSeriesData)??{},U.value=fe??chartJsonFormat(chartJsonToStringFormat(ft)),vue.unref(U).dataShow.x=((Ce=fe==null?void 0:fe.dataShow)==null?void 0:Ce.x)??((Ee=($e=pe.getChartData)==null?void 0:$e.x[0])==null?void 0:Ee.comment),vue.unref(U).dataShow.y=((Ve=fe==null?void 0:fe.dataShow)==null?void 0:Ve.y)??((Se=(Ne=pe.getChartData)==null?void 0:Ne.y[0])==null?void 0:Se.showLabel),vue.unref(U).dataset.source=await oe(he,vue.unref(U).dataShow.x,vue.unref(U).dataShow.y),ht(vue.unref(U),()=>ue())}break;case"3":{const{barConfig:ft,customSeriesData:ut,init:ht}=useBarCommon();ut.value=(fe==null?void 0:fe.customSeriesData)??{},U.value=fe??chartJsonFormat(chartJsonToStringFormat(ft)),vue.unref(U).dataShow.x=((Pe=fe==null?void 0:fe.dataShow)==null?void 0:Pe.x)??((ke=(we=pe.getChartData)==null?void 0:we.x[0])==null?void 0:ke.comment),vue.unref(U).dataShow.y=(((Te=vue.unref(ee))==null?void 0:Te.y)??((De=pe.getChartData)==null?void 0:De.y)).filter(rt=>rt.aggType!="other").map(rt=>rt.showLabel),vue.unref(U).dataset.source=await oe(he,vue.unref(U).dataShow.x),ht(vue.unref(U),()=>ue())}break;case"4":{const{radarConfig:ft,customSeriesData:ut,init:ht}=useRadar();ut.value=((Ie=vue.unref(fe))==null?void 0:Ie.customSeriesData)??{},U.value=fe??chartJsonFormat(chartJsonToStringFormat(ft)),vue.unref(U).dataShow.x=((Me=fe==null?void 0:fe.dataShow)==null?void 0:Me.x)??((Ae=(Be=pe.getChartData)==null?void 0:Be.x[0])==null?void 0:Ae.comment),vue.unref(U).dataShow.y=(((ze=vue.unref(ee))==null?void 0:ze.y)??((Re=pe.getChartData)==null?void 0:Re.y)).filter(rt=>rt.aggType!="other").map(rt=>rt.showLabel),vue.unref(U).dataset.source=await oe(he,vue.unref(U).dataShow.x),ht(vue.unref(U),()=>ue())}break;case"5":{const{barsLinesConfig:ft,customSeriesData:ut,init:ht}=useBarLineCommon();ut.value=((Fe=vue.unref(fe))==null?void 0:Fe.customSeriesData)??{},U.value=fe??chartJsonFormat(chartJsonToStringFormat(ft)),vue.unref(U).dataShow.x=((je=fe==null?void 0:fe.dataShow)==null?void 0:je.x)??((Le=(Oe=pe.getChartData)==null?void 0:Oe.x[0])==null?void 0:Le.comment),vue.unref(U).dataShow.y=(((Ge=vue.unref(ee))==null?void 0:Ge.y)??((qe=pe.getChartData)==null?void 0:qe.y)).filter(rt=>rt.aggType!="other").map(rt=>rt.showLabel),vue.unref(U).dataset.source=await oe(he,vue.unref(U).dataShow.x),ht(vue.unref(U),()=>ue())}break;case"6":{const{scatterCfg:ft,customSeriesData:ut,init:ht}=useScatterCommon();ut.value=((Ue=vue.unref(fe))==null?void 0:Ue.customSeriesData)??{},U.value=fe??chartJsonFormat(chartJsonToStringFormat(ft)),vue.unref(U).dataShow.x=((We=fe==null?void 0:fe.dataShow)==null?void 0:We.x)??((Je=(Ye=pe.getChartData)==null?void 0:Ye.x[0])==null?void 0:Je.comment),vue.unref(U).dataShow.y=(((Xe=vue.unref(ee))==null?void 0:Xe.y)??((Ke=pe.getChartData)==null?void 0:Ke.y)).filter(rt=>rt.aggType!="other").map(rt=>rt.showLabel),vue.unref(U).dataset.source=await oe(he,vue.unref(U).dataShow.x),ht(vue.unref(U),()=>ue())}break;case"7":{const{numberConfig:ft,customSeriesData:ut,init:ht}=useNumber();ut.value=(fe==null?void 0:fe.customSeriesData)??{},U.value=fe??chartJsonFormat(chartJsonToStringFormat(ft)),vue.unref(U).dataShow.y=(((He=vue.unref(ee))==null?void 0:He.y)??((Qe=pe.getChartData)==null?void 0:Qe.y)).filter(rt=>rt.aggType!="other").map(rt=>rt.showLabel),vue.unref(U).dataset.source=await oe(he),ht(vue.unref(U),()=>ue())}break;case"8":{const{customSeriesData:ft,tableConfig:ut,init:ht}=useTable();U.value=fe??chartJsonFormat(chartJsonToStringFormat(ut)),ft.value=((Ze=vue.unref(fe))==null?void 0:Ze.customSeriesData)??{};const rt=[...(((et=vue.unref(ee))==null?void 0:et.x)??((at=pe.getChartData)==null?void 0:at.x)).map(_t=>_t.comment),...(((ct=vue.unref(ee))==null?void 0:ct.y)??((st=pe.getChartData)==null?void 0:st.y)).map(_t=>_t.showLabel)];let $t=[];(((it=vue.unref(U).dataShow)==null?void 0:it.y)??[]).forEach(_t=>{$t.push(_t)}),$t.push(...rt),vue.unref(U).dataShow.y=[...new Set($t)],vue.unref(U).dataset.source=await oe(he),ht(vue.unref(U),()=>ue())}break;case"9":const{mapConfig:yt,init:Ct}=useMap(),gt=fe??chartJsonFormat(chartJsonToStringFormat(yt));console.log(gt),gt.series=[],gt.dataShow.x=((lt=fe==null?void 0:fe.dataShow)==null?void 0:lt.x)??((mt=(pt=pe.getChartData)==null?void 0:pt.x[0])==null?void 0:mt.comment),gt.dataShow.y=((bt=fe==null?void 0:fe.dataShow)==null?void 0:bt.y)??((wt=(xt=pe.getChartData)==null?void 0:xt.y[0])==null?void 0:wt.showLabel),gt.dataset.source=await oe(he,gt.dataShow.x,gt.dataShow.y),Ct(gt,()=>{U.value=gt,ue()});break}ve(U.value)},100)}),le=()=>{var ce,de,fe,ve,he,pe,ge;switch(vue.unref(G)){case"1":{const{customSeriesData:me,init:_e}=useLineCommon();me.value=((ce=vue.unref(U))==null?void 0:ce.customSeriesData)??{},_e(vue.unref(U))}break;case"2":{const{customSeriesData:me,init:_e}=usePieCommon();me.value=((de=vue.unref(U))==null?void 0:de.customSeriesData)??{},_e(vue.unref(U))}break;case"3":{const{customSeriesData:me,init:_e}=useBarCommon();me.value=((fe=vue.unref(U))==null?void 0:fe.customSeriesData)??{},_e(vue.unref(U))}break;case"4":{const{customSeriesData:me,init:_e}=useRadar();me.value=((ve=vue.unref(U))==null?void 0:ve.customSeriesData)??{},_e(vue.unref(U))}break;case"5":{const{customSeriesData:me,init:_e}=useBarLineCommon();me.value=((he=vue.unref(U))==null?void 0:he.customSeriesData)??{},_e(vue.unref(U))}break;case"6":{const{customSeriesData:me,init:_e}=useScatterCommon();me.value=((pe=vue.unref(U))==null?void 0:pe.customSeriesData)??{},_e(vue.unref(U))}break;case"7":{const{init:me}=useNumber();me(vue.unref(U))}break;case"8":{const{customSeriesData:me,init:_e}=useTable();me.value=((ge=vue.unref(U))==null?void 0:ge.customSeriesData)??{},_e(vue.unref(U))}break}},ae=async(ce,de,fe)=>{await new Promise(async ve=>{var xe;const he=screenDesignMainStore(),{dynamicSearchFormat:pe,dynamicSearchParams:ge}=te.$aceDynamicSearch();let me;me=await te.$baseHttp.get(`/api/ace-data-center/model-indicators/detail?id=${ce}`);const _e=JSON.parse(me.data.sortArgsJson??"{}"),ye=Object.keys(vue.unref(_e)).map(Ce=>({field:Ce,type:_e[Ce]=="ascending"?"asc":"desc"}));he.setChartData({x:JSON.parse(me.data.groupArgsJson),y:JSON.parse(me.data.aggArgsJson),params:{aggArgsJson:me.data.aggArgsJson,groupArgsJson:me.data.groupArgsJson,sortArgsJson:JSON.stringify(ye),params:ge(pe(JSON.parse(fe??((xe=vue.unref(me))==null?void 0:xe.formConfJson)??"[]"))),pageSize:me.data.pageSize,modelIndicatorsId:me.data.id,modelId:me.data.modelId}});const be=me.data.echarts.find(Ce=>Ce.type==de);await ie(be==null?void 0:be.code),ve(be==null?void 0:be.code)})},se=ce=>{const de=vue.unref(U),fe=vue.unref(U).customSeriesData[ce]??{};return((fe==null?void 0:fe.prefix)??"")+de.dataset.source.reduce((ve,he)=>ve+(he[ce]?Number(he[ce]):0),0).toFixed(fe.toFixed??0)+(fe.suffix??"")},ue=()=>{if(vue.unref(G)=="9"){U.value.tooltip.formatter=de=>{const fe=U.value.custom;if(de&&de.data){const{name:ve,data:he}=de.data;return`${ve}: ${(fe==null?void 0:fe.prefix)??""}${Number(he).toFixed((fe==null?void 0:fe.toFixed)??0)}${(fe==null?void 0:fe.suffix)??""}`}},U.value.series[2].label.formatter=de=>{const fe=U.value.custom,ve=de.data.data;return ve?`${(fe==null?void 0:fe.prefix)??""}${Number(ve).toFixed((fe==null?void 0:fe.toFixed)??0)}${(fe==null?void 0:fe.suffix)??""}`:""};return}if(vue.unref(U).tooltip){const de=U.value.custom;U.value.tooltip.valueFormatter=fe=>`${(de==null?void 0:de.prefix)??""}${Number(fe).toFixed(de==null?void 0:de.toFixed)}${(de==null?void 0:de.suffix)??""}`}vue.unref(U).dataset.temp_source=JSON.parse(JSON.stringify(U.value.dataset.source))};return{option:U,varData:ne,modelIndicatorsName:re,chartDataParams:ee,chartType:G,setChartData:oe,formatChart:ie,getModelIndicatorsData:ae,changeChartSeries:le,setSingleValue:se}}const _hoisted_1$1C={key:1,class:"flex items-center justify-center w-full h-full"},_sfc_main$2q=vue.defineComponent({__name:"render",props:{config:{default:()=>({})},list:{default:()=>[]},isLinkageQuery:{type:Boolean,default:!0},isCount:{type:Boolean,default:!0}},setup(__props){const props=__props,{proxy}=vue.getCurrentInstance(),design=screenDesignMainStore(),loading=vue.ref(!1),{dynamicSearchFormat,dynamicSearchParams}=proxy.$aceDynamicSearch(),{option,formatChart,varData,chartDataParams,modelIndicatorsName}=useCustomChart(),init=()=>{const linkageMap={},formulaList=[];if(props.isLinkageQuery&&props.list.forEach(te=>{const U=te.customize.modelValue;((te==null?void 0:te.customize.linkage)??[]).forEach(G=>{(U??"")!==""&&(linkageMap[G[0]]=[G[1],U])})}),props.isCount&&props.list.forEach(te=>{var ne;if(te.type!="number"&&!((ne=te.customize.formula)!=null&&ne.exp))return;te.customize.formulaCopy=JSON.parse(JSON.stringify(te.customize.formula));const U=te.customize.formulaCopy.identifier.split(","),G=/\{([^}]+)\}/g;let ee=0;te.customize.formulaCopy.exp=te.customize.formulaCopy.exp.replace(G,(re,oe)=>{const ie=oe.split(".");return ie[0]=U[ee],ee+=1,ie.join(".")}),te.customize.title=0,formulaList.push(te)}),props.config.modelType=="INDICATORS"){Promise.all([fetch$1(proxy).detailAndTask(props.config.indicatorsId),fetch$1(proxy).getEchartDetail({indicatorsId:props.config.indicatorsId})]).then(async te=>{var ne,re;let U=dynamicSearchParams(dynamicSearchFormat(JSON.parse(((re=(ne=te[0])==null?void 0:ne.data)==null?void 0:re.formConfJson)??"[]")));if(linkageMap[props.config.indicatorsId]){const[oe,ie]=linkageMap[props.config.indicatorsId];U[oe]=ie}const G=te[1].data,ee=await fetch$1(proxy).pullEchartsDataVO({indicatorsId:props.config.indicatorsId,loadType:(G==null?void 0:G.loadType)??3,params:U,targetClient:G.targetClient,echartsType:props.config.chartType});try{option.value=chartJsonFormat(ee.data.config)}catch{option.value=ee.data.config}loading.value=!1});return}if(props.config.chartId&&props.config.indicatorsId){props.config.chartType=="9"&&delete props.config.customize.series,option.value=props.config.customize;const{indicatorsId,chartType}=props.config;loading.value=!0,proxy.$baseHttp.get(`/api/ace-data-center/model-indicators/detail?id=${indicatorsId}`).then(async response=>{const sortArgsJson=JSON.parse(response.data.sortArgsJson??"{}"),sort=Object.keys(vue.unref(sortArgsJson)).map(te=>({field:te,type:sortArgsJson[te]=="ascending"?"asc":"desc"}));let params=dynamicSearchParams(dynamicSearchFormat(JSON.parse(response.data.formConfJson??"[]")));if(linkageMap[props.config.indicatorsId]){const[te,U]=linkageMap[props.config.indicatorsId];params[te]=U}chartDataParams.value={x:JSON.parse(response.data.groupArgsJson),y:JSON.parse(response.data.aggArgsJson),params:{aggArgsJson:response.data.aggArgsJson,groupArgsJson:response.data.groupArgsJson,sortArgsJson:JSON.stringify(sort),modelIndicatorsId:indicatorsId,params,pageSize:response.data.pageSize,modelId:response.data.modelId}},design.tempChartData[props.config.id]={params:chartDataParams.value,customize:props.config.customize},design.setChartData(chartDataParams.value),await formatChart("",chartType,{...props.config.customize,id:props.config.id}),props.isCount&&formulaList.length&&formulaList.forEach(el=>{var te;Object.keys(vue.unref(varData)).forEach(U=>{el.customize.formulaCopy.exp.indexOf(U)>=0&&(el.customize.formulaCopy.exp=el.customize.formulaCopy.exp.replace(U,varData.value[U]))}),/[\u4e00-\u9fa5]/.test((te=el.customize.formulaCopy)==null?void 0:te.exp)||(el.customize.title=eval(el.customize.formulaCopy.exp),(el.customize.toFixed??"")!==""&&(el.customize.title=el.customize.title.toFixed(el.customize.toFixed)))}),design.setCountMap(props.config.indicatorsId,{title:vue.unref(modelIndicatorsName),var:vue.unref(varData)}),loading.value=!1})}};vue.onMounted(()=>{init()}),proxy.$baseEventBus.on("ace-screen-indicators-linkage",te=>{te.includes(props.config.indicatorsId)&&init()});const widgetView=vue.computed(()=>moudleComponents$1[props.config.type]);return(te,U)=>{const G=vue.resolveComponent("AppEmpty"),ee=vue.resolveComponent("AppTable"),ne=vue.resolveComponent("v-chart"),re=vue.resolveComponent("aceCustomChart"),oe=vue.resolveComponent("aceLoading");return props.config.chartId?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.unref(loading)?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1C,[vue.createVNode(oe,{size:"50"})])):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[props.config.modelType=="INDICATORS"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[props.config.chartType==7?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createTextVNode(vue.toDisplayString(vue.unref(option)),1)],64)):props.config.chartType==8?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.unref(option).length==0?(vue.openBlock(),vue.createBlock(G,{key:0,description:"暂无数据"})):vue.createCommentVNode("",!0),Array.isArray(vue.unref(option))&&vue.unref(option).length>0?(vue.openBlock(),vue.createBlock(ee,{key:1,tableData:Object.keys(vue.unref(option)[0]).map(ie=>({label:ie,prop:ie})),list:vue.unref(option),maxHeight:props.config.h-10+"px"},null,8,["tableData","list","maxHeight"])):vue.createCommentVNode("",!0)],64)):(vue.openBlock(),vue.createBlock(ne,{key:2,ref:"echart",option:vue.unref(option),autoresize:""},null,8,["option"]))],64)):(vue.openBlock(),vue.createBlock(re,{key:1,option:props.config.customize,chartType:props.config.chartType,maxHeight:props.config.h-10+"px"},null,8,["option","chartType","maxHeight"]))],64))],64)):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.unref(widgetView)?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(vue.unref(widgetView)),{key:0,ref:"componentRef",list:props.list,config:props.config},null,8,["list","config"])):vue.createCommentVNode("",!0)],64))}}}),render_vue_vue_type_style_index_0_scoped_01efe827_lang="",Render=_export_sfc$2(_sfc_main$2q,[["__scopeId","data-v-01efe827"]]),_withScopeId$C=te=>(vue.pushScopeId("data-v-d83296c5"),te=te(),vue.popScopeId(),te),_hoisted_1$1B={class:"relative w-full h-full"},_hoisted_2$1l=["id","onDblclick","onMousedown","onClick"],_hoisted_3$1a={key:0,class:"absolute flex items-center justify-center w-8 h-8 bg-blue-500 rounded-full -right-2 -top-2"},_hoisted_4$13=_withScopeId$C(()=>vue.createElementVNode("i",{class:"text-base text-white ri-lock-line"},null,-1)),_hoisted_5$S=[_hoisted_4$13],_hoisted_6$H={key:1,class:"absolute ml-4 text-xs tool left-full whitespace-nowrap"},_hoisted_7$A=["onClick"],_hoisted_8$u={key:1,class:"absolute w-full h-full z-[999]"},_sfc_main$2p=vue.defineComponent({__name:"main",setup(te){vue.useCssVars(we=>({"565e7a12":vue.unref(se)}));const{proxy:U}=vue.getCurrentInstance(),G=screenDesignMainStore(),ee=vue.computed(()=>G.stageWidth),ne=vue.computed(()=>G.stageHeight),re=document.body,oe=vue.ref(null),ie=useKeyModifier("Shift"),le=vue.computed(()=>G.targetsWidget.length===1?getItemFromElement(G.targetsWidget[0]):null),ae=[{label:"置于顶层",clickFunc:we=>{we.z=G.getWidgetList.length,G.widgetConfg.list.filter(ke=>ke.id!=we.id).forEach((ke,Te)=>{ke.z=G.getWidgetList.length-1-Te}),G.sortWidgetList()}},{label:"置于底层",clickFunc:we=>{we.z=1,G.widgetConfg.list.filter(ke=>ke.id!=we.id).forEach((ke,Te)=>{ke.z=G.getWidgetList.length-Te}),G.sortWidgetList()}}],se=vue.computed(()=>.8/G.getScale),ue=()=>Array.prototype.slice.call(document.querySelectorAll(".drag-item"),0),ce=(we,ke)=>{if(Array.isArray(we)){if(we.length===0){G.setTargetWidget([]);return}G.setTargetWidget(we.filter(De=>De.className.indexOf("locked")==-1).map(De=>getItemFromElement(De)));return}const Te=getItemFromElement(we);!Te||G.targetsWidget.includes(Te)||we.locked||(ie.value===!0?G.setTargetWidget([...G.getTargetWidget.filter(De=>De.className.indexOf("locked")==-1),Te]):G.setTargetWidget([Te]),vue.nextTick(()=>{ke&&vue.nextTick(()=>{var De;return(De=vue.unref(oe))==null?void 0:De.dragStart(ke)})}))},de=we=>{const ke=Ee(vue.unref(le));ke!=null&&ke.locked&&we.stopDrag(),console.log("开始拖拽",we)},fe=we=>{console.log("拖拽中",we),we.target.style.transform=we.transform;const[ke,Te]=we.translate;G.setSketchRuleLine([ke],[Te]);const De=Ee(vue.unref(le));De&&(De.x=Math.floor(we.translate[0]),De.y=Math.floor(we.translate[1]))},ve=we=>{console.log("拖拽结束",we),G.clearSketchRuleLine()},he=we=>{console.log("开始组拖拽",we)},pe=we=>{console.log("组拖拽中",we),we.events.forEach(ke=>{ke.target.style.transform=ke.transform})},ge=we=>{console.log("组拖拽完毕",we),we.events.forEach(ke=>{const Te=Ee(ke.target);!Te||!ke.lastEvent||(Te.x=Math.floor(ke.lastEvent.translate[0]),Te.y=Math.floor(ke.lastEvent.translate[1]))}),G.clearSketchRuleLine()},me=we=>{console.log("开始组修改大小",we)},_e=we=>{console.log("组修改大小中",we),we.events.forEach(ke=>{ke.target.style.transform=ke.drag.transform,ke.target.style.width=`${ke.width}px`,ke.target.style.height=`${ke.height}px`;const Te=Ee(ke.target);Te&&(Te.x=Math.floor(ke.drag.translate[0]),Te.y=Math.floor(ke.drag.translate[1]),Te.w=ke.drag.width,Te.h=ke.drag.height)})},ye=we=>{console.log("修改大小结束",we),G.clearSketchRuleLine()},be=we=>{const ke=Ee(vue.unref(le));ke!=null&&ke.locked&&we.stopDrag(),console.log("开始改变大小",we)},xe=we=>{console.log("改变中",we),we.target.style.transform=we.drag.transform,we.target.style.width=`${we.width}px`,we.target.style.height=`${we.height}px`;const ke=Ee(we.target);if(!ke)return;ke.x=Math.floor(we.drag.translate[0]),ke.y=Math.floor(we.drag.translate[1]),ke.w=we.drag.width,ke.h=we.drag.height;const[Te,De]=we.drag.translate;G.setSketchRuleLine([Te],[De])};function Ce(we){console.log("改变结束",we),G.clearSketchRuleLine()}const $e=vue.ref(!1);U.$baseEventBus.on("drag-start",()=>{$e.value=!0}),U.$baseEventBus.on("drag-end",()=>{$e.value=!1}),U.$baseEventBus.on("clear-stage",()=>{console.log("清空画布"),G.setWidgetList([]),G.setTargetWidget([]),G.clearSketchRuleLine()}),U.$baseEventBus.on("update-rect",()=>{var we,ke;console.log("更新画布"),(we=oe.value)==null||we.updateTarget(),(ke=oe.value)==null||ke.updateRect()}),U.$baseEventBus.on("change-align",we=>{vue.nextTick(()=>{var De;if(console.log("修改居中方式"),!G.targetsWidget.length)return;const ke=oe.value.getRect(),Te=oe.value.getMoveables();if(Te.length<=1){const Ie={};we=="left"&&(Ie.x=0),we=="right"&&(Ie.x=vue.unref(ee)-ke.width),we=="top"&&(Ie.y=0),we=="bottom"&&(Ie.y=vue.unref(ne)-ke.height),we=="middle"&&(Ie.y=vue.unref(ne)/2-ke.height/2),we=="center"&&(Ie.x=vue.unref(ee)/2-ke.width/2),Te[0].request("draggable",Ie,!0);const Me=Ee(Te[0].props.target);if(!Me)return;Object.keys(Ie).forEach(Be=>{Me[Be]=Ie[Be]})}else switch(we){case"left":case"right":case"top":case"bottom":case"middle":case"center":{const Ie=Math.max.apply(Math,ke.children.map(Be=>Be.top+Be.height)),Me=Math.max.apply(Math,ke.children.map(Be=>Be.left+Be.width));Te.forEach((Be,Ae)=>{const ze={};we=="left"&&(ze.x=ke.left),we=="right"&&(ze.x=Me-ke.children[Ae].width),we=="top"&&(ze.y=ke.top),we=="bottom"&&(ze.y=Ie-ke.children[Ae].height),we=="middle"&&(ze.y=ke.top+ke.height/2-ke.children[Ae].height/2),we=="center"&&(ze.x=ke.left+ke.width/2-ke.children[Ae].width/2),Be.request("draggable",ze,!0);const Re=Ee(Be.props.target);Re&&Object.keys(ze).forEach(Fe=>{Re[Fe]=ze[Fe]})}),G.clearSketchRuleLine()}break;case"verticalAround":case"levelAround":{const Ie=we=="verticalAround"?"top":"left",Me=we=="verticalAround"?"height":"width";let Be=ke[Ie];const Ae=(ke[Me]-ke.children.reduce((ze,Re)=>ze+Re[Me],0))/(Te.length-1);Te.sort((ze,Re)=>ze.state[Ie]-Re.state[Ie]),Te.forEach(ze=>{const Re=ze.getRect(),Fe={};Ie=="top"&&(Fe.y=Be),Ie=="left"&&(Fe.x=Be),ze.request("draggable",Fe,!0);const je=Ee(ze.props.target);je&&(Object.keys(Fe).forEach(Oe=>{je[Oe]=Fe[Oe]}),Be+=Re[Me]+Ae)}),G.clearSketchRuleLine()}break}(De=oe.value)==null||De.updateRect()})});const Ee=we=>G.getWidgetList.find(ke=>ke.id==(we==null?void 0:we.id)),Ve=we=>{we.preventDefault(),we.stopPropagation();const ke=we.dataTransfer.getData("dragComponent");if(ke){let Te=JSON.parse(ke);Te.chartId&&(Te.customize=chartJsonFormat(Te.customize));const{w:De,h:Ie}=Te;let Me=we.offsetX-De/2,Be=we.offsetY-Ie/2;Me<=0?Me=0:Me+De>=vue.unref(ee)&&(Me=vue.unref(ee)-De),Be<=0?Be=0:Be+Ie>=vue.unref(ne)&&(Be=vue.unref(ne)-Ie),G.setWidgetList([{...Te,x:Me,y:Be,z:G.getWidgetList.length+1},...G.getWidgetList])}},Ne=vue.ref([]),Se=()=>{const we=(Te,De)=>{const Ie=onKeyStroke(Te,Me=>{document.activeElement&&["INPUT"].includes(document.activeElement.tagName)||(Me.preventDefault(),Me.stopPropagation(),De(Me))},{eventName:"keydown"});Ne.value.push(Ie)},ke=Te=>navigator.userAgent.toLowerCase().includes("macintosh")?Te.metaKey:Te.ctrlKey;we(["Backspace","Delete"],Te=>{console.log("删除触发",Te),G.targetsWidget.length&&G.delWidgetItem(G.getTargetWidget.map(De=>De.id))}),we(["ArrowLeft","ArrowRight","ArrowDown","ArrowUp"],Te=>{if(!G.targetsWidget.length)return;console.log("触发移动",Te);let De=0,Ie=0;Te.key=="ArrowLeft"&&(De=-2),Te.key=="ArrowRight"&&(De=2),Te.key=="ArrowUp"&&(Ie=-2),Te.key=="ArrowDown"&&(Ie=2),Te.shiftKey&&(De*=10,Ie*=10),vue.nextTick(()=>{oe.value.getMoveables().forEach(Be=>{const Ae=Ee(Be.props.target);!Ae||Ae.locked||(Ae.x+De<0?Ae.x=0:Ae.x+De>vue.unref(ee)-Ae.w?Ae.x=vue.unref(ee)-Ae.w:Ae.x+=De,Ae.y+Ie<0?Ae.y=0:Ae.y+Ie>vue.unref(ne)-Ae.h?Ae.y=vue.unref(ne)-Ae.h:Ae.y+=Ie)}),vue.nextTick(()=>{var Be;return(Be=oe.value)==null?void 0:Be.updateRect()})})}),we(["c"],Te=>{console.log("复制",Te),ke(Te)&&G.getTargetWidget.length&&G.copyWidgetItem(G.getTargetWidget.map(De=>De.id))}),we(["v"],Te=>{console.log("粘贴",Te),ke(Te)&&G.getPasteWidget.length&&G.pasteWidgetItem()})},Pe=vue.ref(null);return vue.nextTick(()=>{Se(),Pe.value=new Selecto$2({rootContainer:null,dragContainer:".render",selectableTargets:[".drag-item"],selectByClick:!0,selectFromInside:!0,continueSelect:!1,preventDefault:!0,toggleContinueSelect:null,keyContainer:window,hitRate:0}),vue.unref(Pe).on("dragStart",we=>{G.setRightPannel(!1),console.log("开始全选拖拽",we)}),vue.unref(Pe).on("dragEnd",we=>{console.log("全选拖拽结束",we)}),vue.unref(Pe).on("select",we=>{console.log("选中结果",we),we.added.forEach(ke=>{ke.className.indexOf("loccked")||ke.classList.add("selected")}),we.removed.forEach(ke=>{ke.classList.remove("selected")}),ce(we.selected)}),vue.unref(Pe).on("selectEnd",we=>{console.log("选中结束",we),ce(we.selected)})}),vue.onBeforeUnmount(()=>{Ne.value.forEach(we=>we()),vue.unref(Pe)&&vue.unref(Pe).destroy()}),(we,ke)=>(vue.openBlock(),vue.createBlock(SketchRule,null,{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1B,[vue.unref($e)?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"absolute w-full h-full z-[9999]",onDrop:ke[0]||(ke[0]=Te=>Ve(Te)),onDragover:ke[1]||(ke[1]=vue.withModifiers(()=>{},["prevent"]))},null,32)):vue.createCommentVNode("",!0),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(G).getWidgetList,Te=>{var De,Ie;return vue.openBlock(),vue.createElementBlock("div",{key:Te.id,class:vue.normalizeClass(["absolute",{"drag-item":!0,locked:Te.locked,selected:vue.unref(G).widgetHoverIds.includes(Te.id),active:((De=vue.unref(le))==null?void 0:De.id)==Te.id}]),id:Te.id,style:vue.normalizeStyle(vue.unref(getItemStyle)(Te)),onDblclick:vue.withModifiers(Me=>Te.locked=!Te.locked,["stop"]),onMousedown:Me=>ce(Te,Me),onClick:vue.withModifiers(Me=>ce(Te,Me),["stop"])},[vue.unref(G).createLoading?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[Te.locked?(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$1a,_hoisted_5$S)):vue.createCommentVNode("",!0),((Ie=vue.unref(le))==null?void 0:Ie.id)==Te.id&&!Te.locked?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$H,[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(ae,Me=>vue.createElementVNode("div",{key:Te.label,onClick:vue.withModifiers(Be=>Me.clickFunc(Te),["stop"]),onDblclick:ke[2]||(ke[2]=vue.withModifiers(()=>{},["prevent","stop"])),class:"flex items-center justify-center w-16 h-6 mb-2 text-white rounded-sm cursor-pointer bg-color-primary"},vue.toDisplayString(Me.label),41,_hoisted_7$A)),64))])):vue.createCommentVNode("",!0)],64)),["iframe","select"].includes(Te.type)?(vue.openBlock(),vue.createElementBlock("div",_hoisted_8$u)):vue.createCommentVNode("",!0),vue.createVNode(Render,{config:Te,list:vue.unref(G).getWidgetList,isLinkageQuery:!1,isCount:!1},null,8,["config","list"])],46,_hoisted_2$1l)}),128)),vue.createVNode(vue.unref(Moveable),{rootContainer:vue.unref(re),ref_key:"moveableRef",ref:oe,origin:!1,stopPropagation:!0,target:vue.unref(G).targetsWidget,draggable:!0,resizable:!0,scalable:!1,snappable:!0,maxSnapElementGuidelineDistance:100,maxSnapElementGapDistance:100,isDisplayInnerSnapDigit:!0,snapDirections:!0,elementSnapDirections:!0,elementGuidelines:ue(),bounds:{left:0,top:0,bottom:0,right:0,position:"css"},onDragStart:de,onDrag:fe,onDragEnd:ve,onResizeStart:be,onResize:xe,onResizeEnd:Ce,onDragGroupStart:he,onDragGroup:pe,onDragGroupEnd:ge,onResizeGroupStart:me,onResizeGroup:_e,onResizeGroupEnd:ye},null,8,["rootContainer","target","elementGuidelines"])])]),_:1}))}}),main_vue_vue_type_style_index_0_scoped_d83296c5_lang="",Main=_export_sfc$2(_sfc_main$2p,[["__scopeId","data-v-d83296c5"]]),_sfc_main$2o=vue.defineComponent({__name:"colorPicker",props:{modelValue:{default:""},showInput:{type:Boolean,default:!0}},emits:["update:modelValue"],setup(te,{emit:U}){const G=te,{proxy:ee}=vue.getCurrentInstance(),ne=ee.$globalPreColor,re=vue.ref(G.modelValue=="transparent"?"":G.modelValue),oe=U;return vue.watch(re,ie=>{oe("update:modelValue",ie||"transparent")}),(ie,le)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[ie.showInput?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElInput),{key:0,value:vue.unref(re),class:"mr-1",style:{width:"80%"}},null,8,["value"])):vue.createCommentVNode("",!0),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{modelValue:vue.unref(re),"onUpdate:modelValue":le[0]||(le[0]=ae=>vue.isRef(re)?re.value=ae:null),predefine:vue.unref(ne),"show-alpha":""},null,8,["modelValue","predefine"])],64))}}),_hoisted_1$1A={class:"flex items-center h-10 p-2"},_hoisted_2$1k=vue.createElementVNode("span",{class:"w-1 h-4 mr-2",style:{background:"var(--el-color-primary)"}},null,-1),_sfc_main$2n=vue.defineComponent({__name:"group",props:{title:{default:"标题"}},setup(te){return(U,G)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createElementVNode("div",_hoisted_1$1A,[_hoisted_2$1k,vue.createTextVNode(" "+vue.toDisplayString(U.title),1)]),vue.renderSlot(U.$slots,"default")],64))}}),_withScopeId$B=te=>(vue.pushScopeId("data-v-9ebd23bc"),te=te(),vue.popScopeId(),te),_hoisted_1$1z={class:"flex items-center"},_hoisted_2$1j=_withScopeId$B(()=>vue.createElementVNode("span",{class:"ml-1 mr-1"},"-",-1)),_hoisted_3$19=["src"],_hoisted_4$12={key:1,class:"pt-4 pb-4"},_hoisted_5$R=_withScopeId$B(()=>vue.createElementVNode("p",{class:"mb-5"},"拖拽文件上传图片",-1)),_hoisted_6$G=_withScopeId$B(()=>vue.createElementVNode("i",{class:"text-6xl ri-image-add-line"},null,-1)),_hoisted_7$z=[_hoisted_5$R,_hoisted_6$G],_sfc_main$2m=vue.defineComponent({__name:"stageSetting",setup(te){const U=screenDesignMainStore(),{proxy:G}=vue.getCurrentInstance(),{resetUrl:ee}=G.$globalUtils,ne=[{label:"平铺",value:"repeat"},{label:"平铺X",value:"repeat-x"},{label:"平铺Y",value:"repeat-y"},{label:"不平铺",value:"no-repeat"}],re=[{label:"拉伸",value:"cover"},{label:"自适应",value:"contain"}],oe=[{label:"左上",value:"top left"},{label:"左中",value:"top center"},{label:"左右",value:"top right"},{label:"居左",value:"center left"},{label:"居中",value:"center center"},{label:"局右",value:"center right"},{label:"左下",value:"bottom left"},{label:"左中",value:"bottom center"},{label:"左右",value:"bottom right"}],ie=async le=>{const ae=new FormData;ae.append("file",le.file);const se=await G.$baseHttp.post("/api/ace-api/blade-resource/oss/endpoint/put-file",ae,{headers:{"Content-Type":"multipart/form-data",loading:!0}});se&&(U.widgetConfg.config.backgroundImage=se.data.link)};return(le,ae)=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElForm),{"label-position":"left",size:"small","label-width":"100px"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2n,{title:"整体布局"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"尺寸"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1z,[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{"model-value":vue.unref(U).stageWidth,onChange:vue.unref(U).setStageWidth,size:"small",min:0,"value-on-clear":1920},null,8,["model-value","onChange"]),_hoisted_2$1j,vue.createVNode(vue.unref(elementPlus.ElInputNumber),{"model-value":vue.unref(U).stageHeight,onChange:vue.unref(U).setStageHeight,size:"small",min:0,"value-on-clear":1080},null,8,["model-value","onChange"])])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景图"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElUpload),{drag:"",limit:1,"http-request":ie,"show-file-list":!1,accept:"image/*"},{default:vue.withCtx(()=>[vue.unref(U).widgetConfg.config.backgroundImage?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createElementVNode("img",{class:"object-contain max-h-40",src:vue.unref(ee)(vue.unref(U).widgetConfg.config.backgroundImage)},null,8,_hoisted_3$19),vue.createElementVNode("i",{class:"absolute text-xl ri-close-circle-line right-4 top-4",onClick:ae[0]||(ae[0]=vue.withModifiers(se=>vue.unref(U).widgetConfg.config.backgroundImage=null,["stop"]))})],64)):(vue.openBlock(),vue.createElementBlock("div",_hoisted_4$12,_hoisted_7$z))]),_:1})]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(U).widgetConfg.config.backgroundColor,"onUpdate:modelValue":ae[1]||(ae[1]=se=>vue.unref(U).widgetConfg.config.backgroundColor=se)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景平铺"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(U).widgetConfg.config.backgroundRepeat,"onUpdate:modelValue":ae[2]||(ae[2]=se=>vue.unref(U).widgetConfg.config.backgroundRepeat=se),size:"small",style:{width:"100%"},placeholder:"请选择",clearable:""},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(ne,se=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:se.value,label:se.label,value:se.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(U).widgetConfg.config.backgroundSize,"onUpdate:modelValue":ae[3]||(ae[3]=se=>vue.unref(U).widgetConfg.config.backgroundSize=se),size:"small",style:{width:"100%"},placeholder:"请选择",clearable:""},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(re,se=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:se.value,label:se.label,value:se.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(U).widgetConfg.config.backgroundPosition,"onUpdate:modelValue":ae[4]||(ae[4]=se=>vue.unref(U).widgetConfg.config.backgroundPosition=se),size:"small",style:{width:"100%"},placeholder:"请选择",clearable:""},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(oe,se=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:se.value,label:se.label,value:se.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}))}}),stageSetting_vue_vue_type_style_index_0_scoped_9ebd23bc_lang="",stagetSetting=_export_sfc$2(_sfc_main$2m,[["__scopeId","data-v-9ebd23bc"]]),_sfc_main$2l=vue.defineComponent({__name:"decorationSetting",setup(te){const U=vue.inject("widgetConfig");return(G,ee)=>vue.unref(U)?(vue.openBlock(),vue.createBlock(_sfc_main$2n,{key:0,title:"基础"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"主颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(U).customize.decorationColor1,"onUpdate:modelValue":ee[0]||(ee[0]=ne=>vue.unref(U).customize.decorationColor1=ne)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"副颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(U).customize.decorationColor2,"onUpdate:modelValue":ee[1]||(ee[1]=ne=>vue.unref(U).customize.decorationColor2=ne)},null,8,["modelValue"])]),_:1}),Object.keys(vue.unref(U).customize).includes("reverse")?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElFormItem),{key:0,label:"是否反转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(U).customize.reverse,"onUpdate:modelValue":ee[2]||(ee[2]=ne=>vue.unref(U).customize.reverse=ne)},null,8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),Object.keys(vue.unref(U).customize).includes("duration")?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElFormItem),{key:1,label:"动画时长"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(U).customize.duration,"onUpdate:modelValue":ee[3]||(ee[3]=ne=>vue.unref(U).customize.duration=ne)},null,8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0)]),_:1})):vue.createCommentVNode("",!0)}}),_sfc_main$2k=vue.defineComponent({__name:"setting",setup(te){const{proxy:U}=vue.getCurrentInstance(),G=vue.inject("widgetConfig");return(ee,ne)=>vue.unref(G)?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElForm),{key:0,"label-position":"left",size:"small","label-width":"90px",class:"design-form"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2n,{title:"标题"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"标题"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(G).name,"onUpdate:modelValue":ne[0]||(ne[0]=re=>vue.unref(G).name=re)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$2n,{title:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(G).w,"onUpdate:modelValue":ne[1]||(ne[1]=re=>vue.unref(G).w=re),onBlur:ne[2]||(ne[2]=re=>vue.unref(U).$baseEventBus.emit("update-rect"))},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"高度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(G).h,"onUpdate:modelValue":ne[3]||(ne[3]=re=>vue.unref(G).h=re),onBlur:ne[4]||(ne[4]=re=>vue.unref(U).$baseEventBus.emit("update-rect"))},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"x轴坐标"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(G).x,"onUpdate:modelValue":ne[5]||(ne[5]=re=>vue.unref(G).x=re),onBlur:ne[6]||(ne[6]=re=>vue.unref(U).$baseEventBus.emit("update-rect"))},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"y轴坐标"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(G).y,"onUpdate:modelValue":ne[7]||(ne[7]=re=>vue.unref(G).y=re),onBlur:ne[8]||(ne[8]=re=>vue.unref(U).$baseEventBus.emit("update-rect"))},null,8,["modelValue"])]),_:1})]),_:1}),vue.renderSlot(ee.$slots,"default")]),_:3})):vue.createCommentVNode("",!0)}}),_sfc_main$2j=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2l)]),_:1}))}}),__vite_glob_0_0=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2j},Symbol.toStringTag,{value:"Module"})),_sfc_main$2i=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2l)]),_:1}))}}),__vite_glob_0_1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2i},Symbol.toStringTag,{value:"Module"})),_sfc_main$2h=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2l)]),_:1}))}}),__vite_glob_0_2=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2h},Symbol.toStringTag,{value:"Module"})),_sfc_main$2g=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2l)]),_:1}))}}),__vite_glob_0_3=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2g},Symbol.toStringTag,{value:"Module"})),_sfc_main$2f=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2l)]),_:1}))}}),__vite_glob_0_4=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2f},Symbol.toStringTag,{value:"Module"})),_sfc_main$2e=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2l)]),_:1}))}}),__vite_glob_0_5=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2e},Symbol.toStringTag,{value:"Module"})),_sfc_main$2d=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2l)]),_:1}))}}),__vite_glob_0_6=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2d},Symbol.toStringTag,{value:"Module"})),_sfc_main$2c=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2l)]),_:1}))}}),__vite_glob_0_7=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2c},Symbol.toStringTag,{value:"Module"})),_sfc_main$2b=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2l)]),_:1}))}}),__vite_glob_0_8=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2b},Symbol.toStringTag,{value:"Module"})),_sfc_main$2a=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2l)]),_:1}))}}),__vite_glob_0_9=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2a},Symbol.toStringTag,{value:"Module"})),_sfc_main$29=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2l)]),_:1}))}}),__vite_glob_0_10=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$29},Symbol.toStringTag,{value:"Module"})),_sfc_main$28=vue.defineComponent({__name:"borderSetting",setup(te){const U=vue.inject("widgetConfig");return(G,ee)=>vue.unref(U)?(vue.openBlock(),vue.createBlock(_sfc_main$2n,{key:0,title:"基础"},{default:vue.withCtx(()=>[Object.keys(vue.unref(U).customize).includes("title")?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElFormItem),{key:0,label:"标题"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(U).customize.title,"onUpdate:modelValue":ee[0]||(ee[0]=ne=>vue.unref(U).customize.title=ne)},null,8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),Object.keys(vue.unref(U).customize).includes("titleWidth")?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElFormItem),{key:1,label:"标题宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(U).customize.titleWidth,"onUpdate:modelValue":ee[1]||(ee[1]=ne=>vue.unref(U).customize.titleWidth=ne)},null,8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"边框主颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(U).customize.borderMainColor,"onUpdate:modelValue":ee[2]||(ee[2]=ne=>vue.unref(U).customize.borderMainColor=ne)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"边框副颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(U).customize.borderSecondaryColor,"onUpdate:modelValue":ee[3]||(ee[3]=ne=>vue.unref(U).customize.borderSecondaryColor=ne)},null,8,["modelValue"])]),_:1}),Object.keys(vue.unref(U).customize).includes("reverse")?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElFormItem),{key:2,label:"是否反转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(U).customize.reverse,"onUpdate:modelValue":ee[4]||(ee[4]=ne=>vue.unref(U).customize.reverse=ne)},null,8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),Object.keys(vue.unref(U).customize).includes("duration")?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElFormItem),{key:3,label:"动画时长"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(U).customize.duration,"onUpdate:modelValue":ee[5]||(ee[5]=ne=>vue.unref(U).customize.duration=ne)},null,8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(U).customize.backgroundColor,"onUpdate:modelValue":ee[6]||(ee[6]=ne=>vue.unref(U).customize.backgroundColor=ne)},null,8,["modelValue"])]),_:1})]),_:1})):vue.createCommentVNode("",!0)}}),_sfc_main$27=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$28)]),_:1}))}}),__vite_glob_1_0=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$27},Symbol.toStringTag,{value:"Module"})),_sfc_main$26=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$28)]),_:1}))}}),__vite_glob_1_1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$26},Symbol.toStringTag,{value:"Module"})),_sfc_main$25=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$28)]),_:1}))}}),__vite_glob_1_2=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$25},Symbol.toStringTag,{value:"Module"})),_sfc_main$24=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$28)]),_:1}))}}),__vite_glob_1_3=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$24},Symbol.toStringTag,{value:"Module"})),_sfc_main$23=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$28)]),_:1}))}}),__vite_glob_1_4=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$23},Symbol.toStringTag,{value:"Module"})),_sfc_main$22=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$28)]),_:1}))}}),__vite_glob_1_5=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$22},Symbol.toStringTag,{value:"Module"})),_sfc_main$21=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$28)]),_:1}))}}),__vite_glob_1_6=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$21},Symbol.toStringTag,{value:"Module"})),_sfc_main$20=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$28)]),_:1}))}}),__vite_glob_1_7=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$20},Symbol.toStringTag,{value:"Module"})),_sfc_main$1$=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$28)]),_:1}))}}),__vite_glob_1_8=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$1$},Symbol.toStringTag,{value:"Module"})),_sfc_main$1_=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$28)]),_:1}))}}),__vite_glob_1_9=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$1_},Symbol.toStringTag,{value:"Module"})),_sfc_main$1Z=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$28)]),_:1}))}}),__vite_glob_1_10=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$1Z},Symbol.toStringTag,{value:"Module"})),_sfc_main$1Y=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$28)]),_:1}))}}),__vite_glob_1_11=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$1Y},Symbol.toStringTag,{value:"Module"})),_sfc_main$1X=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$28)]),_:1}))}}),__vite_glob_1_12=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$1X},Symbol.toStringTag,{value:"Module"})),_sfc_main$1W=vue.defineComponent({__name:"setting",setup(te){const U=vue.inject("widgetConfig");return(G,ee)=>{const ne=vue.resolveComponent("el-form-item"),re=vue.resolveComponent("el-input-number");return vue.unref(U)?(vue.openBlock(),vue.createBlock(_sfc_main$2k,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2n,{title:"基础"},{default:vue.withCtx(()=>[vue.createVNode(ne,{label:"背景色一"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(U).customize.gradientColor0,"onUpdate:modelValue":ee[0]||(ee[0]=oe=>vue.unref(U).customize.gradientColor0=oe)},null,8,["modelValue"])]),_:1}),vue.createVNode(ne,{label:"背景色二"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(U).customize.gradientColor1,"onUpdate:modelValue":ee[1]||(ee[1]=oe=>vue.unref(U).customize.gradientColor1=oe)},null,8,["modelValue"])]),_:1}),vue.createVNode(ne,{label:"宽度"},{default:vue.withCtx(()=>[vue.createVNode(re,{modelValue:vue.unref(U).customize.width,"onUpdate:modelValue":ee[2]||(ee[2]=oe=>vue.unref(U).customize.width=oe)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0)}}}),__vite_glob_2_0=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$1W},Symbol.toStringTag,{value:"Module"})),_sfc_main$1V=vue.defineComponent({__name:"setting",setup(te){const U=vue.inject("widgetConfig");return(G,ee)=>vue.unref(U)?(vue.openBlock(),vue.createBlock(_sfc_main$2k,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2n,{title:"地址配置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"地址"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(U).customize.url,"onUpdate:modelValue":ee[0]||(ee[0]=ne=>vue.unref(U).customize.url=ne)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0)}}),__vite_glob_2_1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$1V},Symbol.toStringTag,{value:"Module"})),_withScopeId$A=te=>(vue.pushScopeId("data-v-ba7d8f9c"),te=te(),vue.popScopeId(),te),_hoisted_1$1y={class:"p-3"},_hoisted_2$1i=["src"],_hoisted_3$18={key:1,class:"pt-4 pb-4"},_hoisted_4$11=_withScopeId$A(()=>vue.createElementVNode("p",{class:"mb-5"},"拖拽文件上传图片",-1)),_hoisted_5$Q=_withScopeId$A(()=>vue.createElementVNode("i",{class:"text-6xl ri-image-add-line"},null,-1)),_hoisted_6$F=[_hoisted_4$11,_hoisted_5$Q],_sfc_main$1U=vue.defineComponent({__name:"setting",setup(te){const U=[{label:"压缩",value:"fill"},{label:"填充",value:"cover"},{label:"自适应",value:"contain"},{label:"原始大小",value:"none"},{label:"展示最小",value:"scale-down"}],{proxy:G}=vue.getCurrentInstance(),{resetUrl:ee}=G.$globalUtils,ne=vue.inject("widgetConfig"),re=async oe=>{const ie=new FormData;ie.append("file",oe.file);const le=await G.$baseHttp.post("/api/ace-api/blade-resource/oss/endpoint/put-file",ie,{headers:{"Content-Type":"multipart/form-data",loading:!0}});le&&(ne.value.customize.url=le.data.link)};return(oe,ie)=>vue.unref(ne)?(vue.openBlock(),vue.createBlock(_sfc_main$2k,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2n,{title:"图片配置"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1y,[vue.createVNode(vue.unref(elementPlus.ElUpload),{drag:"",limit:1,"http-request":re,"show-file-list":!1,accept:"image/*"},{default:vue.withCtx(()=>[vue.unref(ne).customize.url?(vue.openBlock(),vue.createElementBlock("img",{key:0,class:"max-h-40",src:vue.unref(ee)(vue.unref(ne).customize.url)},null,8,_hoisted_2$1i)):(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$18,_hoisted_6$F))]),_:1})]),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"地址"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(ne).customize.url,"onUpdate:modelValue":ie[0]||(ie[0]=le=>vue.unref(ne).customize.url=le)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"展示方式"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(ne).customize.fit,"onUpdate:modelValue":ie[1]||(ie[1]=le=>vue.unref(ne).customize.fit=le)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(U,le=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:le.value,label:le.label,value:le.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0)}}),setting_vue_vue_type_style_index_0_scoped_ba7d8f9c_lang="",setting$1=_export_sfc$2(_sfc_main$1U,[["__scopeId","data-v-ba7d8f9c"]]),__vite_glob_2_2=Object.freeze(Object.defineProperty({__proto__:null,default:setting$1},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1x=vue.createElementVNode("i",{class:"ri-arrow-right-fill ml-2 mr-2"},null,-1),_sfc_main$1T=vue.defineComponent({__name:"text",setup(te){const U=[{label:"靠左",value:"left"},{label:"居中",value:"center"},{label:"靠右",value:"right"}],G=vue.inject("widgetConfig");return(ee,ne)=>vue.unref(G)?(vue.openBlock(),vue.createBlock(_sfc_main$2n,{key:0,title:"文本"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"文本"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(G).customize.title,"onUpdate:modelValue":ne[0]||(ne[0]=re=>vue.unref(G).customize.title=re)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(G).customize.fontSize,"onUpdate:modelValue":ne[1]||(ne[1]=re=>vue.unref(G).customize.fontSize=re)},{suffix:vue.withCtx(()=>[vue.createTextVNode("px")]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"文字权重"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(G).customize.fontWeight,"onUpdate:modelValue":ne[2]||(ne[2]=re=>vue.unref(G).customize.fontWeight=re)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"文字间距"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(G).customize.letterSpacing,"onUpdate:modelValue":ne[3]||(ne[3]=re=>vue.unref(G).customize.letterSpacing=re)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"文字对齐方式"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(G).customize.textAlign,"onUpdate:modelValue":ne[4]||(ne[4]=re=>vue.unref(G).customize.textAlign=re)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(U,re=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:re.value,label:re.label,value:re.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"文字渐变方向"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadioGroup),{modelValue:vue.unref(G).customize.colorPosition,"onUpdate:modelValue":ne[5]||(ne[5]=re=>vue.unref(G).customize.colorPosition=re)},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"top",label:"top"},{default:vue.withCtx(()=>[vue.createTextVNode("上下")]),_:1}),vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"left",label:"left"},{default:vue.withCtx(()=>[vue.createTextVNode("左右")]),_:1})]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"文字渐变颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(G).customize.startColor,"onUpdate:modelValue":ne[6]||(ne[6]=re=>vue.unref(G).customize.startColor=re),showInput:!1},null,8,["modelValue"]),_hoisted_1$1x,vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(G).customize.endColor,"onUpdate:modelValue":ne[7]||(ne[7]=re=>vue.unref(G).customize.endColor=re),showInput:!1},null,8,["modelValue"])]),_:1})]),_:1})):vue.createCommentVNode("",!0)}}),_withScopeId$z=te=>(vue.pushScopeId("data-v-63b0e6ae"),te=te(),vue.popScopeId(),te),_hoisted_1$1w={class:"selection el-popper is-light el-popover"},_hoisted_2$1h=_withScopeId$z(()=>vue.createElementVNode("span",{class:"el-popper__arrow","data-popper-arrow":""},null,-1)),validKeys$1="0123456789+-*/@.()",_sfc_main$1S=vue.defineComponent({__name:"exp",setup(te){const U=screenDesignMainStore(),G=vue.inject("widgetConfig"),ee=vue.ref(null),ne=vue.ref(""),re=vue.computed(()=>{const be=[];return Object.keys(U.getCountMap).forEach(xe=>{const Ce=U.getCountMap[xe],$e=[];Object.keys(Ce.var).forEach(Ee=>{const Ve=Ee.replace(xe,Ce.title);$e.push({label:Ve.replace(`${Ce.title}.`,""),value:`${Ve}||${xe}`})}),be.push({label:Ce.title,value:xe,children:$e})}),be}),oe=be=>{const{key:xe}=be;switch(xe){case"Enter":be.preventDefault();break;case"@":case"Process":se();break}};let ie=null;const le=()=>{const be=vue.unref(ee).innerHTML;let xe=pe(be.replace(/<br>/g,""));xe=xe.map($e=>me($e)?ge($e):$e.data.split("").filter(Ee=>validKeys$1.includes(Ee)).join(""));const Ce=xe.join("");if(be!==Ce){const $e=_e(be,Ce);vue.unref(ee).innerHTML=Ce,ye(vue.unref(ee),$e)}clearTimeout(ie),ie=setTimeout(async()=>{fe()},500)},ae=vue.ref(!1),se=()=>{ne.value="",ae.value=!0},ue=be=>{ae.value=!1;const[xe,Ce]=be.split("||"),$e=`<div contenteditable="false">${xe}<span>${Ce}</span></div>`;de("@",$e)};(()=>{var be;if((be=vue.unref(G).customize.formula)!=null&&be.exp){const xe=vue.unref(G).customize.formula;let Ce=xe.exp??"";const $e=xe.identifier.split(","),Ee=/\{([^}]+)\}/g;let Ve=-1;Ce=Ce.replace(Ee,(Ne,Se)=>(Ve+=1,`<div contenteditable="false">${Se}<span>${$e[Ve]}</span></div>`)),vue.nextTick(()=>{vue.unref(ee).innerHTML=Ce.replace(/@/g,""),setTimeout(()=>{fe()},100)})}})();const de=(be,xe="")=>{if(!vue.unref(ee))return;let Ce=vue.unref(ee).innerHTML;Ce.includes(be)&&(Ce=Ce.replace(new RegExp(be,"g"),xe),vue.unref(ee).innerHTML=Ce),fe()},fe=()=>{let be="";const xe=[],Ce=vue.unref(ee).innerHTML.replace(/\sdata-spm-anchor-id=".*?"/g,"");he({text:Ce,prefix:'<div contenteditable="false">',suffix:"</div>"}).forEach(Ee=>{const[Ve,Ne]=he({text:Ee,prefix:"<span>",suffix:"</span>"});Ne?(be+=`{${Ve}}`,xe.push(Ne)):be+=Ve}),G.value.customize.formula={exp:be,identifier:xe.toString()}},ve=be=>{ae.value=!1,be&&de("@")},he=({text:be,prefix:xe,suffix:Ce})=>be.replace(new RegExp(xe,"g"),",").replace(new RegExp(Ce,"g"),",").split(",").filter($e=>!!$e),pe=be=>{const xe=document.createElement("div");return xe.innerHTML=be,[...xe.childNodes]},ge=be=>{let xe=document.createElement("div");xe.appendChild(be);let Ce=xe.innerHTML;return xe=be=null,Ce},me=be=>Object.prototype.toString.call(be)==="[object HTMLDivElement]",_e=(be,xe)=>{const Ce=be.split(""),$e=xe.split(""),Ee=Math.max(Ce.length,$e.length);let Ve=0;for(let Ne=0;Ne<Ee&&Ce[Ne]==$e[Ne];Ne++)Ve++;return Ve},ye=(be,xe)=>{const Ce=document.createRange(),$e=window.getSelection();let Ee=0,Ve=0;const Ne=pe(be.innerHTML);for(let Se=0;Se<Ne.length;Se++){const Pe=Ne[Se];if(me(Pe))xe-=ge(Pe).length;else if(xe>Pe.length)xe-=Pe.length;else{Ve=xe;break}Ee++}Ce.selectNodeContents(be),Ce.collapse(!1),be.childNodes[Ee]&&Ce.setStart(be.childNodes[Ee],Ve),Ce.collapse(!0),$e.removeAllRanges(),$e.addRange(Ce)};return(be,xe)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createElementVNode("div",{ref_key:"formulaRef",ref:ee,class:"flex-1 formula",contenteditable:"",placeholder:"请输入表达式 输入「@」后选择指标",style:{"ime-mode":"disabled"},onKeydown:vue.withModifiers(oe,["stop"]),onKeyup:le},null,544),vue.withDirectives(vue.createElementVNode("div",_hoisted_1$1w,[vue.createElementVNode("div",{class:"mb-2.5 flex justify-between"},[vue.createTextVNode(" 选择变量 "),vue.createElementVNode("i",{class:"text-base cursor-pointer ri-close-circle-line",onClick:ve})]),vue.createVNode(vue.unref(elementPlus.ElTreeSelect),{onChange:ue,filterable:"",accordion:"",placeholder:"请选择变量",teleported:!1,modelValue:vue.unref(ne),"onUpdate:modelValue":xe[0]||(xe[0]=Ce=>vue.isRef(ne)?ne.value=Ce:null),data:vue.unref(re)},null,8,["modelValue","data"]),_hoisted_2$1h],512),[[vue.vShow,vue.unref(ae)]])],64))}}),exp_vue_vue_type_style_index_0_scoped_63b0e6ae_lang="",Exp=_export_sfc$2(_sfc_main$1S,[["__scopeId","data-v-63b0e6ae"]]),_withScopeId$y=te=>(vue.pushScopeId("data-v-ae8d9af3"),te=te(),vue.popScopeId(),te),_hoisted_1$1v=_withScopeId$y(()=>vue.createElementVNode("div",{class:"h-12"},null,-1)),_sfc_main$1R=vue.defineComponent({__name:"setting",setup(te){const U=vue.inject("widgetConfig");return(G,ee)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1T),vue.createVNode(_sfc_main$2n,{title:"计算设置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"小数位"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:vue.unref(U).customize.toFixed,"onUpdate:modelValue":ee[0]||(ee[0]=ne=>vue.unref(U).customize.toFixed=ne),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"公式",class:"formula-item"},{default:vue.withCtx(()=>[vue.createVNode(Exp)]),_:1})]),_:1}),_hoisted_1$1v]),_:1}))}}),setting_vue_vue_type_style_index_0_scoped_ae8d9af3_lang="",setting=_export_sfc$2(_sfc_main$1R,[["__scopeId","data-v-ae8d9af3"]]),__vite_glob_2_3=Object.freeze(Object.defineProperty({__proto__:null,default:setting},Symbol.toStringTag,{value:"Module"})),_sfc_main$1Q=vue.defineComponent({__name:"setting",setup(te){const U=vue.inject("widgetConfig");return(G,ee)=>vue.unref(U)?(vue.openBlock(),vue.createBlock(_sfc_main$2k,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2n,{title:"基础"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"渐变方向"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadioGroup),{modelValue:vue.unref(U).customize.colorPosition,"onUpdate:modelValue":ee[0]||(ee[0]=ne=>vue.unref(U).customize.colorPosition=ne)},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"bottom",label:"bottom"},{default:vue.withCtx(()=>[vue.createTextVNode("上下")]),_:1}),vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"right",label:"right"},{default:vue.withCtx(()=>[vue.createTextVNode("左右")]),_:1})]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"边角宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(U).customize.borderRadius,"onUpdate:modelValue":ee[1]||(ee[1]=ne=>vue.unref(U).customize.borderRadius=ne)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景色一"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(U).customize.gradientColor0,"onUpdate:modelValue":ee[2]||(ee[2]=ne=>vue.unref(U).customize.gradientColor0=ne)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景色二"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(U).customize.gradientColor1,"onUpdate:modelValue":ee[3]||(ee[3]=ne=>vue.unref(U).customize.gradientColor1=ne)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0)}}),__vite_glob_2_4=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$1Q},Symbol.toStringTag,{value:"Module"})),_sfc_main$1P=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1T)]),_:1}))}}),__vite_glob_2_5=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$1P},Symbol.toStringTag,{value:"Module"})),_sfc_main$1O=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1T)]),_:1}))}}),__vite_glob_2_6=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$1O},Symbol.toStringTag,{value:"Module"})),_sfc_main$1N=vue.defineComponent({__name:"setting",setup(te){const U=vue.inject("widgetConfig");return(G,ee)=>{const ne=vue.resolveComponent("el-form-item"),re=vue.resolveComponent("el-input-number");return vue.unref(U)?(vue.openBlock(),vue.createBlock(_sfc_main$2k,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2n,{title:"基础"},{default:vue.withCtx(()=>[vue.createVNode(ne,{label:"背景色一"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(U).customize.gradientColor0,"onUpdate:modelValue":ee[0]||(ee[0]=oe=>vue.unref(U).customize.gradientColor0=oe)},null,8,["modelValue"])]),_:1}),vue.createVNode(ne,{label:"背景色二"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(U).customize.gradientColor1,"onUpdate:modelValue":ee[1]||(ee[1]=oe=>vue.unref(U).customize.gradientColor1=oe)},null,8,["modelValue"])]),_:1}),vue.createVNode(ne,{label:"高度"},{default:vue.withCtx(()=>[vue.createVNode(re,{modelValue:vue.unref(U).customize.height,"onUpdate:modelValue":ee[2]||(ee[2]=oe=>vue.unref(U).customize.height=oe)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0)}}}),__vite_glob_2_7=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$1N},Symbol.toStringTag,{value:"Module"})),_withScopeId$x=te=>(vue.pushScopeId("data-v-7afca816"),te=te(),vue.popScopeId(),te),_hoisted_1$1u=_withScopeId$x(()=>vue.createElementVNode("div",{class:"h-14"},null,-1)),_sfc_main$1M=vue.defineComponent({__name:"linkage",setup(te){const{proxy:U}=vue.getCurrentInstance(),G=screenDesignMainStore(),ee=vue.computed(()=>G.getWidgetList.filter(oe=>oe.modelType=="MODEL_INDICATORS")),ne=vue.inject("widgetConfig"),re=vue.ref([]);return U.$baseHttp.get("/api/ace-data-center/model-indicators/getConfJson",{params:{modelIndicatorsIds:vue.unref(ee).map(oe=>oe.indicatorsId).toString()}}).then(oe=>{re.value=[],console.log(vue.unref(ee)),vue.unref(ee).forEach(ie=>{const le=oe.data.formConfJsonMap[ie.indicatorsId];le&&re.value.push({label:ie.name,value:ie.indicatorsId,children:JSON.parse(le).map(ae=>({label:ae.name,value:ae.key}))})})}),(oe,ie)=>(vue.openBlock(),vue.createBlock(_sfc_main$2n,{title:"联动组件"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:""},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElCascader),{teleported:!1,style:{width:"100%"},placeholder:"请选择指标",modelValue:vue.unref(ne).customize.linkage,"onUpdate:modelValue":ie[0]||(ie[0]=le=>vue.unref(ne).customize.linkage=le),options:vue.unref(re),props:{multiple:!0},clearable:""},null,8,["modelValue","options"])]),_:1}),_hoisted_1$1u]),_:1}))}}),linkage_vue_vue_type_style_index_0_scoped_7afca816_lang="",linkage=_export_sfc$2(_sfc_main$1M,[["__scopeId","data-v-7afca816"]]),_hoisted_1$1t={class:"flex flex-wrap gap-1"},_hoisted_2$1g={class:"flex items-center gap-1"},_hoisted_3$17={class:"flex items-center gap-1"},_hoisted_4$10={class:"flex items-center gap-1"},_hoisted_5$P={class:"flex items-center gap-1"},_sfc_main$1L=vue.defineComponent({__name:"setting",setup(te){const U=vue.inject("widgetConfig");return(G,ee)=>vue.unref(U)?(vue.openBlock(),vue.createBlock(_sfc_main$2k,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2n,{title:"基础"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(U).customize.backgroundColor,"onUpdate:modelValue":ee[0]||(ee[0]=ne=>vue.unref(U).customize.backgroundColor=ne)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"边框颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(U).customize.borderColor,"onUpdate:modelValue":ee[1]||(ee[1]=ne=>vue.unref(U).customize.borderColor=ne)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"边框大小"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1t,[vue.createElementVNode("div",_hoisted_2$1g,[vue.createTextVNode(" 上 "),vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(U).customize.borderTopWidth,"onUpdate:modelValue":ee[2]||(ee[2]=ne=>vue.unref(U).customize.borderTopWidth=ne),"controls-position":"right"},null,8,["modelValue"])]),vue.createElementVNode("div",_hoisted_3$17,[vue.createTextVNode(" 右 "),vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(U).customize.borderRightWidth,"onUpdate:modelValue":ee[3]||(ee[3]=ne=>vue.unref(U).customize.borderRightWidth=ne),"controls-position":"right"},null,8,["modelValue"])]),vue.createElementVNode("div",_hoisted_4$10,[vue.createTextVNode(" 下 "),vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(U).customize.borderBottomWidth,"onUpdate:modelValue":ee[4]||(ee[4]=ne=>vue.unref(U).customize.borderBottomWidth=ne),"controls-position":"right"},null,8,["modelValue"])]),vue.createElementVNode("div",_hoisted_5$P,[vue.createTextVNode(" 左 "),vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(U).customize.borderLeftWidth,"onUpdate:modelValue":ee[5]||(ee[5]=ne=>vue.unref(U).customize.borderLeftWidth=ne),"controls-position":"right"},null,8,["modelValue"])])])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"字体颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(U).customize.color,"onUpdate:modelValue":ee[6]||(ee[6]=ne=>vue.unref(U).customize.color=ne)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(U).customize.fontSize,"onUpdate:modelValue":ee[7]||(ee[7]=ne=>vue.unref(U).customize.fontSize=ne)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"圆角大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(U).customize.borderRadius,"onUpdate:modelValue":ee[8]||(ee[8]=ne=>vue.unref(U).customize.borderRadius=ne)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$2n,{title:"输入框配置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"默认值"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(U).customize.modelValue,"onUpdate:modelValue":ee[9]||(ee[9]=ne=>vue.unref(U).customize.modelValue=ne)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"空值显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(U).customize.placeholder,"onUpdate:modelValue":ee[10]||(ee[10]=ne=>vue.unref(U).customize.placeholder=ne)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(linkage)]),_:1})):vue.createCommentVNode("",!0)}}),__vite_glob_3_0=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$1L},Symbol.toStringTag,{value:"Module"})),_sfc_main$1K=vue.defineComponent({__name:"setting",setup(te){const{proxy:U}=vue.getCurrentInstance(),G=vue.ref([]),ee=vue.ref([]),ne=vue.inject("widgetConfig");U.$baseHttp.get(`/api/ace-data-center/custom-dic/options?projectId=${U.$baseGetCurrentProjectId()}`).then(oe=>{G.value=oe.data,re(!1)});const re=(oe=!0)=>{const ie=vue.unref(ne).customize.dictId;oe&&(ee.value=[],vue.unref(ne).customize.modelValue=""),ie&&U.$baseHttp.get(`/api/ace-data-center/custom-dic/readDict/${ie}`).then(le=>{ee.value=le.data??[]})};return(oe,ie)=>vue.unref(ne)?(vue.openBlock(),vue.createBlock(_sfc_main$2k,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2n,{title:"基础信息"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"值可清空"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(ne).customize.clearable,"onUpdate:modelValue":ie[0]||(ie[0]=le=>vue.unref(ne).customize.clearable=le)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$2n,{title:"下拉框配置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"字典"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{teleported:!1,modelValue:vue.unref(ne).customize.dictId,"onUpdate:modelValue":ie[1]||(ie[1]=le=>vue.unref(ne).customize.dictId=le),placeholder:"字典值",onChange:re},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(G),le=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{label:le.label,value:le.code,key:le.code},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"默认值"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{teleported:!1,modelValue:vue.unref(ne).customize.modelValue,"onUpdate:modelValue":ie[2]||(ie[2]=le=>vue.unref(ne).customize.modelValue=le),placeholder:"请选择",clearable:""},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(ee),le=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{label:le.name,value:le.code,key:le.code},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"空值显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(ne).customize.placeholder,"onUpdate:modelValue":ie[3]||(ie[3]=le=>vue.unref(ne).customize.placeholder=le)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(linkage)]),_:1})):vue.createCommentVNode("",!0)}}),__vite_glob_3_1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$1K},Symbol.toStringTag,{value:"Module"})),dict={lengendX:[{label:"靠左",value:"left"},{label:"居中",value:"center"},{label:"靠右",value:"right"}],lengendY:[{label:"靠上",value:"top"},{label:"居中",value:"center"},{label:"靠下",value:"bottom"}],orient:[{label:"水平",value:"horizontal"},{label:"垂直",value:"vertical"}],shape:[{label:"圆形",value:"circle"},{label:"方形",value:"rect"},{label:"圆角方形",value:"roundRect"},{label:"三角形",value:"triangle"},{label:"钢笔形",value:"pin"},{label:"箭头形",value:"arrow"}],xposition:[{label:"顶部",value:"top"},{label:"底部",value:"bottom"}],yposition:[{label:"左侧",value:"left"},{label:"右侧",value:"right"}],lineStyle:[{label:"实线",value:"solid"},{label:"虚线",value:"dashed"},{label:"点线",value:"dotted"}],category:[{label:"数据轴",value:"value"},{label:"类目轴",value:"category"}]},_hoisted_1$1s={class:"flex flex-col justify-start w-full"},_hoisted_2$1f={key:0,class:"flex items-center w-16 font-bold"},_hoisted_3$16=vue.createElementVNode("span",{class:"w-1 h-4 mr-2",style:{background:"var(--el-color-primary)"}},null,-1),_hoisted_4$$={class:"flex flex-wrap flex-1"},_hoisted_5$O=vue.createElementVNode("div",{class:"h-4"},null,-1),_sfc_main$1J=vue.defineComponent({__name:"setting-item-box",props:{name:{default:""}},setup(te){return(U,G)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createElementVNode("div",_hoisted_1$1s,[U.name?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$1f,[_hoisted_3$16,vue.createTextVNode(" "+vue.toDisplayString(U.name),1)])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_4$$,[vue.renderSlot(U.$slots,"default")])]),_hoisted_5$O],64))}}),_hoisted_1$1r={class:"w-1/2 pr-2 mt-2"},_hoisted_2$1e={class:"text-xs mb-2"},_sfc_main$1I=vue.defineComponent({__name:"setting-item",props:{name:{default:""}},setup(te){return(U,G)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1r,[vue.createElementVNode("div",_hoisted_2$1e,vue.toDisplayString(U.name),1),vue.renderSlot(U.$slots,"default")]))}}),_sfc_main$1H=vue.defineComponent({__name:"setting-common",props:{option:{default:{}},type:{default:0}},setup(te){const U=te,{proxy:G}=vue.getCurrentInstance(),ee=G.$globalPreColor,ne=[{label:"横向",value:"horizontal"},{label:"纵向",value:"vertical"}];return vue.watch(()=>U.option.custom,re=>{U.option.yAxis&&(U.option.yAxis.axisLabel.formatter=`${re.prefix??""}{value}${re.suffix??""}`)},{deep:!0}),vue.watch(()=>U.option.showScroll,re=>{if(re)U.option.dataZoom=[{type:"slider",backgroundColor:"#eef8fd",fillerColor:"#14b1f8",borderColor:"#eef8fd",startValue:0,endValue:5,filterMode:"",showDetail:!1,width:"90%",height:10,handleSize:30,left:"5%",bottom:15},{type:"inside",zoomOnMouseWheel:!1,moveOnMouseWheel:!0,moveOnMouseMove:!0}];else{const oe=U.option.series;U.option.series=[],U.option.direction="",setTimeout(()=>{delete U.option.dataZoom,U.option.series=oe})}}),vue.watch(()=>U.option.direction,re=>{U.option.dataZoom.forEach((oe,ie)=>{re=="vertical"?oe.yAxisIndex=[0]:delete oe.yAxisIndex})}),(re,oe)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[re.option.grid?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCollapseItem),{key:0,title:"容器"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"左侧距离"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:re.option.grid.left,"onUpdate:modelValue":oe[0]||(oe[0]=ie=>re.option.grid.left=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"右侧距离"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:re.option.grid.right,"onUpdate:modelValue":oe[1]||(oe[1]=ie=>re.option.grid.right=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"上侧距离"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:re.option.grid.top,"onUpdate:modelValue":oe[2]||(oe[2]=ie=>re.option.grid.top=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"下侧距离"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:re.option.grid.bottom,"onUpdate:modelValue":oe[3]||(oe[3]=ie=>re.option.grid.bottom=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"自适应"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:re.option.grid.containLabel,"onUpdate:modelValue":oe[4]||(oe[4]=ie=>re.option.grid.containLabel=ie)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0),[1,3,5].includes(re.type)?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCollapseItem),{key:1,title:"滚动条"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:re.option.showScroll,"onUpdate:modelValue":oe[5]||(oe[5]=ie=>re.option.showScroll=ie)},null,8,["modelValue"])]),_:1})]),_:1}),re.option.showScroll?(vue.openBlock(),vue.createBlock(_sfc_main$1J,{key:0,name:"参数"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"滚动条方向"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:re.option.direction,"onUpdate:modelValue":oe[6]||(oe[6]=ie=>re.option.direction=ie),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(ne,ie=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:ie.value,label:ie.label,value:ie.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"范围结束值"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:re.option.dataZoom[0].endValue,"onUpdate:modelValue":oe[7]||(oe[7]=ie=>re.option.dataZoom[0].endValue=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"拖拽宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:re.option.dataZoom[0].handleSize,"onUpdate:modelValue":oe[8]||(oe[8]=ie=>re.option.dataZoom[0].handleSize=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:re.option.dataZoom[0].width,"onUpdate:modelValue":oe[9]||(oe[9]=ie=>re.option.dataZoom[0].width=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"高度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:re.option.dataZoom[0].height,"onUpdate:modelValue":oe[10]||(oe[10]=ie=>re.option.dataZoom[0].height=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"上"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:re.option.dataZoom[0].top,"onUpdate:modelValue":oe[11]||(oe[11]=ie=>re.option.dataZoom[0].top=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"右"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:re.option.dataZoom[0].right,"onUpdate:modelValue":oe[12]||(oe[12]=ie=>re.option.dataZoom[0].right=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"下"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:re.option.dataZoom[0].bottom,"onUpdate:modelValue":oe[13]||(oe[13]=ie=>re.option.dataZoom[0].bottom=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"左"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:re.option.dataZoom[0].left,"onUpdate:modelValue":oe[14]||(oe[14]=ie=>re.option.dataZoom[0].left=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"背景颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ee),modelValue:re.option.dataZoom[0].backgroundColor,"onUpdate:modelValue":oe[15]||(oe[15]=ie=>re.option.dataZoom[0].backgroundColor=ie)},null,8,["predefine","modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"选中范围颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ee),modelValue:re.option.dataZoom[0].fillerColor,"onUpdate:modelValue":oe[16]||(oe[16]=ie=>re.option.dataZoom[0].fillerColor=ie)},null,8,["predefine","modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"边框颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ee),modelValue:re.option.dataZoom[0].borderColor,"onUpdate:modelValue":oe[17]||(oe[17]=ie=>re.option.dataZoom[0].borderColor=ie)},null,8,["predefine","modelValue"])]),_:1})]),_:1})):vue.createCommentVNode("",!0)]),_:1})):vue.createCommentVNode("",!0),re.option.legend?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCollapseItem),{key:2,title:"图例"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:re.option.legend.show,"onUpdate:modelValue":oe[18]||(oe[18]=ie=>re.option.legend.show=ie)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"字体颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ee),modelValue:re.option.legend.textStyle.color,"onUpdate:modelValue":oe[19]||(oe[19]=ie=>re.option.legend.textStyle.color=ie)},null,8,["predefine","modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:re.option.legend.textStyle.fontSize,"onUpdate:modelValue":oe[20]||(oe[20]=ie=>re.option.legend.textStyle.fontSize=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"x轴"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:re.option.legend.x,"onUpdate:modelValue":oe[21]||(oe[21]=ie=>re.option.legend.x=ie),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).lengendX,ie=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:ie.value,label:ie.label,value:ie.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"y轴"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:re.option.legend.y,"onUpdate:modelValue":oe[22]||(oe[22]=ie=>re.option.legend.y=ie),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).lengendY,ie=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:ie.value,label:ie.label,value:ie.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"方向"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:re.option.legend.orient,"onUpdate:modelValue":oe[23]||(oe[23]=ie=>re.option.legend.orient=ie),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).orient,ie=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:ie.value,label:ie.label,value:ie.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),re.option.legend.icon?(vue.openBlock(),vue.createBlock(_sfc_main$1I,{key:0,name:"形状"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:re.option.legend.icon,"onUpdate:modelValue":oe[24]||(oe[24]=ie=>re.option.legend.icon=ie),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).shape,ie=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:ie.value,label:ie.label,value:ie.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),vue.createVNode(_sfc_main$1I,{name:"宽"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:re.option.legend.itemWidth,"onUpdate:modelValue":oe[25]||(oe[25]=ie=>re.option.legend.itemWidth=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"高"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:re.option.legend.itemHeight,"onUpdate:modelValue":oe[26]||(oe[26]=ie=>re.option.legend.itemHeight=ie),size:"small"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0),re.option.xAxis?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCollapseItem),{key:3,title:"x轴"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:re.option.xAxis.show,"onUpdate:modelValue":oe[27]||(oe[27]=ie=>re.option.xAxis.show=ie)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:re.option.xAxis.type,"onUpdate:modelValue":oe[28]||(oe[28]=ie=>re.option.xAxis.type=ie),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).category,ie=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:ie.value,label:ie.label,value:ie.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"最小值"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"allow-create":"",filterable:"",clearable:"",modelValue:re.option.xAxis.min,"onUpdate:modelValue":oe[29]||(oe[29]=ie=>re.option.xAxis.min=ie),size:"small"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElOption),{label:"dataMin",value:"dataMin"})]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"最大值"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"allow-create":"",filterable:"",clearable:"",modelValue:re.option.xAxis.max,"onUpdate:modelValue":oe[30]||(oe[30]=ie=>re.option.xAxis.max=ie),size:"small"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElOption),{label:"dataMax",value:"dataMax"})]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"轴线"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:re.option.xAxis.position,"onUpdate:modelValue":oe[31]||(oe[31]=ie=>re.option.xAxis.position=ie),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).xposition,ie=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:ie.value,label:ie.label,value:ie.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"反向"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:re.option.xAxis.inverse,"onUpdate:modelValue":oe[32]||(oe[32]=ie=>re.option.xAxis.inverse=ie)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:re.option.xAxis.axisLabel.fontSize,"onUpdate:modelValue":oe[33]||(oe[33]=ie=>re.option.xAxis.axisLabel.fontSize=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"间隔"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:re.option.xAxis.axisLabel.interval,"onUpdate:modelValue":oe[34]||(oe[34]=ie=>re.option.xAxis.axisLabel.interval=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:re.option.xAxis.axisLabel.rotate,"onUpdate:modelValue":oe[35]||(oe[35]=ie=>re.option.xAxis.axisLabel.rotate=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ee),modelValue:re.option.xAxis.axisLabel.color,"onUpdate:modelValue":oe[36]||(oe[36]=ie=>re.option.xAxis.axisLabel.color=ie)},null,8,["predefine","modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"单位"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"名称"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:re.option.xAxis.name,"onUpdate:modelValue":oe[37]||(oe[37]=ie=>re.option.xAxis.name=ie),size:"small",placeholder:"请输入单位"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:re.option.xAxis.nameTextStyle.fontSize,"onUpdate:modelValue":oe[38]||(oe[38]=ie=>re.option.xAxis.nameTextStyle.fontSize=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ee),modelValue:re.option.xAxis.nameTextStyle.color,"onUpdate:modelValue":oe[39]||(oe[39]=ie=>re.option.xAxis.nameTextStyle.color=ie)},null,8,["predefine","modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"分割线"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:re.option.xAxis.splitLine.show,"onUpdate:modelValue":oe[40]||(oe[40]=ie=>re.option.xAxis.splitLine.show=ie)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"粗细"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:re.option.xAxis.splitLine.lineStyle.width,"onUpdate:modelValue":oe[41]||(oe[41]=ie=>re.option.xAxis.splitLine.lineStyle.width=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:re.option.xAxis.splitLine.lineStyle.type,"onUpdate:modelValue":oe[42]||(oe[42]=ie=>re.option.xAxis.splitLine.lineStyle.type=ie),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).lineStyle,ie=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:ie.value,label:ie.label,value:ie.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ee),modelValue:re.option.xAxis.splitLine.lineStyle.color,"onUpdate:modelValue":oe[43]||(oe[43]=ie=>re.option.xAxis.splitLine.lineStyle.color=ie)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0),re.option.yAxis?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCollapseItem),{key:4,title:"y轴"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:re.option.yAxis.show,"onUpdate:modelValue":oe[44]||(oe[44]=ie=>re.option.yAxis.show=ie)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:re.option.yAxis.type,"onUpdate:modelValue":oe[45]||(oe[45]=ie=>re.option.yAxis.type=ie),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).category,ie=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:ie.value,label:ie.label,value:ie.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"最小值"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"allow-create":"",filterable:"",clearable:"",modelValue:re.option.yAxis.min,"onUpdate:modelValue":oe[46]||(oe[46]=ie=>re.option.yAxis.min=ie),size:"small"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElOption),{label:"dataMin",value:"dataMin"})]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"最大值"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"allow-create":"",filterable:"",clearable:"",modelValue:re.option.yAxis.max,"onUpdate:modelValue":oe[47]||(oe[47]=ie=>re.option.yAxis.max=ie),size:"small"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElOption),{label:"dataMax",value:"dataMax"})]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"轴线"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:re.option.yAxis.position,"onUpdate:modelValue":oe[48]||(oe[48]=ie=>re.option.yAxis.position=ie),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).yposition,ie=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:ie.value,label:ie.label,value:ie.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"反向"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:re.option.yAxis.inverse,"onUpdate:modelValue":oe[49]||(oe[49]=ie=>re.option.yAxis.inverse=ie)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:re.option.yAxis.axisLabel.fontSize,"onUpdate:modelValue":oe[50]||(oe[50]=ie=>re.option.yAxis.axisLabel.fontSize=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"间隔"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:re.option.yAxis.axisLabel.interval,"onUpdate:modelValue":oe[51]||(oe[51]=ie=>re.option.yAxis.axisLabel.interval=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:re.option.yAxis.axisLabel.rotate,"onUpdate:modelValue":oe[52]||(oe[52]=ie=>re.option.yAxis.axisLabel.rotate=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ee),modelValue:re.option.yAxis.axisLabel.color,"onUpdate:modelValue":oe[53]||(oe[53]=ie=>re.option.yAxis.axisLabel.color=ie)},null,8,["predefine","modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"单位"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"名称"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:re.option.yAxis.name,"onUpdate:modelValue":oe[54]||(oe[54]=ie=>re.option.yAxis.name=ie),size:"small",placeholder:"请输入单位"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:re.option.yAxis.nameTextStyle.fontSize,"onUpdate:modelValue":oe[55]||(oe[55]=ie=>re.option.yAxis.nameTextStyle.fontSize=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ee),modelValue:re.option.yAxis.nameTextStyle.color,"onUpdate:modelValue":oe[56]||(oe[56]=ie=>re.option.yAxis.nameTextStyle.color=ie)},null,8,["predefine","modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"分割线"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:re.option.yAxis.splitLine.show,"onUpdate:modelValue":oe[57]||(oe[57]=ie=>re.option.yAxis.splitLine.show=ie)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"粗细"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:re.option.yAxis.splitLine.lineStyle.width,"onUpdate:modelValue":oe[58]||(oe[58]=ie=>re.option.yAxis.splitLine.lineStyle.width=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:re.option.yAxis.splitLine.lineStyle.type,"onUpdate:modelValue":oe[59]||(oe[59]=ie=>re.option.yAxis.splitLine.lineStyle.type=ie),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).lineStyle,ie=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:ie.value,label:ie.label,value:ie.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ee),modelValue:re.option.yAxis.splitLine.lineStyle.color,"onUpdate:modelValue":oe[60]||(oe[60]=ie=>re.option.yAxis.splitLine.lineStyle.color=ie)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0),re.option.custom&&![2].includes(re.type)?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCollapseItem),{key:5,title:"显示"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"前缀"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:re.option.custom.prefix,"onUpdate:modelValue":oe[61]||(oe[61]=ie=>re.option.custom.prefix=ie),size:"small",placeholder:"前缀"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"后缀"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:re.option.custom.suffix,"onUpdate:modelValue":oe[62]||(oe[62]=ie=>re.option.custom.suffix=ie),size:"small",placeholder:"后缀"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"保留小数"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:re.option.custom.toFixed,"onUpdate:modelValue":oe[63]||(oe[63]=ie=>re.option.custom.toFixed=ie),size:"small"},null,8,["modelValue"])]),_:1}),re.type==7?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(_sfc_main$1I,{name:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:re.option.custom.fontSize,"onUpdate:modelValue":oe[64]||(oe[64]=ie=>re.option.custom.fontSize=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ee),modelValue:re.option.custom.color,"onUpdate:modelValue":oe[65]||(oe[65]=ie=>re.option.custom.color=ie)},null,8,["predefine","modelValue"])]),_:1})],64)):vue.createCommentVNode("",!0)]),_:1})]),_:1})):vue.createCommentVNode("",!0)],64))}}),settingCommon_vue_vue_type_style_index_0_scoped_003224ac_lang="",SettingCommon=_export_sfc$2(_sfc_main$1H,[["__scopeId","data-v-003224ac"]]),_hoisted_1$1q={class:"ml-2"},_hoisted_2$1d={class:"flex justify-end flex-1"},_hoisted_3$15=["onClick"],_hoisted_4$_=vue.createElementVNode("i",{class:"cursor-move ri-draggable sortable-handle"},null,-1),_sfc_main$1G=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1}},setup(te){const U=screenDesignMainStore(),G=te,{proxy:ee}=vue.getCurrentInstance(),ne=ee.$globalPreColor,re=[{label:"顶部",value:"top"},{label:"左侧",value:"left"},{label:"右侧",value:"right"},{label:"底部",value:"bottom"}],{setChartData:oe}=useCustomChart(),{seriesItem:ie,init:le,customSeriesData:ae}=useBarCommon();vue.ref(null);const se=vue.ref(JSON.parse(JSON.stringify(Object.values(ae.value)[0]??ie)));vue.watch(se,()=>ue(),{deep:!0}),vue.watch(()=>G.option.dataShow,()=>{le(G.option,()=>{ue()})},{deep:!0,immediate:G.immediate}),vue.watch(()=>G.option.dataShow.x,async()=>{G.option.dataset.source=await oe(G.type,G.option.dataShow.x)});const ue=()=>{const de=se.value,fe=ve=>{ve.barWidth=de.barWidth,ve.stack=de.stack,ve.label.show=de.label.show,ve.label.color=de.label.color,ve.label.position=de.label.position,ve.label.fontSize=de.label.fontSize,ve.label.rotate=de.label.rotate,ve.itemStyle.borderRadius=[de.borderRadiusNumber,de.borderRadiusNumber,0,0]};G.option.series.forEach(ve=>{fe(ve)}),Object.keys(ae.value).forEach(ve=>{fe(vue.unref(ae)[ve])}),window.customSeriesData=ae.value},ce=de=>{const{hide:fe}=G.option.dataShow;fe.includes(de)?fe.splice(fe.findIndex(ve=>ve==de),1):fe.push(de)};return(de,fe)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(SettingCommon,{option:de.option,type:3},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"柱状配置"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(se).barWidth,"onUpdate:modelValue":fe[0]||(fe[0]=ve=>vue.unref(se).barWidth=ve),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"堆栈"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(se).stack,"onUpdate:modelValue":fe[1]||(fe[1]=ve=>vue.unref(se).stack=ve)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"圆角"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:vue.unref(se).borderRadiusNumber,"onUpdate:modelValue":fe[2]||(fe[2]=ve=>vue.unref(se).borderRadiusNumber=ve),size:"small"},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(se).label.show,"onUpdate:modelValue":fe[3]||(fe[3]=ve=>vue.unref(se).label.show=ve)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(se).label.position,"onUpdate:modelValue":fe[4]||(fe[4]=ve=>vue.unref(se).label.position=ve),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(re,ve=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:ve.value,label:ve.label,value:ve.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(se).label.rotate,"onUpdate:modelValue":fe[5]||(fe[5]=ve=>vue.unref(se).label.rotate=ve),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(se).label.fontSize,"onUpdate:modelValue":fe[6]||(fe[6]=ve=>vue.unref(se).label.fontSize=ve),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:vue.unref(se).label.color,"onUpdate:modelValue":fe[7]||(fe[7]=ve=>vue.unref(se).label.color=ve)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"X轴",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:de.option.dataShow.x,"onUpdate:modelValue":fe[8]||(fe[8]=ve=>de.option.dataShow.x=ve),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(U).getChartData.x,ve=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:ve.comment,label:ve.comment,value:ve.comment},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"Y轴",style:{width:"100%","margin-top":"10px"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:de.option.dataShow.y,"onUpdate:modelValue":fe[9]||(fe[9]=ve=>de.option.dataShow.y=ve),animation:150,handle:".sortable-handle"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(de.option.dataShow.y,(ve,he)=>(vue.openBlock(),vue.createElementBlock("div",{key:ve,class:"w-full sort-item"},[vue.unref(ae)[ve]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElColorPicker),{key:0,predefine:vue.unref(ne),size:"small",modelValue:vue.unref(ae)[ve].itemStyle.color,"onUpdate:modelValue":pe=>vue.unref(ae)[ve].itemStyle.color=pe},null,8,["predefine","modelValue","onUpdate:modelValue"])):vue.createCommentVNode("",!0),vue.createTextVNode(" "+vue.toDisplayString(vue.unref(ae)[ve].itemStyle.color)+" ",1),vue.createElementVNode("span",_hoisted_1$1q,vue.toDisplayString(ve),1),vue.createElementVNode("div",_hoisted_2$1d,[vue.createElementVNode("i",{onClick:pe=>ce(ve),class:vue.normalizeClass([de.option.dataShow.hide.includes(ve)?"ri-eye-off-line":"ri-eye-line","mr-2 cursor-pointer"])},null,10,_hoisted_3$15),_hoisted_4$_])]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_hoisted_1$1p={class:"ml-2"},_hoisted_2$1c={class:"flex justify-end flex-1"},_hoisted_3$14=["onClick"],_hoisted_4$Z=vue.createElementVNode("i",{class:"cursor-move ri-draggable sortable-handle"},null,-1),_sfc_main$1F=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1}},setup(te){const U=screenDesignMainStore(),G=te,{proxy:ee}=vue.getCurrentInstance(),ne=ee.$globalPreColor,re=[{label:"顶部",value:"top"},{label:"左侧",value:"left"},{label:"右侧",value:"right"},{label:"底部",value:"bottom"}],oe=[{label:"实线",value:"solid"},{label:"虚线",value:"dashed"},{label:"点线",value:"dotted"}],{setChartData:ie}=useCustomChart(),{seriesItem:le,init:ae,customSeriesData:se}=useLineCommon();vue.ref(null);const ue=vue.ref(JSON.parse(JSON.stringify(Object.values(se.value)[0]??le)));vue.watch(ue,()=>ce(),{deep:!0}),vue.watch(()=>G.option.dataShow,()=>{ae(G.option,()=>{ce()})},{deep:!0,immediate:G.immediate}),vue.watch(()=>G.option.dataShow.x,async()=>{G.option.dataset.source=await ie(G.type,G.option.dataShow.x)});const ce=()=>{const fe=JSON.parse(JSON.stringify(ue.value)),ve=he=>{Object.keys(fe).forEach(pe=>{pe=="lineStyle"?Object.keys(he[pe]).forEach(ge=>{ge!="color"&&(he[pe][ge]=fe[pe][ge])}):he[pe]=fe[pe]})};G.option.series.forEach(he=>{ve(he)}),Object.keys(se.value).forEach(he=>{ve(vue.unref(se)[he])}),window.customSeriesData=se.value},de=fe=>{const{hide:ve}=G.option.dataShow;ve.includes(fe)?ve.splice(ve.findIndex(he=>he==fe),1):ve.push(fe)};return(fe,ve)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(SettingCommon,{option:fe.option,type:1},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"折线配置"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:"线条"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ue).lineStyle.width,"onUpdate:modelValue":ve[0]||(ve[0]=he=>vue.unref(ue).lineStyle.width=he),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(ue).lineStyle.type,"onUpdate:modelValue":ve[1]||(ve[1]=he=>vue.unref(ue).lineStyle.type=he),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(oe,he=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:he.value,label:he.label,value:he.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"实心点"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ue).symbolSize,"onUpdate:modelValue":ve[2]||(ve[2]=he=>vue.unref(ue).symbolSize=he),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"平滑"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(ue).smooth,"onUpdate:modelValue":ve[3]||(ve[3]=he=>vue.unref(ue).smooth=he)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(ue).label.show,"onUpdate:modelValue":ve[4]||(ve[4]=he=>vue.unref(ue).label.show=he)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(ue).label.position,"onUpdate:modelValue":ve[5]||(ve[5]=he=>vue.unref(ue).label.position=he),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(re,he=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:he.value,label:he.label,value:he.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ue).label.rotate,"onUpdate:modelValue":ve[6]||(ve[6]=he=>vue.unref(ue).label.rotate=he),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ue).label.fontSize,"onUpdate:modelValue":ve[7]||(ve[7]=he=>vue.unref(ue).label.fontSize=he),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:vue.unref(ue).label.color,"onUpdate:modelValue":ve[8]||(ve[8]=he=>vue.unref(ue).label.color=he)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"X轴",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:fe.option.dataShow.x,"onUpdate:modelValue":ve[9]||(ve[9]=he=>fe.option.dataShow.x=he),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(U).getChartData.x,he=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:he.comment,label:he.comment,value:he.comment},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"Y轴",style:{width:"100%","margin-top":"10px"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:fe.option.dataShow.y,"onUpdate:modelValue":ve[10]||(ve[10]=he=>fe.option.dataShow.y=he),animation:150,handle:".sortable-handle"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(fe.option.dataShow.y,(he,pe)=>(vue.openBlock(),vue.createElementBlock("div",{key:he,class:"w-full sort-item"},[vue.unref(se)[he]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElColorPicker),{key:0,size:"small",predefine:vue.unref(ne),modelValue:vue.unref(se)[he].lineStyle.color,"onUpdate:modelValue":ge=>vue.unref(se)[he].lineStyle.color=ge},null,8,["predefine","modelValue","onUpdate:modelValue"])):vue.createCommentVNode("",!0),vue.createElementVNode("span",_hoisted_1$1p,vue.toDisplayString(he),1),vue.createElementVNode("div",_hoisted_2$1c,[vue.createElementVNode("i",{onClick:ge=>de(he),class:vue.normalizeClass([fe.option.dataShow.hide.includes(he)?"ri-eye-off-line":"ri-eye-line","mr-2 cursor-pointer"])},null,10,_hoisted_3$14),_hoisted_4$Z])]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_sfc_main$1E=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1}},setup(te){const U=screenDesignMainStore(),G=te,{proxy:ee}=vue.getCurrentInstance(),ne=ee.$globalPreColor,re=[{label:"外侧",value:"outside"},{label:"内部",value:"inside"},{label:"中心",value:"center"}],oe=[{label:"数据名",value:"{b}"},{label:"百分比",value:"{d}"},{label:"列名:百分比",value:"{b}:{d}%"}],{setChartData:ie}=useCustomChart(),{seriesItem:le,init:ae,customSeriesData:se}=usePieCommon(),ue=vue.ref(JSON.parse(JSON.stringify(Object.values(se.value)[0]??le)));vue.watch(ue,()=>ce(),{deep:!0}),vue.watch(()=>G.option.dataShow,async()=>{G.option.dataset.source=await ie(G.type,G.option.dataShow.x),ae(G.option,()=>{ce()})},{deep:!0,immediate:G.immediate});const ce=()=>{const de=ue.value,fe=ve=>{Object.keys(de).forEach(he=>{ve[he]=de[he]})};G.option.series.forEach(ve=>{fe(ve)}),Object.keys(se.value).forEach(ve=>{fe(vue.unref(se)[ve])}),window.customSeriesData=se.value};return(de,fe)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(SettingCommon,{option:de.option,type:2},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"饼图配置"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:"样式"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"半径1"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(ue).radius[0],"onUpdate:modelValue":fe[0]||(fe[0]=ve=>vue.unref(ue).radius[0]=ve),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"半径2"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(ue).radius[1],"onUpdate:modelValue":fe[1]||(fe[1]=ve=>vue.unref(ue).radius[1]=ve),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"距离1"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(ue).center[0],"onUpdate:modelValue":fe[2]||(fe[2]=ve=>vue.unref(ue).center[0]=ve),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"距离2"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(ue).center[1],"onUpdate:modelValue":fe[3]||(fe[3]=ve=>vue.unref(ue).center[1]=ve),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"南丁格尔图"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(ue).roseType,"onUpdate:modelValue":fe[4]||(fe[4]=ve=>vue.unref(ue).roseType=ve)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(ue).label.show,"onUpdate:modelValue":fe[5]||(fe[5]=ve=>vue.unref(ue).label.show=ve)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"引导线"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(ue).labelLine.show,"onUpdate:modelValue":fe[6]||(fe[6]=ve=>vue.unref(ue).labelLine.show=ve)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"展示类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(ue).label.formatter,"onUpdate:modelValue":fe[7]||(fe[7]=ve=>vue.unref(ue).label.formatter=ve),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(oe,ve=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:ve.value,label:ve.label,value:ve.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(ue).label.position,"onUpdate:modelValue":fe[8]||(fe[8]=ve=>vue.unref(ue).label.position=ve),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(re,ve=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:ve.value,label:ve.label,value:ve.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{predefine:vue.unref(ne),modelValue:vue.unref(ue).label.fontSize,"onUpdate:modelValue":fe[9]||(fe[9]=ve=>vue.unref(ue).label.fontSize=ve),size:"small"},null,8,["predefine","modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:vue.unref(ue).label.color,"onUpdate:modelValue":fe[10]||(fe[10]=ve=>vue.unref(ue).label.color=ve)},null,8,["predefine","modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"圆角"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ue).itemStyle.borderRadius,"onUpdate:modelValue":fe[11]||(fe[11]=ve=>vue.unref(ue).itemStyle.borderRadius=ve),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ue).itemStyle.borderWidth,"onUpdate:modelValue":fe[12]||(fe[12]=ve=>vue.unref(ue).itemStyle.borderWidth=ve),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:vue.unref(ue).itemStyle.borderColor,"onUpdate:modelValue":fe[13]||(fe[13]=ve=>vue.unref(ue).itemStyle.borderColor=ve)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"维度",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:de.option.dataShow.x,"onUpdate:modelValue":fe[14]||(fe[14]=ve=>de.option.dataShow.x=ve),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(U).getChartData.x,ve=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:ve.comment,label:ve.comment,value:ve.comment},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"统计",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:de.option.dataShow.y,"onUpdate:modelValue":fe[15]||(fe[15]=ve=>de.option.dataShow.y=ve),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(U).getChartData.y.filter(ve=>ve.aggType!="other"),ve=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:ve.showLabel,label:ve.showLabel,value:ve.showLabel},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_hoisted_1$1o={class:"ml-2"},_hoisted_2$1b={class:"flex items-center justify-end flex-1"},_hoisted_3$13={class:"mr-2 text-xs cursor-pointer"},_hoisted_4$Y=["onClick"],_hoisted_5$N=vue.createElementVNode("i",{class:"cursor-move ri-draggable sortable-handle"},null,-1),_sfc_main$1D=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1}},setup(te){const U=screenDesignMainStore(),G=te,{proxy:ee}=vue.getCurrentInstance(),ne=ee.$globalPreColor,re=[{label:"顶部",value:"top"},{label:"左侧",value:"left"},{label:"右侧",value:"right"},{label:"底部",value:"bottom"}],oe=[{label:"实线",value:"solid"},{label:"虚线",value:"dashed"},{label:"点线",value:"dotted"}],{setChartData:ie}=useCustomChart(),{seriesLineItem:le,seriesBarItem:ae,init:se,customSeriesData:ue}=useBarLineCommon();vue.ref(null);const ce=vue.ref(JSON.parse(JSON.stringify(Object.values(ue.value).find(pe=>pe.type=="bar")??ae))),de=vue.ref(JSON.parse(JSON.stringify(Object.values(ue.value).find(pe=>pe.type=="line")??le)));vue.watch([ce,de],()=>ve(),{deep:!0}),vue.watch(()=>G.option.dataShow,()=>{se(G.option,()=>{ve()})},{deep:!0,immediate:G.immediate}),vue.watch(()=>G.option.dataShow.x,async()=>{G.option.dataset.source=await ie(G.type,G.option.dataShow.x)});const fe=(pe,ge)=>{var _e,ye,be,xe;if(vue.unref(ue)[ge].type!=pe){const Ce=JSON.parse(JSON.stringify({...pe=="line"?de.value:ce.value})),$e=((ye=(_e=vue.unref(ue)[ge])==null?void 0:_e.lineStyle)==null?void 0:ye.color)??((xe=(be=vue.unref(ue)[ge])==null?void 0:be.itemStyle)==null?void 0:xe.color);Ce[Ce!=null&&Ce.lineStyle?"lineStyle":"itemStyle"].color=$e,ue.value[ge]=Ce,se(G.option,()=>{})}},ve=()=>{const pe=ce.value,ge=de.value,me=_e=>{const ye=JSON.parse(JSON.stringify(_e.type=="bar"?pe:ge));Object.keys(ye).forEach(be=>{["lineStyle","itemStyle"].includes(be)?Object.keys(_e[be]).forEach(xe=>{xe=="borderRadius"?_e[be][xe]=[pe.borderRadiusNumber,pe.borderRadiusNumber,0,0]:xe!="color"&&(_e[be][xe]=ye[be][xe])}):_e[be]=ye[be]})};G.option.series.forEach(_e=>{me(_e)}),Object.keys(ue.value).forEach(_e=>{me(vue.unref(ue)[_e])}),window.customSeriesData=ue.value},he=pe=>{const{hide:ge}=G.option.dataShow;ge.includes(pe)?ge.splice(ge.findIndex(me=>me==pe),1):ge.push(pe)};return(pe,ge)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(SettingCommon,{option:pe.option,type:5},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"柱状配置"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ce).barWidth,"onUpdate:modelValue":ge[0]||(ge[0]=me=>vue.unref(ce).barWidth=me),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"圆角"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:vue.unref(ce).borderRadiusNumber,"onUpdate:modelValue":ge[1]||(ge[1]=me=>vue.unref(ce).borderRadiusNumber=me),size:"small"},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(ce).label.show,"onUpdate:modelValue":ge[2]||(ge[2]=me=>vue.unref(ce).label.show=me)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(ce).label.position,"onUpdate:modelValue":ge[3]||(ge[3]=me=>vue.unref(ce).label.position=me),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(re,me=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:me.value,label:me.label,value:me.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ce).label.rotate,"onUpdate:modelValue":ge[4]||(ge[4]=me=>vue.unref(ce).label.rotate=me),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ce).label.fontSize,"onUpdate:modelValue":ge[5]||(ge[5]=me=>vue.unref(ce).label.fontSize=me),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:vue.unref(ce).label.color,"onUpdate:modelValue":ge[6]||(ge[6]=me=>vue.unref(ce).label.color=me)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"折线配置"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:"线条"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(de).lineStyle.width,"onUpdate:modelValue":ge[7]||(ge[7]=me=>vue.unref(de).lineStyle.width=me),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(de).lineStyle.type,"onUpdate:modelValue":ge[8]||(ge[8]=me=>vue.unref(de).lineStyle.type=me),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(oe,me=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:me.value,label:me.label,value:me.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"实心点"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(de).symbolSize,"onUpdate:modelValue":ge[9]||(ge[9]=me=>vue.unref(de).symbolSize=me),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"平滑"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(de).smooth,"onUpdate:modelValue":ge[10]||(ge[10]=me=>vue.unref(de).smooth=me)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(de).label.show,"onUpdate:modelValue":ge[11]||(ge[11]=me=>vue.unref(de).label.show=me)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(de).label.position,"onUpdate:modelValue":ge[12]||(ge[12]=me=>vue.unref(de).label.position=me),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(re,me=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:me.value,label:me.label,value:me.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(de).label.rotate,"onUpdate:modelValue":ge[13]||(ge[13]=me=>vue.unref(de).label.rotate=me),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(de).label.fontSize,"onUpdate:modelValue":ge[14]||(ge[14]=me=>vue.unref(de).label.fontSize=me),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:vue.unref(de).label.color,"onUpdate:modelValue":ge[15]||(ge[15]=me=>vue.unref(de).label.color=me)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"X轴",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:pe.option.dataShow.x,"onUpdate:modelValue":ge[16]||(ge[16]=me=>pe.option.dataShow.x=me),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(U).getChartData.x,me=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:me.comment,label:me.comment,value:me.comment},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"Y轴",style:{width:"100%","margin-top":"10px"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:pe.option.dataShow.y,"onUpdate:modelValue":ge[17]||(ge[17]=me=>pe.option.dataShow.y=me),animation:150,handle:".sortable-handle"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(pe.option.dataShow.y,(me,_e)=>(vue.openBlock(),vue.createElementBlock("div",{key:me,class:"w-full sort-item"},[vue.unref(ue)[me]?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.unref(ue)[me].type=="bar"?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElColorPicker),{key:0,predefine:vue.unref(ne),size:"small",modelValue:vue.unref(ue)[me].itemStyle.color,"onUpdate:modelValue":ye=>vue.unref(ue)[me].itemStyle.color=ye},null,8,["predefine","modelValue","onUpdate:modelValue"])):(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElColorPicker),{key:1,predefine:vue.unref(ne),size:"small",modelValue:vue.unref(ue)[me].lineStyle.color,"onUpdate:modelValue":ye=>vue.unref(ue)[me].lineStyle.color=ye},null,8,["predefine","modelValue","onUpdate:modelValue"]))],64)):vue.createCommentVNode("",!0),vue.createElementVNode("span",_hoisted_1$1o,vue.toDisplayString(me),1),vue.createElementVNode("div",_hoisted_2$1b,[vue.unref(ue)[me]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElDropdown),{key:0,onCommand:ye=>fe(ye,me)},{dropdown:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElDropdownMenu),null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElDropdownItem),{command:"bar"},{default:vue.withCtx(()=>[vue.createTextVNode("柱状")]),_:1}),vue.createVNode(vue.unref(elementPlus.ElDropdownItem),{command:"line"},{default:vue.withCtx(()=>[vue.createTextVNode("折线")]),_:1})]),_:1})]),default:vue.withCtx(()=>[vue.createElementVNode("span",_hoisted_3$13,vue.toDisplayString(vue.unref(ue)[me].type=="bar"?"柱状":"折线"),1)]),_:2},1032,["onCommand"])):vue.createCommentVNode("",!0),vue.createElementVNode("i",{onClick:ye=>he(me),class:vue.normalizeClass([pe.option.dataShow.hide.includes(me)?"ri-eye-off-line":"ri-eye-line","mr-2 cursor-pointer"])},null,10,_hoisted_4$Y),_hoisted_5$N])]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_hoisted_1$1n={class:"ml-2"},_hoisted_2$1a={class:"flex items-center justify-end flex-1"},_hoisted_3$12={class:"mr-2 text-xs cursor-pointer"},_hoisted_4$X=["onClick"],_hoisted_5$M=vue.createElementVNode("i",{class:"cursor-move ri-draggable sortable-handle"},null,-1),_sfc_main$1C=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1}},setup(te){const U=screenDesignMainStore(),G=te,{proxy:ee}=vue.getCurrentInstance(),ne=ee.$globalPreColor,re=[{label:"实线",value:"solid"},{label:"虚线",value:"dashed"},{label:"点线",value:"dotted"}],oe=[{label:"顶部",value:"top"},{label:"左侧",value:"left"},{label:"右侧",value:"right"},{label:"底部",value:"bottom"}],{setChartData:ie}=useCustomChart(),{seriesItem:le,init:ae,customSeriesData:se}=useScatterCommon();vue.ref(null);const ue=vue.ref(JSON.parse(JSON.stringify(Object.values(se.value)[0]??le)));vue.watch(ue,()=>ce(),{deep:!0}),vue.watch(()=>G.option.dataShow,()=>{ae(G.option,()=>{ce()})},{deep:!0,immediate:G.immediate}),vue.watch(()=>G.option.dataShow.x,async()=>{G.option.dataset.source=await ie(G.type,G.option.dataShow.x)});const ce=()=>{const ve=JSON.parse(JSON.stringify(ue.value)),he=pe=>{Object.keys(ve).forEach(ge=>{ge!="type"&&(["itemStyle"].includes(ge)||(pe[ge]=ve[ge]))})};G.option.series.forEach(pe=>{he(pe)}),Object.keys(se.value).forEach(pe=>{he(vue.unref(se)[pe])}),window.customSeriesData=se.value},de=(ve,he)=>{const pe=vue.unref(se)[he];pe.type!=ve&&(pe.type=ve,ae(G.option,()=>{}))},fe=ve=>{const{hide:he}=G.option.dataShow;he.includes(ve)?he.splice(he.findIndex(pe=>pe==ve),1):he.push(ve)};return(ve,he)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(SettingCommon,{option:ve.option,type:6},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"散点图配置"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ue).symbolSize,"onUpdate:modelValue":he[0]||(he[0]=pe=>vue.unref(ue).symbolSize=pe),size:"small"},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"标域"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"粗细(0不显示)"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ue).markArea.itemStyle.borderWidth,"onUpdate:modelValue":he[1]||(he[1]=pe=>vue.unref(ue).markArea.itemStyle.borderWidth=pe),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"样式"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(ue).markArea.itemStyle.borderType,"onUpdate:modelValue":he[2]||(he[2]=pe=>vue.unref(ue).markArea.itemStyle.borderType=pe),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(re,pe=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:pe.value,label:pe.label,value:pe.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(ue).label.show,"onUpdate:modelValue":he[3]||(he[3]=pe=>vue.unref(ue).label.show=pe)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(ue).label.position,"onUpdate:modelValue":he[4]||(he[4]=pe=>vue.unref(ue).label.position=pe),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(oe,pe=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:pe.value,label:pe.label,value:pe.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ue).label.rotate,"onUpdate:modelValue":he[5]||(he[5]=pe=>vue.unref(ue).label.rotate=pe),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ue).label.fontSize,"onUpdate:modelValue":he[6]||(he[6]=pe=>vue.unref(ue).label.fontSize=pe),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:vue.unref(ue).label.color,"onUpdate:modelValue":he[7]||(he[7]=pe=>vue.unref(ue).label.color=pe)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"X轴",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:ve.option.dataShow.x,"onUpdate:modelValue":he[8]||(he[8]=pe=>ve.option.dataShow.x=pe),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(U).getChartData.x,pe=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:pe.comment,label:pe.comment,value:pe.comment},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"Y轴",style:{width:"100%","margin-top":"10px"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:ve.option.dataShow.y,"onUpdate:modelValue":he[9]||(he[9]=pe=>ve.option.dataShow.y=pe),animation:150,handle:".sortable-handle"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(ve.option.dataShow.y,(pe,ge)=>(vue.openBlock(),vue.createElementBlock("div",{key:pe,class:"w-full sort-item"},[vue.unref(se)[pe]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElColorPicker),{key:0,predefine:vue.unref(ne),size:"small",modelValue:vue.unref(se)[pe].itemStyle.color,"onUpdate:modelValue":me=>vue.unref(se)[pe].itemStyle.color=me},null,8,["predefine","modelValue","onUpdate:modelValue"])):vue.createCommentVNode("",!0),vue.createElementVNode("span",_hoisted_1$1n,vue.toDisplayString(pe),1),vue.createElementVNode("div",_hoisted_2$1a,[vue.unref(se)[pe]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElDropdown),{key:0,onCommand:me=>de(me,pe)},{dropdown:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElDropdownMenu),null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElDropdownItem),{command:"scatter"},{default:vue.withCtx(()=>[vue.createTextVNode("普通")]),_:1}),vue.createVNode(vue.unref(elementPlus.ElDropdownItem),{command:"effectScatter"},{default:vue.withCtx(()=>[vue.createTextVNode("特效")]),_:1})]),_:1})]),default:vue.withCtx(()=>[vue.createElementVNode("span",_hoisted_3$12,vue.toDisplayString(vue.unref(se)[pe].type=="scatter"?"普通":"特效"),1)]),_:2},1032,["onCommand"])):vue.createCommentVNode("",!0),vue.createElementVNode("i",{onClick:me=>fe(pe),class:vue.normalizeClass([ve.option.dataShow.hide.includes(pe)?"ri-eye-off-line":"ri-eye-line","mr-2 cursor-pointer"])},null,10,_hoisted_4$X),_hoisted_5$M])]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_hoisted_1$1m={class:"flex items-center justify-end flex-1"},_hoisted_2$19=["onClick"],_hoisted_3$11=vue.createElementVNode("i",{class:"cursor-move ri-draggable sortable-handle"},null,-1),_sfc_main$1B=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1}},setup(te){var fe;const U=screenDesignMainStore(),G=te,{proxy:ee}=vue.getCurrentInstance(),ne=ee.$globalPreColor,re=[{label:"顶部",value:"top"},{label:"左侧",value:"left"},{label:"右侧",value:"right"},{label:"底部",value:"bottom"}],oe=[{label:"多边形",value:"polygon"},{label:"圆形",value:"circle"}],{setChartData:ie}=useCustomChart(),{seriesItem:le,init:ae,customSeriesData:se}=useRadar();vue.ref(null);const ue=vue.ref(JSON.parse(JSON.stringify((fe=vue.unref(se))!=null&&fe.type?se.value:le)));vue.watch(ue,()=>ce(),{deep:!0}),vue.watch([()=>G.option.dataShow.y,()=>G.option.dataShow.hide],()=>{ae(G.option,()=>{ce()})},{deep:!0,immediate:G.immediate}),vue.watch(()=>G.option.dataShow.x,async()=>{G.option.dataset.source=await ie(G.type,G.option.dataShow.x),ae(G.option,()=>{ce()})});const ce=()=>{const ve=ue.value;Object.keys(G.option.series[0]).forEach(he=>{["areaStyle","label"].includes(he)&&(G.option.series[0][he]=ve[he])}),se.value={...G.option.series[0],data:[]},window.customSeriesData=se.value},de=ve=>{const{hide:he}=G.option.dataShow;he.includes(ve)?he.splice(he.findIndex(pe=>pe==ve),1):he.push(ve)};return(ve,he)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(SettingCommon,{option:ve.option,type:4},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"雷达图配置"},{default:vue.withCtx(()=>{var pe;return[vue.createVNode(_sfc_main$1J,{name:"样式"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"背景"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:ve.option.radar.splitArea.show,"onUpdate:modelValue":he[0]||(he[0]=ge=>ve.option.radar.splitArea.show=ge)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"分割线"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:ve.option.radar.splitLine.show,"onUpdate:modelValue":he[1]||(he[1]=ge=>ve.option.radar.splitLine.show=ge)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"形状"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:ve.option.radar.shape,"onUpdate:modelValue":he[2]||(he[2]=ge=>ve.option.radar.shape=ge),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(oe,ge=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:ge.value,label:ge.label,value:ge.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"坐标轴"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"轴线"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:ve.option.radar.axisLine.show,"onUpdate:modelValue":he[3]||(he[3]=ge=>ve.option.radar.axisLine.show=ge)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"刻度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:ve.option.radar.axisTick.show,"onUpdate:modelValue":he[4]||(he[4]=ge=>ve.option.radar.axisTick.show=ge)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"范围"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"最小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:ve.option.radar.radius[0],"onUpdate:modelValue":he[5]||(he[5]=ge=>ve.option.radar.radius[0]=ge),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"最大"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:ve.option.radar.radius[1],"onUpdate:modelValue":he[6]||(he[6]=ge=>ve.option.radar.radius[1]=ge),size:"small"},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"偏移"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"x"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:ve.option.radar.center[0],"onUpdate:modelValue":he[7]||(he[7]=ge=>ve.option.radar.center[0]=ge),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"y"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:ve.option.radar.center[1],"onUpdate:modelValue":he[8]||(he[8]=ge=>ve.option.radar.center[1]=ge),size:"small"},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"指示器"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:ve.option.radar.axisName.show,"onUpdate:modelValue":he[9]||(he[9]=ge=>ve.option.radar.axisName.show=ge)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:ve.option.radar.axisName.fontSize,"onUpdate:modelValue":he[10]||(he[10]=ge=>ve.option.radar.axisName.fontSize=ge),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:ve.option.radar.axisName.color,"onUpdate:modelValue":he[11]||(he[11]=ge=>ve.option.radar.axisName.color=ge)},null,8,["predefine","modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(ue).label.show,"onUpdate:modelValue":he[12]||(he[12]=ge=>vue.unref(ue).label.show=ge)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(ue).label.position,"onUpdate:modelValue":he[13]||(he[13]=ge=>vue.unref(ue).label.position=ge),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(re,ge=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:ge.value,label:ge.label,value:ge.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ue).label.rotate,"onUpdate:modelValue":he[14]||(he[14]=ge=>vue.unref(ue).label.rotate=ge),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ue).label.fontSize,"onUpdate:modelValue":he[15]||(he[15]=ge=>vue.unref(ue).label.fontSize=ge),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:vue.unref(ue).label.color,"onUpdate:modelValue":he[16]||(he[16]=ge=>vue.unref(ue).label.color=ge)},null,8,["predefine","modelValue"])]),_:1})]),_:1}),(pe=vue.unref(ue))!=null&&pe.type?(vue.openBlock(),vue.createBlock(_sfc_main$1J,{key:0,name:"系列"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"背景透明度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ue).areaStyle.opacity,"onUpdate:modelValue":he[17]||(he[17]=ge=>vue.unref(ue).areaStyle.opacity=ge),min:0,max:1,size:"small",step:.1},null,8,["modelValue"])]),_:1})]),_:1})):vue.createCommentVNode("",!0)]}),_:1}),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"X轴",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:ve.option.dataShow.x,"onUpdate:modelValue":he[18]||(he[18]=pe=>ve.option.dataShow.x=pe),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(U).getChartData.x,pe=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:pe.comment,label:pe.comment,value:pe.comment},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"Y轴",style:{width:"100%","margin-top":"10px"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:ve.option.dataShow.y,"onUpdate:modelValue":he[19]||(he[19]=pe=>ve.option.dataShow.y=pe),animation:150,handle:".sortable-handle"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(ve.option.dataShow.y,(pe,ge)=>(vue.openBlock(),vue.createElementBlock("div",{key:pe,class:"w-full sort-item"},[vue.createElementVNode("span",null,vue.toDisplayString(pe),1),vue.createElementVNode("div",_hoisted_1$1m,[vue.createElementVNode("i",{onClick:me=>de(pe),class:vue.normalizeClass([ve.option.dataShow.hide.includes(pe)?"ri-eye-off-line":"ri-eye-line","mr-2 cursor-pointer"])},null,10,_hoisted_2$19),_hoisted_3$11])]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_hoisted_1$1l={class:"ml-2"},_hoisted_2$18={class:"flex items-center justify-end flex-1"},_hoisted_3$10=vue.createElementVNode("i",{class:"mr-2 cursor-pointer ri-more-line"},null,-1),_hoisted_4$W=["onClick"],_hoisted_5$L=vue.createElementVNode("i",{class:"cursor-move ri-draggable sortable-handle"},null,-1),_sfc_main$1A=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1}},setup(te){screenDesignMainStore();const U=te,{proxy:G}=vue.getCurrentInstance(),ee=G.$globalPreColor;useCustomChart();const{init:ne,tableConfig:re,customSeriesData:oe}=useTable();vue.ref(null);const ie=vue.ref(JSON.parse(JSON.stringify(re)));vue.watch(ie,()=>le(),{deep:!0}),vue.watch(()=>U.option.dataShow,()=>{ne(U.option)},{deep:!0,immediate:U.immediate});const le=()=>{},ae=se=>{const{hide:ue=[]}=U.option.dataShow;ue.includes(se)?ue.splice(ue.findIndex(ce=>ce==se),1):ue.push(se),U.option.dataShow.hide=ue};return(se,ue)=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:"列名"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"",style:{width:"100%","margin-top":"10px"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:se.option.dataShow.y,"onUpdate:modelValue":ue[0]||(ue[0]=ce=>se.option.dataShow.y=ce),animation:150,handle:".sortable-handle"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(se.option.dataShow.y,(ce,de)=>(vue.openBlock(),vue.createElementBlock("div",{key:ce,class:"w-full sort-item"},[vue.unref(oe)[ce]?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ee),size:"small",modelValue:vue.unref(oe)[ce].bgColor,"onUpdate:modelValue":fe=>vue.unref(oe)[ce].bgColor=fe},null,8,["predefine","modelValue","onUpdate:modelValue"]),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ee),size:"small",modelValue:vue.unref(oe)[ce].color,"onUpdate:modelValue":fe=>vue.unref(oe)[ce].color=fe},null,8,["predefine","modelValue","onUpdate:modelValue"])],64)):vue.createCommentVNode("",!0),vue.createElementVNode("span",_hoisted_1$1l,vue.toDisplayString(ce),1),vue.createElementVNode("div",_hoisted_2$18,[vue.unref(oe)[ce]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElPopover),{key:0,width:400,trigger:"hover"},{reference:vue.withCtx(()=>[_hoisted_3$10]),default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"前缀"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(oe)[ce].prefix,"onUpdate:modelValue":fe=>vue.unref(oe)[ce].prefix=fe,size:"small",placeholder:"前缀"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1I,{name:"后缀"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(oe)[ce].suffix,"onUpdate:modelValue":fe=>vue.unref(oe)[ce].suffix=fe,size:"small",placeholder:"后缀"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1I,{name:"保留小数"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:vue.unref(oe)[ce].toFixed,"onUpdate:modelValue":fe=>vue.unref(oe)[ce].toFixed=fe,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1I,{name:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(oe)[ce].fontSize,"onUpdate:modelValue":fe=>vue.unref(oe)[ce].fontSize=fe,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1I,{name:"隐藏标题"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(oe)[ce].hideLabel,"onUpdate:modelValue":fe=>vue.unref(oe)[ce].hideLabel=fe,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024)]),_:2},1024)):vue.createCommentVNode("",!0),vue.createElementVNode("i",{onClick:fe=>ae(ce),class:vue.normalizeClass([(se.option.dataShow.hide??[]).includes(ce)?"ri-eye-off-line":"ri-eye-line","mr-2 cursor-pointer"])},null,10,_hoisted_4$W),_hoisted_5$L])]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}))}}),_hoisted_1$1k={class:"ml-2"},_hoisted_2$17={class:"flex items-center justify-end flex-1"},_hoisted_3$$=vue.createElementVNode("i",{class:"mr-2 cursor-pointer ri-more-line"},null,-1),_hoisted_4$V=["onClick"],_hoisted_5$K=vue.createElementVNode("i",{class:"cursor-move ri-draggable sortable-handle"},null,-1),_sfc_main$1z=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1}},setup(te){screenDesignMainStore();const U=te,{proxy:G}=vue.getCurrentInstance(),ee=G.$globalPreColor;useCustomChart();const{init:ne,tableConfig:re,customSeriesData:oe}=useTable();vue.ref(null);const ie=vue.ref(JSON.parse(JSON.stringify(re)));vue.watch(ie,()=>le(),{deep:!0}),vue.watch(()=>U.option.dataShow,()=>{ne(U.option)},{deep:!0,immediate:U.immediate});const le=()=>{},ae=se=>{const{hide:ue}=U.option.dataShow;ue.includes(se)?ue.splice(ue.findIndex(ce=>ce==se),1):ue.push(se)};return(se,ue)=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:"表格设置"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"显示序号"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:U.option.showIndex,"onUpdate:modelValue":ue[0]||(ue[0]=ce=>U.option.showIndex=ce)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"列名"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"",style:{width:"100%","margin-top":"10px"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:se.option.dataShow.y,"onUpdate:modelValue":ue[1]||(ue[1]=ce=>se.option.dataShow.y=ce),animation:150,handle:".sortable-handle"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(se.option.dataShow.y,(ce,de)=>(vue.openBlock(),vue.createElementBlock("div",{key:ce,class:"w-full sort-item"},[vue.unref(oe)[ce]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElColorPicker),{key:0,predefine:vue.unref(ee),size:"small",modelValue:vue.unref(oe)[ce].color,"onUpdate:modelValue":fe=>vue.unref(oe)[ce].color=fe},null,8,["predefine","modelValue","onUpdate:modelValue"])):vue.createCommentVNode("",!0),vue.createElementVNode("span",_hoisted_1$1k,vue.toDisplayString(ce),1),vue.createElementVNode("div",_hoisted_2$17,[vue.unref(oe)[ce]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElPopover),{key:0,width:400,trigger:"hover"},{reference:vue.withCtx(()=>[_hoisted_3$$]),default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"前缀"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(oe)[ce].prefix,"onUpdate:modelValue":fe=>vue.unref(oe)[ce].prefix=fe,size:"small",placeholder:"前缀"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1I,{name:"后缀"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(oe)[ce].suffix,"onUpdate:modelValue":fe=>vue.unref(oe)[ce].suffix=fe,size:"small",placeholder:"后缀"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1I,{name:"保留小数"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:vue.unref(oe)[ce].toFixed,"onUpdate:modelValue":fe=>vue.unref(oe)[ce].toFixed=fe,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1I,{name:"统计"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(oe)[ce].sum,"onUpdate:modelValue":fe=>vue.unref(oe)[ce].sum=fe},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024)]),_:2},1024)):vue.createCommentVNode("",!0),vue.createElementVNode("i",{onClick:fe=>ae(ce),class:vue.normalizeClass([se.option.dataShow.hide.includes(ce)?"ri-eye-off-line":"ri-eye-line","mr-2 cursor-pointer"])},null,10,_hoisted_4$V),_hoisted_5$K])]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}))}}),_hoisted_1$1j={class:"flex items-center"},_hoisted_2$16=vue.createElementVNode("span",{class:"ml-1 mr-1"},"-",-1),_hoisted_3$_={class:"flex items-center"},_hoisted_4$U=vue.createElementVNode("span",{class:"ml-1 mr-1"},"-",-1),_sfc_main$1y=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1}},setup(te){const U=screenDesignMainStore(),G=te,{proxy:ee}=vue.getCurrentInstance(),ne=ee.$globalPreColor,{init:re,city:oe}=useMap();return vue.watch(()=>G.option.style.style1,async ie=>{G.option.series[1]=ie},{deep:!0,immediate:G.immediate}),vue.watch(()=>G.option.style.style2,async ie=>{G.option.series[2]=ie},{deep:!0,immediate:G.immediate}),(ie,le)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(SettingCommon,{option:ie.option,type:9},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"地图数据"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElTreeSelect),{modelValue:ie.option.code,"onUpdate:modelValue":le[0]||(le[0]=ae=>ie.option.code=ae),data:vue.unref(oe),props:{label:"name",value:"code",children:"children"},onChange:le[1]||(le[1]=ae=>vue.unref(re)(ie.option)),filterable:"","node-key":"code","check-strictly":""},null,8,["modelValue","data"])]),_:1})]),_:1}),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"视觉映射"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:ie.option.visualMap.show,"onUpdate:modelValue":le[2]||(le[2]=ae=>ie.option.visualMap.show=ae)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"文本"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1j,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:ie.option.visualMap.text[1],"onUpdate:modelValue":le[3]||(le[3]=ae=>ie.option.visualMap.text[1]=ae),size:"small"},null,8,["modelValue"]),_hoisted_2$16,vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:ie.option.visualMap.text[0],"onUpdate:modelValue":le[4]||(le[4]=ae=>ie.option.visualMap.text[0]=ae),size:"small"},null,8,["modelValue"])])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"最小值-最高值"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_3$_,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:ie.option.visualMap.min,"onUpdate:modelValue":le[5]||(le[5]=ae=>ie.option.visualMap.min=ae),size:"small"},null,8,["modelValue"]),_hoisted_4$U,vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:ie.option.visualMap.max,"onUpdate:modelValue":le[6]||(le[6]=ae=>ie.option.visualMap.max=ae),size:"small"},null,8,["modelValue"])])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"最小颜色-最高颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:ie.option.visualMap.inRange.color[0],"onUpdate:modelValue":le[7]||(le[7]=ae=>ie.option.visualMap.inRange.color[0]=ae)},null,8,["predefine","modelValue"]),vue.createTextVNode(" - "),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:ie.option.visualMap.inRange.color[1],"onUpdate:modelValue":le[8]||(le[8]=ae=>ie.option.visualMap.inRange.color[1]=ae)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"地图"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"展示标签"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:ie.option.geo.label.show,"onUpdate:modelValue":le[9]||(le[9]=ae=>ie.option.geo.label.show=ae)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"缩放"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{step:.1,modelValue:ie.option.geo.zoom,"onUpdate:modelValue":le[10]||(le[10]=ae=>ie.option.geo.zoom=ae),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:ie.option.geo.label.fontSize,"onUpdate:modelValue":le[11]||(le[11]=ae=>ie.option.geo.label.fontSize=ae),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"字体颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:ie.option.geo.label.color,"onUpdate:modelValue":le[12]||(le[12]=ae=>ie.option.geo.label.color=ae)},null,8,["predefine","modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"移动效果"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"区块颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:ie.option.geo.emphasis.itemStyle.areaColor,"onUpdate:modelValue":le[13]||(le[13]=ae=>ie.option.geo.emphasis.itemStyle.areaColor=ae)},null,8,["predefine","modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"边框颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:ie.option.geo.emphasis.itemStyle.borderColor,"onUpdate:modelValue":le[14]||(le[14]=ae=>ie.option.geo.emphasis.itemStyle.borderColor=ae)},null,8,["predefine","modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"边框大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:ie.option.geo.emphasis.itemStyle.borderWidth,"onUpdate:modelValue":le[15]||(le[15]=ae=>ie.option.geo.emphasis.itemStyle.borderWidth=ae),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:ie.option.geo.emphasis.label.fontSize,"onUpdate:modelValue":le[16]||(le[16]=ae=>ie.option.geo.emphasis.label.fontSize=ae),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"字体颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:ie.option.geo.emphasis.label.color,"onUpdate:modelValue":le[17]||(le[17]=ae=>ie.option.geo.emphasis.label.color=ae)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(["style1","style2"],ae=>vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:ae=="style1"?"散点样式":"点位样式"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"形状"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:ie.option.style[ae].symbol,"onUpdate:modelValue":se=>ie.option.style[ae].symbol=se,size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).shape,se=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:se.value,label:se.label,value:se.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:ie.option.style[ae].symbolSize,"onUpdate:modelValue":se=>ie.option.style[ae].symbolSize=se,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1I,{name:"形状颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:ie.option.style[ae].itemStyle.color,"onUpdate:modelValue":se=>ie.option.style[ae].itemStyle.color=se},null,8,["predefine","modelValue","onUpdate:modelValue"])]),_:2},1024),ie.option.style[ae].label?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(_sfc_main$1I,{name:"值显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:ie.option.style[ae].label.show,"onUpdate:modelValue":se=>ie.option.style[ae].label.show=se},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:ie.option.style[ae].label.color,"onUpdate:modelValue":se=>ie.option.style[ae].label.color=se},null,8,["predefine","modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1I,{name:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:ie.option.style[ae].label.fontSize,"onUpdate:modelValue":se=>ie.option.style[ae].label.fontSize=se,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)],64)):vue.createCommentVNode("",!0)]),_:2},1024)]),_:2},1032,["title"])),64)),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"维度",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:ie.option.dataShow.x,"onUpdate:modelValue":le[18]||(le[18]=ae=>ie.option.dataShow.x=ae),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(U).getChartData.x,ae=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:ae.comment,label:ae.comment,value:ae.comment},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"统计",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:ie.option.dataShow.y,"onUpdate:modelValue":le[19]||(le[19]=ae=>ie.option.dataShow.y=ae),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(U).getChartData.y.filter(ae=>ae.aggType!="other"),ae=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:ae.showLabel,label:ae.showLabel,value:ae.showLabel},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),moudleComponents={};for(let te=0;te<=4;te+=1){let U=null;if(te==0&&(U=Object.assign({"../decoration/decoration1/setting.vue":__vite_glob_0_0,"../decoration/decoration10/setting.vue":__vite_glob_0_1,"../decoration/decoration11/setting.vue":__vite_glob_0_2,"../decoration/decoration12/setting.vue":__vite_glob_0_3,"../decoration/decoration2/setting.vue":__vite_glob_0_4,"../decoration/decoration3/setting.vue":__vite_glob_0_5,"../decoration/decoration4/setting.vue":__vite_glob_0_6,"../decoration/decoration5/setting.vue":__vite_glob_0_7,"../decoration/decoration6/setting.vue":__vite_glob_0_8,"../decoration/decoration8/setting.vue":__vite_glob_0_9,"../decoration/decoration9/setting.vue":__vite_glob_0_10})),te==1&&(U=Object.assign({"../border/border1/setting.vue":__vite_glob_1_0,"../border/border10/setting.vue":__vite_glob_1_1,"../border/border11/setting.vue":__vite_glob_1_2,"../border/border12/setting.vue":__vite_glob_1_3,"../border/border13/setting.vue":__vite_glob_1_4,"../border/border2/setting.vue":__vite_glob_1_5,"../border/border3/setting.vue":__vite_glob_1_6,"../border/border4/setting.vue":__vite_glob_1_7,"../border/border5/setting.vue":__vite_glob_1_8,"../border/border6/setting.vue":__vite_glob_1_9,"../border/border7/setting.vue":__vite_glob_1_10,"../border/border8/setting.vue":__vite_glob_1_11,"../border/border9/setting.vue":__vite_glob_1_12})),te==2&&(U=Object.assign({"../basic/horizontal-line/setting.vue":__vite_glob_2_0,"../basic/iframe/setting.vue":__vite_glob_2_1,"../basic/img/setting.vue":__vite_glob_2_2,"../basic/number/setting.vue":__vite_glob_2_3,"../basic/square/setting.vue":__vite_glob_2_4,"../basic/text/setting.vue":__vite_glob_2_5,"../basic/time/setting.vue":__vite_glob_2_6,"../basic/vertical-line/setting.vue":__vite_glob_2_7})),te==3&&(moudleComponents[3]=_sfc_main$1G,moudleComponents[2]=_sfc_main$1E,moudleComponents[1]=_sfc_main$1F,moudleComponents[4]=_sfc_main$1B,moudleComponents[5]=_sfc_main$1D,moudleComponents[6]=_sfc_main$1C,moudleComponents[7]=_sfc_main$1A,moudleComponents[8]=_sfc_main$1z,moudleComponents[9]=_sfc_main$1y),te==4&&(U=Object.assign({"../control/input/setting.vue":__vite_glob_3_0,"../control/select/setting.vue":__vite_glob_3_1})),U)for(const[G,ee]of Object.entries(U)){const ne=G.split("/")[2];moudleComponents[ne]=ee.default}}const _withScopeId$w=te=>(vue.pushScopeId("data-v-91a48762"),te=te(),vue.popScopeId(),te),_hoisted_1$1i=_withScopeId$w(()=>vue.createElementVNode("div",{class:"flex items-center h-10 p-2"},[vue.createElementVNode("span",{class:"w-1 h-4 mr-2 bg-color-primary"}),vue.createTextVNode(" 大屏设置 ")],-1)),_hoisted_2$15=_withScopeId$w(()=>vue.createElementVNode("div",{class:"h-px mb-2",style:{"background-color":"var(--el-border-color-light)"}},null,-1)),_hoisted_3$Z={class:"p-2"},_sfc_main$1x=vue.defineComponent({__name:"rightPannel",setup(te){const U=screenDesignMainStore(),G=vue.ref({});vue.provide("widgetConfig",G);const ee=vue.ref(""),ne=vue.computed(()=>U.targetsWidget.length===1?U.getWidgetList.find(oe=>{var ie;return oe.id==((ie=U.targetsWidget[0])==null?void 0:ie.id)}):null);vue.watch(ne,oe=>{re()});const re=()=>{if(!vue.unref(ne)){G.value={};return}const oe=U.getWidgetList.find(ie=>ie.id==vue.unref(ne).id);vue.unref(ne).chartType&&(oe==null?void 0:oe.modelType)!="INDICATORS"&&(window.customSeriesData=oe.customize.customSeriesData,U.setChartData(U.tempChartData[oe.id].params)),G.value=oe,ee.value=""};return re(),(oe,ie)=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElScrollbar),{height:"100%"},{default:vue.withCtx(()=>{var le,ae,se;return[_hoisted_1$1i,_hoisted_2$15,((le=vue.unref(G))==null?void 0:le.modelType)=="INDICATORS"?(vue.openBlock(),vue.createBlock(_sfc_main$2k,{key:0})):(ae=vue.unref(G))!=null&&ae.chartType?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createVNode(_sfc_main$2k),vue.createElementVNode("div",_hoisted_3$Z,[vue.createVNode(vue.unref(elementPlus.ElCollapse),{accordion:"",modelValue:vue.unref(ee),"onUpdate:modelValue":ie[0]||(ie[0]=ue=>vue.isRef(ee)?ee.value=ue:null)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(vue.unref(moudleComponents)[vue.unref(G).chartType]),{key:vue.unref(G).id,immediate:"",option:vue.unref(G).customize,type:vue.unref(G).chartType},null,8,["option","type"]))]),_:1},8,["modelValue"])])],64)):vue.unref(moudleComponents)[(se=vue.unref(G))==null?void 0:se.type]?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(vue.unref(moudleComponents)[vue.unref(G).type]),{key:vue.unref(G).id})):(vue.openBlock(),vue.createBlock(stagetSetting,{key:3}))]}),_:1}))}}),rightPannel_vue_vue_type_style_index_0_scoped_91a48762_lang="",RightPannel=_export_sfc$2(_sfc_main$1x,[["__scopeId","data-v-91a48762"]]),_hoisted_1$1h={class:"flex flex-col overflow-hidden ace-big-screen"},_hoisted_2$14={class:"h-10 top-pannel"},_hoisted_3$Y={class:"relative flex flex-1"},_hoisted_4$T={class:"left-pannel"},_hoisted_5$J={class:"flex-1 p-2 overflow-hidden",id:"design-container"},_hoisted_6$E={class:"relative w-full h-full"},_hoisted_7$y={key:0,class:"right-pannel w-80"},_sfc_main$1w=vue.defineComponent({__name:"design",emits:["preview","save"],setup(te,{expose:U,emit:G}){const ee=G,{proxy:ne}=vue.getCurrentInstance(),re=screenDesignMainStore(),oe=vue.ref(!1),ie=vue.ref(""),le=vue.ref("");return vue.watch(oe,se=>{se?document.getElementsByTagName("html")[0].className=re.theme:document.getElementsByTagName("html")[0].className=""}),U({init:async(se="")=>{if(le.value=se,ie.value="大屏管理",oe.value=!0,re.widgetConfg={config:{},list:[]},re.clearSketchRuleLine(),re.setRightPannel(!1),se){const ue=await ne.$baseHttp.get("/api/ace-data-center/screen/detail",{params:{id:se},headers:{loading:!0}});ie.value=ue.data.title,re.widgetConfg=chartJsonFormat(ue.data.config)}re.setStageWidth(re.widgetConfg.config.stageWidth??1920),re.setStageHeight(re.widgetConfg.config.stageHeight??1080)}}),(se,ue)=>{const ce=vue.resolveComponent("AppDrawer");return vue.openBlock(),vue.createBlock(ce,{modelValue:vue.unref(oe),"onUpdate:modelValue":ue[4]||(ue[4]=de=>vue.isRef(oe)?oe.value=de:null),title:"大屏设计",size:"100%",withHeader:!1,modalClass:"ace-modal-drawer",customClass:"ace-big-design-dialog"},{default:vue.withCtx(()=>[vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1h,[vue.createElementVNode("div",_hoisted_2$14,[vue.createVNode(TopPannel,{title:vue.unref(ie),"onUpdate:title":ue[0]||(ue[0]=de=>vue.isRef(ie)?ie.value=de:null),id:vue.unref(le),onPreview:ue[1]||(ue[1]=de=>ee("preview",de)),onSave:ue[2]||(ue[2]=de=>{le.value=de,ee("save")}),onBack:ue[3]||(ue[3]=()=>oe.value=!1)},null,8,["title","id"])]),vue.createElementVNode("div",_hoisted_3$Y,[vue.createElementVNode("div",_hoisted_4$T,[vue.createVNode(LeftPannel)]),vue.createElementVNode("div",_hoisted_5$J,[vue.createElementVNode("div",_hoisted_6$E,[vue.createVNode(Main)])]),vue.unref(re).getRightPannel?(vue.openBlock(),vue.createElementBlock("div",_hoisted_7$y,[vue.createVNode(RightPannel)])):vue.createCommentVNode("",!0)])])),[[vue.unref(elementPlus.vLoading),vue.unref(re).createLoading]])]),_:1},8,["modelValue"])}}}),design_vue_vue_type_style_index_0_lang="",_withScopeId$v=te=>(vue.pushScopeId("data-v-ec07a7d2"),te=te(),vue.popScopeId(),te),_hoisted_1$1g={key:1,class:"flex flex-wrap items-center justify-between"},_hoisted_2$13={class:"item-container"},_hoisted_3$X={class:"item-image"},_hoisted_4$S=["src"],_hoisted_5$I=["onClick"],_hoisted_6$D=_withScopeId$v(()=>vue.createElementVNode("span",{class:"text-base text-white cursor-pointer"},"预览大屏",-1)),_hoisted_7$x=[_hoisted_6$D],_hoisted_8$t={class:"flex items-center justify-between item-footer"},_hoisted_9$p={class:"flex"},_hoisted_10$k=["onClick"],_hoisted_11$f=_withScopeId$v(()=>vue.createElementVNode("i",{class:"mr-1 ri-edit-line"},null,-1)),_hoisted_12$d=["onClick"],_hoisted_13$b=_withScopeId$v(()=>vue.createElementVNode("i",{class:"mr-1 ri-delete-bin-line"},null,-1)),_hoisted_14$a=_withScopeId$v(()=>vue.createElementVNode("div",{class:"item"},null,-1)),_hoisted_15$6=_withScopeId$v(()=>vue.createElementVNode("div",{class:"item"},null,-1)),_sfc_main$1v=vue.defineComponent({__name:"index",emits:["preview","auto-play"],setup(te,{emit:U}){const G=U,{proxy:ee}=vue.getCurrentInstance(),{resetUrl:ne}=ee.$globalUtils,re=vue.ref(null),oe=vue.ref(null),ie=vue.reactive([{name:"新增",key:"ADD",type:"primary"},{name:"自动播放",key:"AUTO-PLAY",type:"primary"}]),le=vue.reactive([{name:"名称",type:FieldType.Text,fieldName:"title",value:""}]),ae=async se=>{const{type:ue,row:ce}=se;switch(ue){case"PREVIEW":G("preview","list",(ce==null?void 0:ce.id)??"");break;case"AUTO-PLAY":G("auto-play");break;case"ADD":case"EDIT":vue.unref(oe).init((ce==null?void 0:ce.id)??"");break;case"DEL":ee.$baseConfirm({content:"是否确定删除",callConfirm:async()=>{await ee.$baseHttp.post("/api/ace-data-center/screen/remove",{},{params:{ids:ce.id},headers:{loading:!0}})&&(ee.$message({type:"success",message:"删除成功",plain:!0}),vue.unref(re).getData())}});break}};return(se,ue)=>{const ce=vue.resolveComponent("AppEmpty"),de=vue.resolveComponent("AppList");return vue.openBlock(),vue.createBlock(de,{url:`/api/ace-data-center/screen/list?descs=create_time&projectId=${vue.unref(ee).$baseGetCurrentProjectId()}`,tableData:[],searchForm:vue.unref(le),searchBtns:vue.unref(ie),listType:"custom",onBtnClick:ae,ref_key:"appListRef",ref:re},{"list-slot":vue.withCtx(({list:fe,loading:ve})=>[vue.createVNode(vue.unref(elementPlus.ElSkeleton),{loading:ve,animated:""},{default:vue.withCtx(()=>[fe.length==0?(vue.openBlock(),vue.createBlock(ce,{key:0,description:"暂无数据"})):(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1g,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(fe,(he,pe)=>(vue.openBlock(),vue.createElementBlock("div",{key:pe,class:"item"},[vue.createElementVNode("div",_hoisted_2$13,[vue.createElementVNode("div",_hoisted_3$X,[vue.createElementVNode("img",{src:vue.unref(ne)(he.imageUrl??"")||"https://fuss10.elemecdn.com/d/e6/c4d93a3805b3ce3f323f7974e6f78jpeg.jpeg"},null,8,_hoisted_4$S),vue.createElementVNode("div",{class:"flex items-center justify-center item-popup",onClick:ge=>ae({type:"PREVIEW",row:he,index:pe})},_hoisted_7$x,8,_hoisted_5$I)]),vue.createElementVNode("div",_hoisted_8$t,[vue.createElementVNode("div",null,vue.toDisplayString(he.title),1),vue.createElementVNode("div",_hoisted_9$p,[vue.createElementVNode("span",{onClick:ge=>ae({type:"EDIT",row:he,index:pe}),class:"flex items-center text-xs text-gray-600 cursor-pointer"},[_hoisted_11$f,vue.createTextVNode(" 编辑大屏 ")],8,_hoisted_10$k),vue.createElementVNode("span",{onClick:ge=>ae({type:"DEL",row:he,index:pe}),class:"flex items-center ml-2 text-xs cursor-pointer text-color-danger"},[_hoisted_13$b,vue.createTextVNode(" 删除 ")],8,_hoisted_12$d)])])])]))),128)),_hoisted_14$a,_hoisted_15$6]))]),_:2},1032,["loading"])]),default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1w,{ref_key:"designRef",ref:oe,onSave:ue[0]||(ue[0]=fe=>vue.unref(re).getData()),onPreview:ue[1]||(ue[1]=fe=>G("preview","content",fe))},null,512)]),_:1},8,["url","searchForm","searchBtns"])}}}),index_vue_vue_type_style_index_0_scoped_ec07a7d2_lang="",aceBigScreen=_export_sfc$2(_sfc_main$1v,[["__scopeId","data-v-ec07a7d2"]]);let currRenderDom=null,currelRectification="",currelRectificationLevel="",currelRectificationIsKeepRatio="",resizeListener=null,timer=null,currScale=1,isElRectification=!1;const autofit={isAutofitRunnig:!1,init(te={},U=!0){U&&console.log("autofit.js is running");const{dw:G=1920,dh:ee=1080,el:ne=typeof te=="string"?te:"body",resize:re=!0,ignore:oe=[],transition:ie="none",delay:le=0,limit:ae=.1}=te;currRenderDom=ne;let se=document.querySelector(ne);if(!se){console.error(`autofit: '${ne}' is not exist`);return}const ue=document.createElement("style"),ce=document.createElement("style");ue.lang="text/css",ce.lang="text/css",ue.id="autofit-style",ce.id="ignoreStyle",ue.innerHTML="body {overflow: hidden;}";const de=document.querySelector("body");de.appendChild(ue),de.appendChild(ce),se.style.height=`${ee}px`,se.style.width=`${G}px`,se.style.transformOrigin="0 0",se.style.overflow="hidden",keepFit(G,ee,se,oe,ae),resizeListener=()=>{clearTimeout(timer),le!=0?timer=setTimeout(()=>{keepFit(G,ee,se,oe,ae),isElRectification&&elRectification(currelRectification,currelRectificationIsKeepRatio,currelRectificationLevel)},le):(keepFit(G,ee,se,oe,ae),isElRectification&&elRectification(currelRectification,currelRectificationIsKeepRatio,currelRectificationLevel))},re&&window.addEventListener("resize",resizeListener),this.isAutofitRunnig=!0,setTimeout(()=>{se.style.transition=`${ie}s`})},off(te="body"){try{isElRectification=!1,window.removeEventListener("resize",resizeListener),document.querySelector("#autofit-style").remove();const U=document.querySelector("#ignoreStyle");U&&U.remove(),document.querySelector(currRenderDom||te).style="",isElRectification&&offelRectification()}catch(U){console.error("autofit: Failed to remove normally",U),this.isAutofitRunnig=!1}this.isAutofitRunnig&&console.log("autofit.js is off")}};function elRectification(te,U=!0,G=1){autofit.isAutofitRunnig||console.error("autofit.js:autofit has not been initialized yet"),!te&&console.error(`autofit.js:bad selector: ${te}`),currelRectification=te,currelRectificationLevel=G,currelRectificationIsKeepRatio=U;const ee=document.querySelectorAll(te);if(ee.length==0){console.error("autofit.js:elRectification found no element");return}for(let ne of ee){let re=currScale==1?1:currScale*G;isElRectification||(ne.originalWidth=ne.clientWidth,ne.originalHeight=ne.clientHeight),U?(ne.style.width=`${ne.originalWidth*re}px`,ne.style.height=`${ne.originalHeight*re}px`):(ne.style.width=`${100*re}%`,ne.style.height=`${100*re}%`),ne.style.transform=`scale(${1/currScale})`,ne.style.transformOrigin="0 0"}isElRectification=!0}function offelRectification(){if(currelRectification)for(let te of document.querySelectorAll(currelRectification))te.style.width="",te.style.height="",te.style.transform=""}function keepFit(te,U,G,ee,ne){let re=document.documentElement.clientHeight,oe=document.documentElement.clientWidth;currScale=oe/re<te/U?oe/te:re/U,currScale=Math.abs(1-currScale)>ne?currScale.toFixed(2):1;let ie=Math.round(re/currScale),le=Math.round(oe/currScale);G.style.height=`${ie}px`,G.style.width=`${le}px`,G.style.transform=`scale(${currScale})`;const ae=document.querySelector("#ignoreStyle");ae.innerHTML="";for(let se of ee){let ue=se.el||se.dom;if(typeof se=="string"&&(ue=se),!ue){console.error(`autofit: bad selector: ${ue}`);continue}let ce=se.scale?se.scale:1/currScale,de=ce!=currScale?se.fontSize:"autofit",fe=ce!=currScale?se.width:"autofit",ve=ce!=currScale?se.height:"autofit";new RegExp(`${ue}( |{)`,"gm").test(ae.innerHTML)||(ae.innerHTML+=`
|
|
789
|
+
`("loading");vue.defineComponent({name:"Loading",setup(te,{slots:U}){return()=>vue.createVNode(o,null,{default:()=>{var G;return[vue.createVNode("svg",{width:"50px",height:"50px"},[vue.createVNode("circle",{cx:"25",cy:"25",r:"20",fill:"transparent","stroke-width":"3","stroke-dasharray":"31.415, 31.415",stroke:"#02bcfe","stroke-linecap":"round"},[vue.createVNode("animateTransform",{attributeName:"transform",type:"rotate",values:"0, 25 25;360, 25 25",dur:"1.5s",repeatCount:"indefinite"},null),vue.createVNode("animate",{attributeName:"stroke",values:"#02bcfe;#3be6cb;#02bcfe",dur:"3s",repeatCount:"indefinite"},null)]),vue.createVNode("circle",{cx:"25",cy:"25",r:"10",fill:"transparent","stroke-width":"3","stroke-dasharray":"15.7, 15.7",stroke:"#3be6cb","stroke-linecap":"round"},[vue.createVNode("animateTransform",{attributeName:"transform",type:"rotate",values:"360, 25 25;0, 25 25",dur:"1.5s",repeatCount:"indefinite"},null),vue.createVNode("animate",{attributeName:"stroke",values:"#3be6cb;#02bcfe;#3be6cb",dur:"3s",repeatCount:"indefinite"},null)])]),vue.createVNode("div",{class:"loading-tip"},[(G=U.default)==null?void 0:G.call(U)])]}})}});const _sfc_main$2Y=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.decorationColor1||(re=U.config.customize)!=null&&re.decorationColor2?[U.config.customize.decorationColor1,U.config.customize.decorationColor2]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>(vue.openBlock(),vue.createBlock(vue.unref(V$3),{color:vue.unref(G),ref_key:"customRef",ref:ee},null,8,["color"]))}}),__vite_glob_0_0$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2Y},Symbol.toStringTag,{value:"Module"})),_sfc_main$2X=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.decorationColor1||(re=U.config.customize)!=null&&re.decorationColor2?[U.config.customize.decorationColor1,U.config.customize.decorationColor2]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>(vue.openBlock(),vue.createBlock(vue.unref(V$2),{color:vue.unref(G),ref_key:"customRef",ref:ee},null,8,["color"]))}}),__vite_glob_0_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2X},Symbol.toStringTag,{value:"Module"})),_sfc_main$2W=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.decorationColor1||(re=U.config.customize)!=null&&re.decorationColor2?[U.config.customize.decorationColor1,U.config.customize.decorationColor2]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>(vue.openBlock(),vue.createBlock(vue.unref(B$1),{color:vue.unref(G),ref_key:"customRef",ref:ee},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(U.config.customize.title),1)]),_:1},8,["color"]))}}),__vite_glob_0_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2W},Symbol.toStringTag,{value:"Module"})),_sfc_main$2V=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.decorationColor1||(re=U.config.customize)!=null&&re.decorationColor2?[U.config.customize.decorationColor1,U.config.customize.decorationColor2]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>(vue.openBlock(),vue.createBlock(vue.unref(dt),{color:vue.unref(G),scanDuration:ne.config.customize.scanDuration,haloDuration:ne.config.customize.haloDuration,ref_key:"customRef",ref:ee},null,8,["color","scanDuration","haloDuration"]))}}),__vite_glob_0_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2V},Symbol.toStringTag,{value:"Module"})),_sfc_main$2U=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.decorationColor1||(re=U.config.customize)!=null&&re.decorationColor2?[U.config.customize.decorationColor1,U.config.customize.decorationColor2]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>(vue.openBlock(),vue.createBlock(vue.unref(A$3),{color:vue.unref(G),duration:ne.config.customize.duration,reverse:ne.config.customize.reverse,ref_key:"customRef",ref:ee},null,8,["color","duration","reverse"]))}}),__vite_glob_0_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2U},Symbol.toStringTag,{value:"Module"})),_sfc_main$2T=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.decorationColor1||(re=U.config.customize)!=null&&re.decorationColor2?[U.config.customize.decorationColor1,U.config.customize.decorationColor2]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>(vue.openBlock(),vue.createBlock(vue.unref(E$1),{color:vue.unref(G),ref_key:"customRef",ref:ee},null,8,["color"]))}}),__vite_glob_0_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2T},Symbol.toStringTag,{value:"Module"})),_sfc_main$2S=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.decorationColor1||(re=U.config.customize)!=null&&re.decorationColor2?[U.config.customize.decorationColor1,U.config.customize.decorationColor2]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>(vue.openBlock(),vue.createBlock(vue.unref(F),{color:vue.unref(G),duration:ne.config.customize.duration,reverse:ne.config.customize.reverse,ref_key:"customRef",ref:ee},null,8,["color","duration","reverse"]))}}),__vite_glob_0_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2S},Symbol.toStringTag,{value:"Module"})),_sfc_main$2R=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.decorationColor1||(re=U.config.customize)!=null&&re.decorationColor2?[U.config.customize.decorationColor1,U.config.customize.decorationColor2]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>(vue.openBlock(),vue.createBlock(vue.unref(J$1),{color:vue.unref(G),duration:ne.config.customize.duration,ref_key:"customRef",ref:ee},null,8,["color","duration"]))}}),__vite_glob_0_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2R},Symbol.toStringTag,{value:"Module"})),_sfc_main$2Q=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.decorationColor1||(re=U.config.customize)!=null&&re.decorationColor2?[U.config.customize.decorationColor1,U.config.customize.decorationColor2]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>(vue.openBlock(),vue.createBlock(vue.unref(Y),{color:vue.unref(G),ref_key:"customRef",ref:ee},null,8,["color"]))}}),__vite_glob_0_8$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2Q},Symbol.toStringTag,{value:"Module"})),_sfc_main$2P=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.decorationColor1||(re=U.config.customize)!=null&&re.decorationColor2?[U.config.customize.decorationColor1,U.config.customize.decorationColor2]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>(vue.openBlock(),vue.createBlock(vue.unref(A$1),{color:vue.unref(G),reverse:ne.config.customize.reverse,ref_key:"customRef",ref:ee},null,8,["color","reverse"]))}}),__vite_glob_0_9$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2P},Symbol.toStringTag,{value:"Module"})),_sfc_main$2O=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.decorationColor1||(re=U.config.customize)!=null&&re.decorationColor2?[U.config.customize.decorationColor1,U.config.customize.decorationColor2]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>(vue.openBlock(),vue.createBlock(vue.unref(J),{color:vue.unref(G),reverse:ne.config.customize.duration,ref_key:"customRef",ref:ee},null,8,["color","reverse"]))}}),__vite_glob_0_10$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2O},Symbol.toStringTag,{value:"Module"})),_sfc_main$2N=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.borderMainColor||(re=U.config.customize)!=null&&re.borderSecondaryColor?[U.config.customize.borderMainColor,U.config.customize.borderSecondaryColor]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>{var oe;return vue.openBlock(),vue.createBlock(vue.unref(D$7),{color:vue.unref(G),backgroundColor:(oe=U.config)==null?void 0:oe.customize.backgroundColor,ref_key:"customRef",ref:ee},null,8,["color","backgroundColor"])}}}),__vite_glob_1_0$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2N},Symbol.toStringTag,{value:"Module"})),_sfc_main$2M=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.borderMainColor||(re=U.config.customize)!=null&&re.borderSecondaryColor?[U.config.customize.borderMainColor,U.config.customize.borderSecondaryColor]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>{var oe;return vue.openBlock(),vue.createBlock(vue.unref(E$4),{color:vue.unref(G),backgroundColor:(oe=U.config)==null?void 0:oe.customize.backgroundColor,ref_key:"customRef",ref:ee},null,8,["color","backgroundColor"])}}}),__vite_glob_1_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2M},Symbol.toStringTag,{value:"Module"})),_sfc_main$2L=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.borderMainColor||(re=U.config.customize)!=null&&re.borderSecondaryColor?[U.config.customize.borderMainColor,U.config.customize.borderSecondaryColor]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>{var oe,ie,le;return vue.openBlock(),vue.createBlock(vue.unref(O$1),{color:vue.unref(G),title:(oe=U.config)==null?void 0:oe.customize.title,titleWidth:(ie=U.config)==null?void 0:ie.customize.titleWidth,backgroundColor:(le=U.config)==null?void 0:le.customize.backgroundColor,ref_key:"customRef",ref:ee},null,8,["color","title","titleWidth","backgroundColor"])}}}),__vite_glob_1_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2L},Symbol.toStringTag,{value:"Module"})),_sfc_main$2K=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.borderMainColor||(re=U.config.customize)!=null&&re.borderSecondaryColor?[U.config.customize.borderMainColor,U.config.customize.borderSecondaryColor]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>{var oe;return vue.openBlock(),vue.createBlock(vue.unref(D$6),{color:vue.unref(G),backgroundColor:(oe=U.config)==null?void 0:oe.customize.backgroundColor,ref_key:"customRef",ref:ee},null,8,["color","backgroundColor"])}}}),__vite_glob_1_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2K},Symbol.toStringTag,{value:"Module"})),_sfc_main$2J=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.borderMainColor||(re=U.config.customize)!=null&&re.borderSecondaryColor?[U.config.customize.borderMainColor,U.config.customize.borderSecondaryColor]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>{var oe;return vue.openBlock(),vue.createBlock(vue.unref(R$7),{color:vue.unref(G),backgroundColor:(oe=U.config)==null?void 0:oe.customize.backgroundColor,ref_key:"customRef",ref:ee},null,8,["color","backgroundColor"])}}}),__vite_glob_1_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2J},Symbol.toStringTag,{value:"Module"})),_sfc_main$2I=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.borderMainColor||(re=U.config.customize)!=null&&re.borderSecondaryColor?[U.config.customize.borderMainColor,U.config.customize.borderSecondaryColor]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>{var oe;return vue.openBlock(),vue.createBlock(vue.unref(R$6),{color:vue.unref(G),backgroundColor:(oe=U.config)==null?void 0:oe.customize.backgroundColor,ref_key:"customRef",ref:ee},null,8,["color","backgroundColor"])}}}),__vite_glob_1_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2I},Symbol.toStringTag,{value:"Module"})),_sfc_main$2H=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.borderMainColor||(re=U.config.customize)!=null&&re.borderSecondaryColor?[U.config.customize.borderMainColor,U.config.customize.borderSecondaryColor]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>{var oe;return vue.openBlock(),vue.createBlock(vue.unref(E$3),{color:vue.unref(G),backgroundColor:(oe=U.config)==null?void 0:oe.customize.backgroundColor,ref_key:"customRef",ref:ee},null,8,["color","backgroundColor"])}}}),__vite_glob_1_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2H},Symbol.toStringTag,{value:"Module"})),_sfc_main$2G=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.borderMainColor||(re=U.config.customize)!=null&&re.borderSecondaryColor?[U.config.customize.borderMainColor,U.config.customize.borderSecondaryColor]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>{var oe,ie;return vue.openBlock(),vue.createBlock(vue.unref(J$4),{color:vue.unref(G),backgroundColor:(oe=U.config)==null?void 0:oe.customize.backgroundColor,reverse:(ie=U.config)==null?void 0:ie.customize.reverse,ref_key:"customRef",ref:ee},null,8,["color","backgroundColor","reverse"])}}}),__vite_glob_1_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2G},Symbol.toStringTag,{value:"Module"})),_sfc_main$2F=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.borderMainColor||(re=U.config.customize)!=null&&re.borderSecondaryColor?[U.config.customize.borderMainColor,U.config.customize.borderSecondaryColor]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>{var oe,ie;return vue.openBlock(),vue.createBlock(vue.unref(J$3),{color:vue.unref(G),backgroundColor:(oe=U.config)==null?void 0:oe.customize.backgroundColor,reverse:(ie=U.config)==null?void 0:ie.customize.reverse,ref_key:"customRef",ref:ee},null,8,["color","backgroundColor","reverse"])}}}),__vite_glob_1_8$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2F},Symbol.toStringTag,{value:"Module"})),_sfc_main$2E=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.borderMainColor||(re=U.config.customize)!=null&&re.borderSecondaryColor?[U.config.customize.borderMainColor,U.config.customize.borderSecondaryColor]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>{var oe;return vue.openBlock(),vue.createBlock(vue.unref(R$5),{color:vue.unref(G),backgroundColor:(oe=U.config)==null?void 0:oe.customize.backgroundColor,ref_key:"customRef",ref:ee},null,8,["color","backgroundColor"])}}}),__vite_glob_1_9$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2E},Symbol.toStringTag,{value:"Module"})),_sfc_main$2D=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.borderMainColor||(re=U.config.customize)!=null&&re.borderSecondaryColor?[U.config.customize.borderMainColor,U.config.customize.borderSecondaryColor]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>{var oe;return vue.openBlock(),vue.createBlock(vue.unref(E$2),{color:vue.unref(G),backgroundColor:(oe=U.config)==null?void 0:oe.customize.backgroundColor,ref_key:"customRef",ref:ee},null,8,["color","backgroundColor"])}}}),__vite_glob_1_10$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2D},Symbol.toStringTag,{value:"Module"})),_sfc_main$2C=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.borderMainColor||(re=U.config.customize)!=null&&re.borderSecondaryColor?[U.config.customize.borderMainColor,U.config.customize.borderSecondaryColor]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>{var oe,ie,le;return vue.openBlock(),vue.createBlock(vue.unref(Y$3),{color:vue.unref(G),backgroundColor:(oe=U.config)==null?void 0:oe.customize.backgroundColor,reverse:(ie=U.config)==null?void 0:ie.customize.reverse,duration:(le=U.config)==null?void 0:le.customize.duration,ref_key:"customRef",ref:ee},null,8,["color","backgroundColor","reverse","duration"])}}}),__vite_glob_1_11$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2C},Symbol.toStringTag,{value:"Module"})),_sfc_main$2B=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{var ne,re;return(ne=U.config.customize)!=null&&ne.borderMainColor||(re=U.config.customize)!=null&&re.borderSecondaryColor?[U.config.customize.borderMainColor,U.config.customize.borderSecondaryColor]:[]}),{customRef:ee}=useRefresh(U.config);return(ne,re)=>{var oe;return vue.openBlock(),vue.createBlock(vue.unref(V$4),{color:vue.unref(G),backgroundColor:(oe=U.config)==null?void 0:oe.customize.backgroundColor,ref_key:"customRef",ref:ee},null,8,["color","backgroundColor"])}}}),__vite_glob_1_12$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2B},Symbol.toStringTag,{value:"Module"})),_sfc_main$2A=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{const ee=U.config.customize.gradientColor0,ne=U.config.customize.gradientColor1;return`linear-gradient(to bottom, ${ee||ne} , ${ne||ee})`});return(ee,ne)=>(vue.openBlock(),vue.createElementBlock("div",{style:vue.normalizeStyle({width:U.config.customize.width+"px","background-image":vue.unref(G)}),class:"h-full"},null,4))}}),__vite_glob_2_0$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2A},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1F=["src"],_sfc_main$2z=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te;return(G,ee)=>(vue.openBlock(),vue.createElementBlock("iframe",{src:U.config.customize.url,class:"w-full h-full border-0"},null,8,_hoisted_1$1F))}}),__vite_glob_2_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2z},Symbol.toStringTag,{value:"Module"})),_sfc_main$2y=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const{proxy:U}=vue.getCurrentInstance(),{resetUrl:G}=U.$globalUtils,ee=te;return(ne,re)=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElImage),{class:"w-full h-full",src:vue.unref(G)(ee.config.customize.url),fit:ee.config.customize.fit},null,8,["src","fit"]))}}),__vite_glob_2_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2y},Symbol.toStringTag,{value:"Module"})),_sfc_main$2x=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>`-webkit-linear-gradient(${U.config.customize.colorPosition}, ${U.config.customize.startColor}, ${U.config.customize.endColor}`);return(ee,ne)=>(vue.openBlock(),vue.createElementBlock("div",{style:vue.normalizeStyle({...U.config.customize,fontSize:U.config.customize.fontSize+"px",letterSpacing:U.config.customize.letterSpacing+"px",backgroundImage:vue.unref(G),"-webkit-background-clip":"text","-webkit-text-fill-color":"transparent"})},vue.toDisplayString(U.config.customize.title),5))}}),__vite_glob_2_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2x},Symbol.toStringTag,{value:"Module"})),_sfc_main$2w=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{const ee=U.config.customize.gradientColor0,ne=U.config.customize.gradientColor1;return`linear-gradient(to ${U.config.customize.colorPosition}, ${ee||ne} , ${ne||ee})`});return(ee,ne)=>(vue.openBlock(),vue.createElementBlock("div",{class:"w-full h-full",style:vue.normalizeStyle({"background-image":vue.unref(G),borderRadius:U.config.customize.borderRadius+"px"})},null,4))}}),__vite_glob_2_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2w},Symbol.toStringTag,{value:"Module"})),_sfc_main$2v=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>`-webkit-linear-gradient(${U.config.customize.colorPosition}, ${U.config.customize.startColor}, ${U.config.customize.endColor}`);return(ee,ne)=>(vue.openBlock(),vue.createElementBlock("div",{style:vue.normalizeStyle({...U.config.customize,fontSize:U.config.customize.fontSize+"px",letterSpacing:U.config.customize.letterSpacing+"px",backgroundImage:vue.unref(G),"-webkit-background-clip":"text","-webkit-text-fill-color":"transparent"})},vue.toDisplayString(U.config.customize.title),5))}}),__vite_glob_2_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2v},Symbol.toStringTag,{value:"Module"})),_sfc_main$2u=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.ref(),ee=()=>{G.value=dayjs().format("YYYY-MM-DD HH:mm:ss")},ne=setInterval(()=>{ee()},1e3);ee(),vue.onBeforeUnmount(()=>{ne&&clearInterval(ne)});const re=vue.computed(()=>`-webkit-linear-gradient(${U.config.customize.colorPosition}, ${U.config.customize.startColor}, ${U.config.customize.endColor}`);return(oe,ie)=>(vue.openBlock(),vue.createElementBlock("div",{style:vue.normalizeStyle({...U.config.customize,fontSize:U.config.customize.fontSize+"px",letterSpacing:U.config.customize.letterSpacing+"px",backgroundImage:vue.unref(re),"-webkit-background-clip":"text","-webkit-text-fill-color":"transparent"})},vue.toDisplayString(vue.unref(G)),5))}}),__vite_glob_2_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2u},Symbol.toStringTag,{value:"Module"})),_sfc_main$2t=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,G=vue.computed(()=>{const ee=U.config.customize.gradientColor0,ne=U.config.customize.gradientColor1;return`linear-gradient(to right, ${ee||ne} , ${ne||ee})`});return(ee,ne)=>(vue.openBlock(),vue.createElementBlock("div",{style:vue.normalizeStyle({height:U.config.customize.height+"px","background-image":vue.unref(G)}),class:"w-full"},null,4))}}),__vite_glob_2_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2t},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1E={class:"w-full h-full"},_hoisted_2$1m=["placeholder"],_sfc_main$2s=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){vue.useCssVars(re=>({"75aca5f8":vue.unref(ee)}));const U=te,{proxy:G}=vue.getCurrentInstance(),ee=vue.computed(()=>U.config.customize.color),ne=()=>{const re=U.config.customize.linkage;G.$baseEventBus.emit("ace-screen-indicators-linkage",re.map(oe=>oe[0]))};return(re,oe)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1E,[vue.withDirectives(vue.createElementVNode("input",{"onUpdate:modelValue":oe[0]||(oe[0]=ie=>U.config.customize.modelValue=ie),placeholder:U.config.customize.placeholder,style:vue.normalizeStyle({width:"100%",height:"100%",backgroundColor:U.config.customize.backgroundColor,borderWidth:`${U.config.customize.borderTopWidth}px ${U.config.customize.borderRightWidth}px ${U.config.customize.borderBottomWidth}px ${U.config.customize.borderLeftWidth}px `,borderColor:U.config.customize.borderColor,color:U.config.customize.color,fontSize:U.config.customize.fontSize+"px",borderRadius:U.config.customize.borderRadius+"px"}),onBlur:ne},null,44,_hoisted_2$1m),[[vue.vModelText,U.config.customize.modelValue]])]))}}),index_vue_vue_type_style_index_0_scoped_4faa96c2_lang="",index$2=_export_sfc$2(_sfc_main$2s,[["__scopeId","data-v-4faa96c2"]]),__vite_glob_3_0$1=Object.freeze(Object.defineProperty({__proto__:null,default:index$2},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1D={class:"w-full h-full"},_sfc_main$2r=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(te){const U=te,{proxy:G}=vue.getCurrentInstance(),ee=vue.ref([]);vue.watch(()=>U.config.customize.dictId,()=>{ne()},{});const ne=()=>{const oe=U.config.customize.dictId;oe&&G.$baseHttp.get(`/api/ace-data-center/custom-dic/readDict/${oe}`).then(ie=>{ee.value=ie.data??[]})};vue.onMounted(()=>{ne()});const re=()=>{const oe=U.config.customize.linkage;G.$baseEventBus.emit("ace-screen-indicators-linkage",oe.map(ie=>ie[0]))};return(oe,ie)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1D,[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:U.config.customize.modelValue,"onUpdate:modelValue":ie[0]||(ie[0]=le=>U.config.customize.modelValue=le),placeholder:U.config.customize.placeholder,style:{width:"100%",height:"100%"},onChange:re,clearable:U.config.customize.clearable},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(ee),le=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{label:le.name,value:le.code,key:le.code},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder","clearable"])]))}}),__vite_glob_3_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2r},Symbol.toStringTag,{value:"Module"})),moudleComponents$1={};for(let te=0;te<=5;te+=1){let U=null;if(te==0&&(U=Object.assign({"../decoration/decoration1/index.vue":__vite_glob_0_0$1,"../decoration/decoration10/index.vue":__vite_glob_0_1$1,"../decoration/decoration11/index.vue":__vite_glob_0_2$1,"../decoration/decoration12/index.vue":__vite_glob_0_3$1,"../decoration/decoration2/index.vue":__vite_glob_0_4$1,"../decoration/decoration3/index.vue":__vite_glob_0_5$1,"../decoration/decoration4/index.vue":__vite_glob_0_6$1,"../decoration/decoration5/index.vue":__vite_glob_0_7$1,"../decoration/decoration6/index.vue":__vite_glob_0_8$1,"../decoration/decoration8/index.vue":__vite_glob_0_9$1,"../decoration/decoration9/index.vue":__vite_glob_0_10$1})),te==1&&(U=Object.assign({"../border/border1/index.vue":__vite_glob_1_0$1,"../border/border10/index.vue":__vite_glob_1_1$1,"../border/border11/index.vue":__vite_glob_1_2$1,"../border/border12/index.vue":__vite_glob_1_3$1,"../border/border13/index.vue":__vite_glob_1_4$1,"../border/border2/index.vue":__vite_glob_1_5$1,"../border/border3/index.vue":__vite_glob_1_6$1,"../border/border4/index.vue":__vite_glob_1_7$1,"../border/border5/index.vue":__vite_glob_1_8$1,"../border/border6/index.vue":__vite_glob_1_9$1,"../border/border7/index.vue":__vite_glob_1_10$1,"../border/border8/index.vue":__vite_glob_1_11$1,"../border/border9/index.vue":__vite_glob_1_12$1})),te==2&&(U=Object.assign({"../basic/horizontal-line/index.vue":__vite_glob_2_0$1,"../basic/iframe/index.vue":__vite_glob_2_1$1,"../basic/img/index.vue":__vite_glob_2_2$1,"../basic/number/index.vue":__vite_glob_2_3$1,"../basic/square/index.vue":__vite_glob_2_4$1,"../basic/text/index.vue":__vite_glob_2_5$1,"../basic/time/index.vue":__vite_glob_2_6$1,"../basic/vertical-line/index.vue":__vite_glob_2_7$1})),te==3&&(U=Object.assign({"../control/input/index.vue":__vite_glob_3_0$1,"../control/select/index.vue":__vite_glob_3_1$1})),U)for(const[G,ee]of Object.entries(U)){const ne=G.split("/")[2];moudleComponents$1[ne]=ee.default}}function useBarCommon(){const te=vue.ref((window==null?void 0:window.customSeriesData)??{}),U=(ne,re)=>{ne.series=[],setTimeout(()=>{const oe=ne.dataShow.y.filter(ie=>!ne.dataShow.hide.includes(ie));ne.dataset.dimensions=[ne.dataShow.x,...oe],ne.dataShow.y.forEach(ie=>{te.value[ie]||(te.value[ie]=JSON.parse(JSON.stringify(G)))}),window.customSeriesData=te.value,Object.values(vue.unref(te)).forEach(ie=>{ie.label.formatter=le=>{const ae=ne.custom,se=le.data[le.seriesName];if((ae==null?void 0:ae.toFixed)!=="")try{return Number(se).toFixed(ae.toFixed)}catch{return se}return se}}),ne.series=oe.map((ie,le)=>te.value[ie]),re&&re()})},G={type:"bar",barWidth:15,stack:!1,borderRadiusNumber:4,itemStyle:{color:null,borderRadius:[4,4,0,0]},label:{show:!0,rotate:0,position:"top",color:"#000000",fontSize:10}};return{init:U,customSeriesData:te,seriesItem:G,barConfig:{tooltip:{show:!0,confine:!0,valueFormatter:ne=>ne,trigger:"axis",axisPointer:{show:!0,type:"shadow"}},custom:{prefix:"",suffix:"",toFixed:0},dataShow:{x:[],y:[],hide:[]},grid:{left:"3%",right:"3%",bottom:"3%",top:"10%",containLabel:!0},legend:{show:!0,textStyle:{fontSize:12},x:"center",y:"top",orient:"horizontal",icon:"roundRect",itemWidth:20,itemHeight:10},xAxis:{show:!0,axisLabel:{fontSize:12,interval:0,rotate:0},nameTextStyle:{fontSize:12},splitLine:{lineStyle:{width:1,type:"solid"}},position:"bottom",type:"category"},yAxis:{show:!0,axisLabel:{fontSize:12,interval:0,rotate:0},nameTextStyle:{fontSize:12},splitLine:{lineStyle:{width:1,type:"solid"}},position:"left",type:"value"},dataset:{},series:[]}}}function useLineCommon(){const te=vue.ref((window==null?void 0:window.customSeriesData)??{}),U=(ne,re)=>{ne.series=[],setTimeout(()=>{const oe=ne.dataShow.y.filter(ie=>!ne.dataShow.hide.includes(ie));ne.dataset.dimensions=[ne.dataShow.x,...oe],ne.dataShow.y.forEach(ie=>{te.value[ie]||(te.value[ie]=JSON.parse(JSON.stringify(G)))}),window.customSeriesData=te.value,Object.values(vue.unref(te)).forEach(ie=>{ie.label.formatter=le=>{const ae=ne.custom,se=le.data[le.seriesName];if((ae==null?void 0:ae.toFixed)!=="")try{return Number(se).toFixed(ae.toFixed)}catch{return se}return se}}),ne.series=oe.map((ie,le)=>te.value[ie]),re&&re()})},G={type:"line",symbolSize:5,smooth:!0,lineStyle:{type:"solid",width:3,color:null},label:{show:!0,position:"top",color:"#000000",fontSize:10,rotate:0}};return{init:U,customSeriesData:te,seriesItem:G,lineConfig:{tooltip:{show:!0,confine:!0,valueFormatter:ne=>ne,trigger:"axis",axisPointer:{show:!0,type:"shadow"}},custom:{prefix:"",suffix:"",toFixed:0},dataShow:{x:[],y:[],hide:[]},grid:{left:"3%",right:"3%",bottom:"3%",top:"10%",containLabel:!0},legend:{show:!0,textStyle:{fontSize:12},x:"center",y:"top",orient:"horizontal",itemWidth:20,itemHeight:10},xAxis:{show:!0,axisLabel:{fontSize:12,interval:0,rotate:0},nameTextStyle:{fontSize:12},splitLine:{lineStyle:{width:1,type:"solid"}},position:"bottom",type:"category"},yAxis:{show:!0,axisLabel:{fontSize:12,interval:0,rotate:0},nameTextStyle:{fontSize:12},splitLine:{lineStyle:{width:1,type:"solid"}},position:"left",type:"value"},dataset:{},series:[]}}}function usePieCommon(){const te=vue.ref((window==null?void 0:window.customSeriesData)??{}),U=(ne,re)=>{ne.series=[],setTimeout(()=>{ne.dataset.dimensions=[ne.dataShow.x,ne.dataShow.y],te.value[ne.dataShow.y]||(te.value[ne.dataShow.y]=JSON.parse(JSON.stringify(G))),window.customSeriesData=te.value,ne.series=[te.value[ne.dataShow.y]],re&&re()})},G={type:"pie",radius:["40%","65%"],center:["50%","50%"],roseType:!1,avoidLabelOverlap:!1,itemStyle:{show:!0,borderRadius:10,borderColor:"#fff",borderWidth:2},emphasis:{labelLine:{show:!0}},labelLine:{show:!0},label:{show:!0,color:"#000000",fontSize:10,position:"center",formatter:"{b}"}};return{init:U,customSeriesData:te,seriesItem:G,pieConfig:{tooltip:{show:!0,confine:!0,valueFormatter:ne=>ne,trigger:"item"},dataShow:{x:"",y:""},grid:{left:"3%",right:"3%",bottom:"3%",top:"10%",containLabel:!0},legend:{show:!0,textStyle:{fontSize:12},x:"center",y:"top",orient:"horizontal",icon:"roundRect",itemWidth:20,itemHeight:10},dataset:{},series:[]}}}function useBarLineCommon(){const te=vue.ref((window==null?void 0:window.customSeriesData)??{}),U=(re,oe)=>{re.series=[],setTimeout(()=>{const ie=re.dataShow.y.filter(le=>!re.dataShow.hide.includes(le));re.dataset.dimensions=[re.dataShow.x,...ie],re.dataShow.y.forEach((le,ae)=>{if(te.value[le])return;const se=re.dataShow.y.length==ae+1&&re.dataShow.y.length>0;te.value[le]=JSON.parse(JSON.stringify(se?G:ee))}),window.customSeriesData=te.value,Object.values(vue.unref(te)).forEach(le=>{le.label.formatter=ae=>{const se=re.custom,ue=ae.data[ae.seriesName];if((se==null?void 0:se.toFixed)!=="")try{return Number(ue).toFixed(se.toFixed)}catch{return ue}return ue}}),re.series=ie.map((le,ae)=>te.value[le]),oe&&oe()})},G={type:"line",symbolSize:5,smooth:!0,lineStyle:{type:"solid",width:3,color:null},label:{show:!0,rotate:0,position:"top",color:"#000000",fontSize:10}},ee={type:"bar",barWidth:15,stack:!1,borderRadiusNumber:4,itemStyle:{color:null,borderRadius:[4,4,0,0]},label:{show:!0,rotate:0,position:"top",color:"#000000",fontSize:10}};return{init:U,customSeriesData:te,seriesLineItem:G,seriesBarItem:ee,barsLinesConfig:{tooltip:{show:!0,confine:!0,valueFormatter:re=>re,trigger:"axis",axisPointer:{show:!0,type:"shadow"}},custom:{prefix:"",suffix:"",toFixed:0},dataShow:{x:[],y:[],hide:[]},grid:{left:"3%",right:"3%",bottom:"3%",top:"10%",containLabel:!0},legend:{show:!0,textStyle:{fontSize:12},x:"center",y:"top",orient:"horizontal",itemWidth:20,itemHeight:10},xAxis:{show:!0,axisLabel:{fontSize:12,interval:0,rotate:0},nameTextStyle:{fontSize:12},splitLine:{lineStyle:{width:1,type:"solid"}},position:"bottom",type:"category"},yAxis:{show:!0,axisLabel:{fontSize:12,interval:0,rotate:0},nameTextStyle:{fontSize:12},splitLine:{lineStyle:{width:1,type:"solid"}},position:"left",type:"value"},dataset:{},series:[]}}}function useScatterCommon(){const te=vue.ref((window==null?void 0:window.customSeriesData)??{}),U=(ne,re)=>{ne.series=[],setTimeout(()=>{const oe=ne.dataShow.y.filter(ie=>!ne.dataShow.hide.includes(ie));ne.dataset.dimensions=[ne.dataShow.x,...oe],ne.dataShow.y.forEach(ie=>{te.value[ie]||(te.value[ie]=JSON.parse(JSON.stringify(G)))}),window.customSeriesData=te.value,Object.values(vue.unref(te)).forEach(ie=>{ie.label.formatter=le=>{const ae=ne.custom,se=le.data[le.seriesName];if((ae==null?void 0:ae.toFixed)!=="")try{return Number(se).toFixed(ae.toFixed)}catch{return se}return se}}),ne.series=oe.map((ie,le)=>te.value[ie]),re&&re()})},G={type:"scatter",emphasis:{focus:"series"},symbolSize:12,itemStyle:{color:null},markArea:{silent:!0,itemStyle:{color:"transparent",borderWidth:1,borderType:"dashed"},data:[[{xAxis:"min",yAxis:"min"},{xAxis:"max",yAxis:"max"}]]},label:{show:!0,rotate:0,position:"top",color:"#000000",fontSize:10}};return{init:U,customSeriesData:te,seriesItem:G,scatterCfg:{tooltip:{show:!0,confine:!0,valueFormatter:ne=>ne,trigger:"axis",axisPointer:{show:!0,type:"shadow"}},custom:{prefix:"",suffix:"",toFixed:0},dataShow:{x:[],y:[],hide:[]},grid:{left:"3%",right:"3%",bottom:"3%",top:"10%",containLabel:!0},legend:{show:!0,textStyle:{fontSize:12},x:"center",y:"top",orient:"horizontal",icon:"roundRect",itemWidth:20,itemHeight:10},xAxis:{show:!0,axisLabel:{fontSize:12,interval:0,rotate:0},nameTextStyle:{fontSize:12},splitLine:{lineStyle:{width:1,type:"solid"}},position:"bottom",type:"category"},yAxis:{show:!0,axisLabel:{fontSize:12,interval:0,rotate:0},nameTextStyle:{fontSize:12},splitLine:{lineStyle:{width:1,type:"solid"}},position:"left",type:"value"},dataset:{},series:[]}}}function useRadar(){const te=vue.ref((window==null?void 0:window.customSeriesData)??{}),U=(ne,re)=>{ne.series=[],setTimeout(()=>{const oe=ne.dataShow.y.filter(le=>!ne.dataShow.hide.includes(le));ne.dataset.dimensions=oe,vue.unref(te).type||(te.value=JSON.parse(JSON.stringify(G))),window.customSeriesData=te.value,ne.radar.indicator=ne.dataset.source.map(le=>({name:le[ne.dataShow.x]}));const ie=[];ne.dataset.dimensions.forEach(le=>{ie.push({name:le,value:ne.dataset.source.map(ae=>ae[le])})}),ne.series=[{...te.value,data:ie}],vue.unref(te).label.formatter=le=>{const ae=ne.custom,se=le.value;if((ae==null?void 0:ae.toFixed)!=="")try{return Number(se).toFixed(ae.toFixed)}catch{return se}return se},re&&re()})},G={type:"radar",areaStyle:{opacity:.1},label:{show:!0,rotate:0,position:"top",color:"#000000",fontSize:10},data:[]};return{init:U,customSeriesData:te,seriesItem:G,radarConfig:{tooltip:{show:!0,confine:!0,valueFormatter:ne=>ne},custom:{prefix:"",suffix:"",toFixed:0},dataShow:{x:[],y:[],hide:[]},grid:{left:"3%",right:"3%",bottom:"3%",top:"10%",containLabel:!0},legend:{show:!0,textStyle:{fontSize:12},x:"center",y:"top",orient:"horizontal",icon:"roundRect",itemWidth:20,itemHeight:10},radar:{shape:"polygon",radius:["0%","60%"],center:["50%","55%"],splitArea:{show:!0},splitLine:{show:!0},axisName:{show:!0,color:"#000",fontSize:12},axisLine:{show:!0},axisTick:{show:!0},indicator:[]},dataset:{},series:[]}}}function useNumber(){const te=vue.ref((window==null?void 0:window.customSeriesData)??{}),U=(ne,re)=>{ne.series=[],setTimeout(()=>{typeof ne.dataShow.y=="string"&&ne.dataShow.y&&(ne.dataShow.y=[ne.dataShow.y]);const oe=ne.dataShow.y.filter(ie=>{var le;return!(((le=ne.dataShow)==null?void 0:le.hide)??[]).includes(ie)});ne.dataset.dimensions=oe,ne.dataShow.y.forEach(ie=>{te.value[ie]||(te.value[ie]=JSON.parse(JSON.stringify(G)))}),ne.customSeriesData=te.value,window.customSeriesData=te.value,re&&re()})},G={prefix:"",suffix:"",toFixed:0,color:null,fontSize:14,bgColor:null};return{init:U,seriesItem:G,customSeriesData:te,numberConfig:{dataShow:{x:"",y:[],hide:[]},dataset:{}}}}function useTable(){const te=vue.ref((window==null?void 0:window.customSeriesData)??{}),U=(ne,re)=>{ne.series=[],setTimeout(()=>{const oe=ne.dataShow.y.filter(ie=>!ne.dataShow.hide.includes(ie));ne.dataset.dimensions=oe,ne.dataShow.y.forEach(ie=>{te.value[ie]||(te.value[ie]=JSON.parse(JSON.stringify(G)))}),ne.customSeriesData=te.value,window.customSeriesData=te.value,re&&re()})},G={prefix:"",suffix:"",toFixed:0,color:null};return{init:U,customSeriesData:te,tableConfig:{dataShow:{x:"",y:[],hide:[]},dataset:{}}}}const city=[{code:"100000",name:"中华人民共和国",region_level:0,children:[{code:"11",name:"北京市",region_level:1,children:[{code:"1101",name:"北京市",region_level:2,children:[{code:"110101",name:"东城区",region_level:3,children:[]},{code:"110102",name:"西城区",region_level:3,children:[]},{code:"110105",name:"朝阳区",region_level:3,children:[]},{code:"110106",name:"丰台区",region_level:3,children:[]},{code:"110107",name:"石景山区",region_level:3,children:[]},{code:"110108",name:"海淀区",region_level:3,children:[]},{code:"110109",name:"门头沟区",region_level:3,children:[]},{code:"110111",name:"房山区",region_level:3,children:[]},{code:"110112",name:"通州区",region_level:3,children:[]},{code:"110113",name:"顺义区",region_level:3,children:[]},{code:"110114",name:"昌平区",region_level:3,children:[]},{code:"110115",name:"大兴区",region_level:3,children:[]},{code:"110116",name:"怀柔区",region_level:3,children:[]},{code:"110117",name:"平谷区",region_level:3,children:[]},{code:"110118",name:"密云区",region_level:3,children:[]},{code:"110119",name:"延庆区",region_level:3,children:[]}]}]},{code:"12",name:"天津市",region_level:1,children:[{code:"1201",name:"天津市",region_level:2,children:[{code:"120101",name:"和平区",region_level:3,children:[]},{code:"120102",name:"河东区",region_level:3,children:[]},{code:"120103",name:"河西区",region_level:3,children:[]},{code:"120104",name:"南开区",region_level:3,children:[]},{code:"120105",name:"河北区",region_level:3,children:[]},{code:"120106",name:"红桥区",region_level:3,children:[]},{code:"120110",name:"东丽区",region_level:3,children:[]},{code:"120111",name:"西青区",region_level:3,children:[]},{code:"120112",name:"津南区",region_level:3,children:[]},{code:"120113",name:"北辰区",region_level:3,children:[]},{code:"120114",name:"武清区",region_level:3,children:[]},{code:"120115",name:"宝坻区",region_level:3,children:[]},{code:"120116",name:"滨海新区",region_level:3,children:[]},{code:"120117",name:"宁河区",region_level:3,children:[]},{code:"120118",name:"静海区",region_level:3,children:[]},{code:"120119",name:"蓟州区",region_level:3,children:[]}]}]},{code:"13",name:"河北省",region_level:1,children:[{code:"1301",name:"石家庄市",region_level:2,children:[{code:"130102",name:"长安区",region_level:3,children:[]},{code:"130104",name:"桥西区",region_level:3,children:[]},{code:"130105",name:"新华区",region_level:3,children:[]},{code:"130107",name:"井陉矿区",region_level:3,children:[]},{code:"130108",name:"裕华区",region_level:3,children:[]},{code:"130109",name:"藁城区",region_level:3,children:[]},{code:"130110",name:"鹿泉区",region_level:3,children:[]},{code:"130111",name:"栾城区",region_level:3,children:[]},{code:"130121",name:"井陉县",region_level:3,children:[]},{code:"130123",name:"正定县",region_level:3,children:[]},{code:"130125",name:"行唐县",region_level:3,children:[]},{code:"130126",name:"灵寿县",region_level:3,children:[]},{code:"130127",name:"高邑县",region_level:3,children:[]},{code:"130128",name:"深泽县",region_level:3,children:[]},{code:"130129",name:"赞皇县",region_level:3,children:[]},{code:"130130",name:"无极县",region_level:3,children:[]},{code:"130131",name:"平山县",region_level:3,children:[]},{code:"130132",name:"元氏县",region_level:3,children:[]},{code:"130133",name:"赵县",region_level:3,children:[]},{code:"130181",name:"辛集市",region_level:3,children:[]},{code:"130183",name:"晋州市",region_level:3,children:[]},{code:"130184",name:"新乐市",region_level:3,children:[]}]},{code:"1302",name:"唐山市",region_level:2,children:[{code:"130202",name:"路南区",region_level:3,children:[]},{code:"130203",name:"路北区",region_level:3,children:[]},{code:"130204",name:"古冶区",region_level:3,children:[]},{code:"130205",name:"开平区",region_level:3,children:[]},{code:"130207",name:"丰南区",region_level:3,children:[]},{code:"130208",name:"丰润区",region_level:3,children:[]},{code:"130209",name:"曹妃甸区",region_level:3,children:[]},{code:"130224",name:"滦南县",region_level:3,children:[]},{code:"130225",name:"乐亭县",region_level:3,children:[]},{code:"130227",name:"迁西县",region_level:3,children:[]},{code:"130229",name:"玉田县",region_level:3,children:[]},{code:"130281",name:"遵化市",region_level:3,children:[]},{code:"130283",name:"迁安市",region_level:3,children:[]},{code:"130284",name:"滦州市",region_level:3,children:[]}]},{code:"1303",name:"秦皇岛市",region_level:2,children:[{code:"130302",name:"海港区",region_level:3,children:[]},{code:"130303",name:"山海关区",region_level:3,children:[]},{code:"130304",name:"北戴河区",region_level:3,children:[]},{code:"130306",name:"抚宁区",region_level:3,children:[]},{code:"130321",name:"青龙满族自治县",region_level:3,children:[]},{code:"130322",name:"昌黎县",region_level:3,children:[]},{code:"130324",name:"卢龙县",region_level:3,children:[]}]},{code:"1304",name:"邯郸市",region_level:2,children:[{code:"130402",name:"邯山区",region_level:3,children:[]},{code:"130403",name:"丛台区",region_level:3,children:[]},{code:"130404",name:"复兴区",region_level:3,children:[]},{code:"130406",name:"峰峰矿区",region_level:3,children:[]},{code:"130407",name:"肥乡区",region_level:3,children:[]},{code:"130408",name:"永年区",region_level:3,children:[]},{code:"130423",name:"临漳县",region_level:3,children:[]},{code:"130424",name:"成安县",region_level:3,children:[]},{code:"130425",name:"大名县",region_level:3,children:[]},{code:"130426",name:"涉县",region_level:3,children:[]},{code:"130427",name:"磁县",region_level:3,children:[]},{code:"130430",name:"邱县",region_level:3,children:[]},{code:"130431",name:"鸡泽县",region_level:3,children:[]},{code:"130432",name:"广平县",region_level:3,children:[]},{code:"130433",name:"馆陶县",region_level:3,children:[]},{code:"130434",name:"魏县",region_level:3,children:[]},{code:"130435",name:"曲周县",region_level:3,children:[]},{code:"130481",name:"武安市",region_level:3,children:[]}]},{code:"1305",name:"邢台市",region_level:2,children:[{code:"130502",name:"桥东区",region_level:3,children:[]},{code:"130503",name:"桥西区",region_level:3,children:[]},{code:"130521",name:"邢台县",region_level:3,children:[]},{code:"130522",name:"临城县",region_level:3,children:[]},{code:"130523",name:"内丘县",region_level:3,children:[]},{code:"130524",name:"柏乡县",region_level:3,children:[]},{code:"130525",name:"隆尧县",region_level:3,children:[]},{code:"130526",name:"任县",region_level:3,children:[]},{code:"130527",name:"南和县",region_level:3,children:[]},{code:"130528",name:"宁晋县",region_level:3,children:[]},{code:"130529",name:"巨鹿县",region_level:3,children:[]},{code:"130530",name:"新河县",region_level:3,children:[]},{code:"130531",name:"广宗县",region_level:3,children:[]},{code:"130532",name:"平乡县",region_level:3,children:[]},{code:"130533",name:"威县",region_level:3,children:[]},{code:"130534",name:"清河县",region_level:3,children:[]},{code:"130535",name:"临西县",region_level:3,children:[]},{code:"130581",name:"南宫市",region_level:3,children:[]},{code:"130582",name:"沙河市",region_level:3,children:[]}]},{code:"1306",name:"保定市",region_level:2,children:[{code:"130602",name:"竞秀区",region_level:3,children:[]},{code:"130606",name:"莲池区",region_level:3,children:[]},{code:"130607",name:"满城区",region_level:3,children:[]},{code:"130608",name:"清苑区",region_level:3,children:[]},{code:"130609",name:"徐水区",region_level:3,children:[]},{code:"130623",name:"涞水县",region_level:3,children:[]},{code:"130624",name:"阜平县",region_level:3,children:[]},{code:"130626",name:"定兴县",region_level:3,children:[]},{code:"130627",name:"唐县",region_level:3,children:[]},{code:"130628",name:"高阳县",region_level:3,children:[]},{code:"130629",name:"容城县",region_level:3,children:[]},{code:"130630",name:"涞源县",region_level:3,children:[]},{code:"130631",name:"望都县",region_level:3,children:[]},{code:"130632",name:"安新县",region_level:3,children:[]},{code:"130633",name:"易县",region_level:3,children:[]},{code:"130634",name:"曲阳县",region_level:3,children:[]},{code:"130635",name:"蠡县",region_level:3,children:[]},{code:"130636",name:"顺平县",region_level:3,children:[]},{code:"130637",name:"博野县",region_level:3,children:[]},{code:"130638",name:"雄县",region_level:3,children:[]},{code:"130681",name:"涿州市",region_level:3,children:[]},{code:"130682",name:"定州市",region_level:3,children:[]},{code:"130683",name:"安国市",region_level:3,children:[]},{code:"130684",name:"高碑店市",region_level:3,children:[]}]},{code:"1307",name:"张家口市",region_level:2,children:[{code:"130702",name:"桥东区",region_level:3,children:[]},{code:"130703",name:"桥西区",region_level:3,children:[]},{code:"130705",name:"宣化区",region_level:3,children:[]},{code:"130706",name:"下花园区",region_level:3,children:[]},{code:"130708",name:"万全区",region_level:3,children:[]},{code:"130709",name:"崇礼区",region_level:3,children:[]},{code:"130722",name:"张北县",region_level:3,children:[]},{code:"130723",name:"康保县",region_level:3,children:[]},{code:"130724",name:"沽源县",region_level:3,children:[]},{code:"130725",name:"尚义县",region_level:3,children:[]},{code:"130726",name:"蔚县",region_level:3,children:[]},{code:"130727",name:"阳原县",region_level:3,children:[]},{code:"130728",name:"怀安县",region_level:3,children:[]},{code:"130730",name:"怀来县",region_level:3,children:[]},{code:"130731",name:"涿鹿县",region_level:3,children:[]},{code:"130732",name:"赤城县",region_level:3,children:[]}]},{code:"1308",name:"承德市",region_level:2,children:[{code:"130802",name:"双桥区",region_level:3,children:[]},{code:"130803",name:"双滦区",region_level:3,children:[]},{code:"130804",name:"鹰手营子矿区",region_level:3,children:[]},{code:"130821",name:"承德县",region_level:3,children:[]},{code:"130822",name:"兴隆县",region_level:3,children:[]},{code:"130824",name:"滦平县",region_level:3,children:[]},{code:"130825",name:"隆化县",region_level:3,children:[]},{code:"130826",name:"丰宁满族自治县",region_level:3,children:[]},{code:"130827",name:"宽城满族自治县",region_level:3,children:[]},{code:"130828",name:"围场满族蒙古族自治县",region_level:3,children:[]},{code:"130881",name:"平泉市",region_level:3,children:[]}]},{code:"1309",name:"沧州市",region_level:2,children:[{code:"130902",name:"新华区",region_level:3,children:[]},{code:"130903",name:"运河区",region_level:3,children:[]},{code:"130921",name:"沧县",region_level:3,children:[]},{code:"130922",name:"青县",region_level:3,children:[]},{code:"130923",name:"东光县",region_level:3,children:[]},{code:"130924",name:"海兴县",region_level:3,children:[]},{code:"130925",name:"盐山县",region_level:3,children:[]},{code:"130926",name:"肃宁县",region_level:3,children:[]},{code:"130927",name:"南皮县",region_level:3,children:[]},{code:"130928",name:"吴桥县",region_level:3,children:[]},{code:"130929",name:"献县",region_level:3,children:[]},{code:"130930",name:"孟村回族自治县",region_level:3,children:[]},{code:"130981",name:"泊头市",region_level:3,children:[]},{code:"130982",name:"任丘市",region_level:3,children:[]},{code:"130983",name:"黄骅市",region_level:3,children:[]},{code:"130984",name:"河间市",region_level:3,children:[]}]},{code:"1310",name:"廊坊市",region_level:2,children:[{code:"131002",name:"安次区",region_level:3,children:[]},{code:"131003",name:"广阳区",region_level:3,children:[]},{code:"131022",name:"固安县",region_level:3,children:[]},{code:"131023",name:"永清县",region_level:3,children:[]},{code:"131024",name:"香河县",region_level:3,children:[]},{code:"131025",name:"大城县",region_level:3,children:[]},{code:"131026",name:"文安县",region_level:3,children:[]},{code:"131028",name:"大厂回族自治县",region_level:3,children:[]},{code:"131081",name:"霸州市",region_level:3,children:[]},{code:"131082",name:"三河市",region_level:3,children:[]}]},{code:"1311",name:"衡水市",region_level:2,children:[{code:"131102",name:"桃城区",region_level:3,children:[]},{code:"131103",name:"冀州区",region_level:3,children:[]},{code:"131121",name:"枣强县",region_level:3,children:[]},{code:"131122",name:"武邑县",region_level:3,children:[]},{code:"131123",name:"武强县",region_level:3,children:[]},{code:"131124",name:"饶阳县",region_level:3,children:[]},{code:"131125",name:"安平县",region_level:3,children:[]},{code:"131126",name:"故城县",region_level:3,children:[]},{code:"131127",name:"景县",region_level:3,children:[]},{code:"131128",name:"阜城县",region_level:3,children:[]},{code:"131182",name:"深州市",region_level:3,children:[]}]}]},{code:"14",name:"山西省",region_level:1,children:[{code:"1401",name:"太原市",region_level:2,children:[{code:"140105",name:"小店区",region_level:3,children:[]},{code:"140106",name:"迎泽区",region_level:3,children:[]},{code:"140107",name:"杏花岭区",region_level:3,children:[]},{code:"140108",name:"尖草坪区",region_level:3,children:[]},{code:"140109",name:"万柏林区",region_level:3,children:[]},{code:"140110",name:"晋源区",region_level:3,children:[]},{code:"140121",name:"清徐县",region_level:3,children:[]},{code:"140122",name:"阳曲县",region_level:3,children:[]},{code:"140123",name:"娄烦县",region_level:3,children:[]},{code:"140181",name:"古交市",region_level:3,children:[]}]},{code:"1402",name:"大同市",region_level:2,children:[{code:"140212",name:"新荣区",region_level:3,children:[]},{code:"140213",name:"平城区",region_level:3,children:[]},{code:"140214",name:"云冈区",region_level:3,children:[]},{code:"140215",name:"云州区",region_level:3,children:[]},{code:"140221",name:"阳高县",region_level:3,children:[]},{code:"140222",name:"天镇县",region_level:3,children:[]},{code:"140223",name:"广灵县",region_level:3,children:[]},{code:"140224",name:"灵丘县",region_level:3,children:[]},{code:"140225",name:"浑源县",region_level:3,children:[]},{code:"140226",name:"左云县",region_level:3,children:[]}]},{code:"1403",name:"阳泉市",region_level:2,children:[{code:"140302",name:"城区",region_level:3,children:[]},{code:"140303",name:"矿区",region_level:3,children:[]},{code:"140311",name:"郊区",region_level:3,children:[]},{code:"140321",name:"平定县",region_level:3,children:[]},{code:"140322",name:"盂县",region_level:3,children:[]}]},{code:"1404",name:"长治市",region_level:2,children:[{code:"140403",name:"潞州区",region_level:3,children:[]},{code:"140404",name:"上党区",region_level:3,children:[]},{code:"140405",name:"屯留区",region_level:3,children:[]},{code:"140406",name:"潞城区",region_level:3,children:[]},{code:"140423",name:"襄垣县",region_level:3,children:[]},{code:"140425",name:"平顺县",region_level:3,children:[]},{code:"140426",name:"黎城县",region_level:3,children:[]},{code:"140427",name:"壶关县",region_level:3,children:[]},{code:"140428",name:"长子县",region_level:3,children:[]},{code:"140429",name:"武乡县",region_level:3,children:[]},{code:"140430",name:"沁县",region_level:3,children:[]},{code:"140431",name:"沁源县",region_level:3,children:[]}]},{code:"1405",name:"晋城市",region_level:2,children:[{code:"140502",name:"城区",region_level:3,children:[]},{code:"140521",name:"沁水县",region_level:3,children:[]},{code:"140522",name:"阳城县",region_level:3,children:[]},{code:"140524",name:"陵川县",region_level:3,children:[]},{code:"140525",name:"泽州县",region_level:3,children:[]},{code:"140581",name:"高平市",region_level:3,children:[]}]},{code:"1406",name:"朔州市",region_level:2,children:[{code:"140602",name:"朔城区",region_level:3,children:[]},{code:"140603",name:"平鲁区",region_level:3,children:[]},{code:"140621",name:"山阴县",region_level:3,children:[]},{code:"140622",name:"应县",region_level:3,children:[]},{code:"140623",name:"右玉县",region_level:3,children:[]},{code:"140681",name:"怀仁市",region_level:3,children:[]}]},{code:"1407",name:"晋中市",region_level:2,children:[{code:"140702",name:"榆次区",region_level:3,children:[]},{code:"140703",name:"太谷区",region_level:3,children:[]},{code:"140721",name:"榆社县",region_level:3,children:[]},{code:"140722",name:"左权县",region_level:3,children:[]},{code:"140723",name:"和顺县",region_level:3,children:[]},{code:"140724",name:"昔阳县",region_level:3,children:[]},{code:"140725",name:"寿阳县",region_level:3,children:[]},{code:"140727",name:"祁县",region_level:3,children:[]},{code:"140728",name:"平遥县",region_level:3,children:[]},{code:"140729",name:"灵石县",region_level:3,children:[]},{code:"140781",name:"介休市",region_level:3,children:[]}]},{code:"1408",name:"运城市",region_level:2,children:[{code:"140802",name:"盐湖区",region_level:3,children:[]},{code:"140821",name:"临猗县",region_level:3,children:[]},{code:"140822",name:"万荣县",region_level:3,children:[]},{code:"140823",name:"闻喜县",region_level:3,children:[]},{code:"140824",name:"稷山县",region_level:3,children:[]},{code:"140825",name:"新绛县",region_level:3,children:[]},{code:"140826",name:"绛县",region_level:3,children:[]},{code:"140827",name:"垣曲县",region_level:3,children:[]},{code:"140828",name:"夏县",region_level:3,children:[]},{code:"140829",name:"平陆县",region_level:3,children:[]},{code:"140830",name:"芮城县",region_level:3,children:[]},{code:"140881",name:"永济市",region_level:3,children:[]},{code:"140882",name:"河津市",region_level:3,children:[]}]},{code:"1409",name:"忻州市",region_level:2,children:[{code:"140902",name:"忻府区",region_level:3,children:[]},{code:"140921",name:"定襄县",region_level:3,children:[]},{code:"140922",name:"五台县",region_level:3,children:[]},{code:"140923",name:"代县",region_level:3,children:[]},{code:"140924",name:"繁峙县",region_level:3,children:[]},{code:"140925",name:"宁武县",region_level:3,children:[]},{code:"140926",name:"静乐县",region_level:3,children:[]},{code:"140927",name:"神池县",region_level:3,children:[]},{code:"140928",name:"五寨县",region_level:3,children:[]},{code:"140929",name:"岢岚县",region_level:3,children:[]},{code:"140930",name:"河曲县",region_level:3,children:[]},{code:"140931",name:"保德县",region_level:3,children:[]},{code:"140932",name:"偏关县",region_level:3,children:[]},{code:"140981",name:"原平市",region_level:3,children:[]}]},{code:"1410",name:"临汾市",region_level:2,children:[{code:"141002",name:"尧都区",region_level:3,children:[]},{code:"141021",name:"曲沃县",region_level:3,children:[]},{code:"141022",name:"翼城县",region_level:3,children:[]},{code:"141023",name:"襄汾县",region_level:3,children:[]},{code:"141024",name:"洪洞县",region_level:3,children:[]},{code:"141025",name:"古县",region_level:3,children:[]},{code:"141026",name:"安泽县",region_level:3,children:[]},{code:"141027",name:"浮山县",region_level:3,children:[]},{code:"141028",name:"吉县",region_level:3,children:[]},{code:"141029",name:"乡宁县",region_level:3,children:[]},{code:"141030",name:"大宁县",region_level:3,children:[]},{code:"141031",name:"隰县",region_level:3,children:[]},{code:"141032",name:"永和县",region_level:3,children:[]},{code:"141033",name:"蒲县",region_level:3,children:[]},{code:"141034",name:"汾西县",region_level:3,children:[]},{code:"141081",name:"侯马市",region_level:3,children:[]},{code:"141082",name:"霍州市",region_level:3,children:[]}]},{code:"1411",name:"吕梁市",region_level:2,children:[{code:"141102",name:"离石区",region_level:3,children:[]},{code:"141121",name:"文水县",region_level:3,children:[]},{code:"141122",name:"交城县",region_level:3,children:[]},{code:"141123",name:"兴县",region_level:3,children:[]},{code:"141124",name:"临县",region_level:3,children:[]},{code:"141125",name:"柳林县",region_level:3,children:[]},{code:"141126",name:"石楼县",region_level:3,children:[]},{code:"141127",name:"岚县",region_level:3,children:[]},{code:"141128",name:"方山县",region_level:3,children:[]},{code:"141129",name:"中阳县",region_level:3,children:[]},{code:"141130",name:"交口县",region_level:3,children:[]},{code:"141181",name:"孝义市",region_level:3,children:[]},{code:"141182",name:"汾阳市",region_level:3,children:[]}]}]},{code:"15",name:"内蒙古自治区",region_level:1,children:[{code:"1501",name:"呼和浩特市",region_level:2,children:[{code:"150102",name:"新城区",region_level:3,children:[]},{code:"150103",name:"回民区",region_level:3,children:[]},{code:"150104",name:"玉泉区",region_level:3,children:[]},{code:"150105",name:"赛罕区",region_level:3,children:[]},{code:"150121",name:"土默特左旗",region_level:3,children:[]},{code:"150122",name:"托克托县",region_level:3,children:[]},{code:"150123",name:"和林格尔县",region_level:3,children:[]},{code:"150124",name:"清水河县",region_level:3,children:[]},{code:"150125",name:"武川县",region_level:3,children:[]}]},{code:"1502",name:"包头市",region_level:2,children:[{code:"150202",name:"东河区",region_level:3,children:[]},{code:"150203",name:"昆都仑区",region_level:3,children:[]},{code:"150204",name:"青山区",region_level:3,children:[]},{code:"150205",name:"石拐区",region_level:3,children:[]},{code:"150206",name:"白云鄂博矿区",region_level:3,children:[]},{code:"150207",name:"九原区",region_level:3,children:[]},{code:"150221",name:"土默特右旗",region_level:3,children:[]},{code:"150222",name:"固阳县",region_level:3,children:[]},{code:"150223",name:"达尔罕茂明安联合旗",region_level:3,children:[]}]},{code:"1503",name:"乌海市",region_level:2,children:[{code:"150302",name:"海勃湾区",region_level:3,children:[]},{code:"150303",name:"海南区",region_level:3,children:[]},{code:"150304",name:"乌达区",region_level:3,children:[]}]},{code:"1504",name:"赤峰市",region_level:2,children:[{code:"150402",name:"红山区",region_level:3,children:[]},{code:"150403",name:"元宝山区",region_level:3,children:[]},{code:"150404",name:"松山区",region_level:3,children:[]},{code:"150421",name:"阿鲁科尔沁旗",region_level:3,children:[]},{code:"150422",name:"巴林左旗",region_level:3,children:[]},{code:"150423",name:"巴林右旗",region_level:3,children:[]},{code:"150424",name:"林西县",region_level:3,children:[]},{code:"150425",name:"克什克腾旗",region_level:3,children:[]},{code:"150426",name:"翁牛特旗",region_level:3,children:[]},{code:"150428",name:"喀喇沁旗",region_level:3,children:[]},{code:"150429",name:"宁城县",region_level:3,children:[]},{code:"150430",name:"敖汉旗",region_level:3,children:[]}]},{code:"1505",name:"通辽市",region_level:2,children:[{code:"150502",name:"科尔沁区",region_level:3,children:[]},{code:"150521",name:"科尔沁左翼中旗",region_level:3,children:[]},{code:"150522",name:"科尔沁左翼后旗",region_level:3,children:[]},{code:"150523",name:"开鲁县",region_level:3,children:[]},{code:"150524",name:"库伦旗",region_level:3,children:[]},{code:"150525",name:"奈曼旗",region_level:3,children:[]},{code:"150526",name:"扎鲁特旗",region_level:3,children:[]},{code:"150581",name:"霍林郭勒市",region_level:3,children:[]}]},{code:"1506",name:"鄂尔多斯市",region_level:2,children:[{code:"150602",name:"东胜区",region_level:3,children:[]},{code:"150603",name:"康巴什区",region_level:3,children:[]},{code:"150621",name:"达拉特旗",region_level:3,children:[]},{code:"150622",name:"准格尔旗",region_level:3,children:[]},{code:"150623",name:"鄂托克前旗",region_level:3,children:[]},{code:"150624",name:"鄂托克旗",region_level:3,children:[]},{code:"150625",name:"杭锦旗",region_level:3,children:[]},{code:"150626",name:"乌审旗",region_level:3,children:[]},{code:"150627",name:"伊金霍洛旗",region_level:3,children:[]}]},{code:"1507",name:"呼伦贝尔市",region_level:2,children:[{code:"150702",name:"海拉尔区",region_level:3,children:[]},{code:"150703",name:"扎赉诺尔区",region_level:3,children:[]},{code:"150721",name:"阿荣旗",region_level:3,children:[]},{code:"150722",name:"莫力达瓦达斡尔族自治旗",region_level:3,children:[]},{code:"150723",name:"鄂伦春自治旗",region_level:3,children:[]},{code:"150724",name:"鄂温克族自治旗",region_level:3,children:[]},{code:"150725",name:"陈巴尔虎旗",region_level:3,children:[]},{code:"150726",name:"新巴尔虎左旗",region_level:3,children:[]},{code:"150727",name:"新巴尔虎右旗",region_level:3,children:[]},{code:"150781",name:"满洲里市",region_level:3,children:[]},{code:"150782",name:"牙克石市",region_level:3,children:[]},{code:"150783",name:"扎兰屯市",region_level:3,children:[]},{code:"150784",name:"额尔古纳市",region_level:3,children:[]},{code:"150785",name:"根河市",region_level:3,children:[]}]},{code:"1508",name:"巴彦淖尔市",region_level:2,children:[{code:"150802",name:"临河区",region_level:3,children:[]},{code:"150821",name:"五原县",region_level:3,children:[]},{code:"150822",name:"磴口县",region_level:3,children:[]},{code:"150823",name:"乌拉特前旗",region_level:3,children:[]},{code:"150824",name:"乌拉特中旗",region_level:3,children:[]},{code:"150825",name:"乌拉特后旗",region_level:3,children:[]},{code:"150826",name:"杭锦后旗",region_level:3,children:[]}]},{code:"1509",name:"乌兰察布市",region_level:2,children:[{code:"150902",name:"集宁区",region_level:3,children:[]},{code:"150921",name:"卓资县",region_level:3,children:[]},{code:"150922",name:"化德县",region_level:3,children:[]},{code:"150923",name:"商都县",region_level:3,children:[]},{code:"150924",name:"兴和县",region_level:3,children:[]},{code:"150925",name:"凉城县",region_level:3,children:[]},{code:"150926",name:"察哈尔右翼前旗",region_level:3,children:[]},{code:"150927",name:"察哈尔右翼中旗",region_level:3,children:[]},{code:"150928",name:"察哈尔右翼后旗",region_level:3,children:[]},{code:"150929",name:"四子王旗",region_level:3,children:[]},{code:"150981",name:"丰镇市",region_level:3,children:[]}]},{code:"1522",name:"兴安盟",region_level:2,children:[{code:"152201",name:"乌兰浩特市",region_level:3,children:[]},{code:"152202",name:"阿尔山市",region_level:3,children:[]},{code:"152221",name:"科尔沁右翼前旗",region_level:3,children:[]},{code:"152222",name:"科尔沁右翼中旗",region_level:3,children:[]},{code:"152223",name:"扎赉特旗",region_level:3,children:[]},{code:"152224",name:"突泉县",region_level:3,children:[]}]},{code:"1525",name:"锡林郭勒盟",region_level:2,children:[{code:"152501",name:"二连浩特市",region_level:3,children:[]},{code:"152502",name:"锡林浩特市",region_level:3,children:[]},{code:"152522",name:"阿巴嘎旗",region_level:3,children:[]},{code:"152523",name:"苏尼特左旗",region_level:3,children:[]},{code:"152524",name:"苏尼特右旗",region_level:3,children:[]},{code:"152525",name:"东乌珠穆沁旗",region_level:3,children:[]},{code:"152526",name:"西乌珠穆沁旗",region_level:3,children:[]},{code:"152527",name:"太仆寺旗",region_level:3,children:[]},{code:"152528",name:"镶黄旗",region_level:3,children:[]},{code:"152529",name:"正镶白旗",region_level:3,children:[]},{code:"152530",name:"正蓝旗",region_level:3,children:[]},{code:"152531",name:"多伦县",region_level:3,children:[]}]},{code:"1529",name:"阿拉善盟",region_level:2,children:[{code:"152921",name:"阿拉善左旗",region_level:3,children:[]},{code:"152922",name:"阿拉善右旗",region_level:3,children:[]},{code:"152923",name:"额济纳旗",region_level:3,children:[]}]}]},{code:"21",name:"辽宁省",region_level:1,children:[{code:"2101",name:"沈阳市",region_level:2,children:[{code:"210102",name:"和平区",region_level:3,children:[]},{code:"210103",name:"沈河区",region_level:3,children:[]},{code:"210104",name:"大东区",region_level:3,children:[]},{code:"210105",name:"皇姑区",region_level:3,children:[]},{code:"210106",name:"铁西区",region_level:3,children:[]},{code:"210111",name:"苏家屯区",region_level:3,children:[]},{code:"210112",name:"浑南区",region_level:3,children:[]},{code:"210113",name:"沈北新区",region_level:3,children:[]},{code:"210114",name:"于洪区",region_level:3,children:[]},{code:"210115",name:"辽中区",region_level:3,children:[]},{code:"210123",name:"康平县",region_level:3,children:[]},{code:"210124",name:"法库县",region_level:3,children:[]},{code:"210181",name:"新民市",region_level:3,children:[]}]},{code:"2102",name:"大连市",region_level:2,children:[{code:"210202",name:"中山区",region_level:3,children:[]},{code:"210203",name:"西岗区",region_level:3,children:[]},{code:"210204",name:"沙河口区",region_level:3,children:[]},{code:"210211",name:"甘井子区",region_level:3,children:[]},{code:"210212",name:"旅顺口区",region_level:3,children:[]},{code:"210213",name:"金州区",region_level:3,children:[]},{code:"210214",name:"普兰店区",region_level:3,children:[]},{code:"210224",name:"长海县",region_level:3,children:[]},{code:"210281",name:"瓦房店市",region_level:3,children:[]},{code:"210283",name:"庄河市",region_level:3,children:[]}]},{code:"2103",name:"鞍山市",region_level:2,children:[{code:"210302",name:"铁东区",region_level:3,children:[]},{code:"210303",name:"铁西区",region_level:3,children:[]},{code:"210304",name:"立山区",region_level:3,children:[]},{code:"210311",name:"千山区",region_level:3,children:[]},{code:"210321",name:"台安县",region_level:3,children:[]},{code:"210323",name:"岫岩满族自治县",region_level:3,children:[]},{code:"210381",name:"海城市",region_level:3,children:[]}]},{code:"2104",name:"抚顺市",region_level:2,children:[{code:"210402",name:"新抚区",region_level:3,children:[]},{code:"210403",name:"东洲区",region_level:3,children:[]},{code:"210404",name:"望花区",region_level:3,children:[]},{code:"210411",name:"顺城区",region_level:3,children:[]},{code:"210421",name:"抚顺县",region_level:3,children:[]},{code:"210422",name:"新宾满族自治县",region_level:3,children:[]},{code:"210423",name:"清原满族自治县",region_level:3,children:[]}]},{code:"2105",name:"本溪市",region_level:2,children:[{code:"210502",name:"平山区",region_level:3,children:[]},{code:"210503",name:"溪湖区",region_level:3,children:[]},{code:"210504",name:"明山区",region_level:3,children:[]},{code:"210505",name:"南芬区",region_level:3,children:[]},{code:"210521",name:"本溪满族自治县",region_level:3,children:[]},{code:"210522",name:"桓仁满族自治县",region_level:3,children:[]}]},{code:"2106",name:"丹东市",region_level:2,children:[{code:"210602",name:"元宝区",region_level:3,children:[]},{code:"210603",name:"振兴区",region_level:3,children:[]},{code:"210604",name:"振安区",region_level:3,children:[]},{code:"210624",name:"宽甸满族自治县",region_level:3,children:[]},{code:"210681",name:"东港市",region_level:3,children:[]},{code:"210682",name:"凤城市",region_level:3,children:[]}]},{code:"2107",name:"锦州市",region_level:2,children:[{code:"210702",name:"古塔区",region_level:3,children:[]},{code:"210703",name:"凌河区",region_level:3,children:[]},{code:"210711",name:"太和区",region_level:3,children:[]},{code:"210726",name:"黑山县",region_level:3,children:[]},{code:"210727",name:"义县",region_level:3,children:[]},{code:"210781",name:"凌海市",region_level:3,children:[]},{code:"210782",name:"北镇市",region_level:3,children:[]}]},{code:"2108",name:"营口市",region_level:2,children:[{code:"210802",name:"站前区",region_level:3,children:[]},{code:"210803",name:"西市区",region_level:3,children:[]},{code:"210804",name:"鲅鱼圈区",region_level:3,children:[]},{code:"210811",name:"老边区",region_level:3,children:[]},{code:"210881",name:"盖州市",region_level:3,children:[]},{code:"210882",name:"大石桥市",region_level:3,children:[]}]},{code:"2109",name:"阜新市",region_level:2,children:[{code:"210902",name:"海州区",region_level:3,children:[]},{code:"210903",name:"新邱区",region_level:3,children:[]},{code:"210904",name:"太平区",region_level:3,children:[]},{code:"210905",name:"清河门区",region_level:3,children:[]},{code:"210911",name:"细河区",region_level:3,children:[]},{code:"210921",name:"阜新蒙古族自治县",region_level:3,children:[]},{code:"210922",name:"彰武县",region_level:3,children:[]}]},{code:"2110",name:"辽阳市",region_level:2,children:[{code:"211002",name:"白塔区",region_level:3,children:[]},{code:"211003",name:"文圣区",region_level:3,children:[]},{code:"211004",name:"宏伟区",region_level:3,children:[]},{code:"211005",name:"弓长岭区",region_level:3,children:[]},{code:"211011",name:"太子河区",region_level:3,children:[]},{code:"211021",name:"辽阳县",region_level:3,children:[]},{code:"211081",name:"灯塔市",region_level:3,children:[]}]},{code:"2111",name:"盘锦市",region_level:2,children:[{code:"211102",name:"双台子区",region_level:3,children:[]},{code:"211103",name:"兴隆台区",region_level:3,children:[]},{code:"211104",name:"大洼区",region_level:3,children:[]},{code:"211122",name:"盘山县",region_level:3,children:[]}]},{code:"2112",name:"铁岭市",region_level:2,children:[{code:"211202",name:"银州区",region_level:3,children:[]},{code:"211204",name:"清河区",region_level:3,children:[]},{code:"211221",name:"铁岭县",region_level:3,children:[]},{code:"211223",name:"西丰县",region_level:3,children:[]},{code:"211224",name:"昌图县",region_level:3,children:[]},{code:"211281",name:"调兵山市",region_level:3,children:[]},{code:"211282",name:"开原市",region_level:3,children:[]}]},{code:"2113",name:"朝阳市",region_level:2,children:[{code:"211302",name:"双塔区",region_level:3,children:[]},{code:"211303",name:"龙城区",region_level:3,children:[]},{code:"211321",name:"朝阳县",region_level:3,children:[]},{code:"211322",name:"建平县",region_level:3,children:[]},{code:"211324",name:"喀喇沁左翼蒙古族自治县",region_level:3,children:[]},{code:"211381",name:"北票市",region_level:3,children:[]},{code:"211382",name:"凌源市",region_level:3,children:[]}]},{code:"2114",name:"葫芦岛市",region_level:2,children:[{code:"211402",name:"连山区",region_level:3,children:[]},{code:"211403",name:"龙港区",region_level:3,children:[]},{code:"211404",name:"南票区",region_level:3,children:[]},{code:"211421",name:"绥中县",region_level:3,children:[]},{code:"211422",name:"建昌县",region_level:3,children:[]},{code:"211481",name:"兴城市",region_level:3,children:[]}]}]},{code:"22",name:"吉林省",region_level:1,children:[{code:"2201",name:"长春市",region_level:2,children:[{code:"220102",name:"南关区",region_level:3,children:[]},{code:"220103",name:"宽城区",region_level:3,children:[]},{code:"220104",name:"朝阳区",region_level:3,children:[]},{code:"220105",name:"二道区",region_level:3,children:[]},{code:"220106",name:"绿园区",region_level:3,children:[]},{code:"220112",name:"双阳区",region_level:3,children:[]},{code:"220113",name:"九台区",region_level:3,children:[]},{code:"220122",name:"农安县",region_level:3,children:[]},{code:"220182",name:"榆树市",region_level:3,children:[]},{code:"220183",name:"德惠市",region_level:3,children:[]}]},{code:"2202",name:"吉林市",region_level:2,children:[{code:"220202",name:"昌邑区",region_level:3,children:[]},{code:"220203",name:"龙潭区",region_level:3,children:[]},{code:"220204",name:"船营区",region_level:3,children:[]},{code:"220211",name:"丰满区",region_level:3,children:[]},{code:"220221",name:"永吉县",region_level:3,children:[]},{code:"220281",name:"蛟河市",region_level:3,children:[]},{code:"220282",name:"桦甸市",region_level:3,children:[]},{code:"220283",name:"舒兰市",region_level:3,children:[]},{code:"220284",name:"磐石市",region_level:3,children:[]}]},{code:"2203",name:"四平市",region_level:2,children:[{code:"220302",name:"铁西区",region_level:3,children:[]},{code:"220303",name:"铁东区",region_level:3,children:[]},{code:"220322",name:"梨树县",region_level:3,children:[]},{code:"220323",name:"伊通满族自治县",region_level:3,children:[]},{code:"220381",name:"公主岭市",region_level:3,children:[]},{code:"220382",name:"双辽市",region_level:3,children:[]}]},{code:"2204",name:"辽源市",region_level:2,children:[{code:"220402",name:"龙山区",region_level:3,children:[]},{code:"220403",name:"西安区",region_level:3,children:[]},{code:"220421",name:"东丰县",region_level:3,children:[]},{code:"220422",name:"东辽县",region_level:3,children:[]}]},{code:"2205",name:"通化市",region_level:2,children:[{code:"220502",name:"东昌区",region_level:3,children:[]},{code:"220503",name:"二道江区",region_level:3,children:[]},{code:"220521",name:"通化县",region_level:3,children:[]},{code:"220523",name:"辉南县",region_level:3,children:[]},{code:"220524",name:"柳河县",region_level:3,children:[]},{code:"220581",name:"梅河口市",region_level:3,children:[]},{code:"220582",name:"集安市",region_level:3,children:[]}]},{code:"2206",name:"白山市",region_level:2,children:[{code:"220602",name:"浑江区",region_level:3,children:[]},{code:"220605",name:"江源区",region_level:3,children:[]},{code:"220621",name:"抚松县",region_level:3,children:[]},{code:"220622",name:"靖宇县",region_level:3,children:[]},{code:"220623",name:"长白朝鲜族自治县",region_level:3,children:[]},{code:"220681",name:"临江市",region_level:3,children:[]}]},{code:"2207",name:"松原市",region_level:2,children:[{code:"220702",name:"宁江区",region_level:3,children:[]},{code:"220721",name:"前郭尔罗斯蒙古族自治县",region_level:3,children:[]},{code:"220722",name:"长岭县",region_level:3,children:[]},{code:"220723",name:"乾安县",region_level:3,children:[]},{code:"220781",name:"扶余市",region_level:3,children:[]}]},{code:"2208",name:"白城市",region_level:2,children:[{code:"220802",name:"洮北区",region_level:3,children:[]},{code:"220821",name:"镇赉县",region_level:3,children:[]},{code:"220822",name:"通榆县",region_level:3,children:[]},{code:"220881",name:"洮南市",region_level:3,children:[]},{code:"220882",name:"大安市",region_level:3,children:[]}]},{code:"2224",name:"延边朝鲜族自治州",region_level:2,children:[{code:"222401",name:"延吉市",region_level:3,children:[]},{code:"222402",name:"图们市",region_level:3,children:[]},{code:"222403",name:"敦化市",region_level:3,children:[]},{code:"222404",name:"珲春市",region_level:3,children:[]},{code:"222405",name:"龙井市",region_level:3,children:[]},{code:"222406",name:"和龙市",region_level:3,children:[]},{code:"222424",name:"汪清县",region_level:3,children:[]},{code:"222426",name:"安图县",region_level:3,children:[]}]}]},{code:"23",name:"黑龙江省",region_level:1,children:[{code:"2301",name:"哈尔滨市",region_level:2,children:[{code:"230102",name:"道里区",region_level:3,children:[]},{code:"230103",name:"南岗区",region_level:3,children:[]},{code:"230104",name:"道外区",region_level:3,children:[]},{code:"230108",name:"平房区",region_level:3,children:[]},{code:"230109",name:"松北区",region_level:3,children:[]},{code:"230110",name:"香坊区",region_level:3,children:[]},{code:"230111",name:"呼兰区",region_level:3,children:[]},{code:"230112",name:"阿城区",region_level:3,children:[]},{code:"230113",name:"双城区",region_level:3,children:[]},{code:"230123",name:"依兰县",region_level:3,children:[]},{code:"230124",name:"方正县",region_level:3,children:[]},{code:"230125",name:"宾县",region_level:3,children:[]},{code:"230126",name:"巴彦县",region_level:3,children:[]},{code:"230127",name:"木兰县",region_level:3,children:[]},{code:"230128",name:"通河县",region_level:3,children:[]},{code:"230129",name:"延寿县",region_level:3,children:[]},{code:"230183",name:"尚志市",region_level:3,children:[]},{code:"230184",name:"五常市",region_level:3,children:[]}]},{code:"2302",name:"齐齐哈尔市",region_level:2,children:[{code:"230202",name:"龙沙区",region_level:3,children:[]},{code:"230203",name:"建华区",region_level:3,children:[]},{code:"230204",name:"铁锋区",region_level:3,children:[]},{code:"230205",name:"昂昂溪区",region_level:3,children:[]},{code:"230206",name:"富拉尔基区",region_level:3,children:[]},{code:"230207",name:"碾子山区",region_level:3,children:[]},{code:"230208",name:"梅里斯达斡尔族区",region_level:3,children:[]},{code:"230221",name:"龙江县",region_level:3,children:[]},{code:"230223",name:"依安县",region_level:3,children:[]},{code:"230224",name:"泰来县",region_level:3,children:[]},{code:"230225",name:"甘南县",region_level:3,children:[]},{code:"230227",name:"富裕县",region_level:3,children:[]},{code:"230229",name:"克山县",region_level:3,children:[]},{code:"230230",name:"克东县",region_level:3,children:[]},{code:"230231",name:"拜泉县",region_level:3,children:[]},{code:"230281",name:"讷河市",region_level:3,children:[]}]},{code:"2303",name:"鸡西市",region_level:2,children:[{code:"230302",name:"鸡冠区",region_level:3,children:[]},{code:"230303",name:"恒山区",region_level:3,children:[]},{code:"230304",name:"滴道区",region_level:3,children:[]},{code:"230305",name:"梨树区",region_level:3,children:[]},{code:"230306",name:"城子河区",region_level:3,children:[]},{code:"230307",name:"麻山区",region_level:3,children:[]},{code:"230321",name:"鸡东县",region_level:3,children:[]},{code:"230381",name:"虎林市",region_level:3,children:[]},{code:"230382",name:"密山市",region_level:3,children:[]}]},{code:"2304",name:"鹤岗市",region_level:2,children:[{code:"230402",name:"向阳区",region_level:3,children:[]},{code:"230403",name:"工农区",region_level:3,children:[]},{code:"230404",name:"南山区",region_level:3,children:[]},{code:"230405",name:"兴安区",region_level:3,children:[]},{code:"230406",name:"东山区",region_level:3,children:[]},{code:"230407",name:"兴山区",region_level:3,children:[]},{code:"230421",name:"萝北县",region_level:3,children:[]},{code:"230422",name:"绥滨县",region_level:3,children:[]}]},{code:"2305",name:"双鸭山市",region_level:2,children:[{code:"230502",name:"尖山区",region_level:3,children:[]},{code:"230503",name:"岭东区",region_level:3,children:[]},{code:"230505",name:"四方台区",region_level:3,children:[]},{code:"230506",name:"宝山区",region_level:3,children:[]},{code:"230521",name:"集贤县",region_level:3,children:[]},{code:"230522",name:"友谊县",region_level:3,children:[]},{code:"230523",name:"宝清县",region_level:3,children:[]},{code:"230524",name:"饶河县",region_level:3,children:[]}]},{code:"2306",name:"大庆市",region_level:2,children:[{code:"230602",name:"萨尔图区",region_level:3,children:[]},{code:"230603",name:"龙凤区",region_level:3,children:[]},{code:"230604",name:"让胡路区",region_level:3,children:[]},{code:"230605",name:"红岗区",region_level:3,children:[]},{code:"230606",name:"大同区",region_level:3,children:[]},{code:"230621",name:"肇州县",region_level:3,children:[]},{code:"230622",name:"肇源县",region_level:3,children:[]},{code:"230623",name:"林甸县",region_level:3,children:[]},{code:"230624",name:"杜尔伯特蒙古族自治县",region_level:3,children:[]}]},{code:"2307",name:"伊春市",region_level:2,children:[{code:"230717",name:"伊美区",region_level:3,children:[]},{code:"230718",name:"乌翠区",region_level:3,children:[]},{code:"230719",name:"友好区",region_level:3,children:[]},{code:"230722",name:"嘉荫县",region_level:3,children:[]},{code:"230723",name:"汤旺县",region_level:3,children:[]},{code:"230724",name:"丰林县",region_level:3,children:[]},{code:"230725",name:"大箐山县",region_level:3,children:[]},{code:"230726",name:"南岔县",region_level:3,children:[]},{code:"230751",name:"金林区",region_level:3,children:[]},{code:"230781",name:"铁力市",region_level:3,children:[]}]},{code:"2308",name:"佳木斯市",region_level:2,children:[{code:"230803",name:"向阳区",region_level:3,children:[]},{code:"230804",name:"前进区",region_level:3,children:[]},{code:"230805",name:"东风区",region_level:3,children:[]},{code:"230811",name:"郊区",region_level:3,children:[]},{code:"230822",name:"桦南县",region_level:3,children:[]},{code:"230826",name:"桦川县",region_level:3,children:[]},{code:"230828",name:"汤原县",region_level:3,children:[]},{code:"230881",name:"同江市",region_level:3,children:[]},{code:"230882",name:"富锦市",region_level:3,children:[]},{code:"230883",name:"抚远市",region_level:3,children:[]}]},{code:"2309",name:"七台河市",region_level:2,children:[{code:"230902",name:"新兴区",region_level:3,children:[]},{code:"230903",name:"桃山区",region_level:3,children:[]},{code:"230904",name:"茄子河区",region_level:3,children:[]},{code:"230921",name:"勃利县",region_level:3,children:[]}]},{code:"2310",name:"牡丹江市",region_level:2,children:[{code:"231002",name:"东安区",region_level:3,children:[]},{code:"231003",name:"阳明区",region_level:3,children:[]},{code:"231004",name:"爱民区",region_level:3,children:[]},{code:"231005",name:"西安区",region_level:3,children:[]},{code:"231025",name:"林口县",region_level:3,children:[]},{code:"231081",name:"绥芬河市",region_level:3,children:[]},{code:"231083",name:"海林市",region_level:3,children:[]},{code:"231084",name:"宁安市",region_level:3,children:[]},{code:"231085",name:"穆棱市",region_level:3,children:[]},{code:"231086",name:"东宁市",region_level:3,children:[]}]},{code:"2311",name:"黑河市",region_level:2,children:[{code:"231102",name:"爱辉区",region_level:3,children:[]},{code:"231123",name:"逊克县",region_level:3,children:[]},{code:"231124",name:"孙吴县",region_level:3,children:[]},{code:"231181",name:"北安市",region_level:3,children:[]},{code:"231182",name:"五大连池市",region_level:3,children:[]},{code:"231183",name:"嫩江市",region_level:3,children:[]}]},{code:"2312",name:"绥化市",region_level:2,children:[{code:"231202",name:"北林区",region_level:3,children:[]},{code:"231221",name:"望奎县",region_level:3,children:[]},{code:"231222",name:"兰西县",region_level:3,children:[]},{code:"231223",name:"青冈县",region_level:3,children:[]},{code:"231224",name:"庆安县",region_level:3,children:[]},{code:"231225",name:"明水县",region_level:3,children:[]},{code:"231226",name:"绥棱县",region_level:3,children:[]},{code:"231281",name:"安达市",region_level:3,children:[]},{code:"231282",name:"肇东市",region_level:3,children:[]},{code:"231283",name:"海伦市",region_level:3,children:[]}]},{code:"2327",name:"大兴安岭地区",region_level:2,children:[{code:"232701",name:"漠河市",region_level:3,children:[]},{code:"232721",name:"呼玛县",region_level:3,children:[]},{code:"232722",name:"塔河县",region_level:3,children:[]}]}]},{code:"31",name:"上海市",region_level:1,children:[{code:"3101",name:"上海市",region_level:2,children:[{code:"310101",name:"黄浦区",region_level:3,children:[]},{code:"310104",name:"徐汇区",region_level:3,children:[]},{code:"310105",name:"长宁区",region_level:3,children:[]},{code:"310106",name:"静安区",region_level:3,children:[]},{code:"310107",name:"普陀区",region_level:3,children:[]},{code:"310109",name:"虹口区",region_level:3,children:[]},{code:"310110",name:"杨浦区",region_level:3,children:[]},{code:"310112",name:"闵行区",region_level:3,children:[]},{code:"310113",name:"宝山区",region_level:3,children:[]},{code:"310114",name:"嘉定区",region_level:3,children:[]},{code:"310115",name:"浦东新区",region_level:3,children:[]},{code:"310116",name:"金山区",region_level:3,children:[]},{code:"310117",name:"松江区",region_level:3,children:[]},{code:"310118",name:"青浦区",region_level:3,children:[]},{code:"310120",name:"奉贤区",region_level:3,children:[]},{code:"310151",name:"崇明区",region_level:3,children:[]}]}]},{code:"32",name:"江苏省",region_level:1,children:[{code:"3201",name:"南京市",region_level:2,children:[{code:"320102",name:"玄武区",region_level:3,children:[]},{code:"320104",name:"秦淮区",region_level:3,children:[]},{code:"320105",name:"建邺区",region_level:3,children:[]},{code:"320106",name:"鼓楼区",region_level:3,children:[]},{code:"320111",name:"浦口区",region_level:3,children:[]},{code:"320113",name:"栖霞区",region_level:3,children:[]},{code:"320114",name:"雨花台区",region_level:3,children:[]},{code:"320115",name:"江宁区",region_level:3,children:[]},{code:"320116",name:"六合区",region_level:3,children:[]},{code:"320117",name:"溧水区",region_level:3,children:[]},{code:"320118",name:"高淳区",region_level:3,children:[]}]},{code:"3202",name:"无锡市",region_level:2,children:[{code:"320205",name:"锡山区",region_level:3,children:[]},{code:"320206",name:"惠山区",region_level:3,children:[]},{code:"320211",name:"滨湖区",region_level:3,children:[]},{code:"320213",name:"梁溪区",region_level:3,children:[]},{code:"320214",name:"新吴区",region_level:3,children:[]},{code:"320281",name:"江阴市",region_level:3,children:[]},{code:"320282",name:"宜兴市",region_level:3,children:[]}]},{code:"3203",name:"徐州市",region_level:2,children:[{code:"320302",name:"鼓楼区",region_level:3,children:[]},{code:"320303",name:"云龙区",region_level:3,children:[]},{code:"320305",name:"贾汪区",region_level:3,children:[]},{code:"320311",name:"泉山区",region_level:3,children:[]},{code:"320312",name:"铜山区",region_level:3,children:[]},{code:"320321",name:"丰县",region_level:3,children:[]},{code:"320322",name:"沛县",region_level:3,children:[]},{code:"320324",name:"睢宁县",region_level:3,children:[]},{code:"320381",name:"新沂市",region_level:3,children:[]},{code:"320382",name:"邳州市",region_level:3,children:[]}]},{code:"3204",name:"常州市",region_level:2,children:[{code:"320402",name:"天宁区",region_level:3,children:[]},{code:"320404",name:"钟楼区",region_level:3,children:[]},{code:"320411",name:"新北区",region_level:3,children:[]},{code:"320412",name:"武进区",region_level:3,children:[]},{code:"320413",name:"金坛区",region_level:3,children:[]},{code:"320481",name:"溧阳市",region_level:3,children:[]}]},{code:"3205",name:"苏州市",region_level:2,children:[{code:"320505",name:"虎丘区",region_level:3,children:[]},{code:"320506",name:"吴中区",region_level:3,children:[]},{code:"320507",name:"相城区",region_level:3,children:[]},{code:"320508",name:"姑苏区",region_level:3,children:[]},{code:"320509",name:"吴江区",region_level:3,children:[]},{code:"320581",name:"常熟市",region_level:3,children:[]},{code:"320582",name:"张家港市",region_level:3,children:[]},{code:"320583",name:"昆山市",region_level:3,children:[]},{code:"320585",name:"太仓市",region_level:3,children:[]}]},{code:"3206",name:"南通市",region_level:2,children:[{code:"320602",name:"崇川区",region_level:3,children:[]},{code:"320611",name:"港闸区",region_level:3,children:[]},{code:"320612",name:"通州区",region_level:3,children:[]},{code:"320623",name:"如东县",region_level:3,children:[]},{code:"320681",name:"启东市",region_level:3,children:[]},{code:"320682",name:"如皋市",region_level:3,children:[]},{code:"320684",name:"海门市",region_level:3,children:[]},{code:"320685",name:"海安市",region_level:3,children:[]}]},{code:"3207",name:"连云港市",region_level:2,children:[{code:"320703",name:"连云区",region_level:3,children:[]},{code:"320706",name:"海州区",region_level:3,children:[]},{code:"320707",name:"赣榆区",region_level:3,children:[]},{code:"320722",name:"东海县",region_level:3,children:[]},{code:"320723",name:"灌云县",region_level:3,children:[]},{code:"320724",name:"灌南县",region_level:3,children:[]}]},{code:"3208",name:"淮安市",region_level:2,children:[{code:"320803",name:"淮安区",region_level:3,children:[]},{code:"320804",name:"淮阴区",region_level:3,children:[]},{code:"320812",name:"清江浦区",region_level:3,children:[]},{code:"320813",name:"洪泽区",region_level:3,children:[]},{code:"320826",name:"涟水县",region_level:3,children:[]},{code:"320830",name:"盱眙县",region_level:3,children:[]},{code:"320831",name:"金湖县",region_level:3,children:[]}]},{code:"3209",name:"盐城市",region_level:2,children:[{code:"320902",name:"亭湖区",region_level:3,children:[]},{code:"320903",name:"盐都区",region_level:3,children:[]},{code:"320904",name:"大丰区",region_level:3,children:[]},{code:"320921",name:"响水县",region_level:3,children:[]},{code:"320922",name:"滨海县",region_level:3,children:[]},{code:"320923",name:"阜宁县",region_level:3,children:[]},{code:"320924",name:"射阳县",region_level:3,children:[]},{code:"320925",name:"建湖县",region_level:3,children:[]},{code:"320981",name:"东台市",region_level:3,children:[]}]},{code:"3210",name:"扬州市",region_level:2,children:[{code:"321002",name:"广陵区",region_level:3,children:[]},{code:"321003",name:"邗江区",region_level:3,children:[]},{code:"321012",name:"江都区",region_level:3,children:[]},{code:"321023",name:"宝应县",region_level:3,children:[]},{code:"321081",name:"仪征市",region_level:3,children:[]},{code:"321084",name:"高邮市",region_level:3,children:[]}]},{code:"3211",name:"镇江市",region_level:2,children:[{code:"321102",name:"京口区",region_level:3,children:[]},{code:"321111",name:"润州区",region_level:3,children:[]},{code:"321112",name:"丹徒区",region_level:3,children:[]},{code:"321181",name:"丹阳市",region_level:3,children:[]},{code:"321182",name:"扬中市",region_level:3,children:[]},{code:"321183",name:"句容市",region_level:3,children:[]}]},{code:"3212",name:"泰州市",region_level:2,children:[{code:"321202",name:"海陵区",region_level:3,children:[]},{code:"321203",name:"高港区",region_level:3,children:[]},{code:"321204",name:"姜堰区",region_level:3,children:[]},{code:"321281",name:"兴化市",region_level:3,children:[]},{code:"321282",name:"靖江市",region_level:3,children:[]},{code:"321283",name:"泰兴市",region_level:3,children:[]}]},{code:"3213",name:"宿迁市",region_level:2,children:[{code:"321302",name:"宿城区",region_level:3,children:[]},{code:"321311",name:"宿豫区",region_level:3,children:[]},{code:"321322",name:"沭阳县",region_level:3,children:[]},{code:"321323",name:"泗阳县",region_level:3,children:[]},{code:"321324",name:"泗洪县",region_level:3,children:[]}]}]},{code:"33",name:"浙江省",region_level:1,children:[{code:"3301",name:"杭州市",region_level:2,children:[{code:"330102",name:"上城区",region_level:3,children:[]},{code:"330103",name:"下城区",region_level:3,children:[]},{code:"330104",name:"江干区",region_level:3,children:[]},{code:"330105",name:"拱墅区",region_level:3,children:[]},{code:"330106",name:"西湖区",region_level:3,children:[]},{code:"330108",name:"滨江区",region_level:3,children:[]},{code:"330109",name:"萧山区",region_level:3,children:[]},{code:"330110",name:"余杭区",region_level:3,children:[]},{code:"330111",name:"富阳区",region_level:3,children:[]},{code:"330112",name:"临安区",region_level:3,children:[]},{code:"330122",name:"桐庐县",region_level:3,children:[]},{code:"330127",name:"淳安县",region_level:3,children:[]},{code:"330182",name:"建德市",region_level:3,children:[]}]},{code:"3302",name:"宁波市",region_level:2,children:[{code:"330203",name:"海曙区",region_level:3,children:[]},{code:"330205",name:"江北区",region_level:3,children:[]},{code:"330206",name:"北仑区",region_level:3,children:[]},{code:"330211",name:"镇海区",region_level:3,children:[]},{code:"330212",name:"鄞州区",region_level:3,children:[]},{code:"330213",name:"奉化区",region_level:3,children:[]},{code:"330225",name:"象山县",region_level:3,children:[]},{code:"330226",name:"宁海县",region_level:3,children:[]},{code:"330281",name:"余姚市",region_level:3,children:[]},{code:"330282",name:"慈溪市",region_level:3,children:[]}]},{code:"3303",name:"温州市",region_level:2,children:[{code:"330302",name:"鹿城区",region_level:3,children:[]},{code:"330303",name:"龙湾区",region_level:3,children:[]},{code:"330304",name:"瓯海区",region_level:3,children:[]},{code:"330305",name:"洞头区",region_level:3,children:[]},{code:"330324",name:"永嘉县",region_level:3,children:[]},{code:"330326",name:"平阳县",region_level:3,children:[]},{code:"330327",name:"苍南县",region_level:3,children:[]},{code:"330328",name:"文成县",region_level:3,children:[]},{code:"330329",name:"泰顺县",region_level:3,children:[]},{code:"330381",name:"瑞安市",region_level:3,children:[]},{code:"330382",name:"乐清市",region_level:3,children:[]},{code:"330383",name:"龙港市",region_level:3,children:[]}]},{code:"3304",name:"嘉兴市",region_level:2,children:[{code:"330402",name:"南湖区",region_level:3,children:[]},{code:"330411",name:"秀洲区",region_level:3,children:[]},{code:"330421",name:"嘉善县",region_level:3,children:[]},{code:"330424",name:"海盐县",region_level:3,children:[]},{code:"330481",name:"海宁市",region_level:3,children:[]},{code:"330482",name:"平湖市",region_level:3,children:[]},{code:"330483",name:"桐乡市",region_level:3,children:[]}]},{code:"3305",name:"湖州市",region_level:2,children:[{code:"330502",name:"吴兴区",region_level:3,children:[]},{code:"330503",name:"南浔区",region_level:3,children:[]},{code:"330521",name:"德清县",region_level:3,children:[]},{code:"330522",name:"长兴县",region_level:3,children:[]},{code:"330523",name:"安吉县",region_level:3,children:[]}]},{code:"3306",name:"绍兴市",region_level:2,children:[{code:"330602",name:"越城区",region_level:3,children:[]},{code:"330603",name:"柯桥区",region_level:3,children:[]},{code:"330604",name:"上虞区",region_level:3,children:[]},{code:"330624",name:"新昌县",region_level:3,children:[]},{code:"330681",name:"诸暨市",region_level:3,children:[]},{code:"330683",name:"嵊州市",region_level:3,children:[]}]},{code:"3307",name:"金华市",region_level:2,children:[{code:"330702",name:"婺城区",region_level:3,children:[]},{code:"330703",name:"金东区",region_level:3,children:[]},{code:"330723",name:"武义县",region_level:3,children:[]},{code:"330726",name:"浦江县",region_level:3,children:[]},{code:"330727",name:"磐安县",region_level:3,children:[]},{code:"330781",name:"兰溪市",region_level:3,children:[]},{code:"330782",name:"义乌市",region_level:3,children:[]},{code:"330783",name:"东阳市",region_level:3,children:[]},{code:"330784",name:"永康市",region_level:3,children:[]}]},{code:"3308",name:"衢州市",region_level:2,children:[{code:"330802",name:"柯城区",region_level:3,children:[]},{code:"330803",name:"衢江区",region_level:3,children:[]},{code:"330822",name:"常山县",region_level:3,children:[]},{code:"330824",name:"开化县",region_level:3,children:[]},{code:"330825",name:"龙游县",region_level:3,children:[]},{code:"330881",name:"江山市",region_level:3,children:[]}]},{code:"3309",name:"舟山市",region_level:2,children:[{code:"330902",name:"定海区",region_level:3,children:[]},{code:"330903",name:"普陀区",region_level:3,children:[]},{code:"330921",name:"岱山县",region_level:3,children:[]},{code:"330922",name:"嵊泗县",region_level:3,children:[]}]},{code:"3310",name:"台州市",region_level:2,children:[{code:"331002",name:"椒江区",region_level:3,children:[]},{code:"331003",name:"黄岩区",region_level:3,children:[]},{code:"331004",name:"路桥区",region_level:3,children:[]},{code:"331022",name:"三门县",region_level:3,children:[]},{code:"331023",name:"天台县",region_level:3,children:[]},{code:"331024",name:"仙居县",region_level:3,children:[]},{code:"331081",name:"温岭市",region_level:3,children:[]},{code:"331082",name:"临海市",region_level:3,children:[]},{code:"331083",name:"玉环市",region_level:3,children:[]}]},{code:"3311",name:"丽水市",region_level:2,children:[{code:"331102",name:"莲都区",region_level:3,children:[]},{code:"331121",name:"青田县",region_level:3,children:[]},{code:"331122",name:"缙云县",region_level:3,children:[]},{code:"331123",name:"遂昌县",region_level:3,children:[]},{code:"331124",name:"松阳县",region_level:3,children:[]},{code:"331125",name:"云和县",region_level:3,children:[]},{code:"331126",name:"庆元县",region_level:3,children:[]},{code:"331127",name:"景宁畲族自治县",region_level:3,children:[]},{code:"331181",name:"龙泉市",region_level:3,children:[]}]}]},{code:"34",name:"安徽省",region_level:1,children:[{code:"3401",name:"合肥市",region_level:2,children:[{code:"340102",name:"瑶海区",region_level:3,children:[]},{code:"340103",name:"庐阳区",region_level:3,children:[]},{code:"340104",name:"蜀山区",region_level:3,children:[]},{code:"340111",name:"包河区",region_level:3,children:[]},{code:"340121",name:"长丰县",region_level:3,children:[]},{code:"340122",name:"肥东县",region_level:3,children:[]},{code:"340123",name:"肥西县",region_level:3,children:[]},{code:"340124",name:"庐江县",region_level:3,children:[]},{code:"340181",name:"巢湖市",region_level:3,children:[]}]},{code:"3402",name:"芜湖市",region_level:2,children:[{code:"340202",name:"镜湖区",region_level:3,children:[]},{code:"340203",name:"弋江区",region_level:3,children:[]},{code:"340207",name:"鸠江区",region_level:3,children:[]},{code:"340208",name:"三山区",region_level:3,children:[]},{code:"340221",name:"芜湖县",region_level:3,children:[]},{code:"340222",name:"繁昌县",region_level:3,children:[]},{code:"340223",name:"南陵县",region_level:3,children:[]},{code:"340281",name:"无为市",region_level:3,children:[]}]},{code:"3403",name:"蚌埠市",region_level:2,children:[{code:"340302",name:"龙子湖区",region_level:3,children:[]},{code:"340303",name:"蚌山区",region_level:3,children:[]},{code:"340304",name:"禹会区",region_level:3,children:[]},{code:"340311",name:"淮上区",region_level:3,children:[]},{code:"340321",name:"怀远县",region_level:3,children:[]},{code:"340322",name:"五河县",region_level:3,children:[]},{code:"340323",name:"固镇县",region_level:3,children:[]}]},{code:"3404",name:"淮南市",region_level:2,children:[{code:"340402",name:"大通区",region_level:3,children:[]},{code:"340403",name:"田家庵区",region_level:3,children:[]},{code:"340404",name:"谢家集区",region_level:3,children:[]},{code:"340405",name:"八公山区",region_level:3,children:[]},{code:"340406",name:"潘集区",region_level:3,children:[]},{code:"340421",name:"凤台县",region_level:3,children:[]},{code:"340422",name:"寿县",region_level:3,children:[]}]},{code:"3405",name:"马鞍山市",region_level:2,children:[{code:"340503",name:"花山区",region_level:3,children:[]},{code:"340504",name:"雨山区",region_level:3,children:[]},{code:"340506",name:"博望区",region_level:3,children:[]},{code:"340521",name:"当涂县",region_level:3,children:[]},{code:"340522",name:"含山县",region_level:3,children:[]},{code:"340523",name:"和县",region_level:3,children:[]}]},{code:"3406",name:"淮北市",region_level:2,children:[{code:"340602",name:"杜集区",region_level:3,children:[]},{code:"340603",name:"相山区",region_level:3,children:[]},{code:"340604",name:"烈山区",region_level:3,children:[]},{code:"340621",name:"濉溪县",region_level:3,children:[]}]},{code:"3407",name:"铜陵市",region_level:2,children:[{code:"340705",name:"铜官区",region_level:3,children:[]},{code:"340706",name:"义安区",region_level:3,children:[]},{code:"340711",name:"郊区",region_level:3,children:[]},{code:"340722",name:"枞阳县",region_level:3,children:[]}]},{code:"3408",name:"安庆市",region_level:2,children:[{code:"340802",name:"迎江区",region_level:3,children:[]},{code:"340803",name:"大观区",region_level:3,children:[]},{code:"340811",name:"宜秀区",region_level:3,children:[]},{code:"340822",name:"怀宁县",region_level:3,children:[]},{code:"340825",name:"太湖县",region_level:3,children:[]},{code:"340826",name:"宿松县",region_level:3,children:[]},{code:"340827",name:"望江县",region_level:3,children:[]},{code:"340828",name:"岳西县",region_level:3,children:[]},{code:"340881",name:"桐城市",region_level:3,children:[]},{code:"340882",name:"潜山市",region_level:3,children:[]}]},{code:"3410",name:"黄山市",region_level:2,children:[{code:"341002",name:"屯溪区",region_level:3,children:[]},{code:"341003",name:"黄山区",region_level:3,children:[]},{code:"341004",name:"徽州区",region_level:3,children:[]},{code:"341021",name:"歙县",region_level:3,children:[]},{code:"341022",name:"休宁县",region_level:3,children:[]},{code:"341023",name:"黟县",region_level:3,children:[]},{code:"341024",name:"祁门县",region_level:3,children:[]}]},{code:"3411",name:"滁州市",region_level:2,children:[{code:"341102",name:"琅琊区",region_level:3,children:[]},{code:"341103",name:"南谯区",region_level:3,children:[]},{code:"341122",name:"来安县",region_level:3,children:[]},{code:"341124",name:"全椒县",region_level:3,children:[]},{code:"341125",name:"定远县",region_level:3,children:[]},{code:"341126",name:"凤阳县",region_level:3,children:[]},{code:"341181",name:"天长市",region_level:3,children:[]},{code:"341182",name:"明光市",region_level:3,children:[]}]},{code:"3412",name:"阜阳市",region_level:2,children:[{code:"341202",name:"颍州区",region_level:3,children:[]},{code:"341203",name:"颍东区",region_level:3,children:[]},{code:"341204",name:"颍泉区",region_level:3,children:[]},{code:"341221",name:"临泉县",region_level:3,children:[]},{code:"341222",name:"太和县",region_level:3,children:[]},{code:"341225",name:"阜南县",region_level:3,children:[]},{code:"341226",name:"颍上县",region_level:3,children:[]},{code:"341282",name:"界首市",region_level:3,children:[]}]},{code:"3413",name:"宿州市",region_level:2,children:[{code:"341302",name:"埇桥区",region_level:3,children:[]},{code:"341321",name:"砀山县",region_level:3,children:[]},{code:"341322",name:"萧县",region_level:3,children:[]},{code:"341323",name:"灵璧县",region_level:3,children:[]},{code:"341324",name:"泗县",region_level:3,children:[]}]},{code:"3415",name:"六安市",region_level:2,children:[{code:"341502",name:"金安区",region_level:3,children:[]},{code:"341503",name:"裕安区",region_level:3,children:[]},{code:"341504",name:"叶集区",region_level:3,children:[]},{code:"341522",name:"霍邱县",region_level:3,children:[]},{code:"341523",name:"舒城县",region_level:3,children:[]},{code:"341524",name:"金寨县",region_level:3,children:[]},{code:"341525",name:"霍山县",region_level:3,children:[]}]},{code:"3416",name:"亳州市",region_level:2,children:[{code:"341602",name:"谯城区",region_level:3,children:[]},{code:"341621",name:"涡阳县",region_level:3,children:[]},{code:"341622",name:"蒙城县",region_level:3,children:[]},{code:"341623",name:"利辛县",region_level:3,children:[]}]},{code:"3417",name:"池州市",region_level:2,children:[{code:"341702",name:"贵池区",region_level:3,children:[]},{code:"341721",name:"东至县",region_level:3,children:[]},{code:"341722",name:"石台县",region_level:3,children:[]},{code:"341723",name:"青阳县",region_level:3,children:[]}]},{code:"3418",name:"宣城市",region_level:2,children:[{code:"341802",name:"宣州区",region_level:3,children:[]},{code:"341821",name:"郎溪县",region_level:3,children:[]},{code:"341823",name:"泾县",region_level:3,children:[]},{code:"341824",name:"绩溪县",region_level:3,children:[]},{code:"341825",name:"旌德县",region_level:3,children:[]},{code:"341881",name:"宁国市",region_level:3,children:[]},{code:"341882",name:"广德市",region_level:3,children:[]}]}]},{code:"35",name:"福建省",region_level:1,children:[{code:"3501",name:"福州市",region_level:2,children:[{code:"350102",name:"鼓楼区",region_level:3,children:[]},{code:"350103",name:"台江区",region_level:3,children:[]},{code:"350104",name:"仓山区",region_level:3,children:[]},{code:"350105",name:"马尾区",region_level:3,children:[]},{code:"350111",name:"晋安区",region_level:3,children:[]},{code:"350112",name:"长乐区",region_level:3,children:[]},{code:"350121",name:"闽侯县",region_level:3,children:[]},{code:"350122",name:"连江县",region_level:3,children:[]},{code:"350123",name:"罗源县",region_level:3,children:[]},{code:"350124",name:"闽清县",region_level:3,children:[]},{code:"350125",name:"永泰县",region_level:3,children:[]},{code:"350128",name:"平潭县",region_level:3,children:[]},{code:"350181",name:"福清市",region_level:3,children:[]}]},{code:"3502",name:"厦门市",region_level:2,children:[{code:"350203",name:"思明区",region_level:3,children:[]},{code:"350205",name:"海沧区",region_level:3,children:[]},{code:"350206",name:"湖里区",region_level:3,children:[]},{code:"350211",name:"集美区",region_level:3,children:[]},{code:"350212",name:"同安区",region_level:3,children:[]},{code:"350213",name:"翔安区",region_level:3,children:[]}]},{code:"3503",name:"莆田市",region_level:2,children:[{code:"350302",name:"城厢区",region_level:3,children:[]},{code:"350303",name:"涵江区",region_level:3,children:[]},{code:"350304",name:"荔城区",region_level:3,children:[]},{code:"350305",name:"秀屿区",region_level:3,children:[]},{code:"350322",name:"仙游县",region_level:3,children:[]}]},{code:"3504",name:"三明市",region_level:2,children:[{code:"350402",name:"梅列区",region_level:3,children:[]},{code:"350403",name:"三元区",region_level:3,children:[]},{code:"350421",name:"明溪县",region_level:3,children:[]},{code:"350423",name:"清流县",region_level:3,children:[]},{code:"350424",name:"宁化县",region_level:3,children:[]},{code:"350425",name:"大田县",region_level:3,children:[]},{code:"350426",name:"尤溪县",region_level:3,children:[]},{code:"350427",name:"沙县",region_level:3,children:[]},{code:"350428",name:"将乐县",region_level:3,children:[]},{code:"350429",name:"泰宁县",region_level:3,children:[]},{code:"350430",name:"建宁县",region_level:3,children:[]},{code:"350481",name:"永安市",region_level:3,children:[]}]},{code:"3505",name:"泉州市",region_level:2,children:[{code:"350502",name:"鲤城区",region_level:3,children:[]},{code:"350503",name:"丰泽区",region_level:3,children:[]},{code:"350504",name:"洛江区",region_level:3,children:[]},{code:"350505",name:"泉港区",region_level:3,children:[]},{code:"350521",name:"惠安县",region_level:3,children:[]},{code:"350524",name:"安溪县",region_level:3,children:[]},{code:"350525",name:"永春县",region_level:3,children:[]},{code:"350526",name:"德化县",region_level:3,children:[]},{code:"350527",name:"金门县",region_level:3,children:[]},{code:"350581",name:"石狮市",region_level:3,children:[]},{code:"350582",name:"晋江市",region_level:3,children:[]},{code:"350583",name:"南安市",region_level:3,children:[]}]},{code:"3506",name:"漳州市",region_level:2,children:[{code:"350602",name:"芗城区",region_level:3,children:[]},{code:"350603",name:"龙文区",region_level:3,children:[]},{code:"350622",name:"云霄县",region_level:3,children:[]},{code:"350623",name:"漳浦县",region_level:3,children:[]},{code:"350624",name:"诏安县",region_level:3,children:[]},{code:"350625",name:"长泰县",region_level:3,children:[]},{code:"350626",name:"东山县",region_level:3,children:[]},{code:"350627",name:"南靖县",region_level:3,children:[]},{code:"350628",name:"平和县",region_level:3,children:[]},{code:"350629",name:"华安县",region_level:3,children:[]},{code:"350681",name:"龙海市",region_level:3,children:[]}]},{code:"3507",name:"南平市",region_level:2,children:[{code:"350702",name:"延平区",region_level:3,children:[]},{code:"350703",name:"建阳区",region_level:3,children:[]},{code:"350721",name:"顺昌县",region_level:3,children:[]},{code:"350722",name:"浦城县",region_level:3,children:[]},{code:"350723",name:"光泽县",region_level:3,children:[]},{code:"350724",name:"松溪县",region_level:3,children:[]},{code:"350725",name:"政和县",region_level:3,children:[]},{code:"350781",name:"邵武市",region_level:3,children:[]},{code:"350782",name:"武夷山市",region_level:3,children:[]},{code:"350783",name:"建瓯市",region_level:3,children:[]}]},{code:"3508",name:"龙岩市",region_level:2,children:[{code:"350802",name:"新罗区",region_level:3,children:[]},{code:"350803",name:"永定区",region_level:3,children:[]},{code:"350821",name:"长汀县",region_level:3,children:[]},{code:"350823",name:"上杭县",region_level:3,children:[]},{code:"350824",name:"武平县",region_level:3,children:[]},{code:"350825",name:"连城县",region_level:3,children:[]},{code:"350881",name:"漳平市",region_level:3,children:[]}]},{code:"3509",name:"宁德市",region_level:2,children:[{code:"350902",name:"蕉城区",region_level:3,children:[]},{code:"350921",name:"霞浦县",region_level:3,children:[]},{code:"350922",name:"古田县",region_level:3,children:[]},{code:"350923",name:"屏南县",region_level:3,children:[]},{code:"350924",name:"寿宁县",region_level:3,children:[]},{code:"350925",name:"周宁县",region_level:3,children:[]},{code:"350926",name:"柘荣县",region_level:3,children:[]},{code:"350981",name:"福安市",region_level:3,children:[]},{code:"350982",name:"福鼎市",region_level:3,children:[]}]}]},{code:"36",name:"江西省",region_level:1,children:[{code:"3601",name:"南昌市",region_level:2,children:[{code:"360102",name:"东湖区",region_level:3,children:[]},{code:"360103",name:"西湖区",region_level:3,children:[]},{code:"360104",name:"青云谱区",region_level:3,children:[]},{code:"360111",name:"青山湖区",region_level:3,children:[]},{code:"360112",name:"新建区",region_level:3,children:[]},{code:"360113",name:"红谷滩区",region_level:3,children:[]},{code:"360121",name:"南昌县",region_level:3,children:[]},{code:"360123",name:"安义县",region_level:3,children:[]},{code:"360124",name:"进贤县",region_level:3,children:[]}]},{code:"3602",name:"景德镇市",region_level:2,children:[{code:"360202",name:"昌江区",region_level:3,children:[]},{code:"360203",name:"珠山区",region_level:3,children:[]},{code:"360222",name:"浮梁县",region_level:3,children:[]},{code:"360281",name:"乐平市",region_level:3,children:[]}]},{code:"3603",name:"萍乡市",region_level:2,children:[{code:"360302",name:"安源区",region_level:3,children:[]},{code:"360313",name:"湘东区",region_level:3,children:[]},{code:"360321",name:"莲花县",region_level:3,children:[]},{code:"360322",name:"上栗县",region_level:3,children:[]},{code:"360323",name:"芦溪县",region_level:3,children:[]}]},{code:"3604",name:"九江市",region_level:2,children:[{code:"360402",name:"濂溪区",region_level:3,children:[]},{code:"360403",name:"浔阳区",region_level:3,children:[]},{code:"360404",name:"柴桑区",region_level:3,children:[]},{code:"360423",name:"武宁县",region_level:3,children:[]},{code:"360424",name:"修水县",region_level:3,children:[]},{code:"360425",name:"永修县",region_level:3,children:[]},{code:"360426",name:"德安县",region_level:3,children:[]},{code:"360428",name:"都昌县",region_level:3,children:[]},{code:"360429",name:"湖口县",region_level:3,children:[]},{code:"360430",name:"彭泽县",region_level:3,children:[]},{code:"360481",name:"瑞昌市",region_level:3,children:[]},{code:"360482",name:"共青城市",region_level:3,children:[]},{code:"360483",name:"庐山市",region_level:3,children:[]}]},{code:"3605",name:"新余市",region_level:2,children:[{code:"360502",name:"渝水区",region_level:3,children:[]},{code:"360521",name:"分宜县",region_level:3,children:[]}]},{code:"3606",name:"鹰潭市",region_level:2,children:[{code:"360602",name:"月湖区",region_level:3,children:[]},{code:"360603",name:"余江区",region_level:3,children:[]},{code:"360681",name:"贵溪市",region_level:3,children:[]}]},{code:"3607",name:"赣州市",region_level:2,children:[{code:"360702",name:"章贡区",region_level:3,children:[]},{code:"360703",name:"南康区",region_level:3,children:[]},{code:"360704",name:"赣县区",region_level:3,children:[]},{code:"360722",name:"信丰县",region_level:3,children:[]},{code:"360723",name:"大余县",region_level:3,children:[]},{code:"360724",name:"上犹县",region_level:3,children:[]},{code:"360725",name:"崇义县",region_level:3,children:[]},{code:"360726",name:"安远县",region_level:3,children:[]},{code:"360727",name:"龙南县",region_level:3,children:[]},{code:"360728",name:"定南县",region_level:3,children:[]},{code:"360729",name:"全南县",region_level:3,children:[]},{code:"360730",name:"宁都县",region_level:3,children:[]},{code:"360731",name:"于都县",region_level:3,children:[]},{code:"360732",name:"兴国县",region_level:3,children:[]},{code:"360733",name:"会昌县",region_level:3,children:[]},{code:"360734",name:"寻乌县",region_level:3,children:[]},{code:"360735",name:"石城县",region_level:3,children:[]},{code:"360781",name:"瑞金市",region_level:3,children:[]}]},{code:"3608",name:"吉安市",region_level:2,children:[{code:"360802",name:"吉州区",region_level:3,children:[]},{code:"360803",name:"青原区",region_level:3,children:[]},{code:"360821",name:"吉安县",region_level:3,children:[]},{code:"360822",name:"吉水县",region_level:3,children:[]},{code:"360823",name:"峡江县",region_level:3,children:[]},{code:"360824",name:"新干县",region_level:3,children:[]},{code:"360825",name:"永丰县",region_level:3,children:[]},{code:"360826",name:"泰和县",region_level:3,children:[]},{code:"360827",name:"遂川县",region_level:3,children:[]},{code:"360828",name:"万安县",region_level:3,children:[]},{code:"360829",name:"安福县",region_level:3,children:[]},{code:"360830",name:"永新县",region_level:3,children:[]},{code:"360881",name:"井冈山市",region_level:3,children:[]}]},{code:"3609",name:"宜春市",region_level:2,children:[{code:"360902",name:"袁州区",region_level:3,children:[]},{code:"360921",name:"奉新县",region_level:3,children:[]},{code:"360922",name:"万载县",region_level:3,children:[]},{code:"360923",name:"上高县",region_level:3,children:[]},{code:"360924",name:"宜丰县",region_level:3,children:[]},{code:"360925",name:"靖安县",region_level:3,children:[]},{code:"360926",name:"铜鼓县",region_level:3,children:[]},{code:"360981",name:"丰城市",region_level:3,children:[]},{code:"360982",name:"樟树市",region_level:3,children:[]},{code:"360983",name:"高安市",region_level:3,children:[]}]},{code:"3610",name:"抚州市",region_level:2,children:[{code:"361002",name:"临川区",region_level:3,children:[]},{code:"361003",name:"东乡区",region_level:3,children:[]},{code:"361021",name:"南城县",region_level:3,children:[]},{code:"361022",name:"黎川县",region_level:3,children:[]},{code:"361023",name:"南丰县",region_level:3,children:[]},{code:"361024",name:"崇仁县",region_level:3,children:[]},{code:"361025",name:"乐安县",region_level:3,children:[]},{code:"361026",name:"宜黄县",region_level:3,children:[]},{code:"361027",name:"金溪县",region_level:3,children:[]},{code:"361028",name:"资溪县",region_level:3,children:[]},{code:"361030",name:"广昌县",region_level:3,children:[]}]},{code:"3611",name:"上饶市",region_level:2,children:[{code:"361102",name:"信州区",region_level:3,children:[]},{code:"361103",name:"广丰区",region_level:3,children:[]},{code:"361104",name:"广信区",region_level:3,children:[]},{code:"361123",name:"玉山县",region_level:3,children:[]},{code:"361124",name:"铅山县",region_level:3,children:[]},{code:"361125",name:"横峰县",region_level:3,children:[]},{code:"361126",name:"弋阳县",region_level:3,children:[]},{code:"361127",name:"余干县",region_level:3,children:[]},{code:"361128",name:"鄱阳县",region_level:3,children:[]},{code:"361129",name:"万年县",region_level:3,children:[]},{code:"361130",name:"婺源县",region_level:3,children:[]},{code:"361181",name:"德兴市",region_level:3,children:[]}]}]},{code:"37",name:"山东省",region_level:1,children:[{code:"3701",name:"济南市",region_level:2,children:[{code:"370102",name:"历下区",region_level:3,children:[]},{code:"370103",name:"市中区",region_level:3,children:[]},{code:"370104",name:"槐荫区",region_level:3,children:[]},{code:"370105",name:"天桥区",region_level:3,children:[]},{code:"370112",name:"历城区",region_level:3,children:[]},{code:"370113",name:"长清区",region_level:3,children:[]},{code:"370114",name:"章丘区",region_level:3,children:[]},{code:"370115",name:"济阳区",region_level:3,children:[]},{code:"370116",name:"莱芜区",region_level:3,children:[]},{code:"370117",name:"钢城区",region_level:3,children:[]},{code:"370124",name:"平阴县",region_level:3,children:[]},{code:"370126",name:"商河县",region_level:3,children:[]}]},{code:"3702",name:"青岛市",region_level:2,children:[{code:"370202",name:"市南区",region_level:3,children:[]},{code:"370203",name:"市北区",region_level:3,children:[]},{code:"370211",name:"黄岛区",region_level:3,children:[]},{code:"370212",name:"崂山区",region_level:3,children:[]},{code:"370213",name:"李沧区",region_level:3,children:[]},{code:"370214",name:"城阳区",region_level:3,children:[]},{code:"370215",name:"即墨区",region_level:3,children:[]},{code:"370281",name:"胶州市",region_level:3,children:[]},{code:"370283",name:"平度市",region_level:3,children:[]},{code:"370285",name:"莱西市",region_level:3,children:[]}]},{code:"3703",name:"淄博市",region_level:2,children:[{code:"370302",name:"淄川区",region_level:3,children:[]},{code:"370303",name:"张店区",region_level:3,children:[]},{code:"370304",name:"博山区",region_level:3,children:[]},{code:"370305",name:"临淄区",region_level:3,children:[]},{code:"370306",name:"周村区",region_level:3,children:[]},{code:"370321",name:"桓台县",region_level:3,children:[]},{code:"370322",name:"高青县",region_level:3,children:[]},{code:"370323",name:"沂源县",region_level:3,children:[]}]},{code:"3704",name:"枣庄市",region_level:2,children:[{code:"370402",name:"市中区",region_level:3,children:[]},{code:"370403",name:"薛城区",region_level:3,children:[]},{code:"370404",name:"峄城区",region_level:3,children:[]},{code:"370405",name:"台儿庄区",region_level:3,children:[]},{code:"370406",name:"山亭区",region_level:3,children:[]},{code:"370481",name:"滕州市",region_level:3,children:[]}]},{code:"3705",name:"东营市",region_level:2,children:[{code:"370502",name:"东营区",region_level:3,children:[]},{code:"370503",name:"河口区",region_level:3,children:[]},{code:"370505",name:"垦利区",region_level:3,children:[]},{code:"370522",name:"利津县",region_level:3,children:[]},{code:"370523",name:"广饶县",region_level:3,children:[]}]},{code:"3706",name:"烟台市",region_level:2,children:[{code:"370602",name:"芝罘区",region_level:3,children:[]},{code:"370611",name:"福山区",region_level:3,children:[]},{code:"370612",name:"牟平区",region_level:3,children:[]},{code:"370613",name:"莱山区",region_level:3,children:[]},{code:"370634",name:"长岛县",region_level:3,children:[]},{code:"370681",name:"龙口市",region_level:3,children:[]},{code:"370682",name:"莱阳市",region_level:3,children:[]},{code:"370683",name:"莱州市",region_level:3,children:[]},{code:"370684",name:"蓬莱市",region_level:3,children:[]},{code:"370685",name:"招远市",region_level:3,children:[]},{code:"370686",name:"栖霞市",region_level:3,children:[]},{code:"370687",name:"海阳市",region_level:3,children:[]}]},{code:"3707",name:"潍坊市",region_level:2,children:[{code:"370702",name:"潍城区",region_level:3,children:[]},{code:"370703",name:"寒亭区",region_level:3,children:[]},{code:"370704",name:"坊子区",region_level:3,children:[]},{code:"370705",name:"奎文区",region_level:3,children:[]},{code:"370724",name:"临朐县",region_level:3,children:[]},{code:"370725",name:"昌乐县",region_level:3,children:[]},{code:"370781",name:"青州市",region_level:3,children:[]},{code:"370782",name:"诸城市",region_level:3,children:[]},{code:"370783",name:"寿光市",region_level:3,children:[]},{code:"370784",name:"安丘市",region_level:3,children:[]},{code:"370785",name:"高密市",region_level:3,children:[]},{code:"370786",name:"昌邑市",region_level:3,children:[]}]},{code:"3708",name:"济宁市",region_level:2,children:[{code:"370811",name:"任城区",region_level:3,children:[]},{code:"370812",name:"兖州区",region_level:3,children:[]},{code:"370826",name:"微山县",region_level:3,children:[]},{code:"370827",name:"鱼台县",region_level:3,children:[]},{code:"370828",name:"金乡县",region_level:3,children:[]},{code:"370829",name:"嘉祥县",region_level:3,children:[]},{code:"370830",name:"汶上县",region_level:3,children:[]},{code:"370831",name:"泗水县",region_level:3,children:[]},{code:"370832",name:"梁山县",region_level:3,children:[]},{code:"370881",name:"曲阜市",region_level:3,children:[]},{code:"370883",name:"邹城市",region_level:3,children:[]}]},{code:"3709",name:"泰安市",region_level:2,children:[{code:"370902",name:"泰山区",region_level:3,children:[]},{code:"370911",name:"岱岳区",region_level:3,children:[]},{code:"370921",name:"宁阳县",region_level:3,children:[]},{code:"370923",name:"东平县",region_level:3,children:[]},{code:"370982",name:"新泰市",region_level:3,children:[]},{code:"370983",name:"肥城市",region_level:3,children:[]}]},{code:"3710",name:"威海市",region_level:2,children:[{code:"371002",name:"环翠区",region_level:3,children:[]},{code:"371003",name:"文登区",region_level:3,children:[]},{code:"371082",name:"荣成市",region_level:3,children:[]},{code:"371083",name:"乳山市",region_level:3,children:[]}]},{code:"3711",name:"日照市",region_level:2,children:[{code:"371102",name:"东港区",region_level:3,children:[]},{code:"371103",name:"岚山区",region_level:3,children:[]},{code:"371121",name:"五莲县",region_level:3,children:[]},{code:"371122",name:"莒县",region_level:3,children:[]}]},{code:"3713",name:"临沂市",region_level:2,children:[{code:"371302",name:"兰山区",region_level:3,children:[]},{code:"371311",name:"罗庄区",region_level:3,children:[]},{code:"371312",name:"河东区",region_level:3,children:[]},{code:"371321",name:"沂南县",region_level:3,children:[]},{code:"371322",name:"郯城县",region_level:3,children:[]},{code:"371323",name:"沂水县",region_level:3,children:[]},{code:"371324",name:"兰陵县",region_level:3,children:[]},{code:"371325",name:"费县",region_level:3,children:[]},{code:"371326",name:"平邑县",region_level:3,children:[]},{code:"371327",name:"莒南县",region_level:3,children:[]},{code:"371328",name:"蒙阴县",region_level:3,children:[]},{code:"371329",name:"临沭县",region_level:3,children:[]}]},{code:"3714",name:"德州市",region_level:2,children:[{code:"371402",name:"德城区",region_level:3,children:[]},{code:"371403",name:"陵城区",region_level:3,children:[]},{code:"371422",name:"宁津县",region_level:3,children:[]},{code:"371423",name:"庆云县",region_level:3,children:[]},{code:"371424",name:"临邑县",region_level:3,children:[]},{code:"371425",name:"齐河县",region_level:3,children:[]},{code:"371426",name:"平原县",region_level:3,children:[]},{code:"371427",name:"夏津县",region_level:3,children:[]},{code:"371428",name:"武城县",region_level:3,children:[]},{code:"371481",name:"乐陵市",region_level:3,children:[]},{code:"371482",name:"禹城市",region_level:3,children:[]}]},{code:"3715",name:"聊城市",region_level:2,children:[{code:"371502",name:"东昌府区",region_level:3,children:[]},{code:"371503",name:"茌平区",region_level:3,children:[]},{code:"371521",name:"阳谷县",region_level:3,children:[]},{code:"371522",name:"莘县",region_level:3,children:[]},{code:"371524",name:"东阿县",region_level:3,children:[]},{code:"371525",name:"冠县",region_level:3,children:[]},{code:"371526",name:"高唐县",region_level:3,children:[]},{code:"371581",name:"临清市",region_level:3,children:[]}]},{code:"3716",name:"滨州市",region_level:2,children:[{code:"371602",name:"滨城区",region_level:3,children:[]},{code:"371603",name:"沾化区",region_level:3,children:[]},{code:"371621",name:"惠民县",region_level:3,children:[]},{code:"371622",name:"阳信县",region_level:3,children:[]},{code:"371623",name:"无棣县",region_level:3,children:[]},{code:"371625",name:"博兴县",region_level:3,children:[]},{code:"371681",name:"邹平市",region_level:3,children:[]}]},{code:"3717",name:"菏泽市",region_level:2,children:[{code:"371702",name:"牡丹区",region_level:3,children:[]},{code:"371703",name:"定陶区",region_level:3,children:[]},{code:"371721",name:"曹县",region_level:3,children:[]},{code:"371722",name:"单县",region_level:3,children:[]},{code:"371723",name:"成武县",region_level:3,children:[]},{code:"371724",name:"巨野县",region_level:3,children:[]},{code:"371725",name:"郓城县",region_level:3,children:[]},{code:"371726",name:"鄄城县",region_level:3,children:[]},{code:"371728",name:"东明县",region_level:3,children:[]}]}]},{code:"41",name:"河南省",region_level:1,children:[{code:"4101",name:"郑州市",region_level:2,children:[{code:"410102",name:"中原区",region_level:3,children:[]},{code:"410103",name:"二七区",region_level:3,children:[]},{code:"410104",name:"管城回族区",region_level:3,children:[]},{code:"410105",name:"金水区",region_level:3,children:[]},{code:"410106",name:"上街区",region_level:3,children:[]},{code:"410108",name:"惠济区",region_level:3,children:[]},{code:"410122",name:"中牟县",region_level:3,children:[]},{code:"410181",name:"巩义市",region_level:3,children:[]},{code:"410182",name:"荥阳市",region_level:3,children:[]},{code:"410183",name:"新密市",region_level:3,children:[]},{code:"410184",name:"新郑市",region_level:3,children:[]},{code:"410185",name:"登封市",region_level:3,children:[]}]},{code:"4102",name:"开封市",region_level:2,children:[{code:"410202",name:"龙亭区",region_level:3,children:[]},{code:"410203",name:"顺河回族区",region_level:3,children:[]},{code:"410204",name:"鼓楼区",region_level:3,children:[]},{code:"410205",name:"禹王台区",region_level:3,children:[]},{code:"410212",name:"祥符区",region_level:3,children:[]},{code:"410221",name:"杞县",region_level:3,children:[]},{code:"410222",name:"通许县",region_level:3,children:[]},{code:"410223",name:"尉氏县",region_level:3,children:[]},{code:"410225",name:"兰考县",region_level:3,children:[]}]},{code:"4103",name:"洛阳市",region_level:2,children:[{code:"410302",name:"老城区",region_level:3,children:[]},{code:"410303",name:"西工区",region_level:3,children:[]},{code:"410304",name:"瀍河回族区",region_level:3,children:[]},{code:"410305",name:"涧西区",region_level:3,children:[]},{code:"410306",name:"吉利区",region_level:3,children:[]},{code:"410311",name:"洛龙区",region_level:3,children:[]},{code:"410322",name:"孟津县",region_level:3,children:[]},{code:"410323",name:"新安县",region_level:3,children:[]},{code:"410324",name:"栾川县",region_level:3,children:[]},{code:"410325",name:"嵩县",region_level:3,children:[]},{code:"410326",name:"汝阳县",region_level:3,children:[]},{code:"410327",name:"宜阳县",region_level:3,children:[]},{code:"410328",name:"洛宁县",region_level:3,children:[]},{code:"410329",name:"伊川县",region_level:3,children:[]},{code:"410381",name:"偃师市",region_level:3,children:[]}]},{code:"4104",name:"平顶山市",region_level:2,children:[{code:"410402",name:"新华区",region_level:3,children:[]},{code:"410403",name:"卫东区",region_level:3,children:[]},{code:"410404",name:"石龙区",region_level:3,children:[]},{code:"410411",name:"湛河区",region_level:3,children:[]},{code:"410421",name:"宝丰县",region_level:3,children:[]},{code:"410422",name:"叶县",region_level:3,children:[]},{code:"410423",name:"鲁山县",region_level:3,children:[]},{code:"410425",name:"郏县",region_level:3,children:[]},{code:"410481",name:"舞钢市",region_level:3,children:[]},{code:"410482",name:"汝州市",region_level:3,children:[]}]},{code:"4105",name:"安阳市",region_level:2,children:[{code:"410502",name:"文峰区",region_level:3,children:[]},{code:"410503",name:"北关区",region_level:3,children:[]},{code:"410505",name:"殷都区",region_level:3,children:[]},{code:"410506",name:"龙安区",region_level:3,children:[]},{code:"410522",name:"安阳县",region_level:3,children:[]},{code:"410523",name:"汤阴县",region_level:3,children:[]},{code:"410526",name:"滑县",region_level:3,children:[]},{code:"410527",name:"内黄县",region_level:3,children:[]},{code:"410581",name:"林州市",region_level:3,children:[]}]},{code:"4106",name:"鹤壁市",region_level:2,children:[{code:"410602",name:"鹤山区",region_level:3,children:[]},{code:"410603",name:"山城区",region_level:3,children:[]},{code:"410611",name:"淇滨区",region_level:3,children:[]},{code:"410621",name:"浚县",region_level:3,children:[]},{code:"410622",name:"淇县",region_level:3,children:[]}]},{code:"4107",name:"新乡市",region_level:2,children:[{code:"410702",name:"红旗区",region_level:3,children:[]},{code:"410703",name:"卫滨区",region_level:3,children:[]},{code:"410704",name:"凤泉区",region_level:3,children:[]},{code:"410711",name:"牧野区",region_level:3,children:[]},{code:"410721",name:"新乡县",region_level:3,children:[]},{code:"410724",name:"获嘉县",region_level:3,children:[]},{code:"410725",name:"原阳县",region_level:3,children:[]},{code:"410726",name:"延津县",region_level:3,children:[]},{code:"410727",name:"封丘县",region_level:3,children:[]},{code:"410781",name:"卫辉市",region_level:3,children:[]},{code:"410782",name:"辉县市",region_level:3,children:[]},{code:"410783",name:"长垣市",region_level:3,children:[]}]},{code:"4108",name:"焦作市",region_level:2,children:[{code:"410802",name:"解放区",region_level:3,children:[]},{code:"410803",name:"中站区",region_level:3,children:[]},{code:"410804",name:"马村区",region_level:3,children:[]},{code:"410811",name:"山阳区",region_level:3,children:[]},{code:"410821",name:"修武县",region_level:3,children:[]},{code:"410822",name:"博爱县",region_level:3,children:[]},{code:"410823",name:"武陟县",region_level:3,children:[]},{code:"410825",name:"温县",region_level:3,children:[]},{code:"410882",name:"沁阳市",region_level:3,children:[]},{code:"410883",name:"孟州市",region_level:3,children:[]}]},{code:"4109",name:"濮阳市",region_level:2,children:[{code:"410902",name:"华龙区",region_level:3,children:[]},{code:"410922",name:"清丰县",region_level:3,children:[]},{code:"410923",name:"南乐县",region_level:3,children:[]},{code:"410926",name:"范县",region_level:3,children:[]},{code:"410927",name:"台前县",region_level:3,children:[]},{code:"410928",name:"濮阳县",region_level:3,children:[]}]},{code:"4110",name:"许昌市",region_level:2,children:[{code:"411002",name:"魏都区",region_level:3,children:[]},{code:"411003",name:"建安区",region_level:3,children:[]},{code:"411024",name:"鄢陵县",region_level:3,children:[]},{code:"411025",name:"襄城县",region_level:3,children:[]},{code:"411081",name:"禹州市",region_level:3,children:[]},{code:"411082",name:"长葛市",region_level:3,children:[]}]},{code:"4111",name:"漯河市",region_level:2,children:[{code:"411102",name:"源汇区",region_level:3,children:[]},{code:"411103",name:"郾城区",region_level:3,children:[]},{code:"411104",name:"召陵区",region_level:3,children:[]},{code:"411121",name:"舞阳县",region_level:3,children:[]},{code:"411122",name:"临颍县",region_level:3,children:[]}]},{code:"4112",name:"三门峡市",region_level:2,children:[{code:"411202",name:"湖滨区",region_level:3,children:[]},{code:"411203",name:"陕州区",region_level:3,children:[]},{code:"411221",name:"渑池县",region_level:3,children:[]},{code:"411224",name:"卢氏县",region_level:3,children:[]},{code:"411281",name:"义马市",region_level:3,children:[]},{code:"411282",name:"灵宝市",region_level:3,children:[]}]},{code:"4113",name:"南阳市",region_level:2,children:[{code:"411302",name:"宛城区",region_level:3,children:[]},{code:"411303",name:"卧龙区",region_level:3,children:[]},{code:"411321",name:"南召县",region_level:3,children:[]},{code:"411322",name:"方城县",region_level:3,children:[]},{code:"411323",name:"西峡县",region_level:3,children:[]},{code:"411324",name:"镇平县",region_level:3,children:[]},{code:"411325",name:"内乡县",region_level:3,children:[]},{code:"411326",name:"淅川县",region_level:3,children:[]},{code:"411327",name:"社旗县",region_level:3,children:[]},{code:"411328",name:"唐河县",region_level:3,children:[]},{code:"411329",name:"新野县",region_level:3,children:[]},{code:"411330",name:"桐柏县",region_level:3,children:[]},{code:"411381",name:"邓州市",region_level:3,children:[]}]},{code:"4114",name:"商丘市",region_level:2,children:[{code:"411402",name:"梁园区",region_level:3,children:[]},{code:"411403",name:"睢阳区",region_level:3,children:[]},{code:"411421",name:"民权县",region_level:3,children:[]},{code:"411422",name:"睢县",region_level:3,children:[]},{code:"411423",name:"宁陵县",region_level:3,children:[]},{code:"411424",name:"柘城县",region_level:3,children:[]},{code:"411425",name:"虞城县",region_level:3,children:[]},{code:"411426",name:"夏邑县",region_level:3,children:[]},{code:"411481",name:"永城市",region_level:3,children:[]}]},{code:"4115",name:"信阳市",region_level:2,children:[{code:"411502",name:"浉河区",region_level:3,children:[]},{code:"411503",name:"平桥区",region_level:3,children:[]},{code:"411521",name:"罗山县",region_level:3,children:[]},{code:"411522",name:"光山县",region_level:3,children:[]},{code:"411523",name:"新县",region_level:3,children:[]},{code:"411524",name:"商城县",region_level:3,children:[]},{code:"411525",name:"固始县",region_level:3,children:[]},{code:"411526",name:"潢川县",region_level:3,children:[]},{code:"411527",name:"淮滨县",region_level:3,children:[]},{code:"411528",name:"息县",region_level:3,children:[]}]},{code:"4116",name:"周口市",region_level:2,children:[{code:"411602",name:"川汇区",region_level:3,children:[]},{code:"411603",name:"淮阳区",region_level:3,children:[]},{code:"411621",name:"扶沟县",region_level:3,children:[]},{code:"411622",name:"西华县",region_level:3,children:[]},{code:"411623",name:"商水县",region_level:3,children:[]},{code:"411624",name:"沈丘县",region_level:3,children:[]},{code:"411625",name:"郸城县",region_level:3,children:[]},{code:"411627",name:"太康县",region_level:3,children:[]},{code:"411628",name:"鹿邑县",region_level:3,children:[]},{code:"411681",name:"项城市",region_level:3,children:[]}]},{code:"4117",name:"驻马店市",region_level:2,children:[{code:"411702",name:"驿城区",region_level:3,children:[]},{code:"411721",name:"西平县",region_level:3,children:[]},{code:"411722",name:"上蔡县",region_level:3,children:[]},{code:"411723",name:"平舆县",region_level:3,children:[]},{code:"411724",name:"正阳县",region_level:3,children:[]},{code:"411725",name:"确山县",region_level:3,children:[]},{code:"411726",name:"泌阳县",region_level:3,children:[]},{code:"411727",name:"汝南县",region_level:3,children:[]},{code:"411728",name:"遂平县",region_level:3,children:[]},{code:"411729",name:"新蔡县",region_level:3,children:[]}]},{code:"4190",name:"省直辖县级行政区",region_level:2,children:[{code:"419001",name:"济源市",region_level:3,children:[]}]}]},{code:"42",name:"湖北省",region_level:1,children:[{code:"4201",name:"武汉市",region_level:2,children:[{code:"420102",name:"江岸区",region_level:3,children:[]},{code:"420103",name:"江汉区",region_level:3,children:[]},{code:"420104",name:"硚口区",region_level:3,children:[]},{code:"420105",name:"汉阳区",region_level:3,children:[]},{code:"420106",name:"武昌区",region_level:3,children:[]},{code:"420107",name:"青山区",region_level:3,children:[]},{code:"420111",name:"洪山区",region_level:3,children:[]},{code:"420112",name:"东西湖区",region_level:3,children:[]},{code:"420113",name:"汉南区",region_level:3,children:[]},{code:"420114",name:"蔡甸区",region_level:3,children:[]},{code:"420115",name:"江夏区",region_level:3,children:[]},{code:"420116",name:"黄陂区",region_level:3,children:[]},{code:"420117",name:"新洲区",region_level:3,children:[]}]},{code:"4202",name:"黄石市",region_level:2,children:[{code:"420202",name:"黄石港区",region_level:3,children:[]},{code:"420203",name:"西塞山区",region_level:3,children:[]},{code:"420204",name:"下陆区",region_level:3,children:[]},{code:"420205",name:"铁山区",region_level:3,children:[]},{code:"420222",name:"阳新县",region_level:3,children:[]},{code:"420281",name:"大冶市",region_level:3,children:[]}]},{code:"4203",name:"十堰市",region_level:2,children:[{code:"420302",name:"茅箭区",region_level:3,children:[]},{code:"420303",name:"张湾区",region_level:3,children:[]},{code:"420304",name:"郧阳区",region_level:3,children:[]},{code:"420322",name:"郧西县",region_level:3,children:[]},{code:"420323",name:"竹山县",region_level:3,children:[]},{code:"420324",name:"竹溪县",region_level:3,children:[]},{code:"420325",name:"房县",region_level:3,children:[]},{code:"420381",name:"丹江口市",region_level:3,children:[]}]},{code:"4205",name:"宜昌市",region_level:2,children:[{code:"420502",name:"西陵区",region_level:3,children:[]},{code:"420503",name:"伍家岗区",region_level:3,children:[]},{code:"420504",name:"点军区",region_level:3,children:[]},{code:"420505",name:"猇亭区",region_level:3,children:[]},{code:"420506",name:"夷陵区",region_level:3,children:[]},{code:"420525",name:"远安县",region_level:3,children:[]},{code:"420526",name:"兴山县",region_level:3,children:[]},{code:"420527",name:"秭归县",region_level:3,children:[]},{code:"420528",name:"长阳土家族自治县",region_level:3,children:[]},{code:"420529",name:"五峰土家族自治县",region_level:3,children:[]},{code:"420581",name:"宜都市",region_level:3,children:[]},{code:"420582",name:"当阳市",region_level:3,children:[]},{code:"420583",name:"枝江市",region_level:3,children:[]}]},{code:"4206",name:"襄阳市",region_level:2,children:[{code:"420602",name:"襄城区",region_level:3,children:[]},{code:"420606",name:"樊城区",region_level:3,children:[]},{code:"420607",name:"襄州区",region_level:3,children:[]},{code:"420624",name:"南漳县",region_level:3,children:[]},{code:"420625",name:"谷城县",region_level:3,children:[]},{code:"420626",name:"保康县",region_level:3,children:[]},{code:"420682",name:"老河口市",region_level:3,children:[]},{code:"420683",name:"枣阳市",region_level:3,children:[]},{code:"420684",name:"宜城市",region_level:3,children:[]}]},{code:"4207",name:"鄂州市",region_level:2,children:[{code:"420702",name:"梁子湖区",region_level:3,children:[]},{code:"420703",name:"华容区",region_level:3,children:[]},{code:"420704",name:"鄂城区",region_level:3,children:[]}]},{code:"4208",name:"荆门市",region_level:2,children:[{code:"420802",name:"东宝区",region_level:3,children:[]},{code:"420804",name:"掇刀区",region_level:3,children:[]},{code:"420822",name:"沙洋县",region_level:3,children:[]},{code:"420881",name:"钟祥市",region_level:3,children:[]},{code:"420882",name:"京山市",region_level:3,children:[]}]},{code:"4209",name:"孝感市",region_level:2,children:[{code:"420902",name:"孝南区",region_level:3,children:[]},{code:"420921",name:"孝昌县",region_level:3,children:[]},{code:"420922",name:"大悟县",region_level:3,children:[]},{code:"420923",name:"云梦县",region_level:3,children:[]},{code:"420981",name:"应城市",region_level:3,children:[]},{code:"420982",name:"安陆市",region_level:3,children:[]},{code:"420984",name:"汉川市",region_level:3,children:[]}]},{code:"4210",name:"荆州市",region_level:2,children:[{code:"421002",name:"沙市区",region_level:3,children:[]},{code:"421003",name:"荆州区",region_level:3,children:[]},{code:"421022",name:"公安县",region_level:3,children:[]},{code:"421023",name:"监利县",region_level:3,children:[]},{code:"421024",name:"江陵县",region_level:3,children:[]},{code:"421081",name:"石首市",region_level:3,children:[]},{code:"421083",name:"洪湖市",region_level:3,children:[]},{code:"421087",name:"松滋市",region_level:3,children:[]}]},{code:"4211",name:"黄冈市",region_level:2,children:[{code:"421102",name:"黄州区",region_level:3,children:[]},{code:"421121",name:"团风县",region_level:3,children:[]},{code:"421122",name:"红安县",region_level:3,children:[]},{code:"421123",name:"罗田县",region_level:3,children:[]},{code:"421124",name:"英山县",region_level:3,children:[]},{code:"421125",name:"浠水县",region_level:3,children:[]},{code:"421126",name:"蕲春县",region_level:3,children:[]},{code:"421127",name:"黄梅县",region_level:3,children:[]},{code:"421181",name:"麻城市",region_level:3,children:[]},{code:"421182",name:"武穴市",region_level:3,children:[]}]},{code:"4212",name:"咸宁市",region_level:2,children:[{code:"421202",name:"咸安区",region_level:3,children:[]},{code:"421221",name:"嘉鱼县",region_level:3,children:[]},{code:"421222",name:"通城县",region_level:3,children:[]},{code:"421223",name:"崇阳县",region_level:3,children:[]},{code:"421224",name:"通山县",region_level:3,children:[]},{code:"421281",name:"赤壁市",region_level:3,children:[]}]},{code:"4213",name:"随州市",region_level:2,children:[{code:"421303",name:"曾都区",region_level:3,children:[]},{code:"421321",name:"随县",region_level:3,children:[]},{code:"421381",name:"广水市",region_level:3,children:[]}]},{code:"4228",name:"恩施土家族苗族自治州",region_level:2,children:[{code:"422801",name:"恩施市",region_level:3,children:[]},{code:"422802",name:"利川市",region_level:3,children:[]},{code:"422822",name:"建始县",region_level:3,children:[]},{code:"422823",name:"巴东县",region_level:3,children:[]},{code:"422825",name:"宣恩县",region_level:3,children:[]},{code:"422826",name:"咸丰县",region_level:3,children:[]},{code:"422827",name:"来凤县",region_level:3,children:[]},{code:"422828",name:"鹤峰县",region_level:3,children:[]}]},{code:"4290",name:"省直辖县级行政区",region_level:2,children:[{code:"429004",name:"仙桃市",region_level:3,children:[]},{code:"429005",name:"潜江市",region_level:3,children:[]},{code:"429006",name:"天门市",region_level:3,children:[]},{code:"429021",name:"神农架林区",region_level:3,children:[]}]}]},{code:"43",name:"湖南省",region_level:1,children:[{code:"4301",name:"长沙市",region_level:2,children:[{code:"430102",name:"芙蓉区",region_level:3,children:[]},{code:"430103",name:"天心区",region_level:3,children:[]},{code:"430104",name:"岳麓区",region_level:3,children:[]},{code:"430105",name:"开福区",region_level:3,children:[]},{code:"430111",name:"雨花区",region_level:3,children:[]},{code:"430112",name:"望城区",region_level:3,children:[]},{code:"430121",name:"长沙县",region_level:3,children:[]},{code:"430181",name:"浏阳市",region_level:3,children:[]},{code:"430182",name:"宁乡市",region_level:3,children:[]}]},{code:"4302",name:"株洲市",region_level:2,children:[{code:"430202",name:"荷塘区",region_level:3,children:[]},{code:"430203",name:"芦淞区",region_level:3,children:[]},{code:"430204",name:"石峰区",region_level:3,children:[]},{code:"430211",name:"天元区",region_level:3,children:[]},{code:"430212",name:"渌口区",region_level:3,children:[]},{code:"430223",name:"攸县",region_level:3,children:[]},{code:"430224",name:"茶陵县",region_level:3,children:[]},{code:"430225",name:"炎陵县",region_level:3,children:[]},{code:"430281",name:"醴陵市",region_level:3,children:[]}]},{code:"4303",name:"湘潭市",region_level:2,children:[{code:"430302",name:"雨湖区",region_level:3,children:[]},{code:"430304",name:"岳塘区",region_level:3,children:[]},{code:"430321",name:"湘潭县",region_level:3,children:[]},{code:"430381",name:"湘乡市",region_level:3,children:[]},{code:"430382",name:"韶山市",region_level:3,children:[]}]},{code:"4304",name:"衡阳市",region_level:2,children:[{code:"430405",name:"珠晖区",region_level:3,children:[]},{code:"430406",name:"雁峰区",region_level:3,children:[]},{code:"430407",name:"石鼓区",region_level:3,children:[]},{code:"430408",name:"蒸湘区",region_level:3,children:[]},{code:"430412",name:"南岳区",region_level:3,children:[]},{code:"430421",name:"衡阳县",region_level:3,children:[]},{code:"430422",name:"衡南县",region_level:3,children:[]},{code:"430423",name:"衡山县",region_level:3,children:[]},{code:"430424",name:"衡东县",region_level:3,children:[]},{code:"430426",name:"祁东县",region_level:3,children:[]},{code:"430481",name:"耒阳市",region_level:3,children:[]},{code:"430482",name:"常宁市",region_level:3,children:[]}]},{code:"4305",name:"邵阳市",region_level:2,children:[{code:"430502",name:"双清区",region_level:3,children:[]},{code:"430503",name:"大祥区",region_level:3,children:[]},{code:"430511",name:"北塔区",region_level:3,children:[]},{code:"430522",name:"新邵县",region_level:3,children:[]},{code:"430523",name:"邵阳县",region_level:3,children:[]},{code:"430524",name:"隆回县",region_level:3,children:[]},{code:"430525",name:"洞口县",region_level:3,children:[]},{code:"430527",name:"绥宁县",region_level:3,children:[]},{code:"430528",name:"新宁县",region_level:3,children:[]},{code:"430529",name:"城步苗族自治县",region_level:3,children:[]},{code:"430581",name:"武冈市",region_level:3,children:[]},{code:"430582",name:"邵东市",region_level:3,children:[]}]},{code:"4306",name:"岳阳市",region_level:2,children:[{code:"430602",name:"岳阳楼区",region_level:3,children:[]},{code:"430603",name:"云溪区",region_level:3,children:[]},{code:"430611",name:"君山区",region_level:3,children:[]},{code:"430621",name:"岳阳县",region_level:3,children:[]},{code:"430623",name:"华容县",region_level:3,children:[]},{code:"430624",name:"湘阴县",region_level:3,children:[]},{code:"430626",name:"平江县",region_level:3,children:[]},{code:"430681",name:"汨罗市",region_level:3,children:[]},{code:"430682",name:"临湘市",region_level:3,children:[]}]},{code:"4307",name:"常德市",region_level:2,children:[{code:"430702",name:"武陵区",region_level:3,children:[]},{code:"430703",name:"鼎城区",region_level:3,children:[]},{code:"430721",name:"安乡县",region_level:3,children:[]},{code:"430722",name:"汉寿县",region_level:3,children:[]},{code:"430723",name:"澧县",region_level:3,children:[]},{code:"430724",name:"临澧县",region_level:3,children:[]},{code:"430725",name:"桃源县",region_level:3,children:[]},{code:"430726",name:"石门县",region_level:3,children:[]},{code:"430781",name:"津市市",region_level:3,children:[]}]},{code:"4308",name:"张家界市",region_level:2,children:[{code:"430802",name:"永定区",region_level:3,children:[]},{code:"430811",name:"武陵源区",region_level:3,children:[]},{code:"430821",name:"慈利县",region_level:3,children:[]},{code:"430822",name:"桑植县",region_level:3,children:[]}]},{code:"4309",name:"益阳市",region_level:2,children:[{code:"430902",name:"资阳区",region_level:3,children:[]},{code:"430903",name:"赫山区",region_level:3,children:[]},{code:"430921",name:"南县",region_level:3,children:[]},{code:"430922",name:"桃江县",region_level:3,children:[]},{code:"430923",name:"安化县",region_level:3,children:[]},{code:"430981",name:"沅江市",region_level:3,children:[]}]},{code:"4310",name:"郴州市",region_level:2,children:[{code:"431002",name:"北湖区",region_level:3,children:[]},{code:"431003",name:"苏仙区",region_level:3,children:[]},{code:"431021",name:"桂阳县",region_level:3,children:[]},{code:"431022",name:"宜章县",region_level:3,children:[]},{code:"431023",name:"永兴县",region_level:3,children:[]},{code:"431024",name:"嘉禾县",region_level:3,children:[]},{code:"431025",name:"临武县",region_level:3,children:[]},{code:"431026",name:"汝城县",region_level:3,children:[]},{code:"431027",name:"桂东县",region_level:3,children:[]},{code:"431028",name:"安仁县",region_level:3,children:[]},{code:"431081",name:"资兴市",region_level:3,children:[]}]},{code:"4311",name:"永州市",region_level:2,children:[{code:"431102",name:"零陵区",region_level:3,children:[]},{code:"431103",name:"冷水滩区",region_level:3,children:[]},{code:"431121",name:"祁阳县",region_level:3,children:[]},{code:"431122",name:"东安县",region_level:3,children:[]},{code:"431123",name:"双牌县",region_level:3,children:[]},{code:"431124",name:"道县",region_level:3,children:[]},{code:"431125",name:"江永县",region_level:3,children:[]},{code:"431126",name:"宁远县",region_level:3,children:[]},{code:"431127",name:"蓝山县",region_level:3,children:[]},{code:"431128",name:"新田县",region_level:3,children:[]},{code:"431129",name:"江华瑶族自治县",region_level:3,children:[]}]},{code:"4312",name:"怀化市",region_level:2,children:[{code:"431202",name:"鹤城区",region_level:3,children:[]},{code:"431221",name:"中方县",region_level:3,children:[]},{code:"431222",name:"沅陵县",region_level:3,children:[]},{code:"431223",name:"辰溪县",region_level:3,children:[]},{code:"431224",name:"溆浦县",region_level:3,children:[]},{code:"431225",name:"会同县",region_level:3,children:[]},{code:"431226",name:"麻阳苗族自治县",region_level:3,children:[]},{code:"431227",name:"新晃侗族自治县",region_level:3,children:[]},{code:"431228",name:"芷江侗族自治县",region_level:3,children:[]},{code:"431229",name:"靖州苗族侗族自治县",region_level:3,children:[]},{code:"431230",name:"通道侗族自治县",region_level:3,children:[]},{code:"431281",name:"洪江市",region_level:3,children:[]}]},{code:"4313",name:"娄底市",region_level:2,children:[{code:"431302",name:"娄星区",region_level:3,children:[]},{code:"431321",name:"双峰县",region_level:3,children:[]},{code:"431322",name:"新化县",region_level:3,children:[]},{code:"431381",name:"冷水江市",region_level:3,children:[]},{code:"431382",name:"涟源市",region_level:3,children:[]}]},{code:"4331",name:"湘西土家族苗族自治州",region_level:2,children:[{code:"433101",name:"吉首市",region_level:3,children:[]},{code:"433122",name:"泸溪县",region_level:3,children:[]},{code:"433123",name:"凤凰县",region_level:3,children:[]},{code:"433124",name:"花垣县",region_level:3,children:[]},{code:"433125",name:"保靖县",region_level:3,children:[]},{code:"433126",name:"古丈县",region_level:3,children:[]},{code:"433127",name:"永顺县",region_level:3,children:[]},{code:"433130",name:"龙山县",region_level:3,children:[]}]}]},{code:"44",name:"广东省",region_level:1,children:[{code:"4401",name:"广州市",region_level:2,children:[{code:"440103",name:"荔湾区",region_level:3,children:[]},{code:"440104",name:"越秀区",region_level:3,children:[]},{code:"440105",name:"海珠区",region_level:3,children:[]},{code:"440106",name:"天河区",region_level:3,children:[]},{code:"440111",name:"白云区",region_level:3,children:[]},{code:"440112",name:"黄埔区",region_level:3,children:[]},{code:"440113",name:"番禺区",region_level:3,children:[]},{code:"440114",name:"花都区",region_level:3,children:[]},{code:"440115",name:"南沙区",region_level:3,children:[]},{code:"440117",name:"从化区",region_level:3,children:[]},{code:"440118",name:"增城区",region_level:3,children:[]}]},{code:"4402",name:"韶关市",region_level:2,children:[{code:"440203",name:"武江区",region_level:3,children:[]},{code:"440204",name:"浈江区",region_level:3,children:[]},{code:"440205",name:"曲江区",region_level:3,children:[]},{code:"440222",name:"始兴县",region_level:3,children:[]},{code:"440224",name:"仁化县",region_level:3,children:[]},{code:"440229",name:"翁源县",region_level:3,children:[]},{code:"440232",name:"乳源瑶族自治县",region_level:3,children:[]},{code:"440233",name:"新丰县",region_level:3,children:[]},{code:"440281",name:"乐昌市",region_level:3,children:[]},{code:"440282",name:"南雄市",region_level:3,children:[]}]},{code:"4403",name:"深圳市",region_level:2,children:[{code:"440303",name:"罗湖区",region_level:3,children:[]},{code:"440304",name:"福田区",region_level:3,children:[]},{code:"440305",name:"南山区",region_level:3,children:[]},{code:"440306",name:"宝安区",region_level:3,children:[]},{code:"440307",name:"龙岗区",region_level:3,children:[]},{code:"440308",name:"盐田区",region_level:3,children:[]},{code:"440309",name:"龙华区",region_level:3,children:[]},{code:"440310",name:"坪山区",region_level:3,children:[]},{code:"440311",name:"光明区",region_level:3,children:[]}]},{code:"4404",name:"珠海市",region_level:2,children:[{code:"440402",name:"香洲区",region_level:3,children:[]},{code:"440403",name:"斗门区",region_level:3,children:[]},{code:"440404",name:"金湾区",region_level:3,children:[]}]},{code:"4405",name:"汕头市",region_level:2,children:[{code:"440507",name:"龙湖区",region_level:3,children:[]},{code:"440511",name:"金平区",region_level:3,children:[]},{code:"440512",name:"濠江区",region_level:3,children:[]},{code:"440513",name:"潮阳区",region_level:3,children:[]},{code:"440514",name:"潮南区",region_level:3,children:[]},{code:"440515",name:"澄海区",region_level:3,children:[]},{code:"440523",name:"南澳县",region_level:3,children:[]}]},{code:"4406",name:"佛山市",region_level:2,children:[{code:"440604",name:"禅城区",region_level:3,children:[]},{code:"440605",name:"南海区",region_level:3,children:[]},{code:"440606",name:"顺德区",region_level:3,children:[]},{code:"440607",name:"三水区",region_level:3,children:[]},{code:"440608",name:"高明区",region_level:3,children:[]}]},{code:"4407",name:"江门市",region_level:2,children:[{code:"440703",name:"蓬江区",region_level:3,children:[]},{code:"440704",name:"江海区",region_level:3,children:[]},{code:"440705",name:"新会区",region_level:3,children:[]},{code:"440781",name:"台山市",region_level:3,children:[]},{code:"440783",name:"开平市",region_level:3,children:[]},{code:"440784",name:"鹤山市",region_level:3,children:[]},{code:"440785",name:"恩平市",region_level:3,children:[]}]},{code:"4408",name:"湛江市",region_level:2,children:[{code:"440802",name:"赤坎区",region_level:3,children:[]},{code:"440803",name:"霞山区",region_level:3,children:[]},{code:"440804",name:"坡头区",region_level:3,children:[]},{code:"440811",name:"麻章区",region_level:3,children:[]},{code:"440823",name:"遂溪县",region_level:3,children:[]},{code:"440825",name:"徐闻县",region_level:3,children:[]},{code:"440881",name:"廉江市",region_level:3,children:[]},{code:"440882",name:"雷州市",region_level:3,children:[]},{code:"440883",name:"吴川市",region_level:3,children:[]}]},{code:"4409",name:"茂名市",region_level:2,children:[{code:"440902",name:"茂南区",region_level:3,children:[]},{code:"440904",name:"电白区",region_level:3,children:[]},{code:"440981",name:"高州市",region_level:3,children:[]},{code:"440982",name:"化州市",region_level:3,children:[]},{code:"440983",name:"信宜市",region_level:3,children:[]}]},{code:"4412",name:"肇庆市",region_level:2,children:[{code:"441202",name:"端州区",region_level:3,children:[]},{code:"441203",name:"鼎湖区",region_level:3,children:[]},{code:"441204",name:"高要区",region_level:3,children:[]},{code:"441223",name:"广宁县",region_level:3,children:[]},{code:"441224",name:"怀集县",region_level:3,children:[]},{code:"441225",name:"封开县",region_level:3,children:[]},{code:"441226",name:"德庆县",region_level:3,children:[]},{code:"441284",name:"四会市",region_level:3,children:[]}]},{code:"4413",name:"惠州市",region_level:2,children:[{code:"441302",name:"惠城区",region_level:3,children:[]},{code:"441303",name:"惠阳区",region_level:3,children:[]},{code:"441322",name:"博罗县",region_level:3,children:[]},{code:"441323",name:"惠东县",region_level:3,children:[]},{code:"441324",name:"龙门县",region_level:3,children:[]}]},{code:"4414",name:"梅州市",region_level:2,children:[{code:"441402",name:"梅江区",region_level:3,children:[]},{code:"441403",name:"梅县区",region_level:3,children:[]},{code:"441422",name:"大埔县",region_level:3,children:[]},{code:"441423",name:"丰顺县",region_level:3,children:[]},{code:"441424",name:"五华县",region_level:3,children:[]},{code:"441426",name:"平远县",region_level:3,children:[]},{code:"441427",name:"蕉岭县",region_level:3,children:[]},{code:"441481",name:"兴宁市",region_level:3,children:[]}]},{code:"4415",name:"汕尾市",region_level:2,children:[{code:"441502",name:"城区",region_level:3,children:[]},{code:"441521",name:"海丰县",region_level:3,children:[]},{code:"441523",name:"陆河县",region_level:3,children:[]},{code:"441581",name:"陆丰市",region_level:3,children:[]}]},{code:"4416",name:"河源市",region_level:2,children:[{code:"441602",name:"源城区",region_level:3,children:[]},{code:"441621",name:"紫金县",region_level:3,children:[]},{code:"441622",name:"龙川县",region_level:3,children:[]},{code:"441623",name:"连平县",region_level:3,children:[]},{code:"441624",name:"和平县",region_level:3,children:[]},{code:"441625",name:"东源县",region_level:3,children:[]}]},{code:"4417",name:"阳江市",region_level:2,children:[{code:"441702",name:"江城区",region_level:3,children:[]},{code:"441704",name:"阳东区",region_level:3,children:[]},{code:"441721",name:"阳西县",region_level:3,children:[]},{code:"441781",name:"阳春市",region_level:3,children:[]}]},{code:"4418",name:"清远市",region_level:2,children:[{code:"441802",name:"清城区",region_level:3,children:[]},{code:"441803",name:"清新区",region_level:3,children:[]},{code:"441821",name:"佛冈县",region_level:3,children:[]},{code:"441823",name:"阳山县",region_level:3,children:[]},{code:"441825",name:"连山壮族瑶族自治县",region_level:3,children:[]},{code:"441826",name:"连南瑶族自治县",region_level:3,children:[]},{code:"441881",name:"英德市",region_level:3,children:[]},{code:"441882",name:"连州市",region_level:3,children:[]}]},{code:"4419",name:"东莞市",region_level:2,children:[{code:"441900",name:"东莞市",region_level:3,children:[]}]},{code:"4420",name:"中山市",region_level:2,children:[{code:"442000",name:"中山市",region_level:3,children:[]}]},{code:"4451",name:"潮州市",region_level:2,children:[{code:"445102",name:"湘桥区",region_level:3,children:[]},{code:"445103",name:"潮安区",region_level:3,children:[]},{code:"445122",name:"饶平县",region_level:3,children:[]}]},{code:"4452",name:"揭阳市",region_level:2,children:[{code:"445202",name:"榕城区",region_level:3,children:[]},{code:"445203",name:"揭东区",region_level:3,children:[]},{code:"445222",name:"揭西县",region_level:3,children:[]},{code:"445224",name:"惠来县",region_level:3,children:[]},{code:"445281",name:"普宁市",region_level:3,children:[]}]},{code:"4453",name:"云浮市",region_level:2,children:[{code:"445302",name:"云城区",region_level:3,children:[]},{code:"445303",name:"云安区",region_level:3,children:[]},{code:"445321",name:"新兴县",region_level:3,children:[]},{code:"445322",name:"郁南县",region_level:3,children:[]},{code:"445381",name:"罗定市",region_level:3,children:[]}]}]},{code:"45",name:"广西壮族自治区",region_level:1,children:[{code:"4501",name:"南宁市",region_level:2,children:[{code:"450102",name:"兴宁区",region_level:3,children:[]},{code:"450103",name:"青秀区",region_level:3,children:[]},{code:"450105",name:"江南区",region_level:3,children:[]},{code:"450107",name:"西乡塘区",region_level:3,children:[]},{code:"450108",name:"良庆区",region_level:3,children:[]},{code:"450109",name:"邕宁区",region_level:3,children:[]},{code:"450110",name:"武鸣区",region_level:3,children:[]},{code:"450123",name:"隆安县",region_level:3,children:[]},{code:"450124",name:"马山县",region_level:3,children:[]},{code:"450125",name:"上林县",region_level:3,children:[]},{code:"450126",name:"宾阳县",region_level:3,children:[]},{code:"450127",name:"横县",region_level:3,children:[]}]},{code:"4502",name:"柳州市",region_level:2,children:[{code:"450202",name:"城中区",region_level:3,children:[]},{code:"450203",name:"鱼峰区",region_level:3,children:[]},{code:"450204",name:"柳南区",region_level:3,children:[]},{code:"450205",name:"柳北区",region_level:3,children:[]},{code:"450206",name:"柳江区",region_level:3,children:[]},{code:"450222",name:"柳城县",region_level:3,children:[]},{code:"450223",name:"鹿寨县",region_level:3,children:[]},{code:"450224",name:"融安县",region_level:3,children:[]},{code:"450225",name:"融水苗族自治县",region_level:3,children:[]},{code:"450226",name:"三江侗族自治县",region_level:3,children:[]}]},{code:"4503",name:"桂林市",region_level:2,children:[{code:"450302",name:"秀峰区",region_level:3,children:[]},{code:"450303",name:"叠彩区",region_level:3,children:[]},{code:"450304",name:"象山区",region_level:3,children:[]},{code:"450305",name:"七星区",region_level:3,children:[]},{code:"450311",name:"雁山区",region_level:3,children:[]},{code:"450312",name:"临桂区",region_level:3,children:[]},{code:"450321",name:"阳朔县",region_level:3,children:[]},{code:"450323",name:"灵川县",region_level:3,children:[]},{code:"450324",name:"全州县",region_level:3,children:[]},{code:"450325",name:"兴安县",region_level:3,children:[]},{code:"450326",name:"永福县",region_level:3,children:[]},{code:"450327",name:"灌阳县",region_level:3,children:[]},{code:"450328",name:"龙胜各族自治县",region_level:3,children:[]},{code:"450329",name:"资源县",region_level:3,children:[]},{code:"450330",name:"平乐县",region_level:3,children:[]},{code:"450332",name:"恭城瑶族自治县",region_level:3,children:[]},{code:"450381",name:"荔浦市",region_level:3,children:[]}]},{code:"4504",name:"梧州市",region_level:2,children:[{code:"450403",name:"万秀区",region_level:3,children:[]},{code:"450405",name:"长洲区",region_level:3,children:[]},{code:"450406",name:"龙圩区",region_level:3,children:[]},{code:"450421",name:"苍梧县",region_level:3,children:[]},{code:"450422",name:"藤县",region_level:3,children:[]},{code:"450423",name:"蒙山县",region_level:3,children:[]},{code:"450481",name:"岑溪市",region_level:3,children:[]}]},{code:"4505",name:"北海市",region_level:2,children:[{code:"450502",name:"海城区",region_level:3,children:[]},{code:"450503",name:"银海区",region_level:3,children:[]},{code:"450512",name:"铁山港区",region_level:3,children:[]},{code:"450521",name:"合浦县",region_level:3,children:[]}]},{code:"4506",name:"防城港市",region_level:2,children:[{code:"450602",name:"港口区",region_level:3,children:[]},{code:"450603",name:"防城区",region_level:3,children:[]},{code:"450621",name:"上思县",region_level:3,children:[]},{code:"450681",name:"东兴市",region_level:3,children:[]}]},{code:"4507",name:"钦州市",region_level:2,children:[{code:"450702",name:"钦南区",region_level:3,children:[]},{code:"450703",name:"钦北区",region_level:3,children:[]},{code:"450721",name:"灵山县",region_level:3,children:[]},{code:"450722",name:"浦北县",region_level:3,children:[]}]},{code:"4508",name:"贵港市",region_level:2,children:[{code:"450802",name:"港北区",region_level:3,children:[]},{code:"450803",name:"港南区",region_level:3,children:[]},{code:"450804",name:"覃塘区",region_level:3,children:[]},{code:"450821",name:"平南县",region_level:3,children:[]},{code:"450881",name:"桂平市",region_level:3,children:[]}]},{code:"4509",name:"玉林市",region_level:2,children:[{code:"450902",name:"玉州区",region_level:3,children:[]},{code:"450903",name:"福绵区",region_level:3,children:[]},{code:"450921",name:"容县",region_level:3,children:[]},{code:"450922",name:"陆川县",region_level:3,children:[]},{code:"450923",name:"博白县",region_level:3,children:[]},{code:"450924",name:"兴业县",region_level:3,children:[]},{code:"450981",name:"北流市",region_level:3,children:[]}]},{code:"4510",name:"百色市",region_level:2,children:[{code:"451002",name:"右江区",region_level:3,children:[]},{code:"451003",name:"田阳区",region_level:3,children:[]},{code:"451022",name:"田东县",region_level:3,children:[]},{code:"451024",name:"德保县",region_level:3,children:[]},{code:"451026",name:"那坡县",region_level:3,children:[]},{code:"451027",name:"凌云县",region_level:3,children:[]},{code:"451028",name:"乐业县",region_level:3,children:[]},{code:"451029",name:"田林县",region_level:3,children:[]},{code:"451030",name:"西林县",region_level:3,children:[]},{code:"451031",name:"隆林各族自治县",region_level:3,children:[]},{code:"451081",name:"靖西市",region_level:3,children:[]},{code:"451082",name:"平果市",region_level:3,children:[]}]},{code:"4511",name:"贺州市",region_level:2,children:[{code:"451102",name:"八步区",region_level:3,children:[]},{code:"451103",name:"平桂区",region_level:3,children:[]},{code:"451121",name:"昭平县",region_level:3,children:[]},{code:"451122",name:"钟山县",region_level:3,children:[]},{code:"451123",name:"富川瑶族自治县",region_level:3,children:[]}]},{code:"4512",name:"河池市",region_level:2,children:[{code:"451202",name:"金城江区",region_level:3,children:[]},{code:"451203",name:"宜州区",region_level:3,children:[]},{code:"451221",name:"南丹县",region_level:3,children:[]},{code:"451222",name:"天峨县",region_level:3,children:[]},{code:"451223",name:"凤山县",region_level:3,children:[]},{code:"451224",name:"东兰县",region_level:3,children:[]},{code:"451225",name:"罗城仫佬族自治县",region_level:3,children:[]},{code:"451226",name:"环江毛南族自治县",region_level:3,children:[]},{code:"451227",name:"巴马瑶族自治县",region_level:3,children:[]},{code:"451228",name:"都安瑶族自治县",region_level:3,children:[]},{code:"451229",name:"大化瑶族自治县",region_level:3,children:[]}]},{code:"4513",name:"来宾市",region_level:2,children:[{code:"451302",name:"兴宾区",region_level:3,children:[]},{code:"451321",name:"忻城县",region_level:3,children:[]},{code:"451322",name:"象州县",region_level:3,children:[]},{code:"451323",name:"武宣县",region_level:3,children:[]},{code:"451324",name:"金秀瑶族自治县",region_level:3,children:[]},{code:"451381",name:"合山市",region_level:3,children:[]}]},{code:"4514",name:"崇左市",region_level:2,children:[{code:"451402",name:"江州区",region_level:3,children:[]},{code:"451421",name:"扶绥县",region_level:3,children:[]},{code:"451422",name:"宁明县",region_level:3,children:[]},{code:"451423",name:"龙州县",region_level:3,children:[]},{code:"451424",name:"大新县",region_level:3,children:[]},{code:"451425",name:"天等县",region_level:3,children:[]},{code:"451481",name:"凭祥市",region_level:3,children:[]}]}]},{code:"46",name:"海南省",region_level:1,children:[{code:"4601",name:"海口市",region_level:2,children:[{code:"460105",name:"秀英区",region_level:3,children:[]},{code:"460106",name:"龙华区",region_level:3,children:[]},{code:"460107",name:"琼山区",region_level:3,children:[]},{code:"460108",name:"美兰区",region_level:3,children:[]}]},{code:"4602",name:"三亚市",region_level:2,children:[{code:"460202",name:"海棠区",region_level:3,children:[]},{code:"460203",name:"吉阳区",region_level:3,children:[]},{code:"460204",name:"天涯区",region_level:3,children:[]},{code:"460205",name:"崖州区",region_level:3,children:[]}]},{code:"4603",name:"三沙市",region_level:2,children:[{code:"460300",name:"三沙市",region_level:3,children:[]}]},{code:"4604",name:"儋州市",region_level:2,children:[{code:"460400",name:"儋州市",region_level:3,children:[]}]},{code:"4690",name:"省直辖县级行政区",region_level:2,children:[{code:"469001",name:"五指山市",region_level:3,children:[]},{code:"469002",name:"琼海市",region_level:3,children:[]},{code:"469005",name:"文昌市",region_level:3,children:[]},{code:"469006",name:"万宁市",region_level:3,children:[]},{code:"469007",name:"东方市",region_level:3,children:[]},{code:"469021",name:"定安县",region_level:3,children:[]},{code:"469022",name:"屯昌县",region_level:3,children:[]},{code:"469023",name:"澄迈县",region_level:3,children:[]},{code:"469024",name:"临高县",region_level:3,children:[]},{code:"469025",name:"白沙黎族自治县",region_level:3,children:[]},{code:"469026",name:"昌江黎族自治县",region_level:3,children:[]},{code:"469027",name:"乐东黎族自治县",region_level:3,children:[]},{code:"469028",name:"陵水黎族自治县",region_level:3,children:[]},{code:"469029",name:"保亭黎族苗族自治县",region_level:3,children:[]},{code:"469030",name:"琼中黎族苗族自治县",region_level:3,children:[]}]}]},{code:"50",name:"重庆市",region_level:1,children:[{code:"5001",name:"重庆市",region_level:2,children:[{code:"500101",name:"万州区",region_level:3,children:[]},{code:"500102",name:"涪陵区",region_level:3,children:[]},{code:"500103",name:"渝中区",region_level:3,children:[]},{code:"500104",name:"大渡口区",region_level:3,children:[]},{code:"500105",name:"江北区",region_level:3,children:[]},{code:"500106",name:"沙坪坝区",region_level:3,children:[]},{code:"500107",name:"九龙坡区",region_level:3,children:[]},{code:"500108",name:"南岸区",region_level:3,children:[]},{code:"500109",name:"北碚区",region_level:3,children:[]},{code:"500110",name:"綦江区",region_level:3,children:[]},{code:"500111",name:"大足区",region_level:3,children:[]},{code:"500112",name:"渝北区",region_level:3,children:[]},{code:"500113",name:"巴南区",region_level:3,children:[]},{code:"500114",name:"黔江区",region_level:3,children:[]},{code:"500115",name:"长寿区",region_level:3,children:[]},{code:"500116",name:"江津区",region_level:3,children:[]},{code:"500117",name:"合川区",region_level:3,children:[]},{code:"500118",name:"永川区",region_level:3,children:[]},{code:"500119",name:"南川区",region_level:3,children:[]},{code:"500120",name:"璧山区",region_level:3,children:[]},{code:"500151",name:"铜梁区",region_level:3,children:[]},{code:"500152",name:"潼南区",region_level:3,children:[]},{code:"500153",name:"荣昌区",region_level:3,children:[]},{code:"500154",name:"开州区",region_level:3,children:[]},{code:"500155",name:"梁平区",region_level:3,children:[]},{code:"500156",name:"武隆区",region_level:3,children:[]}]},{code:"5002",name:"重庆市",region_level:2,children:[{code:"500229",name:"城口县",region_level:3,children:[]},{code:"500230",name:"丰都县",region_level:3,children:[]},{code:"500231",name:"垫江县",region_level:3,children:[]},{code:"500233",name:"忠县",region_level:3,children:[]},{code:"500235",name:"云阳县",region_level:3,children:[]},{code:"500236",name:"奉节县",region_level:3,children:[]},{code:"500237",name:"巫山县",region_level:3,children:[]},{code:"500238",name:"巫溪县",region_level:3,children:[]},{code:"500240",name:"石柱土家族自治县",region_level:3,children:[]},{code:"500241",name:"秀山土家族苗族自治县",region_level:3,children:[]},{code:"500242",name:"酉阳土家族苗族自治县",region_level:3,children:[]},{code:"500243",name:"彭水苗族土家族自治县",region_level:3,children:[]}]}]},{code:"51",name:"四川省",region_level:1,children:[{code:"5101",name:"成都市",region_level:2,children:[{code:"510104",name:"锦江区",region_level:3,children:[]},{code:"510105",name:"青羊区",region_level:3,children:[]},{code:"510106",name:"金牛区",region_level:3,children:[]},{code:"510107",name:"武侯区",region_level:3,children:[]},{code:"510108",name:"成华区",region_level:3,children:[]},{code:"510112",name:"龙泉驿区",region_level:3,children:[]},{code:"510113",name:"青白江区",region_level:3,children:[]},{code:"510114",name:"新都区",region_level:3,children:[]},{code:"510115",name:"温江区",region_level:3,children:[]},{code:"510116",name:"双流区",region_level:3,children:[]},{code:"510117",name:"郫都区",region_level:3,children:[]},{code:"510121",name:"金堂县",region_level:3,children:[]},{code:"510129",name:"大邑县",region_level:3,children:[]},{code:"510131",name:"蒲江县",region_level:3,children:[]},{code:"510132",name:"新津县",region_level:3,children:[]},{code:"510181",name:"都江堰市",region_level:3,children:[]},{code:"510182",name:"彭州市",region_level:3,children:[]},{code:"510183",name:"邛崃市",region_level:3,children:[]},{code:"510184",name:"崇州市",region_level:3,children:[]},{code:"510185",name:"简阳市",region_level:3,children:[]}]},{code:"5103",name:"自贡市",region_level:2,children:[{code:"510302",name:"自流井区",region_level:3,children:[]},{code:"510303",name:"贡井区",region_level:3,children:[]},{code:"510304",name:"大安区",region_level:3,children:[]},{code:"510311",name:"沿滩区",region_level:3,children:[]},{code:"510321",name:"荣县",region_level:3,children:[]},{code:"510322",name:"富顺县",region_level:3,children:[]}]},{code:"5104",name:"攀枝花市",region_level:2,children:[{code:"510402",name:"东区",region_level:3,children:[]},{code:"510403",name:"西区",region_level:3,children:[]},{code:"510411",name:"仁和区",region_level:3,children:[]},{code:"510421",name:"米易县",region_level:3,children:[]},{code:"510422",name:"盐边县",region_level:3,children:[]}]},{code:"5105",name:"泸州市",region_level:2,children:[{code:"510502",name:"江阳区",region_level:3,children:[]},{code:"510503",name:"纳溪区",region_level:3,children:[]},{code:"510504",name:"龙马潭区",region_level:3,children:[]},{code:"510521",name:"泸县",region_level:3,children:[]},{code:"510522",name:"合江县",region_level:3,children:[]},{code:"510524",name:"叙永县",region_level:3,children:[]},{code:"510525",name:"古蔺县",region_level:3,children:[]}]},{code:"5106",name:"德阳市",region_level:2,children:[{code:"510603",name:"旌阳区",region_level:3,children:[]},{code:"510604",name:"罗江区",region_level:3,children:[]},{code:"510623",name:"中江县",region_level:3,children:[]},{code:"510681",name:"广汉市",region_level:3,children:[]},{code:"510682",name:"什邡市",region_level:3,children:[]},{code:"510683",name:"绵竹市",region_level:3,children:[]}]},{code:"5107",name:"绵阳市",region_level:2,children:[{code:"510703",name:"涪城区",region_level:3,children:[]},{code:"510704",name:"游仙区",region_level:3,children:[]},{code:"510705",name:"安州区",region_level:3,children:[]},{code:"510722",name:"三台县",region_level:3,children:[]},{code:"510723",name:"盐亭县",region_level:3,children:[]},{code:"510725",name:"梓潼县",region_level:3,children:[]},{code:"510726",name:"北川羌族自治县",region_level:3,children:[]},{code:"510727",name:"平武县",region_level:3,children:[]},{code:"510781",name:"江油市",region_level:3,children:[]}]},{code:"5108",name:"广元市",region_level:2,children:[{code:"510802",name:"利州区",region_level:3,children:[]},{code:"510811",name:"昭化区",region_level:3,children:[]},{code:"510812",name:"朝天区",region_level:3,children:[]},{code:"510821",name:"旺苍县",region_level:3,children:[]},{code:"510822",name:"青川县",region_level:3,children:[]},{code:"510823",name:"剑阁县",region_level:3,children:[]},{code:"510824",name:"苍溪县",region_level:3,children:[]}]},{code:"5109",name:"遂宁市",region_level:2,children:[{code:"510903",name:"船山区",region_level:3,children:[]},{code:"510904",name:"安居区",region_level:3,children:[]},{code:"510921",name:"蓬溪县",region_level:3,children:[]},{code:"510923",name:"大英县",region_level:3,children:[]},{code:"510981",name:"射洪市",region_level:3,children:[]}]},{code:"5110",name:"内江市",region_level:2,children:[{code:"511002",name:"市中区",region_level:3,children:[]},{code:"511011",name:"东兴区",region_level:3,children:[]},{code:"511024",name:"威远县",region_level:3,children:[]},{code:"511025",name:"资中县",region_level:3,children:[]},{code:"511083",name:"隆昌市",region_level:3,children:[]}]},{code:"5111",name:"乐山市",region_level:2,children:[{code:"511102",name:"市中区",region_level:3,children:[]},{code:"511111",name:"沙湾区",region_level:3,children:[]},{code:"511112",name:"五通桥区",region_level:3,children:[]},{code:"511113",name:"金口河区",region_level:3,children:[]},{code:"511123",name:"犍为县",region_level:3,children:[]},{code:"511124",name:"井研县",region_level:3,children:[]},{code:"511126",name:"夹江县",region_level:3,children:[]},{code:"511129",name:"沐川县",region_level:3,children:[]},{code:"511132",name:"峨边彝族自治县",region_level:3,children:[]},{code:"511133",name:"马边彝族自治县",region_level:3,children:[]},{code:"511181",name:"峨眉山市",region_level:3,children:[]}]},{code:"5113",name:"南充市",region_level:2,children:[{code:"511302",name:"顺庆区",region_level:3,children:[]},{code:"511303",name:"高坪区",region_level:3,children:[]},{code:"511304",name:"嘉陵区",region_level:3,children:[]},{code:"511321",name:"南部县",region_level:3,children:[]},{code:"511322",name:"营山县",region_level:3,children:[]},{code:"511323",name:"蓬安县",region_level:3,children:[]},{code:"511324",name:"仪陇县",region_level:3,children:[]},{code:"511325",name:"西充县",region_level:3,children:[]},{code:"511381",name:"阆中市",region_level:3,children:[]}]},{code:"5114",name:"眉山市",region_level:2,children:[{code:"511402",name:"东坡区",region_level:3,children:[]},{code:"511403",name:"彭山区",region_level:3,children:[]},{code:"511421",name:"仁寿县",region_level:3,children:[]},{code:"511423",name:"洪雅县",region_level:3,children:[]},{code:"511424",name:"丹棱县",region_level:3,children:[]},{code:"511425",name:"青神县",region_level:3,children:[]}]},{code:"5115",name:"宜宾市",region_level:2,children:[{code:"511502",name:"翠屏区",region_level:3,children:[]},{code:"511503",name:"南溪区",region_level:3,children:[]},{code:"511504",name:"叙州区",region_level:3,children:[]},{code:"511523",name:"江安县",region_level:3,children:[]},{code:"511524",name:"长宁县",region_level:3,children:[]},{code:"511525",name:"高县",region_level:3,children:[]},{code:"511526",name:"珙县",region_level:3,children:[]},{code:"511527",name:"筠连县",region_level:3,children:[]},{code:"511528",name:"兴文县",region_level:3,children:[]},{code:"511529",name:"屏山县",region_level:3,children:[]}]},{code:"5116",name:"广安市",region_level:2,children:[{code:"511602",name:"广安区",region_level:3,children:[]},{code:"511603",name:"前锋区",region_level:3,children:[]},{code:"511621",name:"岳池县",region_level:3,children:[]},{code:"511622",name:"武胜县",region_level:3,children:[]},{code:"511623",name:"邻水县",region_level:3,children:[]},{code:"511681",name:"华蓥市",region_level:3,children:[]}]},{code:"5117",name:"达州市",region_level:2,children:[{code:"511702",name:"通川区",region_level:3,children:[]},{code:"511703",name:"达川区",region_level:3,children:[]},{code:"511722",name:"宣汉县",region_level:3,children:[]},{code:"511723",name:"开江县",region_level:3,children:[]},{code:"511724",name:"大竹县",region_level:3,children:[]},{code:"511725",name:"渠县",region_level:3,children:[]},{code:"511781",name:"万源市",region_level:3,children:[]}]},{code:"5118",name:"雅安市",region_level:2,children:[{code:"511802",name:"雨城区",region_level:3,children:[]},{code:"511803",name:"名山区",region_level:3,children:[]},{code:"511822",name:"荥经县",region_level:3,children:[]},{code:"511823",name:"汉源县",region_level:3,children:[]},{code:"511824",name:"石棉县",region_level:3,children:[]},{code:"511825",name:"天全县",region_level:3,children:[]},{code:"511826",name:"芦山县",region_level:3,children:[]},{code:"511827",name:"宝兴县",region_level:3,children:[]}]},{code:"5119",name:"巴中市",region_level:2,children:[{code:"511902",name:"巴州区",region_level:3,children:[]},{code:"511903",name:"恩阳区",region_level:3,children:[]},{code:"511921",name:"通江县",region_level:3,children:[]},{code:"511922",name:"南江县",region_level:3,children:[]},{code:"511923",name:"平昌县",region_level:3,children:[]}]},{code:"5120",name:"资阳市",region_level:2,children:[{code:"512002",name:"雁江区",region_level:3,children:[]},{code:"512021",name:"安岳县",region_level:3,children:[]},{code:"512022",name:"乐至县",region_level:3,children:[]}]},{code:"5132",name:"阿坝藏族羌族自治州",region_level:2,children:[{code:"513201",name:"马尔康市",region_level:3,children:[]},{code:"513221",name:"汶川县",region_level:3,children:[]},{code:"513222",name:"理县",region_level:3,children:[]},{code:"513223",name:"茂县",region_level:3,children:[]},{code:"513224",name:"松潘县",region_level:3,children:[]},{code:"513225",name:"九寨沟县",region_level:3,children:[]},{code:"513226",name:"金川县",region_level:3,children:[]},{code:"513227",name:"小金县",region_level:3,children:[]},{code:"513228",name:"黑水县",region_level:3,children:[]},{code:"513230",name:"壤塘县",region_level:3,children:[]},{code:"513231",name:"阿坝县",region_level:3,children:[]},{code:"513232",name:"若尔盖县",region_level:3,children:[]},{code:"513233",name:"红原县",region_level:3,children:[]}]},{code:"5133",name:"甘孜藏族自治州",region_level:2,children:[{code:"513301",name:"康定市",region_level:3,children:[]},{code:"513322",name:"泸定县",region_level:3,children:[]},{code:"513323",name:"丹巴县",region_level:3,children:[]},{code:"513324",name:"九龙县",region_level:3,children:[]},{code:"513325",name:"雅江县",region_level:3,children:[]},{code:"513326",name:"道孚县",region_level:3,children:[]},{code:"513327",name:"炉霍县",region_level:3,children:[]},{code:"513328",name:"甘孜县",region_level:3,children:[]},{code:"513329",name:"新龙县",region_level:3,children:[]},{code:"513330",name:"德格县",region_level:3,children:[]},{code:"513331",name:"白玉县",region_level:3,children:[]},{code:"513332",name:"石渠县",region_level:3,children:[]},{code:"513333",name:"色达县",region_level:3,children:[]},{code:"513334",name:"理塘县",region_level:3,children:[]},{code:"513335",name:"巴塘县",region_level:3,children:[]},{code:"513336",name:"乡城县",region_level:3,children:[]},{code:"513337",name:"稻城县",region_level:3,children:[]},{code:"513338",name:"得荣县",region_level:3,children:[]}]},{code:"5134",name:"凉山彝族自治州",region_level:2,children:[{code:"513401",name:"西昌市",region_level:3,children:[]},{code:"513422",name:"木里藏族自治县",region_level:3,children:[]},{code:"513423",name:"盐源县",region_level:3,children:[]},{code:"513424",name:"德昌县",region_level:3,children:[]},{code:"513425",name:"会理县",region_level:3,children:[]},{code:"513426",name:"会东县",region_level:3,children:[]},{code:"513427",name:"宁南县",region_level:3,children:[]},{code:"513428",name:"普格县",region_level:3,children:[]},{code:"513429",name:"布拖县",region_level:3,children:[]},{code:"513430",name:"金阳县",region_level:3,children:[]},{code:"513431",name:"昭觉县",region_level:3,children:[]},{code:"513432",name:"喜德县",region_level:3,children:[]},{code:"513433",name:"冕宁县",region_level:3,children:[]},{code:"513434",name:"越西县",region_level:3,children:[]},{code:"513435",name:"甘洛县",region_level:3,children:[]},{code:"513436",name:"美姑县",region_level:3,children:[]},{code:"513437",name:"雷波县",region_level:3,children:[]}]}]},{code:"52",name:"贵州省",region_level:1,children:[{code:"5201",name:"贵阳市",region_level:2,children:[{code:"520102",name:"南明区",region_level:3,children:[]},{code:"520103",name:"云岩区",region_level:3,children:[]},{code:"520111",name:"花溪区",region_level:3,children:[]},{code:"520112",name:"乌当区",region_level:3,children:[]},{code:"520113",name:"白云区",region_level:3,children:[]},{code:"520115",name:"观山湖区",region_level:3,children:[]},{code:"520121",name:"开阳县",region_level:3,children:[]},{code:"520122",name:"息烽县",region_level:3,children:[]},{code:"520123",name:"修文县",region_level:3,children:[]},{code:"520181",name:"清镇市",region_level:3,children:[]}]},{code:"5202",name:"六盘水市",region_level:2,children:[{code:"520201",name:"钟山区",region_level:3,children:[]},{code:"520203",name:"六枝特区",region_level:3,children:[]},{code:"520221",name:"水城县",region_level:3,children:[]},{code:"520281",name:"盘州市",region_level:3,children:[]}]},{code:"5203",name:"遵义市",region_level:2,children:[{code:"520302",name:"红花岗区",region_level:3,children:[]},{code:"520303",name:"汇川区",region_level:3,children:[]},{code:"520304",name:"播州区",region_level:3,children:[]},{code:"520322",name:"桐梓县",region_level:3,children:[]},{code:"520323",name:"绥阳县",region_level:3,children:[]},{code:"520324",name:"正安县",region_level:3,children:[]},{code:"520325",name:"道真仡佬族苗族自治县",region_level:3,children:[]},{code:"520326",name:"务川仡佬族苗族自治县",region_level:3,children:[]},{code:"520327",name:"凤冈县",region_level:3,children:[]},{code:"520328",name:"湄潭县",region_level:3,children:[]},{code:"520329",name:"余庆县",region_level:3,children:[]},{code:"520330",name:"习水县",region_level:3,children:[]},{code:"520381",name:"赤水市",region_level:3,children:[]},{code:"520382",name:"仁怀市",region_level:3,children:[]}]},{code:"5204",name:"安顺市",region_level:2,children:[{code:"520402",name:"西秀区",region_level:3,children:[]},{code:"520403",name:"平坝区",region_level:3,children:[]},{code:"520422",name:"普定县",region_level:3,children:[]},{code:"520423",name:"镇宁布依族苗族自治县",region_level:3,children:[]},{code:"520424",name:"关岭布依族苗族自治县",region_level:3,children:[]},{code:"520425",name:"紫云苗族布依族自治县",region_level:3,children:[]}]},{code:"5205",name:"毕节市",region_level:2,children:[{code:"520502",name:"七星关区",region_level:3,children:[]},{code:"520521",name:"大方县",region_level:3,children:[]},{code:"520522",name:"黔西县",region_level:3,children:[]},{code:"520523",name:"金沙县",region_level:3,children:[]},{code:"520524",name:"织金县",region_level:3,children:[]},{code:"520525",name:"纳雍县",region_level:3,children:[]},{code:"520526",name:"威宁彝族回族苗族自治县",region_level:3,children:[]},{code:"520527",name:"赫章县",region_level:3,children:[]}]},{code:"5206",name:"铜仁市",region_level:2,children:[{code:"520602",name:"碧江区",region_level:3,children:[]},{code:"520603",name:"万山区",region_level:3,children:[]},{code:"520621",name:"江口县",region_level:3,children:[]},{code:"520622",name:"玉屏侗族自治县",region_level:3,children:[]},{code:"520623",name:"石阡县",region_level:3,children:[]},{code:"520624",name:"思南县",region_level:3,children:[]},{code:"520625",name:"印江土家族苗族自治县",region_level:3,children:[]},{code:"520626",name:"德江县",region_level:3,children:[]},{code:"520627",name:"沿河土家族自治县",region_level:3,children:[]},{code:"520628",name:"松桃苗族自治县",region_level:3,children:[]}]},{code:"5223",name:"黔西南布依族苗族自治州",region_level:2,children:[{code:"522301",name:"兴义市",region_level:3,children:[]},{code:"522302",name:"兴仁市",region_level:3,children:[]},{code:"522323",name:"普安县",region_level:3,children:[]},{code:"522324",name:"晴隆县",region_level:3,children:[]},{code:"522325",name:"贞丰县",region_level:3,children:[]},{code:"522326",name:"望谟县",region_level:3,children:[]},{code:"522327",name:"册亨县",region_level:3,children:[]},{code:"522328",name:"安龙县",region_level:3,children:[]}]},{code:"5226",name:"黔东南苗族侗族自治州",region_level:2,children:[{code:"522601",name:"凯里市",region_level:3,children:[]},{code:"522622",name:"黄平县",region_level:3,children:[]},{code:"522623",name:"施秉县",region_level:3,children:[]},{code:"522624",name:"三穗县",region_level:3,children:[]},{code:"522625",name:"镇远县",region_level:3,children:[]},{code:"522626",name:"岑巩县",region_level:3,children:[]},{code:"522627",name:"天柱县",region_level:3,children:[]},{code:"522628",name:"锦屏县",region_level:3,children:[]},{code:"522629",name:"剑河县",region_level:3,children:[]},{code:"522630",name:"台江县",region_level:3,children:[]},{code:"522631",name:"黎平县",region_level:3,children:[]},{code:"522632",name:"榕江县",region_level:3,children:[]},{code:"522633",name:"从江县",region_level:3,children:[]},{code:"522634",name:"雷山县",region_level:3,children:[]},{code:"522635",name:"麻江县",region_level:3,children:[]},{code:"522636",name:"丹寨县",region_level:3,children:[]}]},{code:"5227",name:"黔南布依族苗族自治州",region_level:2,children:[{code:"522701",name:"都匀市",region_level:3,children:[]},{code:"522702",name:"福泉市",region_level:3,children:[]},{code:"522722",name:"荔波县",region_level:3,children:[]},{code:"522723",name:"贵定县",region_level:3,children:[]},{code:"522725",name:"瓮安县",region_level:3,children:[]},{code:"522726",name:"独山县",region_level:3,children:[]},{code:"522727",name:"平塘县",region_level:3,children:[]},{code:"522728",name:"罗甸县",region_level:3,children:[]},{code:"522729",name:"长顺县",region_level:3,children:[]},{code:"522730",name:"龙里县",region_level:3,children:[]},{code:"522731",name:"惠水县",region_level:3,children:[]},{code:"522732",name:"三都水族自治县",region_level:3,children:[]}]}]},{code:"53",name:"云南省",region_level:1,children:[{code:"5301",name:"昆明市",region_level:2,children:[{code:"530102",name:"五华区",region_level:3,children:[]},{code:"530103",name:"盘龙区",region_level:3,children:[]},{code:"530111",name:"官渡区",region_level:3,children:[]},{code:"530112",name:"西山区",region_level:3,children:[]},{code:"530113",name:"东川区",region_level:3,children:[]},{code:"530114",name:"呈贡区",region_level:3,children:[]},{code:"530115",name:"晋宁区",region_level:3,children:[]},{code:"530124",name:"富民县",region_level:3,children:[]},{code:"530125",name:"宜良县",region_level:3,children:[]},{code:"530126",name:"石林彝族自治县",region_level:3,children:[]},{code:"530127",name:"嵩明县",region_level:3,children:[]},{code:"530128",name:"禄劝彝族苗族自治县",region_level:3,children:[]},{code:"530129",name:"寻甸回族彝族自治县",region_level:3,children:[]},{code:"530181",name:"安宁市",region_level:3,children:[]}]},{code:"5303",name:"曲靖市",region_level:2,children:[{code:"530302",name:"麒麟区",region_level:3,children:[]},{code:"530303",name:"沾益区",region_level:3,children:[]},{code:"530304",name:"马龙区",region_level:3,children:[]},{code:"530322",name:"陆良县",region_level:3,children:[]},{code:"530323",name:"师宗县",region_level:3,children:[]},{code:"530324",name:"罗平县",region_level:3,children:[]},{code:"530325",name:"富源县",region_level:3,children:[]},{code:"530326",name:"会泽县",region_level:3,children:[]},{code:"530381",name:"宣威市",region_level:3,children:[]}]},{code:"5304",name:"玉溪市",region_level:2,children:[{code:"530402",name:"红塔区",region_level:3,children:[]},{code:"530403",name:"江川区",region_level:3,children:[]},{code:"530423",name:"通海县",region_level:3,children:[]},{code:"530424",name:"华宁县",region_level:3,children:[]},{code:"530425",name:"易门县",region_level:3,children:[]},{code:"530426",name:"峨山彝族自治县",region_level:3,children:[]},{code:"530427",name:"新平彝族傣族自治县",region_level:3,children:[]},{code:"530428",name:"元江哈尼族彝族傣族自治县",region_level:3,children:[]},{code:"530481",name:"澄江市",region_level:3,children:[]}]},{code:"5305",name:"保山市",region_level:2,children:[{code:"530502",name:"隆阳区",region_level:3,children:[]},{code:"530521",name:"施甸县",region_level:3,children:[]},{code:"530523",name:"龙陵县",region_level:3,children:[]},{code:"530524",name:"昌宁县",region_level:3,children:[]},{code:"530581",name:"腾冲市",region_level:3,children:[]}]},{code:"5306",name:"昭通市",region_level:2,children:[{code:"530602",name:"昭阳区",region_level:3,children:[]},{code:"530621",name:"鲁甸县",region_level:3,children:[]},{code:"530622",name:"巧家县",region_level:3,children:[]},{code:"530623",name:"盐津县",region_level:3,children:[]},{code:"530624",name:"大关县",region_level:3,children:[]},{code:"530625",name:"永善县",region_level:3,children:[]},{code:"530626",name:"绥江县",region_level:3,children:[]},{code:"530627",name:"镇雄县",region_level:3,children:[]},{code:"530628",name:"彝良县",region_level:3,children:[]},{code:"530629",name:"威信县",region_level:3,children:[]},{code:"530681",name:"水富市",region_level:3,children:[]}]},{code:"5307",name:"丽江市",region_level:2,children:[{code:"530702",name:"古城区",region_level:3,children:[]},{code:"530721",name:"玉龙纳西族自治县",region_level:3,children:[]},{code:"530722",name:"永胜县",region_level:3,children:[]},{code:"530723",name:"华坪县",region_level:3,children:[]},{code:"530724",name:"宁蒗彝族自治县",region_level:3,children:[]}]},{code:"5308",name:"普洱市",region_level:2,children:[{code:"530802",name:"思茅区",region_level:3,children:[]},{code:"530821",name:"宁洱哈尼族彝族自治县",region_level:3,children:[]},{code:"530822",name:"墨江哈尼族自治县",region_level:3,children:[]},{code:"530823",name:"景东彝族自治县",region_level:3,children:[]},{code:"530824",name:"景谷傣族彝族自治县",region_level:3,children:[]},{code:"530825",name:"镇沅彝族哈尼族拉祜族自治县",region_level:3,children:[]},{code:"530826",name:"江城哈尼族彝族自治县",region_level:3,children:[]},{code:"530827",name:"孟连傣族拉祜族佤族自治县",region_level:3,children:[]},{code:"530828",name:"澜沧拉祜族自治县",region_level:3,children:[]},{code:"530829",name:"西盟佤族自治县",region_level:3,children:[]}]},{code:"5309",name:"临沧市",region_level:2,children:[{code:"530902",name:"临翔区",region_level:3,children:[]},{code:"530921",name:"凤庆县",region_level:3,children:[]},{code:"530922",name:"云县",region_level:3,children:[]},{code:"530923",name:"永德县",region_level:3,children:[]},{code:"530924",name:"镇康县",region_level:3,children:[]},{code:"530925",name:"双江拉祜族佤族布朗族傣族自治县",region_level:3,children:[]},{code:"530926",name:"耿马傣族佤族自治县",region_level:3,children:[]},{code:"530927",name:"沧源佤族自治县",region_level:3,children:[]}]},{code:"5323",name:"楚雄彝族自治州",region_level:2,children:[{code:"532301",name:"楚雄市",region_level:3,children:[]},{code:"532322",name:"双柏县",region_level:3,children:[]},{code:"532323",name:"牟定县",region_level:3,children:[]},{code:"532324",name:"南华县",region_level:3,children:[]},{code:"532325",name:"姚安县",region_level:3,children:[]},{code:"532326",name:"大姚县",region_level:3,children:[]},{code:"532327",name:"永仁县",region_level:3,children:[]},{code:"532328",name:"元谋县",region_level:3,children:[]},{code:"532329",name:"武定县",region_level:3,children:[]},{code:"532331",name:"禄丰县",region_level:3,children:[]}]},{code:"5325",name:"红河哈尼族彝族自治州",region_level:2,children:[{code:"532501",name:"个旧市",region_level:3,children:[]},{code:"532502",name:"开远市",region_level:3,children:[]},{code:"532503",name:"蒙自市",region_level:3,children:[]},{code:"532504",name:"弥勒市",region_level:3,children:[]},{code:"532523",name:"屏边苗族自治县",region_level:3,children:[]},{code:"532524",name:"建水县",region_level:3,children:[]},{code:"532525",name:"石屏县",region_level:3,children:[]},{code:"532527",name:"泸西县",region_level:3,children:[]},{code:"532528",name:"元阳县",region_level:3,children:[]},{code:"532529",name:"红河县",region_level:3,children:[]},{code:"532530",name:"金平苗族瑶族傣族自治县",region_level:3,children:[]},{code:"532531",name:"绿春县",region_level:3,children:[]},{code:"532532",name:"河口瑶族自治县",region_level:3,children:[]}]},{code:"5326",name:"文山壮族苗族自治州",region_level:2,children:[{code:"532601",name:"文山市",region_level:3,children:[]},{code:"532622",name:"砚山县",region_level:3,children:[]},{code:"532623",name:"西畴县",region_level:3,children:[]},{code:"532624",name:"麻栗坡县",region_level:3,children:[]},{code:"532625",name:"马关县",region_level:3,children:[]},{code:"532626",name:"丘北县",region_level:3,children:[]},{code:"532627",name:"广南县",region_level:3,children:[]},{code:"532628",name:"富宁县",region_level:3,children:[]}]},{code:"5328",name:"西双版纳傣族自治州",region_level:2,children:[{code:"532801",name:"景洪市",region_level:3,children:[]},{code:"532822",name:"勐海县",region_level:3,children:[]},{code:"532823",name:"勐腊县",region_level:3,children:[]}]},{code:"5329",name:"大理白族自治州",region_level:2,children:[{code:"532901",name:"大理市",region_level:3,children:[]},{code:"532922",name:"漾濞彝族自治县",region_level:3,children:[]},{code:"532923",name:"祥云县",region_level:3,children:[]},{code:"532924",name:"宾川县",region_level:3,children:[]},{code:"532925",name:"弥渡县",region_level:3,children:[]},{code:"532926",name:"南涧彝族自治县",region_level:3,children:[]},{code:"532927",name:"巍山彝族回族自治县",region_level:3,children:[]},{code:"532928",name:"永平县",region_level:3,children:[]},{code:"532929",name:"云龙县",region_level:3,children:[]},{code:"532930",name:"洱源县",region_level:3,children:[]},{code:"532931",name:"剑川县",region_level:3,children:[]},{code:"532932",name:"鹤庆县",region_level:3,children:[]}]},{code:"5331",name:"德宏傣族景颇族自治州",region_level:2,children:[{code:"533102",name:"瑞丽市",region_level:3,children:[]},{code:"533103",name:"芒市",region_level:3,children:[]},{code:"533122",name:"梁河县",region_level:3,children:[]},{code:"533123",name:"盈江县",region_level:3,children:[]},{code:"533124",name:"陇川县",region_level:3,children:[]}]},{code:"5333",name:"怒江傈僳族自治州",region_level:2,children:[{code:"533301",name:"泸水市",region_level:3,children:[]},{code:"533323",name:"福贡县",region_level:3,children:[]},{code:"533324",name:"贡山独龙族怒族自治县",region_level:3,children:[]},{code:"533325",name:"兰坪白族普米族自治县",region_level:3,children:[]}]},{code:"5334",name:"迪庆藏族自治州",region_level:2,children:[{code:"533401",name:"香格里拉市",region_level:3,children:[]},{code:"533422",name:"德钦县",region_level:3,children:[]},{code:"533423",name:"维西傈僳族自治县",region_level:3,children:[]}]}]},{code:"54",name:"西藏自治区",region_level:1,children:[{code:"5401",name:"拉萨市",region_level:2,children:[{code:"540102",name:"城关区",region_level:3,children:[]},{code:"540103",name:"堆龙德庆区",region_level:3,children:[]},{code:"540104",name:"达孜区",region_level:3,children:[]},{code:"540121",name:"林周县",region_level:3,children:[]},{code:"540122",name:"当雄县",region_level:3,children:[]},{code:"540123",name:"尼木县",region_level:3,children:[]},{code:"540124",name:"曲水县",region_level:3,children:[]},{code:"540127",name:"墨竹工卡县",region_level:3,children:[]}]},{code:"5402",name:"日喀则市",region_level:2,children:[{code:"540202",name:"桑珠孜区",region_level:3,children:[]},{code:"540221",name:"南木林县",region_level:3,children:[]},{code:"540222",name:"江孜县",region_level:3,children:[]},{code:"540223",name:"定日县",region_level:3,children:[]},{code:"540224",name:"萨迦县",region_level:3,children:[]},{code:"540225",name:"拉孜县",region_level:3,children:[]},{code:"540226",name:"昂仁县",region_level:3,children:[]},{code:"540227",name:"谢通门县",region_level:3,children:[]},{code:"540228",name:"白朗县",region_level:3,children:[]},{code:"540229",name:"仁布县",region_level:3,children:[]},{code:"540230",name:"康马县",region_level:3,children:[]},{code:"540231",name:"定结县",region_level:3,children:[]},{code:"540232",name:"仲巴县",region_level:3,children:[]},{code:"540233",name:"亚东县",region_level:3,children:[]},{code:"540234",name:"吉隆县",region_level:3,children:[]},{code:"540235",name:"聂拉木县",region_level:3,children:[]},{code:"540236",name:"萨嘎县",region_level:3,children:[]},{code:"540237",name:"岗巴县",region_level:3,children:[]}]},{code:"5403",name:"昌都市",region_level:2,children:[{code:"540302",name:"卡若区",region_level:3,children:[]},{code:"540321",name:"江达县",region_level:3,children:[]},{code:"540322",name:"贡觉县",region_level:3,children:[]},{code:"540323",name:"类乌齐县",region_level:3,children:[]},{code:"540324",name:"丁青县",region_level:3,children:[]},{code:"540325",name:"察雅县",region_level:3,children:[]},{code:"540326",name:"八宿县",region_level:3,children:[]},{code:"540327",name:"左贡县",region_level:3,children:[]},{code:"540328",name:"芒康县",region_level:3,children:[]},{code:"540329",name:"洛隆县",region_level:3,children:[]},{code:"540330",name:"边坝县",region_level:3,children:[]}]},{code:"5404",name:"林芝市",region_level:2,children:[{code:"540402",name:"巴宜区",region_level:3,children:[]},{code:"540421",name:"工布江达县",region_level:3,children:[]},{code:"540422",name:"米林县",region_level:3,children:[]},{code:"540423",name:"墨脱县",region_level:3,children:[]},{code:"540424",name:"波密县",region_level:3,children:[]},{code:"540425",name:"察隅县",region_level:3,children:[]},{code:"540426",name:"朗县",region_level:3,children:[]}]},{code:"5405",name:"山南市",region_level:2,children:[{code:"540502",name:"乃东区",region_level:3,children:[]},{code:"540521",name:"扎囊县",region_level:3,children:[]},{code:"540522",name:"贡嘎县",region_level:3,children:[]},{code:"540523",name:"桑日县",region_level:3,children:[]},{code:"540524",name:"琼结县",region_level:3,children:[]},{code:"540525",name:"曲松县",region_level:3,children:[]},{code:"540526",name:"措美县",region_level:3,children:[]},{code:"540527",name:"洛扎县",region_level:3,children:[]},{code:"540528",name:"加查县",region_level:3,children:[]},{code:"540529",name:"隆子县",region_level:3,children:[]},{code:"540530",name:"错那县",region_level:3,children:[]},{code:"540531",name:"浪卡子县",region_level:3,children:[]}]},{code:"5406",name:"那曲市",region_level:2,children:[{code:"540602",name:"色尼区",region_level:3,children:[]},{code:"540621",name:"嘉黎县",region_level:3,children:[]},{code:"540622",name:"比如县",region_level:3,children:[]},{code:"540623",name:"聂荣县",region_level:3,children:[]},{code:"540624",name:"安多县",region_level:3,children:[]},{code:"540625",name:"申扎县",region_level:3,children:[]},{code:"540626",name:"索县",region_level:3,children:[]},{code:"540627",name:"班戈县",region_level:3,children:[]},{code:"540628",name:"巴青县",region_level:3,children:[]},{code:"540629",name:"尼玛县",region_level:3,children:[]},{code:"540630",name:"双湖县",region_level:3,children:[]}]},{code:"5425",name:"阿里地区",region_level:2,children:[{code:"542521",name:"普兰县",region_level:3,children:[]},{code:"542522",name:"札达县",region_level:3,children:[]},{code:"542523",name:"噶尔县",region_level:3,children:[]},{code:"542524",name:"日土县",region_level:3,children:[]},{code:"542525",name:"革吉县",region_level:3,children:[]},{code:"542526",name:"改则县",region_level:3,children:[]},{code:"542527",name:"措勤县",region_level:3,children:[]}]}]},{code:"61",name:"陕西省",region_level:1,children:[{code:"6101",name:"西安市",region_level:2,children:[{code:"610102",name:"新城区",region_level:3,children:[]},{code:"610103",name:"碑林区",region_level:3,children:[]},{code:"610104",name:"莲湖区",region_level:3,children:[]},{code:"610111",name:"灞桥区",region_level:3,children:[]},{code:"610112",name:"未央区",region_level:3,children:[]},{code:"610113",name:"雁塔区",region_level:3,children:[]},{code:"610114",name:"阎良区",region_level:3,children:[]},{code:"610115",name:"临潼区",region_level:3,children:[]},{code:"610116",name:"长安区",region_level:3,children:[]},{code:"610117",name:"高陵区",region_level:3,children:[]},{code:"610118",name:"鄠邑区",region_level:3,children:[]},{code:"610122",name:"蓝田县",region_level:3,children:[]},{code:"610124",name:"周至县",region_level:3,children:[]}]},{code:"6102",name:"铜川市",region_level:2,children:[{code:"610202",name:"王益区",region_level:3,children:[]},{code:"610203",name:"印台区",region_level:3,children:[]},{code:"610204",name:"耀州区",region_level:3,children:[]},{code:"610222",name:"宜君县",region_level:3,children:[]}]},{code:"6103",name:"宝鸡市",region_level:2,children:[{code:"610302",name:"渭滨区",region_level:3,children:[]},{code:"610303",name:"金台区",region_level:3,children:[]},{code:"610304",name:"陈仓区",region_level:3,children:[]},{code:"610322",name:"凤翔县",region_level:3,children:[]},{code:"610323",name:"岐山县",region_level:3,children:[]},{code:"610324",name:"扶风县",region_level:3,children:[]},{code:"610326",name:"眉县",region_level:3,children:[]},{code:"610327",name:"陇县",region_level:3,children:[]},{code:"610328",name:"千阳县",region_level:3,children:[]},{code:"610329",name:"麟游县",region_level:3,children:[]},{code:"610330",name:"凤县",region_level:3,children:[]},{code:"610331",name:"太白县",region_level:3,children:[]}]},{code:"6104",name:"咸阳市",region_level:2,children:[{code:"610402",name:"秦都区",region_level:3,children:[]},{code:"610403",name:"杨陵区",region_level:3,children:[]},{code:"610404",name:"渭城区",region_level:3,children:[]},{code:"610422",name:"三原县",region_level:3,children:[]},{code:"610423",name:"泾阳县",region_level:3,children:[]},{code:"610424",name:"乾县",region_level:3,children:[]},{code:"610425",name:"礼泉县",region_level:3,children:[]},{code:"610426",name:"永寿县",region_level:3,children:[]},{code:"610428",name:"长武县",region_level:3,children:[]},{code:"610429",name:"旬邑县",region_level:3,children:[]},{code:"610430",name:"淳化县",region_level:3,children:[]},{code:"610431",name:"武功县",region_level:3,children:[]},{code:"610481",name:"兴平市",region_level:3,children:[]},{code:"610482",name:"彬州市",region_level:3,children:[]}]},{code:"6105",name:"渭南市",region_level:2,children:[{code:"610502",name:"临渭区",region_level:3,children:[]},{code:"610503",name:"华州区",region_level:3,children:[]},{code:"610522",name:"潼关县",region_level:3,children:[]},{code:"610523",name:"大荔县",region_level:3,children:[]},{code:"610524",name:"合阳县",region_level:3,children:[]},{code:"610525",name:"澄城县",region_level:3,children:[]},{code:"610526",name:"蒲城县",region_level:3,children:[]},{code:"610527",name:"白水县",region_level:3,children:[]},{code:"610528",name:"富平县",region_level:3,children:[]},{code:"610581",name:"韩城市",region_level:3,children:[]},{code:"610582",name:"华阴市",region_level:3,children:[]}]},{code:"6106",name:"延安市",region_level:2,children:[{code:"610602",name:"宝塔区",region_level:3,children:[]},{code:"610603",name:"安塞区",region_level:3,children:[]},{code:"610621",name:"延长县",region_level:3,children:[]},{code:"610622",name:"延川县",region_level:3,children:[]},{code:"610625",name:"志丹县",region_level:3,children:[]},{code:"610626",name:"吴起县",region_level:3,children:[]},{code:"610627",name:"甘泉县",region_level:3,children:[]},{code:"610628",name:"富县",region_level:3,children:[]},{code:"610629",name:"洛川县",region_level:3,children:[]},{code:"610630",name:"宜川县",region_level:3,children:[]},{code:"610631",name:"黄龙县",region_level:3,children:[]},{code:"610632",name:"黄陵县",region_level:3,children:[]},{code:"610681",name:"子长市",region_level:3,children:[]}]},{code:"6107",name:"汉中市",region_level:2,children:[{code:"610702",name:"汉台区",region_level:3,children:[]},{code:"610703",name:"南郑区",region_level:3,children:[]},{code:"610722",name:"城固县",region_level:3,children:[]},{code:"610723",name:"洋县",region_level:3,children:[]},{code:"610724",name:"西乡县",region_level:3,children:[]},{code:"610725",name:"勉县",region_level:3,children:[]},{code:"610726",name:"宁强县",region_level:3,children:[]},{code:"610727",name:"略阳县",region_level:3,children:[]},{code:"610728",name:"镇巴县",region_level:3,children:[]},{code:"610729",name:"留坝县",region_level:3,children:[]},{code:"610730",name:"佛坪县",region_level:3,children:[]}]},{code:"6108",name:"榆林市",region_level:2,children:[{code:"610802",name:"榆阳区",region_level:3,children:[]},{code:"610803",name:"横山区",region_level:3,children:[]},{code:"610822",name:"府谷县",region_level:3,children:[]},{code:"610824",name:"靖边县",region_level:3,children:[]},{code:"610825",name:"定边县",region_level:3,children:[]},{code:"610826",name:"绥德县",region_level:3,children:[]},{code:"610827",name:"米脂县",region_level:3,children:[]},{code:"610828",name:"佳县",region_level:3,children:[]},{code:"610829",name:"吴堡县",region_level:3,children:[]},{code:"610830",name:"清涧县",region_level:3,children:[]},{code:"610831",name:"子洲县",region_level:3,children:[]},{code:"610881",name:"神木市",region_level:3,children:[]}]},{code:"6109",name:"安康市",region_level:2,children:[{code:"610902",name:"汉滨区",region_level:3,children:[]},{code:"610921",name:"汉阴县",region_level:3,children:[]},{code:"610922",name:"石泉县",region_level:3,children:[]},{code:"610923",name:"宁陕县",region_level:3,children:[]},{code:"610924",name:"紫阳县",region_level:3,children:[]},{code:"610925",name:"岚皋县",region_level:3,children:[]},{code:"610926",name:"平利县",region_level:3,children:[]},{code:"610927",name:"镇坪县",region_level:3,children:[]},{code:"610928",name:"旬阳县",region_level:3,children:[]},{code:"610929",name:"白河县",region_level:3,children:[]}]},{code:"6110",name:"商洛市",region_level:2,children:[{code:"611002",name:"商州区",region_level:3,children:[]},{code:"611021",name:"洛南县",region_level:3,children:[]},{code:"611022",name:"丹凤县",region_level:3,children:[]},{code:"611023",name:"商南县",region_level:3,children:[]},{code:"611024",name:"山阳县",region_level:3,children:[]},{code:"611025",name:"镇安县",region_level:3,children:[]},{code:"611026",name:"柞水县",region_level:3,children:[]}]}]},{code:"62",name:"甘肃省",region_level:1,children:[{code:"6201",name:"兰州市",region_level:2,children:[{code:"620102",name:"城关区",region_level:3,children:[]},{code:"620103",name:"七里河区",region_level:3,children:[]},{code:"620104",name:"西固区",region_level:3,children:[]},{code:"620105",name:"安宁区",region_level:3,children:[]},{code:"620111",name:"红古区",region_level:3,children:[]},{code:"620121",name:"永登县",region_level:3,children:[]},{code:"620122",name:"皋兰县",region_level:3,children:[]},{code:"620123",name:"榆中县",region_level:3,children:[]}]},{code:"6202",name:"嘉峪关市",region_level:2,children:[{code:"620200",name:"嘉峪关市",region_level:3,children:[]}]},{code:"6203",name:"金昌市",region_level:2,children:[{code:"620302",name:"金川区",region_level:3,children:[]},{code:"620321",name:"永昌县",region_level:3,children:[]}]},{code:"6204",name:"白银市",region_level:2,children:[{code:"620402",name:"白银区",region_level:3,children:[]},{code:"620403",name:"平川区",region_level:3,children:[]},{code:"620421",name:"靖远县",region_level:3,children:[]},{code:"620422",name:"会宁县",region_level:3,children:[]},{code:"620423",name:"景泰县",region_level:3,children:[]}]},{code:"6205",name:"天水市",region_level:2,children:[{code:"620502",name:"秦州区",region_level:3,children:[]},{code:"620503",name:"麦积区",region_level:3,children:[]},{code:"620521",name:"清水县",region_level:3,children:[]},{code:"620522",name:"秦安县",region_level:3,children:[]},{code:"620523",name:"甘谷县",region_level:3,children:[]},{code:"620524",name:"武山县",region_level:3,children:[]},{code:"620525",name:"张家川回族自治县",region_level:3,children:[]}]},{code:"6206",name:"武威市",region_level:2,children:[{code:"620602",name:"凉州区",region_level:3,children:[]},{code:"620621",name:"民勤县",region_level:3,children:[]},{code:"620622",name:"古浪县",region_level:3,children:[]},{code:"620623",name:"天祝藏族自治县",region_level:3,children:[]}]},{code:"6207",name:"张掖市",region_level:2,children:[{code:"620702",name:"甘州区",region_level:3,children:[]},{code:"620721",name:"肃南裕固族自治县",region_level:3,children:[]},{code:"620722",name:"民乐县",region_level:3,children:[]},{code:"620723",name:"临泽县",region_level:3,children:[]},{code:"620724",name:"高台县",region_level:3,children:[]},{code:"620725",name:"山丹县",region_level:3,children:[]}]},{code:"6208",name:"平凉市",region_level:2,children:[{code:"620802",name:"崆峒区",region_level:3,children:[]},{code:"620821",name:"泾川县",region_level:3,children:[]},{code:"620822",name:"灵台县",region_level:3,children:[]},{code:"620823",name:"崇信县",region_level:3,children:[]},{code:"620825",name:"庄浪县",region_level:3,children:[]},{code:"620826",name:"静宁县",region_level:3,children:[]},{code:"620881",name:"华亭市",region_level:3,children:[]}]},{code:"6209",name:"酒泉市",region_level:2,children:[{code:"620902",name:"肃州区",region_level:3,children:[]},{code:"620921",name:"金塔县",region_level:3,children:[]},{code:"620922",name:"瓜州县",region_level:3,children:[]},{code:"620923",name:"肃北蒙古族自治县",region_level:3,children:[]},{code:"620924",name:"阿克塞哈萨克族自治县",region_level:3,children:[]},{code:"620981",name:"玉门市",region_level:3,children:[]},{code:"620982",name:"敦煌市",region_level:3,children:[]}]},{code:"6210",name:"庆阳市",region_level:2,children:[{code:"621002",name:"西峰区",region_level:3,children:[]},{code:"621021",name:"庆城县",region_level:3,children:[]},{code:"621022",name:"环县",region_level:3,children:[]},{code:"621023",name:"华池县",region_level:3,children:[]},{code:"621024",name:"合水县",region_level:3,children:[]},{code:"621025",name:"正宁县",region_level:3,children:[]},{code:"621026",name:"宁县",region_level:3,children:[]},{code:"621027",name:"镇原县",region_level:3,children:[]}]},{code:"6211",name:"定西市",region_level:2,children:[{code:"621102",name:"安定区",region_level:3,children:[]},{code:"621121",name:"通渭县",region_level:3,children:[]},{code:"621122",name:"陇西县",region_level:3,children:[]},{code:"621123",name:"渭源县",region_level:3,children:[]},{code:"621124",name:"临洮县",region_level:3,children:[]},{code:"621125",name:"漳县",region_level:3,children:[]},{code:"621126",name:"岷县",region_level:3,children:[]}]},{code:"6212",name:"陇南市",region_level:2,children:[{code:"621202",name:"武都区",region_level:3,children:[]},{code:"621221",name:"成县",region_level:3,children:[]},{code:"621222",name:"文县",region_level:3,children:[]},{code:"621223",name:"宕昌县",region_level:3,children:[]},{code:"621224",name:"康县",region_level:3,children:[]},{code:"621225",name:"西和县",region_level:3,children:[]},{code:"621226",name:"礼县",region_level:3,children:[]},{code:"621227",name:"徽县",region_level:3,children:[]},{code:"621228",name:"两当县",region_level:3,children:[]}]},{code:"6229",name:"临夏回族自治州",region_level:2,children:[{code:"622901",name:"临夏市",region_level:3,children:[]},{code:"622921",name:"临夏县",region_level:3,children:[]},{code:"622922",name:"康乐县",region_level:3,children:[]},{code:"622923",name:"永靖县",region_level:3,children:[]},{code:"622924",name:"广河县",region_level:3,children:[]},{code:"622925",name:"和政县",region_level:3,children:[]},{code:"622926",name:"东乡族自治县",region_level:3,children:[]},{code:"622927",name:"积石山保安族东乡族撒拉族自治县",region_level:3,children:[]}]},{code:"6230",name:"甘南藏族自治州",region_level:2,children:[{code:"623001",name:"合作市",region_level:3,children:[]},{code:"623021",name:"临潭县",region_level:3,children:[]},{code:"623022",name:"卓尼县",region_level:3,children:[]},{code:"623023",name:"舟曲县",region_level:3,children:[]},{code:"623024",name:"迭部县",region_level:3,children:[]},{code:"623025",name:"玛曲县",region_level:3,children:[]},{code:"623026",name:"碌曲县",region_level:3,children:[]},{code:"623027",name:"夏河县",region_level:3,children:[]}]}]},{code:"63",name:"青海省",region_level:1,children:[{code:"6301",name:"西宁市",region_level:2,children:[{code:"630102",name:"城东区",region_level:3,children:[]},{code:"630103",name:"城中区",region_level:3,children:[]},{code:"630104",name:"城西区",region_level:3,children:[]},{code:"630105",name:"城北区",region_level:3,children:[]},{code:"630106",name:"湟中区",region_level:3,children:[]},{code:"630121",name:"大通回族土族自治县",region_level:3,children:[]},{code:"630123",name:"湟源县",region_level:3,children:[]}]},{code:"6302",name:"海东市",region_level:2,children:[{code:"630202",name:"乐都区",region_level:3,children:[]},{code:"630203",name:"平安区",region_level:3,children:[]},{code:"630222",name:"民和回族土族自治县",region_level:3,children:[]},{code:"630223",name:"互助土族自治县",region_level:3,children:[]},{code:"630224",name:"化隆回族自治县",region_level:3,children:[]},{code:"630225",name:"循化撒拉族自治县",region_level:3,children:[]}]},{code:"6322",name:"海北藏族自治州",region_level:2,children:[{code:"632221",name:"门源回族自治县",region_level:3,children:[]},{code:"632222",name:"祁连县",region_level:3,children:[]},{code:"632223",name:"海晏县",region_level:3,children:[]},{code:"632224",name:"刚察县",region_level:3,children:[]}]},{code:"6323",name:"黄南藏族自治州",region_level:2,children:[{code:"632321",name:"同仁县",region_level:3,children:[]},{code:"632322",name:"尖扎县",region_level:3,children:[]},{code:"632323",name:"泽库县",region_level:3,children:[]},{code:"632324",name:"河南蒙古族自治县",region_level:3,children:[]}]},{code:"6325",name:"海南藏族自治州",region_level:2,children:[{code:"632521",name:"共和县",region_level:3,children:[]},{code:"632522",name:"同德县",region_level:3,children:[]},{code:"632523",name:"贵德县",region_level:3,children:[]},{code:"632524",name:"兴海县",region_level:3,children:[]},{code:"632525",name:"贵南县",region_level:3,children:[]}]},{code:"6326",name:"果洛藏族自治州",region_level:2,children:[{code:"632621",name:"玛沁县",region_level:3,children:[]},{code:"632622",name:"班玛县",region_level:3,children:[]},{code:"632623",name:"甘德县",region_level:3,children:[]},{code:"632624",name:"达日县",region_level:3,children:[]},{code:"632625",name:"久治县",region_level:3,children:[]},{code:"632626",name:"玛多县",region_level:3,children:[]}]},{code:"6327",name:"玉树藏族自治州",region_level:2,children:[{code:"632701",name:"玉树市",region_level:3,children:[]},{code:"632722",name:"杂多县",region_level:3,children:[]},{code:"632723",name:"称多县",region_level:3,children:[]},{code:"632724",name:"治多县",region_level:3,children:[]},{code:"632725",name:"囊谦县",region_level:3,children:[]},{code:"632726",name:"曲麻莱县",region_level:3,children:[]}]},{code:"6328",name:"海西蒙古族藏族自治州",region_level:2,children:[{code:"632801",name:"格尔木市",region_level:3,children:[]},{code:"632802",name:"德令哈市",region_level:3,children:[]},{code:"632803",name:"茫崖市",region_level:3,children:[]},{code:"632821",name:"乌兰县",region_level:3,children:[]},{code:"632822",name:"都兰县",region_level:3,children:[]},{code:"632823",name:"天峻县",region_level:3,children:[]}]}]},{code:"64",name:"宁夏回族自治区",region_level:1,children:[{code:"6401",name:"银川市",region_level:2,children:[{code:"640104",name:"兴庆区",region_level:3,children:[]},{code:"640105",name:"西夏区",region_level:3,children:[]},{code:"640106",name:"金凤区",region_level:3,children:[]},{code:"640121",name:"永宁县",region_level:3,children:[]},{code:"640122",name:"贺兰县",region_level:3,children:[]},{code:"640181",name:"灵武市",region_level:3,children:[]}]},{code:"6402",name:"石嘴山市",region_level:2,children:[{code:"640202",name:"大武口区",region_level:3,children:[]},{code:"640205",name:"惠农区",region_level:3,children:[]},{code:"640221",name:"平罗县",region_level:3,children:[]}]},{code:"6403",name:"吴忠市",region_level:2,children:[{code:"640302",name:"利通区",region_level:3,children:[]},{code:"640303",name:"红寺堡区",region_level:3,children:[]},{code:"640323",name:"盐池县",region_level:3,children:[]},{code:"640324",name:"同心县",region_level:3,children:[]},{code:"640381",name:"青铜峡市",region_level:3,children:[]}]},{code:"6404",name:"固原市",region_level:2,children:[{code:"640402",name:"原州区",region_level:3,children:[]},{code:"640422",name:"西吉县",region_level:3,children:[]},{code:"640423",name:"隆德县",region_level:3,children:[]},{code:"640424",name:"泾源县",region_level:3,children:[]},{code:"640425",name:"彭阳县",region_level:3,children:[]}]},{code:"6405",name:"中卫市",region_level:2,children:[{code:"640502",name:"沙坡头区",region_level:3,children:[]},{code:"640521",name:"中宁县",region_level:3,children:[]},{code:"640522",name:"海原县",region_level:3,children:[]}]}]},{code:"65",name:"新疆维吾尔自治区",region_level:1,children:[{code:"6501",name:"乌鲁木齐市",region_level:2,children:[{code:"650102",name:"天山区",region_level:3,children:[]},{code:"650103",name:"沙依巴克区",region_level:3,children:[]},{code:"650104",name:"新市区",region_level:3,children:[]},{code:"650105",name:"水磨沟区",region_level:3,children:[]},{code:"650106",name:"头屯河区",region_level:3,children:[]},{code:"650107",name:"达坂城区",region_level:3,children:[]},{code:"650109",name:"米东区",region_level:3,children:[]},{code:"650121",name:"乌鲁木齐县",region_level:3,children:[]}]},{code:"6502",name:"克拉玛依市",region_level:2,children:[{code:"650202",name:"独山子区",region_level:3,children:[]},{code:"650203",name:"克拉玛依区",region_level:3,children:[]},{code:"650204",name:"白碱滩区",region_level:3,children:[]},{code:"650205",name:"乌尔禾区",region_level:3,children:[]}]},{code:"6504",name:"吐鲁番市",region_level:2,children:[{code:"650402",name:"高昌区",region_level:3,children:[]},{code:"650421",name:"鄯善县",region_level:3,children:[]},{code:"650422",name:"托克逊县",region_level:3,children:[]}]},{code:"6505",name:"哈密市",region_level:2,children:[{code:"650502",name:"伊州区",region_level:3,children:[]},{code:"650521",name:"巴里坤哈萨克自治县",region_level:3,children:[]},{code:"650522",name:"伊吾县",region_level:3,children:[]}]},{code:"6523",name:"昌吉回族自治州",region_level:2,children:[{code:"652301",name:"昌吉市",region_level:3,children:[]},{code:"652302",name:"阜康市",region_level:3,children:[]},{code:"652323",name:"呼图壁县",region_level:3,children:[]},{code:"652324",name:"玛纳斯县",region_level:3,children:[]},{code:"652325",name:"奇台县",region_level:3,children:[]},{code:"652327",name:"吉木萨尔县",region_level:3,children:[]},{code:"652328",name:"木垒哈萨克自治县",region_level:3,children:[]}]},{code:"6527",name:"博尔塔拉蒙古自治州",region_level:2,children:[{code:"652701",name:"博乐市",region_level:3,children:[]},{code:"652702",name:"阿拉山口市",region_level:3,children:[]},{code:"652722",name:"精河县",region_level:3,children:[]},{code:"652723",name:"温泉县",region_level:3,children:[]}]},{code:"6528",name:"巴音郭楞蒙古自治州",region_level:2,children:[{code:"652801",name:"库尔勒市",region_level:3,children:[]},{code:"652822",name:"轮台县",region_level:3,children:[]},{code:"652823",name:"尉犁县",region_level:3,children:[]},{code:"652824",name:"若羌县",region_level:3,children:[]},{code:"652825",name:"且末县",region_level:3,children:[]},{code:"652826",name:"焉耆回族自治县",region_level:3,children:[]},{code:"652827",name:"和静县",region_level:3,children:[]},{code:"652828",name:"和硕县",region_level:3,children:[]},{code:"652829",name:"博湖县",region_level:3,children:[]}]},{code:"6529",name:"阿克苏地区",region_level:2,children:[{code:"652901",name:"阿克苏市",region_level:3,children:[]},{code:"652902",name:"库车市",region_level:3,children:[]},{code:"652922",name:"温宿县",region_level:3,children:[]},{code:"652924",name:"沙雅县",region_level:3,children:[]},{code:"652925",name:"新和县",region_level:3,children:[]},{code:"652926",name:"拜城县",region_level:3,children:[]},{code:"652927",name:"乌什县",region_level:3,children:[]},{code:"652928",name:"阿瓦提县",region_level:3,children:[]},{code:"652929",name:"柯坪县",region_level:3,children:[]}]},{code:"6530",name:"克孜勒苏柯尔克孜自治州",region_level:2,children:[{code:"653001",name:"阿图什市",region_level:3,children:[]},{code:"653022",name:"阿克陶县",region_level:3,children:[]},{code:"653023",name:"阿合奇县",region_level:3,children:[]},{code:"653024",name:"乌恰县",region_level:3,children:[]}]},{code:"6531",name:"喀什地区",region_level:2,children:[{code:"653101",name:"喀什市",region_level:3,children:[]},{code:"653121",name:"疏附县",region_level:3,children:[]},{code:"653122",name:"疏勒县",region_level:3,children:[]},{code:"653123",name:"英吉沙县",region_level:3,children:[]},{code:"653124",name:"泽普县",region_level:3,children:[]},{code:"653125",name:"莎车县",region_level:3,children:[]},{code:"653126",name:"叶城县",region_level:3,children:[]},{code:"653127",name:"麦盖提县",region_level:3,children:[]},{code:"653128",name:"岳普湖县",region_level:3,children:[]},{code:"653129",name:"伽师县",region_level:3,children:[]},{code:"653130",name:"巴楚县",region_level:3,children:[]},{code:"653131",name:"塔什库尔干塔吉克自治县",region_level:3,children:[]}]},{code:"6532",name:"和田地区",region_level:2,children:[{code:"653201",name:"和田市",region_level:3,children:[]},{code:"653221",name:"和田县",region_level:3,children:[]},{code:"653222",name:"墨玉县",region_level:3,children:[]},{code:"653223",name:"皮山县",region_level:3,children:[]},{code:"653224",name:"洛浦县",region_level:3,children:[]},{code:"653225",name:"策勒县",region_level:3,children:[]},{code:"653226",name:"于田县",region_level:3,children:[]},{code:"653227",name:"民丰县",region_level:3,children:[]}]},{code:"6540",name:"伊犁哈萨克自治州",region_level:2,children:[{code:"654002",name:"伊宁市",region_level:3,children:[]},{code:"654003",name:"奎屯市",region_level:3,children:[]},{code:"654004",name:"霍尔果斯市",region_level:3,children:[]},{code:"654021",name:"伊宁县",region_level:3,children:[]},{code:"654022",name:"察布查尔锡伯自治县",region_level:3,children:[]},{code:"654023",name:"霍城县",region_level:3,children:[]},{code:"654024",name:"巩留县",region_level:3,children:[]},{code:"654025",name:"新源县",region_level:3,children:[]},{code:"654026",name:"昭苏县",region_level:3,children:[]},{code:"654027",name:"特克斯县",region_level:3,children:[]},{code:"654028",name:"尼勒克县",region_level:3,children:[]}]},{code:"6542",name:"塔城地区",region_level:2,children:[{code:"654201",name:"塔城市",region_level:3,children:[]},{code:"654202",name:"乌苏市",region_level:3,children:[]},{code:"654221",name:"额敏县",region_level:3,children:[]},{code:"654223",name:"沙湾县",region_level:3,children:[]},{code:"654224",name:"托里县",region_level:3,children:[]},{code:"654225",name:"裕民县",region_level:3,children:[]},{code:"654226",name:"和布克赛尔蒙古自治县",region_level:3,children:[]}]},{code:"6543",name:"阿勒泰地区",region_level:2,children:[{code:"654301",name:"阿勒泰市",region_level:3,children:[]},{code:"654321",name:"布尔津县",region_level:3,children:[]},{code:"654322",name:"富蕴县",region_level:3,children:[]},{code:"654323",name:"福海县",region_level:3,children:[]},{code:"654324",name:"哈巴河县",region_level:3,children:[]},{code:"654325",name:"青河县",region_level:3,children:[]},{code:"654326",name:"吉木乃县",region_level:3,children:[]}]},{code:"6590",name:"自治区直辖县级行政区",region_level:2,children:[{code:"659001",name:"石河子市",region_level:3,children:[]},{code:"659002",name:"阿拉尔市",region_level:3,children:[]},{code:"659003",name:"图木舒克市",region_level:3,children:[]},{code:"659004",name:"五家渠市",region_level:3,children:[]},{code:"659005",name:"北屯市",region_level:3,children:[]},{code:"659006",name:"铁门关市",region_level:3,children:[]},{code:"659007",name:"双河市",region_level:3,children:[]},{code:"659008",name:"可克达拉市",region_level:3,children:[]},{code:"659009",name:"昆玉市",region_level:3,children:[]},{code:"659010",name:"胡杨河市",region_level:3,children:[]}]}]},{code:"71",name:"台湾省",region_level:1,children:[]},{code:"81",name:"香港特别行政区",region_level:1,children:[]},{code:"82",name:"澳门特别行政区",region_level:1,children:[]}]}];function useMap(){const te=async(ne,re)=>{let oe=String(ne.code).padEnd(6,"0");const ie=G(vue.unref(city)[0],oe),le=await U(`${oe}${(ie==null?void 0:ie.region_level)!=3?"_full":""}`);core.registerMap(oe,le),ne.geo.map=oe;const ae=ne.dataset.source,se=[];((le==null?void 0:le.features)??[]).forEach(ue=>{const de=(ae.find(he=>he[ne.dataShow.x]==ue.properties.name)??{})[ne.dataShow.y]??0,fe=ue.properties.center?[...ue.properties.center,de]:ue.properties.center,ve={name:ue.properties.name,value:fe,code:ue.properties.adcode,data:de};Number(de)<=0&&(ve.symbolSize=0),se.push(ve)}),ne.series=[{type:"map",map:oe,roam:!0,geoIndex:0,select:!1,data:se},{...ne.style.style1,data:se},{...ne.style.style2,data:se}],re&&re()},U=async ne=>{const re=`https://geo.datav.aliyun.com/areas_v3/bound/${ne}.json`;return await fetch(re).then(ie=>ie.json())};function G(ne,re){var oe;if(String(ne.code).padEnd(6,"0")==re)return ne;for(let ie=0;ie<((oe=ne==null?void 0:ne.children)==null?void 0:oe.length);ie+=1){const le=ne.children[ie],ae=G(le,re);if(ae)return ae}return null}return{init:te,city,mapConfig:{code:"100000",tooltip:{show:!0},dataShow:{x:"",y:""},custom:{prefix:"",suffix:"",toFixed:0},style:{style1:{name:"散点",type:"scatter",coordinateSystem:"geo",symbol:"circle",itemStyle:{color:"#05C3F9"}},style2:{name:"点",type:"scatter",coordinateSystem:"geo",symbol:"pin",symbolSize:20,itemStyle:{color:"#F62157"},label:{show:!0,formatter:ne=>ne.data.data||"",color:"#fff",fontSize:9},zlevel:6}},geo:{map:"",roam:!0,zoom:1.2,label:{show:!0,fontSize:12,color:"#000"},emphasis:{itemStyle:{areaColor:"#389BB7",borderColor:"#389BB7",borderWidth:0},label:{fontSize:14,color:"#fff"}}},visualMap:{show:!0,left:"left",top:"bottom",text:["高","低"],min:0,max:200,calculable:!0,seriesIndex:[0],inRange:{color:["#00467F","#A5CC82"]}},dataset:{},series:[]}}}function useCustomChart(){const{proxy:te}=vue.getCurrentInstance(),U=vue.ref({}),G=vue.ref(""),ee=vue.ref(null),ne=vue.ref(null),re=vue.ref(""),oe=async(ce,de,fe)=>await new Promise(async ve=>{var ye,be;const he=screenDesignMainStore(),pe=JSON.parse(JSON.stringify(((ye=vue.unref(ee))==null?void 0:ye.params)??((be=he.getChartData)==null?void 0:be.params))),ge=JSON.parse((pe==null?void 0:pe.groupArgsJson)??"[]");let me=JSON.parse((pe==null?void 0:pe.aggArgsJson)??"[]");if(de){const xe=ge.find(Ce=>Ce.comment==de);xe&&(pe.groupArgsJson=JSON.stringify([xe]))}if(["2"].includes(ce)&&fe){const xe=me.find(Ce=>Ce.showLabel==fe);xe&&(pe.aggArgsJson=JSON.stringify([xe]))}["8"].includes(ce)||(pe.aggArgsJson=JSON.stringify(me.filter(xe=>xe.aggType!="other")));const _e=await te.$baseHttp.post("/api/ace-data-center/model-indicators/exec",pe);ne.value=_e.data.var,re.value=_e.data.modelIndicatorsName,ve(_e.data.page.records)}),ie=async(ce,de,fe)=>await new Promise(async ve=>{let he=de;const pe=screenDesignMainStore();if(ce){const ge=await te.$baseHttp.get(`/api/ace-data-center/model-indicators-echarts/detail?id=${ce}`);if(!ge)return;fe=chartJsonFormat(ge.data.echartsConfig),he=ge.data.echartsType}G.value=he,setTimeout(async()=>{var ge,me,_e,ye,be,xe,Ce,$e,Ee,Ve,Ne,Se,Pe,we,ke,Te,De,Ie,Me,Be,Ae,ze,Re,Fe,je,Oe,Le,Ge,qe,Ue,We,Ye,Je,Xe,Ke,He,Qe,Ze,et,at,ct,st,it,lt,pt,mt,bt,xt,wt;switch(he){case"1":{const{lineConfig:ft,customSeriesData:ut,init:ht}=useLineCommon();ut.value=((ge=vue.unref(fe))==null?void 0:ge.customSeriesData)??{},U.value=fe??chartJsonFormat(chartJsonToStringFormat(ft)),delete U.value.legend.icon,vue.unref(U).dataShow.x=((me=fe==null?void 0:fe.dataShow)==null?void 0:me.x)??((ye=(_e=pe.getChartData)==null?void 0:_e.x[0])==null?void 0:ye.comment),vue.unref(U).dataShow.y=(((be=vue.unref(ee))==null?void 0:be.y)??((xe=pe.getChartData)==null?void 0:xe.y)).filter(rt=>rt.aggType!="other").map(rt=>rt.showLabel),vue.unref(U).dataset.source=await oe(he,vue.unref(U).dataShow.x),ht(vue.unref(U),()=>ue())}break;case"2":{const{pieConfig:ft,customSeriesData:ut,init:ht}=usePieCommon();ut.value=(fe==null?void 0:fe.customSeriesData)??{},U.value=fe??chartJsonFormat(chartJsonToStringFormat(ft)),vue.unref(U).dataShow.x=((Ce=fe==null?void 0:fe.dataShow)==null?void 0:Ce.x)??((Ee=($e=pe.getChartData)==null?void 0:$e.x[0])==null?void 0:Ee.comment),vue.unref(U).dataShow.y=((Ve=fe==null?void 0:fe.dataShow)==null?void 0:Ve.y)??((Se=(Ne=pe.getChartData)==null?void 0:Ne.y[0])==null?void 0:Se.showLabel),vue.unref(U).dataset.source=await oe(he,vue.unref(U).dataShow.x,vue.unref(U).dataShow.y),ht(vue.unref(U),()=>ue())}break;case"3":{const{barConfig:ft,customSeriesData:ut,init:ht}=useBarCommon();ut.value=(fe==null?void 0:fe.customSeriesData)??{},U.value=fe??chartJsonFormat(chartJsonToStringFormat(ft)),vue.unref(U).dataShow.x=((Pe=fe==null?void 0:fe.dataShow)==null?void 0:Pe.x)??((ke=(we=pe.getChartData)==null?void 0:we.x[0])==null?void 0:ke.comment),vue.unref(U).dataShow.y=(((Te=vue.unref(ee))==null?void 0:Te.y)??((De=pe.getChartData)==null?void 0:De.y)).filter(rt=>rt.aggType!="other").map(rt=>rt.showLabel),vue.unref(U).dataset.source=await oe(he,vue.unref(U).dataShow.x),ht(vue.unref(U),()=>ue())}break;case"4":{const{radarConfig:ft,customSeriesData:ut,init:ht}=useRadar();ut.value=((Ie=vue.unref(fe))==null?void 0:Ie.customSeriesData)??{},U.value=fe??chartJsonFormat(chartJsonToStringFormat(ft)),vue.unref(U).dataShow.x=((Me=fe==null?void 0:fe.dataShow)==null?void 0:Me.x)??((Ae=(Be=pe.getChartData)==null?void 0:Be.x[0])==null?void 0:Ae.comment),vue.unref(U).dataShow.y=(((ze=vue.unref(ee))==null?void 0:ze.y)??((Re=pe.getChartData)==null?void 0:Re.y)).filter(rt=>rt.aggType!="other").map(rt=>rt.showLabel),vue.unref(U).dataset.source=await oe(he,vue.unref(U).dataShow.x),ht(vue.unref(U),()=>ue())}break;case"5":{const{barsLinesConfig:ft,customSeriesData:ut,init:ht}=useBarLineCommon();ut.value=((Fe=vue.unref(fe))==null?void 0:Fe.customSeriesData)??{},U.value=fe??chartJsonFormat(chartJsonToStringFormat(ft)),vue.unref(U).dataShow.x=((je=fe==null?void 0:fe.dataShow)==null?void 0:je.x)??((Le=(Oe=pe.getChartData)==null?void 0:Oe.x[0])==null?void 0:Le.comment),vue.unref(U).dataShow.y=(((Ge=vue.unref(ee))==null?void 0:Ge.y)??((qe=pe.getChartData)==null?void 0:qe.y)).filter(rt=>rt.aggType!="other").map(rt=>rt.showLabel),vue.unref(U).dataset.source=await oe(he,vue.unref(U).dataShow.x),ht(vue.unref(U),()=>ue())}break;case"6":{const{scatterCfg:ft,customSeriesData:ut,init:ht}=useScatterCommon();ut.value=((Ue=vue.unref(fe))==null?void 0:Ue.customSeriesData)??{},U.value=fe??chartJsonFormat(chartJsonToStringFormat(ft)),vue.unref(U).dataShow.x=((We=fe==null?void 0:fe.dataShow)==null?void 0:We.x)??((Je=(Ye=pe.getChartData)==null?void 0:Ye.x[0])==null?void 0:Je.comment),vue.unref(U).dataShow.y=(((Xe=vue.unref(ee))==null?void 0:Xe.y)??((Ke=pe.getChartData)==null?void 0:Ke.y)).filter(rt=>rt.aggType!="other").map(rt=>rt.showLabel),vue.unref(U).dataset.source=await oe(he,vue.unref(U).dataShow.x),ht(vue.unref(U),()=>ue())}break;case"7":{const{numberConfig:ft,customSeriesData:ut,init:ht}=useNumber();ut.value=(fe==null?void 0:fe.customSeriesData)??{},U.value=fe??chartJsonFormat(chartJsonToStringFormat(ft)),vue.unref(U).dataShow.y=(((He=vue.unref(ee))==null?void 0:He.y)??((Qe=pe.getChartData)==null?void 0:Qe.y)).filter(rt=>rt.aggType!="other").map(rt=>rt.showLabel),vue.unref(U).dataset.source=await oe(he),ht(vue.unref(U),()=>ue())}break;case"8":{const{customSeriesData:ft,tableConfig:ut,init:ht}=useTable();U.value=fe??chartJsonFormat(chartJsonToStringFormat(ut)),ft.value=((Ze=vue.unref(fe))==null?void 0:Ze.customSeriesData)??{};const rt=[...(((et=vue.unref(ee))==null?void 0:et.x)??((at=pe.getChartData)==null?void 0:at.x)).map(_t=>_t.comment),...(((ct=vue.unref(ee))==null?void 0:ct.y)??((st=pe.getChartData)==null?void 0:st.y)).map(_t=>_t.showLabel)];let $t=[];(((it=vue.unref(U).dataShow)==null?void 0:it.y)??[]).forEach(_t=>{$t.push(_t)}),$t.push(...rt),vue.unref(U).dataShow.y=[...new Set($t)],vue.unref(U).dataset.source=await oe(he),ht(vue.unref(U),()=>ue())}break;case"9":const{mapConfig:yt,init:Ct}=useMap(),gt=fe??chartJsonFormat(chartJsonToStringFormat(yt));console.log(gt),gt.series=[],gt.dataShow.x=((lt=fe==null?void 0:fe.dataShow)==null?void 0:lt.x)??((mt=(pt=pe.getChartData)==null?void 0:pt.x[0])==null?void 0:mt.comment),gt.dataShow.y=((bt=fe==null?void 0:fe.dataShow)==null?void 0:bt.y)??((wt=(xt=pe.getChartData)==null?void 0:xt.y[0])==null?void 0:wt.showLabel),gt.dataset.source=await oe(he,gt.dataShow.x,gt.dataShow.y),Ct(gt,()=>{U.value=gt,ue()});break}ve(U.value)},100)}),le=()=>{var ce,de,fe,ve,he,pe,ge;switch(vue.unref(G)){case"1":{const{customSeriesData:me,init:_e}=useLineCommon();me.value=((ce=vue.unref(U))==null?void 0:ce.customSeriesData)??{},_e(vue.unref(U))}break;case"2":{const{customSeriesData:me,init:_e}=usePieCommon();me.value=((de=vue.unref(U))==null?void 0:de.customSeriesData)??{},_e(vue.unref(U))}break;case"3":{const{customSeriesData:me,init:_e}=useBarCommon();me.value=((fe=vue.unref(U))==null?void 0:fe.customSeriesData)??{},_e(vue.unref(U))}break;case"4":{const{customSeriesData:me,init:_e}=useRadar();me.value=((ve=vue.unref(U))==null?void 0:ve.customSeriesData)??{},_e(vue.unref(U))}break;case"5":{const{customSeriesData:me,init:_e}=useBarLineCommon();me.value=((he=vue.unref(U))==null?void 0:he.customSeriesData)??{},_e(vue.unref(U))}break;case"6":{const{customSeriesData:me,init:_e}=useScatterCommon();me.value=((pe=vue.unref(U))==null?void 0:pe.customSeriesData)??{},_e(vue.unref(U))}break;case"7":{const{init:me}=useNumber();me(vue.unref(U))}break;case"8":{const{customSeriesData:me,init:_e}=useTable();me.value=((ge=vue.unref(U))==null?void 0:ge.customSeriesData)??{},_e(vue.unref(U))}break}},ae=async(ce,de,fe)=>{await new Promise(async ve=>{var xe;const he=screenDesignMainStore(),{dynamicSearchFormat:pe,dynamicSearchParams:ge}=te.$aceDynamicSearch();let me;me=await te.$baseHttp.get(`/api/ace-data-center/model-indicators/detail?id=${ce}`);const _e=JSON.parse(me.data.sortArgsJson??"{}"),ye=Object.keys(vue.unref(_e)).map(Ce=>({field:Ce,type:_e[Ce]=="ascending"?"asc":"desc"}));he.setChartData({x:JSON.parse(me.data.groupArgsJson),y:JSON.parse(me.data.aggArgsJson),params:{aggArgsJson:me.data.aggArgsJson,groupArgsJson:me.data.groupArgsJson,sortArgsJson:JSON.stringify(ye),params:ge(pe(JSON.parse(fe??((xe=vue.unref(me))==null?void 0:xe.formConfJson)??"[]"))),pageSize:me.data.pageSize,modelIndicatorsId:me.data.id,modelId:me.data.modelId}});const be=me.data.echarts.find(Ce=>Ce.type==de);await ie(be==null?void 0:be.code),ve(be==null?void 0:be.code)})},se=ce=>{const de=vue.unref(U),fe=vue.unref(U).customSeriesData[ce]??{};return((fe==null?void 0:fe.prefix)??"")+de.dataset.source.reduce((ve,he)=>ve+(he[ce]?Number(he[ce]):0),0).toFixed(fe.toFixed??0)+(fe.suffix??"")},ue=()=>{if(vue.unref(G)=="9"){U.value.tooltip.formatter=de=>{const fe=U.value.custom;if(de&&de.data){const{name:ve,data:he}=de.data;return`${ve}: ${(fe==null?void 0:fe.prefix)??""}${Number(he).toFixed((fe==null?void 0:fe.toFixed)??0)}${(fe==null?void 0:fe.suffix)??""}`}},U.value.series[2].label.formatter=de=>{const fe=U.value.custom,ve=de.data.data;return ve?`${(fe==null?void 0:fe.prefix)??""}${Number(ve).toFixed((fe==null?void 0:fe.toFixed)??0)}${(fe==null?void 0:fe.suffix)??""}`:""};return}if(vue.unref(U).tooltip){const de=U.value.custom;U.value.tooltip.valueFormatter=fe=>`${(de==null?void 0:de.prefix)??""}${Number(fe).toFixed(de==null?void 0:de.toFixed)}${(de==null?void 0:de.suffix)??""}`}vue.unref(U).dataset.temp_source=JSON.parse(JSON.stringify(U.value.dataset.source))};return{option:U,varData:ne,modelIndicatorsName:re,chartDataParams:ee,chartType:G,setChartData:oe,formatChart:ie,getModelIndicatorsData:ae,changeChartSeries:le,setSingleValue:se}}const _hoisted_1$1C={key:1,class:"flex items-center justify-center w-full h-full"},_sfc_main$2q=vue.defineComponent({__name:"render",props:{config:{default:()=>({})},list:{default:()=>[]},isLinkageQuery:{type:Boolean,default:!0},isCount:{type:Boolean,default:!0}},setup(__props){const props=__props,{proxy}=vue.getCurrentInstance(),design=screenDesignMainStore(),loading=vue.ref(!1),{dynamicSearchFormat,dynamicSearchParams}=proxy.$aceDynamicSearch(),{option,formatChart,varData,chartDataParams,modelIndicatorsName}=useCustomChart(),init=()=>{const linkageMap={},formulaList=[];if(props.isLinkageQuery&&props.list.forEach(te=>{const U=te.customize.modelValue;((te==null?void 0:te.customize.linkage)??[]).forEach(G=>{(U??"")!==""&&(linkageMap[G[0]]=[G[1],U])})}),props.isCount&&props.list.forEach(te=>{var ne;if(te.type!="number"&&!((ne=te.customize.formula)!=null&&ne.exp))return;te.customize.formulaCopy=JSON.parse(JSON.stringify(te.customize.formula));const U=te.customize.formulaCopy.identifier.split(","),G=/\{([^}]+)\}/g;let ee=0;te.customize.formulaCopy.exp=te.customize.formulaCopy.exp.replace(G,(re,oe)=>{const ie=oe.split(".");return ie[0]=U[ee],ee+=1,ie.join(".")}),te.customize.title=0,formulaList.push(te)}),props.config.modelType=="INDICATORS"){Promise.all([fetch$1(proxy).detailAndTask(props.config.indicatorsId),fetch$1(proxy).getEchartDetail({indicatorsId:props.config.indicatorsId})]).then(async te=>{var ne,re;let U=dynamicSearchParams(dynamicSearchFormat(JSON.parse(((re=(ne=te[0])==null?void 0:ne.data)==null?void 0:re.formConfJson)??"[]")));if(linkageMap[props.config.indicatorsId]){const[oe,ie]=linkageMap[props.config.indicatorsId];U[oe]=ie}const G=te[1].data,ee=await fetch$1(proxy).pullEchartsDataVO({indicatorsId:props.config.indicatorsId,loadType:(G==null?void 0:G.loadType)??3,params:U,targetClient:G.targetClient,echartsType:props.config.chartType});try{option.value=chartJsonFormat(ee.data.config)}catch{option.value=ee.data.config}loading.value=!1});return}if(props.config.chartId&&props.config.indicatorsId){props.config.chartType=="9"&&delete props.config.customize.series,option.value=props.config.customize;const{indicatorsId,chartType}=props.config;loading.value=!0,proxy.$baseHttp.get(`/api/ace-data-center/model-indicators/detail?id=${indicatorsId}`).then(async response=>{const sortArgsJson=JSON.parse(response.data.sortArgsJson??"{}"),sort=Object.keys(vue.unref(sortArgsJson)).map(te=>({field:te,type:sortArgsJson[te]=="ascending"?"asc":"desc"}));let params=dynamicSearchParams(dynamicSearchFormat(JSON.parse(response.data.formConfJson??"[]")));if(linkageMap[props.config.indicatorsId]){const[te,U]=linkageMap[props.config.indicatorsId];params[te]=U}chartDataParams.value={x:JSON.parse(response.data.groupArgsJson),y:JSON.parse(response.data.aggArgsJson),params:{aggArgsJson:response.data.aggArgsJson,groupArgsJson:response.data.groupArgsJson,sortArgsJson:JSON.stringify(sort),modelIndicatorsId:indicatorsId,params,pageSize:response.data.pageSize,modelId:response.data.modelId}},design.tempChartData[props.config.id]={params:chartDataParams.value,customize:props.config.customize},design.setChartData(chartDataParams.value),await formatChart("",chartType,{...props.config.customize,id:props.config.id}),props.isCount&&formulaList.length&&formulaList.forEach(el=>{var te;Object.keys(vue.unref(varData)).forEach(U=>{el.customize.formulaCopy.exp.indexOf(U)>=0&&(el.customize.formulaCopy.exp=el.customize.formulaCopy.exp.replaceAll(U,varData.value[U]))}),/[\u4e00-\u9fa5]/.test((te=el.customize.formulaCopy)==null?void 0:te.exp)||(el.customize.title=eval(el.customize.formulaCopy.exp),(el.customize.toFixed??"")!==""&&(el.customize.title=el.customize.title.toFixed(el.customize.toFixed)))}),design.setCountMap(props.config.indicatorsId,{title:vue.unref(modelIndicatorsName),var:vue.unref(varData)}),loading.value=!1})}};vue.onMounted(()=>{init()}),proxy.$baseEventBus.on("ace-screen-indicators-linkage",te=>{te.includes(props.config.indicatorsId)&&init()});const widgetView=vue.computed(()=>moudleComponents$1[props.config.type]);return(te,U)=>{const G=vue.resolveComponent("AppEmpty"),ee=vue.resolveComponent("AppTable"),ne=vue.resolveComponent("v-chart"),re=vue.resolveComponent("aceCustomChart"),oe=vue.resolveComponent("aceLoading");return props.config.chartId?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.unref(loading)?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1C,[vue.createVNode(oe,{size:"50"})])):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[props.config.modelType=="INDICATORS"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[props.config.chartType==7?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createTextVNode(vue.toDisplayString(vue.unref(option)),1)],64)):props.config.chartType==8?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.unref(option).length==0?(vue.openBlock(),vue.createBlock(G,{key:0,description:"暂无数据"})):vue.createCommentVNode("",!0),Array.isArray(vue.unref(option))&&vue.unref(option).length>0?(vue.openBlock(),vue.createBlock(ee,{key:1,tableData:Object.keys(vue.unref(option)[0]).map(ie=>({label:ie,prop:ie})),list:vue.unref(option),maxHeight:props.config.h-10+"px"},null,8,["tableData","list","maxHeight"])):vue.createCommentVNode("",!0)],64)):(vue.openBlock(),vue.createBlock(ne,{key:2,ref:"echart",option:vue.unref(option),autoresize:""},null,8,["option"]))],64)):(vue.openBlock(),vue.createBlock(re,{key:1,option:props.config.customize,chartType:props.config.chartType,maxHeight:props.config.h-10+"px"},null,8,["option","chartType","maxHeight"]))],64))],64)):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.unref(widgetView)?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(vue.unref(widgetView)),{key:0,ref:"componentRef",list:props.list,config:props.config},null,8,["list","config"])):vue.createCommentVNode("",!0)],64))}}}),render_vue_vue_type_style_index_0_scoped_94f69288_lang="",Render=_export_sfc$2(_sfc_main$2q,[["__scopeId","data-v-94f69288"]]),_withScopeId$C=te=>(vue.pushScopeId("data-v-d83296c5"),te=te(),vue.popScopeId(),te),_hoisted_1$1B={class:"relative w-full h-full"},_hoisted_2$1l=["id","onDblclick","onMousedown","onClick"],_hoisted_3$1a={key:0,class:"absolute flex items-center justify-center w-8 h-8 bg-blue-500 rounded-full -right-2 -top-2"},_hoisted_4$13=_withScopeId$C(()=>vue.createElementVNode("i",{class:"text-base text-white ri-lock-line"},null,-1)),_hoisted_5$S=[_hoisted_4$13],_hoisted_6$H={key:1,class:"absolute ml-4 text-xs tool left-full whitespace-nowrap"},_hoisted_7$A=["onClick"],_hoisted_8$u={key:1,class:"absolute w-full h-full z-[999]"},_sfc_main$2p=vue.defineComponent({__name:"main",setup(te){vue.useCssVars(we=>({"565e7a12":vue.unref(se)}));const{proxy:U}=vue.getCurrentInstance(),G=screenDesignMainStore(),ee=vue.computed(()=>G.stageWidth),ne=vue.computed(()=>G.stageHeight),re=document.body,oe=vue.ref(null),ie=useKeyModifier("Shift"),le=vue.computed(()=>G.targetsWidget.length===1?getItemFromElement(G.targetsWidget[0]):null),ae=[{label:"置于顶层",clickFunc:we=>{we.z=G.getWidgetList.length,G.widgetConfg.list.filter(ke=>ke.id!=we.id).forEach((ke,Te)=>{ke.z=G.getWidgetList.length-1-Te}),G.sortWidgetList()}},{label:"置于底层",clickFunc:we=>{we.z=1,G.widgetConfg.list.filter(ke=>ke.id!=we.id).forEach((ke,Te)=>{ke.z=G.getWidgetList.length-Te}),G.sortWidgetList()}}],se=vue.computed(()=>.8/G.getScale),ue=()=>Array.prototype.slice.call(document.querySelectorAll(".drag-item"),0),ce=(we,ke)=>{if(Array.isArray(we)){if(we.length===0){G.setTargetWidget([]);return}G.setTargetWidget(we.filter(De=>De.className.indexOf("locked")==-1).map(De=>getItemFromElement(De)));return}const Te=getItemFromElement(we);!Te||G.targetsWidget.includes(Te)||we.locked||(ie.value===!0?G.setTargetWidget([...G.getTargetWidget.filter(De=>De.className.indexOf("locked")==-1),Te]):G.setTargetWidget([Te]),vue.nextTick(()=>{ke&&vue.nextTick(()=>{var De;return(De=vue.unref(oe))==null?void 0:De.dragStart(ke)})}))},de=we=>{const ke=Ee(vue.unref(le));ke!=null&&ke.locked&&we.stopDrag(),console.log("开始拖拽",we)},fe=we=>{console.log("拖拽中",we),we.target.style.transform=we.transform;const[ke,Te]=we.translate;G.setSketchRuleLine([ke],[Te]);const De=Ee(vue.unref(le));De&&(De.x=Math.floor(we.translate[0]),De.y=Math.floor(we.translate[1]))},ve=we=>{console.log("拖拽结束",we),G.clearSketchRuleLine()},he=we=>{console.log("开始组拖拽",we)},pe=we=>{console.log("组拖拽中",we),we.events.forEach(ke=>{ke.target.style.transform=ke.transform})},ge=we=>{console.log("组拖拽完毕",we),we.events.forEach(ke=>{const Te=Ee(ke.target);!Te||!ke.lastEvent||(Te.x=Math.floor(ke.lastEvent.translate[0]),Te.y=Math.floor(ke.lastEvent.translate[1]))}),G.clearSketchRuleLine()},me=we=>{console.log("开始组修改大小",we)},_e=we=>{console.log("组修改大小中",we),we.events.forEach(ke=>{ke.target.style.transform=ke.drag.transform,ke.target.style.width=`${ke.width}px`,ke.target.style.height=`${ke.height}px`;const Te=Ee(ke.target);Te&&(Te.x=Math.floor(ke.drag.translate[0]),Te.y=Math.floor(ke.drag.translate[1]),Te.w=ke.drag.width,Te.h=ke.drag.height)})},ye=we=>{console.log("修改大小结束",we),G.clearSketchRuleLine()},be=we=>{const ke=Ee(vue.unref(le));ke!=null&&ke.locked&&we.stopDrag(),console.log("开始改变大小",we)},xe=we=>{console.log("改变中",we),we.target.style.transform=we.drag.transform,we.target.style.width=`${we.width}px`,we.target.style.height=`${we.height}px`;const ke=Ee(we.target);if(!ke)return;ke.x=Math.floor(we.drag.translate[0]),ke.y=Math.floor(we.drag.translate[1]),ke.w=we.drag.width,ke.h=we.drag.height;const[Te,De]=we.drag.translate;G.setSketchRuleLine([Te],[De])};function Ce(we){console.log("改变结束",we),G.clearSketchRuleLine()}const $e=vue.ref(!1);U.$baseEventBus.on("drag-start",()=>{$e.value=!0}),U.$baseEventBus.on("drag-end",()=>{$e.value=!1}),U.$baseEventBus.on("clear-stage",()=>{console.log("清空画布"),G.setWidgetList([]),G.setTargetWidget([]),G.clearSketchRuleLine()}),U.$baseEventBus.on("update-rect",()=>{var we,ke;console.log("更新画布"),(we=oe.value)==null||we.updateTarget(),(ke=oe.value)==null||ke.updateRect()}),U.$baseEventBus.on("change-align",we=>{vue.nextTick(()=>{var De;if(console.log("修改居中方式"),!G.targetsWidget.length)return;const ke=oe.value.getRect(),Te=oe.value.getMoveables();if(Te.length<=1){const Ie={};we=="left"&&(Ie.x=0),we=="right"&&(Ie.x=vue.unref(ee)-ke.width),we=="top"&&(Ie.y=0),we=="bottom"&&(Ie.y=vue.unref(ne)-ke.height),we=="middle"&&(Ie.y=vue.unref(ne)/2-ke.height/2),we=="center"&&(Ie.x=vue.unref(ee)/2-ke.width/2),Te[0].request("draggable",Ie,!0);const Me=Ee(Te[0].props.target);if(!Me)return;Object.keys(Ie).forEach(Be=>{Me[Be]=Ie[Be]})}else switch(we){case"left":case"right":case"top":case"bottom":case"middle":case"center":{const Ie=Math.max.apply(Math,ke.children.map(Be=>Be.top+Be.height)),Me=Math.max.apply(Math,ke.children.map(Be=>Be.left+Be.width));Te.forEach((Be,Ae)=>{const ze={};we=="left"&&(ze.x=ke.left),we=="right"&&(ze.x=Me-ke.children[Ae].width),we=="top"&&(ze.y=ke.top),we=="bottom"&&(ze.y=Ie-ke.children[Ae].height),we=="middle"&&(ze.y=ke.top+ke.height/2-ke.children[Ae].height/2),we=="center"&&(ze.x=ke.left+ke.width/2-ke.children[Ae].width/2),Be.request("draggable",ze,!0);const Re=Ee(Be.props.target);Re&&Object.keys(ze).forEach(Fe=>{Re[Fe]=ze[Fe]})}),G.clearSketchRuleLine()}break;case"verticalAround":case"levelAround":{const Ie=we=="verticalAround"?"top":"left",Me=we=="verticalAround"?"height":"width";let Be=ke[Ie];const Ae=(ke[Me]-ke.children.reduce((ze,Re)=>ze+Re[Me],0))/(Te.length-1);Te.sort((ze,Re)=>ze.state[Ie]-Re.state[Ie]),Te.forEach(ze=>{const Re=ze.getRect(),Fe={};Ie=="top"&&(Fe.y=Be),Ie=="left"&&(Fe.x=Be),ze.request("draggable",Fe,!0);const je=Ee(ze.props.target);je&&(Object.keys(Fe).forEach(Oe=>{je[Oe]=Fe[Oe]}),Be+=Re[Me]+Ae)}),G.clearSketchRuleLine()}break}(De=oe.value)==null||De.updateRect()})});const Ee=we=>G.getWidgetList.find(ke=>ke.id==(we==null?void 0:we.id)),Ve=we=>{we.preventDefault(),we.stopPropagation();const ke=we.dataTransfer.getData("dragComponent");if(ke){let Te=JSON.parse(ke);Te.chartId&&(Te.customize=chartJsonFormat(Te.customize));const{w:De,h:Ie}=Te;let Me=we.offsetX-De/2,Be=we.offsetY-Ie/2;Me<=0?Me=0:Me+De>=vue.unref(ee)&&(Me=vue.unref(ee)-De),Be<=0?Be=0:Be+Ie>=vue.unref(ne)&&(Be=vue.unref(ne)-Ie),G.setWidgetList([{...Te,x:Me,y:Be,z:G.getWidgetList.length+1},...G.getWidgetList])}},Ne=vue.ref([]),Se=()=>{const we=(Te,De)=>{const Ie=onKeyStroke(Te,Me=>{document.activeElement&&["INPUT"].includes(document.activeElement.tagName)||(Me.preventDefault(),Me.stopPropagation(),De(Me))},{eventName:"keydown"});Ne.value.push(Ie)},ke=Te=>navigator.userAgent.toLowerCase().includes("macintosh")?Te.metaKey:Te.ctrlKey;we(["Backspace","Delete"],Te=>{console.log("删除触发",Te),G.targetsWidget.length&&G.delWidgetItem(G.getTargetWidget.map(De=>De.id))}),we(["ArrowLeft","ArrowRight","ArrowDown","ArrowUp"],Te=>{if(!G.targetsWidget.length)return;console.log("触发移动",Te);let De=0,Ie=0;Te.key=="ArrowLeft"&&(De=-2),Te.key=="ArrowRight"&&(De=2),Te.key=="ArrowUp"&&(Ie=-2),Te.key=="ArrowDown"&&(Ie=2),Te.shiftKey&&(De*=10,Ie*=10),vue.nextTick(()=>{oe.value.getMoveables().forEach(Be=>{const Ae=Ee(Be.props.target);!Ae||Ae.locked||(Ae.x+De<0?Ae.x=0:Ae.x+De>vue.unref(ee)-Ae.w?Ae.x=vue.unref(ee)-Ae.w:Ae.x+=De,Ae.y+Ie<0?Ae.y=0:Ae.y+Ie>vue.unref(ne)-Ae.h?Ae.y=vue.unref(ne)-Ae.h:Ae.y+=Ie)}),vue.nextTick(()=>{var Be;return(Be=oe.value)==null?void 0:Be.updateRect()})})}),we(["c"],Te=>{console.log("复制",Te),ke(Te)&&G.getTargetWidget.length&&G.copyWidgetItem(G.getTargetWidget.map(De=>De.id))}),we(["v"],Te=>{console.log("粘贴",Te),ke(Te)&&G.getPasteWidget.length&&G.pasteWidgetItem()})},Pe=vue.ref(null);return vue.nextTick(()=>{Se(),Pe.value=new Selecto$2({rootContainer:null,dragContainer:".render",selectableTargets:[".drag-item"],selectByClick:!0,selectFromInside:!0,continueSelect:!1,preventDefault:!0,toggleContinueSelect:null,keyContainer:window,hitRate:0}),vue.unref(Pe).on("dragStart",we=>{G.setRightPannel(!1),console.log("开始全选拖拽",we)}),vue.unref(Pe).on("dragEnd",we=>{console.log("全选拖拽结束",we)}),vue.unref(Pe).on("select",we=>{console.log("选中结果",we),we.added.forEach(ke=>{ke.className.indexOf("loccked")||ke.classList.add("selected")}),we.removed.forEach(ke=>{ke.classList.remove("selected")}),ce(we.selected)}),vue.unref(Pe).on("selectEnd",we=>{console.log("选中结束",we),ce(we.selected)})}),vue.onBeforeUnmount(()=>{Ne.value.forEach(we=>we()),vue.unref(Pe)&&vue.unref(Pe).destroy()}),(we,ke)=>(vue.openBlock(),vue.createBlock(SketchRule,null,{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1B,[vue.unref($e)?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"absolute w-full h-full z-[9999]",onDrop:ke[0]||(ke[0]=Te=>Ve(Te)),onDragover:ke[1]||(ke[1]=vue.withModifiers(()=>{},["prevent"]))},null,32)):vue.createCommentVNode("",!0),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(G).getWidgetList,Te=>{var De,Ie;return vue.openBlock(),vue.createElementBlock("div",{key:Te.id,class:vue.normalizeClass(["absolute",{"drag-item":!0,locked:Te.locked,selected:vue.unref(G).widgetHoverIds.includes(Te.id),active:((De=vue.unref(le))==null?void 0:De.id)==Te.id}]),id:Te.id,style:vue.normalizeStyle(vue.unref(getItemStyle)(Te)),onDblclick:vue.withModifiers(Me=>Te.locked=!Te.locked,["stop"]),onMousedown:Me=>ce(Te,Me),onClick:vue.withModifiers(Me=>ce(Te,Me),["stop"])},[vue.unref(G).createLoading?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[Te.locked?(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$1a,_hoisted_5$S)):vue.createCommentVNode("",!0),((Ie=vue.unref(le))==null?void 0:Ie.id)==Te.id&&!Te.locked?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$H,[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(ae,Me=>vue.createElementVNode("div",{key:Te.label,onClick:vue.withModifiers(Be=>Me.clickFunc(Te),["stop"]),onDblclick:ke[2]||(ke[2]=vue.withModifiers(()=>{},["prevent","stop"])),class:"flex items-center justify-center w-16 h-6 mb-2 text-white rounded-sm cursor-pointer bg-color-primary"},vue.toDisplayString(Me.label),41,_hoisted_7$A)),64))])):vue.createCommentVNode("",!0)],64)),["iframe","select"].includes(Te.type)?(vue.openBlock(),vue.createElementBlock("div",_hoisted_8$u)):vue.createCommentVNode("",!0),vue.createVNode(Render,{config:Te,list:vue.unref(G).getWidgetList,isLinkageQuery:!1,isCount:!1},null,8,["config","list"])],46,_hoisted_2$1l)}),128)),vue.createVNode(vue.unref(Moveable),{rootContainer:vue.unref(re),ref_key:"moveableRef",ref:oe,origin:!1,stopPropagation:!0,target:vue.unref(G).targetsWidget,draggable:!0,resizable:!0,scalable:!1,snappable:!0,maxSnapElementGuidelineDistance:100,maxSnapElementGapDistance:100,isDisplayInnerSnapDigit:!0,snapDirections:!0,elementSnapDirections:!0,elementGuidelines:ue(),bounds:{left:0,top:0,bottom:0,right:0,position:"css"},onDragStart:de,onDrag:fe,onDragEnd:ve,onResizeStart:be,onResize:xe,onResizeEnd:Ce,onDragGroupStart:he,onDragGroup:pe,onDragGroupEnd:ge,onResizeGroupStart:me,onResizeGroup:_e,onResizeGroupEnd:ye},null,8,["rootContainer","target","elementGuidelines"])])]),_:1}))}}),main_vue_vue_type_style_index_0_scoped_d83296c5_lang="",Main=_export_sfc$2(_sfc_main$2p,[["__scopeId","data-v-d83296c5"]]),_sfc_main$2o=vue.defineComponent({__name:"colorPicker",props:{modelValue:{default:""},showInput:{type:Boolean,default:!0}},emits:["update:modelValue"],setup(te,{emit:U}){const G=te,{proxy:ee}=vue.getCurrentInstance(),ne=ee.$globalPreColor,re=vue.ref(G.modelValue=="transparent"?"":G.modelValue),oe=U;return vue.watch(re,ie=>{oe("update:modelValue",ie||"transparent")}),(ie,le)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[ie.showInput?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElInput),{key:0,value:vue.unref(re),class:"mr-1",style:{width:"80%"}},null,8,["value"])):vue.createCommentVNode("",!0),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{modelValue:vue.unref(re),"onUpdate:modelValue":le[0]||(le[0]=ae=>vue.isRef(re)?re.value=ae:null),predefine:vue.unref(ne),"show-alpha":""},null,8,["modelValue","predefine"])],64))}}),_hoisted_1$1A={class:"flex items-center h-10 p-2"},_hoisted_2$1k=vue.createElementVNode("span",{class:"w-1 h-4 mr-2",style:{background:"var(--el-color-primary)"}},null,-1),_sfc_main$2n=vue.defineComponent({__name:"group",props:{title:{default:"标题"}},setup(te){return(U,G)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createElementVNode("div",_hoisted_1$1A,[_hoisted_2$1k,vue.createTextVNode(" "+vue.toDisplayString(U.title),1)]),vue.renderSlot(U.$slots,"default")],64))}}),_withScopeId$B=te=>(vue.pushScopeId("data-v-9ebd23bc"),te=te(),vue.popScopeId(),te),_hoisted_1$1z={class:"flex items-center"},_hoisted_2$1j=_withScopeId$B(()=>vue.createElementVNode("span",{class:"ml-1 mr-1"},"-",-1)),_hoisted_3$19=["src"],_hoisted_4$12={key:1,class:"pt-4 pb-4"},_hoisted_5$R=_withScopeId$B(()=>vue.createElementVNode("p",{class:"mb-5"},"拖拽文件上传图片",-1)),_hoisted_6$G=_withScopeId$B(()=>vue.createElementVNode("i",{class:"text-6xl ri-image-add-line"},null,-1)),_hoisted_7$z=[_hoisted_5$R,_hoisted_6$G],_sfc_main$2m=vue.defineComponent({__name:"stageSetting",setup(te){const U=screenDesignMainStore(),{proxy:G}=vue.getCurrentInstance(),{resetUrl:ee}=G.$globalUtils,ne=[{label:"平铺",value:"repeat"},{label:"平铺X",value:"repeat-x"},{label:"平铺Y",value:"repeat-y"},{label:"不平铺",value:"no-repeat"}],re=[{label:"拉伸",value:"cover"},{label:"自适应",value:"contain"}],oe=[{label:"左上",value:"top left"},{label:"左中",value:"top center"},{label:"左右",value:"top right"},{label:"居左",value:"center left"},{label:"居中",value:"center center"},{label:"局右",value:"center right"},{label:"左下",value:"bottom left"},{label:"左中",value:"bottom center"},{label:"左右",value:"bottom right"}],ie=async le=>{const ae=new FormData;ae.append("file",le.file);const se=await G.$baseHttp.post("/api/ace-api/blade-resource/oss/endpoint/put-file",ae,{headers:{"Content-Type":"multipart/form-data",loading:!0}});se&&(U.widgetConfg.config.backgroundImage=se.data.link)};return(le,ae)=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElForm),{"label-position":"left",size:"small","label-width":"100px"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2n,{title:"整体布局"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"尺寸"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1z,[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{"model-value":vue.unref(U).stageWidth,onChange:vue.unref(U).setStageWidth,size:"small",min:0,"value-on-clear":1920},null,8,["model-value","onChange"]),_hoisted_2$1j,vue.createVNode(vue.unref(elementPlus.ElInputNumber),{"model-value":vue.unref(U).stageHeight,onChange:vue.unref(U).setStageHeight,size:"small",min:0,"value-on-clear":1080},null,8,["model-value","onChange"])])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景图"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElUpload),{drag:"",limit:1,"http-request":ie,"show-file-list":!1,accept:"image/*"},{default:vue.withCtx(()=>[vue.unref(U).widgetConfg.config.backgroundImage?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createElementVNode("img",{class:"object-contain max-h-40",src:vue.unref(ee)(vue.unref(U).widgetConfg.config.backgroundImage)},null,8,_hoisted_3$19),vue.createElementVNode("i",{class:"absolute text-xl ri-close-circle-line right-4 top-4",onClick:ae[0]||(ae[0]=vue.withModifiers(se=>vue.unref(U).widgetConfg.config.backgroundImage=null,["stop"]))})],64)):(vue.openBlock(),vue.createElementBlock("div",_hoisted_4$12,_hoisted_7$z))]),_:1})]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(U).widgetConfg.config.backgroundColor,"onUpdate:modelValue":ae[1]||(ae[1]=se=>vue.unref(U).widgetConfg.config.backgroundColor=se)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景平铺"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(U).widgetConfg.config.backgroundRepeat,"onUpdate:modelValue":ae[2]||(ae[2]=se=>vue.unref(U).widgetConfg.config.backgroundRepeat=se),size:"small",style:{width:"100%"},placeholder:"请选择",clearable:""},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(ne,se=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:se.value,label:se.label,value:se.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(U).widgetConfg.config.backgroundSize,"onUpdate:modelValue":ae[3]||(ae[3]=se=>vue.unref(U).widgetConfg.config.backgroundSize=se),size:"small",style:{width:"100%"},placeholder:"请选择",clearable:""},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(re,se=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:se.value,label:se.label,value:se.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(U).widgetConfg.config.backgroundPosition,"onUpdate:modelValue":ae[4]||(ae[4]=se=>vue.unref(U).widgetConfg.config.backgroundPosition=se),size:"small",style:{width:"100%"},placeholder:"请选择",clearable:""},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(oe,se=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:se.value,label:se.label,value:se.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}))}}),stageSetting_vue_vue_type_style_index_0_scoped_9ebd23bc_lang="",stagetSetting=_export_sfc$2(_sfc_main$2m,[["__scopeId","data-v-9ebd23bc"]]),_sfc_main$2l=vue.defineComponent({__name:"decorationSetting",setup(te){const U=vue.inject("widgetConfig");return(G,ee)=>vue.unref(U)?(vue.openBlock(),vue.createBlock(_sfc_main$2n,{key:0,title:"基础"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"主颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(U).customize.decorationColor1,"onUpdate:modelValue":ee[0]||(ee[0]=ne=>vue.unref(U).customize.decorationColor1=ne)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"副颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(U).customize.decorationColor2,"onUpdate:modelValue":ee[1]||(ee[1]=ne=>vue.unref(U).customize.decorationColor2=ne)},null,8,["modelValue"])]),_:1}),Object.keys(vue.unref(U).customize).includes("reverse")?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElFormItem),{key:0,label:"是否反转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(U).customize.reverse,"onUpdate:modelValue":ee[2]||(ee[2]=ne=>vue.unref(U).customize.reverse=ne)},null,8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),Object.keys(vue.unref(U).customize).includes("duration")?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElFormItem),{key:1,label:"动画时长"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(U).customize.duration,"onUpdate:modelValue":ee[3]||(ee[3]=ne=>vue.unref(U).customize.duration=ne)},null,8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0)]),_:1})):vue.createCommentVNode("",!0)}}),_sfc_main$2k=vue.defineComponent({__name:"setting",setup(te){const{proxy:U}=vue.getCurrentInstance(),G=vue.inject("widgetConfig");return(ee,ne)=>vue.unref(G)?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElForm),{key:0,"label-position":"left",size:"small","label-width":"90px",class:"design-form"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2n,{title:"标题"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"标题"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(G).name,"onUpdate:modelValue":ne[0]||(ne[0]=re=>vue.unref(G).name=re)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$2n,{title:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(G).w,"onUpdate:modelValue":ne[1]||(ne[1]=re=>vue.unref(G).w=re),onBlur:ne[2]||(ne[2]=re=>vue.unref(U).$baseEventBus.emit("update-rect"))},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"高度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(G).h,"onUpdate:modelValue":ne[3]||(ne[3]=re=>vue.unref(G).h=re),onBlur:ne[4]||(ne[4]=re=>vue.unref(U).$baseEventBus.emit("update-rect"))},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"x轴坐标"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(G).x,"onUpdate:modelValue":ne[5]||(ne[5]=re=>vue.unref(G).x=re),onBlur:ne[6]||(ne[6]=re=>vue.unref(U).$baseEventBus.emit("update-rect"))},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"y轴坐标"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(G).y,"onUpdate:modelValue":ne[7]||(ne[7]=re=>vue.unref(G).y=re),onBlur:ne[8]||(ne[8]=re=>vue.unref(U).$baseEventBus.emit("update-rect"))},null,8,["modelValue"])]),_:1})]),_:1}),vue.renderSlot(ee.$slots,"default")]),_:3})):vue.createCommentVNode("",!0)}}),_sfc_main$2j=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2l)]),_:1}))}}),__vite_glob_0_0=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2j},Symbol.toStringTag,{value:"Module"})),_sfc_main$2i=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2l)]),_:1}))}}),__vite_glob_0_1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2i},Symbol.toStringTag,{value:"Module"})),_sfc_main$2h=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2l)]),_:1}))}}),__vite_glob_0_2=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2h},Symbol.toStringTag,{value:"Module"})),_sfc_main$2g=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2l)]),_:1}))}}),__vite_glob_0_3=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2g},Symbol.toStringTag,{value:"Module"})),_sfc_main$2f=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2l)]),_:1}))}}),__vite_glob_0_4=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2f},Symbol.toStringTag,{value:"Module"})),_sfc_main$2e=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2l)]),_:1}))}}),__vite_glob_0_5=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2e},Symbol.toStringTag,{value:"Module"})),_sfc_main$2d=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2l)]),_:1}))}}),__vite_glob_0_6=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2d},Symbol.toStringTag,{value:"Module"})),_sfc_main$2c=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2l)]),_:1}))}}),__vite_glob_0_7=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2c},Symbol.toStringTag,{value:"Module"})),_sfc_main$2b=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2l)]),_:1}))}}),__vite_glob_0_8=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2b},Symbol.toStringTag,{value:"Module"})),_sfc_main$2a=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2l)]),_:1}))}}),__vite_glob_0_9=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2a},Symbol.toStringTag,{value:"Module"})),_sfc_main$29=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2l)]),_:1}))}}),__vite_glob_0_10=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$29},Symbol.toStringTag,{value:"Module"})),_sfc_main$28=vue.defineComponent({__name:"borderSetting",setup(te){const U=vue.inject("widgetConfig");return(G,ee)=>vue.unref(U)?(vue.openBlock(),vue.createBlock(_sfc_main$2n,{key:0,title:"基础"},{default:vue.withCtx(()=>[Object.keys(vue.unref(U).customize).includes("title")?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElFormItem),{key:0,label:"标题"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(U).customize.title,"onUpdate:modelValue":ee[0]||(ee[0]=ne=>vue.unref(U).customize.title=ne)},null,8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),Object.keys(vue.unref(U).customize).includes("titleWidth")?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElFormItem),{key:1,label:"标题宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(U).customize.titleWidth,"onUpdate:modelValue":ee[1]||(ee[1]=ne=>vue.unref(U).customize.titleWidth=ne)},null,8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"边框主颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(U).customize.borderMainColor,"onUpdate:modelValue":ee[2]||(ee[2]=ne=>vue.unref(U).customize.borderMainColor=ne)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"边框副颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(U).customize.borderSecondaryColor,"onUpdate:modelValue":ee[3]||(ee[3]=ne=>vue.unref(U).customize.borderSecondaryColor=ne)},null,8,["modelValue"])]),_:1}),Object.keys(vue.unref(U).customize).includes("reverse")?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElFormItem),{key:2,label:"是否反转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(U).customize.reverse,"onUpdate:modelValue":ee[4]||(ee[4]=ne=>vue.unref(U).customize.reverse=ne)},null,8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),Object.keys(vue.unref(U).customize).includes("duration")?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElFormItem),{key:3,label:"动画时长"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(U).customize.duration,"onUpdate:modelValue":ee[5]||(ee[5]=ne=>vue.unref(U).customize.duration=ne)},null,8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(U).customize.backgroundColor,"onUpdate:modelValue":ee[6]||(ee[6]=ne=>vue.unref(U).customize.backgroundColor=ne)},null,8,["modelValue"])]),_:1})]),_:1})):vue.createCommentVNode("",!0)}}),_sfc_main$27=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$28)]),_:1}))}}),__vite_glob_1_0=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$27},Symbol.toStringTag,{value:"Module"})),_sfc_main$26=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$28)]),_:1}))}}),__vite_glob_1_1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$26},Symbol.toStringTag,{value:"Module"})),_sfc_main$25=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$28)]),_:1}))}}),__vite_glob_1_2=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$25},Symbol.toStringTag,{value:"Module"})),_sfc_main$24=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$28)]),_:1}))}}),__vite_glob_1_3=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$24},Symbol.toStringTag,{value:"Module"})),_sfc_main$23=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$28)]),_:1}))}}),__vite_glob_1_4=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$23},Symbol.toStringTag,{value:"Module"})),_sfc_main$22=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$28)]),_:1}))}}),__vite_glob_1_5=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$22},Symbol.toStringTag,{value:"Module"})),_sfc_main$21=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$28)]),_:1}))}}),__vite_glob_1_6=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$21},Symbol.toStringTag,{value:"Module"})),_sfc_main$20=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$28)]),_:1}))}}),__vite_glob_1_7=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$20},Symbol.toStringTag,{value:"Module"})),_sfc_main$1$=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$28)]),_:1}))}}),__vite_glob_1_8=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$1$},Symbol.toStringTag,{value:"Module"})),_sfc_main$1_=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$28)]),_:1}))}}),__vite_glob_1_9=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$1_},Symbol.toStringTag,{value:"Module"})),_sfc_main$1Z=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$28)]),_:1}))}}),__vite_glob_1_10=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$1Z},Symbol.toStringTag,{value:"Module"})),_sfc_main$1Y=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$28)]),_:1}))}}),__vite_glob_1_11=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$1Y},Symbol.toStringTag,{value:"Module"})),_sfc_main$1X=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$28)]),_:1}))}}),__vite_glob_1_12=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$1X},Symbol.toStringTag,{value:"Module"})),_sfc_main$1W=vue.defineComponent({__name:"setting",setup(te){const U=vue.inject("widgetConfig");return(G,ee)=>{const ne=vue.resolveComponent("el-form-item"),re=vue.resolveComponent("el-input-number");return vue.unref(U)?(vue.openBlock(),vue.createBlock(_sfc_main$2k,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2n,{title:"基础"},{default:vue.withCtx(()=>[vue.createVNode(ne,{label:"背景色一"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(U).customize.gradientColor0,"onUpdate:modelValue":ee[0]||(ee[0]=oe=>vue.unref(U).customize.gradientColor0=oe)},null,8,["modelValue"])]),_:1}),vue.createVNode(ne,{label:"背景色二"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(U).customize.gradientColor1,"onUpdate:modelValue":ee[1]||(ee[1]=oe=>vue.unref(U).customize.gradientColor1=oe)},null,8,["modelValue"])]),_:1}),vue.createVNode(ne,{label:"宽度"},{default:vue.withCtx(()=>[vue.createVNode(re,{modelValue:vue.unref(U).customize.width,"onUpdate:modelValue":ee[2]||(ee[2]=oe=>vue.unref(U).customize.width=oe)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0)}}}),__vite_glob_2_0=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$1W},Symbol.toStringTag,{value:"Module"})),_sfc_main$1V=vue.defineComponent({__name:"setting",setup(te){const U=vue.inject("widgetConfig");return(G,ee)=>vue.unref(U)?(vue.openBlock(),vue.createBlock(_sfc_main$2k,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2n,{title:"地址配置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"地址"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(U).customize.url,"onUpdate:modelValue":ee[0]||(ee[0]=ne=>vue.unref(U).customize.url=ne)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0)}}),__vite_glob_2_1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$1V},Symbol.toStringTag,{value:"Module"})),_withScopeId$A=te=>(vue.pushScopeId("data-v-ba7d8f9c"),te=te(),vue.popScopeId(),te),_hoisted_1$1y={class:"p-3"},_hoisted_2$1i=["src"],_hoisted_3$18={key:1,class:"pt-4 pb-4"},_hoisted_4$11=_withScopeId$A(()=>vue.createElementVNode("p",{class:"mb-5"},"拖拽文件上传图片",-1)),_hoisted_5$Q=_withScopeId$A(()=>vue.createElementVNode("i",{class:"text-6xl ri-image-add-line"},null,-1)),_hoisted_6$F=[_hoisted_4$11,_hoisted_5$Q],_sfc_main$1U=vue.defineComponent({__name:"setting",setup(te){const U=[{label:"压缩",value:"fill"},{label:"填充",value:"cover"},{label:"自适应",value:"contain"},{label:"原始大小",value:"none"},{label:"展示最小",value:"scale-down"}],{proxy:G}=vue.getCurrentInstance(),{resetUrl:ee}=G.$globalUtils,ne=vue.inject("widgetConfig"),re=async oe=>{const ie=new FormData;ie.append("file",oe.file);const le=await G.$baseHttp.post("/api/ace-api/blade-resource/oss/endpoint/put-file",ie,{headers:{"Content-Type":"multipart/form-data",loading:!0}});le&&(ne.value.customize.url=le.data.link)};return(oe,ie)=>vue.unref(ne)?(vue.openBlock(),vue.createBlock(_sfc_main$2k,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2n,{title:"图片配置"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1y,[vue.createVNode(vue.unref(elementPlus.ElUpload),{drag:"",limit:1,"http-request":re,"show-file-list":!1,accept:"image/*"},{default:vue.withCtx(()=>[vue.unref(ne).customize.url?(vue.openBlock(),vue.createElementBlock("img",{key:0,class:"max-h-40",src:vue.unref(ee)(vue.unref(ne).customize.url)},null,8,_hoisted_2$1i)):(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$18,_hoisted_6$F))]),_:1})]),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"地址"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(ne).customize.url,"onUpdate:modelValue":ie[0]||(ie[0]=le=>vue.unref(ne).customize.url=le)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"展示方式"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(ne).customize.fit,"onUpdate:modelValue":ie[1]||(ie[1]=le=>vue.unref(ne).customize.fit=le)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(U,le=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:le.value,label:le.label,value:le.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0)}}),setting_vue_vue_type_style_index_0_scoped_ba7d8f9c_lang="",setting$1=_export_sfc$2(_sfc_main$1U,[["__scopeId","data-v-ba7d8f9c"]]),__vite_glob_2_2=Object.freeze(Object.defineProperty({__proto__:null,default:setting$1},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1x=vue.createElementVNode("i",{class:"ri-arrow-right-fill ml-2 mr-2"},null,-1),_sfc_main$1T=vue.defineComponent({__name:"text",setup(te){const U=[{label:"靠左",value:"left"},{label:"居中",value:"center"},{label:"靠右",value:"right"}],G=vue.inject("widgetConfig");return(ee,ne)=>vue.unref(G)?(vue.openBlock(),vue.createBlock(_sfc_main$2n,{key:0,title:"文本"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"文本"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(G).customize.title,"onUpdate:modelValue":ne[0]||(ne[0]=re=>vue.unref(G).customize.title=re)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(G).customize.fontSize,"onUpdate:modelValue":ne[1]||(ne[1]=re=>vue.unref(G).customize.fontSize=re)},{suffix:vue.withCtx(()=>[vue.createTextVNode("px")]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"文字权重"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(G).customize.fontWeight,"onUpdate:modelValue":ne[2]||(ne[2]=re=>vue.unref(G).customize.fontWeight=re)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"文字间距"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(G).customize.letterSpacing,"onUpdate:modelValue":ne[3]||(ne[3]=re=>vue.unref(G).customize.letterSpacing=re)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"文字对齐方式"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(G).customize.textAlign,"onUpdate:modelValue":ne[4]||(ne[4]=re=>vue.unref(G).customize.textAlign=re)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(U,re=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:re.value,label:re.label,value:re.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"文字渐变方向"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadioGroup),{modelValue:vue.unref(G).customize.colorPosition,"onUpdate:modelValue":ne[5]||(ne[5]=re=>vue.unref(G).customize.colorPosition=re)},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"top",label:"top"},{default:vue.withCtx(()=>[vue.createTextVNode("上下")]),_:1}),vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"left",label:"left"},{default:vue.withCtx(()=>[vue.createTextVNode("左右")]),_:1})]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"文字渐变颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(G).customize.startColor,"onUpdate:modelValue":ne[6]||(ne[6]=re=>vue.unref(G).customize.startColor=re),showInput:!1},null,8,["modelValue"]),_hoisted_1$1x,vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(G).customize.endColor,"onUpdate:modelValue":ne[7]||(ne[7]=re=>vue.unref(G).customize.endColor=re),showInput:!1},null,8,["modelValue"])]),_:1})]),_:1})):vue.createCommentVNode("",!0)}}),_withScopeId$z=te=>(vue.pushScopeId("data-v-63b0e6ae"),te=te(),vue.popScopeId(),te),_hoisted_1$1w={class:"selection el-popper is-light el-popover"},_hoisted_2$1h=_withScopeId$z(()=>vue.createElementVNode("span",{class:"el-popper__arrow","data-popper-arrow":""},null,-1)),validKeys$1="0123456789+-*/@.()",_sfc_main$1S=vue.defineComponent({__name:"exp",setup(te){const U=screenDesignMainStore(),G=vue.inject("widgetConfig"),ee=vue.ref(null),ne=vue.ref(""),re=vue.computed(()=>{const be=[];return Object.keys(U.getCountMap).forEach(xe=>{const Ce=U.getCountMap[xe],$e=[];Object.keys(Ce.var).forEach(Ee=>{const Ve=Ee.replace(xe,Ce.title);$e.push({label:Ve.replace(`${Ce.title}.`,""),value:`${Ve}||${xe}`})}),be.push({label:Ce.title,value:xe,children:$e})}),be}),oe=be=>{const{key:xe}=be;switch(xe){case"Enter":be.preventDefault();break;case"@":case"Process":se();break}};let ie=null;const le=()=>{const be=vue.unref(ee).innerHTML;let xe=pe(be.replace(/<br>/g,""));xe=xe.map($e=>me($e)?ge($e):$e.data.split("").filter(Ee=>validKeys$1.includes(Ee)).join(""));const Ce=xe.join("");if(be!==Ce){const $e=_e(be,Ce);vue.unref(ee).innerHTML=Ce,ye(vue.unref(ee),$e)}clearTimeout(ie),ie=setTimeout(async()=>{fe()},500)},ae=vue.ref(!1),se=()=>{ne.value="",ae.value=!0},ue=be=>{ae.value=!1;const[xe,Ce]=be.split("||"),$e=`<div contenteditable="false">${xe}<span>${Ce}</span></div>`;de("@",$e)};(()=>{var be;if((be=vue.unref(G).customize.formula)!=null&&be.exp){const xe=vue.unref(G).customize.formula;let Ce=xe.exp??"";const $e=xe.identifier.split(","),Ee=/\{([^}]+)\}/g;let Ve=-1;Ce=Ce.replace(Ee,(Ne,Se)=>(Ve+=1,`<div contenteditable="false">${Se}<span>${$e[Ve]}</span></div>`)),vue.nextTick(()=>{vue.unref(ee).innerHTML=Ce.replace(/@/g,""),setTimeout(()=>{fe()},100)})}})();const de=(be,xe="")=>{if(!vue.unref(ee))return;let Ce=vue.unref(ee).innerHTML;Ce.includes(be)&&(Ce=Ce.replace(new RegExp(be,"g"),xe),vue.unref(ee).innerHTML=Ce),fe()},fe=()=>{let be="";const xe=[],Ce=vue.unref(ee).innerHTML.replace(/\sdata-spm-anchor-id=".*?"/g,"");he({text:Ce,prefix:'<div contenteditable="false">',suffix:"</div>"}).forEach(Ee=>{const[Ve,Ne]=he({text:Ee,prefix:"<span>",suffix:"</span>"});Ne?(be+=`{${Ve}}`,xe.push(Ne)):be+=Ve}),G.value.customize.formula={exp:be,identifier:xe.toString()}},ve=be=>{ae.value=!1,be&&de("@")},he=({text:be,prefix:xe,suffix:Ce})=>be.replace(new RegExp(xe,"g"),",").replace(new RegExp(Ce,"g"),",").split(",").filter($e=>!!$e),pe=be=>{const xe=document.createElement("div");return xe.innerHTML=be,[...xe.childNodes]},ge=be=>{let xe=document.createElement("div");xe.appendChild(be);let Ce=xe.innerHTML;return xe=be=null,Ce},me=be=>Object.prototype.toString.call(be)==="[object HTMLDivElement]",_e=(be,xe)=>{const Ce=be.split(""),$e=xe.split(""),Ee=Math.max(Ce.length,$e.length);let Ve=0;for(let Ne=0;Ne<Ee&&Ce[Ne]==$e[Ne];Ne++)Ve++;return Ve},ye=(be,xe)=>{const Ce=document.createRange(),$e=window.getSelection();let Ee=0,Ve=0;const Ne=pe(be.innerHTML);for(let Se=0;Se<Ne.length;Se++){const Pe=Ne[Se];if(me(Pe))xe-=ge(Pe).length;else if(xe>Pe.length)xe-=Pe.length;else{Ve=xe;break}Ee++}Ce.selectNodeContents(be),Ce.collapse(!1),be.childNodes[Ee]&&Ce.setStart(be.childNodes[Ee],Ve),Ce.collapse(!0),$e.removeAllRanges(),$e.addRange(Ce)};return(be,xe)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createElementVNode("div",{ref_key:"formulaRef",ref:ee,class:"flex-1 formula",contenteditable:"",placeholder:"请输入表达式 输入「@」后选择指标",style:{"ime-mode":"disabled"},onKeydown:vue.withModifiers(oe,["stop"]),onKeyup:le},null,544),vue.withDirectives(vue.createElementVNode("div",_hoisted_1$1w,[vue.createElementVNode("div",{class:"mb-2.5 flex justify-between"},[vue.createTextVNode(" 选择变量 "),vue.createElementVNode("i",{class:"text-base cursor-pointer ri-close-circle-line",onClick:ve})]),vue.createVNode(vue.unref(elementPlus.ElTreeSelect),{onChange:ue,filterable:"",accordion:"",placeholder:"请选择变量",teleported:!1,modelValue:vue.unref(ne),"onUpdate:modelValue":xe[0]||(xe[0]=Ce=>vue.isRef(ne)?ne.value=Ce:null),data:vue.unref(re)},null,8,["modelValue","data"]),_hoisted_2$1h],512),[[vue.vShow,vue.unref(ae)]])],64))}}),exp_vue_vue_type_style_index_0_scoped_63b0e6ae_lang="",Exp=_export_sfc$2(_sfc_main$1S,[["__scopeId","data-v-63b0e6ae"]]),_withScopeId$y=te=>(vue.pushScopeId("data-v-ae8d9af3"),te=te(),vue.popScopeId(),te),_hoisted_1$1v=_withScopeId$y(()=>vue.createElementVNode("div",{class:"h-12"},null,-1)),_sfc_main$1R=vue.defineComponent({__name:"setting",setup(te){const U=vue.inject("widgetConfig");return(G,ee)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1T),vue.createVNode(_sfc_main$2n,{title:"计算设置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"小数位"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:vue.unref(U).customize.toFixed,"onUpdate:modelValue":ee[0]||(ee[0]=ne=>vue.unref(U).customize.toFixed=ne),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"公式",class:"formula-item"},{default:vue.withCtx(()=>[vue.createVNode(Exp)]),_:1})]),_:1}),_hoisted_1$1v]),_:1}))}}),setting_vue_vue_type_style_index_0_scoped_ae8d9af3_lang="",setting=_export_sfc$2(_sfc_main$1R,[["__scopeId","data-v-ae8d9af3"]]),__vite_glob_2_3=Object.freeze(Object.defineProperty({__proto__:null,default:setting},Symbol.toStringTag,{value:"Module"})),_sfc_main$1Q=vue.defineComponent({__name:"setting",setup(te){const U=vue.inject("widgetConfig");return(G,ee)=>vue.unref(U)?(vue.openBlock(),vue.createBlock(_sfc_main$2k,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2n,{title:"基础"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"渐变方向"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadioGroup),{modelValue:vue.unref(U).customize.colorPosition,"onUpdate:modelValue":ee[0]||(ee[0]=ne=>vue.unref(U).customize.colorPosition=ne)},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"bottom",label:"bottom"},{default:vue.withCtx(()=>[vue.createTextVNode("上下")]),_:1}),vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"right",label:"right"},{default:vue.withCtx(()=>[vue.createTextVNode("左右")]),_:1})]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"边角宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(U).customize.borderRadius,"onUpdate:modelValue":ee[1]||(ee[1]=ne=>vue.unref(U).customize.borderRadius=ne)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景色一"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(U).customize.gradientColor0,"onUpdate:modelValue":ee[2]||(ee[2]=ne=>vue.unref(U).customize.gradientColor0=ne)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景色二"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(U).customize.gradientColor1,"onUpdate:modelValue":ee[3]||(ee[3]=ne=>vue.unref(U).customize.gradientColor1=ne)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0)}}),__vite_glob_2_4=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$1Q},Symbol.toStringTag,{value:"Module"})),_sfc_main$1P=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1T)]),_:1}))}}),__vite_glob_2_5=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$1P},Symbol.toStringTag,{value:"Module"})),_sfc_main$1O=vue.defineComponent({__name:"setting",setup(te){return vue.inject("widgetConfig"),(U,G)=>(vue.openBlock(),vue.createBlock(_sfc_main$2k,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1T)]),_:1}))}}),__vite_glob_2_6=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$1O},Symbol.toStringTag,{value:"Module"})),_sfc_main$1N=vue.defineComponent({__name:"setting",setup(te){const U=vue.inject("widgetConfig");return(G,ee)=>{const ne=vue.resolveComponent("el-form-item"),re=vue.resolveComponent("el-input-number");return vue.unref(U)?(vue.openBlock(),vue.createBlock(_sfc_main$2k,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2n,{title:"基础"},{default:vue.withCtx(()=>[vue.createVNode(ne,{label:"背景色一"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(U).customize.gradientColor0,"onUpdate:modelValue":ee[0]||(ee[0]=oe=>vue.unref(U).customize.gradientColor0=oe)},null,8,["modelValue"])]),_:1}),vue.createVNode(ne,{label:"背景色二"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(U).customize.gradientColor1,"onUpdate:modelValue":ee[1]||(ee[1]=oe=>vue.unref(U).customize.gradientColor1=oe)},null,8,["modelValue"])]),_:1}),vue.createVNode(ne,{label:"高度"},{default:vue.withCtx(()=>[vue.createVNode(re,{modelValue:vue.unref(U).customize.height,"onUpdate:modelValue":ee[2]||(ee[2]=oe=>vue.unref(U).customize.height=oe)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0)}}}),__vite_glob_2_7=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$1N},Symbol.toStringTag,{value:"Module"})),_withScopeId$x=te=>(vue.pushScopeId("data-v-7afca816"),te=te(),vue.popScopeId(),te),_hoisted_1$1u=_withScopeId$x(()=>vue.createElementVNode("div",{class:"h-14"},null,-1)),_sfc_main$1M=vue.defineComponent({__name:"linkage",setup(te){const{proxy:U}=vue.getCurrentInstance(),G=screenDesignMainStore(),ee=vue.computed(()=>G.getWidgetList.filter(oe=>oe.modelType=="MODEL_INDICATORS")),ne=vue.inject("widgetConfig"),re=vue.ref([]);return U.$baseHttp.get("/api/ace-data-center/model-indicators/getConfJson",{params:{modelIndicatorsIds:vue.unref(ee).map(oe=>oe.indicatorsId).toString()}}).then(oe=>{re.value=[],console.log(vue.unref(ee)),vue.unref(ee).forEach(ie=>{const le=oe.data.formConfJsonMap[ie.indicatorsId];le&&re.value.push({label:ie.name,value:ie.indicatorsId,children:JSON.parse(le).map(ae=>({label:ae.name,value:ae.key}))})})}),(oe,ie)=>(vue.openBlock(),vue.createBlock(_sfc_main$2n,{title:"联动组件"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:""},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElCascader),{teleported:!1,style:{width:"100%"},placeholder:"请选择指标",modelValue:vue.unref(ne).customize.linkage,"onUpdate:modelValue":ie[0]||(ie[0]=le=>vue.unref(ne).customize.linkage=le),options:vue.unref(re),props:{multiple:!0},clearable:""},null,8,["modelValue","options"])]),_:1}),_hoisted_1$1u]),_:1}))}}),linkage_vue_vue_type_style_index_0_scoped_7afca816_lang="",linkage=_export_sfc$2(_sfc_main$1M,[["__scopeId","data-v-7afca816"]]),_hoisted_1$1t={class:"flex flex-wrap gap-1"},_hoisted_2$1g={class:"flex items-center gap-1"},_hoisted_3$17={class:"flex items-center gap-1"},_hoisted_4$10={class:"flex items-center gap-1"},_hoisted_5$P={class:"flex items-center gap-1"},_sfc_main$1L=vue.defineComponent({__name:"setting",setup(te){const U=vue.inject("widgetConfig");return(G,ee)=>vue.unref(U)?(vue.openBlock(),vue.createBlock(_sfc_main$2k,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2n,{title:"基础"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(U).customize.backgroundColor,"onUpdate:modelValue":ee[0]||(ee[0]=ne=>vue.unref(U).customize.backgroundColor=ne)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"边框颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(U).customize.borderColor,"onUpdate:modelValue":ee[1]||(ee[1]=ne=>vue.unref(U).customize.borderColor=ne)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"边框大小"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1t,[vue.createElementVNode("div",_hoisted_2$1g,[vue.createTextVNode(" 上 "),vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(U).customize.borderTopWidth,"onUpdate:modelValue":ee[2]||(ee[2]=ne=>vue.unref(U).customize.borderTopWidth=ne),"controls-position":"right"},null,8,["modelValue"])]),vue.createElementVNode("div",_hoisted_3$17,[vue.createTextVNode(" 右 "),vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(U).customize.borderRightWidth,"onUpdate:modelValue":ee[3]||(ee[3]=ne=>vue.unref(U).customize.borderRightWidth=ne),"controls-position":"right"},null,8,["modelValue"])]),vue.createElementVNode("div",_hoisted_4$10,[vue.createTextVNode(" 下 "),vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(U).customize.borderBottomWidth,"onUpdate:modelValue":ee[4]||(ee[4]=ne=>vue.unref(U).customize.borderBottomWidth=ne),"controls-position":"right"},null,8,["modelValue"])]),vue.createElementVNode("div",_hoisted_5$P,[vue.createTextVNode(" 左 "),vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(U).customize.borderLeftWidth,"onUpdate:modelValue":ee[5]||(ee[5]=ne=>vue.unref(U).customize.borderLeftWidth=ne),"controls-position":"right"},null,8,["modelValue"])])])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"字体颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o,{modelValue:vue.unref(U).customize.color,"onUpdate:modelValue":ee[6]||(ee[6]=ne=>vue.unref(U).customize.color=ne)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(U).customize.fontSize,"onUpdate:modelValue":ee[7]||(ee[7]=ne=>vue.unref(U).customize.fontSize=ne)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"圆角大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(U).customize.borderRadius,"onUpdate:modelValue":ee[8]||(ee[8]=ne=>vue.unref(U).customize.borderRadius=ne)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$2n,{title:"输入框配置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"默认值"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(U).customize.modelValue,"onUpdate:modelValue":ee[9]||(ee[9]=ne=>vue.unref(U).customize.modelValue=ne)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"空值显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(U).customize.placeholder,"onUpdate:modelValue":ee[10]||(ee[10]=ne=>vue.unref(U).customize.placeholder=ne)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(linkage)]),_:1})):vue.createCommentVNode("",!0)}}),__vite_glob_3_0=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$1L},Symbol.toStringTag,{value:"Module"})),_sfc_main$1K=vue.defineComponent({__name:"setting",setup(te){const{proxy:U}=vue.getCurrentInstance(),G=vue.ref([]),ee=vue.ref([]),ne=vue.inject("widgetConfig");U.$baseHttp.get(`/api/ace-data-center/custom-dic/options?projectId=${U.$baseGetCurrentProjectId()}`).then(oe=>{G.value=oe.data,re(!1)});const re=(oe=!0)=>{const ie=vue.unref(ne).customize.dictId;oe&&(ee.value=[],vue.unref(ne).customize.modelValue=""),ie&&U.$baseHttp.get(`/api/ace-data-center/custom-dic/readDict/${ie}`).then(le=>{ee.value=le.data??[]})};return(oe,ie)=>vue.unref(ne)?(vue.openBlock(),vue.createBlock(_sfc_main$2k,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2n,{title:"基础信息"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"值可清空"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(ne).customize.clearable,"onUpdate:modelValue":ie[0]||(ie[0]=le=>vue.unref(ne).customize.clearable=le)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$2n,{title:"下拉框配置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"字典"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{teleported:!1,modelValue:vue.unref(ne).customize.dictId,"onUpdate:modelValue":ie[1]||(ie[1]=le=>vue.unref(ne).customize.dictId=le),placeholder:"字典值",onChange:re},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(G),le=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{label:le.label,value:le.code,key:le.code},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"默认值"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{teleported:!1,modelValue:vue.unref(ne).customize.modelValue,"onUpdate:modelValue":ie[2]||(ie[2]=le=>vue.unref(ne).customize.modelValue=le),placeholder:"请选择",clearable:""},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(ee),le=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{label:le.name,value:le.code,key:le.code},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"空值显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(ne).customize.placeholder,"onUpdate:modelValue":ie[3]||(ie[3]=le=>vue.unref(ne).customize.placeholder=le)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(linkage)]),_:1})):vue.createCommentVNode("",!0)}}),__vite_glob_3_1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$1K},Symbol.toStringTag,{value:"Module"})),dict={lengendX:[{label:"靠左",value:"left"},{label:"居中",value:"center"},{label:"靠右",value:"right"}],lengendY:[{label:"靠上",value:"top"},{label:"居中",value:"center"},{label:"靠下",value:"bottom"}],orient:[{label:"水平",value:"horizontal"},{label:"垂直",value:"vertical"}],shape:[{label:"圆形",value:"circle"},{label:"方形",value:"rect"},{label:"圆角方形",value:"roundRect"},{label:"三角形",value:"triangle"},{label:"钢笔形",value:"pin"},{label:"箭头形",value:"arrow"}],xposition:[{label:"顶部",value:"top"},{label:"底部",value:"bottom"}],yposition:[{label:"左侧",value:"left"},{label:"右侧",value:"right"}],lineStyle:[{label:"实线",value:"solid"},{label:"虚线",value:"dashed"},{label:"点线",value:"dotted"}],category:[{label:"数据轴",value:"value"},{label:"类目轴",value:"category"}]},_hoisted_1$1s={class:"flex flex-col justify-start w-full"},_hoisted_2$1f={key:0,class:"flex items-center w-16 font-bold"},_hoisted_3$16=vue.createElementVNode("span",{class:"w-1 h-4 mr-2",style:{background:"var(--el-color-primary)"}},null,-1),_hoisted_4$$={class:"flex flex-wrap flex-1"},_hoisted_5$O=vue.createElementVNode("div",{class:"h-4"},null,-1),_sfc_main$1J=vue.defineComponent({__name:"setting-item-box",props:{name:{default:""}},setup(te){return(U,G)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createElementVNode("div",_hoisted_1$1s,[U.name?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$1f,[_hoisted_3$16,vue.createTextVNode(" "+vue.toDisplayString(U.name),1)])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_4$$,[vue.renderSlot(U.$slots,"default")])]),_hoisted_5$O],64))}}),_hoisted_1$1r={class:"w-1/2 pr-2 mt-2"},_hoisted_2$1e={class:"text-xs mb-2"},_sfc_main$1I=vue.defineComponent({__name:"setting-item",props:{name:{default:""}},setup(te){return(U,G)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1r,[vue.createElementVNode("div",_hoisted_2$1e,vue.toDisplayString(U.name),1),vue.renderSlot(U.$slots,"default")]))}}),_sfc_main$1H=vue.defineComponent({__name:"setting-common",props:{option:{default:{}},type:{default:0}},setup(te){const U=te,{proxy:G}=vue.getCurrentInstance(),ee=G.$globalPreColor,ne=[{label:"横向",value:"horizontal"},{label:"纵向",value:"vertical"}];return vue.watch(()=>U.option.custom,re=>{U.option.yAxis&&(U.option.yAxis.axisLabel.formatter=`${re.prefix??""}{value}${re.suffix??""}`)},{deep:!0}),vue.watch(()=>U.option.showScroll,re=>{if(re)U.option.dataZoom=[{type:"slider",backgroundColor:"#eef8fd",fillerColor:"#14b1f8",borderColor:"#eef8fd",startValue:0,endValue:5,filterMode:"",showDetail:!1,width:"90%",height:10,handleSize:30,left:"5%",bottom:15},{type:"inside",zoomOnMouseWheel:!1,moveOnMouseWheel:!0,moveOnMouseMove:!0}];else{const oe=U.option.series;U.option.series=[],U.option.direction="",setTimeout(()=>{delete U.option.dataZoom,U.option.series=oe})}}),vue.watch(()=>U.option.direction,re=>{U.option.dataZoom.forEach((oe,ie)=>{re=="vertical"?oe.yAxisIndex=[0]:delete oe.yAxisIndex})}),(re,oe)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[re.option.grid?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCollapseItem),{key:0,title:"容器"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"左侧距离"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:re.option.grid.left,"onUpdate:modelValue":oe[0]||(oe[0]=ie=>re.option.grid.left=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"右侧距离"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:re.option.grid.right,"onUpdate:modelValue":oe[1]||(oe[1]=ie=>re.option.grid.right=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"上侧距离"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:re.option.grid.top,"onUpdate:modelValue":oe[2]||(oe[2]=ie=>re.option.grid.top=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"下侧距离"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:re.option.grid.bottom,"onUpdate:modelValue":oe[3]||(oe[3]=ie=>re.option.grid.bottom=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"自适应"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:re.option.grid.containLabel,"onUpdate:modelValue":oe[4]||(oe[4]=ie=>re.option.grid.containLabel=ie)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0),[1,3,5].includes(re.type)?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCollapseItem),{key:1,title:"滚动条"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:re.option.showScroll,"onUpdate:modelValue":oe[5]||(oe[5]=ie=>re.option.showScroll=ie)},null,8,["modelValue"])]),_:1})]),_:1}),re.option.showScroll?(vue.openBlock(),vue.createBlock(_sfc_main$1J,{key:0,name:"参数"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"滚动条方向"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:re.option.direction,"onUpdate:modelValue":oe[6]||(oe[6]=ie=>re.option.direction=ie),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(ne,ie=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:ie.value,label:ie.label,value:ie.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"范围结束值"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:re.option.dataZoom[0].endValue,"onUpdate:modelValue":oe[7]||(oe[7]=ie=>re.option.dataZoom[0].endValue=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"拖拽宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:re.option.dataZoom[0].handleSize,"onUpdate:modelValue":oe[8]||(oe[8]=ie=>re.option.dataZoom[0].handleSize=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:re.option.dataZoom[0].width,"onUpdate:modelValue":oe[9]||(oe[9]=ie=>re.option.dataZoom[0].width=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"高度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:re.option.dataZoom[0].height,"onUpdate:modelValue":oe[10]||(oe[10]=ie=>re.option.dataZoom[0].height=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"上"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:re.option.dataZoom[0].top,"onUpdate:modelValue":oe[11]||(oe[11]=ie=>re.option.dataZoom[0].top=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"右"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:re.option.dataZoom[0].right,"onUpdate:modelValue":oe[12]||(oe[12]=ie=>re.option.dataZoom[0].right=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"下"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:re.option.dataZoom[0].bottom,"onUpdate:modelValue":oe[13]||(oe[13]=ie=>re.option.dataZoom[0].bottom=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"左"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:re.option.dataZoom[0].left,"onUpdate:modelValue":oe[14]||(oe[14]=ie=>re.option.dataZoom[0].left=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"背景颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ee),modelValue:re.option.dataZoom[0].backgroundColor,"onUpdate:modelValue":oe[15]||(oe[15]=ie=>re.option.dataZoom[0].backgroundColor=ie)},null,8,["predefine","modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"选中范围颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ee),modelValue:re.option.dataZoom[0].fillerColor,"onUpdate:modelValue":oe[16]||(oe[16]=ie=>re.option.dataZoom[0].fillerColor=ie)},null,8,["predefine","modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"边框颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ee),modelValue:re.option.dataZoom[0].borderColor,"onUpdate:modelValue":oe[17]||(oe[17]=ie=>re.option.dataZoom[0].borderColor=ie)},null,8,["predefine","modelValue"])]),_:1})]),_:1})):vue.createCommentVNode("",!0)]),_:1})):vue.createCommentVNode("",!0),re.option.legend?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCollapseItem),{key:2,title:"图例"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:re.option.legend.show,"onUpdate:modelValue":oe[18]||(oe[18]=ie=>re.option.legend.show=ie)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"字体颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ee),modelValue:re.option.legend.textStyle.color,"onUpdate:modelValue":oe[19]||(oe[19]=ie=>re.option.legend.textStyle.color=ie)},null,8,["predefine","modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:re.option.legend.textStyle.fontSize,"onUpdate:modelValue":oe[20]||(oe[20]=ie=>re.option.legend.textStyle.fontSize=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"x轴"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:re.option.legend.x,"onUpdate:modelValue":oe[21]||(oe[21]=ie=>re.option.legend.x=ie),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).lengendX,ie=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:ie.value,label:ie.label,value:ie.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"y轴"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:re.option.legend.y,"onUpdate:modelValue":oe[22]||(oe[22]=ie=>re.option.legend.y=ie),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).lengendY,ie=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:ie.value,label:ie.label,value:ie.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"方向"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:re.option.legend.orient,"onUpdate:modelValue":oe[23]||(oe[23]=ie=>re.option.legend.orient=ie),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).orient,ie=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:ie.value,label:ie.label,value:ie.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),re.option.legend.icon?(vue.openBlock(),vue.createBlock(_sfc_main$1I,{key:0,name:"形状"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:re.option.legend.icon,"onUpdate:modelValue":oe[24]||(oe[24]=ie=>re.option.legend.icon=ie),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).shape,ie=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:ie.value,label:ie.label,value:ie.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),vue.createVNode(_sfc_main$1I,{name:"宽"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:re.option.legend.itemWidth,"onUpdate:modelValue":oe[25]||(oe[25]=ie=>re.option.legend.itemWidth=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"高"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:re.option.legend.itemHeight,"onUpdate:modelValue":oe[26]||(oe[26]=ie=>re.option.legend.itemHeight=ie),size:"small"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0),re.option.xAxis?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCollapseItem),{key:3,title:"x轴"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:re.option.xAxis.show,"onUpdate:modelValue":oe[27]||(oe[27]=ie=>re.option.xAxis.show=ie)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:re.option.xAxis.type,"onUpdate:modelValue":oe[28]||(oe[28]=ie=>re.option.xAxis.type=ie),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).category,ie=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:ie.value,label:ie.label,value:ie.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"最小值"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"allow-create":"",filterable:"",clearable:"",modelValue:re.option.xAxis.min,"onUpdate:modelValue":oe[29]||(oe[29]=ie=>re.option.xAxis.min=ie),size:"small"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElOption),{label:"dataMin",value:"dataMin"})]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"最大值"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"allow-create":"",filterable:"",clearable:"",modelValue:re.option.xAxis.max,"onUpdate:modelValue":oe[30]||(oe[30]=ie=>re.option.xAxis.max=ie),size:"small"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElOption),{label:"dataMax",value:"dataMax"})]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"轴线"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:re.option.xAxis.position,"onUpdate:modelValue":oe[31]||(oe[31]=ie=>re.option.xAxis.position=ie),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).xposition,ie=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:ie.value,label:ie.label,value:ie.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"反向"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:re.option.xAxis.inverse,"onUpdate:modelValue":oe[32]||(oe[32]=ie=>re.option.xAxis.inverse=ie)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:re.option.xAxis.axisLabel.fontSize,"onUpdate:modelValue":oe[33]||(oe[33]=ie=>re.option.xAxis.axisLabel.fontSize=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"间隔"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:re.option.xAxis.axisLabel.interval,"onUpdate:modelValue":oe[34]||(oe[34]=ie=>re.option.xAxis.axisLabel.interval=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:re.option.xAxis.axisLabel.rotate,"onUpdate:modelValue":oe[35]||(oe[35]=ie=>re.option.xAxis.axisLabel.rotate=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ee),modelValue:re.option.xAxis.axisLabel.color,"onUpdate:modelValue":oe[36]||(oe[36]=ie=>re.option.xAxis.axisLabel.color=ie)},null,8,["predefine","modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"单位"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"名称"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:re.option.xAxis.name,"onUpdate:modelValue":oe[37]||(oe[37]=ie=>re.option.xAxis.name=ie),size:"small",placeholder:"请输入单位"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:re.option.xAxis.nameTextStyle.fontSize,"onUpdate:modelValue":oe[38]||(oe[38]=ie=>re.option.xAxis.nameTextStyle.fontSize=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ee),modelValue:re.option.xAxis.nameTextStyle.color,"onUpdate:modelValue":oe[39]||(oe[39]=ie=>re.option.xAxis.nameTextStyle.color=ie)},null,8,["predefine","modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"分割线"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:re.option.xAxis.splitLine.show,"onUpdate:modelValue":oe[40]||(oe[40]=ie=>re.option.xAxis.splitLine.show=ie)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"粗细"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:re.option.xAxis.splitLine.lineStyle.width,"onUpdate:modelValue":oe[41]||(oe[41]=ie=>re.option.xAxis.splitLine.lineStyle.width=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:re.option.xAxis.splitLine.lineStyle.type,"onUpdate:modelValue":oe[42]||(oe[42]=ie=>re.option.xAxis.splitLine.lineStyle.type=ie),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).lineStyle,ie=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:ie.value,label:ie.label,value:ie.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ee),modelValue:re.option.xAxis.splitLine.lineStyle.color,"onUpdate:modelValue":oe[43]||(oe[43]=ie=>re.option.xAxis.splitLine.lineStyle.color=ie)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0),re.option.yAxis?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCollapseItem),{key:4,title:"y轴"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:re.option.yAxis.show,"onUpdate:modelValue":oe[44]||(oe[44]=ie=>re.option.yAxis.show=ie)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:re.option.yAxis.type,"onUpdate:modelValue":oe[45]||(oe[45]=ie=>re.option.yAxis.type=ie),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).category,ie=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:ie.value,label:ie.label,value:ie.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"最小值"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"allow-create":"",filterable:"",clearable:"",modelValue:re.option.yAxis.min,"onUpdate:modelValue":oe[46]||(oe[46]=ie=>re.option.yAxis.min=ie),size:"small"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElOption),{label:"dataMin",value:"dataMin"})]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"最大值"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"allow-create":"",filterable:"",clearable:"",modelValue:re.option.yAxis.max,"onUpdate:modelValue":oe[47]||(oe[47]=ie=>re.option.yAxis.max=ie),size:"small"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElOption),{label:"dataMax",value:"dataMax"})]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"轴线"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:re.option.yAxis.position,"onUpdate:modelValue":oe[48]||(oe[48]=ie=>re.option.yAxis.position=ie),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).yposition,ie=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:ie.value,label:ie.label,value:ie.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"反向"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:re.option.yAxis.inverse,"onUpdate:modelValue":oe[49]||(oe[49]=ie=>re.option.yAxis.inverse=ie)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:re.option.yAxis.axisLabel.fontSize,"onUpdate:modelValue":oe[50]||(oe[50]=ie=>re.option.yAxis.axisLabel.fontSize=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"间隔"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:re.option.yAxis.axisLabel.interval,"onUpdate:modelValue":oe[51]||(oe[51]=ie=>re.option.yAxis.axisLabel.interval=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:re.option.yAxis.axisLabel.rotate,"onUpdate:modelValue":oe[52]||(oe[52]=ie=>re.option.yAxis.axisLabel.rotate=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ee),modelValue:re.option.yAxis.axisLabel.color,"onUpdate:modelValue":oe[53]||(oe[53]=ie=>re.option.yAxis.axisLabel.color=ie)},null,8,["predefine","modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"单位"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"名称"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:re.option.yAxis.name,"onUpdate:modelValue":oe[54]||(oe[54]=ie=>re.option.yAxis.name=ie),size:"small",placeholder:"请输入单位"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:re.option.yAxis.nameTextStyle.fontSize,"onUpdate:modelValue":oe[55]||(oe[55]=ie=>re.option.yAxis.nameTextStyle.fontSize=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ee),modelValue:re.option.yAxis.nameTextStyle.color,"onUpdate:modelValue":oe[56]||(oe[56]=ie=>re.option.yAxis.nameTextStyle.color=ie)},null,8,["predefine","modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"分割线"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:re.option.yAxis.splitLine.show,"onUpdate:modelValue":oe[57]||(oe[57]=ie=>re.option.yAxis.splitLine.show=ie)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"粗细"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:re.option.yAxis.splitLine.lineStyle.width,"onUpdate:modelValue":oe[58]||(oe[58]=ie=>re.option.yAxis.splitLine.lineStyle.width=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:re.option.yAxis.splitLine.lineStyle.type,"onUpdate:modelValue":oe[59]||(oe[59]=ie=>re.option.yAxis.splitLine.lineStyle.type=ie),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).lineStyle,ie=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:ie.value,label:ie.label,value:ie.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ee),modelValue:re.option.yAxis.splitLine.lineStyle.color,"onUpdate:modelValue":oe[60]||(oe[60]=ie=>re.option.yAxis.splitLine.lineStyle.color=ie)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0),re.option.custom&&![2].includes(re.type)?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCollapseItem),{key:5,title:"显示"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"前缀"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:re.option.custom.prefix,"onUpdate:modelValue":oe[61]||(oe[61]=ie=>re.option.custom.prefix=ie),size:"small",placeholder:"前缀"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"后缀"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:re.option.custom.suffix,"onUpdate:modelValue":oe[62]||(oe[62]=ie=>re.option.custom.suffix=ie),size:"small",placeholder:"后缀"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"保留小数"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:re.option.custom.toFixed,"onUpdate:modelValue":oe[63]||(oe[63]=ie=>re.option.custom.toFixed=ie),size:"small"},null,8,["modelValue"])]),_:1}),re.type==7?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(_sfc_main$1I,{name:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:re.option.custom.fontSize,"onUpdate:modelValue":oe[64]||(oe[64]=ie=>re.option.custom.fontSize=ie),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ee),modelValue:re.option.custom.color,"onUpdate:modelValue":oe[65]||(oe[65]=ie=>re.option.custom.color=ie)},null,8,["predefine","modelValue"])]),_:1})],64)):vue.createCommentVNode("",!0)]),_:1})]),_:1})):vue.createCommentVNode("",!0)],64))}}),settingCommon_vue_vue_type_style_index_0_scoped_003224ac_lang="",SettingCommon=_export_sfc$2(_sfc_main$1H,[["__scopeId","data-v-003224ac"]]),_hoisted_1$1q={class:"ml-2"},_hoisted_2$1d={class:"flex justify-end flex-1"},_hoisted_3$15=["onClick"],_hoisted_4$_=vue.createElementVNode("i",{class:"cursor-move ri-draggable sortable-handle"},null,-1),_sfc_main$1G=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1}},setup(te){const U=screenDesignMainStore(),G=te,{proxy:ee}=vue.getCurrentInstance(),ne=ee.$globalPreColor,re=[{label:"顶部",value:"top"},{label:"左侧",value:"left"},{label:"右侧",value:"right"},{label:"底部",value:"bottom"}],{setChartData:oe}=useCustomChart(),{seriesItem:ie,init:le,customSeriesData:ae}=useBarCommon();vue.ref(null);const se=vue.ref(JSON.parse(JSON.stringify(Object.values(ae.value)[0]??ie)));vue.watch(se,()=>ue(),{deep:!0}),vue.watch(()=>G.option.dataShow,()=>{le(G.option,()=>{ue()})},{deep:!0,immediate:G.immediate}),vue.watch(()=>G.option.dataShow.x,async()=>{G.option.dataset.source=await oe(G.type,G.option.dataShow.x)});const ue=()=>{const de=se.value,fe=ve=>{ve.barWidth=de.barWidth,ve.stack=de.stack,ve.label.show=de.label.show,ve.label.color=de.label.color,ve.label.position=de.label.position,ve.label.fontSize=de.label.fontSize,ve.label.rotate=de.label.rotate,ve.itemStyle.borderRadius=[de.borderRadiusNumber,de.borderRadiusNumber,0,0]};G.option.series.forEach(ve=>{fe(ve)}),Object.keys(ae.value).forEach(ve=>{fe(vue.unref(ae)[ve])}),window.customSeriesData=ae.value},ce=de=>{const{hide:fe}=G.option.dataShow;fe.includes(de)?fe.splice(fe.findIndex(ve=>ve==de),1):fe.push(de)};return(de,fe)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(SettingCommon,{option:de.option,type:3},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"柱状配置"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(se).barWidth,"onUpdate:modelValue":fe[0]||(fe[0]=ve=>vue.unref(se).barWidth=ve),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"堆栈"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(se).stack,"onUpdate:modelValue":fe[1]||(fe[1]=ve=>vue.unref(se).stack=ve)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"圆角"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:vue.unref(se).borderRadiusNumber,"onUpdate:modelValue":fe[2]||(fe[2]=ve=>vue.unref(se).borderRadiusNumber=ve),size:"small"},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(se).label.show,"onUpdate:modelValue":fe[3]||(fe[3]=ve=>vue.unref(se).label.show=ve)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(se).label.position,"onUpdate:modelValue":fe[4]||(fe[4]=ve=>vue.unref(se).label.position=ve),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(re,ve=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:ve.value,label:ve.label,value:ve.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(se).label.rotate,"onUpdate:modelValue":fe[5]||(fe[5]=ve=>vue.unref(se).label.rotate=ve),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(se).label.fontSize,"onUpdate:modelValue":fe[6]||(fe[6]=ve=>vue.unref(se).label.fontSize=ve),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:vue.unref(se).label.color,"onUpdate:modelValue":fe[7]||(fe[7]=ve=>vue.unref(se).label.color=ve)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"X轴",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:de.option.dataShow.x,"onUpdate:modelValue":fe[8]||(fe[8]=ve=>de.option.dataShow.x=ve),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(U).getChartData.x,ve=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:ve.comment,label:ve.comment,value:ve.comment},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"Y轴",style:{width:"100%","margin-top":"10px"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:de.option.dataShow.y,"onUpdate:modelValue":fe[9]||(fe[9]=ve=>de.option.dataShow.y=ve),animation:150,handle:".sortable-handle"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(de.option.dataShow.y,(ve,he)=>(vue.openBlock(),vue.createElementBlock("div",{key:ve,class:"w-full sort-item"},[vue.unref(ae)[ve]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElColorPicker),{key:0,predefine:vue.unref(ne),size:"small",modelValue:vue.unref(ae)[ve].itemStyle.color,"onUpdate:modelValue":pe=>vue.unref(ae)[ve].itemStyle.color=pe},null,8,["predefine","modelValue","onUpdate:modelValue"])):vue.createCommentVNode("",!0),vue.createTextVNode(" "+vue.toDisplayString(vue.unref(ae)[ve].itemStyle.color)+" ",1),vue.createElementVNode("span",_hoisted_1$1q,vue.toDisplayString(ve),1),vue.createElementVNode("div",_hoisted_2$1d,[vue.createElementVNode("i",{onClick:pe=>ce(ve),class:vue.normalizeClass([de.option.dataShow.hide.includes(ve)?"ri-eye-off-line":"ri-eye-line","mr-2 cursor-pointer"])},null,10,_hoisted_3$15),_hoisted_4$_])]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_hoisted_1$1p={class:"ml-2"},_hoisted_2$1c={class:"flex justify-end flex-1"},_hoisted_3$14=["onClick"],_hoisted_4$Z=vue.createElementVNode("i",{class:"cursor-move ri-draggable sortable-handle"},null,-1),_sfc_main$1F=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1}},setup(te){const U=screenDesignMainStore(),G=te,{proxy:ee}=vue.getCurrentInstance(),ne=ee.$globalPreColor,re=[{label:"顶部",value:"top"},{label:"左侧",value:"left"},{label:"右侧",value:"right"},{label:"底部",value:"bottom"}],oe=[{label:"实线",value:"solid"},{label:"虚线",value:"dashed"},{label:"点线",value:"dotted"}],{setChartData:ie}=useCustomChart(),{seriesItem:le,init:ae,customSeriesData:se}=useLineCommon();vue.ref(null);const ue=vue.ref(JSON.parse(JSON.stringify(Object.values(se.value)[0]??le)));vue.watch(ue,()=>ce(),{deep:!0}),vue.watch(()=>G.option.dataShow,()=>{ae(G.option,()=>{ce()})},{deep:!0,immediate:G.immediate}),vue.watch(()=>G.option.dataShow.x,async()=>{G.option.dataset.source=await ie(G.type,G.option.dataShow.x)});const ce=()=>{const fe=JSON.parse(JSON.stringify(ue.value)),ve=he=>{Object.keys(fe).forEach(pe=>{pe=="lineStyle"?Object.keys(he[pe]).forEach(ge=>{ge!="color"&&(he[pe][ge]=fe[pe][ge])}):he[pe]=fe[pe]})};G.option.series.forEach(he=>{ve(he)}),Object.keys(se.value).forEach(he=>{ve(vue.unref(se)[he])}),window.customSeriesData=se.value},de=fe=>{const{hide:ve}=G.option.dataShow;ve.includes(fe)?ve.splice(ve.findIndex(he=>he==fe),1):ve.push(fe)};return(fe,ve)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(SettingCommon,{option:fe.option,type:1},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"折线配置"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:"线条"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ue).lineStyle.width,"onUpdate:modelValue":ve[0]||(ve[0]=he=>vue.unref(ue).lineStyle.width=he),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(ue).lineStyle.type,"onUpdate:modelValue":ve[1]||(ve[1]=he=>vue.unref(ue).lineStyle.type=he),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(oe,he=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:he.value,label:he.label,value:he.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"实心点"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ue).symbolSize,"onUpdate:modelValue":ve[2]||(ve[2]=he=>vue.unref(ue).symbolSize=he),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"平滑"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(ue).smooth,"onUpdate:modelValue":ve[3]||(ve[3]=he=>vue.unref(ue).smooth=he)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(ue).label.show,"onUpdate:modelValue":ve[4]||(ve[4]=he=>vue.unref(ue).label.show=he)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(ue).label.position,"onUpdate:modelValue":ve[5]||(ve[5]=he=>vue.unref(ue).label.position=he),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(re,he=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:he.value,label:he.label,value:he.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ue).label.rotate,"onUpdate:modelValue":ve[6]||(ve[6]=he=>vue.unref(ue).label.rotate=he),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ue).label.fontSize,"onUpdate:modelValue":ve[7]||(ve[7]=he=>vue.unref(ue).label.fontSize=he),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:vue.unref(ue).label.color,"onUpdate:modelValue":ve[8]||(ve[8]=he=>vue.unref(ue).label.color=he)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"X轴",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:fe.option.dataShow.x,"onUpdate:modelValue":ve[9]||(ve[9]=he=>fe.option.dataShow.x=he),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(U).getChartData.x,he=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:he.comment,label:he.comment,value:he.comment},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"Y轴",style:{width:"100%","margin-top":"10px"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:fe.option.dataShow.y,"onUpdate:modelValue":ve[10]||(ve[10]=he=>fe.option.dataShow.y=he),animation:150,handle:".sortable-handle"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(fe.option.dataShow.y,(he,pe)=>(vue.openBlock(),vue.createElementBlock("div",{key:he,class:"w-full sort-item"},[vue.unref(se)[he]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElColorPicker),{key:0,size:"small",predefine:vue.unref(ne),modelValue:vue.unref(se)[he].lineStyle.color,"onUpdate:modelValue":ge=>vue.unref(se)[he].lineStyle.color=ge},null,8,["predefine","modelValue","onUpdate:modelValue"])):vue.createCommentVNode("",!0),vue.createElementVNode("span",_hoisted_1$1p,vue.toDisplayString(he),1),vue.createElementVNode("div",_hoisted_2$1c,[vue.createElementVNode("i",{onClick:ge=>de(he),class:vue.normalizeClass([fe.option.dataShow.hide.includes(he)?"ri-eye-off-line":"ri-eye-line","mr-2 cursor-pointer"])},null,10,_hoisted_3$14),_hoisted_4$Z])]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_sfc_main$1E=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1}},setup(te){const U=screenDesignMainStore(),G=te,{proxy:ee}=vue.getCurrentInstance(),ne=ee.$globalPreColor,re=[{label:"外侧",value:"outside"},{label:"内部",value:"inside"},{label:"中心",value:"center"}],oe=[{label:"数据名",value:"{b}"},{label:"百分比",value:"{d}"},{label:"列名:百分比",value:"{b}:{d}%"}],{setChartData:ie}=useCustomChart(),{seriesItem:le,init:ae,customSeriesData:se}=usePieCommon(),ue=vue.ref(JSON.parse(JSON.stringify(Object.values(se.value)[0]??le)));vue.watch(ue,()=>ce(),{deep:!0}),vue.watch(()=>G.option.dataShow,async()=>{G.option.dataset.source=await ie(G.type,G.option.dataShow.x),ae(G.option,()=>{ce()})},{deep:!0,immediate:G.immediate});const ce=()=>{const de=ue.value,fe=ve=>{Object.keys(de).forEach(he=>{ve[he]=de[he]})};G.option.series.forEach(ve=>{fe(ve)}),Object.keys(se.value).forEach(ve=>{fe(vue.unref(se)[ve])}),window.customSeriesData=se.value};return(de,fe)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(SettingCommon,{option:de.option,type:2},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"饼图配置"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:"样式"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"半径1"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(ue).radius[0],"onUpdate:modelValue":fe[0]||(fe[0]=ve=>vue.unref(ue).radius[0]=ve),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"半径2"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(ue).radius[1],"onUpdate:modelValue":fe[1]||(fe[1]=ve=>vue.unref(ue).radius[1]=ve),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"距离1"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(ue).center[0],"onUpdate:modelValue":fe[2]||(fe[2]=ve=>vue.unref(ue).center[0]=ve),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"距离2"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(ue).center[1],"onUpdate:modelValue":fe[3]||(fe[3]=ve=>vue.unref(ue).center[1]=ve),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"南丁格尔图"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(ue).roseType,"onUpdate:modelValue":fe[4]||(fe[4]=ve=>vue.unref(ue).roseType=ve)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(ue).label.show,"onUpdate:modelValue":fe[5]||(fe[5]=ve=>vue.unref(ue).label.show=ve)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"引导线"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(ue).labelLine.show,"onUpdate:modelValue":fe[6]||(fe[6]=ve=>vue.unref(ue).labelLine.show=ve)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"展示类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(ue).label.formatter,"onUpdate:modelValue":fe[7]||(fe[7]=ve=>vue.unref(ue).label.formatter=ve),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(oe,ve=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:ve.value,label:ve.label,value:ve.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(ue).label.position,"onUpdate:modelValue":fe[8]||(fe[8]=ve=>vue.unref(ue).label.position=ve),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(re,ve=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:ve.value,label:ve.label,value:ve.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{predefine:vue.unref(ne),modelValue:vue.unref(ue).label.fontSize,"onUpdate:modelValue":fe[9]||(fe[9]=ve=>vue.unref(ue).label.fontSize=ve),size:"small"},null,8,["predefine","modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:vue.unref(ue).label.color,"onUpdate:modelValue":fe[10]||(fe[10]=ve=>vue.unref(ue).label.color=ve)},null,8,["predefine","modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"圆角"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ue).itemStyle.borderRadius,"onUpdate:modelValue":fe[11]||(fe[11]=ve=>vue.unref(ue).itemStyle.borderRadius=ve),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ue).itemStyle.borderWidth,"onUpdate:modelValue":fe[12]||(fe[12]=ve=>vue.unref(ue).itemStyle.borderWidth=ve),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:vue.unref(ue).itemStyle.borderColor,"onUpdate:modelValue":fe[13]||(fe[13]=ve=>vue.unref(ue).itemStyle.borderColor=ve)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"维度",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:de.option.dataShow.x,"onUpdate:modelValue":fe[14]||(fe[14]=ve=>de.option.dataShow.x=ve),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(U).getChartData.x,ve=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:ve.comment,label:ve.comment,value:ve.comment},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"统计",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:de.option.dataShow.y,"onUpdate:modelValue":fe[15]||(fe[15]=ve=>de.option.dataShow.y=ve),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(U).getChartData.y.filter(ve=>ve.aggType!="other"),ve=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:ve.showLabel,label:ve.showLabel,value:ve.showLabel},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_hoisted_1$1o={class:"ml-2"},_hoisted_2$1b={class:"flex items-center justify-end flex-1"},_hoisted_3$13={class:"mr-2 text-xs cursor-pointer"},_hoisted_4$Y=["onClick"],_hoisted_5$N=vue.createElementVNode("i",{class:"cursor-move ri-draggable sortable-handle"},null,-1),_sfc_main$1D=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1}},setup(te){const U=screenDesignMainStore(),G=te,{proxy:ee}=vue.getCurrentInstance(),ne=ee.$globalPreColor,re=[{label:"顶部",value:"top"},{label:"左侧",value:"left"},{label:"右侧",value:"right"},{label:"底部",value:"bottom"}],oe=[{label:"实线",value:"solid"},{label:"虚线",value:"dashed"},{label:"点线",value:"dotted"}],{setChartData:ie}=useCustomChart(),{seriesLineItem:le,seriesBarItem:ae,init:se,customSeriesData:ue}=useBarLineCommon();vue.ref(null);const ce=vue.ref(JSON.parse(JSON.stringify(Object.values(ue.value).find(pe=>pe.type=="bar")??ae))),de=vue.ref(JSON.parse(JSON.stringify(Object.values(ue.value).find(pe=>pe.type=="line")??le)));vue.watch([ce,de],()=>ve(),{deep:!0}),vue.watch(()=>G.option.dataShow,()=>{se(G.option,()=>{ve()})},{deep:!0,immediate:G.immediate}),vue.watch(()=>G.option.dataShow.x,async()=>{G.option.dataset.source=await ie(G.type,G.option.dataShow.x)});const fe=(pe,ge)=>{var _e,ye,be,xe;if(vue.unref(ue)[ge].type!=pe){const Ce=JSON.parse(JSON.stringify({...pe=="line"?de.value:ce.value})),$e=((ye=(_e=vue.unref(ue)[ge])==null?void 0:_e.lineStyle)==null?void 0:ye.color)??((xe=(be=vue.unref(ue)[ge])==null?void 0:be.itemStyle)==null?void 0:xe.color);Ce[Ce!=null&&Ce.lineStyle?"lineStyle":"itemStyle"].color=$e,ue.value[ge]=Ce,se(G.option,()=>{})}},ve=()=>{const pe=ce.value,ge=de.value,me=_e=>{const ye=JSON.parse(JSON.stringify(_e.type=="bar"?pe:ge));Object.keys(ye).forEach(be=>{["lineStyle","itemStyle"].includes(be)?Object.keys(_e[be]).forEach(xe=>{xe=="borderRadius"?_e[be][xe]=[pe.borderRadiusNumber,pe.borderRadiusNumber,0,0]:xe!="color"&&(_e[be][xe]=ye[be][xe])}):_e[be]=ye[be]})};G.option.series.forEach(_e=>{me(_e)}),Object.keys(ue.value).forEach(_e=>{me(vue.unref(ue)[_e])}),window.customSeriesData=ue.value},he=pe=>{const{hide:ge}=G.option.dataShow;ge.includes(pe)?ge.splice(ge.findIndex(me=>me==pe),1):ge.push(pe)};return(pe,ge)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(SettingCommon,{option:pe.option,type:5},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"柱状配置"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ce).barWidth,"onUpdate:modelValue":ge[0]||(ge[0]=me=>vue.unref(ce).barWidth=me),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"圆角"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:vue.unref(ce).borderRadiusNumber,"onUpdate:modelValue":ge[1]||(ge[1]=me=>vue.unref(ce).borderRadiusNumber=me),size:"small"},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(ce).label.show,"onUpdate:modelValue":ge[2]||(ge[2]=me=>vue.unref(ce).label.show=me)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(ce).label.position,"onUpdate:modelValue":ge[3]||(ge[3]=me=>vue.unref(ce).label.position=me),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(re,me=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:me.value,label:me.label,value:me.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ce).label.rotate,"onUpdate:modelValue":ge[4]||(ge[4]=me=>vue.unref(ce).label.rotate=me),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ce).label.fontSize,"onUpdate:modelValue":ge[5]||(ge[5]=me=>vue.unref(ce).label.fontSize=me),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:vue.unref(ce).label.color,"onUpdate:modelValue":ge[6]||(ge[6]=me=>vue.unref(ce).label.color=me)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"折线配置"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:"线条"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(de).lineStyle.width,"onUpdate:modelValue":ge[7]||(ge[7]=me=>vue.unref(de).lineStyle.width=me),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(de).lineStyle.type,"onUpdate:modelValue":ge[8]||(ge[8]=me=>vue.unref(de).lineStyle.type=me),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(oe,me=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:me.value,label:me.label,value:me.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"实心点"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(de).symbolSize,"onUpdate:modelValue":ge[9]||(ge[9]=me=>vue.unref(de).symbolSize=me),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"平滑"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(de).smooth,"onUpdate:modelValue":ge[10]||(ge[10]=me=>vue.unref(de).smooth=me)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(de).label.show,"onUpdate:modelValue":ge[11]||(ge[11]=me=>vue.unref(de).label.show=me)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(de).label.position,"onUpdate:modelValue":ge[12]||(ge[12]=me=>vue.unref(de).label.position=me),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(re,me=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:me.value,label:me.label,value:me.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(de).label.rotate,"onUpdate:modelValue":ge[13]||(ge[13]=me=>vue.unref(de).label.rotate=me),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(de).label.fontSize,"onUpdate:modelValue":ge[14]||(ge[14]=me=>vue.unref(de).label.fontSize=me),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:vue.unref(de).label.color,"onUpdate:modelValue":ge[15]||(ge[15]=me=>vue.unref(de).label.color=me)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"X轴",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:pe.option.dataShow.x,"onUpdate:modelValue":ge[16]||(ge[16]=me=>pe.option.dataShow.x=me),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(U).getChartData.x,me=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:me.comment,label:me.comment,value:me.comment},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"Y轴",style:{width:"100%","margin-top":"10px"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:pe.option.dataShow.y,"onUpdate:modelValue":ge[17]||(ge[17]=me=>pe.option.dataShow.y=me),animation:150,handle:".sortable-handle"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(pe.option.dataShow.y,(me,_e)=>(vue.openBlock(),vue.createElementBlock("div",{key:me,class:"w-full sort-item"},[vue.unref(ue)[me]?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.unref(ue)[me].type=="bar"?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElColorPicker),{key:0,predefine:vue.unref(ne),size:"small",modelValue:vue.unref(ue)[me].itemStyle.color,"onUpdate:modelValue":ye=>vue.unref(ue)[me].itemStyle.color=ye},null,8,["predefine","modelValue","onUpdate:modelValue"])):(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElColorPicker),{key:1,predefine:vue.unref(ne),size:"small",modelValue:vue.unref(ue)[me].lineStyle.color,"onUpdate:modelValue":ye=>vue.unref(ue)[me].lineStyle.color=ye},null,8,["predefine","modelValue","onUpdate:modelValue"]))],64)):vue.createCommentVNode("",!0),vue.createElementVNode("span",_hoisted_1$1o,vue.toDisplayString(me),1),vue.createElementVNode("div",_hoisted_2$1b,[vue.unref(ue)[me]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElDropdown),{key:0,onCommand:ye=>fe(ye,me)},{dropdown:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElDropdownMenu),null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElDropdownItem),{command:"bar"},{default:vue.withCtx(()=>[vue.createTextVNode("柱状")]),_:1}),vue.createVNode(vue.unref(elementPlus.ElDropdownItem),{command:"line"},{default:vue.withCtx(()=>[vue.createTextVNode("折线")]),_:1})]),_:1})]),default:vue.withCtx(()=>[vue.createElementVNode("span",_hoisted_3$13,vue.toDisplayString(vue.unref(ue)[me].type=="bar"?"柱状":"折线"),1)]),_:2},1032,["onCommand"])):vue.createCommentVNode("",!0),vue.createElementVNode("i",{onClick:ye=>he(me),class:vue.normalizeClass([pe.option.dataShow.hide.includes(me)?"ri-eye-off-line":"ri-eye-line","mr-2 cursor-pointer"])},null,10,_hoisted_4$Y),_hoisted_5$N])]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_hoisted_1$1n={class:"ml-2"},_hoisted_2$1a={class:"flex items-center justify-end flex-1"},_hoisted_3$12={class:"mr-2 text-xs cursor-pointer"},_hoisted_4$X=["onClick"],_hoisted_5$M=vue.createElementVNode("i",{class:"cursor-move ri-draggable sortable-handle"},null,-1),_sfc_main$1C=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1}},setup(te){const U=screenDesignMainStore(),G=te,{proxy:ee}=vue.getCurrentInstance(),ne=ee.$globalPreColor,re=[{label:"实线",value:"solid"},{label:"虚线",value:"dashed"},{label:"点线",value:"dotted"}],oe=[{label:"顶部",value:"top"},{label:"左侧",value:"left"},{label:"右侧",value:"right"},{label:"底部",value:"bottom"}],{setChartData:ie}=useCustomChart(),{seriesItem:le,init:ae,customSeriesData:se}=useScatterCommon();vue.ref(null);const ue=vue.ref(JSON.parse(JSON.stringify(Object.values(se.value)[0]??le)));vue.watch(ue,()=>ce(),{deep:!0}),vue.watch(()=>G.option.dataShow,()=>{ae(G.option,()=>{ce()})},{deep:!0,immediate:G.immediate}),vue.watch(()=>G.option.dataShow.x,async()=>{G.option.dataset.source=await ie(G.type,G.option.dataShow.x)});const ce=()=>{const ve=JSON.parse(JSON.stringify(ue.value)),he=pe=>{Object.keys(ve).forEach(ge=>{ge!="type"&&(["itemStyle"].includes(ge)||(pe[ge]=ve[ge]))})};G.option.series.forEach(pe=>{he(pe)}),Object.keys(se.value).forEach(pe=>{he(vue.unref(se)[pe])}),window.customSeriesData=se.value},de=(ve,he)=>{const pe=vue.unref(se)[he];pe.type!=ve&&(pe.type=ve,ae(G.option,()=>{}))},fe=ve=>{const{hide:he}=G.option.dataShow;he.includes(ve)?he.splice(he.findIndex(pe=>pe==ve),1):he.push(ve)};return(ve,he)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(SettingCommon,{option:ve.option,type:6},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"散点图配置"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ue).symbolSize,"onUpdate:modelValue":he[0]||(he[0]=pe=>vue.unref(ue).symbolSize=pe),size:"small"},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"标域"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"粗细(0不显示)"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ue).markArea.itemStyle.borderWidth,"onUpdate:modelValue":he[1]||(he[1]=pe=>vue.unref(ue).markArea.itemStyle.borderWidth=pe),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"样式"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(ue).markArea.itemStyle.borderType,"onUpdate:modelValue":he[2]||(he[2]=pe=>vue.unref(ue).markArea.itemStyle.borderType=pe),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(re,pe=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:pe.value,label:pe.label,value:pe.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(ue).label.show,"onUpdate:modelValue":he[3]||(he[3]=pe=>vue.unref(ue).label.show=pe)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(ue).label.position,"onUpdate:modelValue":he[4]||(he[4]=pe=>vue.unref(ue).label.position=pe),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(oe,pe=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:pe.value,label:pe.label,value:pe.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ue).label.rotate,"onUpdate:modelValue":he[5]||(he[5]=pe=>vue.unref(ue).label.rotate=pe),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ue).label.fontSize,"onUpdate:modelValue":he[6]||(he[6]=pe=>vue.unref(ue).label.fontSize=pe),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:vue.unref(ue).label.color,"onUpdate:modelValue":he[7]||(he[7]=pe=>vue.unref(ue).label.color=pe)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"X轴",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:ve.option.dataShow.x,"onUpdate:modelValue":he[8]||(he[8]=pe=>ve.option.dataShow.x=pe),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(U).getChartData.x,pe=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:pe.comment,label:pe.comment,value:pe.comment},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"Y轴",style:{width:"100%","margin-top":"10px"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:ve.option.dataShow.y,"onUpdate:modelValue":he[9]||(he[9]=pe=>ve.option.dataShow.y=pe),animation:150,handle:".sortable-handle"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(ve.option.dataShow.y,(pe,ge)=>(vue.openBlock(),vue.createElementBlock("div",{key:pe,class:"w-full sort-item"},[vue.unref(se)[pe]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElColorPicker),{key:0,predefine:vue.unref(ne),size:"small",modelValue:vue.unref(se)[pe].itemStyle.color,"onUpdate:modelValue":me=>vue.unref(se)[pe].itemStyle.color=me},null,8,["predefine","modelValue","onUpdate:modelValue"])):vue.createCommentVNode("",!0),vue.createElementVNode("span",_hoisted_1$1n,vue.toDisplayString(pe),1),vue.createElementVNode("div",_hoisted_2$1a,[vue.unref(se)[pe]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElDropdown),{key:0,onCommand:me=>de(me,pe)},{dropdown:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElDropdownMenu),null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElDropdownItem),{command:"scatter"},{default:vue.withCtx(()=>[vue.createTextVNode("普通")]),_:1}),vue.createVNode(vue.unref(elementPlus.ElDropdownItem),{command:"effectScatter"},{default:vue.withCtx(()=>[vue.createTextVNode("特效")]),_:1})]),_:1})]),default:vue.withCtx(()=>[vue.createElementVNode("span",_hoisted_3$12,vue.toDisplayString(vue.unref(se)[pe].type=="scatter"?"普通":"特效"),1)]),_:2},1032,["onCommand"])):vue.createCommentVNode("",!0),vue.createElementVNode("i",{onClick:me=>fe(pe),class:vue.normalizeClass([ve.option.dataShow.hide.includes(pe)?"ri-eye-off-line":"ri-eye-line","mr-2 cursor-pointer"])},null,10,_hoisted_4$X),_hoisted_5$M])]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_hoisted_1$1m={class:"flex items-center justify-end flex-1"},_hoisted_2$19=["onClick"],_hoisted_3$11=vue.createElementVNode("i",{class:"cursor-move ri-draggable sortable-handle"},null,-1),_sfc_main$1B=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1}},setup(te){var fe;const U=screenDesignMainStore(),G=te,{proxy:ee}=vue.getCurrentInstance(),ne=ee.$globalPreColor,re=[{label:"顶部",value:"top"},{label:"左侧",value:"left"},{label:"右侧",value:"right"},{label:"底部",value:"bottom"}],oe=[{label:"多边形",value:"polygon"},{label:"圆形",value:"circle"}],{setChartData:ie}=useCustomChart(),{seriesItem:le,init:ae,customSeriesData:se}=useRadar();vue.ref(null);const ue=vue.ref(JSON.parse(JSON.stringify((fe=vue.unref(se))!=null&&fe.type?se.value:le)));vue.watch(ue,()=>ce(),{deep:!0}),vue.watch([()=>G.option.dataShow.y,()=>G.option.dataShow.hide],()=>{ae(G.option,()=>{ce()})},{deep:!0,immediate:G.immediate}),vue.watch(()=>G.option.dataShow.x,async()=>{G.option.dataset.source=await ie(G.type,G.option.dataShow.x),ae(G.option,()=>{ce()})});const ce=()=>{const ve=ue.value;Object.keys(G.option.series[0]).forEach(he=>{["areaStyle","label"].includes(he)&&(G.option.series[0][he]=ve[he])}),se.value={...G.option.series[0],data:[]},window.customSeriesData=se.value},de=ve=>{const{hide:he}=G.option.dataShow;he.includes(ve)?he.splice(he.findIndex(pe=>pe==ve),1):he.push(ve)};return(ve,he)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(SettingCommon,{option:ve.option,type:4},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"雷达图配置"},{default:vue.withCtx(()=>{var pe;return[vue.createVNode(_sfc_main$1J,{name:"样式"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"背景"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:ve.option.radar.splitArea.show,"onUpdate:modelValue":he[0]||(he[0]=ge=>ve.option.radar.splitArea.show=ge)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"分割线"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:ve.option.radar.splitLine.show,"onUpdate:modelValue":he[1]||(he[1]=ge=>ve.option.radar.splitLine.show=ge)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"形状"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:ve.option.radar.shape,"onUpdate:modelValue":he[2]||(he[2]=ge=>ve.option.radar.shape=ge),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(oe,ge=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:ge.value,label:ge.label,value:ge.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"坐标轴"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"轴线"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:ve.option.radar.axisLine.show,"onUpdate:modelValue":he[3]||(he[3]=ge=>ve.option.radar.axisLine.show=ge)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"刻度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:ve.option.radar.axisTick.show,"onUpdate:modelValue":he[4]||(he[4]=ge=>ve.option.radar.axisTick.show=ge)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"范围"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"最小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:ve.option.radar.radius[0],"onUpdate:modelValue":he[5]||(he[5]=ge=>ve.option.radar.radius[0]=ge),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"最大"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:ve.option.radar.radius[1],"onUpdate:modelValue":he[6]||(he[6]=ge=>ve.option.radar.radius[1]=ge),size:"small"},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"偏移"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"x"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:ve.option.radar.center[0],"onUpdate:modelValue":he[7]||(he[7]=ge=>ve.option.radar.center[0]=ge),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"y"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:ve.option.radar.center[1],"onUpdate:modelValue":he[8]||(he[8]=ge=>ve.option.radar.center[1]=ge),size:"small"},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"指示器"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:ve.option.radar.axisName.show,"onUpdate:modelValue":he[9]||(he[9]=ge=>ve.option.radar.axisName.show=ge)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:ve.option.radar.axisName.fontSize,"onUpdate:modelValue":he[10]||(he[10]=ge=>ve.option.radar.axisName.fontSize=ge),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:ve.option.radar.axisName.color,"onUpdate:modelValue":he[11]||(he[11]=ge=>ve.option.radar.axisName.color=ge)},null,8,["predefine","modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(ue).label.show,"onUpdate:modelValue":he[12]||(he[12]=ge=>vue.unref(ue).label.show=ge)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(ue).label.position,"onUpdate:modelValue":he[13]||(he[13]=ge=>vue.unref(ue).label.position=ge),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(re,ge=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:ge.value,label:ge.label,value:ge.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ue).label.rotate,"onUpdate:modelValue":he[14]||(he[14]=ge=>vue.unref(ue).label.rotate=ge),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ue).label.fontSize,"onUpdate:modelValue":he[15]||(he[15]=ge=>vue.unref(ue).label.fontSize=ge),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:vue.unref(ue).label.color,"onUpdate:modelValue":he[16]||(he[16]=ge=>vue.unref(ue).label.color=ge)},null,8,["predefine","modelValue"])]),_:1})]),_:1}),(pe=vue.unref(ue))!=null&&pe.type?(vue.openBlock(),vue.createBlock(_sfc_main$1J,{key:0,name:"系列"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"背景透明度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(ue).areaStyle.opacity,"onUpdate:modelValue":he[17]||(he[17]=ge=>vue.unref(ue).areaStyle.opacity=ge),min:0,max:1,size:"small",step:.1},null,8,["modelValue"])]),_:1})]),_:1})):vue.createCommentVNode("",!0)]}),_:1}),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"X轴",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:ve.option.dataShow.x,"onUpdate:modelValue":he[18]||(he[18]=pe=>ve.option.dataShow.x=pe),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(U).getChartData.x,pe=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:pe.comment,label:pe.comment,value:pe.comment},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"Y轴",style:{width:"100%","margin-top":"10px"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:ve.option.dataShow.y,"onUpdate:modelValue":he[19]||(he[19]=pe=>ve.option.dataShow.y=pe),animation:150,handle:".sortable-handle"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(ve.option.dataShow.y,(pe,ge)=>(vue.openBlock(),vue.createElementBlock("div",{key:pe,class:"w-full sort-item"},[vue.createElementVNode("span",null,vue.toDisplayString(pe),1),vue.createElementVNode("div",_hoisted_1$1m,[vue.createElementVNode("i",{onClick:me=>de(pe),class:vue.normalizeClass([ve.option.dataShow.hide.includes(pe)?"ri-eye-off-line":"ri-eye-line","mr-2 cursor-pointer"])},null,10,_hoisted_2$19),_hoisted_3$11])]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_hoisted_1$1l={class:"ml-2"},_hoisted_2$18={class:"flex items-center justify-end flex-1"},_hoisted_3$10=vue.createElementVNode("i",{class:"mr-2 cursor-pointer ri-more-line"},null,-1),_hoisted_4$W=["onClick"],_hoisted_5$L=vue.createElementVNode("i",{class:"cursor-move ri-draggable sortable-handle"},null,-1),_sfc_main$1A=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1}},setup(te){screenDesignMainStore();const U=te,{proxy:G}=vue.getCurrentInstance(),ee=G.$globalPreColor;useCustomChart();const{init:ne,tableConfig:re,customSeriesData:oe}=useTable();vue.ref(null);const ie=vue.ref(JSON.parse(JSON.stringify(re)));vue.watch(ie,()=>le(),{deep:!0}),vue.watch(()=>U.option.dataShow,()=>{ne(U.option)},{deep:!0,immediate:U.immediate});const le=()=>{},ae=se=>{const{hide:ue=[]}=U.option.dataShow;ue.includes(se)?ue.splice(ue.findIndex(ce=>ce==se),1):ue.push(se),U.option.dataShow.hide=ue};return(se,ue)=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:"列名"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"",style:{width:"100%","margin-top":"10px"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:se.option.dataShow.y,"onUpdate:modelValue":ue[0]||(ue[0]=ce=>se.option.dataShow.y=ce),animation:150,handle:".sortable-handle"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(se.option.dataShow.y,(ce,de)=>(vue.openBlock(),vue.createElementBlock("div",{key:ce,class:"w-full sort-item"},[vue.unref(oe)[ce]?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ee),size:"small",modelValue:vue.unref(oe)[ce].bgColor,"onUpdate:modelValue":fe=>vue.unref(oe)[ce].bgColor=fe},null,8,["predefine","modelValue","onUpdate:modelValue"]),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ee),size:"small",modelValue:vue.unref(oe)[ce].color,"onUpdate:modelValue":fe=>vue.unref(oe)[ce].color=fe},null,8,["predefine","modelValue","onUpdate:modelValue"])],64)):vue.createCommentVNode("",!0),vue.createElementVNode("span",_hoisted_1$1l,vue.toDisplayString(ce),1),vue.createElementVNode("div",_hoisted_2$18,[vue.unref(oe)[ce]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElPopover),{key:0,width:400,trigger:"hover"},{reference:vue.withCtx(()=>[_hoisted_3$10]),default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"前缀"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(oe)[ce].prefix,"onUpdate:modelValue":fe=>vue.unref(oe)[ce].prefix=fe,size:"small",placeholder:"前缀"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1I,{name:"后缀"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(oe)[ce].suffix,"onUpdate:modelValue":fe=>vue.unref(oe)[ce].suffix=fe,size:"small",placeholder:"后缀"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1I,{name:"保留小数"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:vue.unref(oe)[ce].toFixed,"onUpdate:modelValue":fe=>vue.unref(oe)[ce].toFixed=fe,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1I,{name:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(oe)[ce].fontSize,"onUpdate:modelValue":fe=>vue.unref(oe)[ce].fontSize=fe,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1I,{name:"隐藏标题"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(oe)[ce].hideLabel,"onUpdate:modelValue":fe=>vue.unref(oe)[ce].hideLabel=fe,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024)]),_:2},1024)):vue.createCommentVNode("",!0),vue.createElementVNode("i",{onClick:fe=>ae(ce),class:vue.normalizeClass([(se.option.dataShow.hide??[]).includes(ce)?"ri-eye-off-line":"ri-eye-line","mr-2 cursor-pointer"])},null,10,_hoisted_4$W),_hoisted_5$L])]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}))}}),_hoisted_1$1k={class:"ml-2"},_hoisted_2$17={class:"flex items-center justify-end flex-1"},_hoisted_3$$=vue.createElementVNode("i",{class:"mr-2 cursor-pointer ri-more-line"},null,-1),_hoisted_4$V=["onClick"],_hoisted_5$K=vue.createElementVNode("i",{class:"cursor-move ri-draggable sortable-handle"},null,-1),_sfc_main$1z=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1}},setup(te){screenDesignMainStore();const U=te,{proxy:G}=vue.getCurrentInstance(),ee=G.$globalPreColor;useCustomChart();const{init:ne,tableConfig:re,customSeriesData:oe}=useTable();vue.ref(null);const ie=vue.ref(JSON.parse(JSON.stringify(re)));vue.watch(ie,()=>le(),{deep:!0}),vue.watch(()=>U.option.dataShow,()=>{ne(U.option)},{deep:!0,immediate:U.immediate});const le=()=>{},ae=se=>{const{hide:ue}=U.option.dataShow;ue.includes(se)?ue.splice(ue.findIndex(ce=>ce==se),1):ue.push(se)};return(se,ue)=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:"表格设置"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"显示序号"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:U.option.showIndex,"onUpdate:modelValue":ue[0]||(ue[0]=ce=>U.option.showIndex=ce)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"列名"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"",style:{width:"100%","margin-top":"10px"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:se.option.dataShow.y,"onUpdate:modelValue":ue[1]||(ue[1]=ce=>se.option.dataShow.y=ce),animation:150,handle:".sortable-handle"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(se.option.dataShow.y,(ce,de)=>(vue.openBlock(),vue.createElementBlock("div",{key:ce,class:"w-full sort-item"},[vue.unref(oe)[ce]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElColorPicker),{key:0,predefine:vue.unref(ee),size:"small",modelValue:vue.unref(oe)[ce].color,"onUpdate:modelValue":fe=>vue.unref(oe)[ce].color=fe},null,8,["predefine","modelValue","onUpdate:modelValue"])):vue.createCommentVNode("",!0),vue.createElementVNode("span",_hoisted_1$1k,vue.toDisplayString(ce),1),vue.createElementVNode("div",_hoisted_2$17,[vue.unref(oe)[ce]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElPopover),{key:0,width:400,trigger:"hover"},{reference:vue.withCtx(()=>[_hoisted_3$$]),default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"前缀"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(oe)[ce].prefix,"onUpdate:modelValue":fe=>vue.unref(oe)[ce].prefix=fe,size:"small",placeholder:"前缀"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1I,{name:"后缀"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(oe)[ce].suffix,"onUpdate:modelValue":fe=>vue.unref(oe)[ce].suffix=fe,size:"small",placeholder:"后缀"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1I,{name:"保留小数"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:vue.unref(oe)[ce].toFixed,"onUpdate:modelValue":fe=>vue.unref(oe)[ce].toFixed=fe,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1I,{name:"统计"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(oe)[ce].sum,"onUpdate:modelValue":fe=>vue.unref(oe)[ce].sum=fe},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024)]),_:2},1024)):vue.createCommentVNode("",!0),vue.createElementVNode("i",{onClick:fe=>ae(ce),class:vue.normalizeClass([se.option.dataShow.hide.includes(ce)?"ri-eye-off-line":"ri-eye-line","mr-2 cursor-pointer"])},null,10,_hoisted_4$V),_hoisted_5$K])]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}))}}),_hoisted_1$1j={class:"flex items-center"},_hoisted_2$16=vue.createElementVNode("span",{class:"ml-1 mr-1"},"-",-1),_hoisted_3$_={class:"flex items-center"},_hoisted_4$U=vue.createElementVNode("span",{class:"ml-1 mr-1"},"-",-1),_sfc_main$1y=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1}},setup(te){const U=screenDesignMainStore(),G=te,{proxy:ee}=vue.getCurrentInstance(),ne=ee.$globalPreColor,{init:re,city:oe}=useMap();return vue.watch(()=>G.option.style.style1,async ie=>{G.option.series[1]=ie},{deep:!0,immediate:G.immediate}),vue.watch(()=>G.option.style.style2,async ie=>{G.option.series[2]=ie},{deep:!0,immediate:G.immediate}),(ie,le)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(SettingCommon,{option:ie.option,type:9},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"地图数据"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElTreeSelect),{modelValue:ie.option.code,"onUpdate:modelValue":le[0]||(le[0]=ae=>ie.option.code=ae),data:vue.unref(oe),props:{label:"name",value:"code",children:"children"},onChange:le[1]||(le[1]=ae=>vue.unref(re)(ie.option)),filterable:"","node-key":"code","check-strictly":""},null,8,["modelValue","data"])]),_:1})]),_:1}),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"视觉映射"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:ie.option.visualMap.show,"onUpdate:modelValue":le[2]||(le[2]=ae=>ie.option.visualMap.show=ae)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"文本"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1j,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:ie.option.visualMap.text[1],"onUpdate:modelValue":le[3]||(le[3]=ae=>ie.option.visualMap.text[1]=ae),size:"small"},null,8,["modelValue"]),_hoisted_2$16,vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:ie.option.visualMap.text[0],"onUpdate:modelValue":le[4]||(le[4]=ae=>ie.option.visualMap.text[0]=ae),size:"small"},null,8,["modelValue"])])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"最小值-最高值"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_3$_,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:ie.option.visualMap.min,"onUpdate:modelValue":le[5]||(le[5]=ae=>ie.option.visualMap.min=ae),size:"small"},null,8,["modelValue"]),_hoisted_4$U,vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:ie.option.visualMap.max,"onUpdate:modelValue":le[6]||(le[6]=ae=>ie.option.visualMap.max=ae),size:"small"},null,8,["modelValue"])])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"最小颜色-最高颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:ie.option.visualMap.inRange.color[0],"onUpdate:modelValue":le[7]||(le[7]=ae=>ie.option.visualMap.inRange.color[0]=ae)},null,8,["predefine","modelValue"]),vue.createTextVNode(" - "),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:ie.option.visualMap.inRange.color[1],"onUpdate:modelValue":le[8]||(le[8]=ae=>ie.option.visualMap.inRange.color[1]=ae)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"地图"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"展示标签"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:ie.option.geo.label.show,"onUpdate:modelValue":le[9]||(le[9]=ae=>ie.option.geo.label.show=ae)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"缩放"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{step:.1,modelValue:ie.option.geo.zoom,"onUpdate:modelValue":le[10]||(le[10]=ae=>ie.option.geo.zoom=ae),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:ie.option.geo.label.fontSize,"onUpdate:modelValue":le[11]||(le[11]=ae=>ie.option.geo.label.fontSize=ae),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"字体颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:ie.option.geo.label.color,"onUpdate:modelValue":le[12]||(le[12]=ae=>ie.option.geo.label.color=ae)},null,8,["predefine","modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1J,{name:"移动效果"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"区块颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:ie.option.geo.emphasis.itemStyle.areaColor,"onUpdate:modelValue":le[13]||(le[13]=ae=>ie.option.geo.emphasis.itemStyle.areaColor=ae)},null,8,["predefine","modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"边框颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:ie.option.geo.emphasis.itemStyle.borderColor,"onUpdate:modelValue":le[14]||(le[14]=ae=>ie.option.geo.emphasis.itemStyle.borderColor=ae)},null,8,["predefine","modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"边框大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:ie.option.geo.emphasis.itemStyle.borderWidth,"onUpdate:modelValue":le[15]||(le[15]=ae=>ie.option.geo.emphasis.itemStyle.borderWidth=ae),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:ie.option.geo.emphasis.label.fontSize,"onUpdate:modelValue":le[16]||(le[16]=ae=>ie.option.geo.emphasis.label.fontSize=ae),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"字体颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:ie.option.geo.emphasis.label.color,"onUpdate:modelValue":le[17]||(le[17]=ae=>ie.option.geo.emphasis.label.color=ae)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(["style1","style2"],ae=>vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:ae=="style1"?"散点样式":"点位样式"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"形状"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:ie.option.style[ae].symbol,"onUpdate:modelValue":se=>ie.option.style[ae].symbol=se,size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).shape,se=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:se.value,label:se.label,value:se.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1I,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:ie.option.style[ae].symbolSize,"onUpdate:modelValue":se=>ie.option.style[ae].symbolSize=se,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1I,{name:"形状颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:ie.option.style[ae].itemStyle.color,"onUpdate:modelValue":se=>ie.option.style[ae].itemStyle.color=se},null,8,["predefine","modelValue","onUpdate:modelValue"])]),_:2},1024),ie.option.style[ae].label?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(_sfc_main$1I,{name:"值显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:ie.option.style[ae].label.show,"onUpdate:modelValue":se=>ie.option.style[ae].label.show=se},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1I,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(ne),modelValue:ie.option.style[ae].label.color,"onUpdate:modelValue":se=>ie.option.style[ae].label.color=se},null,8,["predefine","modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1I,{name:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:ie.option.style[ae].label.fontSize,"onUpdate:modelValue":se=>ie.option.style[ae].label.fontSize=se,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)],64)):vue.createCommentVNode("",!0)]),_:2},1024)]),_:2},1032,["title"])),64)),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1J,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{name:"维度",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:ie.option.dataShow.x,"onUpdate:modelValue":le[18]||(le[18]=ae=>ie.option.dataShow.x=ae),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(U).getChartData.x,ae=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:ae.comment,label:ae.comment,value:ae.comment},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1I,{name:"统计",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:ie.option.dataShow.y,"onUpdate:modelValue":le[19]||(le[19]=ae=>ie.option.dataShow.y=ae),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(U).getChartData.y.filter(ae=>ae.aggType!="other"),ae=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:ae.showLabel,label:ae.showLabel,value:ae.showLabel},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),moudleComponents={};for(let te=0;te<=4;te+=1){let U=null;if(te==0&&(U=Object.assign({"../decoration/decoration1/setting.vue":__vite_glob_0_0,"../decoration/decoration10/setting.vue":__vite_glob_0_1,"../decoration/decoration11/setting.vue":__vite_glob_0_2,"../decoration/decoration12/setting.vue":__vite_glob_0_3,"../decoration/decoration2/setting.vue":__vite_glob_0_4,"../decoration/decoration3/setting.vue":__vite_glob_0_5,"../decoration/decoration4/setting.vue":__vite_glob_0_6,"../decoration/decoration5/setting.vue":__vite_glob_0_7,"../decoration/decoration6/setting.vue":__vite_glob_0_8,"../decoration/decoration8/setting.vue":__vite_glob_0_9,"../decoration/decoration9/setting.vue":__vite_glob_0_10})),te==1&&(U=Object.assign({"../border/border1/setting.vue":__vite_glob_1_0,"../border/border10/setting.vue":__vite_glob_1_1,"../border/border11/setting.vue":__vite_glob_1_2,"../border/border12/setting.vue":__vite_glob_1_3,"../border/border13/setting.vue":__vite_glob_1_4,"../border/border2/setting.vue":__vite_glob_1_5,"../border/border3/setting.vue":__vite_glob_1_6,"../border/border4/setting.vue":__vite_glob_1_7,"../border/border5/setting.vue":__vite_glob_1_8,"../border/border6/setting.vue":__vite_glob_1_9,"../border/border7/setting.vue":__vite_glob_1_10,"../border/border8/setting.vue":__vite_glob_1_11,"../border/border9/setting.vue":__vite_glob_1_12})),te==2&&(U=Object.assign({"../basic/horizontal-line/setting.vue":__vite_glob_2_0,"../basic/iframe/setting.vue":__vite_glob_2_1,"../basic/img/setting.vue":__vite_glob_2_2,"../basic/number/setting.vue":__vite_glob_2_3,"../basic/square/setting.vue":__vite_glob_2_4,"../basic/text/setting.vue":__vite_glob_2_5,"../basic/time/setting.vue":__vite_glob_2_6,"../basic/vertical-line/setting.vue":__vite_glob_2_7})),te==3&&(moudleComponents[3]=_sfc_main$1G,moudleComponents[2]=_sfc_main$1E,moudleComponents[1]=_sfc_main$1F,moudleComponents[4]=_sfc_main$1B,moudleComponents[5]=_sfc_main$1D,moudleComponents[6]=_sfc_main$1C,moudleComponents[7]=_sfc_main$1A,moudleComponents[8]=_sfc_main$1z,moudleComponents[9]=_sfc_main$1y),te==4&&(U=Object.assign({"../control/input/setting.vue":__vite_glob_3_0,"../control/select/setting.vue":__vite_glob_3_1})),U)for(const[G,ee]of Object.entries(U)){const ne=G.split("/")[2];moudleComponents[ne]=ee.default}}const _withScopeId$w=te=>(vue.pushScopeId("data-v-91a48762"),te=te(),vue.popScopeId(),te),_hoisted_1$1i=_withScopeId$w(()=>vue.createElementVNode("div",{class:"flex items-center h-10 p-2"},[vue.createElementVNode("span",{class:"w-1 h-4 mr-2 bg-color-primary"}),vue.createTextVNode(" 大屏设置 ")],-1)),_hoisted_2$15=_withScopeId$w(()=>vue.createElementVNode("div",{class:"h-px mb-2",style:{"background-color":"var(--el-border-color-light)"}},null,-1)),_hoisted_3$Z={class:"p-2"},_sfc_main$1x=vue.defineComponent({__name:"rightPannel",setup(te){const U=screenDesignMainStore(),G=vue.ref({});vue.provide("widgetConfig",G);const ee=vue.ref(""),ne=vue.computed(()=>U.targetsWidget.length===1?U.getWidgetList.find(oe=>{var ie;return oe.id==((ie=U.targetsWidget[0])==null?void 0:ie.id)}):null);vue.watch(ne,oe=>{re()});const re=()=>{if(!vue.unref(ne)){G.value={};return}const oe=U.getWidgetList.find(ie=>ie.id==vue.unref(ne).id);vue.unref(ne).chartType&&(oe==null?void 0:oe.modelType)!="INDICATORS"&&(window.customSeriesData=oe.customize.customSeriesData,U.setChartData(U.tempChartData[oe.id].params)),G.value=oe,ee.value=""};return re(),(oe,ie)=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElScrollbar),{height:"100%"},{default:vue.withCtx(()=>{var le,ae,se;return[_hoisted_1$1i,_hoisted_2$15,((le=vue.unref(G))==null?void 0:le.modelType)=="INDICATORS"?(vue.openBlock(),vue.createBlock(_sfc_main$2k,{key:0})):(ae=vue.unref(G))!=null&&ae.chartType?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createVNode(_sfc_main$2k),vue.createElementVNode("div",_hoisted_3$Z,[vue.createVNode(vue.unref(elementPlus.ElCollapse),{accordion:"",modelValue:vue.unref(ee),"onUpdate:modelValue":ie[0]||(ie[0]=ue=>vue.isRef(ee)?ee.value=ue:null)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(vue.unref(moudleComponents)[vue.unref(G).chartType]),{key:vue.unref(G).id,immediate:"",option:vue.unref(G).customize,type:vue.unref(G).chartType},null,8,["option","type"]))]),_:1},8,["modelValue"])])],64)):vue.unref(moudleComponents)[(se=vue.unref(G))==null?void 0:se.type]?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(vue.unref(moudleComponents)[vue.unref(G).type]),{key:vue.unref(G).id})):(vue.openBlock(),vue.createBlock(stagetSetting,{key:3}))]}),_:1}))}}),rightPannel_vue_vue_type_style_index_0_scoped_91a48762_lang="",RightPannel=_export_sfc$2(_sfc_main$1x,[["__scopeId","data-v-91a48762"]]),_hoisted_1$1h={class:"flex flex-col overflow-hidden ace-big-screen"},_hoisted_2$14={class:"h-10 top-pannel"},_hoisted_3$Y={class:"relative flex flex-1"},_hoisted_4$T={class:"left-pannel"},_hoisted_5$J={class:"flex-1 p-2 overflow-hidden",id:"design-container"},_hoisted_6$E={class:"relative w-full h-full"},_hoisted_7$y={key:0,class:"right-pannel w-80"},_sfc_main$1w=vue.defineComponent({__name:"design",emits:["preview","save"],setup(te,{expose:U,emit:G}){const ee=G,{proxy:ne}=vue.getCurrentInstance(),re=screenDesignMainStore(),oe=vue.ref(!1),ie=vue.ref(""),le=vue.ref("");return vue.watch(oe,se=>{se?document.getElementsByTagName("html")[0].className=re.theme:document.getElementsByTagName("html")[0].className=""}),U({init:async(se="")=>{if(le.value=se,ie.value="大屏管理",oe.value=!0,re.widgetConfg={config:{},list:[]},re.clearSketchRuleLine(),re.setRightPannel(!1),se){const ue=await ne.$baseHttp.get("/api/ace-data-center/screen/detail",{params:{id:se},headers:{loading:!0}});ie.value=ue.data.title,re.widgetConfg=chartJsonFormat(ue.data.config)}re.setStageWidth(re.widgetConfg.config.stageWidth??1920),re.setStageHeight(re.widgetConfg.config.stageHeight??1080)}}),(se,ue)=>{const ce=vue.resolveComponent("AppDrawer");return vue.openBlock(),vue.createBlock(ce,{modelValue:vue.unref(oe),"onUpdate:modelValue":ue[4]||(ue[4]=de=>vue.isRef(oe)?oe.value=de:null),title:"大屏设计",size:"100%",withHeader:!1,modalClass:"ace-modal-drawer",customClass:"ace-big-design-dialog"},{default:vue.withCtx(()=>[vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1h,[vue.createElementVNode("div",_hoisted_2$14,[vue.createVNode(TopPannel,{title:vue.unref(ie),"onUpdate:title":ue[0]||(ue[0]=de=>vue.isRef(ie)?ie.value=de:null),id:vue.unref(le),onPreview:ue[1]||(ue[1]=de=>ee("preview",de)),onSave:ue[2]||(ue[2]=de=>{le.value=de,ee("save")}),onBack:ue[3]||(ue[3]=()=>oe.value=!1)},null,8,["title","id"])]),vue.createElementVNode("div",_hoisted_3$Y,[vue.createElementVNode("div",_hoisted_4$T,[vue.createVNode(LeftPannel)]),vue.createElementVNode("div",_hoisted_5$J,[vue.createElementVNode("div",_hoisted_6$E,[vue.createVNode(Main)])]),vue.unref(re).getRightPannel?(vue.openBlock(),vue.createElementBlock("div",_hoisted_7$y,[vue.createVNode(RightPannel)])):vue.createCommentVNode("",!0)])])),[[vue.unref(elementPlus.vLoading),vue.unref(re).createLoading]])]),_:1},8,["modelValue"])}}}),design_vue_vue_type_style_index_0_lang="",_withScopeId$v=te=>(vue.pushScopeId("data-v-ec07a7d2"),te=te(),vue.popScopeId(),te),_hoisted_1$1g={key:1,class:"flex flex-wrap items-center justify-between"},_hoisted_2$13={class:"item-container"},_hoisted_3$X={class:"item-image"},_hoisted_4$S=["src"],_hoisted_5$I=["onClick"],_hoisted_6$D=_withScopeId$v(()=>vue.createElementVNode("span",{class:"text-base text-white cursor-pointer"},"预览大屏",-1)),_hoisted_7$x=[_hoisted_6$D],_hoisted_8$t={class:"flex items-center justify-between item-footer"},_hoisted_9$p={class:"flex"},_hoisted_10$k=["onClick"],_hoisted_11$f=_withScopeId$v(()=>vue.createElementVNode("i",{class:"mr-1 ri-edit-line"},null,-1)),_hoisted_12$d=["onClick"],_hoisted_13$b=_withScopeId$v(()=>vue.createElementVNode("i",{class:"mr-1 ri-delete-bin-line"},null,-1)),_hoisted_14$a=_withScopeId$v(()=>vue.createElementVNode("div",{class:"item"},null,-1)),_hoisted_15$6=_withScopeId$v(()=>vue.createElementVNode("div",{class:"item"},null,-1)),_sfc_main$1v=vue.defineComponent({__name:"index",emits:["preview","auto-play"],setup(te,{emit:U}){const G=U,{proxy:ee}=vue.getCurrentInstance(),{resetUrl:ne}=ee.$globalUtils,re=vue.ref(null),oe=vue.ref(null),ie=vue.reactive([{name:"新增",key:"ADD",type:"primary"},{name:"自动播放",key:"AUTO-PLAY",type:"primary"}]),le=vue.reactive([{name:"名称",type:FieldType.Text,fieldName:"title",value:""}]),ae=async se=>{const{type:ue,row:ce}=se;switch(ue){case"PREVIEW":G("preview","list",(ce==null?void 0:ce.id)??"");break;case"AUTO-PLAY":G("auto-play");break;case"ADD":case"EDIT":vue.unref(oe).init((ce==null?void 0:ce.id)??"");break;case"DEL":ee.$baseConfirm({content:"是否确定删除",callConfirm:async()=>{await ee.$baseHttp.post("/api/ace-data-center/screen/remove",{},{params:{ids:ce.id},headers:{loading:!0}})&&(ee.$message({type:"success",message:"删除成功",plain:!0}),vue.unref(re).getData())}});break}};return(se,ue)=>{const ce=vue.resolveComponent("AppEmpty"),de=vue.resolveComponent("AppList");return vue.openBlock(),vue.createBlock(de,{url:`/api/ace-data-center/screen/list?descs=create_time&projectId=${vue.unref(ee).$baseGetCurrentProjectId()}`,tableData:[],searchForm:vue.unref(le),searchBtns:vue.unref(ie),listType:"custom",onBtnClick:ae,ref_key:"appListRef",ref:re},{"list-slot":vue.withCtx(({list:fe,loading:ve})=>[vue.createVNode(vue.unref(elementPlus.ElSkeleton),{loading:ve,animated:""},{default:vue.withCtx(()=>[fe.length==0?(vue.openBlock(),vue.createBlock(ce,{key:0,description:"暂无数据"})):(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1g,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(fe,(he,pe)=>(vue.openBlock(),vue.createElementBlock("div",{key:pe,class:"item"},[vue.createElementVNode("div",_hoisted_2$13,[vue.createElementVNode("div",_hoisted_3$X,[vue.createElementVNode("img",{src:vue.unref(ne)(he.imageUrl??"")||"https://fuss10.elemecdn.com/d/e6/c4d93a3805b3ce3f323f7974e6f78jpeg.jpeg"},null,8,_hoisted_4$S),vue.createElementVNode("div",{class:"flex items-center justify-center item-popup",onClick:ge=>ae({type:"PREVIEW",row:he,index:pe})},_hoisted_7$x,8,_hoisted_5$I)]),vue.createElementVNode("div",_hoisted_8$t,[vue.createElementVNode("div",null,vue.toDisplayString(he.title),1),vue.createElementVNode("div",_hoisted_9$p,[vue.createElementVNode("span",{onClick:ge=>ae({type:"EDIT",row:he,index:pe}),class:"flex items-center text-xs text-gray-600 cursor-pointer"},[_hoisted_11$f,vue.createTextVNode(" 编辑大屏 ")],8,_hoisted_10$k),vue.createElementVNode("span",{onClick:ge=>ae({type:"DEL",row:he,index:pe}),class:"flex items-center ml-2 text-xs cursor-pointer text-color-danger"},[_hoisted_13$b,vue.createTextVNode(" 删除 ")],8,_hoisted_12$d)])])])]))),128)),_hoisted_14$a,_hoisted_15$6]))]),_:2},1032,["loading"])]),default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1w,{ref_key:"designRef",ref:oe,onSave:ue[0]||(ue[0]=fe=>vue.unref(re).getData()),onPreview:ue[1]||(ue[1]=fe=>G("preview","content",fe))},null,512)]),_:1},8,["url","searchForm","searchBtns"])}}}),index_vue_vue_type_style_index_0_scoped_ec07a7d2_lang="",aceBigScreen=_export_sfc$2(_sfc_main$1v,[["__scopeId","data-v-ec07a7d2"]]);let currRenderDom=null,currelRectification="",currelRectificationLevel="",currelRectificationIsKeepRatio="",resizeListener=null,timer=null,currScale=1,isElRectification=!1;const autofit={isAutofitRunnig:!1,init(te={},U=!0){U&&console.log("autofit.js is running");const{dw:G=1920,dh:ee=1080,el:ne=typeof te=="string"?te:"body",resize:re=!0,ignore:oe=[],transition:ie="none",delay:le=0,limit:ae=.1}=te;currRenderDom=ne;let se=document.querySelector(ne);if(!se){console.error(`autofit: '${ne}' is not exist`);return}const ue=document.createElement("style"),ce=document.createElement("style");ue.lang="text/css",ce.lang="text/css",ue.id="autofit-style",ce.id="ignoreStyle",ue.innerHTML="body {overflow: hidden;}";const de=document.querySelector("body");de.appendChild(ue),de.appendChild(ce),se.style.height=`${ee}px`,se.style.width=`${G}px`,se.style.transformOrigin="0 0",se.style.overflow="hidden",keepFit(G,ee,se,oe,ae),resizeListener=()=>{clearTimeout(timer),le!=0?timer=setTimeout(()=>{keepFit(G,ee,se,oe,ae),isElRectification&&elRectification(currelRectification,currelRectificationIsKeepRatio,currelRectificationLevel)},le):(keepFit(G,ee,se,oe,ae),isElRectification&&elRectification(currelRectification,currelRectificationIsKeepRatio,currelRectificationLevel))},re&&window.addEventListener("resize",resizeListener),this.isAutofitRunnig=!0,setTimeout(()=>{se.style.transition=`${ie}s`})},off(te="body"){try{isElRectification=!1,window.removeEventListener("resize",resizeListener),document.querySelector("#autofit-style").remove();const U=document.querySelector("#ignoreStyle");U&&U.remove(),document.querySelector(currRenderDom||te).style="",isElRectification&&offelRectification()}catch(U){console.error("autofit: Failed to remove normally",U),this.isAutofitRunnig=!1}this.isAutofitRunnig&&console.log("autofit.js is off")}};function elRectification(te,U=!0,G=1){autofit.isAutofitRunnig||console.error("autofit.js:autofit has not been initialized yet"),!te&&console.error(`autofit.js:bad selector: ${te}`),currelRectification=te,currelRectificationLevel=G,currelRectificationIsKeepRatio=U;const ee=document.querySelectorAll(te);if(ee.length==0){console.error("autofit.js:elRectification found no element");return}for(let ne of ee){let re=currScale==1?1:currScale*G;isElRectification||(ne.originalWidth=ne.clientWidth,ne.originalHeight=ne.clientHeight),U?(ne.style.width=`${ne.originalWidth*re}px`,ne.style.height=`${ne.originalHeight*re}px`):(ne.style.width=`${100*re}%`,ne.style.height=`${100*re}%`),ne.style.transform=`scale(${1/currScale})`,ne.style.transformOrigin="0 0"}isElRectification=!0}function offelRectification(){if(currelRectification)for(let te of document.querySelectorAll(currelRectification))te.style.width="",te.style.height="",te.style.transform=""}function keepFit(te,U,G,ee,ne){let re=document.documentElement.clientHeight,oe=document.documentElement.clientWidth;currScale=oe/re<te/U?oe/te:re/U,currScale=Math.abs(1-currScale)>ne?currScale.toFixed(2):1;let ie=Math.round(re/currScale),le=Math.round(oe/currScale);G.style.height=`${ie}px`,G.style.width=`${le}px`,G.style.transform=`scale(${currScale})`;const ae=document.querySelector("#ignoreStyle");ae.innerHTML="";for(let se of ee){let ue=se.el||se.dom;if(typeof se=="string"&&(ue=se),!ue){console.error(`autofit: bad selector: ${ue}`);continue}let ce=se.scale?se.scale:1/currScale,de=ce!=currScale?se.fontSize:"autofit",fe=ce!=currScale?se.width:"autofit",ve=ce!=currScale?se.height:"autofit";new RegExp(`${ue}( |{)`,"gm").test(ae.innerHTML)||(ae.innerHTML+=`
|
|
790
790
|
${ue} {
|
|
791
791
|
transform: scale(${ce})!important;
|
|
792
792
|
transform-origin: 0 0;
|