ace-component-lib 0.0.129 → 0.0.130

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.
@@ -1,4 +1,4 @@
1
- (function(i,n){typeof exports=="object"&&typeof module<"u"?module.exports=n(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(["@wangeditor/editor","vue","element-plus","vue-draggable-plus","dayjs","echarts/core","@wangeditor/editor-for-vue","jsoneditor"],n):(i=typeof globalThis<"u"?globalThis:i||self,i["ace-component-lib"]=n(i.editor,i.Vue,i.elementPlus,i.vueDraggablePlus,i.dayjs,i.core,i.editorForVue,i.JsonEditor))})(this,function(editor,vue,elementPlus,vueDraggablePlus,dayjs,core,editorForVue,JsonEditor){"use strict";var It=Object.defineProperty;var zt=(i,n,r)=>n in i?It(i,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):i[n]=r;var xt=(i,n,r)=>(zt(i,typeof n!="symbol"?n+"":n,r),r);const version="0.0.129",aceLib="";class e{constructor(n){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,n),this.init()}init(){this.counter++,this.settings.id=`printArea_${this.counter}`;let n="";this.settings.url&&!this.settings.asyncUrl&&(n=this.settings.url);let r=this;if(this.settings.asyncUrl)return void r.settings.asyncUrl(function(a){let l=r.getPrintWindow(a);r.settings.preview?r.previewIfrmaeLoad():r.print(l)},r.settings.vue);let o=this.getPrintWindow(n);this.settings.url||this.write(o.doc),this.settings.preview?this.previewIfrmaeLoad():this.print(o)}addEvent(n,r,o){n.addEventListener?n.addEventListener(r,o,!1):n.attachEvent?n.attachEvent("on"+r,o):n["on"+r]=o}previewIfrmaeLoad(){let n=document.getElementById("vue-pirnt-nb-previewBox");if(n){let r=this,o=n.querySelector("iframe");this.settings.previewBeforeOpenCallback(),this.addEvent(o,"load",function(){r.previewBoxShow(),r.removeCanvasImg(),r.settings.previewOpenCallback()}),this.addEvent(n.querySelector(".previewBodyUtilPrintBtn"),"click",function(){r.settings.beforeOpenCallback(),r.settings.openCallback(),o.contentWindow.print(),r.settings.closeCallback()})}}removeCanvasImg(){let n=this;try{if(n.elsdom){let r=n.elsdom.querySelectorAll(".canvasImg");for(let o=0;o<r.length;o++)r[o].remove()}}catch(r){console.log(r)}}print(n){var r=this;let o=document.getElementById(this.settings.id)||n.f,a=document.getElementById(this.settings.id).contentWindow||n.f.contentWindow;r.settings.beforeOpenCallback(),r.addEvent(o,"load",function(){a.focus(),r.settings.openCallback(),a.print(),o.remove(),r.settings.closeCallback(),r.removeCanvasImg()})}write(n){n.open(),n.write(`${this.docType()}<html>${this.getHead()}${this.getBody()}</html>`),n.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 n="",r="",o="";this.settings.extraHead&&this.settings.extraHead.replace(/([^,]+)/g,l=>{n+=l}),[].forEach.call(document.querySelectorAll("link"),function(l){l.href.indexOf(".css")>=0&&(r+=`<link type="text/css" rel="stylesheet" href="${l.href}" >`)});let a=document.styleSheets;if(a&&a.length>0)for(let l=0;l<a.length;l++)try{if(a[l].cssRules||a[l].rules){let s=a[l].cssRules||a[l].rules;for(let u=0;u<s.length;u++)o+=s[u].cssText}}catch(s){console.log(a[l].href+s)}return this.settings.extraCss&&this.settings.extraCss.replace(/([^,\s]+)/g,l=>{r+=`<link type="text/css" rel="stylesheet" href="${l}">`}),`<head><title>${this.settings.popTitle}</title>${n}${r}<style type="text/css">${o}</style></head>`}getBody(){let n=this.settings.ids;return n=n.replace(new RegExp("#","g"),""),this.elsdom=this.beforeHanler(document.getElementById(n)),"<body>"+this.getFormData(this.elsdom).outerHTML+"</body>"}beforeHanler(n){let r=n.querySelectorAll("canvas");for(let o=0;o<r.length;o++)if(!r[o].style.display){let a=r[o].parentNode,l=r[o].toDataURL("image/png"),s=new Image;s.className="canvasImg",s.style.display="none",s.src=l,a.appendChild(s)}return n}getFormData(n){let r=n.cloneNode(!0),o=r.querySelectorAll("input,select,textarea"),a=r.querySelectorAll(".canvasImg,canvas"),l=-1;for(let s=0;s<a.length;s++){let u=a[s].parentNode,c=a[s];c.tagName.toLowerCase()==="canvas"?u.removeChild(c):c.style.display="block"}for(let s=0;s<o.length;s++){let u=o[s],c=u.getAttribute("type"),d=o[s];if(c||(c=u.tagName==="SELECT"?"select":u.tagName==="TEXTAREA"?"textarea":""),u.tagName==="INPUT")c==="radio"||c==="checkbox"?u.checked&&d.setAttribute("checked",u.checked):(d.value=u.value,d.setAttribute("value",u.value));else if(c==="select"){l++;for(let f=0;f<n.querySelectorAll("select").length;f++){let p=n.querySelectorAll("select")[f];if(!p.getAttribute("newbs")&&p.setAttribute("newbs",f),p.getAttribute("newbs")==l){let v=n.querySelectorAll("select")[l].selectedIndex;u.options[v].setAttribute("selected",!0)}}}else d.innerHTML=u.value,d.setAttribute("html",u.value)}return r}getPrintWindow(n){var r=this.Iframe(n);return{f:r,win:r.contentWindow||r,doc:r.doc}}previewBoxShow(){let n=document.getElementById("vue-pirnt-nb-previewBox");n&&(document.querySelector("html").setAttribute("style","overflow: hidden"),n.style.display="block")}previewBoxHide(){let n=document.getElementById("vue-pirnt-nb-previewBox");n&&(document.querySelector("html").setAttribute("style","overflow: visible;"),n.querySelector("iframe")&&n.querySelector("iframe").remove(),n.style.display="none")}previewBox(){let n=document.getElementById("vue-pirnt-nb-previewBox"),r="previewBody";if(n)return n.querySelector("iframe")&&n.querySelector("iframe").remove(),{close:n.querySelector(".previewClose"),previewBody:n.querySelector(".previewBody")};let o=document.createElement("div");o.setAttribute("id","vue-pirnt-nb-previewBox"),o.setAttribute("style","position: fixed;top: 0px;left: 0px;width: 100%;height: 100%;background: white;display:none"),o.style.zIndex=this.settings.zIndex;let a=document.createElement("div");a.setAttribute("class","previewHeader"),a.setAttribute("style","padding: 5px 20px;"),a.innerHTML=this.settings.previewTitle,o.appendChild(a),this.close=document.createElement("div");let l=this.close;l.setAttribute("class","previewClose"),l.setAttribute("style","position: absolute;top: 5px;right: 20px;width: 25px;height: 20px;cursor: pointer;");let s=document.createElement("div"),u=document.createElement("div");s.setAttribute("class","closeBefore"),s.setAttribute("style","position: absolute;width: 3px;height: 100%;background: #040404;transform: rotate(45deg); top: 0px;left: 50%;"),u.setAttribute("class","closeAfter"),u.setAttribute("style","position: absolute;width: 3px;height: 100%;background: #040404;transform: rotate(-45deg); top: 0px;left: 50%;"),l.appendChild(s),l.appendChild(u),a.appendChild(l),this.previewBody=document.createElement("div");let c=this.previewBody;c.setAttribute("class",r),c.setAttribute("style","display: flex;flex-direction: column; height: 100%;"),o.appendChild(c);let d=document.createElement("div");d.setAttribute("class","previewBodyUtil"),d.setAttribute("style","height: 32px;background: #474747;position: relative;"),c.appendChild(d),this.previewBodyUtilPrintBtn=document.createElement("div");let f=this.previewBodyUtilPrintBtn;return f.setAttribute("class","previewBodyUtilPrintBtn"),f.innerHTML=this.settings.previewPrintBtnLabel,f.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);"),d.appendChild(f),document.body.appendChild(o),{close:this.close,previewBody:this.previewBody}}iframeBox(n,r){let o=document.createElement("iframe");return o.style.border="0px",o.style.position="absolute",o.style.width="0px",o.style.height="0px",o.style.right="0px",o.style.top="0px",o.setAttribute("id",n),o.setAttribute("src",r),o}Iframe(n){let r=this.settings.id;n=n||new Date().getTime();let o=this,a=this.iframeBox(r,n);try{if(this.settings.preview){a.setAttribute("style","border: 0px;flex: 1;");let l=this.previewBox(),s=l.previewBody,u=l.close;s.appendChild(a),this.addEvent(u,"click",function(){o.previewBoxHide()})}else document.body.appendChild(a);a.doc=null,a.doc=a.contentDocument?a.contentDocument:a.contentWindow?a.contentWindow.document:a.document}catch(l){throw new Error(l+". iframes may not be supported in this browser.")}if(a.doc==null)throw new Error("Cannot find document.");return a}}var t={directiveName:"print",mounted(i,n,r){let o=n.instance,a="";var l,s,u;s="click",u=()=>{if(typeof n.value=="string")a=n.value;else{if(typeof n.value!="object"||!n.value.id)return void window.print();{a=n.value.id;let d=a.replace(new RegExp("#","g"),"");document.getElementById(d)||(console.log("id in Error"),a="")}}c()},(l=i).addEventListener?l.addEventListener(s,u,!1):l.attachEvent?l.attachEvent("on"+s,u):l["on"+s]=u;const c=()=>{new e({ids:a,vue:o,url:n.value.url,standard:"",extraHead:n.value.extraHead,extraCss:n.value.extraCss,zIndex:n.value.zIndex||20002,previewTitle:n.value.previewTitle||"打印预览",previewPrintBtnLabel:n.value.previewPrintBtnLabel||"打印",popTitle:n.value.popTitle,preview:n.value.preview||!1,asyncUrl:n.value.asyncUrl,previewBeforeOpenCallback(){n.value.previewBeforeOpenCallback&&n.value.previewBeforeOpenCallback(o)},previewOpenCallback(){n.value.previewOpenCallback&&n.value.previewOpenCallback(o)},openCallback(){n.value.openCallback&&n.value.openCallback(o)},closeCallback(){n.value.closeCallback&&n.value.closeCallback(o)},beforeOpenCallback(){n.value.beforeOpenCallback&&n.value.beforeOpenCallback(o)}})}},install:function(i){i.directive("print",t)}},FieldRenderType=(i=>(i.String="string",i.Integer="interget",i))(FieldRenderType||{}),DynamicTableType=(i=>(i.Default="default",i.DataForm="dataForm",i))(DynamicTableType||{}),ItableType=(i=>(i.Link="link",i))(ItableType||{}),FieldType=(i=>(i.Text="text",i.Select="select",i.Date="date",i.DateTime="datetime",i.CheckBox="checkbox",i.Switch="switch",i.Radio="radio",i.Textarea="textarea",i.Number="number",i.NumberRange="numberRange",i.Cascader="cascader",i.Daterange="daterange",i.Monthrange="monthrange",i.File="file",i.TreeSelect="treeSelect",i.Year="year",i.Month="month",i.Hr="hr",i.Slot="slot",i.Editor="editor",i.Password="password",i.Json="json",i.Markdown="markdown",i.Rate="rate",i.TimeRange="timerange",i.Time="time",i.DateTimeRange="datetimerange",i))(FieldType||{});let nanoid=(i=21)=>crypto.getRandomValues(new Uint8Array(i)).reduce((n,r)=>(r&=63,r<36?n+=r.toString(36):r<62?n+=(r-26).toString(36).toUpperCase():r>62?n+="-":n+="_",n),"");const theme=vue.ref(localStorage.getItem("design-theme")||""),stageWidth=vue.ref(1920),stageHeight=vue.ref(1080),scale$1=vue.ref(.2),targetsWidget=vue.ref([]),sketchRuleLine=vue.ref({h:[],v:[]}),widgetConfg=vue.ref({config:{backgroundColor:"transparent",backgroundImage:""},list:[]}),widgetHoverIds=vue.ref([]),pasteWidget=vue.ref([]),createLoading=vue.ref(!1),showRightPannel=vue.ref(!1),tempChartData=vue.ref({}),chartData=vue.ref({}),countMap=vue.ref({}),getScale=vue.computed(()=>vue.unref(scale$1)),getStage=vue.computed(()=>({stageWidth:vue.unref(stageWidth),stageHeight:vue.unref(stageHeight)})),getSketchRuleLine=vue.computed(()=>vue.unref(sketchRuleLine)),getTargetWidget=vue.computed(()=>vue.unref(targetsWidget)),getWidgetConfig=vue.computed(()=>{var i;return(i=vue.unref(widgetConfg))==null?void 0:i.config}),getWidgetList=vue.computed(()=>{var i;return(i=vue.unref(widgetConfg))==null?void 0:i.list}),getWidgetHoverIds=vue.computed(()=>vue.unref(widgetHoverIds)),getPasteWidget=vue.computed(()=>vue.unref(pasteWidget)),getCreateLoading=vue.computed(()=>vue.unref(createLoading)),getRightPannel=vue.computed(()=>vue.unref(showRightPannel)),getTheme=vue.computed(()=>vue.unref(theme)),getChartData=vue.computed(()=>vue.unref(chartData)),getCountMap=vue.computed(()=>vue.unref(countMap));function setSacle(i){scale$1.value=i/100}function setSketchRuleLine(i,n){vue.unref(sketchRuleLine).h=i,vue.unref(sketchRuleLine).v=n}function clearSketchRuleLine(){sketchRuleLine.value={h:[],v:[]}}function setTargetWidget(i){targetsWidget.value=i}function setWidgetList(i){vue.unref(widgetConfg).list=i}function setWidgetHoverIds(i){widgetHoverIds.value=i}function delWidgetItem(i){setWidgetList(vue.unref(getWidgetList).filter(n=>!i.includes(n.id))),setTargetWidget(vue.unref(getTargetWidget).filter(n=>!i.includes(n.id)))}function copyWidgetItem(i){pasteWidget.value=[],i.forEach(n=>{const r=vue.unref(getWidgetList).find(o=>o.id==n);r&&vue.unref(pasteWidget).push(r)})}function pasteWidgetItem(){vue.unref(pasteWidget).forEach(r=>{const o=JSON.parse(JSON.stringify(r));let a=o.x,l=o.y;o.x+40>vue.unref(stageWidth)-o.w?a=vue.unref(stageWidth)-o.w-40:a+=40,o.y+40>vue.unref(stageHeight)-o.h?l=vue.unref(stageHeight)-o.h-40:l+=40,vue.unref(widgetConfg).list.unshift({...o,id:nanoid(),x:a,y:l,z:vue.unref(widgetConfg).list.length+1,locked:!1})})}function sortWidgetList(){vue.unref(widgetConfg).list.sort((i,n)=>n.z-i.z)}function setCreateLoading(i){createLoading.value=i,i&&(targetsWidget.value=[],clearSketchRuleLine())}function setRightPannel(i){showRightPannel.value=i}function setStageWidth(i){i&&(stageWidth.value=i,vue.unref(widgetConfg).config.stageWidth=i)}function setStageHeight(i){i&&(stageHeight.value=i,vue.unref(widgetConfg).config.stageHeight=i)}function setTheme(){theme.value=vue.unref(theme)=="dark"?"":"dark",document.getElementsByTagName("html")[0].className=vue.unref(theme),localStorage.setItem("design-theme",vue.unref(theme))}function setChartData(i){chartData.value=i}function setCountMap(i,n){vue.unref(countMap)[i]=n}const useScreenDesign=()=>({theme,stageWidth,stageHeight,scale:scale$1,targetsWidget,sketchRuleLine,widgetConfg,widgetHoverIds,pasteWidget,createLoading,showRightPannel,tempChartData,chartData,countMap,getScale,getStage,getSketchRuleLine,getTargetWidget,getWidgetConfig,getWidgetList,getWidgetHoverIds,getPasteWidget,getCreateLoading,getRightPannel,getTheme,getChartData,getCountMap,setSacle,setSketchRuleLine,clearSketchRuleLine,setTargetWidget,setWidgetList,setWidgetHoverIds,delWidgetItem,copyWidgetItem,pasteWidgetItem,sortWidgetList,setCreateLoading,setRightPannel,setStageWidth,setStageHeight,setTheme,setChartData,setCountMap});/*!
1
+ (function(i,n){typeof exports=="object"&&typeof module<"u"?module.exports=n(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(["@wangeditor/editor","vue","element-plus","vue-draggable-plus","dayjs","echarts/core","@wangeditor/editor-for-vue","jsoneditor"],n):(i=typeof globalThis<"u"?globalThis:i||self,i["ace-component-lib"]=n(i.editor,i.Vue,i.elementPlus,i.vueDraggablePlus,i.dayjs,i.core,i.editorForVue,i.JsonEditor))})(this,function(editor,vue,elementPlus,vueDraggablePlus,dayjs,core,editorForVue,JsonEditor){"use strict";var It=Object.defineProperty;var zt=(i,n,r)=>n in i?It(i,n,{enumerable:!0,configurable:!0,writable:!0,value:r}):i[n]=r;var xt=(i,n,r)=>(zt(i,typeof n!="symbol"?n+"":n,r),r);const version="0.0.130",aceLib="";class e{constructor(n){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,n),this.init()}init(){this.counter++,this.settings.id=`printArea_${this.counter}`;let n="";this.settings.url&&!this.settings.asyncUrl&&(n=this.settings.url);let r=this;if(this.settings.asyncUrl)return void r.settings.asyncUrl(function(a){let l=r.getPrintWindow(a);r.settings.preview?r.previewIfrmaeLoad():r.print(l)},r.settings.vue);let o=this.getPrintWindow(n);this.settings.url||this.write(o.doc),this.settings.preview?this.previewIfrmaeLoad():this.print(o)}addEvent(n,r,o){n.addEventListener?n.addEventListener(r,o,!1):n.attachEvent?n.attachEvent("on"+r,o):n["on"+r]=o}previewIfrmaeLoad(){let n=document.getElementById("vue-pirnt-nb-previewBox");if(n){let r=this,o=n.querySelector("iframe");this.settings.previewBeforeOpenCallback(),this.addEvent(o,"load",function(){r.previewBoxShow(),r.removeCanvasImg(),r.settings.previewOpenCallback()}),this.addEvent(n.querySelector(".previewBodyUtilPrintBtn"),"click",function(){r.settings.beforeOpenCallback(),r.settings.openCallback(),o.contentWindow.print(),r.settings.closeCallback()})}}removeCanvasImg(){let n=this;try{if(n.elsdom){let r=n.elsdom.querySelectorAll(".canvasImg");for(let o=0;o<r.length;o++)r[o].remove()}}catch(r){console.log(r)}}print(n){var r=this;let o=document.getElementById(this.settings.id)||n.f,a=document.getElementById(this.settings.id).contentWindow||n.f.contentWindow;r.settings.beforeOpenCallback(),r.addEvent(o,"load",function(){a.focus(),r.settings.openCallback(),a.print(),o.remove(),r.settings.closeCallback(),r.removeCanvasImg()})}write(n){n.open(),n.write(`${this.docType()}<html>${this.getHead()}${this.getBody()}</html>`),n.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 n="",r="",o="";this.settings.extraHead&&this.settings.extraHead.replace(/([^,]+)/g,l=>{n+=l}),[].forEach.call(document.querySelectorAll("link"),function(l){l.href.indexOf(".css")>=0&&(r+=`<link type="text/css" rel="stylesheet" href="${l.href}" >`)});let a=document.styleSheets;if(a&&a.length>0)for(let l=0;l<a.length;l++)try{if(a[l].cssRules||a[l].rules){let s=a[l].cssRules||a[l].rules;for(let u=0;u<s.length;u++)o+=s[u].cssText}}catch(s){console.log(a[l].href+s)}return this.settings.extraCss&&this.settings.extraCss.replace(/([^,\s]+)/g,l=>{r+=`<link type="text/css" rel="stylesheet" href="${l}">`}),`<head><title>${this.settings.popTitle}</title>${n}${r}<style type="text/css">${o}</style></head>`}getBody(){let n=this.settings.ids;return n=n.replace(new RegExp("#","g"),""),this.elsdom=this.beforeHanler(document.getElementById(n)),"<body>"+this.getFormData(this.elsdom).outerHTML+"</body>"}beforeHanler(n){let r=n.querySelectorAll("canvas");for(let o=0;o<r.length;o++)if(!r[o].style.display){let a=r[o].parentNode,l=r[o].toDataURL("image/png"),s=new Image;s.className="canvasImg",s.style.display="none",s.src=l,a.appendChild(s)}return n}getFormData(n){let r=n.cloneNode(!0),o=r.querySelectorAll("input,select,textarea"),a=r.querySelectorAll(".canvasImg,canvas"),l=-1;for(let s=0;s<a.length;s++){let u=a[s].parentNode,c=a[s];c.tagName.toLowerCase()==="canvas"?u.removeChild(c):c.style.display="block"}for(let s=0;s<o.length;s++){let u=o[s],c=u.getAttribute("type"),d=o[s];if(c||(c=u.tagName==="SELECT"?"select":u.tagName==="TEXTAREA"?"textarea":""),u.tagName==="INPUT")c==="radio"||c==="checkbox"?u.checked&&d.setAttribute("checked",u.checked):(d.value=u.value,d.setAttribute("value",u.value));else if(c==="select"){l++;for(let f=0;f<n.querySelectorAll("select").length;f++){let p=n.querySelectorAll("select")[f];if(!p.getAttribute("newbs")&&p.setAttribute("newbs",f),p.getAttribute("newbs")==l){let v=n.querySelectorAll("select")[l].selectedIndex;u.options[v].setAttribute("selected",!0)}}}else d.innerHTML=u.value,d.setAttribute("html",u.value)}return r}getPrintWindow(n){var r=this.Iframe(n);return{f:r,win:r.contentWindow||r,doc:r.doc}}previewBoxShow(){let n=document.getElementById("vue-pirnt-nb-previewBox");n&&(document.querySelector("html").setAttribute("style","overflow: hidden"),n.style.display="block")}previewBoxHide(){let n=document.getElementById("vue-pirnt-nb-previewBox");n&&(document.querySelector("html").setAttribute("style","overflow: visible;"),n.querySelector("iframe")&&n.querySelector("iframe").remove(),n.style.display="none")}previewBox(){let n=document.getElementById("vue-pirnt-nb-previewBox"),r="previewBody";if(n)return n.querySelector("iframe")&&n.querySelector("iframe").remove(),{close:n.querySelector(".previewClose"),previewBody:n.querySelector(".previewBody")};let o=document.createElement("div");o.setAttribute("id","vue-pirnt-nb-previewBox"),o.setAttribute("style","position: fixed;top: 0px;left: 0px;width: 100%;height: 100%;background: white;display:none"),o.style.zIndex=this.settings.zIndex;let a=document.createElement("div");a.setAttribute("class","previewHeader"),a.setAttribute("style","padding: 5px 20px;"),a.innerHTML=this.settings.previewTitle,o.appendChild(a),this.close=document.createElement("div");let l=this.close;l.setAttribute("class","previewClose"),l.setAttribute("style","position: absolute;top: 5px;right: 20px;width: 25px;height: 20px;cursor: pointer;");let s=document.createElement("div"),u=document.createElement("div");s.setAttribute("class","closeBefore"),s.setAttribute("style","position: absolute;width: 3px;height: 100%;background: #040404;transform: rotate(45deg); top: 0px;left: 50%;"),u.setAttribute("class","closeAfter"),u.setAttribute("style","position: absolute;width: 3px;height: 100%;background: #040404;transform: rotate(-45deg); top: 0px;left: 50%;"),l.appendChild(s),l.appendChild(u),a.appendChild(l),this.previewBody=document.createElement("div");let c=this.previewBody;c.setAttribute("class",r),c.setAttribute("style","display: flex;flex-direction: column; height: 100%;"),o.appendChild(c);let d=document.createElement("div");d.setAttribute("class","previewBodyUtil"),d.setAttribute("style","height: 32px;background: #474747;position: relative;"),c.appendChild(d),this.previewBodyUtilPrintBtn=document.createElement("div");let f=this.previewBodyUtilPrintBtn;return f.setAttribute("class","previewBodyUtilPrintBtn"),f.innerHTML=this.settings.previewPrintBtnLabel,f.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);"),d.appendChild(f),document.body.appendChild(o),{close:this.close,previewBody:this.previewBody}}iframeBox(n,r){let o=document.createElement("iframe");return o.style.border="0px",o.style.position="absolute",o.style.width="0px",o.style.height="0px",o.style.right="0px",o.style.top="0px",o.setAttribute("id",n),o.setAttribute("src",r),o}Iframe(n){let r=this.settings.id;n=n||new Date().getTime();let o=this,a=this.iframeBox(r,n);try{if(this.settings.preview){a.setAttribute("style","border: 0px;flex: 1;");let l=this.previewBox(),s=l.previewBody,u=l.close;s.appendChild(a),this.addEvent(u,"click",function(){o.previewBoxHide()})}else document.body.appendChild(a);a.doc=null,a.doc=a.contentDocument?a.contentDocument:a.contentWindow?a.contentWindow.document:a.document}catch(l){throw new Error(l+". iframes may not be supported in this browser.")}if(a.doc==null)throw new Error("Cannot find document.");return a}}var t={directiveName:"print",mounted(i,n,r){let o=n.instance,a="";var l,s,u;s="click",u=()=>{if(typeof n.value=="string")a=n.value;else{if(typeof n.value!="object"||!n.value.id)return void window.print();{a=n.value.id;let d=a.replace(new RegExp("#","g"),"");document.getElementById(d)||(console.log("id in Error"),a="")}}c()},(l=i).addEventListener?l.addEventListener(s,u,!1):l.attachEvent?l.attachEvent("on"+s,u):l["on"+s]=u;const c=()=>{new e({ids:a,vue:o,url:n.value.url,standard:"",extraHead:n.value.extraHead,extraCss:n.value.extraCss,zIndex:n.value.zIndex||20002,previewTitle:n.value.previewTitle||"打印预览",previewPrintBtnLabel:n.value.previewPrintBtnLabel||"打印",popTitle:n.value.popTitle,preview:n.value.preview||!1,asyncUrl:n.value.asyncUrl,previewBeforeOpenCallback(){n.value.previewBeforeOpenCallback&&n.value.previewBeforeOpenCallback(o)},previewOpenCallback(){n.value.previewOpenCallback&&n.value.previewOpenCallback(o)},openCallback(){n.value.openCallback&&n.value.openCallback(o)},closeCallback(){n.value.closeCallback&&n.value.closeCallback(o)},beforeOpenCallback(){n.value.beforeOpenCallback&&n.value.beforeOpenCallback(o)}})}},install:function(i){i.directive("print",t)}},FieldRenderType=(i=>(i.String="string",i.Integer="interget",i))(FieldRenderType||{}),DynamicTableType=(i=>(i.Default="default",i.DataForm="dataForm",i))(DynamicTableType||{}),ItableType=(i=>(i.Link="link",i))(ItableType||{}),FieldType=(i=>(i.Text="text",i.Select="select",i.Date="date",i.DateTime="datetime",i.CheckBox="checkbox",i.Switch="switch",i.Radio="radio",i.Textarea="textarea",i.Number="number",i.NumberRange="numberRange",i.Cascader="cascader",i.Daterange="daterange",i.Monthrange="monthrange",i.File="file",i.TreeSelect="treeSelect",i.Year="year",i.Month="month",i.Hr="hr",i.Slot="slot",i.Editor="editor",i.Password="password",i.Json="json",i.Markdown="markdown",i.Rate="rate",i.TimeRange="timerange",i.Time="time",i.DateTimeRange="datetimerange",i))(FieldType||{});let nanoid=(i=21)=>crypto.getRandomValues(new Uint8Array(i)).reduce((n,r)=>(r&=63,r<36?n+=r.toString(36):r<62?n+=(r-26).toString(36).toUpperCase():r>62?n+="-":n+="_",n),"");const theme=vue.ref(localStorage.getItem("design-theme")||""),stageWidth=vue.ref(1920),stageHeight=vue.ref(1080),scale$1=vue.ref(.2),targetsWidget=vue.ref([]),sketchRuleLine=vue.ref({h:[],v:[]}),widgetConfg=vue.ref({config:{backgroundColor:"transparent",backgroundImage:""},list:[]}),widgetHoverIds=vue.ref([]),pasteWidget=vue.ref([]),createLoading=vue.ref(!1),showRightPannel=vue.ref(!1),tempChartData=vue.ref({}),chartData=vue.ref({}),countMap=vue.ref({}),getScale=vue.computed(()=>vue.unref(scale$1)),getStage=vue.computed(()=>({stageWidth:vue.unref(stageWidth),stageHeight:vue.unref(stageHeight)})),getSketchRuleLine=vue.computed(()=>vue.unref(sketchRuleLine)),getTargetWidget=vue.computed(()=>vue.unref(targetsWidget)),getWidgetConfig=vue.computed(()=>{var i;return(i=vue.unref(widgetConfg))==null?void 0:i.config}),getWidgetList=vue.computed(()=>{var i;return(i=vue.unref(widgetConfg))==null?void 0:i.list}),getWidgetHoverIds=vue.computed(()=>vue.unref(widgetHoverIds)),getPasteWidget=vue.computed(()=>vue.unref(pasteWidget)),getCreateLoading=vue.computed(()=>vue.unref(createLoading)),getRightPannel=vue.computed(()=>vue.unref(showRightPannel)),getTheme=vue.computed(()=>vue.unref(theme)),getChartData=vue.computed(()=>vue.unref(chartData)),getCountMap=vue.computed(()=>vue.unref(countMap));function setSacle(i){scale$1.value=i/100}function setSketchRuleLine(i,n){vue.unref(sketchRuleLine).h=i,vue.unref(sketchRuleLine).v=n}function clearSketchRuleLine(){sketchRuleLine.value={h:[],v:[]}}function setTargetWidget(i){targetsWidget.value=i}function setWidgetList(i){vue.unref(widgetConfg).list=i}function setWidgetHoverIds(i){widgetHoverIds.value=i}function delWidgetItem(i){setWidgetList(vue.unref(getWidgetList).filter(n=>!i.includes(n.id))),setTargetWidget(vue.unref(getTargetWidget).filter(n=>!i.includes(n.id)))}function copyWidgetItem(i){pasteWidget.value=[],i.forEach(n=>{const r=vue.unref(getWidgetList).find(o=>o.id==n);r&&vue.unref(pasteWidget).push(r)})}function pasteWidgetItem(){vue.unref(pasteWidget).forEach(r=>{const o=JSON.parse(JSON.stringify(r));let a=o.x,l=o.y;o.x+40>vue.unref(stageWidth)-o.w?a=vue.unref(stageWidth)-o.w-40:a+=40,o.y+40>vue.unref(stageHeight)-o.h?l=vue.unref(stageHeight)-o.h-40:l+=40,vue.unref(widgetConfg).list.unshift({...o,id:nanoid(),x:a,y:l,z:vue.unref(widgetConfg).list.length+1,locked:!1})})}function sortWidgetList(){vue.unref(widgetConfg).list.sort((i,n)=>n.z-i.z)}function setCreateLoading(i){createLoading.value=i,i&&(targetsWidget.value=[],clearSketchRuleLine())}function setRightPannel(i){showRightPannel.value=i}function setStageWidth(i){i&&(stageWidth.value=i,vue.unref(widgetConfg).config.stageWidth=i)}function setStageHeight(i){i&&(stageHeight.value=i,vue.unref(widgetConfg).config.stageHeight=i)}function setTheme(){theme.value=vue.unref(theme)=="dark"?"":"dark",document.getElementsByTagName("html")[0].className=vue.unref(theme),localStorage.setItem("design-theme",vue.unref(theme))}function setChartData(i){chartData.value=i}function setCountMap(i,n){vue.unref(countMap)[i]=n}const useScreenDesign=()=>({theme,stageWidth,stageHeight,scale:scale$1,targetsWidget,sketchRuleLine,widgetConfg,widgetHoverIds,pasteWidget,createLoading,showRightPannel,tempChartData,chartData,countMap,getScale,getStage,getSketchRuleLine,getTargetWidget,getWidgetConfig,getWidgetList,getWidgetHoverIds,getPasteWidget,getCreateLoading,getRightPannel,getTheme,getChartData,getCountMap,setSacle,setSketchRuleLine,clearSketchRuleLine,setTargetWidget,setWidgetList,setWidgetHoverIds,delWidgetItem,copyWidgetItem,pasteWidgetItem,sortWidgetList,setCreateLoading,setRightPannel,setStageWidth,setStageHeight,setTheme,setChartData,setCountMap});/*!
2
2
  * Compressor.js v1.2.1
3
3
  * https://fengyuanchen.github.io/compressorjs
4
4
  *
@@ -505,7 +505,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
505
505
  L ${n-20} 10 L ${n-5} 25
506
506
  L ${n-5} ${r-5} L 20 ${r-5}
507
507
  L 5 ${r-20} L 5 20
508
- `},null),vue.createVNode("path",{fill:"transparent","stroke-width":"3","stroke-linecap":"round","stroke-dasharray":"10, 5",stroke:o[0],d:"M 16 9 L 61 9"},null),vue.createVNode("path",{fill:"transparent",stroke:o[1],d:"M 5 20 L 5 10 L 12 3 L 60 3 L 68 10"},null),vue.createVNode("path",{fill:"transparent",stroke:o[1],d:`M ${n-5} ${r-30} L ${n-5} ${r-5} L ${n-30} ${r-5}`},null)]),vue.createVNode("div",{class:"border-box-content"},[vue.renderSlot(i,"default")])])}}),_sfc_main$3c=vue.defineComponent({__name:"index",props:{config:{default:()=>({w:0,h:0,customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.computed(()=>{var o,a;return(o=n.config.customize)!=null&&o.decorationColor1||(a=n.config.customize)!=null&&a.decorationColor2?[n.config.customize.decorationColor1,n.config.customize.decorationColor2]:[]});return(o,a)=>{var l,s;return vue.openBlock(),vue.createBlock(vue.unref(Fs),{color:vue.unref(r),ref:"customRef",style:vue.normalizeStyle({width:`${((l=n.config)==null?void 0:l.w)-10}px`,height:`${((s=n.config)==null?void 0:s.h)-10}px`})},null,8,["color","style"])}}}),__vite_glob_0_0$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$3c},Symbol.toStringTag,{value:"Module"})),_sfc_main$3b=vue.defineComponent({__name:"index",props:{config:{default:()=>({w:0,h:0,customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.computed(()=>{var o,a;return(o=n.config.customize)!=null&&o.decorationColor1||(a=n.config.customize)!=null&&a.decorationColor2?[n.config.customize.decorationColor1,n.config.customize.decorationColor2]:[]});return(o,a)=>{var l,s;return vue.openBlock(),vue.createBlock(vue.unref(ec),{color:vue.unref(r),ref:"customRef",style:vue.normalizeStyle({width:`${((l=n.config)==null?void 0:l.w)-10}px`,height:`${((s=n.config)==null?void 0:s.h)-10}px`})},null,8,["color","style"])}}}),__vite_glob_0_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$3b},Symbol.toStringTag,{value:"Module"})),_sfc_main$3a=vue.defineComponent({__name:"index",props:{config:{default:()=>({w:0,h:0,customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.computed(()=>{var o,a;return(o=n.config.customize)!=null&&o.decorationColor1||(a=n.config.customize)!=null&&a.decorationColor2?[n.config.customize.decorationColor1,n.config.customize.decorationColor2]:[]});return(o,a)=>{var l,s;return vue.openBlock(),vue.createBlock(vue.unref(cc),{color:vue.unref(r),ref:"customRef",style:vue.normalizeStyle({width:`${((l=n.config)==null?void 0:l.w)-10}px`,height:`${((s=n.config)==null?void 0:s.h)-10}px`})},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(n.config.customize.title),1)]),_:1},8,["color","style"])}}}),__vite_glob_0_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$3a},Symbol.toStringTag,{value:"Module"}));function useRefresh(i,n){const r=vue.ref(null),o=vue.computed(()=>JSON.parse(JSON.stringify(i)));return vue.watch(o,(a,l)=>{var s;(a.w!==l.w||a.h!==l.h)&&(vue.unref(r)&&vue.unref(r).initWH&&((s=vue.unref(r))==null||s.initWH()),n&&n())},{deep:!0}),{customRef:r}}const _sfc_main$39=vue.defineComponent({__name:"index",props:{config:{default:()=>({w:0,h:0,customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.ref(!0),o=vue.computed(()=>{var s,u;return(s=n.config.customize)!=null&&s.decorationColor1||(u=n.config.customize)!=null&&u.decorationColor2?[n.config.customize.decorationColor1,n.config.customize.decorationColor2]:[]}),a=useDebounceFn(()=>{r.value=!1,setTimeout(()=>r.value=!0)},300),{customRef:l}=useRefresh(n.config,()=>{a()});return(s,u)=>vue.unref(r)?(vue.openBlock(),vue.createBlock(vue.unref(Ac),{key:0,color:vue.unref(o),scanDuration:s.config.customize.scanDuration,haloDuration:s.config.customize.haloDuration,ref_key:"customRef",ref:l},null,8,["color","scanDuration","haloDuration"])):vue.createCommentVNode("",!0)}}),__vite_glob_0_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$39},Symbol.toStringTag,{value:"Module"})),_sfc_main$38=vue.defineComponent({__name:"index",props:{config:{default:()=>({w:0,h:0,customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.computed(()=>{var o,a;return(o=n.config.customize)!=null&&o.decorationColor1||(a=n.config.customize)!=null&&a.decorationColor2?[n.config.customize.decorationColor1,n.config.customize.decorationColor2]:[]});return(o,a)=>{var l,s;return vue.openBlock(),vue.createBlock(vue.unref(zs),{color:vue.unref(r),duration:o.config.customize.duration,reverse:o.config.customize.reverse,ref:"customRef",style:vue.normalizeStyle({width:`${((l=n.config)==null?void 0:l.w)-10}px`,height:`${((s=n.config)==null?void 0:s.h)-10}px`})},null,8,["color","duration","reverse","style"])}}}),__vite_glob_0_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$38},Symbol.toStringTag,{value:"Module"})),_sfc_main$37=vue.defineComponent({__name:"index",props:{config:{default:()=>({w:0,h:0,customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.computed(()=>{var o,a;return(o=n.config.customize)!=null&&o.decorationColor1||(a=n.config.customize)!=null&&a.decorationColor2?[n.config.customize.decorationColor1,n.config.customize.decorationColor2]:[]});return(o,a)=>{var l,s;return vue.openBlock(),vue.createBlock(vue.unref(Vs),{color:vue.unref(r),ref:"customRef",style:vue.normalizeStyle({width:`${((l=n.config)==null?void 0:l.w)-10}px`,height:`${((s=n.config)==null?void 0:s.h)-10}px`})},null,8,["color","style"])}}}),__vite_glob_0_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$37},Symbol.toStringTag,{value:"Module"})),_sfc_main$36=vue.defineComponent({__name:"index",props:{config:{default:()=>({w:0,h:0,customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.computed(()=>{var o,a;return(o=n.config.customize)!=null&&o.decorationColor1||(a=n.config.customize)!=null&&a.decorationColor2?[n.config.customize.decorationColor1,n.config.customize.decorationColor2]:[]});return(o,a)=>{var l,s;return vue.openBlock(),vue.createBlock(vue.unref(Ys),{color:vue.unref(r),duration:o.config.customize.duration,reverse:o.config.customize.reverse,ref:"customRef",style:vue.normalizeStyle({width:`${((l=n.config)==null?void 0:l.w)-10}px`,height:`${((s=n.config)==null?void 0:s.h)-10}px`})},null,8,["color","duration","reverse","style"])}}}),__vite_glob_0_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$36},Symbol.toStringTag,{value:"Module"})),_sfc_main$35=vue.defineComponent({__name:"index",props:{config:{default:()=>({w:0,h:0,customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.computed(()=>{var o,a;return(o=n.config.customize)!=null&&o.decorationColor1||(a=n.config.customize)!=null&&a.decorationColor2?[n.config.customize.decorationColor1,n.config.customize.decorationColor2]:[]});return(o,a)=>{var l,s;return vue.openBlock(),vue.createBlock(vue.unref(ru),{color:vue.unref(r),duration:o.config.customize.duration,ref:"customRef",style:vue.normalizeStyle({width:`${((l=n.config)==null?void 0:l.w)-10}px`,height:`${((s=n.config)==null?void 0:s.h)-10}px`})},null,8,["color","duration","style"])}}}),__vite_glob_0_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$35},Symbol.toStringTag,{value:"Module"})),_sfc_main$34=vue.defineComponent({__name:"index",props:{config:{default:()=>({w:0,h:0,customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.computed(()=>{var o,a;return(o=n.config.customize)!=null&&o.decorationColor1||(a=n.config.customize)!=null&&a.decorationColor2?[n.config.customize.decorationColor1,n.config.customize.decorationColor2]:[]});return(o,a)=>{var l,s;return vue.openBlock(),vue.createBlock(vue.unref(lu),{color:vue.unref(r),ref:"customRef",style:vue.normalizeStyle({width:`${((l=n.config)==null?void 0:l.w)-10}px`,height:`${((s=n.config)==null?void 0:s.h)-10}px`})},null,8,["color","style"])}}}),__vite_glob_0_8$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$34},Symbol.toStringTag,{value:"Module"})),_sfc_main$33=vue.defineComponent({__name:"index",props:{config:{default:()=>({w:0,h:0,customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.computed(()=>{var o,a;return(o=n.config.customize)!=null&&o.decorationColor1||(a=n.config.customize)!=null&&a.decorationColor2?[n.config.customize.decorationColor1,n.config.customize.decorationColor2]:[]});return(o,a)=>{var l,s;return vue.openBlock(),vue.createBlock(vue.unref(xu),{color:vue.unref(r),reverse:o.config.customize.reverse,ref:"customRef",style:vue.normalizeStyle({width:`${((l=n.config)==null?void 0:l.w)-10}px`,height:`${((s=n.config)==null?void 0:s.h)-10}px`})},null,8,["color","reverse","style"])}}}),__vite_glob_0_9$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$33},Symbol.toStringTag,{value:"Module"})),_sfc_main$32=vue.defineComponent({__name:"index",props:{config:{default:()=>({w:0,h:0,customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.computed(()=>{var o,a;return(o=n.config.customize)!=null&&o.decorationColor1||(a=n.config.customize)!=null&&a.decorationColor2?[n.config.customize.decorationColor1,n.config.customize.decorationColor2]:[]});return(o,a)=>{var l,s;return vue.openBlock(),vue.createBlock(vue.unref(Gu),{color:vue.unref(r),reverse:o.config.customize.duration,ref:"customRef",style:vue.normalizeStyle({width:`${((l=n.config)==null?void 0:l.w)-10}px`,height:`${((s=n.config)==null?void 0:s.h)-10}px`})},null,8,["color","reverse","style"])}}}),__vite_glob_0_10$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$32},Symbol.toStringTag,{value:"Module"})),_sfc_main$31=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.computed(()=>{var a,l;return(a=n.config.customize)!=null&&a.borderMainColor||(l=n.config.customize)!=null&&l.borderSecondaryColor?[n.config.customize.borderMainColor,n.config.customize.borderSecondaryColor]:[]}),{customRef:o}=useRefresh(n.config);return(a,l)=>{var s;return vue.openBlock(),vue.createBlock(vue.unref(Oc),{color:vue.unref(r),backgroundColor:(s=n.config)==null?void 0:s.customize.backgroundColor,ref_key:"customRef",ref:o},null,8,["color","backgroundColor"])}}}),__vite_glob_1_0$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$31},Symbol.toStringTag,{value:"Module"})),_sfc_main$30=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.computed(()=>{var a,l;return(a=n.config.customize)!=null&&a.borderMainColor||(l=n.config.customize)!=null&&l.borderSecondaryColor?[n.config.customize.borderMainColor,n.config.customize.borderSecondaryColor]:[]}),{customRef:o}=useRefresh(n.config);return(a,l)=>{var s;return vue.openBlock(),vue.createBlock(vue.unref(Jc),{color:vue.unref(r),backgroundColor:(s=n.config)==null?void 0:s.customize.backgroundColor,ref_key:"customRef",ref:o},null,8,["color","backgroundColor"])}}}),__vite_glob_1_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$30},Symbol.toStringTag,{value:"Module"})),_sfc_main$2$=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.computed(()=>{var a,l;return(a=n.config.customize)!=null&&a.borderMainColor||(l=n.config.customize)!=null&&l.borderSecondaryColor?[n.config.customize.borderMainColor,n.config.customize.borderSecondaryColor]:[]}),{customRef:o}=useRefresh(n.config);return(a,l)=>{var s,u,c;return vue.openBlock(),vue.createBlock(vue.unref(ef),{color:vue.unref(r),title:(s=n.config)==null?void 0:s.customize.title,titleWidth:(u=n.config)==null?void 0:u.customize.titleWidth,backgroundColor:(c=n.config)==null?void 0:c.customize.backgroundColor,ref_key:"customRef",ref:o},null,8,["color","title","titleWidth","backgroundColor"])}}}),__vite_glob_1_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2$},Symbol.toStringTag,{value:"Module"})),_sfc_main$2_=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.computed(()=>{var a,l;return(a=n.config.customize)!=null&&a.borderMainColor||(l=n.config.customize)!=null&&l.borderSecondaryColor?[n.config.customize.borderMainColor,n.config.customize.borderSecondaryColor]:[]}),{customRef:o}=useRefresh(n.config);return(a,l)=>{var s;return vue.openBlock(),vue.createBlock(vue.unref(tf),{color:vue.unref(r),backgroundColor:(s=n.config)==null?void 0:s.customize.backgroundColor,ref_key:"customRef",ref:o},null,8,["color","backgroundColor"])}}}),__vite_glob_1_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2_},Symbol.toStringTag,{value:"Module"})),_sfc_main$2Z=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.computed(()=>{var a,l;return(a=n.config.customize)!=null&&a.borderMainColor||(l=n.config.customize)!=null&&l.borderSecondaryColor?[n.config.customize.borderMainColor,n.config.customize.borderSecondaryColor]:[]}),{customRef:o}=useRefresh(n.config);return(a,l)=>{var s;return vue.openBlock(),vue.createBlock(vue.unref(nf),{color:vue.unref(r),backgroundColor:(s=n.config)==null?void 0:s.customize.backgroundColor,ref_key:"customRef",ref:o},null,8,["color","backgroundColor"])}}}),__vite_glob_1_4$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(i){const n=i,r=vue.computed(()=>{var a,l;return(a=n.config.customize)!=null&&a.borderMainColor||(l=n.config.customize)!=null&&l.borderSecondaryColor?[n.config.customize.borderMainColor,n.config.customize.borderSecondaryColor]:[]}),{customRef:o}=useRefresh(n.config);return(a,l)=>{var s;return vue.openBlock(),vue.createBlock(vue.unref(Mc),{color:vue.unref(r),backgroundColor:(s=n.config)==null?void 0:s.customize.backgroundColor,ref_key:"customRef",ref:o},null,8,["color","backgroundColor"])}}}),__vite_glob_1_5$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(i){const n=i,r=vue.computed(()=>{var a,l;return(a=n.config.customize)!=null&&a.borderMainColor||(l=n.config.customize)!=null&&l.borderSecondaryColor?[n.config.customize.borderMainColor,n.config.customize.borderSecondaryColor]:[]}),{customRef:o}=useRefresh(n.config);return(a,l)=>{var s;return vue.openBlock(),vue.createBlock(vue.unref(Dc),{color:vue.unref(r),backgroundColor:(s=n.config)==null?void 0:s.customize.backgroundColor,ref_key:"customRef",ref:o},null,8,["color","backgroundColor"])}}}),__vite_glob_1_6$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(i){const n=i,r=vue.computed(()=>{var a,l;return(a=n.config.customize)!=null&&a.borderMainColor||(l=n.config.customize)!=null&&l.borderSecondaryColor?[n.config.customize.borderMainColor,n.config.customize.borderSecondaryColor]:[]}),{customRef:o}=useRefresh(n.config);return(a,l)=>{var s,u;return vue.openBlock(),vue.createBlock(vue.unref(Bc),{color:vue.unref(r),backgroundColor:(s=n.config)==null?void 0:s.customize.backgroundColor,reverse:(u=n.config)==null?void 0:u.customize.reverse,ref_key:"customRef",ref:o},null,8,["color","backgroundColor","reverse"])}}}),__vite_glob_1_7$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(i){const n=i,r=vue.computed(()=>{var a,l;return(a=n.config.customize)!=null&&a.borderMainColor||(l=n.config.customize)!=null&&l.borderSecondaryColor?[n.config.customize.borderMainColor,n.config.customize.borderSecondaryColor]:[]}),{customRef:o}=useRefresh(n.config);return(a,l)=>{var s,u;return vue.openBlock(),vue.createBlock(vue.unref(jc),{color:vue.unref(r),backgroundColor:(s=n.config)==null?void 0:s.customize.backgroundColor,reverse:(u=n.config)==null?void 0:u.customize.reverse,ref_key:"customRef",ref:o},null,8,["color","backgroundColor","reverse"])}}}),__vite_glob_1_8$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(i){const n=i,r=vue.computed(()=>{var a,l;return(a=n.config.customize)!=null&&a.borderMainColor||(l=n.config.customize)!=null&&l.borderSecondaryColor?[n.config.customize.borderMainColor,n.config.customize.borderSecondaryColor]:[]}),{customRef:o}=useRefresh(n.config);return(a,l)=>{var s;return vue.openBlock(),vue.createBlock(vue.unref(zc),{color:vue.unref(r),backgroundColor:(s=n.config)==null?void 0:s.customize.backgroundColor,ref_key:"customRef",ref:o},null,8,["color","backgroundColor"])}}}),__vite_glob_1_9$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(i){const n=i,r=vue.computed(()=>{var a,l;return(a=n.config.customize)!=null&&a.borderMainColor||(l=n.config.customize)!=null&&l.borderSecondaryColor?[n.config.customize.borderMainColor,n.config.customize.borderSecondaryColor]:[]}),{customRef:o}=useRefresh(n.config);return(a,l)=>{var s;return vue.openBlock(),vue.createBlock(vue.unref(Ic),{color:vue.unref(r),backgroundColor:(s=n.config)==null?void 0:s.customize.backgroundColor,ref_key:"customRef",ref:o},null,8,["color","backgroundColor"])}}}),__vite_glob_1_10$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(i){const n=i,r=vue.computed(()=>{var a,l;return(a=n.config.customize)!=null&&a.borderMainColor||(l=n.config.customize)!=null&&l.borderSecondaryColor?[n.config.customize.borderMainColor,n.config.customize.borderSecondaryColor]:[]}),{customRef:o}=useRefresh(n.config);return(a,l)=>{var s,u,c;return vue.openBlock(),vue.createBlock(vue.unref(Uc),{color:vue.unref(r),backgroundColor:(s=n.config)==null?void 0:s.customize.backgroundColor,reverse:(u=n.config)==null?void 0:u.customize.reverse,duration:(c=n.config)==null?void 0:c.customize.duration,ref_key:"customRef",ref:o},null,8,["color","backgroundColor","reverse","duration"])}}}),__vite_glob_1_11$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(i){const n=i,r=vue.computed(()=>{var a,l;return(a=n.config.customize)!=null&&a.borderMainColor||(l=n.config.customize)!=null&&l.borderSecondaryColor?[n.config.customize.borderMainColor,n.config.customize.borderSecondaryColor]:[]}),{customRef:o}=useRefresh(n.config);return(a,l)=>{var s;return vue.openBlock(),vue.createBlock(vue.unref(Qc),{color:vue.unref(r),backgroundColor:(s=n.config)==null?void 0:s.customize.backgroundColor,ref_key:"customRef",ref:o},null,8,["color","backgroundColor"])}}}),__vite_glob_1_12$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(i){const n=i,r=vue.computed(()=>n.config.customize.width+"px"),o=vue.computed(()=>n.config.customize.borderGap+"px"),a=vue.computed(()=>{const l=n.config.customize.gradientColor0,s=n.config.customize.gradientColor1;return`linear-gradient(to bottom, ${n.config.customize.borderType=="dashed"?"transparent 0%,transparent 50%,":""} ${l||s} 50%, ${s||l} 100%)`});return(l,s)=>(vue.openBlock(),vue.createElementBlock("div",{style:vue.normalizeStyle({width:vue.unref(r),"background-image":vue.unref(a),"background-repeat":"repeat-y","background-size":n.config.customize.borderType=="dashed"?`${vue.unref(r)} ${vue.unref(o)}`:""}),class:"h-full"},null,4))}}),__vite_glob_2_0$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2Q},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1V=["src"],_sfc_main$2P=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(i){const n=i;return(r,o)=>(vue.openBlock(),vue.createElementBlock("iframe",{src:n.config.customize.url,class:"w-full h-full border-0"},null,8,_hoisted_1$1V))}}),__vite_glob_2_1$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(i){const{proxy:n}=vue.getCurrentInstance(),{resetUrl:r}=n.$globalUtils,o=i;return(a,l)=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElImage),{class:"w-full h-full",src:vue.unref(r)(o.config.customize.url),fit:o.config.customize.fit},null,8,["src","fit"]))}}),__vite_glob_2_2$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(i){const n=i,r=vue.computed(()=>`-webkit-linear-gradient(${n.config.customize.colorPosition}, ${n.config.customize.startColor}, ${n.config.customize.endColor}`),o=vue.computed(()=>`-webkit-linear-gradient(${n.config.customize.bgColorPosition}, ${n.config.customize.startBgColor}, ${n.config.customize.endBgColor}`);return(a,l)=>(vue.openBlock(),vue.createElementBlock("div",{style:vue.normalizeStyle({...n.config.customize,fontSize:n.config.customize.fontSize+"px",letterSpacing:n.config.customize.letterSpacing+"px",backgroundImage:vue.unref(r),"-webkit-background-clip":"text","-webkit-text-fill-color":"transparent",display:"flex",alignItems:"center",justifyContent:n.config.customize.textAlign??"center",width:"100%",height:"100%"})},[vue.createTextVNode(vue.toDisplayString(n.config.customize.title)+" ",1),vue.createElementVNode("div",{class:"absolute top-0 left-0 w-full h-full",style:vue.normalizeStyle({backgroundImage:vue.unref(o),borderRadius:n.config.customize.borderRadius+"px",border:n.config.customize.borderWidth+"px",borderStyle:n.config.customize.borderStyle,borderColor:n.config.customize.borderColor,zIndex:-1})},null,4)],4))}}),__vite_glob_2_3$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(i){const n=i,r=vue.computed(()=>{const o=n.config.customize.gradientColor0,a=n.config.customize.gradientColor1;return`linear-gradient(to ${n.config.customize.colorPosition}, ${o||a} , ${a||o})`});return(o,a)=>(vue.openBlock(),vue.createElementBlock("div",{class:"w-full h-full",style:vue.normalizeStyle({"background-image":vue.unref(r),borderRadius:n.config.customize.borderRadius+"px"})},null,4))}}),__vite_glob_2_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2M},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1U=vue.createElementVNode("i",{class:"text-white ri-close-circle-fill"},null,-1),_hoisted_2$1B=[_hoisted_1$1U],_hoisted_3$1l=["src"],_sfc_main$2L=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]},isDesign:{type:Boolean,default:!1}},setup(i){const n=i,{proxy:r}=vue.getCurrentInstance(),o=r.$globalHooks.useRouter(),a=vue.ref(!1),l=vue.reactive({type:"",data:""}),s=()=>{let{type:d,url:f,fullscreenId:p,openType:v}=n.config.customize;if(!(d!="fullscreen"&&!f||d=="fullscreen"&&!p||n.isDesign)){if(d=="fullscreen"&&(f=o.resolve({name:"big-data-preview",query:{id:p}}).href),v=="dialog"){if(self!=top&&d=="fullscreen"){o.replace({name:"big-data-preview",query:{id:p}});return}l.data=f,a.value=!0;return}if(d=="fullscreen"&&v=="own"){o.push({name:"big-data-preview",query:{id:p}});return}if(v=="blank"){window.top.open(f);return}window.location.href=f}},u=vue.computed(()=>`-webkit-linear-gradient(${n.config.customize.colorPosition}, ${n.config.customize.startColor}, ${n.config.customize.endColor}`),c=vue.computed(()=>`-webkit-linear-gradient(${n.config.customize.bgColorPosition}, ${n.config.customize.startBgColor}, ${n.config.customize.endBgColor}`);return(d,f)=>(vue.openBlock(),vue.createElementBlock("div",{onClick:vue.withModifiers(s,["stop"]),style:vue.normalizeStyle({...n.config.customize,fontSize:n.config.customize.fontSize+"px",letterSpacing:n.config.customize.letterSpacing+"px",backgroundImage:vue.unref(u),"-webkit-background-clip":"text","-webkit-text-fill-color":"transparent",display:"flex",alignItems:"center",justifyContent:n.config.customize.textAlign??"center",width:"100%",height:"100%",cursor:(n.config.customize.url||n.config.customize.fullscreenId)&&!n.isDesign?"pointer":"default"})},[vue.createTextVNode(vue.toDisplayString(n.config.customize.title)+" ",1),vue.createElementVNode("div",{class:"absolute top-0 left-0 w-full h-full",style:vue.normalizeStyle({backgroundImage:vue.unref(c),borderRadius:n.config.customize.borderRadius+"px",border:n.config.customize.borderWidth+"px",borderStyle:n.config.customize.borderStyle,borderColor:n.config.customize.borderColor,zIndex:-1})},null,4),vue.createVNode(vue.unref(elementPlus.ElDialog),{modelValue:vue.unref(a),"onUpdate:modelValue":f[1]||(f[1]=p=>vue.isRef(a)?a.value=p:null),class:"ace-screen-dialog","append-to-body":"","destroy-on-close":"","close-on-click-modal":!1,"close-on-press-escape":!1},{default:vue.withCtx(()=>[vue.createElementVNode("div",{onClick:f[0]||(f[0]=vue.withModifiers(p=>a.value=!1,["stop"])),class:"ace-screen-dialog-close"},_hoisted_2$1B),vue.createElementVNode("iframe",{src:vue.unref(l).data},null,8,_hoisted_3$1l)]),_:1},8,["modelValue"])],4))}}),__vite_glob_2_5$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(i){const n=i,r=vue.ref(),o=()=>{r.value=dayjs().format("YYYY-MM-DD HH:mm:ss")},a=setInterval(()=>{o()},1e3);o(),vue.onBeforeUnmount(()=>{a&&clearInterval(a)});const l=vue.computed(()=>`-webkit-linear-gradient(${n.config.customize.colorPosition}, ${n.config.customize.startColor}, ${n.config.customize.endColor}`),s=vue.computed(()=>`-webkit-linear-gradient(${n.config.customize.bgColorPosition}, ${n.config.customize.startBgColor}, ${n.config.customize.endBgColor}`);return(u,c)=>(vue.openBlock(),vue.createElementBlock("div",{style:vue.normalizeStyle({...n.config.customize,fontSize:n.config.customize.fontSize+"px",letterSpacing:n.config.customize.letterSpacing+"px",backgroundImage:vue.unref(l),"-webkit-background-clip":"text","-webkit-text-fill-color":"transparent",display:"flex",alignItems:"center",justifyContent:n.config.customize.textAlign??"center",width:"100%",height:"100%"})},[vue.createTextVNode(vue.toDisplayString(vue.unref(r))+" ",1),vue.createElementVNode("div",{class:"absolute top-0 left-0 w-full h-full",style:vue.normalizeStyle({backgroundImage:vue.unref(s),borderRadius:n.config.customize.borderRadius+"px",border:n.config.customize.borderWidth+"px",borderStyle:n.config.customize.borderStyle,borderColor:n.config.customize.borderColor,zIndex:-1})},null,4)],4))}}),__vite_glob_2_6$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(i){const n=i,r=vue.computed(()=>n.config.customize.height+"px"),o=vue.computed(()=>n.config.customize.borderGap+"px"),a=vue.computed(()=>{const l=n.config.customize.gradientColor0,s=n.config.customize.gradientColor1;return`linear-gradient(to right, ${n.config.customize.borderType=="dashed"?"transparent 0%,transparent 50%,":""} ${l||s} 50%, ${s||l} 100%)`});return(l,s)=>(vue.openBlock(),vue.createElementBlock("div",{style:vue.normalizeStyle({height:vue.unref(r),"background-image":vue.unref(a),"background-repeat":"repeat-x","background-size":n.config.customize.borderType=="dashed"?`${vue.unref(o)} ${vue.unref(r)}`:""}),class:"w-full"},null,4))}}),__vite_glob_2_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2J},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1T={class:"w-full h-full"},_hoisted_2$1A=["placeholder"],_sfc_main$2I=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]},renderId:{default:""}},setup(i){vue.useCssVars(l=>({"063f4c06":vue.unref(o)}));const n=i,{proxy:r}=vue.getCurrentInstance(),o=vue.computed(()=>n.config.customize.color),a=()=>{const l=n.config.customize.linkage;n.renderId&&r.$baseEventBus.emit(`ace-screen-indicators-linkage-${n.renderId}`,l.map(s=>s[0]))};return(l,s)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1T,[vue.withDirectives(vue.createElementVNode("input",{"onUpdate:modelValue":s[0]||(s[0]=u=>n.config.customize.modelValue=u),placeholder:n.config.customize.placeholder,style:vue.normalizeStyle({width:"100%",height:"100%",backgroundColor:n.config.customize.backgroundColor,borderWidth:`${n.config.customize.borderTopWidth}px ${n.config.customize.borderRightWidth}px ${n.config.customize.borderBottomWidth}px ${n.config.customize.borderLeftWidth}px `,borderColor:n.config.customize.borderColor,color:n.config.customize.color,fontSize:n.config.customize.fontSize+"px",borderRadius:n.config.customize.borderRadius+"px"}),onBlur:a},null,44,_hoisted_2$1A),[[vue.vModelText,n.config.customize.modelValue]])]))}}),index_vue_vue_type_style_index_0_scoped_c39411e1_lang="",index$3=_export_sfc$2(_sfc_main$2I,[["__scopeId","data-v-c39411e1"]]),__vite_glob_3_0$1=Object.freeze(Object.defineProperty({__proto__:null,default:index$3},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1S={class:"w-full h-full"},_hoisted_2$1z=["onClick"],_hoisted_3$1k=["onClick"],_sfc_main$2H=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]},renderId:{default:""},isDesign:{type:Boolean,default:!1}},setup(i){vue.useCssVars(p=>({"3e52343c":vue.unref(s),"56b06e6c":vue.unref(l),"2b420343":vue.unref(u)}));const n=i,{proxy:r}=vue.getCurrentInstance(),o=vue.ref([]),a=vue.computed(()=>n.config.customize),l=vue.computed(()=>n.config.customize.bgColor),s=vue.computed(()=>n.config.customize.color),u=vue.computed(()=>n.config.customize.borderColor);vue.watch(()=>n.config.customize.dictId,()=>{c()},{});const c=()=>{const p=n.config.customize.dictId;p&&r.$baseHttp.get(`/api/ace-data-center/custom-dic/readDict/${p}`).then(v=>{o.value=dictArratToTree(v.data??[])})},d=p=>{n.config.customize.modelValue=p.code,f()},f=()=>{const p=n.config.customize.linkage;n.renderId&&r.$baseEventBus.emit(`ace-screen-indicators-linkage-${n.renderId}`,p.map(v=>v[0]))};return vue.onMounted(()=>{c()}),(p,v)=>{var m,g,_;return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1S,[["select",""].includes(((m=vue.unref(a))==null?void 0:m.type)??"")?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElTreeSelect),{key:0,expandAll:!1,props:{label:"name",value:"code"},modelValue:vue.unref(a).modelValue,"onUpdate:modelValue":v[0]||(v[0]=y=>vue.unref(a).modelValue=y),placeholder:vue.unref(a).placeholder,style:{width:"100%",height:"100%"},onChange:f,clearable:vue.unref(a).clearable,renderAfterExpand:"",data:vue.unref(o)},null,8,["modelValue","placeholder","clearable","data"])):vue.createCommentVNode("",!0),["card"].includes(((g=vue.unref(a))==null?void 0:g.type)??"")?(vue.openBlock(),vue.createElementBlock("div",{key:1,class:"flex w-full h-full overflow-hidden select-card",style:vue.normalizeStyle({background:vue.unref(l),color:vue.unref(s),border:`${vue.unref(a).borderWidth}px solid ${vue.unref(a).borderColor}`,borderRadius:`${vue.unref(a).borderRadius}px`,borderRight:0,fontSize:`${vue.unref(a).fontSize}px`})},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(o),y=>(vue.openBlock(),vue.createElementBlock("div",{class:"flex items-center justify-center flex-1 cursor-pointer",style:vue.normalizeStyle({borderRight:`${vue.unref(a).borderWidth}px solid ${vue.unref(a).borderColor}`,backgroundColor:vue.unref(a).modelValue==y.code?vue.unref(a).activeBgColor:null,color:vue.unref(a).modelValue==y.code?vue.unref(a).activeColor:null}),onClick:b=>d(y)},vue.toDisplayString(y.name),13,_hoisted_2$1z))),256))],4)):vue.createCommentVNode("",!0),["line"].includes(((_=vue.unref(a))==null?void 0:_.type)??"")?(vue.openBlock(),vue.createElementBlock("div",{key:2,class:"flex w-full h-full overflow-hidden line-card",style:vue.normalizeStyle({background:vue.unref(l),color:vue.unref(s),fontSize:`${vue.unref(a).fontSize}px`,borderRadius:`${vue.unref(a).borderRadius}px`})},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(o),y=>(vue.openBlock(),vue.createElementBlock("div",{class:"flex items-center justify-center flex-1 cursor-pointer",style:vue.normalizeStyle({borderBottom:`${vue.unref(a).borderWidth}px solid ${vue.unref(a).modelValue==y.code?vue.unref(a).borderColor:"transparent"}`,backgroundColor:vue.unref(a).modelValue==y.code?vue.unref(a).activeBgColor:null,color:vue.unref(a).modelValue==y.code?vue.unref(a).activeColor:null}),onClick:b=>d(y)},vue.toDisplayString(y.name),13,_hoisted_3$1k))),256))],4)):vue.createCommentVNode("",!0)])}}}),index_vue_vue_type_style_index_0_scoped_e6f73241_lang="",index$2=_export_sfc$2(_sfc_main$2H,[["__scopeId","data-v-e6f73241"]]),__vite_glob_3_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:index$2},Symbol.toStringTag,{value:"Module"})),moudleComponents$1={};for(let i=0;i<=5;i+=1){let n=null;if(i==0&&(n=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})),i==1&&(n=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})),i==2&&(n=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})),i==3&&(n=Object.assign({"../control/input/index.vue":__vite_glob_3_0$1,"../control/select/index.vue":__vite_glob_3_1$1})),n)for(const[r,o]of Object.entries(n)){const a=r.split("/")[2];moudleComponents$1[a]=o.default}}function useBarCommon(){const i=vue.ref((window==null?void 0:window.customSeriesData)??{}),n=(a,l)=>{a.series=[],setTimeout(()=>{const s=a.dataShow.y.filter(u=>!a.dataShow.hide.includes(u));a.dataset.dimensions=[a.dataShow.x,...s],a.dataShow.y.forEach(u=>{i.value[u]||(i.value[u]=JSON.parse(JSON.stringify(r)))}),window.customSeriesData=i.value,Object.values(vue.unref(i)).forEach(u=>{u.label.formatter=c=>{const d=a.custom,f=c.data[c.seriesName];if((d==null?void 0:d.toFixed)!=="")try{return Number(f).toFixed(d.toFixed)}catch{return f}return f}}),Array.isArray(a.yAxis)||(a.yAxis=[a.yAxis]),a.series=s.map((u,c)=>i.value[u]),l&&l()})},r={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:n,customSeriesData:i,seriesItem:r,barConfig:{tooltip:{show:!0,confine:!0,valueFormatter:a=>a,trigger:"axis",axisPointer:{show:!0,type:"shadow"}},custom:{prefix:"",suffix:"",toFixed:0},dataShow:{x:[],y:[],hide:[],deep:!0},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 i=vue.ref((window==null?void 0:window.customSeriesData)??{}),n=(a,l)=>{a.series=[],setTimeout(()=>{const s=a.dataShow.y.filter(u=>!a.dataShow.hide.includes(u));a.dataset.dimensions=[a.dataShow.x,...s],a.dataShow.y.forEach(u=>{i.value[u]||(i.value[u]=JSON.parse(JSON.stringify(r)))}),window.customSeriesData=i.value,Object.values(vue.unref(i)).forEach(u=>{u.label.formatter=c=>{const d=a.custom,f=c.data[c.seriesName];if((d==null?void 0:d.toFixed)!=="")try{return Number(f).toFixed(d.toFixed)}catch{return f}return f}}),Array.isArray(a.yAxis)||(a.yAxis=[a.yAxis]),a.series=s.map((u,c)=>i.value[u]),l&&l()})},r={type:"line",symbolSize:5,smooth:!0,showArea:!1,areaStyleTmp:{},lineStyle:{type:"solid",width:3,color:null},label:{show:!0,position:"top",color:"#000000",fontSize:10,rotate:0}};return{init:n,customSeriesData:i,seriesItem:r,lineConfig:{tooltip:{show:!0,confine:!0,valueFormatter:a=>a,trigger:"axis",axisPointer:{show:!0,type:"shadow"}},custom:{prefix:"",suffix:"",toFixed:0},dataShow:{x:[],y:[],hide:[],deep:!0},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 i=vue.ref((window==null?void 0:window.customSeriesData)??{}),n=(a,l)=>{a.series=[],setTimeout(()=>{a.dataset.dimensions=[a.dataShow.x,a.dataShow.y],i.value[a.dataShow.y]||(i.value[a.dataShow.y]=JSON.parse(JSON.stringify(r))),window.customSeriesData=i.value,a.series=[i.value[a.dataShow.y]],l&&l()})},r={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:n,customSeriesData:i,seriesItem:r,pieConfig:{tooltip:{show:!0,confine:!0,valueFormatter:a=>a,trigger:"item"},dataShow:{x:"",y:"",deep:!0},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 i=vue.ref((window==null?void 0:window.customSeriesData)??{}),n=(l,s)=>{l.series=[],setTimeout(()=>{const u=l.dataShow.y.filter(c=>!l.dataShow.hide.includes(c));l.dataset.dimensions=[l.dataShow.x,...u],l.dataShow.y.forEach((c,d)=>{if(i.value[c])return;const f=l.dataShow.y.length==d+1&&l.dataShow.y.length>0;i.value[c]=JSON.parse(JSON.stringify(f?r:o))}),window.customSeriesData=i.value,Object.values(vue.unref(i)).forEach(c=>{c.label.formatter=d=>{const f=l.custom,p=d.data[d.seriesName];if((f==null?void 0:f.toFixed)!=="")try{return Number(p).toFixed(f.toFixed)}catch{return p}return p}}),Array.isArray(l.yAxis)||(l.yAxis=[l.yAxis,a.yAxis[1]]),l.series=u.map((c,d)=>i.value[c]),s&&s()})},r={type:"line",symbolSize:5,smooth:!0,areaStyleTmp:{},showArea:!1,lineStyle:{type:"solid",width:3,color:null},label:{show:!0,rotate:0,position:"top",color:"#000000",fontSize:10}},o={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}},a={tooltip:{show:!0,confine:!0,valueFormatter:l=>l,trigger:"axis",axisPointer:{show:!0,type:"shadow"}},custom:{prefix:"",suffix:"",toFixed:0},dataShow:{x:[],y:[],hide:[],deep:!0},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"},{show:!1,axisLabel:{fontSize:12,interval:0,rotate:0},nameTextStyle:{fontSize:12},splitLine:{lineStyle:{width:1,type:"solid"}},position:"right",type:"value"}],dataset:{},series:[]};return{init:n,customSeriesData:i,seriesLineItem:r,seriesBarItem:o,barsLinesConfig:a}}function useScatterCommon(){const i=vue.ref((window==null?void 0:window.customSeriesData)??{}),n=(a,l)=>{a.series=[],setTimeout(()=>{const s=a.dataShow.y.filter(u=>!a.dataShow.hide.includes(u));a.dataset.dimensions=[a.dataShow.x,...s],a.dataShow.y.forEach(u=>{i.value[u]||(i.value[u]=JSON.parse(JSON.stringify(r)))}),window.customSeriesData=i.value,Object.values(vue.unref(i)).forEach(u=>{u.label.formatter=c=>{const d=a.custom,f=c.data[c.seriesName];if((d==null?void 0:d.toFixed)!=="")try{return Number(f).toFixed(d.toFixed)}catch{return f}return f}}),Array.isArray(a.yAxis)||(a.yAxis=[a.yAxis]),a.series=s.map((u,c)=>i.value[u]),l&&l()})},r={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:n,customSeriesData:i,seriesItem:r,scatterCfg:{tooltip:{show:!0,confine:!0,valueFormatter:a=>a,trigger:"axis",axisPointer:{show:!0,type:"shadow"}},custom:{prefix:"",suffix:"",toFixed:0},dataShow:{x:[],y:[],hide:[],deep:!0},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 i=vue.ref((window==null?void 0:window.customSeriesData)??{}),n=(a,l)=>{a.series=[],setTimeout(()=>{const s=a.dataShow.y.filter(c=>!a.dataShow.hide.includes(c));a.dataset.dimensions=s,vue.unref(i).type||(i.value=JSON.parse(JSON.stringify(r))),window.customSeriesData=i.value,a.radar.indicator=a.dataset.source.map(c=>({name:c[a.dataShow.x]}));const u=[];a.dataset.dimensions.forEach(c=>{u.push({name:c,value:a.dataset.source.map(d=>d[c])})}),a.series=[{...i.value,data:u}],vue.unref(i).label.formatter=c=>{const d=a.custom,f=c.value;if((d==null?void 0:d.toFixed)!=="")try{return Number(f).toFixed(d.toFixed)}catch{return f}return f},l&&l()})},r={type:"radar",areaStyle:{opacity:.1},label:{show:!0,rotate:0,position:"top",color:"#000000",fontSize:10},data:[]};return{init:n,customSeriesData:i,seriesItem:r,radarConfig:{tooltip:{show:!0,confine:!0,valueFormatter:a=>a},custom:{prefix:"",suffix:"",toFixed:0},dataShow:{x:[],y:[],hide:[],deep:!0},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 i=vue.ref((window==null?void 0:window.customSeriesData)??{}),n=(a,l)=>{a.series=[],setTimeout(()=>{typeof a.dataShow.y=="string"&&a.dataShow.y&&(a.dataShow.y=[a.dataShow.y]);const s=a.dataShow.y.filter(u=>{var c;return!(((c=a.dataShow)==null?void 0:c.hide)??[]).includes(u)});a.dataset.dimensions=s,a.dataShow.y.forEach(u=>{i.value[u]||(i.value[u]=JSON.parse(JSON.stringify(r)))}),a.customSeriesData=i.value,window.customSeriesData=i.value,l&&l()})},r={prefix:"",suffix:"",toFixed:0,color:null,fontSize:14,titleFontSize:14,bgColor:null};return{init:n,seriesItem:r,customSeriesData:i,numberConfig:{margin:10,padding:10,dataShow:{x:"",y:[],hide:[],deep:!0},dataset:{}}}}function useProgress(){const i=vue.ref((window==null?void 0:window.customSeriesData)??{}),n=(a,l)=>{a.series=[],setTimeout(()=>{let s=a.dataShow.y.filter(u=>{var c;return!(((c=a.dataShow)==null?void 0:c.hide)??[]).includes(u)});a.dataset.dimensions=s,a.dataShow.y.forEach(u=>{i.value[u]||(i.value[u]=JSON.parse(JSON.stringify(r)))}),a.customSeriesData=i.value,window.customSeriesData=i.value,l&&l()})},r={type:"circle",duration:3,strokeLinecap:"round",strokeWidth:6,textInside:!1,width:126,showText:!0,striped:!1,stripedFlow:!1,bgColor:"",color:"",prefix:"",suffix:"",toFixed:0,fontSize:14};return{init:n,seriesItem:r,customSeriesData:i,progressConfig:{type:"line",margin:10,direction:"horizontal",dataShow:{x:"",y:[],hide:[],deep:!0},dataset:{}}}}function useTable(){const i=vue.ref((window==null?void 0:window.customSeriesData)??{}),n=(a,l)=>{a.series=[],setTimeout(()=>{const s=a.dataShow.y.filter(u=>!a.dataShow.hide.includes(u));a.dataset.dimensions=s,a.dataShow.y.forEach(u=>{i.value[u]||(i.value[u]=JSON.parse(JSON.stringify(r)))}),a.customSeriesData=i.value,window.customSeriesData=i.value,l&&l()})},r={prefix:"",suffix:"",toFixed:0,fontSize:13,textAlign:"center",color:null,headColor:null,text:"",width:null};return{init:n,customSeriesData:i,tableConfig:{showIndex:!1,indexWidth:80,indexHeader:"#",rowNum:5,headerBGC:"",oddRowBGC:"",evenRowBGC:"",carousel:"single",headerHeight:35,waitTime:2,dataShow:{x:"",y:[],hide:[],deep:!0},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 i=async(a,l)=>{let s=String(a.code).padEnd(6,"0");const u=r(vue.unref(city)[0],s),c=await n(`${s}${(u==null?void 0:u.region_level)!=3?"_full":""}`);core.registerMap(s,c),a.geo.map=s;const d=a.dataset.source,f=[];((c==null?void 0:c.features)??[]).forEach(p=>{const m=(d.find(y=>y[a.dataShow.x]==p.properties.name)??{})[a.dataShow.y]??0,g=p.properties.center?[...p.properties.center,m]:p.properties.center,_={name:p.properties.name,value:g,code:p.properties.adcode,data:m};Number(m)<=0&&(_.symbolSize=0),f.push(_)}),a.series=[{type:"map",map:s,roam:!0,geoIndex:0,select:!1,data:f},{...a.style.style1,data:f},{...a.style.style2,data:f}],l&&l()},n=async a=>{const l=`https://geo.datav.aliyun.com/areas_v3/bound/${a}.json`;return await fetch(l).then(u=>u.json())};function r(a,l){var s;if(String(a.code).padEnd(6,"0")==l)return a;for(let u=0;u<((s=a==null?void 0:a.children)==null?void 0:s.length);u+=1){const c=a.children[u],d=r(c,l);if(d)return d}return null}return{init:i,city,mapConfig:{code:"100000",tooltip:{show:!0},dataShow:{x:"",y:"",deep:!0},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:a=>a.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 useWeaterLevel(){const i=vue.ref((window==null?void 0:window.customSeriesData)??{}),n=(a,l)=>{a.series=[],setTimeout(()=>{a.dataset.dimensions=[a.dataShow.x,a.dataShow.y];const s={},u=a.dataShow.y;a.dataset.source.forEach(c=>{s[u]||(s[u]=0),s[u]+=Number(c[u])}),vue.unref(i).type||(i.value=JSON.parse(JSON.stringify(r))),window.customSeriesData=i.value,vue.unref(i).label.formatter=c=>Number((c.value*100).toFixed(vue.unref(i).toFixed))+"%",a.series=[{...vue.unref(i),data:[s[u]/100]}],l&&l()})},r={type:"liquidFill",color:[{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"#1869E3"},{offset:1,color:"#28A45B"}]}],center:["50%","50%"],radius:"80%",shape:"circle",label:{show:!0,color:"#294D99",fontSize:30},backgroundStyle:{color:"rgba(44,169,218,0.3)"},outline:{show:!1},toFixed:2};return{init:n,seriesItem:r,customSeriesData:i,weaterLevelConfig:{dataShow:{x:"",y:[],hide:[],deep:!0},dataset:{},series:[]}}}function useCustomChart(){const{proxy:i}=vue.getCurrentInstance(),n=vue.ref({}),r=vue.ref(""),o=vue.ref(null),a=vue.ref(null),l=vue.ref(""),s=async(m,g,_)=>await new Promise(async y=>{var $,S;const{getChartData:b}=useScreenDesign(),x=JSON.parse(JSON.stringify((($=vue.unref(o))==null?void 0:$.params)??((S=vue.unref(b))==null?void 0:S.params))),C=JSON.parse((x==null?void 0:x.groupArgsJson)??"[]");let w=JSON.parse((x==null?void 0:x.aggArgsJson)??"[]");if(g){const V=C.find(k=>k.comment==g);V&&(x.groupArgsJson=JSON.stringify([V]))}if(["2"].includes(m)&&_){const V=w.find(k=>k.showLabel==_);V&&(x.aggArgsJson=JSON.stringify([V]))}["8"].includes(m)||(x.aggArgsJson=JSON.stringify(w.filter(V=>V.aggType!="other")));const E=await i.$baseHttp.post("/api/ace-data-center/model-indicators/exec",x);a.value=E.data.var,l.value=E.data.modelIndicatorsName,y(E.data.page.records)}),u=async(m,g,_)=>await new Promise(async y=>{let b=g;const{getChartData:x}=useScreenDesign();if(m){const C=await i.$baseHttp.get(`/api/ace-data-center/model-indicators-echarts/detail?id=${m}`);if(!C)return;_=chartJsonFormat(C.data.echartsConfig),b=C.data.echartsType}r.value=b,setTimeout(async()=>{var C,w,E,$,S,V,k,P,B,T,N,O,I,L,D,F,M,R,z,U,G,J,te,ae,j,ee,le,se,Z,K,q,Y,X,oe,W,ne,H,Q,re,ie,ue,ce,fe,ve,de,he,pe,me,ge,Se,Ae,Oe,Le,Re,Ge,Ye,We,ye,$e,Je,Qe;switch(b){case"1":{const{lineConfig:Ee,customSeriesData:ke,init:Pe}=useLineCommon();ke.value=((C=vue.unref(_))==null?void 0:C.customSeriesData)??{},n.value=_??chartJsonFormat(chartJsonToStringFormat(Ee)),delete n.value.legend.icon,vue.unref(n).dataShow.x=((w=_==null?void 0:_.dataShow)==null?void 0:w.x)??(($=(E=vue.unref(x))==null?void 0:E.x[0])==null?void 0:$.comment);const Me=(((S=vue.unref(o))==null?void 0:S.y)??((V=vue.unref(x))==null?void 0:V.y)).filter(be=>be.aggType!="other").map(be=>be.showLabel);vue.unref(n).dataShow.y=p(Me,((k=vue.unref(n).dataShow)==null?void 0:k.y)??[]),vue.unref(n).dataset.source=await s(b,vue.unref(n).dataShow.x),Pe(vue.unref(n),()=>v())}break;case"2":{const{pieConfig:Ee,customSeriesData:ke,init:Pe}=usePieCommon();ke.value=(_==null?void 0:_.customSeriesData)??{},n.value=_??chartJsonFormat(chartJsonToStringFormat(Ee)),vue.unref(n).dataShow.x=((P=_==null?void 0:_.dataShow)==null?void 0:P.x)??((T=(B=vue.unref(x))==null?void 0:B.x[0])==null?void 0:T.comment),vue.unref(n).dataShow.y=((N=_==null?void 0:_.dataShow)==null?void 0:N.y)??((I=(O=vue.unref(x))==null?void 0:O.y[0])==null?void 0:I.showLabel),vue.unref(n).dataset.source=await s(b,vue.unref(n).dataShow.x,vue.unref(n).dataShow.y),Pe(vue.unref(n),()=>v())}break;case"3":{const{barConfig:Ee,customSeriesData:ke,init:Pe}=useBarCommon();ke.value=(_==null?void 0:_.customSeriesData)??{},n.value=_??chartJsonFormat(chartJsonToStringFormat(Ee)),vue.unref(n).dataShow.x=((L=_==null?void 0:_.dataShow)==null?void 0:L.x)??((F=(D=vue.unref(x))==null?void 0:D.x[0])==null?void 0:F.comment);const Me=(((M=vue.unref(o))==null?void 0:M.y)??((R=vue.unref(x))==null?void 0:R.y)).filter(be=>be.aggType!="other").map(be=>be.showLabel);vue.unref(n).dataShow.y=p(Me,((z=vue.unref(n).dataShow)==null?void 0:z.y)??[]),vue.unref(n).dataset.source=await s(b,vue.unref(n).dataShow.x),Pe(vue.unref(n),()=>v())}break;case"4":{const{radarConfig:Ee,customSeriesData:ke,init:Pe}=useRadar();ke.value=((U=vue.unref(_))==null?void 0:U.customSeriesData)??{},n.value=_??chartJsonFormat(chartJsonToStringFormat(Ee)),vue.unref(n).dataShow.x=((G=_==null?void 0:_.dataShow)==null?void 0:G.x)??((te=(J=vue.unref(x))==null?void 0:J.x[0])==null?void 0:te.comment);const Me=(((ae=vue.unref(o))==null?void 0:ae.y)??((j=vue.unref(x))==null?void 0:j.y)).filter(be=>be.aggType!="other").map(be=>be.showLabel);vue.unref(n).dataShow.y=p(Me,((ee=vue.unref(n).dataShow)==null?void 0:ee.y)??[]),vue.unref(n).dataset.source=await s(b,vue.unref(n).dataShow.x),Pe(vue.unref(n),()=>v())}break;case"5":{const{barsLinesConfig:Ee,customSeriesData:ke,init:Pe}=useBarLineCommon();ke.value=((le=vue.unref(_))==null?void 0:le.customSeriesData)??{},n.value=_??chartJsonFormat(chartJsonToStringFormat(Ee)),vue.unref(n).dataShow.x=((se=_==null?void 0:_.dataShow)==null?void 0:se.x)??((K=(Z=vue.unref(x))==null?void 0:Z.x[0])==null?void 0:K.comment);const Me=(((q=vue.unref(o))==null?void 0:q.y)??((Y=vue.unref(x))==null?void 0:Y.y)).filter(be=>be.aggType!="other").map(be=>be.showLabel);vue.unref(n).dataShow.y=p(Me,((X=vue.unref(n).dataShow)==null?void 0:X.y)??[]),vue.unref(n).dataset.source=await s(b,vue.unref(n).dataShow.x),Pe(vue.unref(n),()=>v())}break;case"6":{const{scatterCfg:Ee,customSeriesData:ke,init:Pe}=useScatterCommon();ke.value=((oe=vue.unref(_))==null?void 0:oe.customSeriesData)??{},n.value=_??chartJsonFormat(chartJsonToStringFormat(Ee)),vue.unref(n).dataShow.x=((W=_==null?void 0:_.dataShow)==null?void 0:W.x)??((H=(ne=vue.unref(x))==null?void 0:ne.x[0])==null?void 0:H.comment);const Me=(((Q=vue.unref(o))==null?void 0:Q.y)??((re=vue.unref(x))==null?void 0:re.y)).filter(be=>be.aggType!="other").map(be=>be.showLabel);vue.unref(n).dataShow.y=p(Me,((ie=vue.unref(n).dataShow)==null?void 0:ie.y)??[]),vue.unref(n).dataset.source=await s(b,vue.unref(n).dataShow.x),Pe(vue.unref(n),()=>v())}break;case"7":{const{numberConfig:Ee,customSeriesData:ke,init:Pe}=useNumber();ke.value=(_==null?void 0:_.customSeriesData)??{},n.value=_??chartJsonFormat(chartJsonToStringFormat(Ee));const Me=(((ue=vue.unref(o))==null?void 0:ue.y)??((ce=vue.unref(x))==null?void 0:ce.y)).filter(be=>be.aggType!="other").map(be=>be.showLabel);vue.unref(n).dataShow.y=p(Me,((fe=vue.unref(n).dataShow)==null?void 0:fe.y)??[]),vue.unref(n).dataset.source=await s(b),Pe(vue.unref(n),()=>v())}break;case"8":{const{customSeriesData:Ee,tableConfig:ke,init:Pe}=useTable();n.value=_??chartJsonFormat(chartJsonToStringFormat(ke)),Ee.value=((ve=vue.unref(_))==null?void 0:ve.customSeriesData)??{};const Me=[...(((de=vue.unref(o))==null?void 0:de.x)??((he=vue.unref(x))==null?void 0:he.x)).map(be=>be.comment),...(((pe=vue.unref(o))==null?void 0:pe.y)??((me=vue.unref(x))==null?void 0:me.y)).map(be=>be.showLabel)];vue.unref(n).dataShow.y=p(Me,((ge=vue.unref(n).dataShow)==null?void 0:ge.y)??[]),vue.unref(n).dataset.source=await s(b),Pe(vue.unref(n),()=>v())}break;case"9":const{mapConfig:bt,init:pt}=useMap(),Ke=_??chartJsonFormat(chartJsonToStringFormat(bt));Ke.series=[],Ke.dataShow.x=((Se=_==null?void 0:_.dataShow)==null?void 0:Se.x)??((Oe=(Ae=vue.unref(x))==null?void 0:Ae.x[0])==null?void 0:Oe.comment),Ke.dataShow.y=((Le=_==null?void 0:_.dataShow)==null?void 0:Le.y)??((Ge=(Re=vue.unref(x))==null?void 0:Re.y[0])==null?void 0:Ge.showLabel),Ke.dataset.source=await s(b,Ke.dataShow.x,Ke.dataShow.y),pt(Ke,()=>{n.value=Ke,v()});break;case"10":{const{progressConfig:Ee,customSeriesData:ke,init:Pe}=useProgress();ke.value=(_==null?void 0:_.customSeriesData)??{},n.value=_??chartJsonFormat(chartJsonToStringFormat(Ee));const Me=(((Ye=vue.unref(o))==null?void 0:Ye.y)??((We=vue.unref(x))==null?void 0:We.y)).filter(be=>be.aggType!="other").map(be=>be.showLabel);vue.unref(n).dataShow.y=p(Me,((ye=vue.unref(n).dataShow)==null?void 0:ye.y)??[]),vue.unref(n).dataset.source=await s(b),Pe(vue.unref(n),()=>v())}break;case"11":{const{weaterLevelConfig:Ee,customSeriesData:ke,init:Pe}=useWeaterLevel();ke.value=(_==null?void 0:_.customSeriesData)??{},n.value=_??chartJsonFormat(chartJsonToStringFormat(Ee)),vue.unref(n).dataShow.y=(($e=_==null?void 0:_.dataShow)==null?void 0:$e.y)??((Qe=(Je=vue.unref(x))==null?void 0:Je.y[0])==null?void 0:Qe.showLabel),vue.unref(n).dataset.source=await s(b),Pe(vue.unref(n),()=>v())}break}y(n.value)},100)}),c=()=>{var m,g,_,y,b,x,C;switch(vue.unref(r)){case"1":{const{customSeriesData:w,init:E}=useLineCommon();w.value=((m=vue.unref(n))==null?void 0:m.customSeriesData)??{},E(vue.unref(n))}break;case"2":{const{customSeriesData:w,init:E}=usePieCommon();w.value=((g=vue.unref(n))==null?void 0:g.customSeriesData)??{},E(vue.unref(n))}break;case"3":{const{customSeriesData:w,init:E}=useBarCommon();w.value=((_=vue.unref(n))==null?void 0:_.customSeriesData)??{},E(vue.unref(n))}break;case"4":{const{customSeriesData:w,init:E}=useRadar();w.value=((y=vue.unref(n))==null?void 0:y.customSeriesData)??{},E(vue.unref(n))}break;case"5":{const{customSeriesData:w,init:E}=useBarLineCommon();w.value=((b=vue.unref(n))==null?void 0:b.customSeriesData)??{},E(vue.unref(n))}break;case"6":{const{customSeriesData:w,init:E}=useScatterCommon();w.value=((x=vue.unref(n))==null?void 0:x.customSeriesData)??{},E(vue.unref(n))}break;case"7":{const{init:w}=useNumber();w(vue.unref(n))}break;case"8":{const{customSeriesData:w,init:E}=useTable();w.value=((C=vue.unref(n))==null?void 0:C.customSeriesData)??{},E(vue.unref(n))}break;case"10":{const{init:w}=useProgress();w(vue.unref(n))}break;case"11":{const{init:w}=useWeaterLevel();w(vue.unref(n))}break}},d=async(m,g,_)=>{await new Promise(async y=>{var V;const{setChartData:b}=useScreenDesign(),{dynamicSearchFormat:x,dynamicSearchParams:C}=i.$aceDynamicSearch(i);let w;w=await i.$baseHttp.get(`/api/ace-data-center/model-indicators/detail?id=${m}`);const E=JSON.parse(w.data.sortArgsJson??"{}"),$=Object.keys(vue.unref(E)).map(k=>({field:k,type:E[k]=="ascending"?"asc":"desc"}));b({x:JSON.parse(w.data.groupArgsJson),y:JSON.parse(w.data.aggArgsJson),params:{aggArgsJson:w.data.aggArgsJson,groupArgsJson:w.data.groupArgsJson,sortArgsJson:JSON.stringify($),params:C(x(JSON.parse(_??((V=vue.unref(w))==null?void 0:V.formConfJson)??"[]"))),pageSize:w.data.pageSize,modelIndicatorsId:w.data.id,modelId:w.data.modelId}});const S=w.data.echarts.find(k=>k.type==g);await u(S==null?void 0:S.code),y(S==null?void 0:S.code)})},f=m=>{const g=vue.unref(n),_=vue.unref(n).customSeriesData[m]??{};return((_==null?void 0:_.prefix)??"")+g.dataset.source.reduce((y,b)=>y+(b[m]?Number(b[m]):0),0).toFixed(_.toFixed??0)+(_.suffix??"")},p=(m,g)=>{let _=[];return g.forEach(y=>{_.push(y)}),_.push(...m),[...new Set(_)]},v=()=>{var g,_;const m=vue.unref(r);if((g=vue.unref(n))!=null&&g.dataShow&&(((_=vue.unref(n))==null?void 0:_.dataShow.deep)??"")===""&&(vue.unref(n).dataShow.deep=!0),m=="9"){n.value.tooltip.formatter=y=>{const b=n.value.custom;if(y&&y.data){const{name:x,data:C}=y.data;return`${x}: ${(b==null?void 0:b.prefix)??""}${Number(C).toFixed((b==null?void 0:b.toFixed)??0)}${(b==null?void 0:b.suffix)??""}`}},n.value.series[2].label.formatter=y=>{const b=n.value.custom,x=y.data.data;return x?`${(b==null?void 0:b.prefix)??""}${Number(x).toFixed((b==null?void 0:b.toFixed)??0)}${(b==null?void 0:b.suffix)??""}`:""};return}if(vue.unref(n).tooltip){const y=n.value.custom;n.value.tooltip.valueFormatter=b=>`${(y==null?void 0:y.prefix)??""}${Number(b).toFixed(y==null?void 0:y.toFixed)}${(y==null?void 0:y.suffix)??""}`}vue.unref(n).dataset.temp_source=JSON.parse(JSON.stringify(n.value.dataset.source))};return{option:n,varData:a,modelIndicatorsName:l,chartDataParams:o,chartType:r,setChartData:s,formatChart:u,getModelIndicatorsData:d,changeChartSeries:c,setSingleValue:f}}const _hoisted_1$1R={key:1,class:"flex items-center justify-center w-full h-full"},_sfc_main$2G=vue.defineComponent({__name:"render",props:{config:{default:()=>({})},list:{default:()=>[]},isLinkageQuery:{type:Boolean,default:!0},isCount:{type:Boolean,default:!0},isDesign:{type:Boolean,default:!1},renderId:{default:""},bigScreenQueryParams:{default:{}},bigScreenControlParams:{default:{}}},setup(__props){const props=__props,{proxy}=vue.getCurrentInstance(),design=useScreenDesign(),loading=vue.ref(!1);let isDefault=!0;const{dynamicSearchFormat,dynamicSearchParams}=proxy.$aceDynamicSearch(proxy),{option,formatChart,varData,chartDataParams,modelIndicatorsName}=useCustomChart(),init=(config={})=>{const linkageMap=config.linkageMap??{},formulaList=[];if(props.isLinkageQuery&&(props.list.forEach(i=>{var n,r,o,a,l,s;if(Array.isArray((n=i==null?void 0:i.customize)==null?void 0:n.linkage)){let u=(r=i==null?void 0:i.customize)==null?void 0:r.modelValue;if((((o=props.bigScreenControlParams)==null?void 0:o.ids)??[]).includes(i.id)&&isDefault&&(u=((a=props.bigScreenControlParams)==null?void 0:a.value)??"",i.customize.modelValue=u),config.linkageMap&&Object.keys(linkageMap).length){(l=i==null?void 0:i.customize)==null||l.linkage.forEach(c=>{const[d,f]=c;linkageMap[d]&&linkageMap[d][0]==f&&(i.customize.modelValue=linkageMap[d][1])});return}(((s=i==null?void 0:i.customize)==null?void 0:s.linkage)??[]).forEach(c=>{(u??"")!==""&&(linkageMap[c[0]]=[c[1],u])})}}),isDefault=!1),props.isCount&&props.list.forEach(i=>{var a,l;if(i.type!="number"&&!((l=(a=i==null?void 0:i.customize)==null?void 0:a.formula)!=null&&l.exp)||(i.customize.formulaCopy=JSON.parse(JSON.stringify(i.customize.formula)),!i.customize.formulaCopy))return;const n=i.customize.formulaCopy.identifier.split(","),r=/\{([^}]+)\}/g;let o=0;i.customize.formulaCopy.exp=i.customize.formulaCopy.exp.replace(r,(s,u)=>{const c=u.split(".");return c[0]=n[o],o+=1,c.join(".")}),i.customize.title=0,formulaList.push(i)}),props.config.modelType=="INDICATORS"){Promise.all([fetch$1(proxy).detailAndTask(props.config.indicatorsId),fetch$1(proxy).getEchartDetail({indicatorsId:props.config.indicatorsId})]).then(async i=>{var a,l;const n=dynamicSearchFormat(JSON.parse(((l=(a=i[0])==null?void 0:a.data)==null?void 0:l.formConfJson)??"[]"));handleSetParams(n,linkageMap);const r=i[1].data,o=await fetch$1(proxy).pullEchartsDataVO({indicatorsId:props.config.indicatorsId,loadType:(r==null?void 0:r.loadType)??3,params:dynamicSearchParams(n),targetClient:r.targetClient,echartsType:props.config.chartType});try{option.value=chartJsonFormat(o.data.config)}catch{option.value=o.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=>{var i;const sortArgsJson=JSON.parse(response.data.sortArgsJson??"{}"),sort=Object.keys(vue.unref(sortArgsJson)).map(n=>({field:n,type:sortArgsJson[n]=="ascending"?"asc":"desc"})),formData=dynamicSearchFormat(JSON.parse(((i=response.data)==null?void 0:i.formConfJson)??"[]"));handleSetParams(formData,linkageMap),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:dynamicSearchParams(formData),pageSize:response.data.pageSize,modelId:response.data.modelId}},design.tempChartData.value[props.config.id]={params:chartDataParams.value,customize:props.config.customize},design.setChartData(chartDataParams.value);const cfg=props.config.customize;cfg.id=props.config.id,await formatChart("",chartType,cfg),props.isCount&&formulaList.length&&formulaList.forEach(el=>{var n;Object.keys(vue.unref(varData)).forEach(r=>{el.customize.formulaCopy.exp.indexOf(r)>=0&&(el.customize.formulaCopy.exp=el.customize.formulaCopy.exp.replaceAll(r,varData.value[r]))}),/[\u4e00-\u9fa5]/.test((n=el.customize.formulaCopy)==null?void 0:n.exp)||(console.log(`计算公式:${el.customize.formulaCopy.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})}},handleSetParams=(i,n)=>{i.forEach(r=>{if(props.bigScreenQueryParams[props.config.indicatorsId]&&Object.keys(props.bigScreenQueryParams[props.config.indicatorsId]).includes(r.key)){const o=props.bigScreenQueryParams[props.config.indicatorsId][r.key];r.minValue=o,r.maxValue="",r.value=o}if(n[props.config.indicatorsId]){const[o,a]=n[props.config.indicatorsId];r.key==o&&(r.minValue=a,r.maxValue="",r.value=a)}})};vue.onMounted(()=>{init()}),proxy.$baseEventBus.on(`ace-screen-indicators-linkage-${props.renderId}`,i=>{i.includes(props.config.indicatorsId)&&!vue.unref(loading)&&init()}),proxy.$baseEventBus.on(`ace-screen-indicators-linkage-chart-${props.renderId}`,i=>{i[props.config.indicatorsId]&&!vue.unref(loading)&&init({linkageMap:i})});const widgetView=vue.computed(()=>moudleComponents$1[props.config.type]);return(i,n)=>{const r=vue.resolveComponent("AppEmpty"),o=vue.resolveComponent("AppTable"),a=vue.resolveComponent("aceChart"),l=vue.resolveComponent("aceCustomChart"),s=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$1R,[vue.createVNode(s,{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(r,{key:0,description:"暂无数据"})):vue.createCommentVNode("",!0),Array.isArray(vue.unref(option))&&vue.unref(option).length>0?(vue.openBlock(),vue.createBlock(o,{key:1,tableData:Object.keys(vue.unref(option)[0]).map(u=>({label:u,prop:u})),list:vue.unref(option),maxHeight:props.config.h-10+"px"},null,8,["tableData","list","maxHeight"])):vue.createCommentVNode("",!0)],64)):(vue.openBlock(),vue.createBlock(a,{key:2,type:props.config.chartType,options:vue.unref(option),loading:!1},null,8,["type","options"]))],64)):(vue.openBlock(),vue.createBlock(l,{key:1,renderId:i.renderId,option:vue.unref(option),chartType:props.config.chartType,maxHeight:props.config.h-10+"px",isBigScreen:"",indicatorsId:props.config.indicatorsId,isCheckClick:!props.isDesign},null,8,["renderId","option","chartType","maxHeight","indicatorsId","isCheckClick"]))],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,isDesign:i.isDesign,renderId:i.renderId,config:props.config},null,8,["list","isDesign","renderId","config"])):vue.createCommentVNode("",!0)],64))}}}),render_vue_vue_type_style_index_0_scoped_019e7363_lang="",Render=_export_sfc$2(_sfc_main$2G,[["__scopeId","data-v-019e7363"]]);class historyStack{constructor(){xt(this,"backStack");xt(this,"forwardStack");this.backStack=[],this.forwardStack=[]}pushRecord(n,r){const o={id:Array.isArray(n)?"":n.id??"",historyType:r,historyData:JSON.parse(JSON.stringify(n))};this.backStack.push(o),this.forwardStack=[]}backAction(){if(!this.backStack.length)return;const n=this.backStack.pop();return this.forwardStack.push(n),n}forwardAction(){if(!this.forwardStack.length)return;const n=this.forwardStack.pop();return this.backStack.push(n),n}}const _withScopeId$J=i=>(vue.pushScopeId("data-v-e36aa127"),i=i(),vue.popScopeId(),i),_hoisted_1$1Q={class:"relative w-full h-full"},_hoisted_2$1y=["id","onDblclick","onMousedown","onClick"],_hoisted_3$1j={key:0,class:"absolute flex items-center justify-center w-8 h-8 bg-blue-500 rounded-full -right-2 -top-2"},_hoisted_4$1f=_withScopeId$J(()=>vue.createElementVNode("i",{class:"text-base text-white ri-lock-line"},null,-1)),_hoisted_5$11=[_hoisted_4$1f],_hoisted_6$V={key:1,class:"absolute ml-4 text-xs tool left-full whitespace-nowrap"},_hoisted_7$M=["onClick"],_hoisted_8$F={key:1,class:"absolute w-full h-full z-[999]"},_sfc_main$2F=vue.defineComponent({__name:"main",setup(i){vue.useCssVars(q=>({85921774:vue.unref(B)}));const{proxy:n}=vue.getCurrentInstance(),{stageWidth:r,stageHeight:o,targetsWidget:a,widgetConfg:l,createLoading:s,widgetHoverIds:u,getScale:c,getTargetWidget:d,getWidgetList:f,getPasteWidget:p,setSketchRuleLine:v,clearSketchRuleLine:m,setTargetWidget:g,setWidgetList:_,delWidgetItem:y,copyWidgetItem:b,pasteWidgetItem:x,sortWidgetList:C,setRightPannel:w}=useScreenDesign(),E=document.body,$=vue.ref(null),S=useKeyModifier("Shift"),V=new historyStack,k=vue.computed(()=>vue.unref(a).length===1?getItemFromElement(vue.unref(a)[0]):null),P=[{label:"置于顶层",clickFunc:q=>{q.z=vue.unref(f).length;const Y=JSON.parse(JSON.stringify(vue.unref(l).list));vue.unref(l).list.filter(X=>X.id!=q.id).forEach((X,oe)=>{X.z=vue.unref(f).length-1-oe}),C(),vue.unref(l).list.forEach(X=>{const oe=Y.find(W=>W.id==X.id);oe&&(oe.beforeObj={...oe},oe.z=X.z)}),V.pushRecord(Y,"stack")}},{label:"置于底层",clickFunc:q=>{q.z=1;const Y=JSON.parse(JSON.stringify(vue.unref(l).list));vue.unref(l).list.filter(X=>X.id!=q.id).forEach((X,oe)=>{X.z=vue.unref(f).length-oe}),C(),vue.unref(l).list.forEach(X=>{const oe=Y.find(W=>W.id==X.id);oe&&(oe.beforeObj={...oe},oe.z=X.z)}),V.pushRecord(Y,"stack")}}],B=vue.computed(()=>.8/vue.unref(c)),T=()=>Array.prototype.slice.call(document.querySelectorAll(".drag-item"),0),N=(q,Y)=>{if(Array.isArray(q)){if(q.length===0){g([]);return}g(q.filter(oe=>oe.className.indexOf("locked")==-1).map(oe=>getItemFromElement(oe)));return}const X=getItemFromElement(q);!X||vue.unref(a).includes(X)||q.locked||(S.value===!0?g([...vue.unref(d).filter(oe=>oe.className.indexOf("locked")==-1),X]):g([X]),vue.nextTick(()=>{Y&&vue.nextTick(()=>{var oe;return(oe=vue.unref($))==null?void 0:oe.dragStart(Y)})}))};let O=[];const I=q=>{const Y=ee(vue.unref(k));Y!=null&&Y.locked&&q.stopDrag(),Y&&(O=JSON.parse(JSON.stringify(Y))),console.log("开始拖拽",q)},L=q=>{console.log("拖拽中",q),q.target.style.transform=q.transform;const[Y,X]=q.translate;v([Y],[X]);const oe=ee(vue.unref(k));oe&&(oe.x=Math.floor(q.translate[0]),oe.y=Math.floor(q.translate[1]))},D=q=>{console.log("拖拽结束",q);const Y=ee(vue.unref(k));if(!Y)return;const{x:X,y:oe,w:W,h:ne}=O;(Y.x!=X||Y.y!=oe||Y.w!=W||Y.h!=ne)&&V.pushRecord(JSON.parse(JSON.stringify({...Y,beforeObj:O})),"move"),m()},F=q=>{console.log("开始组拖拽",q),O=[],q.events.forEach(Y=>{const X=ee(Y.target);X&&O.push(JSON.parse(JSON.stringify(X)))})},M=q=>{console.log("组拖拽中",q),q.events.forEach(Y=>{Y.target.style.transform=Y.transform})},R=q=>{console.log("组拖拽完毕",q),q.events.forEach((Y,X)=>{const oe=ee(Y.target);!oe||!Y.lastEvent||(oe.x=Math.floor(Y.lastEvent.translate[0]),oe.y=Math.floor(Y.lastEvent.translate[1]),O[X]=JSON.parse(JSON.stringify({...oe,beforeObj:O[X]})))}),V.pushRecord(O,"groupMove"),m()},z=q=>{console.log("开始组修改大小",q),O=[],q.events.forEach(Y=>{const X=ee(Y.target);X&&O.push(JSON.parse(JSON.stringify(X)))})},U=q=>{console.log("组修改大小中",q),q.events.forEach(Y=>{Y.target.style.transform=Y.drag.transform,Y.target.style.width=`${Y.width}px`,Y.target.style.height=`${Y.height}px`;const X=ee(Y.target);X&&(X.x=Math.floor(Y.drag.translate[0]),X.y=Math.floor(Y.drag.translate[1]),X.w=Y.drag.width,X.h=Y.drag.height)})},G=q=>{console.log("修改大小结束",q),q.events.forEach((Y,X)=>{const oe=ee(Y.target);oe&&(O[X]=JSON.parse(JSON.stringify({...oe,beforeObj:O[X]})))}),V.pushRecord(O,"groupSize"),m()},J=q=>{const Y=ee(vue.unref(k));Y!=null&&Y.locked&&q.stopDrag(),O=JSON.parse(JSON.stringify(Y)),console.log("开始改变大小",q)},te=q=>{console.log("改变中",q),q.target.style.transform=q.drag.transform,q.target.style.width=`${q.width}px`,q.target.style.height=`${q.height}px`;const Y=ee(q.target);if(!Y)return;Y.x=Math.floor(q.drag.translate[0]),Y.y=Math.floor(q.drag.translate[1]),Y.w=q.drag.width,Y.h=q.drag.height;const[X,oe]=q.drag.translate;v([X],[oe])};function ae(q){console.log("改变结束",q);const Y=ee(vue.unref(k));if(!Y)return;const{x:X,y:oe,w:W,h:ne}=O;(Y.x!=X||Y.y!=oe||Y.w!=W||Y.h!=ne)&&V.pushRecord(JSON.parse(JSON.stringify({...Y,beforeObj:O})),"size"),m()}const j=vue.ref(!1);n.$baseEventBus.on("drag-start",()=>{j.value=!0}),n.$baseEventBus.on("drag-end",()=>{j.value=!1}),n.$baseEventBus.on("clear-stage",()=>{console.log("清空画布"),_([]),g([]),m()}),n.$baseEventBus.on("update-rect",()=>{var q,Y;console.log("更新画布"),(q=$.value)==null||q.updateTarget(),(Y=$.value)==null||Y.updateRect()}),n.$baseEventBus.on("change-align",q=>{vue.nextTick(()=>{var W;console.log("修改居中方式");const Y=[];if(!vue.unref(a).length)return;const X=$.value.getRect(),oe=$.value.getMoveables();if((oe==null?void 0:oe.length)<=1){const ne={};q=="left"&&(ne.x=0),q=="right"&&(ne.x=vue.unref(r)-X.width),q=="top"&&(ne.y=0),q=="bottom"&&(ne.y=vue.unref(o)-X.height),q=="middle"&&(ne.y=vue.unref(o)/2-X.height/2),q=="center"&&(ne.x=vue.unref(r)/2-X.width/2),oe[0].request("draggable",ne,!0);const H=ee(oe[0].props.target);if(!H)return;const Q=JSON.parse(JSON.stringify(H));Object.keys(ne).forEach(re=>{H[re]=ne[re]}),Y.push(JSON.parse(JSON.stringify({...H,beforeObj:Q})))}else switch(q){case"left":case"right":case"top":case"bottom":case"middle":case"center":{const ne=Math.max.apply(Math,X.children.map(Q=>Q.top+Q.height)),H=Math.max.apply(Math,X.children.map(Q=>Q.left+Q.width));oe.forEach((Q,re)=>{const ie={};q=="left"&&(ie.x=X.left),q=="right"&&(ie.x=H-X.children[re].width),q=="top"&&(ie.y=X.top),q=="bottom"&&(ie.y=ne-X.children[re].height),q=="middle"&&(ie.y=X.top+X.height/2-X.children[re].height/2),q=="center"&&(ie.x=X.left+X.width/2-X.children[re].width/2),Q.request("draggable",ie,!0);const ue=ee(Q.props.target);if(!ue)return;const ce=JSON.parse(JSON.stringify(ue));Object.keys(ie).forEach(fe=>{ue[fe]=ie[fe]}),Y.push(JSON.parse(JSON.stringify({...ue,beforeObj:ce})))}),m()}break;case"verticalAround":case"levelAround":{const ne=q=="verticalAround"?"top":"left",H=q=="verticalAround"?"height":"width";let Q=X[ne];const re=(X[H]-X.children.reduce((ie,ue)=>ie+ue[H],0))/(oe.length-1);oe.sort((ie,ue)=>ie.state[ne]-ue.state[ne]),oe.forEach(ie=>{const ue=ie.getRect(),ce={};ne=="top"&&(ce.y=Q),ne=="left"&&(ce.x=Q),ie.request("draggable",ce,!0);const fe=ee(ie.props.target);if(!fe)return;const ve=JSON.parse(JSON.stringify(fe));Object.keys(ce).forEach(de=>{fe[de]=ce[de]}),Y.push(JSON.parse(JSON.stringify({...fe,beforeObj:ve}))),Q+=ue[H]+re}),m()}break}V.pushRecord(Y,"groupAlign"),(W=$.value)==null||W.updateRect()})});const ee=q=>vue.unref(f).find(Y=>Y.id==(q==null?void 0:q.id)),le=q=>{q.preventDefault(),q.stopPropagation();const Y=q.dataTransfer.getData("dragComponent");if(Y){let X=JSON.parse(Y);X.chartId&&(X.customize=chartJsonFormat(X.customize));const{w:oe,h:W}=X;let ne=q.offsetX-oe/2,H=q.offsetY-W/2;ne<=0?ne=0:ne+oe>=vue.unref(r)&&(ne=vue.unref(r)-oe),H<=0?H=0:H+W>=vue.unref(o)&&(H=vue.unref(o)-W),_([{...X,x:ne,y:H,z:vue.unref(f).length+1},...vue.unref(f)]),V.pushRecord(vue.unref(f)[0],"create")}},se=vue.ref([]),Z=()=>{const q=(X,oe)=>{const W=onKeyStroke(X,ne=>{document.activeElement&&["INPUT"].includes(document.activeElement.tagName)||(ne.preventDefault(),ne.stopPropagation(),oe(ne))},{eventName:"keydown"});se.value.push(W)},Y=X=>navigator.userAgent.toLowerCase().includes("macintosh")?X.metaKey:X.ctrlKey;q(["Backspace","Delete"],X=>{if(console.log("删除触发",X),!vue.unref(a).length)return;const oe=vue.unref(d).map(ne=>ne.id),W=vue.unref(f).filter(ne=>oe.includes(ne.id));V.pushRecord(JSON.parse(JSON.stringify(W)),"delete"),y(vue.unref(d).map(ne=>ne.id))}),q(["z"],X=>{if(console.log("撤销/前进",X),Y(X)){const oe=X.shiftKey?V.forwardAction():V.backAction();if(!oe)return;console.log(X.shiftKey,oe.historyType,oe.historyData);const{historyType:W,historyData:ne}=oe;if(W=="create"){X.shiftKey?_([ne,...vue.unref(f)]):y([ne.id]);return}if(W=="delete"){X.shiftKey?y(ne.map(H=>H.id)):_([...JSON.parse(JSON.stringify(ne)),...vue.unref(f)]);return}(Array.isArray(ne)?ne:[ne]).forEach(H=>{const Q=vue.unref(f).find(re=>re.id==H.id);Q&&(X.shiftKey?(Q.x=H.x,Q.y=H.y,Q.z=H.z,Q.w=H.w,Q.h=H.h):(Q.x=H.beforeObj.x,Q.y=H.beforeObj.y,Q.z=H.beforeObj.z,Q.w=H.beforeObj.w,Q.h=H.beforeObj.h))}),C(),vue.nextTick(()=>{var H;(H=$.value)==null||H.updateRect()})}}),q(["ArrowLeft","ArrowRight","ArrowDown","ArrowUp"],X=>{if(!vue.unref(a).length)return;console.log("触发移动",X);let oe=0,W=0;X.key=="ArrowLeft"&&(oe=-2),X.key=="ArrowRight"&&(oe=2),X.key=="ArrowUp"&&(W=-2),X.key=="ArrowDown"&&(W=2),X.shiftKey&&(oe*=10,W*=10),vue.nextTick(()=>{const ne=$.value.getMoveables(),H=[];ne.forEach(Q=>{const re=ee(Q.props.target);!re||re.locked||(H.push(JSON.parse(JSON.stringify(re))),re.x+oe<0?re.x=0:re.x+oe>vue.unref(r)-re.w?re.x=vue.unref(r)-re.w:re.x+=oe,re.y+W<0?re.y=0:re.y+W>vue.unref(o)-re.h?re.y=vue.unref(o)-re.h:re.y+=W)}),vue.nextTick(()=>{var Q;(Q=$.value)==null||Q.updateRect(),V.pushRecord(H,"groupMove")})})}),q(["c"],X=>{console.log("复制",X),Y(X)&&vue.unref(d).length&&b(vue.unref(d).map(oe=>oe.id))}),q(["v"],X=>{console.log("粘贴",X),Y(X)&&vue.unref(p).length&&(x(),V.pushRecord(vue.unref(l).list[0],"create"))})},K=vue.ref(null);return vue.nextTick(()=>{Z(),K.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(K).on("dragStart",q=>{w(!1),console.log("开始全选拖拽",q)}),vue.unref(K).on("dragEnd",q=>{console.log("全选拖拽结束",q)}),vue.unref(K).on("select",q=>{console.log("选中结果",q),q.added.forEach(Y=>{Y.className.indexOf("loccked")||Y.classList.add("selected")}),q.removed.forEach(Y=>{Y.classList.remove("selected")}),N(q.selected)}),vue.unref(K).on("selectEnd",q=>{console.log("选中结束",q),N(q.selected)})}),vue.onBeforeUnmount(()=>{se.value.forEach(q=>q()),vue.unref(K)&&vue.unref(K).destroy()}),(q,Y)=>(vue.openBlock(),vue.createBlock(SketchRule,null,{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1Q,[vue.unref(j)?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"absolute w-full h-full z-[9999]",onDrop:Y[0]||(Y[0]=X=>le(X)),onDragover:Y[1]||(Y[1]=vue.withModifiers(()=>{},["prevent"]))},null,32)):vue.createCommentVNode("",!0),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(f),X=>{var oe,W;return vue.openBlock(),vue.createElementBlock("div",{key:X.id,class:vue.normalizeClass(["absolute",{"drag-item":!0,locked:X.locked,selected:vue.unref(u).includes(X.id),active:((oe=vue.unref(k))==null?void 0:oe.id)==X.id}]),id:X.id,style:vue.normalizeStyle(vue.unref(getItemStyle)(X)),onDblclick:vue.withModifiers(ne=>X.locked=!X.locked,["stop"]),onMousedown:ne=>N(X,ne),onClick:vue.withModifiers(ne=>N(X,ne),["stop"])},[vue.unref(s)?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[X.locked?(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$1j,_hoisted_5$11)):vue.createCommentVNode("",!0),((W=vue.unref(k))==null?void 0:W.id)==X.id&&!X.locked?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$V,[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(P,ne=>vue.createElementVNode("div",{key:X.label,onClick:vue.withModifiers(H=>ne.clickFunc(X),["stop"]),onDblclick:Y[2]||(Y[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(ne.label),41,_hoisted_7$M)),64))])):vue.createCommentVNode("",!0)],64)),["iframe","select"].includes(X.type)?(vue.openBlock(),vue.createElementBlock("div",_hoisted_8$F)):vue.createCommentVNode("",!0),vue.createVNode(Render,{config:X,list:vue.unref(f),isLinkageQuery:!1,isCount:!1,isDesign:!0},null,8,["config","list"])],46,_hoisted_2$1y)}),128)),vue.createVNode(vue.unref(Moveable),{rootContainer:vue.unref(E),ref_key:"moveableRef",ref:$,origin:!1,stopPropagation:!0,target:vue.unref(a),draggable:!0,resizable:!0,scalable:!1,snappable:!0,maxSnapElementGuidelineDistance:100,maxSnapElementGapDistance:100,isDisplayInnerSnapDigit:!0,snapDirections:!0,elementSnapDirections:!0,elementGuidelines:T(),bounds:{left:0,top:0,bottom:0,right:0,position:"css"},onDragStart:I,onDrag:L,onDragEnd:D,onResizeStart:J,onResize:te,onResizeEnd:ae,onDragGroupStart:F,onDragGroup:M,onDragGroupEnd:R,onResizeGroupStart:z,onResizeGroup:U,onResizeGroupEnd:G},null,8,["rootContainer","target","elementGuidelines"])])]),_:1}))}}),main_vue_vue_type_style_index_0_scoped_e36aa127_lang="",Main=_export_sfc$2(_sfc_main$2F,[["__scopeId","data-v-e36aa127"]]),_sfc_main$2E=vue.defineComponent({__name:"colorPicker",props:{modelValue:{default:""},showInput:{type:Boolean,default:!0}},emits:["update:modelValue"],setup(i,{emit:n}){const r=i,{proxy:o}=vue.getCurrentInstance(),a=o.$globalPreColor,l=vue.ref(r.modelValue=="transparent"?"":r.modelValue),s=n;return vue.watch(l,u=>{s("update:modelValue",u||"transparent")}),(u,c)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[u.showInput?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElInput),{key:0,value:vue.unref(l),class:"mr-1",style:{width:"80%"}},null,8,["value"])):vue.createCommentVNode("",!0),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{modelValue:vue.unref(l),"onUpdate:modelValue":c[0]||(c[0]=d=>vue.isRef(l)?l.value=d:null),predefine:vue.unref(a),"show-alpha":""},null,8,["modelValue","predefine"])],64))}}),_hoisted_1$1P={class:"flex items-center h-10 p-2"},_hoisted_2$1x=vue.createElementVNode("span",{class:"w-1 h-4 mr-2",style:{background:"var(--el-color-primary)"}},null,-1),_sfc_main$2D=vue.defineComponent({__name:"group",props:{title:{default:"标题"}},setup(i){return(n,r)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createElementVNode("div",_hoisted_1$1P,[_hoisted_2$1x,vue.createTextVNode(" "+vue.toDisplayString(n.title),1)]),vue.renderSlot(n.$slots,"default")],64))}}),_withScopeId$I=i=>(vue.pushScopeId("data-v-cc7fabb8"),i=i(),vue.popScopeId(),i),_hoisted_1$1O={class:"flex items-center"},_hoisted_2$1w=_withScopeId$I(()=>vue.createElementVNode("span",{class:"ml-1 mr-1"},"-",-1)),_hoisted_3$1i=["src"],_hoisted_4$1e={key:1,class:"pt-4 pb-4"},_hoisted_5$10=_withScopeId$I(()=>vue.createElementVNode("p",{class:"mb-5"},"拖拽文件上传图片",-1)),_hoisted_6$U=_withScopeId$I(()=>vue.createElementVNode("i",{class:"text-6xl ri-image-add-line"},null,-1)),_hoisted_7$L=[_hoisted_5$10,_hoisted_6$U],_sfc_main$2C=vue.defineComponent({__name:"stageSetting",setup(i){const{stageWidth:n,setStageWidth:r,stageHeight:o,setStageHeight:a,widgetConfg:l}=useScreenDesign(),{proxy:s}=vue.getCurrentInstance(),{resetUrl:u}=s.$globalUtils,c=[{label:"平铺",value:"repeat"},{label:"平铺X",value:"repeat-x"},{label:"平铺Y",value:"repeat-y"},{label:"不平铺",value:"no-repeat"}],d=[{label:"拉伸",value:"cover"},{label:"自适应",value:"contain"}],f=[{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"}],p=async v=>{const m=new FormData;m.append("file",v.file);const g=await s.$baseHttp.post("/api/ace-api/blade-resource/oss/endpoint/put-file",m,{headers:{"Content-Type":"multipart/form-data",loading:!0}});g&&(vue.unref(l).config.backgroundImage=g.data.link)};return(v,m)=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElForm),{"label-position":"left",size:"small","label-width":"100px"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2D,{title:"整体布局"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"尺寸"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1O,[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{"model-value":vue.unref(n),onChange:vue.unref(r),size:"small",min:0,"value-on-clear":1920},null,8,["model-value","onChange"]),_hoisted_2$1w,vue.createVNode(vue.unref(elementPlus.ElInputNumber),{"model-value":vue.unref(o),onChange:vue.unref(a),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":p,"show-file-list":!1,accept:"image/*"},{default:vue.withCtx(()=>[vue.unref(l).config.backgroundImage?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createElementVNode("img",{class:"object-contain max-h-40",src:vue.unref(u)(vue.unref(l).config.backgroundImage)},null,8,_hoisted_3$1i),vue.createElementVNode("i",{class:"absolute text-xl ri-close-circle-line right-4 top-4",onClick:m[0]||(m[0]=vue.withModifiers(g=>vue.unref(l).config.backgroundImage=null,["stop"]))})],64)):(vue.openBlock(),vue.createElementBlock("div",_hoisted_4$1e,_hoisted_7$L))]),_:1})]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(l).config.backgroundColor,"onUpdate:modelValue":m[1]||(m[1]=g=>vue.unref(l).config.backgroundColor=g)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景平铺"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(l).config.backgroundRepeat,"onUpdate:modelValue":m[2]||(m[2]=g=>vue.unref(l).config.backgroundRepeat=g),size:"small","popper-class":"ace-select",style:{width:"100%"},placeholder:"请选择",clearable:""},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(c,g=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:g.value,label:g.label,value:g.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(l).config.backgroundSize,"onUpdate:modelValue":m[3]||(m[3]=g=>vue.unref(l).config.backgroundSize=g),size:"small","popper-class":"ace-select",style:{width:"100%"},placeholder:"请选择",clearable:""},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(d,g=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:g.value,label:g.label,value:g.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(l).config.backgroundPosition,"onUpdate:modelValue":m[4]||(m[4]=g=>vue.unref(l).config.backgroundPosition=g),size:"small","popper-class":"ace-select",style:{width:"100%"},placeholder:"请选择",clearable:""},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(f,g=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:g.value,label:g.label,value:g.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}))}}),stageSetting_vue_vue_type_style_index_0_scoped_cc7fabb8_lang="",stagetSetting=_export_sfc$2(_sfc_main$2C,[["__scopeId","data-v-cc7fabb8"]]),_sfc_main$2B=vue.defineComponent({__name:"decorationSetting",setup(i){const n=vue.inject("widgetConfig");return(r,o)=>vue.unref(n)?(vue.openBlock(),vue.createBlock(_sfc_main$2D,{key:0,title:"基础"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"主颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(n).customize.decorationColor1,"onUpdate:modelValue":o[0]||(o[0]=a=>vue.unref(n).customize.decorationColor1=a)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"副颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(n).customize.decorationColor2,"onUpdate:modelValue":o[1]||(o[1]=a=>vue.unref(n).customize.decorationColor2=a)},null,8,["modelValue"])]),_:1}),Object.keys(vue.unref(n).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(n).customize.reverse,"onUpdate:modelValue":o[2]||(o[2]=a=>vue.unref(n).customize.reverse=a)},null,8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),Object.keys(vue.unref(n).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(n).customize.duration,"onUpdate:modelValue":o[3]||(o[3]=a=>vue.unref(n).customize.duration=a)},null,8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0)]),_:1})):vue.createCommentVNode("",!0)}}),_sfc_main$2A=vue.defineComponent({__name:"setting",setup(i){const{proxy:n}=vue.getCurrentInstance(),r=vue.inject("widgetConfig");return(o,a)=>vue.unref(r)?(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$2D,{title:"标题"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"标题"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(r).name,"onUpdate:modelValue":a[0]||(a[0]=l=>vue.unref(r).name=l)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$2D,{title:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(r).w,"onUpdate:modelValue":a[1]||(a[1]=l=>vue.unref(r).w=l),onBlur:a[2]||(a[2]=l=>vue.unref(n).$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(r).h,"onUpdate:modelValue":a[3]||(a[3]=l=>vue.unref(r).h=l),onBlur:a[4]||(a[4]=l=>vue.unref(n).$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(r).x,"onUpdate:modelValue":a[5]||(a[5]=l=>vue.unref(r).x=l),onBlur:a[6]||(a[6]=l=>vue.unref(n).$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(r).y,"onUpdate:modelValue":a[7]||(a[7]=l=>vue.unref(r).y=l),onBlur:a[8]||(a[8]=l=>vue.unref(n).$baseEventBus.emit("update-rect"))},null,8,["modelValue"])]),_:1})]),_:1}),vue.renderSlot(o.$slots,"default")]),_:3})):vue.createCommentVNode("",!0)}}),_sfc_main$2z=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2B)]),_:1}))}}),__vite_glob_0_0=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2z},Symbol.toStringTag,{value:"Module"})),_sfc_main$2y=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2B)]),_:1}))}}),__vite_glob_0_1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2y},Symbol.toStringTag,{value:"Module"})),_sfc_main$2x=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2B)]),_:1}))}}),__vite_glob_0_2=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2x},Symbol.toStringTag,{value:"Module"})),_sfc_main$2w=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2B)]),_:1}))}}),__vite_glob_0_3=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2w},Symbol.toStringTag,{value:"Module"})),_sfc_main$2v=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2B)]),_:1}))}}),__vite_glob_0_4=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2v},Symbol.toStringTag,{value:"Module"})),_sfc_main$2u=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2B)]),_:1}))}}),__vite_glob_0_5=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2u},Symbol.toStringTag,{value:"Module"})),_sfc_main$2t=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2B)]),_:1}))}}),__vite_glob_0_6=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2t},Symbol.toStringTag,{value:"Module"})),_sfc_main$2s=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2B)]),_:1}))}}),__vite_glob_0_7=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2s},Symbol.toStringTag,{value:"Module"})),_sfc_main$2r=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2B)]),_:1}))}}),__vite_glob_0_8=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2r},Symbol.toStringTag,{value:"Module"})),_sfc_main$2q=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2B)]),_:1}))}}),__vite_glob_0_9=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2q},Symbol.toStringTag,{value:"Module"})),_sfc_main$2p=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2B)]),_:1}))}}),__vite_glob_0_10=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2p},Symbol.toStringTag,{value:"Module"})),_sfc_main$2o=vue.defineComponent({__name:"borderSetting",setup(i){const n=vue.inject("widgetConfig");return(r,o)=>vue.unref(n)?(vue.openBlock(),vue.createBlock(_sfc_main$2D,{key:0,title:"基础"},{default:vue.withCtx(()=>[Object.keys(vue.unref(n).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(n).customize.title,"onUpdate:modelValue":o[0]||(o[0]=a=>vue.unref(n).customize.title=a)},null,8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),Object.keys(vue.unref(n).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(n).customize.titleWidth,"onUpdate:modelValue":o[1]||(o[1]=a=>vue.unref(n).customize.titleWidth=a)},null,8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"边框主颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(n).customize.borderMainColor,"onUpdate:modelValue":o[2]||(o[2]=a=>vue.unref(n).customize.borderMainColor=a)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"边框副颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(n).customize.borderSecondaryColor,"onUpdate:modelValue":o[3]||(o[3]=a=>vue.unref(n).customize.borderSecondaryColor=a)},null,8,["modelValue"])]),_:1}),Object.keys(vue.unref(n).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(n).customize.reverse,"onUpdate:modelValue":o[4]||(o[4]=a=>vue.unref(n).customize.reverse=a)},null,8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),Object.keys(vue.unref(n).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(n).customize.duration,"onUpdate:modelValue":o[5]||(o[5]=a=>vue.unref(n).customize.duration=a)},null,8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(n).customize.backgroundColor,"onUpdate:modelValue":o[6]||(o[6]=a=>vue.unref(n).customize.backgroundColor=a)},null,8,["modelValue"])]),_:1})]),_:1})):vue.createCommentVNode("",!0)}}),_sfc_main$2n=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o)]),_:1}))}}),__vite_glob_1_0=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2n},Symbol.toStringTag,{value:"Module"})),_sfc_main$2m=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o)]),_:1}))}}),__vite_glob_1_1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2m},Symbol.toStringTag,{value:"Module"})),_sfc_main$2l=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o)]),_:1}))}}),__vite_glob_1_2=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2l},Symbol.toStringTag,{value:"Module"})),_sfc_main$2k=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o)]),_:1}))}}),__vite_glob_1_3=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2k},Symbol.toStringTag,{value:"Module"})),_sfc_main$2j=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o)]),_:1}))}}),__vite_glob_1_4=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2j},Symbol.toStringTag,{value:"Module"})),_sfc_main$2i=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o)]),_:1}))}}),__vite_glob_1_5=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2i},Symbol.toStringTag,{value:"Module"})),_sfc_main$2h=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o)]),_:1}))}}),__vite_glob_1_6=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2h},Symbol.toStringTag,{value:"Module"})),_sfc_main$2g=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o)]),_:1}))}}),__vite_glob_1_7=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2g},Symbol.toStringTag,{value:"Module"})),_sfc_main$2f=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o)]),_:1}))}}),__vite_glob_1_8=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2f},Symbol.toStringTag,{value:"Module"})),_sfc_main$2e=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o)]),_:1}))}}),__vite_glob_1_9=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2e},Symbol.toStringTag,{value:"Module"})),_sfc_main$2d=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o)]),_:1}))}}),__vite_glob_1_10=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2d},Symbol.toStringTag,{value:"Module"})),_sfc_main$2c=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o)]),_:1}))}}),__vite_glob_1_11=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2c},Symbol.toStringTag,{value:"Module"})),_sfc_main$2b=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o)]),_:1}))}}),__vite_glob_1_12=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2b},Symbol.toStringTag,{value:"Module"})),_sfc_main$2a=vue.defineComponent({__name:"setting",setup(i){const n=vue.inject("widgetConfig");return(r,o)=>vue.unref(n)?(vue.openBlock(),vue.createBlock(_sfc_main$2A,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2D,{title:"基础"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadioGroup),{modelValue:vue.unref(n).customize.borderType,"onUpdate:modelValue":o[0]||(o[0]=a=>vue.unref(n).customize.borderType=a)},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"solid",label:"solid"},{default:vue.withCtx(()=>[vue.createTextVNode("实线")]),_:1}),vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"dashed",label:"dashed"},{default:vue.withCtx(()=>[vue.createTextVNode("虚线")]),_:1})]),_:1},8,["modelValue"])]),_:1}),vue.unref(n).customize.borderType=="dashed"?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElFormItem),{key:0,label:"间距"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(n).customize.borderGap,"onUpdate:modelValue":o[1]||(o[1]=a=>vue.unref(n).customize.borderGap=a)},null,8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景色一"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(n).customize.gradientColor0,"onUpdate:modelValue":o[2]||(o[2]=a=>vue.unref(n).customize.gradientColor0=a)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景色二"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(n).customize.gradientColor1,"onUpdate:modelValue":o[3]||(o[3]=a=>vue.unref(n).customize.gradientColor1=a)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(n).customize.width,"onUpdate:modelValue":o[4]||(o[4]=a=>vue.unref(n).customize.width=a)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0)}}),__vite_glob_2_0=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2a},Symbol.toStringTag,{value:"Module"})),_sfc_main$29=vue.defineComponent({__name:"setting",setup(i){const n=vue.inject("widgetConfig");return(r,o)=>vue.unref(n)?(vue.openBlock(),vue.createBlock(_sfc_main$2A,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2D,{title:"地址配置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"地址"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(n).customize.url,"onUpdate:modelValue":o[0]||(o[0]=a=>vue.unref(n).customize.url=a)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0)}}),__vite_glob_2_1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$29},Symbol.toStringTag,{value:"Module"})),_withScopeId$H=i=>(vue.pushScopeId("data-v-9a22a856"),i=i(),vue.popScopeId(),i),_hoisted_1$1N={class:"p-3"},_hoisted_2$1v=["src"],_hoisted_3$1h={key:1,class:"pt-4 pb-4"},_hoisted_4$1d=_withScopeId$H(()=>vue.createElementVNode("p",{class:"mb-5"},"拖拽文件上传图片",-1)),_hoisted_5$$=_withScopeId$H(()=>vue.createElementVNode("i",{class:"text-6xl ri-image-add-line"},null,-1)),_hoisted_6$T=[_hoisted_4$1d,_hoisted_5$$],_sfc_main$28=vue.defineComponent({__name:"setting",setup(i){const n=[{label:"压缩",value:"fill"},{label:"填充",value:"cover"},{label:"自适应",value:"contain"},{label:"原始大小",value:"none"},{label:"展示最小",value:"scale-down"}],{proxy:r}=vue.getCurrentInstance(),{resetUrl:o}=r.$globalUtils,a=vue.inject("widgetConfig"),l=async s=>{const u=new FormData;u.append("file",s.file);const c=await r.$baseHttp.post("/api/ace-api/blade-resource/oss/endpoint/put-file",u,{headers:{"Content-Type":"multipart/form-data",loading:!0}});c&&(a.value.customize.url=c.data.link)};return(s,u)=>vue.unref(a)?(vue.openBlock(),vue.createBlock(_sfc_main$2A,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2D,{title:"图片配置"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1N,[vue.createVNode(vue.unref(elementPlus.ElUpload),{drag:"",limit:1,"http-request":l,"show-file-list":!1,accept:"image/*"},{default:vue.withCtx(()=>[vue.unref(a).customize.url?(vue.openBlock(),vue.createElementBlock("img",{key:0,class:"max-h-40",src:vue.unref(o)(vue.unref(a).customize.url)},null,8,_hoisted_2$1v)):(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$1h,_hoisted_6$T))]),_:1})]),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"地址"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(a).customize.url,"onUpdate:modelValue":u[0]||(u[0]=c=>vue.unref(a).customize.url=c)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"展示方式"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(a).customize.fit,"onUpdate:modelValue":u[1]||(u[1]=c=>vue.unref(a).customize.fit=c),"popper-class":"ace-select"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(n,c=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:c.value,label:c.label,value:c.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0)}}),setting_vue_vue_type_style_index_0_scoped_9a22a856_lang="",setting$1=_export_sfc$2(_sfc_main$28,[["__scopeId","data-v-9a22a856"]]),__vite_glob_2_2=Object.freeze(Object.defineProperty({__proto__:null,default:setting$1},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$1M=vue.createElementVNode("i",{class:"ml-2 mr-2 ri-arrow-right-fill"},null,-1),_hoisted_2$1u=vue.createElementVNode("i",{class:"ml-2 mr-2 ri-arrow-right-fill"},null,-1),_sfc_main$27=vue.defineComponent({__name:"text",setup(i){const n=[{label:"靠左",value:"left"},{label:"居中",value:"center"},{label:"靠右",value:"right"}],r=vue.inject("widgetConfig");return(o,a)=>vue.unref(r)?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(_sfc_main$2D,{title:"文本"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"文本"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(r).customize.title,"onUpdate:modelValue":a[0]||(a[0]=l=>vue.unref(r).customize.title=l)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(r).customize.fontSize,"onUpdate:modelValue":a[1]||(a[1]=l=>vue.unref(r).customize.fontSize=l)},{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(r).customize.fontWeight,"onUpdate:modelValue":a[2]||(a[2]=l=>vue.unref(r).customize.fontWeight=l)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"文字间距"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(r).customize.letterSpacing,"onUpdate:modelValue":a[3]||(a[3]=l=>vue.unref(r).customize.letterSpacing=l)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"文字对齐方式"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(r).customize.textAlign,"onUpdate:modelValue":a[4]||(a[4]=l=>vue.unref(r).customize.textAlign=l),"popper-class":"ace-select"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(n,l=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:l.value,label:l.label,value:l.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(r).customize.colorPosition,"onUpdate:modelValue":a[5]||(a[5]=l=>vue.unref(r).customize.colorPosition=l)},{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$2E,{modelValue:vue.unref(r).customize.startColor,"onUpdate:modelValue":a[6]||(a[6]=l=>vue.unref(r).customize.startColor=l),showInput:!1},null,8,["modelValue"]),_hoisted_1$1M,vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(r).customize.endColor,"onUpdate:modelValue":a[7]||(a[7]=l=>vue.unref(r).customize.endColor=l),showInput:!1},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$2D,{title:"文本背景"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"圆角尺寸"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(r).customize.borderRadius,"onUpdate:modelValue":a[8]||(a[8]=l=>vue.unref(r).customize.borderRadius=l)},{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(r).customize.borderWidth,"onUpdate:modelValue":a[9]||(a[9]=l=>vue.unref(r).customize.borderWidth=l)},{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.ElSelect),{"popper-class":"ace-select",modelValue:vue.unref(r).customize.borderStyle,"onUpdate:modelValue":a[10]||(a[10]=l=>vue.unref(r).customize.borderStyle=l),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).lineStyle,l=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:l.value,label:l.label,value:l.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"边框颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(r).customize.borderColor,"onUpdate:modelValue":a[11]||(a[11]=l=>vue.unref(r).customize.borderColor=l)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景渐变方向"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadioGroup),{modelValue:vue.unref(r).customize.bgColorPosition,"onUpdate:modelValue":a[12]||(a[12]=l=>vue.unref(r).customize.bgColorPosition=l)},{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$2E,{modelValue:vue.unref(r).customize.startBgColor,"onUpdate:modelValue":a[13]||(a[13]=l=>vue.unref(r).customize.startBgColor=l),showInput:!1},null,8,["modelValue"]),_hoisted_2$1u,vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(r).customize.endBgColor,"onUpdate:modelValue":a[14]||(a[14]=l=>vue.unref(r).customize.endBgColor=l),showInput:!1},null,8,["modelValue"])]),_:1})]),_:1})],64)):vue.createCommentVNode("",!0)}}),_withScopeId$G=i=>(vue.pushScopeId("data-v-33b54b9d"),i=i(),vue.popScopeId(),i),_hoisted_1$1L={class:"selection el-popper is-light el-popover"},_hoisted_2$1t=_withScopeId$G(()=>vue.createElementVNode("span",{class:"el-popper__arrow","data-popper-arrow":""},null,-1)),validKeys$1="0123456789+-*/@.()",_sfc_main$26=vue.defineComponent({__name:"exp",setup(i){const{getCountMap:n}=useScreenDesign(),r=vue.inject("widgetConfig"),o=vue.ref(null),a=vue.ref(""),l=vue.computed(()=>{const $=[];return Object.keys(vue.unref(n)).forEach(S=>{const V=vue.unref(n)[S],k=[];Object.keys(V.var).forEach(P=>{const B=P.replace(S,V.title);k.push({label:B.replace(`${V.title}.`,""),value:`${B}||${S}`})}),$.push({label:V.title,value:S,children:k})}),$}),s=$=>{const{key:S}=$;switch(S){case"Enter":$.preventDefault();break;case"@":case"Process":f();break}};let u=null;const c=()=>{const $=vue.unref(o).innerHTML;let S=b($.replace(/<br>/g,""));S=S.map(k=>C(k)?x(k):k.data.split("").filter(P=>validKeys$1.includes(P)).join(""));const V=S.join("");if($!==V){const k=w($,V);vue.unref(o).innerHTML=V,E(vue.unref(o),k)}clearTimeout(u),u=setTimeout(async()=>{g()},500)},d=vue.ref(!1),f=()=>{a.value="",d.value=!0},p=$=>{d.value=!1;const[S,V]=$.split("||"),k=`<div contenteditable="false">${S}<span>${V}</span></div>`;m("@",k)};(()=>{var $;if(($=vue.unref(r).customize.formula)!=null&&$.exp){const S=vue.unref(r).customize.formula;let V=S.exp??"";const k=S.identifier.split(","),P=/\{([^}]+)\}/g;let B=-1;V=V.replace(P,(T,N)=>(B+=1,`<div contenteditable="false">${N}<span>${k[B]}</span></div>`)),vue.nextTick(()=>{vue.unref(o).innerHTML=V.replace(/@/g,""),setTimeout(()=>{g()},100)})}})();const m=($,S="")=>{if(!vue.unref(o))return;let V=vue.unref(o).innerHTML;V.includes($)&&(V=V.replace(new RegExp($,"g"),S),vue.unref(o).innerHTML=V),g()},g=()=>{let $="";const S=[],V=vue.unref(o).innerHTML.replace(/\sdata-spm-anchor-id=".*?"/g,"");y({text:V,prefix:'<div contenteditable="false">',suffix:"</div>"}).forEach(P=>{const[B,T]=y({text:P,prefix:"<span>",suffix:"</span>"});T?($+=`{${B}}`,S.push(T)):$+=B}),r.value.customize.formula={exp:$,identifier:S.toString()}},_=$=>{d.value=!1,$&&m("@")},y=({text:$,prefix:S,suffix:V})=>$.replace(new RegExp(S,"g"),",").replace(new RegExp(V,"g"),",").split(",").filter(k=>!!k),b=$=>{const S=document.createElement("div");return S.innerHTML=$,[...S.childNodes]},x=$=>{let S=document.createElement("div");S.appendChild($);let V=S.innerHTML;return S=$=null,V},C=$=>Object.prototype.toString.call($)==="[object HTMLDivElement]",w=($,S)=>{const V=$.split(""),k=S.split(""),P=Math.max(V.length,k.length);let B=0;for(let T=0;T<P&&V[T]==k[T];T++)B++;return B},E=($,S)=>{const V=document.createRange(),k=window.getSelection();let P=0,B=0;const T=b($.innerHTML);for(let N=0;N<T.length;N++){const O=T[N];if(C(O))S-=x(O).length;else if(S>O.length)S-=O.length;else{B=S;break}P++}V.selectNodeContents($),V.collapse(!1),$.childNodes[P]&&V.setStart($.childNodes[P],B),V.collapse(!0),k.removeAllRanges(),k.addRange(V)};return($,S)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createElementVNode("div",{ref_key:"formulaRef",ref:o,class:"flex-1 formula",contenteditable:"",placeholder:"请输入表达式 输入「@」后选择指标",style:{"ime-mode":"disabled"},onKeydown:vue.withModifiers(s,["stop"]),onKeyup:c},null,544),vue.withDirectives(vue.createElementVNode("div",_hoisted_1$1L,[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:_})]),vue.createVNode(vue.unref(elementPlus.ElTreeSelect),{onChange:p,filterable:"",accordion:"",placeholder:"请选择变量","popper-class":"ace-select",modelValue:vue.unref(a),"onUpdate:modelValue":S[0]||(S[0]=V=>vue.isRef(a)?a.value=V:null),data:vue.unref(l)},null,8,["modelValue","data"]),_hoisted_2$1t],512),[[vue.vShow,vue.unref(d)]])],64))}}),exp_vue_vue_type_style_index_0_scoped_33b54b9d_lang="",Exp=_export_sfc$2(_sfc_main$26,[["__scopeId","data-v-33b54b9d"]]),_withScopeId$F=i=>(vue.pushScopeId("data-v-ae8d9af3"),i=i(),vue.popScopeId(),i),_hoisted_1$1K=_withScopeId$F(()=>vue.createElementVNode("div",{class:"h-12"},null,-1)),_sfc_main$25=vue.defineComponent({__name:"setting",setup(i){const n=vue.inject("widgetConfig");return(r,o)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$27),vue.createVNode(_sfc_main$2D,{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(n).customize.toFixed,"onUpdate:modelValue":o[0]||(o[0]=a=>vue.unref(n).customize.toFixed=a),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$1K]),_:1}))}}),setting_vue_vue_type_style_index_0_scoped_ae8d9af3_lang="",setting=_export_sfc$2(_sfc_main$25,[["__scopeId","data-v-ae8d9af3"]]),__vite_glob_2_3=Object.freeze(Object.defineProperty({__proto__:null,default:setting},Symbol.toStringTag,{value:"Module"})),_sfc_main$24=vue.defineComponent({__name:"setting",setup(i){const n=vue.inject("widgetConfig");return(r,o)=>vue.unref(n)?(vue.openBlock(),vue.createBlock(_sfc_main$2A,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2D,{title:"基础"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"渐变方向"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadioGroup),{modelValue:vue.unref(n).customize.colorPosition,"onUpdate:modelValue":o[0]||(o[0]=a=>vue.unref(n).customize.colorPosition=a)},{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(n).customize.borderRadius,"onUpdate:modelValue":o[1]||(o[1]=a=>vue.unref(n).customize.borderRadius=a)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景色一"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(n).customize.gradientColor0,"onUpdate:modelValue":o[2]||(o[2]=a=>vue.unref(n).customize.gradientColor0=a)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景色二"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(n).customize.gradientColor1,"onUpdate:modelValue":o[3]||(o[3]=a=>vue.unref(n).customize.gradientColor1=a)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0)}}),__vite_glob_2_4=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$24},Symbol.toStringTag,{value:"Module"})),_sfc_main$23=vue.defineComponent({__name:"setting",setup(i){const{proxy:n}=vue.getCurrentInstance(),r=vue.inject("widgetConfig"),o=vue.ref([]);return n.$baseHttp.get("/api/ace-data-center/screen/list",{params:{descs:"create_time",projectId:n.$baseGetCurrentProjectId(),current:1,size:1e3}}).then(a=>{o.value=a.data.records.map(l=>{const s=JSON.parse(l.config);return l.indicatorsList=s.list.filter(u=>u.indicatorsId),l})}),(a,l)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$27),vue.createVNode(_sfc_main$2D,{title:"链接地址"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"链接类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadioGroup),{modelValue:vue.unref(r).customize.type,"onUpdate:modelValue":l[0]||(l[0]=s=>vue.unref(r).customize.type=s)},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"fullscreen"},{default:vue.withCtx(()=>[vue.createTextVNode("大屏")]),_:1}),vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"link"},{default:vue.withCtx(()=>[vue.createTextVNode("其他链接")]),_:1})]),_:1},8,["modelValue"])]),_:1}),vue.unref(r).customize.type=="fullscreen"?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElFormItem),{key:0,label:"选择大屏"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{size:"small",class:"w-full","popper-class":"ace-select",modelValue:vue.unref(r).customize.fullscreenId,"onUpdate:modelValue":l[1]||(l[1]=s=>vue.unref(r).customize.fullscreenId=s),placeholder:"请选择大屏"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(o),s=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:s.id,label:s.title,value:s.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),vue.unref(r).customize.type=="link"?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElFormItem),{key:1,label:"地址"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(r).customize.url,"onUpdate:modelValue":l[2]||(l[2]=s=>vue.unref(r).customize.url=s)},null,8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"打开方式"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadioGroup),{modelValue:vue.unref(r).customize.openType,"onUpdate:modelValue":l[3]||(l[3]=s=>vue.unref(r).customize.openType=s)},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"own"},{default:vue.withCtx(()=>[vue.createTextVNode("本窗口")]),_:1}),vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"blank"},{default:vue.withCtx(()=>[vue.createTextVNode("新窗口")]),_:1}),vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"dialog"},{default:vue.withCtx(()=>[vue.createTextVNode("弹窗")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}))}}),__vite_glob_2_5=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$23},Symbol.toStringTag,{value:"Module"})),_sfc_main$22=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$27)]),_:1}))}}),__vite_glob_2_6=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$22},Symbol.toStringTag,{value:"Module"})),_sfc_main$21=vue.defineComponent({__name:"setting",setup(i){const n=vue.inject("widgetConfig");return(r,o)=>vue.unref(n)?(vue.openBlock(),vue.createBlock(_sfc_main$2A,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2D,{title:"基础"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadioGroup),{modelValue:vue.unref(n).customize.borderType,"onUpdate:modelValue":o[0]||(o[0]=a=>vue.unref(n).customize.borderType=a)},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"solid",label:"solid"},{default:vue.withCtx(()=>[vue.createTextVNode("实线")]),_:1}),vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"dashed",label:"right"},{default:vue.withCtx(()=>[vue.createTextVNode("虚线")]),_:1})]),_:1},8,["modelValue"])]),_:1}),vue.unref(n).customize.borderType=="dashed"?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElFormItem),{key:0,label:"间距"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(n).customize.borderGap,"onUpdate:modelValue":o[1]||(o[1]=a=>vue.unref(n).customize.borderGap=a)},null,8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景色一"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(n).customize.gradientColor0,"onUpdate:modelValue":o[2]||(o[2]=a=>vue.unref(n).customize.gradientColor0=a)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景色二"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(n).customize.gradientColor1,"onUpdate:modelValue":o[3]||(o[3]=a=>vue.unref(n).customize.gradientColor1=a)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"高度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(n).customize.height,"onUpdate:modelValue":o[4]||(o[4]=a=>vue.unref(n).customize.height=a)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0)}}),__vite_glob_2_7=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$21},Symbol.toStringTag,{value:"Module"})),_withScopeId$E=i=>(vue.pushScopeId("data-v-9c8e9e29"),i=i(),vue.popScopeId(),i),_hoisted_1$1J=_withScopeId$E(()=>vue.createElementVNode("div",{class:"h-14"},null,-1)),_sfc_main$20=vue.defineComponent({__name:"linkage",setup(i){const{proxy:n}=vue.getCurrentInstance(),{getWidgetList:r}=useScreenDesign(),o=vue.computed(()=>vue.unref(r).filter(s=>s.modelType=="MODEL_INDICATORS")),a=vue.inject("widgetConfig"),l=vue.ref([]);return n.$baseHttp.get("/api/ace-data-center/model-indicators/getConfJson",{params:{modelIndicatorsIds:vue.unref(o).map(s=>s.indicatorsId).toString()}}).then(s=>{l.value=[],vue.unref(o).forEach(u=>{const c=s.data.formConfJsonMap[u.indicatorsId];c&&l.value.push({label:u.name,value:u.indicatorsId,children:JSON.parse(c).map(d=>({label:d.name,value:d.key}))})})}),(s,u)=>(vue.openBlock(),vue.createBlock(_sfc_main$2D,{title:"联动组件"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:""},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElCascader),{style:{width:"100%"},placeholder:"请选择指标",modelValue:vue.unref(a).customize.linkage,"onUpdate:modelValue":u[0]||(u[0]=c=>vue.unref(a).customize.linkage=c),options:vue.unref(l),props:{multiple:!0},clearable:""},null,8,["modelValue","options"])]),_:1}),_hoisted_1$1J]),_:1}))}}),linkage_vue_vue_type_style_index_0_scoped_9c8e9e29_lang="",linkage=_export_sfc$2(_sfc_main$20,[["__scopeId","data-v-9c8e9e29"]]),_hoisted_1$1I={class:"flex flex-wrap gap-1"},_hoisted_2$1s={class:"flex items-center gap-1"},_hoisted_3$1g={class:"flex items-center gap-1"},_hoisted_4$1c={class:"flex items-center gap-1"},_hoisted_5$_={class:"flex items-center gap-1"},_sfc_main$1$=vue.defineComponent({__name:"setting",setup(i){const n=vue.inject("widgetConfig");return(r,o)=>vue.unref(n)?(vue.openBlock(),vue.createBlock(_sfc_main$2A,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2D,{title:"基础"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(n).customize.backgroundColor,"onUpdate:modelValue":o[0]||(o[0]=a=>vue.unref(n).customize.backgroundColor=a)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"边框颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(n).customize.borderColor,"onUpdate:modelValue":o[1]||(o[1]=a=>vue.unref(n).customize.borderColor=a)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"边框大小"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1I,[vue.createElementVNode("div",_hoisted_2$1s,[vue.createTextVNode(" 上 "),vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(n).customize.borderTopWidth,"onUpdate:modelValue":o[2]||(o[2]=a=>vue.unref(n).customize.borderTopWidth=a),"controls-position":"right"},null,8,["modelValue"])]),vue.createElementVNode("div",_hoisted_3$1g,[vue.createTextVNode(" 右 "),vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(n).customize.borderRightWidth,"onUpdate:modelValue":o[3]||(o[3]=a=>vue.unref(n).customize.borderRightWidth=a),"controls-position":"right"},null,8,["modelValue"])]),vue.createElementVNode("div",_hoisted_4$1c,[vue.createTextVNode(" 下 "),vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(n).customize.borderBottomWidth,"onUpdate:modelValue":o[4]||(o[4]=a=>vue.unref(n).customize.borderBottomWidth=a),"controls-position":"right"},null,8,["modelValue"])]),vue.createElementVNode("div",_hoisted_5$_,[vue.createTextVNode(" 左 "),vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(n).customize.borderLeftWidth,"onUpdate:modelValue":o[5]||(o[5]=a=>vue.unref(n).customize.borderLeftWidth=a),"controls-position":"right"},null,8,["modelValue"])])])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"字体颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(n).customize.color,"onUpdate:modelValue":o[6]||(o[6]=a=>vue.unref(n).customize.color=a)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(n).customize.fontSize,"onUpdate:modelValue":o[7]||(o[7]=a=>vue.unref(n).customize.fontSize=a)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"圆角大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(n).customize.borderRadius,"onUpdate:modelValue":o[8]||(o[8]=a=>vue.unref(n).customize.borderRadius=a)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$2D,{title:"输入框配置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"默认值"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(n).customize.modelValue,"onUpdate:modelValue":o[9]||(o[9]=a=>vue.unref(n).customize.modelValue=a)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"空值显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(n).customize.placeholder,"onUpdate:modelValue":o[10]||(o[10]=a=>vue.unref(n).customize.placeholder=a)},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$1$},Symbol.toStringTag,{value:"Module"})),_sfc_main$1_=vue.defineComponent({__name:"setting",setup(i){const{proxy:n}=vue.getCurrentInstance();n.$globalPreColor;const r=vue.ref([]),o=vue.ref([]),a=vue.inject("widgetConfig");n.$baseHttp.get(`/api/ace-data-center/custom-dic/options?projectId=${n.$baseGetCurrentProjectId()}`).then(s=>{r.value=s.data,l(!1)});const l=(s=!0)=>{const u=vue.unref(a).customize.dictId;s&&(o.value=[],vue.unref(a).customize.modelValue=""),u&&n.$baseHttp.get(`/api/ace-data-center/custom-dic/readDict/${u}`).then(c=>{o.value=dictArratToTree(c.data??[])})};return(s,u)=>vue.unref(a)?(vue.openBlock(),vue.createBlock(_sfc_main$2A,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2D,{title:"基础信息"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadioGroup),{modelValue:vue.unref(a).customize.type,"onUpdate:modelValue":u[0]||(u[0]=c=>vue.unref(a).customize.type=c)},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"select",label:"下拉"},{default:vue.withCtx(()=>[vue.createTextVNode("下拉")]),_:1}),vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"card",label:"卡片"},{default:vue.withCtx(()=>[vue.createTextVNode("卡片")]),_:1}),vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"line",label:"线条"},{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.ElSwitch),{modelValue:vue.unref(a).customize.clearable,"onUpdate:modelValue":u[1]||(u[1]=c=>vue.unref(a).customize.clearable=c)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(a).customize.bgColor,"onUpdate:modelValue":u[2]||(u[2]=c=>vue.unref(a).customize.bgColor=c)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"字体颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(a).customize.color,"onUpdate:modelValue":u[3]||(u[3]=c=>vue.unref(a).customize.color=c)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(a).customize.fontSize,"onUpdate:modelValue":u[4]||(u[4]=c=>vue.unref(a).customize.fontSize=c)},{suffix:vue.withCtx(()=>[vue.createTextVNode("px")]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"边框颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(a).customize.borderColor,"onUpdate:modelValue":u[5]||(u[5]=c=>vue.unref(a).customize.borderColor=c)},null,8,["modelValue"])]),_:1}),["card","line"].includes(vue.unref(a).customize.type)?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"圆角尺寸"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(a).customize.borderRadius,"onUpdate:modelValue":u[6]||(u[6]=c=>vue.unref(a).customize.borderRadius=c)},{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(a).customize.borderWidth,"onUpdate:modelValue":u[7]||(u[7]=c=>vue.unref(a).customize.borderWidth=c)},{suffix:vue.withCtx(()=>[vue.createTextVNode("px")]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"选中背景颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(a).customize.activeBgColor,"onUpdate:modelValue":u[8]||(u[8]=c=>vue.unref(a).customize.activeBgColor=c)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"选中颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(a).customize.activeColor,"onUpdate:modelValue":u[9]||(u[9]=c=>vue.unref(a).customize.activeColor=c)},null,8,["modelValue"])]),_:1})],64)):vue.createCommentVNode("",!0)]),_:1}),vue.createVNode(_sfc_main$2D,{title:"下拉框配置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"字典"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:vue.unref(a).customize.dictId,"onUpdate:modelValue":u[10]||(u[10]=c=>vue.unref(a).customize.dictId=c),placeholder:"字典值",onChange:l},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(r),c=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{label:c.label,value:c.code,key:c.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.ElTreeSelect),{style:{width:"100%"},"popper-class":"ace-select",expandAll:!1,props:{label:"name",value:"code"},modelValue:vue.unref(a).customize.modelValue,"onUpdate:modelValue":u[11]||(u[11]=c=>vue.unref(a).customize.modelValue=c),placeholder:"请选择",clearable:"",renderAfterExpand:"",data:vue.unref(o)},null,8,["modelValue","data"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"空值显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(a).customize.placeholder,"onUpdate:modelValue":u[12]||(u[12]=c=>vue.unref(a).customize.placeholder=c)},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$1_},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1H={class:"flex flex-col justify-start w-full"},_hoisted_2$1r={key:0,class:"flex items-center w-full font-bold"},_hoisted_3$1f=vue.createElementVNode("span",{class:"w-1 h-4 mr-2",style:{background:"var(--el-color-primary)"}},null,-1),_hoisted_4$1b={class:"flex items-end justify-end flex-1"},_hoisted_5$Z={class:"flex flex-wrap flex-1"},_hoisted_6$S=vue.createElementVNode("div",{class:"h-4"},null,-1),_sfc_main$1Z=vue.defineComponent({__name:"setting-item-box",props:{name:{default:""}},setup(i){return(n,r)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createElementVNode("div",_hoisted_1$1H,[n.name?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$1r,[_hoisted_3$1f,vue.createTextVNode(" "+vue.toDisplayString(n.name)+" ",1),vue.createElementVNode("div",_hoisted_4$1b,[vue.renderSlot(n.$slots,"right")])])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_5$Z,[vue.renderSlot(n.$slots,"default")])]),_hoisted_6$S],64))}}),_hoisted_1$1G={class:"w-1/2 pr-2 mt-2"},_hoisted_2$1q={class:"text-xs mb-2"},_sfc_main$1Y=vue.defineComponent({__name:"setting-item",props:{name:{default:""}},setup(i){return(n,r)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1G,[vue.createElementVNode("div",_hoisted_2$1q,vue.toDisplayString(n.name),1),vue.renderSlot(n.$slots,"default")]))}}),_sfc_main$1X=vue.defineComponent({__name:"setting-common",props:{option:{default:{}},type:{default:0}},setup(i){const n=i,{proxy:r}=vue.getCurrentInstance(),o=r.$globalPreColor,a=[{label:"横向",value:"horizontal"},{label:"纵向",value:"vertical"}];return vue.watch(()=>n.option.custom,l=>{n.option.yAxis&&n.option.yAxis.forEach(s=>{s.axisLabel.formatter=`${l.prefix??""}{value}${l.suffix??""}`})},{deep:!0}),vue.watch(()=>n.option.showScroll,l=>{if(l)n.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 s=n.option.series;n.option.series=[],n.option.direction="",setTimeout(()=>{delete n.option.dataZoom,n.option.series=s})}}),vue.watch(()=>n.option.direction,l=>{n.option.dataZoom.forEach((s,u)=>{l=="vertical"?s.yAxisIndex=[0]:delete s.yAxisIndex})}),(l,s)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[l.option.grid?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCollapseItem),{key:0,title:"容器"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"左侧距离"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:l.option.grid.left,"onUpdate:modelValue":s[0]||(s[0]=u=>l.option.grid.left=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"右侧距离"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:l.option.grid.right,"onUpdate:modelValue":s[1]||(s[1]=u=>l.option.grid.right=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"上侧距离"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:l.option.grid.top,"onUpdate:modelValue":s[2]||(s[2]=u=>l.option.grid.top=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"下侧距离"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:l.option.grid.bottom,"onUpdate:modelValue":s[3]||(s[3]=u=>l.option.grid.bottom=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"自适应"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:l.option.grid.containLabel,"onUpdate:modelValue":s[4]||(s[4]=u=>l.option.grid.containLabel=u)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0),[1,3,5].includes(l.type)?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCollapseItem),{key:1,title:"滚动条"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:l.option.showScroll,"onUpdate:modelValue":s[5]||(s[5]=u=>l.option.showScroll=u)},null,8,["modelValue"])]),_:1})]),_:1}),l.option.showScroll?(vue.openBlock(),vue.createBlock(_sfc_main$1Z,{key:0,name:"参数"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"滚动条方向"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:l.option.direction,"onUpdate:modelValue":s[6]||(s[6]=u=>l.option.direction=u),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(a,u=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:u.value,label:u.label,value:u.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"范围结束值"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:l.option.dataZoom[0].endValue,"onUpdate:modelValue":s[7]||(s[7]=u=>l.option.dataZoom[0].endValue=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"拖拽宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:l.option.dataZoom[0].handleSize,"onUpdate:modelValue":s[8]||(s[8]=u=>l.option.dataZoom[0].handleSize=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:l.option.dataZoom[0].width,"onUpdate:modelValue":s[9]||(s[9]=u=>l.option.dataZoom[0].width=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"高度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:l.option.dataZoom[0].height,"onUpdate:modelValue":s[10]||(s[10]=u=>l.option.dataZoom[0].height=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"上"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:l.option.dataZoom[0].top,"onUpdate:modelValue":s[11]||(s[11]=u=>l.option.dataZoom[0].top=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"右"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:l.option.dataZoom[0].right,"onUpdate:modelValue":s[12]||(s[12]=u=>l.option.dataZoom[0].right=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"下"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:l.option.dataZoom[0].bottom,"onUpdate:modelValue":s[13]||(s[13]=u=>l.option.dataZoom[0].bottom=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"左"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:l.option.dataZoom[0].left,"onUpdate:modelValue":s[14]||(s[14]=u=>l.option.dataZoom[0].left=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"背景颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(o),"show-alpha":"",modelValue:l.option.dataZoom[0].backgroundColor,"onUpdate:modelValue":s[15]||(s[15]=u=>l.option.dataZoom[0].backgroundColor=u)},null,8,["predefine","modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"选中范围颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(o),modelValue:l.option.dataZoom[0].fillerColor,"onUpdate:modelValue":s[16]||(s[16]=u=>l.option.dataZoom[0].fillerColor=u)},null,8,["predefine","modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"边框颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(o),modelValue:l.option.dataZoom[0].borderColor,"onUpdate:modelValue":s[17]||(s[17]=u=>l.option.dataZoom[0].borderColor=u)},null,8,["predefine","modelValue"])]),_:1})]),_:1})):vue.createCommentVNode("",!0)]),_:1})):vue.createCommentVNode("",!0),l.option.legend?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCollapseItem),{key:2,title:"图例"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:l.option.legend.show,"onUpdate:modelValue":s[18]||(s[18]=u=>l.option.legend.show=u)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"字体颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(o),modelValue:l.option.legend.textStyle.color,"onUpdate:modelValue":s[19]||(s[19]=u=>l.option.legend.textStyle.color=u)},null,8,["predefine","modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:l.option.legend.textStyle.fontSize,"onUpdate:modelValue":s[20]||(s[20]=u=>l.option.legend.textStyle.fontSize=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"x轴"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:l.option.legend.x,"onUpdate:modelValue":s[21]||(s[21]=u=>l.option.legend.x=u),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).lengendX,u=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:u.value,label:u.label,value:u.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"y轴"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:l.option.legend.y,"onUpdate:modelValue":s[22]||(s[22]=u=>l.option.legend.y=u),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).lengendY,u=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:u.value,label:u.label,value:u.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"方向"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:l.option.legend.orient,"onUpdate:modelValue":s[23]||(s[23]=u=>l.option.legend.orient=u),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).orient,u=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:u.value,label:u.label,value:u.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l.option.legend.icon?(vue.openBlock(),vue.createBlock(_sfc_main$1Y,{key:0,name:"形状"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:l.option.legend.icon,"onUpdate:modelValue":s[24]||(s[24]=u=>l.option.legend.icon=u),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).shape,u=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:u.value,label:u.label,value:u.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),vue.createVNode(_sfc_main$1Y,{name:"宽"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:l.option.legend.itemWidth,"onUpdate:modelValue":s[25]||(s[25]=u=>l.option.legend.itemWidth=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"高"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:l.option.legend.itemHeight,"onUpdate:modelValue":s[26]||(s[26]=u=>l.option.legend.itemHeight=u),size:"small"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0),l.option.xAxis?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCollapseItem),{key:3,title:"x轴"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:l.option.xAxis.show,"onUpdate:modelValue":s[27]||(s[27]=u=>l.option.xAxis.show=u)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:l.option.xAxis.type,"onUpdate:modelValue":s[28]||(s[28]=u=>l.option.xAxis.type=u),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).category,u=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:u.value,label:u.label,value:u.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"最小值"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select","allow-create":"",filterable:"",clearable:"",modelValue:l.option.xAxis.min,"onUpdate:modelValue":s[29]||(s[29]=u=>l.option.xAxis.min=u),size:"small"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElOption),{label:"dataMin",value:"dataMin"})]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"最大值"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select","allow-create":"",filterable:"",clearable:"",modelValue:l.option.xAxis.max,"onUpdate:modelValue":s[30]||(s[30]=u=>l.option.xAxis.max=u),size:"small"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElOption),{label:"dataMax",value:"dataMax"})]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"轴线"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:l.option.xAxis.position,"onUpdate:modelValue":s[31]||(s[31]=u=>l.option.xAxis.position=u),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).xposition,u=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:u.value,label:u.label,value:u.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"反向"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:l.option.xAxis.inverse,"onUpdate:modelValue":s[32]||(s[32]=u=>l.option.xAxis.inverse=u)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:l.option.xAxis.axisLabel.fontSize,"onUpdate:modelValue":s[33]||(s[33]=u=>l.option.xAxis.axisLabel.fontSize=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"间隔"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:l.option.xAxis.axisLabel.interval,"onUpdate:modelValue":s[34]||(s[34]=u=>l.option.xAxis.axisLabel.interval=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:l.option.xAxis.axisLabel.rotate,"onUpdate:modelValue":s[35]||(s[35]=u=>l.option.xAxis.axisLabel.rotate=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(o),modelValue:l.option.xAxis.axisLabel.color,"onUpdate:modelValue":s[36]||(s[36]=u=>l.option.xAxis.axisLabel.color=u)},null,8,["predefine","modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"单位"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"名称"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:l.option.xAxis.name,"onUpdate:modelValue":s[37]||(s[37]=u=>l.option.xAxis.name=u),size:"small",placeholder:"请输入单位"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:l.option.xAxis.nameTextStyle.fontSize,"onUpdate:modelValue":s[38]||(s[38]=u=>l.option.xAxis.nameTextStyle.fontSize=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(o),modelValue:l.option.xAxis.nameTextStyle.color,"onUpdate:modelValue":s[39]||(s[39]=u=>l.option.xAxis.nameTextStyle.color=u)},null,8,["predefine","modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"分割线"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:l.option.xAxis.splitLine.show,"onUpdate:modelValue":s[40]||(s[40]=u=>l.option.xAxis.splitLine.show=u)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"粗细"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:l.option.xAxis.splitLine.lineStyle.width,"onUpdate:modelValue":s[41]||(s[41]=u=>l.option.xAxis.splitLine.lineStyle.width=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:l.option.xAxis.splitLine.lineStyle.type,"onUpdate:modelValue":s[42]||(s[42]=u=>l.option.xAxis.splitLine.lineStyle.type=u),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).lineStyle,u=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:u.value,label:u.label,value:u.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(o),modelValue:l.option.xAxis.splitLine.lineStyle.color,"onUpdate:modelValue":s[43]||(s[43]=u=>l.option.xAxis.splitLine.lineStyle.color=u)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0),l.option.yAxis&&Array.isArray(l.option.yAxis)?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:4},vue.renderList(l.option.yAxis,(u,c)=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCollapseItem),{title:`y${c+1}轴`},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:u.show,"onUpdate:modelValue":d=>u.show=d},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:u.type,"onUpdate:modelValue":d=>u.type=d,size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).category,d=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:d.value,label:d.label,value:d.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"最小值"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select","allow-create":"",filterable:"",clearable:"",modelValue:u.min,"onUpdate:modelValue":d=>u.min=d,size:"small"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElOption),{label:"dataMin",value:"dataMin"})]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"最大值"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select","allow-create":"",filterable:"",clearable:"",modelValue:u.max,"onUpdate:modelValue":d=>u.max=d,size:"small"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElOption),{label:"dataMax",value:"dataMax"})]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024),vue.createVNode(_sfc_main$1Z,{name:"轴线"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:u.position,"onUpdate:modelValue":d=>u.position=d,size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).yposition,d=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:d.value,label:d.label,value:d.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"反向"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:u.inverse,"onUpdate:modelValue":d=>u.inverse=d},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024),vue.createVNode(_sfc_main$1Z,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:u.axisLabel.fontSize,"onUpdate:modelValue":d=>u.axisLabel.fontSize=d,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"间隔"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:u.axisLabel.interval,"onUpdate:modelValue":d=>u.axisLabel.interval=d,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:u.axisLabel.rotate,"onUpdate:modelValue":d=>u.axisLabel.rotate=d,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(o),modelValue:u.axisLabel.color,"onUpdate:modelValue":d=>u.axisLabel.color=d},null,8,["predefine","modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024),vue.createVNode(_sfc_main$1Z,{name:"单位"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"名称"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:u.name,"onUpdate:modelValue":d=>u.name=d,size:"small",placeholder:"请输入单位"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:u.nameTextStyle.fontSize,"onUpdate:modelValue":d=>u.nameTextStyle.fontSize=d,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(o),modelValue:u.nameTextStyle.color,"onUpdate:modelValue":d=>u.nameTextStyle.color=d},null,8,["predefine","modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024),vue.createVNode(_sfc_main$1Z,{name:"分割线"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:u.splitLine.show,"onUpdate:modelValue":d=>u.splitLine.show=d},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"粗细"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:u.splitLine.lineStyle.width,"onUpdate:modelValue":d=>u.splitLine.lineStyle.width=d,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:u.splitLine.lineStyle.type,"onUpdate:modelValue":d=>u.splitLine.lineStyle.type=d,size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).lineStyle,d=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:d.value,label:d.label,value:d.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(o),modelValue:u.splitLine.lineStyle.color,"onUpdate:modelValue":d=>u.splitLine.lineStyle.color=d},null,8,["predefine","modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024)]),_:2},1032,["title"]))),256)):vue.createCommentVNode("",!0),l.option.custom&&![2].includes(l.type)?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCollapseItem),{key:5,title:"显示"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"前缀"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:l.option.custom.prefix,"onUpdate:modelValue":s[44]||(s[44]=u=>l.option.custom.prefix=u),size:"small",placeholder:"前缀"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"后缀"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:l.option.custom.suffix,"onUpdate:modelValue":s[45]||(s[45]=u=>l.option.custom.suffix=u),size:"small",placeholder:"后缀"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"保留小数"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:l.option.custom.toFixed,"onUpdate:modelValue":s[46]||(s[46]=u=>l.option.custom.toFixed=u),size:"small"},null,8,["modelValue"])]),_:1}),l.type==7?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(_sfc_main$1Y,{name:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:l.option.custom.fontSize,"onUpdate:modelValue":s[47]||(s[47]=u=>l.option.custom.fontSize=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(o),modelValue:l.option.custom.color,"onUpdate:modelValue":s[48]||(s[48]=u=>l.option.custom.color=u)},null,8,["predefine","modelValue"])]),_:1})],64)):vue.createCommentVNode("",!0)]),_:1})]),_:1})):vue.createCommentVNode("",!0)],64))}}),settingCommon_vue_vue_type_style_index_0_scoped_d935cc49_lang="",SettingCommon=_export_sfc$2(_sfc_main$1X,[["__scopeId","data-v-d935cc49"]]),_withScopeId$D=i=>(vue.pushScopeId("data-v-100b8890"),i=i(),vue.popScopeId(),i),_hoisted_1$1F={class:"flex items-center gap-2.5"},_hoisted_2$1p=_withScopeId$D(()=>vue.createElementVNode("div",null,"数据下钻",-1)),_hoisted_3$1e={class:"flex-1"},_hoisted_4$1a={class:"flex items-center gap-2.5"},_hoisted_5$Y=_withScopeId$D(()=>vue.createElementVNode("div",null,"二级指标",-1)),_hoisted_6$R={class:"flex-1"},_hoisted_7$K={class:"w-full pl-2.5 mt-2.5"},_hoisted_8$E={class:"w-full pl-2.5 mt-2.5 flex flex-col gap-2"},_hoisted_9$y={class:"flex gap-2.5"},_hoisted_10$s={class:"w-20"},_hoisted_11$m={class:"flex-1"},_hoisted_12$i={class:"flex items-center gap-2.5"},_hoisted_13$g=_withScopeId$D(()=>vue.createElementVNode("div",null,"主题关联",-1)),_hoisted_14$e={class:"flex-1"},_hoisted_15$8={class:"w-full pl-2.5 mt-2.5"},_hoisted_16$7={class:"w-full pl-2.5 mt-2.5 flex flex-col gap-2"},_hoisted_17$6={class:"w-full pl-2.5 mt-2.5 flex flex-col gap-2"},_hoisted_18$4={class:"w-full pl-2.5 mt-2.5 flex flex-col gap-2"},_hoisted_19$4={class:"flex gap-2.5"},_hoisted_20$4={class:"w-20"},_hoisted_21$4={class:"flex-1"},_hoisted_22$4={key:1,class:"flex gap-2.5"},_hoisted_23$4={class:"flex-1"},_hoisted_24$3={class:"flex-1"},_sfc_main$1W=vue.defineComponent({__name:"setting-data",props:{option:{default:{}},type:{default:0}},setup(i){const n=i,{proxy:r}=vue.getCurrentInstance();r.$globalPreColor;const o=vue.ref([]),a=vue.ref([]),l=vue.ref([]),s=vue.computed(()=>{const p=n.option.dataShow??{},{x:v,y:m,hide:g}=p,_=Array.isArray(v)?v:(v??"").split(","),y=Array.isArray(m)?m:(m??"").split(",");return[..._,...y].filter(x=>x!=="").filter(x=>!(g??[]).includes(x))}),u=vue.computed(()=>{const p=[];return p.push(...Array.isArray(n.option.dataShow.y)?n.option.dataShow.y:[n.option.dataShow.y]),p.push(...Array.isArray(n.option.dataShow.x)?n.option.dataShow.x:[n.option.dataShow.x]),p});fetch$1(r).loadIndicatorsMenu().then(p=>{Object.values(p.data).forEach(v=>{o.value.push(...v)})}),r.$baseHttp.get("/api/ace-data-center/screen/list",{params:{descs:"create_time",projectId:r.$baseGetCurrentProjectId(),current:1,size:1e3}}).then(p=>{a.value=p.data.records.map(v=>{const m=JSON.parse(v.config);return v.indicatorsList=m.list.filter(g=>g.indicatorsId),v.controlList=m.list.filter(g=>["select","input"].includes(g.type??"")),v}),n.option.dataShow.fullscreenId&&f(n.option.dataShow.fullscreenId,!1)});const c=async p=>{const v=await r.$baseHttp.get(`/api/ace-data-center/model-indicators/detail?id=${p}`);v&&(n.option.dataShow.deep2Linkage=JSON.parse(v.data.formConfJson).map(m=>({name:m.name,key:m.key,value:""})))},d=vue.ref([]),f=async(p,v=!0)=>{const m=vue.unref(a).find(_=>_.id==p);if(n.option.dataShow.fullscreenName=(m==null?void 0:m.title)??"",l.value=[],!m)return;const g=await r.$baseHttp.get("/api/ace-data-center/model-indicators/getConfJson",{params:{modelIndicatorsIds:m.indicatorsList.map(_=>_.indicatorsId).toString()}});g&&(d.value=[],l.value=m.controlList,m.indicatorsList.forEach(_=>{const y=g.data.formConfJsonMap[_.indicatorsId];y&&d.value.push({label:_.name,value:_.indicatorsId,children:JSON.parse(y).map(b=>({label:b.name,value:b.key}))})}),v&&(n.option.dataShow.fullscreenLinkage=vue.unref(u).map(_=>({name:_,key:_,value:[]}))))};return(p,v)=>p.option.dataShow?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCollapseItem),{key:0,title:"下钻关联"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1F,[_hoisted_2$1p,vue.createElementVNode("div",_hoisted_3$1e,[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:p.option.dataShow.deep,"onUpdate:modelValue":v[0]||(v[0]=m=>p.option.dataShow.deep=m)},null,8,["modelValue"])])])]),_:1}),vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_4$1a,[_hoisted_5$Y,vue.createElementVNode("div",_hoisted_6$R,[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:p.option.dataShow.deep2,"onUpdate:modelValue":v[1]||(v[1]=m=>p.option.dataShow.deep2=m)},null,8,["modelValue"])])]),p.option.dataShow.deep2?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createElementVNode("div",_hoisted_7$K,[vue.createVNode(vue.unref(elementPlus.ElSelect),{size:"small",class:"w-full","popper-class":"ace-select",modelValue:p.option.dataShow.deep2Id,"onUpdate:modelValue":v[2]||(v[2]=m=>p.option.dataShow.deep2Id=m),placeholder:"请选择指标",onChange:c},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(o),m=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:m.id,label:m.name,value:m.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),vue.createElementVNode("div",_hoisted_8$E,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(p.option.dataShow.deep2Linkage,m=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_9$y,[vue.createElementVNode("div",_hoisted_10$s,vue.toDisplayString(m.name),1),vue.createElementVNode("div",_hoisted_11$m,[vue.createVNode(vue.unref(elementPlus.ElSelect),{size:"small",class:"w-full",clearable:"","popper-class":"ace-select",modelValue:m.value,"onUpdate:modelValue":g=>m.value=g,placeholder:"请选择绑定参数"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(u),g=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:g,label:g,value:g},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])])]))),256))])],64)):vue.createCommentVNode("",!0)]),_:1}),vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_12$i,[_hoisted_13$g,vue.createElementVNode("div",_hoisted_14$e,[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:p.option.dataShow.fullscreen,"onUpdate:modelValue":v[3]||(v[3]=m=>p.option.dataShow.fullscreen=m)},null,8,["modelValue"])])]),p.option.dataShow.fullscreen?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createElementVNode("div",_hoisted_15$8,[vue.createVNode(vue.unref(elementPlus.ElSelect),{size:"small",class:"w-full","popper-class":"ace-select",modelValue:p.option.dataShow.fullscreenId,"onUpdate:modelValue":v[4]||(v[4]=m=>p.option.dataShow.fullscreenId=m),placeholder:"请选择大屏",onChange:v[5]||(v[5]=m=>f(m,!0))},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(a),m=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:m.id,label:m.title,value:m.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),vue.createElementVNode("div",_hoisted_16$7,[vue.createVNode(vue.unref(elementPlus.ElRadioGroup),{modelValue:p.option.dataShow.fullscreenOpenType,"onUpdate:modelValue":v[6]||(v[6]=m=>p.option.dataShow.fullscreenOpenType=m)},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"blank"},{default:vue.withCtx(()=>[vue.createTextVNode("新窗口")]),_:1}),vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"dialog"},{default:vue.withCtx(()=>[vue.createTextVNode("弹窗")]),_:1})]),_:1},8,["modelValue"])]),vue.createElementVNode("div",_hoisted_17$6,[vue.createVNode(vue.unref(elementPlus.ElRadioGroup),{modelValue:p.option.dataShow.fullscreenType,"onUpdate:modelValue":v[7]||(v[7]=m=>p.option.dataShow.fullscreenType=m)},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"indicators"},{default:vue.withCtx(()=>[vue.createTextVNode("绑定指标")]),_:1}),vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"control"},{default:vue.withCtx(()=>[vue.createTextVNode("绑定控件")]),_:1})]),_:1},8,["modelValue"])]),vue.createElementVNode("div",_hoisted_18$4,[p.option.dataShow.fullscreenType=="indicators"?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:0},vue.renderList(p.option.dataShow.fullscreenLinkage,m=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_19$4,[vue.createElementVNode("div",_hoisted_20$4,vue.toDisplayString(m.name),1),vue.createElementVNode("div",_hoisted_21$4,[vue.createVNode(vue.unref(elementPlus.ElCascader),{size:"small",style:{width:"100%"},placeholder:"请选择绑定参数",modelValue:m.value,"onUpdate:modelValue":g=>m.value=g,options:vue.unref(d),props:{multiple:!0},clearable:""},null,8,["modelValue","onUpdate:modelValue","options"])])]))),256)):vue.createCommentVNode("",!0),p.option.dataShow.fullscreenType=="control"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_22$4,[vue.createElementVNode("div",_hoisted_23$4,[vue.createVNode(vue.unref(elementPlus.ElSelect),{size:"small",class:"w-full","popper-class":"ace-select",modelValue:p.option.dataShow.fullscreenControlType,"onUpdate:modelValue":v[8]||(v[8]=m=>p.option.dataShow.fullscreenControlType=m),placeholder:"请选择参数"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(s),m=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:m,label:m,value:m},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),vue.createElementVNode("div",_hoisted_24$3,[vue.createVNode(vue.unref(elementPlus.ElSelect),{size:"small",class:"w-full","popper-class":"ace-select",multiple:"",modelValue:p.option.dataShow.fullscreenControlIds,"onUpdate:modelValue":v[9]||(v[9]=m=>p.option.dataShow.fullscreenControlIds=m),placeholder:"请选择组件"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(l),m=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:m.id,label:m.name,value:m.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])])):vue.createCommentVNode("",!0)])],64)):vue.createCommentVNode("",!0)]),_:1})]),_:1})):vue.createCommentVNode("",!0)}}),settingData_vue_vue_type_style_index_0_scoped_100b8890_lang="",SettingData=_export_sfc$2(_sfc_main$1W,[["__scopeId","data-v-100b8890"]]),_hoisted_1$1E={class:"ml-2"},_hoisted_2$1o={class:"flex justify-end flex-1"},_hoisted_3$1d=["onClick"],_hoisted_4$19=vue.createElementVNode("i",{class:"cursor-move ri-draggable sortable-handle"},null,-1),_sfc_main$1V=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1},bigScreen:{type:Boolean,default:!1}},setup(i){const{getChartData:n}=useScreenDesign(),r=i,{proxy:o}=vue.getCurrentInstance(),a=o.$globalPreColor,l=[{label:"顶部",value:"top"},{label:"左侧",value:"left"},{label:"右侧",value:"right"},{label:"底部",value:"bottom"}],{setChartData:s}=useCustomChart(),{seriesItem:u,init:c,customSeriesData:d}=useBarCommon();vue.ref(null);const f=vue.ref(JSON.parse(JSON.stringify(Object.values(d.value)[0]??u)));vue.watch(f,()=>p(),{deep:!0}),vue.watch(()=>r.option.dataShow,()=>{c(r.option,()=>{p()})},{deep:!0,immediate:r.immediate}),vue.watch(()=>r.option.dataShow.x,async()=>{r.option.dataset.source=await s(r.type,r.option.dataShow.x)});const p=()=>{const m=f.value,g=_=>{_.barWidth=m.barWidth,_.stack=m.stack,_.borderRadiusNumber=m.borderRadiusNumber,_.label.show=m.label.show,_.label.color=m.label.color,_.label.position=m.label.position,_.label.fontSize=m.label.fontSize,_.label.rotate=m.label.rotate,_.itemStyle.borderRadius=[m.borderRadiusNumber,m.borderRadiusNumber,0,0]};r.option.series.forEach(_=>{g(_)}),Object.keys(d.value).forEach(_=>{g(vue.unref(d)[_])}),window.customSeriesData=d.value},v=m=>{const{hide:g}=r.option.dataShow;g.includes(m)?g.splice(g.findIndex(_=>_==m),1):g.push(m)};return(m,g)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(SettingCommon,{option:m.option,type:3},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"柱状配置"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(f).barWidth,"onUpdate:modelValue":g[0]||(g[0]=_=>vue.unref(f).barWidth=_),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"堆栈"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(f).stack,"onUpdate:modelValue":g[1]||(g[1]=_=>vue.unref(f).stack=_)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"圆角"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:vue.unref(f).borderRadiusNumber,"onUpdate:modelValue":g[2]||(g[2]=_=>vue.unref(f).borderRadiusNumber=_),size:"small"},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(f).label.show,"onUpdate:modelValue":g[3]||(g[3]=_=>vue.unref(f).label.show=_)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:vue.unref(f).label.position,"onUpdate:modelValue":g[4]||(g[4]=_=>vue.unref(f).label.position=_),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(l,_=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:_.value,label:_.label,value:_.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(f).label.rotate,"onUpdate:modelValue":g[5]||(g[5]=_=>vue.unref(f).label.rotate=_),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(f).label.fontSize,"onUpdate:modelValue":g[6]||(g[6]=_=>vue.unref(f).label.fontSize=_),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(a),modelValue:vue.unref(f).label.color,"onUpdate:modelValue":g[7]||(g[7]=_=>vue.unref(f).label.color=_)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(SettingData,{option:m.option,type:3},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"X轴",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:m.option.dataShow.x,"onUpdate:modelValue":g[8]||(g[8]=_=>m.option.dataShow.x=_),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(n).x,_=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:_.comment,label:_.comment,value:_.comment},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"Y轴",style:{width:"100%","margin-top":"10px"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:m.option.dataShow.y,"onUpdate:modelValue":g[9]||(g[9]=_=>m.option.dataShow.y=_),animation:150,handle:".sortable-handle"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(m.option.dataShow.y,(_,y)=>(vue.openBlock(),vue.createElementBlock("div",{key:_,class:"w-full sort-item"},[vue.unref(d)[_]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElColorPicker),{key:0,predefine:vue.unref(a),size:"small","show-alpha":"",modelValue:vue.unref(d)[_].itemStyle.color,"onUpdate:modelValue":b=>vue.unref(d)[_].itemStyle.color=b},null,8,["predefine","modelValue","onUpdate:modelValue"])):vue.createCommentVNode("",!0),vue.createElementVNode("span",_hoisted_1$1E,vue.toDisplayString(_),1),vue.createElementVNode("div",_hoisted_2$1o,[vue.createElementVNode("i",{onClick:b=>v(_),class:vue.normalizeClass([m.option.dataShow.hide.includes(_)?"ri-eye-off-line":"ri-eye-line","mr-2 cursor-pointer"])},null,10,_hoisted_3$1d),_hoisted_4$19])]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_hoisted_1$1D={class:"ml-2"},_hoisted_2$1n={class:"flex justify-end flex-1"},_hoisted_3$1c=["onClick"],_hoisted_4$18=vue.createElementVNode("i",{class:"cursor-move ri-draggable sortable-handle"},null,-1),_sfc_main$1U=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1},bigScreen:{type:Boolean,default:!1}},setup(i){const{getChartData:n}=useScreenDesign(),r=i,{proxy:o}=vue.getCurrentInstance(),a=o.$globalPreColor,l=[{label:"顶部",value:"top"},{label:"左侧",value:"left"},{label:"右侧",value:"right"},{label:"底部",value:"bottom"}],s=[{label:"实线",value:"solid"},{label:"虚线",value:"dashed"},{label:"点线",value:"dotted"}],{setChartData:u}=useCustomChart(),{seriesItem:c,init:d,customSeriesData:f}=useLineCommon();vue.ref(null);const p=vue.ref(JSON.parse(JSON.stringify(Object.values(f.value)[0]??c)));vue.watch(p,()=>v(),{deep:!0}),vue.watch(()=>r.option.dataShow,()=>{d(r.option,()=>{v()})},{deep:!0,immediate:r.immediate}),vue.watch(()=>r.option.dataShow.x,async()=>{r.option.dataset.source=await u(r.type,r.option.dataShow.x)});const v=()=>{const y=JSON.parse(JSON.stringify(p.value)),b=x=>{Object.keys(y).forEach(C=>{C!="areaStyleTmp"&&(C=="lineStyle"?Object.keys(x[C]).forEach(w=>{w!="color"&&(x[C][w]=y[C][w])}):x[C]=y[C])})};r.option.series.forEach(x=>{b(x),x.areaStyle=y.showArea?x.areaStyleTmp??{}:null}),Object.keys(f.value).forEach(x=>{const C=vue.unref(f)[x];b(C),C.areaStyle=y.showArea?C.areaStyleTmp??{}:null}),window.customSeriesData=f.value},m=y=>{const{hide:b}=r.option.dataShow;b.includes(y)?b.splice(b.findIndex(x=>x==y),1):b.push(y)},g=y=>{if(y.startsWith("rgb")){const b=y.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*([\d.]+))?\)/i);if(b)return{r:parseInt(b[1]),g:parseInt(b[2]),b:parseInt(b[3]),a:b[4]?parseFloat(b[4]):1}}if(y.startsWith("#")){const b=y.replace(/^#/,"");if(b.length===3)return{r:parseInt(b[0]+b[0],16),g:parseInt(b[1]+b[1],16),b:parseInt(b[2]+b[2],16)};if(b.length===6)return{r:parseInt(b.substring(0,2),16),g:parseInt(b.substring(2,4),16),b:parseInt(b.substring(4,6),16)}}return null},_=y=>{const b=y.lineStyle.color,{r:x,g:C,b:w}=g(b),E={color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:`rgb(${x}, ${C}, ${w}, 1)`},{offset:1,color:`rgb(${x}, ${C}, ${w}, 0.5)`}],global:!1}};y.areaStyleTmp=E,y.areaStyle=vue.unref(p).showArea?E:null};return(y,b)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(SettingCommon,{option:y.option,type:1},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"折线配置"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:"线条"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(p).lineStyle.width,"onUpdate:modelValue":b[0]||(b[0]=x=>vue.unref(p).lineStyle.width=x),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"显示填充区"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(p).showArea,"onUpdate:modelValue":b[1]||(b[1]=x=>vue.unref(p).showArea=x)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:vue.unref(p).lineStyle.type,"onUpdate:modelValue":b[2]||(b[2]=x=>vue.unref(p).lineStyle.type=x),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(s,x=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:x.value,label:x.label,value:x.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"实心点"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(p).symbolSize,"onUpdate:modelValue":b[3]||(b[3]=x=>vue.unref(p).symbolSize=x),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"平滑"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(p).smooth,"onUpdate:modelValue":b[4]||(b[4]=x=>vue.unref(p).smooth=x)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(p).label.show,"onUpdate:modelValue":b[5]||(b[5]=x=>vue.unref(p).label.show=x)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:vue.unref(p).label.position,"onUpdate:modelValue":b[6]||(b[6]=x=>vue.unref(p).label.position=x),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(l,x=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:x.value,label:x.label,value:x.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(p).label.rotate,"onUpdate:modelValue":b[7]||(b[7]=x=>vue.unref(p).label.rotate=x),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(p).label.fontSize,"onUpdate:modelValue":b[8]||(b[8]=x=>vue.unref(p).label.fontSize=x),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(a),modelValue:vue.unref(p).label.color,"onUpdate:modelValue":b[9]||(b[9]=x=>vue.unref(p).label.color=x)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(SettingData,{option:y.option,type:1},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"X轴",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:y.option.dataShow.x,"onUpdate:modelValue":b[10]||(b[10]=x=>y.option.dataShow.x=x),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(n).x,x=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:x.comment,label:x.comment,value:x.comment},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"Y轴",style:{width:"100%","margin-top":"10px"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:y.option.dataShow.y,"onUpdate:modelValue":b[11]||(b[11]=x=>y.option.dataShow.y=x),animation:150,handle:".sortable-handle"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(y.option.dataShow.y,(x,C)=>(vue.openBlock(),vue.createElementBlock("div",{key:x,class:"w-full sort-item"},[vue.unref(f)[x]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElColorPicker),{key:0,size:"small","show-alpha":"",predefine:vue.unref(a),modelValue:vue.unref(f)[x].lineStyle.color,"onUpdate:modelValue":w=>vue.unref(f)[x].lineStyle.color=w,onChange:w=>_(vue.unref(f)[x])},null,8,["predefine","modelValue","onUpdate:modelValue","onChange"])):vue.createCommentVNode("",!0),vue.createElementVNode("span",_hoisted_1$1D,vue.toDisplayString(x),1),vue.createElementVNode("div",_hoisted_2$1n,[vue.createElementVNode("i",{onClick:w=>m(x),class:vue.normalizeClass([y.option.dataShow.hide.includes(x)?"ri-eye-off-line":"ri-eye-line","mr-2 cursor-pointer"])},null,10,_hoisted_3$1c),_hoisted_4$18])]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_sfc_main$1T=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1},bigScreen:{type:Boolean,default:!1}},setup(i){const{getChartData:n}=useScreenDesign(),r=i,{proxy:o}=vue.getCurrentInstance(),a=o.$globalPreColor,l=[{label:"外侧",value:"outside"},{label:"内部",value:"inside"},{label:"中心",value:"center"}],s=[{label:"数据名",value:"{b}"},{label:"百分比",value:"{d}"},{label:"列名:百分比",value:"{b}:{d}%"}],{setChartData:u}=useCustomChart(),{seriesItem:c,init:d,customSeriesData:f}=usePieCommon(),p=vue.ref(JSON.parse(JSON.stringify(Object.values(f.value)[0]??c)));vue.watch(p,()=>v(),{deep:!0}),vue.watch(()=>r.option.dataShow,async()=>{r.option.dataset.source=await u(r.type,r.option.dataShow.x),d(r.option,()=>{v()})},{deep:!0,immediate:r.immediate});const v=()=>{const m=p.value,g=_=>{Object.keys(m).forEach(y=>{_[y]=m[y]})};r.option.series.forEach(_=>{g(_)}),Object.keys(f.value).forEach(_=>{g(vue.unref(f)[_])}),window.customSeriesData=f.value};return(m,g)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(SettingCommon,{option:m.option,type:2},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"饼图配置"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:"样式"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"半径1"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(p).radius[0],"onUpdate:modelValue":g[0]||(g[0]=_=>vue.unref(p).radius[0]=_),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"半径2"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(p).radius[1],"onUpdate:modelValue":g[1]||(g[1]=_=>vue.unref(p).radius[1]=_),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"距离1"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(p).center[0],"onUpdate:modelValue":g[2]||(g[2]=_=>vue.unref(p).center[0]=_),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"距离2"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(p).center[1],"onUpdate:modelValue":g[3]||(g[3]=_=>vue.unref(p).center[1]=_),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"南丁格尔图"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(p).roseType,"onUpdate:modelValue":g[4]||(g[4]=_=>vue.unref(p).roseType=_)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(p).label.show,"onUpdate:modelValue":g[5]||(g[5]=_=>vue.unref(p).label.show=_)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"引导线"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(p).labelLine.show,"onUpdate:modelValue":g[6]||(g[6]=_=>vue.unref(p).labelLine.show=_)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"展示类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(p).label.formatter,"onUpdate:modelValue":g[7]||(g[7]=_=>vue.unref(p).label.formatter=_),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(s,_=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:_.value,label:_.label,value:_.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(p).label.position,"onUpdate:modelValue":g[8]||(g[8]=_=>vue.unref(p).label.position=_),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(l,_=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:_.value,label:_.label,value:_.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(p).label.fontSize,"onUpdate:modelValue":g[9]||(g[9]=_=>vue.unref(p).label.fontSize=_),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(a),modelValue:vue.unref(p).label.color,"onUpdate:modelValue":g[10]||(g[10]=_=>vue.unref(p).label.color=_)},null,8,["predefine","modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"圆角"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(p).itemStyle.borderRadius,"onUpdate:modelValue":g[11]||(g[11]=_=>vue.unref(p).itemStyle.borderRadius=_),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(p).itemStyle.borderWidth,"onUpdate:modelValue":g[12]||(g[12]=_=>vue.unref(p).itemStyle.borderWidth=_),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(a),modelValue:vue.unref(p).itemStyle.borderColor,"onUpdate:modelValue":g[13]||(g[13]=_=>vue.unref(p).itemStyle.borderColor=_)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(SettingData,{option:m.option,type:2},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"维度",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:m.option.dataShow.x,"onUpdate:modelValue":g[14]||(g[14]=_=>m.option.dataShow.x=_),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(n).x,_=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:_.comment,label:_.comment,value:_.comment},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"统计",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:m.option.dataShow.y,"onUpdate:modelValue":g[15]||(g[15]=_=>m.option.dataShow.y=_),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(n).y.filter(_=>_.aggType!="other"),_=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:_.showLabel,label:_.showLabel,value:_.showLabel},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_hoisted_1$1C={class:"mx-1.5 overflow-hidden whitespace-nowrap text-ellipsis"},_hoisted_2$1m={class:"flex items-center justify-end flex-1 whitespace-nowrap"},_hoisted_3$1b={class:"mr-2 text-xs cursor-pointer"},_hoisted_4$17={class:"mr-2 text-xs cursor-pointer"},_hoisted_5$X=["onClick"],_hoisted_6$Q=vue.createElementVNode("i",{class:"cursor-move ri-draggable sortable-handle"},null,-1),_sfc_main$1S=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1},bigScreen:{type:Boolean,default:!1}},setup(i){const{getChartData:n}=useScreenDesign(),r=i,{proxy:o}=vue.getCurrentInstance(),a=o.$globalPreColor,l=[{label:"顶部",value:"top"},{label:"左侧",value:"left"},{label:"右侧",value:"right"},{label:"底部",value:"bottom"}],s=[{label:"实线",value:"solid"},{label:"虚线",value:"dashed"},{label:"点线",value:"dotted"}],{setChartData:u}=useCustomChart(),{seriesLineItem:c,seriesBarItem:d,init:f,customSeriesData:p}=useBarLineCommon();vue.ref(null);const v=vue.ref(JSON.parse(JSON.stringify(Object.values(p.value).find(w=>w.type=="bar")??d))),m=vue.ref(JSON.parse(JSON.stringify(Object.values(p.value).find(w=>w.type=="line")??c)));vue.watch([v,m],()=>y(),{deep:!0}),vue.watch(()=>r.option.dataShow,()=>{f(r.option,()=>{y()})},{deep:!0,immediate:r.immediate}),vue.watch(()=>r.option.dataShow.x,async()=>{r.option.dataset.source=await u(r.type,r.option.dataShow.x)});const g=(w,E)=>{p.value[E]={...p.value[E],yAxisIndex:w=="y1"?0:1},f(r.option,()=>{})},_=(w,E)=>{var S,V,k,P;if(vue.unref(p)[E].type!=w){const B=JSON.parse(JSON.stringify({...w=="line"?m.value:v.value})),T=((V=(S=vue.unref(p)[E])==null?void 0:S.lineStyle)==null?void 0:V.color)??((P=(k=vue.unref(p)[E])==null?void 0:k.itemStyle)==null?void 0:P.color);B[B!=null&&B.lineStyle?"lineStyle":"itemStyle"].color=T,p.value[E]={...B},f(r.option,()=>{})}},y=()=>{const w=v.value,E=m.value,$=S=>{const V=JSON.parse(JSON.stringify(S.type=="bar"?w:E));Object.keys(V).forEach(k=>{k!="areaStyleTmp"&&(["lineStyle","itemStyle"].includes(k)?Object.keys(S[k]).forEach(P=>{P=="borderRadius"?S[k][P]=[w.borderRadiusNumber,w.borderRadiusNumber,0,0]:P!="color"&&(S[k][P]=V[k][P])}):S[k]=V[k])})};r.option.series.forEach(S=>{$(S),S.type=="line"&&(S.areaStyle=E.showArea?S.areaStyleTmp??{}:null)}),Object.keys(p.value).forEach(S=>{const V=vue.unref(p)[S];$(V),V.type=="line"&&(V.areaStyle=E.showArea?V.areaStyleTmp??{}:null)}),window.customSeriesData=p.value},b=w=>{const{hide:E}=r.option.dataShow;E.includes(w)?E.splice(E.findIndex($=>$==w),1):E.push(w)},x=w=>{if(w.startsWith("rgb")){const E=w.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*([\d.]+))?\)/i);if(E)return{r:parseInt(E[1]),g:parseInt(E[2]),b:parseInt(E[3]),a:E[4]?parseFloat(E[4]):1}}if(w.startsWith("#")){const E=w.replace(/^#/,"");if(E.length===3)return{r:parseInt(E[0]+E[0],16),g:parseInt(E[1]+E[1],16),b:parseInt(E[2]+E[2],16)};if(E.length===6)return{r:parseInt(E.substring(0,2),16),g:parseInt(E.substring(2,4),16),b:parseInt(E.substring(4,6),16)}}return null},C=w=>{if(w.type!="line")return;const E=w.lineStyle.color,{r:$,g:S,b:V}=x(E),k={color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:`rgb(${$}, ${S}, ${V}, 1)`},{offset:1,color:`rgb(${$}, ${S}, ${V}, 0.5)`}],global:!1}};w.areaStyleTmp=k,w.areaStyle=vue.unref(m).showArea?k:null};return(w,E)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(SettingCommon,{option:w.option,type:5},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"柱状配置"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(v).barWidth,"onUpdate:modelValue":E[0]||(E[0]=$=>vue.unref(v).barWidth=$),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"堆栈"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(v).stack,"onUpdate:modelValue":E[1]||(E[1]=$=>vue.unref(v).stack=$)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"圆角"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:vue.unref(v).borderRadiusNumber,"onUpdate:modelValue":E[2]||(E[2]=$=>vue.unref(v).borderRadiusNumber=$),size:"small"},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(v).label.show,"onUpdate:modelValue":E[3]||(E[3]=$=>vue.unref(v).label.show=$)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:vue.unref(v).label.position,"onUpdate:modelValue":E[4]||(E[4]=$=>vue.unref(v).label.position=$),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(l,$=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:$.value,label:$.label,value:$.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(v).label.rotate,"onUpdate:modelValue":E[5]||(E[5]=$=>vue.unref(v).label.rotate=$),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(v).label.fontSize,"onUpdate:modelValue":E[6]||(E[6]=$=>vue.unref(v).label.fontSize=$),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(a),modelValue:vue.unref(v).label.color,"onUpdate:modelValue":E[7]||(E[7]=$=>vue.unref(v).label.color=$)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"折线配置"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:"线条"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(m).lineStyle.width,"onUpdate:modelValue":E[8]||(E[8]=$=>vue.unref(m).lineStyle.width=$),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"显示填充区"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(m).showArea,"onUpdate:modelValue":E[9]||(E[9]=$=>vue.unref(m).showArea=$)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:vue.unref(m).lineStyle.type,"onUpdate:modelValue":E[10]||(E[10]=$=>vue.unref(m).lineStyle.type=$),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(s,$=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:$.value,label:$.label,value:$.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"实心点"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(m).symbolSize,"onUpdate:modelValue":E[11]||(E[11]=$=>vue.unref(m).symbolSize=$),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"平滑"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(m).smooth,"onUpdate:modelValue":E[12]||(E[12]=$=>vue.unref(m).smooth=$)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(m).label.show,"onUpdate:modelValue":E[13]||(E[13]=$=>vue.unref(m).label.show=$)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:vue.unref(m).label.position,"onUpdate:modelValue":E[14]||(E[14]=$=>vue.unref(m).label.position=$),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(l,$=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:$.value,label:$.label,value:$.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(m).label.rotate,"onUpdate:modelValue":E[15]||(E[15]=$=>vue.unref(m).label.rotate=$),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(m).label.fontSize,"onUpdate:modelValue":E[16]||(E[16]=$=>vue.unref(m).label.fontSize=$),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(a),modelValue:vue.unref(m).label.color,"onUpdate:modelValue":E[17]||(E[17]=$=>vue.unref(m).label.color=$)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(SettingData,{option:w.option,type:5},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"X轴",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:w.option.dataShow.x,"onUpdate:modelValue":E[18]||(E[18]=$=>w.option.dataShow.x=$),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(n).x,$=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:$.comment,label:$.comment,value:$.comment},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"Y轴",style:{width:"100%","margin-top":"10px"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:w.option.dataShow.y,"onUpdate:modelValue":E[19]||(E[19]=$=>w.option.dataShow.y=$),animation:150,handle:".sortable-handle"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(w.option.dataShow.y,($,S)=>(vue.openBlock(),vue.createElementBlock("div",{key:$,class:"w-full sort-item"},[vue.unref(p)[$]?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.unref(p)[$].type=="bar"?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElColorPicker),{key:0,predefine:vue.unref(a),size:"small","show-alpha":"",modelValue:vue.unref(p)[$].itemStyle.color,"onUpdate:modelValue":V=>vue.unref(p)[$].itemStyle.color=V},null,8,["predefine","modelValue","onUpdate:modelValue"])):(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElColorPicker),{key:1,predefine:vue.unref(a),size:"small","show-alpha":"",onChange:V=>C(vue.unref(p)[$]),modelValue:vue.unref(p)[$].lineStyle.color,"onUpdate:modelValue":V=>vue.unref(p)[$].lineStyle.color=V},null,8,["predefine","onChange","modelValue","onUpdate:modelValue"]))],64)):vue.createCommentVNode("",!0),vue.createElementVNode("span",_hoisted_1$1C,vue.toDisplayString($),1),vue.createElementVNode("div",_hoisted_2$1m,[vue.unref(p)[$]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElDropdown),{key:0,onCommand:V=>g(V,$)},{dropdown:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElDropdownMenu),null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElDropdownItem),{command:"y1"},{default:vue.withCtx(()=>[vue.createTextVNode("y1")]),_:1}),vue.createVNode(vue.unref(elementPlus.ElDropdownItem),{command:"y2"},{default:vue.withCtx(()=>[vue.createTextVNode("y2")]),_:1})]),_:1})]),default:vue.withCtx(()=>[vue.createElementVNode("span",_hoisted_3$1b,vue.toDisplayString([0,""].includes(vue.unref(p)[$].yAxisIndex??"")?"y1":"y2")+"轴 ",1)]),_:2},1032,["onCommand"])):vue.createCommentVNode("",!0),vue.unref(p)[$]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElDropdown),{key:1,onCommand:V=>_(V,$)},{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_4$17,vue.toDisplayString(vue.unref(p)[$].type=="bar"?"柱状":"折线"),1)]),_:2},1032,["onCommand"])):vue.createCommentVNode("",!0),vue.createElementVNode("i",{onClick:V=>b($),class:vue.normalizeClass([w.option.dataShow.hide.includes($)?"ri-eye-off-line":"ri-eye-line","mr-2 cursor-pointer"])},null,10,_hoisted_5$X),_hoisted_6$Q])]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_hoisted_1$1B={class:"ml-2"},_hoisted_2$1l={class:"flex items-center justify-end flex-1"},_hoisted_3$1a={class:"mr-2 text-xs cursor-pointer"},_hoisted_4$16=["onClick"],_hoisted_5$W=vue.createElementVNode("i",{class:"cursor-move ri-draggable sortable-handle"},null,-1),_sfc_main$1R=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1},bigScreen:{type:Boolean,default:!1}},setup(i){const{getChartData:n}=useScreenDesign(),r=i,{proxy:o}=vue.getCurrentInstance(),a=o.$globalPreColor,l=[{label:"实线",value:"solid"},{label:"虚线",value:"dashed"},{label:"点线",value:"dotted"}],s=[{label:"顶部",value:"top"},{label:"左侧",value:"left"},{label:"右侧",value:"right"},{label:"底部",value:"bottom"}],{setChartData:u}=useCustomChart(),{seriesItem:c,init:d,customSeriesData:f}=useScatterCommon();vue.ref(null);const p=vue.ref(JSON.parse(JSON.stringify(Object.values(f.value)[0]??c)));vue.watch(p,()=>v(),{deep:!0}),vue.watch(()=>r.option.dataShow,()=>{d(r.option,()=>{v()})},{deep:!0,immediate:r.immediate}),vue.watch(()=>r.option.dataShow.x,async()=>{r.option.dataset.source=await u(r.type,r.option.dataShow.x)});const v=()=>{const _=JSON.parse(JSON.stringify(p.value)),y=b=>{Object.keys(_).forEach(x=>{x!="type"&&(["itemStyle"].includes(x)||(b[x]=_[x]))})};r.option.series.forEach(b=>{y(b)}),Object.keys(f.value).forEach(b=>{y(vue.unref(f)[b])}),window.customSeriesData=f.value},m=(_,y)=>{const b=vue.unref(f)[y];b.type!=_&&(b.type=_,d(r.option,()=>{}))},g=_=>{const{hide:y}=r.option.dataShow;y.includes(_)?y.splice(y.findIndex(b=>b==_),1):y.push(_)};return(_,y)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(SettingCommon,{option:_.option,type:6},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"散点图配置"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(p).symbolSize,"onUpdate:modelValue":y[0]||(y[0]=b=>vue.unref(p).symbolSize=b),size:"small"},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"标域"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"粗细(0不显示)"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(p).markArea.itemStyle.borderWidth,"onUpdate:modelValue":y[1]||(y[1]=b=>vue.unref(p).markArea.itemStyle.borderWidth=b),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"样式"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:vue.unref(p).markArea.itemStyle.borderType,"onUpdate:modelValue":y[2]||(y[2]=b=>vue.unref(p).markArea.itemStyle.borderType=b),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(l,b=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:b.value,label:b.label,value:b.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(p).label.show,"onUpdate:modelValue":y[3]||(y[3]=b=>vue.unref(p).label.show=b)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:vue.unref(p).label.position,"onUpdate:modelValue":y[4]||(y[4]=b=>vue.unref(p).label.position=b),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(s,b=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:b.value,label:b.label,value:b.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(p).label.rotate,"onUpdate:modelValue":y[5]||(y[5]=b=>vue.unref(p).label.rotate=b),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(p).label.fontSize,"onUpdate:modelValue":y[6]||(y[6]=b=>vue.unref(p).label.fontSize=b),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(a),modelValue:vue.unref(p).label.color,"onUpdate:modelValue":y[7]||(y[7]=b=>vue.unref(p).label.color=b)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(SettingData,{option:_.option,type:6},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"X轴",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:_.option.dataShow.x,"onUpdate:modelValue":y[8]||(y[8]=b=>_.option.dataShow.x=b),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(n).x,b=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:b.comment,label:b.comment,value:b.comment},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"Y轴",style:{width:"100%","margin-top":"10px"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:_.option.dataShow.y,"onUpdate:modelValue":y[9]||(y[9]=b=>_.option.dataShow.y=b),animation:150,handle:".sortable-handle"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(_.option.dataShow.y,(b,x)=>(vue.openBlock(),vue.createElementBlock("div",{key:b,class:"w-full sort-item"},[vue.unref(f)[b]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElColorPicker),{key:0,predefine:vue.unref(a),size:"small","show-alpha":"",modelValue:vue.unref(f)[b].itemStyle.color,"onUpdate:modelValue":C=>vue.unref(f)[b].itemStyle.color=C},null,8,["predefine","modelValue","onUpdate:modelValue"])):vue.createCommentVNode("",!0),vue.createElementVNode("span",_hoisted_1$1B,vue.toDisplayString(b),1),vue.createElementVNode("div",_hoisted_2$1l,[vue.unref(f)[b]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElDropdown),{key:0,onCommand:C=>m(C,b)},{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$1a,vue.toDisplayString(vue.unref(f)[b].type=="scatter"?"普通":"特效"),1)]),_:2},1032,["onCommand"])):vue.createCommentVNode("",!0),vue.createElementVNode("i",{onClick:C=>g(b),class:vue.normalizeClass([_.option.dataShow.hide.includes(b)?"ri-eye-off-line":"ri-eye-line","mr-2 cursor-pointer"])},null,10,_hoisted_4$16),_hoisted_5$W])]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_hoisted_1$1A={class:"flex items-center justify-end flex-1"},_hoisted_2$1k=["onClick"],_hoisted_3$19=vue.createElementVNode("i",{class:"cursor-move ri-draggable sortable-handle"},null,-1),_sfc_main$1Q=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1},bigScreen:{type:Boolean,default:!1}},setup(i){var g;const{getChartData:n}=useScreenDesign(),r=i,{proxy:o}=vue.getCurrentInstance(),a=o.$globalPreColor,l=[{label:"顶部",value:"top"},{label:"左侧",value:"left"},{label:"右侧",value:"right"},{label:"底部",value:"bottom"}],s=[{label:"多边形",value:"polygon"},{label:"圆形",value:"circle"}],{setChartData:u}=useCustomChart(),{seriesItem:c,init:d,customSeriesData:f}=useRadar();vue.ref(null);const p=vue.ref(JSON.parse(JSON.stringify(r.bigScreen?r.option.series[0]:(g=vue.unref(f))!=null&&g.type?f.value:c)));vue.watch(p,()=>v(),{deep:!0}),vue.watch([()=>r.option.dataShow.y,()=>r.option.dataShow.hide],()=>{d(r.option,()=>{v()})},{deep:!0,immediate:r.immediate}),vue.watch(()=>r.option.dataShow.x,async()=>{r.option.dataset.source=await u(r.type,r.option.dataShow.x),d(r.option,()=>{v()})});const v=()=>{const _=p.value;Object.keys(r.option.series[0]).forEach(y=>{["areaStyle","label"].includes(y)&&(r.option.series[0][y]=_[y])}),f.value={...r.option.series[0],data:[]},r.bigScreen&&(r.option.customSeriesData=f.value),window.customSeriesData=f.value},m=_=>{const{hide:y}=r.option.dataShow;y.includes(_)?y.splice(y.findIndex(b=>b==_),1):y.push(_)};return(_,y)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(SettingCommon,{option:_.option,type:4},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"雷达图配置"},{default:vue.withCtx(()=>{var b;return[vue.createVNode(_sfc_main$1Z,{name:"样式"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"背景"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:_.option.radar.splitArea.show,"onUpdate:modelValue":y[0]||(y[0]=x=>_.option.radar.splitArea.show=x)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"分割线"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:_.option.radar.splitLine.show,"onUpdate:modelValue":y[1]||(y[1]=x=>_.option.radar.splitLine.show=x)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"形状"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:_.option.radar.shape,"onUpdate:modelValue":y[2]||(y[2]=x=>_.option.radar.shape=x),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(s,x=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:x.value,label:x.label,value:x.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"坐标轴"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"轴线"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:_.option.radar.axisLine.show,"onUpdate:modelValue":y[3]||(y[3]=x=>_.option.radar.axisLine.show=x)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"刻度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:_.option.radar.axisTick.show,"onUpdate:modelValue":y[4]||(y[4]=x=>_.option.radar.axisTick.show=x)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"范围"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"最小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:_.option.radar.radius[0],"onUpdate:modelValue":y[5]||(y[5]=x=>_.option.radar.radius[0]=x),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"最大"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:_.option.radar.radius[1],"onUpdate:modelValue":y[6]||(y[6]=x=>_.option.radar.radius[1]=x),size:"small"},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"偏移"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"x"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:_.option.radar.center[0],"onUpdate:modelValue":y[7]||(y[7]=x=>_.option.radar.center[0]=x),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"y"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:_.option.radar.center[1],"onUpdate:modelValue":y[8]||(y[8]=x=>_.option.radar.center[1]=x),size:"small"},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"指示器"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:_.option.radar.axisName.show,"onUpdate:modelValue":y[9]||(y[9]=x=>_.option.radar.axisName.show=x)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:_.option.radar.axisName.fontSize,"onUpdate:modelValue":y[10]||(y[10]=x=>_.option.radar.axisName.fontSize=x),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(a),modelValue:_.option.radar.axisName.color,"onUpdate:modelValue":y[11]||(y[11]=x=>_.option.radar.axisName.color=x)},null,8,["predefine","modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(p).label.show,"onUpdate:modelValue":y[12]||(y[12]=x=>vue.unref(p).label.show=x)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:vue.unref(p).label.position,"onUpdate:modelValue":y[13]||(y[13]=x=>vue.unref(p).label.position=x),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(l,x=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:x.value,label:x.label,value:x.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(p).label.rotate,"onUpdate:modelValue":y[14]||(y[14]=x=>vue.unref(p).label.rotate=x),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(p).label.fontSize,"onUpdate:modelValue":y[15]||(y[15]=x=>vue.unref(p).label.fontSize=x),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(a),modelValue:vue.unref(p).label.color,"onUpdate:modelValue":y[16]||(y[16]=x=>vue.unref(p).label.color=x)},null,8,["predefine","modelValue"])]),_:1})]),_:1}),(b=vue.unref(p))!=null&&b.type?(vue.openBlock(),vue.createBlock(_sfc_main$1Z,{key:0,name:"系列"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"背景透明度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(p).areaStyle.opacity,"onUpdate:modelValue":y[17]||(y[17]=x=>vue.unref(p).areaStyle.opacity=x),min:0,max:1,size:"small",step:.1},null,8,["modelValue"])]),_:1})]),_:1})):vue.createCommentVNode("",!0)]}),_:1}),vue.createVNode(SettingData,{option:_.option,type:4},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"X轴",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:_.option.dataShow.x,"onUpdate:modelValue":y[18]||(y[18]=b=>_.option.dataShow.x=b),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(n).x,b=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:b.comment,label:b.comment,value:b.comment},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"Y轴",style:{width:"100%","margin-top":"10px"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:_.option.dataShow.y,"onUpdate:modelValue":y[19]||(y[19]=b=>_.option.dataShow.y=b),animation:150,handle:".sortable-handle"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(_.option.dataShow.y,(b,x)=>(vue.openBlock(),vue.createElementBlock("div",{key:b,class:"w-full sort-item"},[vue.createElementVNode("span",null,vue.toDisplayString(b),1),vue.createElementVNode("div",_hoisted_1$1A,[vue.createElementVNode("i",{onClick:C=>m(b),class:vue.normalizeClass([_.option.dataShow.hide.includes(b)?"ri-eye-off-line":"ri-eye-line","mr-2 cursor-pointer"])},null,10,_hoisted_2$1k),_hoisted_3$19])]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_hoisted_1$1z={class:"mr-2"},_hoisted_2$1j={class:"flex items-center justify-end flex-1"},_hoisted_3$18={class:"flex items-center gap-2.5"},_hoisted_4$15={class:"flex items-center gap-2.5"},_hoisted_5$V=vue.createElementVNode("i",{class:"mr-2 cursor-pointer ri-more-line"},null,-1),_hoisted_6$P=["onClick"],_hoisted_7$J=vue.createElementVNode("i",{class:"cursor-move ri-draggable sortable-handle"},null,-1),_sfc_main$1P=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1},bigScreen:{type:Boolean,default:!1}},setup(i){const n=i,{proxy:r}=vue.getCurrentInstance(),o=r.$globalPreColor;useCustomChart();const{init:a,numberConfig:l,customSeriesData:s}=useNumber();vue.ref(null);const u=vue.ref(JSON.parse(JSON.stringify(l)));vue.watch(u,()=>c(),{deep:!0}),vue.watch(()=>n.option.dataShow,()=>{a(n.option)},{deep:!0,immediate:n.immediate});const c=()=>{},d=f=>{const{hide:p=[]}=n.option.dataShow;p.includes(f)?p.splice(p.findIndex(v=>v==f),1):p.push(f),n.option.dataShow.hide=p};return(f,p)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"间距",name:"margin"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"外间距"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:f.option.margin,"onUpdate:modelValue":p[0]||(p[0]=v=>f.option.margin=v),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"内间距"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:f.option.padding,"onUpdate:modelValue":p[1]||(p[1]=v=>f.option.padding=v),size:"small"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(SettingData,{option:f.option,type:7},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:"列名"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"",style:{width:"100%","margin-top":"10px"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:f.option.dataShow.y,"onUpdate:modelValue":p[2]||(p[2]=v=>f.option.dataShow.y=v),animation:150,handle:".sortable-handle"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(f.option.dataShow.y,(v,m)=>(vue.openBlock(),vue.createElementBlock("div",{key:v,class:"w-full sort-item"},[vue.createElementVNode("span",_hoisted_1$1z,vue.toDisplayString(v),1),vue.createElementVNode("div",_hoisted_2$1j,[vue.unref(s)[v]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElPopover),{key:0,width:400,trigger:"click"},{reference:vue.withCtx(()=>[_hoisted_5$V]),default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"背景颜色"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_3$18,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(s)[v].bgColor,"onUpdate:modelValue":g=>vue.unref(s)[v].bgColor=g,size:"small"},null,8,["modelValue","onUpdate:modelValue"]),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{teleported:!1,predefine:vue.unref(o),size:"small","show-alpha":"",modelValue:vue.unref(s)[v].bgColor,"onUpdate:modelValue":g=>vue.unref(s)[v].bgColor=g},null,8,["predefine","modelValue","onUpdate:modelValue"])])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"字体颜色"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_4$15,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(s)[v].color,"onUpdate:modelValue":g=>vue.unref(s)[v].color=g,size:"small"},null,8,["modelValue","onUpdate:modelValue"]),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{teleported:!1,predefine:vue.unref(o),size:"small","show-alpha":"",modelValue:vue.unref(s)[v].color,"onUpdate:modelValue":g=>vue.unref(s)[v].color=g},null,8,["predefine","modelValue","onUpdate:modelValue"])])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"前缀"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(s)[v].prefix,"onUpdate:modelValue":g=>vue.unref(s)[v].prefix=g,size:"small",placeholder:"前缀"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"后缀"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(s)[v].suffix,"onUpdate:modelValue":g=>vue.unref(s)[v].suffix=g,size:"small",placeholder:"后缀"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"保留小数"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:vue.unref(s)[v].toFixed,"onUpdate:modelValue":g=>vue.unref(s)[v].toFixed=g,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(s)[v].fontSize,"onUpdate:modelValue":g=>vue.unref(s)[v].fontSize=g,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"隐藏标题"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(s)[v].hideLabel,"onUpdate:modelValue":g=>vue.unref(s)[v].hideLabel=g,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"标题大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(s)[v].titleFontSize,"onUpdate:modelValue":g=>vue.unref(s)[v].titleFontSize=g,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024)]),_:2},1024)):vue.createCommentVNode("",!0),vue.createElementVNode("i",{onClick:g=>d(v),class:vue.normalizeClass([(f.option.dataShow.hide??[]).includes(v)?"ri-eye-off-line":"ri-eye-line","mr-2 cursor-pointer"])},null,10,_hoisted_6$P),_hoisted_7$J])]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_hoisted_1$1y={class:"flex items-center gap-2.5"},_hoisted_2$1i={class:"flex items-center gap-2.5"},_hoisted_3$17={class:"flex items-center gap-2.5"},_hoisted_4$14={class:"mr-2"},_hoisted_5$U={class:"flex items-center justify-end flex-1"},_hoisted_6$O={class:"flex items-center gap-2.5"},_hoisted_7$I={class:"flex items-center gap-2.5"},_hoisted_8$D={class:"flex items-center gap-2.5"},_hoisted_9$x=vue.createElementVNode("i",{class:"mr-2 cursor-pointer ri-more-line"},null,-1),_hoisted_10$r=["onClick"],_hoisted_11$l=vue.createElementVNode("i",{class:"cursor-move ri-draggable sortable-handle"},null,-1),_sfc_main$1O=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1},bigScreen:{type:Boolean,default:!1}},setup(i){const n=i,{proxy:r}=vue.getCurrentInstance(),o=r.$globalPreColor,a=[{label:"靠左",value:"left"},{label:"居中",value:"center"},{label:"靠右",value:"right"}],l=[{label:"不轮播",value:"none"},{label:"单条轮播",value:"single"},{label:"整页轮播",value:"page"}];useCustomChart();const{init:s,tableConfig:u,customSeriesData:c}=useTable();vue.ref(null);const d=vue.ref(JSON.parse(JSON.stringify(u)));vue.watch(d,()=>f(),{deep:!0}),vue.watch(()=>n.option.dataShow,()=>{s(n.option)},{deep:!0,immediate:n.immediate});const f=()=>{},p=()=>{n.option.headerBGC="rgba(58, 82, 155, 0.7)",n.option.oddRowBGC="rgba(32, 59, 144, 0.6)",n.option.evenRowBGC="rgba(17, 48, 145, 0.6)",Object.keys(vue.unref(c)).forEach(g=>{c.value[g].color="#fff",c.value[g].headColor="#05D9D9"})},v=g=>{const{color:_,headColor:y}=vue.unref(c)[g];Object.keys(vue.unref(c)).forEach(b=>{b!=g&&(c.value[b].color=_,c.value[b].headColor=y)})},m=g=>{const{hide:_}=n.option.dataShow;_.includes(g)?_.splice(_.findIndex(y=>y==g),1):_.push(g)};return(g,_)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(SettingData,{option:g.option,type:8},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:"表格设置"},{right:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElLink),{type:"primary",onClick:p},{default:vue.withCtx(()=>[vue.createTextVNode("深色主题")]),_:1})]),default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"显示序号"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:n.option.showIndex,"onUpdate:modelValue":_[0]||(_[0]=y=>n.option.showIndex=y)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"序号宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:n.option.indexWidth,"onUpdate:modelValue":_[1]||(_[1]=y=>n.option.indexWidth=y),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"序号标题"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:n.option.indexHeader,"onUpdate:modelValue":_[2]||(_[2]=y=>n.option.indexHeader=y),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{min:0,modelValue:n.option.fontSize,"onUpdate:modelValue":_[3]||(_[3]=y=>n.option.fontSize=y),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"表行数"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:n.option.rowNum,"onUpdate:modelValue":_[4]||(_[4]=y=>n.option.rowNum=y),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"表头高度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:n.option.headerHeight,"onUpdate:modelValue":_[5]||(_[5]=y=>n.option.headerHeight=y),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"表头背景色"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1y,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:n.option.headerBGC,"onUpdate:modelValue":_[6]||(_[6]=y=>n.option.headerBGC=y),size:"small"},null,8,["modelValue"]),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{teleported:!1,"show-alpha":"",predefine:vue.unref(o),size:"small",modelValue:n.option.headerBGC,"onUpdate:modelValue":_[7]||(_[7]=y=>n.option.headerBGC=y)},null,8,["predefine","modelValue"])])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"奇数行背景色"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_2$1i,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:n.option.oddRowBGC,"onUpdate:modelValue":_[8]||(_[8]=y=>n.option.oddRowBGC=y),size:"small"},null,8,["modelValue"]),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{teleported:!1,"show-alpha":"",predefine:vue.unref(o),size:"small",modelValue:n.option.oddRowBGC,"onUpdate:modelValue":_[9]||(_[9]=y=>n.option.oddRowBGC=y)},null,8,["predefine","modelValue"])])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"偶数行背景色"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_3$17,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:n.option.evenRowBGC,"onUpdate:modelValue":_[10]||(_[10]=y=>n.option.evenRowBGC=y),size:"small"},null,8,["modelValue"]),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{teleported:!1,"show-alpha":"",predefine:vue.unref(o),size:"small",modelValue:n.option.evenRowBGC,"onUpdate:modelValue":_[11]||(_[11]=y=>n.option.evenRowBGC=y)},null,8,["predefine","modelValue"])])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"滚动方式",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadioGroup),{modelValue:n.option.carousel,"onUpdate:modelValue":_[12]||(_[12]=y=>n.option.carousel=y)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(l,y=>vue.createVNode(vue.unref(elementPlus.ElRadio),{key:y.value,label:y.label,value:y.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"轮播时间(s)"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:n.option.waitTime,"onUpdate:modelValue":_[13]||(_[13]=y=>n.option.waitTime=y),size:"small"},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"列名"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"",style:{width:"100%","margin-top":"10px"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:g.option.dataShow.y,"onUpdate:modelValue":_[14]||(_[14]=y=>g.option.dataShow.y=y),animation:150,handle:".sortable-handle"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(g.option.dataShow.y,(y,b)=>(vue.openBlock(),vue.createElementBlock("div",{key:y,class:"w-full sort-item"},[vue.createElementVNode("span",_hoisted_4$14,vue.toDisplayString(y),1),vue.createElementVNode("div",_hoisted_5$U,[vue.unref(c)[y]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElPopover),{key:0,width:400,trigger:"click"},{reference:vue.withCtx(()=>[_hoisted_9$x]),default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:"参数配置"},{right:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElLink),{type:"primary",onClick:x=>v(y)},{default:vue.withCtx(()=>[vue.createTextVNode("同步颜色")]),_:2},1032,["onClick"])]),default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"表头文字"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_6$O,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(c)[y].text,"onUpdate:modelValue":x=>vue.unref(c)[y].text=x,size:"small",placeholder:"不填则默认"},null,8,["modelValue","onUpdate:modelValue"])])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"数据颜色"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_7$I,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(c)[y].color,"onUpdate:modelValue":x=>vue.unref(c)[y].color=x,size:"small"},null,8,["modelValue","onUpdate:modelValue"]),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{teleported:!1,"show-alpha":"",predefine:vue.unref(o),size:"small",modelValue:vue.unref(c)[y].color,"onUpdate:modelValue":x=>vue.unref(c)[y].color=x},null,8,["predefine","modelValue","onUpdate:modelValue"])])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"表头颜色"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_8$D,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(c)[y].headColor,"onUpdate:modelValue":x=>vue.unref(c)[y].headColor=x,size:"small"},null,8,["modelValue","onUpdate:modelValue"]),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{teleported:!1,"show-alpha":"",predefine:vue.unref(o),size:"small",modelValue:vue.unref(c)[y].headColor,"onUpdate:modelValue":x=>vue.unref(c)[y].headColor=x},null,8,["predefine","modelValue","onUpdate:modelValue"])])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"对齐方式"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",size:"small",teleported:!1,modelValue:vue.unref(c)[y].textAlign,"onUpdate:modelValue":x=>vue.unref(c)[y].textAlign=x},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(a,x=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:x.value,label:x.label,value:x.value},null,8,["label","value"])),64))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:vue.unref(c)[y].width,"onUpdate:modelValue":x=>vue.unref(c)[y].width=x,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"前缀"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(c)[y].prefix,"onUpdate:modelValue":x=>vue.unref(c)[y].prefix=x,size:"small",placeholder:"前缀"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"后缀"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(c)[y].suffix,"onUpdate:modelValue":x=>vue.unref(c)[y].suffix=x,size:"small",placeholder:"后缀"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"保留小数"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:vue.unref(c)[y].toFixed,"onUpdate:modelValue":x=>vue.unref(c)[y].toFixed=x,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"统计"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(c)[y].sum,"onUpdate:modelValue":x=>vue.unref(c)[y].sum=x},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024)]),_:2},1024)):vue.createCommentVNode("",!0),vue.createElementVNode("i",{onClick:x=>m(y),class:vue.normalizeClass([g.option.dataShow.hide.includes(y)?"ri-eye-off-line":"ri-eye-line","mr-2 cursor-pointer"])},null,10,_hoisted_10$r),_hoisted_11$l])]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_hoisted_1$1x={class:"flex items-center"},_hoisted_2$1h=vue.createElementVNode("span",{class:"ml-1 mr-1"},"-",-1),_hoisted_3$16={class:"flex items-center"},_hoisted_4$13=vue.createElementVNode("span",{class:"ml-1 mr-1"},"-",-1),_sfc_main$1N=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1},bigScreen:{type:Boolean,default:!1}},setup(i){const{getChartData:n}=useScreenDesign(),r=i,{proxy:o}=vue.getCurrentInstance(),a=o.$globalPreColor,{init:l,city:s}=useMap();return vue.watch(()=>r.option.style.style1,async u=>{r.option.series[1]=u},{deep:!0,immediate:r.immediate}),vue.watch(()=>r.option.style.style2,async u=>{r.option.series[2]=u},{deep:!0,immediate:r.immediate}),(u,c)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(SettingCommon,{option:u.option,type:9},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"地图数据"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElTreeSelect),{modelValue:u.option.code,"onUpdate:modelValue":c[0]||(c[0]=d=>u.option.code=d),data:vue.unref(s),props:{label:"name",value:"code",children:"children"},onChange:c[1]||(c[1]=d=>vue.unref(l)(u.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$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:u.option.visualMap.show,"onUpdate:modelValue":c[2]||(c[2]=d=>u.option.visualMap.show=d)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"文本"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1x,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:u.option.visualMap.text[1],"onUpdate:modelValue":c[3]||(c[3]=d=>u.option.visualMap.text[1]=d),size:"small"},null,8,["modelValue"]),_hoisted_2$1h,vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:u.option.visualMap.text[0],"onUpdate:modelValue":c[4]||(c[4]=d=>u.option.visualMap.text[0]=d),size:"small"},null,8,["modelValue"])])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"最小值-最高值"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_3$16,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:u.option.visualMap.min,"onUpdate:modelValue":c[5]||(c[5]=d=>u.option.visualMap.min=d),size:"small"},null,8,["modelValue"]),_hoisted_4$13,vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:u.option.visualMap.max,"onUpdate:modelValue":c[6]||(c[6]=d=>u.option.visualMap.max=d),size:"small"},null,8,["modelValue"])])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"最小颜色-最高颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(a),modelValue:u.option.visualMap.inRange.color[0],"onUpdate:modelValue":c[7]||(c[7]=d=>u.option.visualMap.inRange.color[0]=d)},null,8,["predefine","modelValue"]),vue.createTextVNode(" - "),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(a),modelValue:u.option.visualMap.inRange.color[1],"onUpdate:modelValue":c[8]||(c[8]=d=>u.option.visualMap.inRange.color[1]=d)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"地图"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"展示标签"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:u.option.geo.label.show,"onUpdate:modelValue":c[9]||(c[9]=d=>u.option.geo.label.show=d)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"缩放"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{step:.1,modelValue:u.option.geo.zoom,"onUpdate:modelValue":c[10]||(c[10]=d=>u.option.geo.zoom=d),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:u.option.geo.label.fontSize,"onUpdate:modelValue":c[11]||(c[11]=d=>u.option.geo.label.fontSize=d),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"字体颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(a),modelValue:u.option.geo.label.color,"onUpdate:modelValue":c[12]||(c[12]=d=>u.option.geo.label.color=d)},null,8,["predefine","modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"移动效果"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"区块颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(a),"show-alpha":"",modelValue:u.option.geo.emphasis.itemStyle.areaColor,"onUpdate:modelValue":c[13]||(c[13]=d=>u.option.geo.emphasis.itemStyle.areaColor=d)},null,8,["predefine","modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"边框颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(a),"show-alpha":"",modelValue:u.option.geo.emphasis.itemStyle.borderColor,"onUpdate:modelValue":c[14]||(c[14]=d=>u.option.geo.emphasis.itemStyle.borderColor=d)},null,8,["predefine","modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"边框大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:u.option.geo.emphasis.itemStyle.borderWidth,"onUpdate:modelValue":c[15]||(c[15]=d=>u.option.geo.emphasis.itemStyle.borderWidth=d),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:u.option.geo.emphasis.label.fontSize,"onUpdate:modelValue":c[16]||(c[16]=d=>u.option.geo.emphasis.label.fontSize=d),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"字体颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(a),modelValue:u.option.geo.emphasis.label.color,"onUpdate:modelValue":c[17]||(c[17]=d=>u.option.geo.emphasis.label.color=d)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(["style1","style2"],d=>vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:d=="style1"?"散点样式":"点位样式"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"形状"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:u.option.style[d].symbol,"onUpdate:modelValue":f=>u.option.style[d].symbol=f,size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).shape,f=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:f.value,label:f.label,value:f.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:u.option.style[d].symbolSize,"onUpdate:modelValue":f=>u.option.style[d].symbolSize=f,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"形状颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(a),modelValue:u.option.style[d].itemStyle.color,"onUpdate:modelValue":f=>u.option.style[d].itemStyle.color=f},null,8,["predefine","modelValue","onUpdate:modelValue"])]),_:2},1024),u.option.style[d].label?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(_sfc_main$1Y,{name:"值显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:u.option.style[d].label.show,"onUpdate:modelValue":f=>u.option.style[d].label.show=f},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(a),modelValue:u.option.style[d].label.color,"onUpdate:modelValue":f=>u.option.style[d].label.color=f},null,8,["predefine","modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:u.option.style[d].label.fontSize,"onUpdate:modelValue":f=>u.option.style[d].label.fontSize=f,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$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"维度",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:u.option.dataShow.x,"onUpdate:modelValue":c[18]||(c[18]=d=>u.option.dataShow.x=d),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(n).x,d=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:d.comment,label:d.comment,value:d.comment},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"统计",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:u.option.dataShow.y,"onUpdate:modelValue":c[19]||(c[19]=d=>u.option.dataShow.y=d),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(n).y.filter(d=>d.aggType!="other"),d=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:d.showLabel,label:d.showLabel,value:d.showLabel},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_hoisted_1$1w={class:"mr-2"},_hoisted_2$1g={class:"flex items-center justify-end flex-1"},_hoisted_3$15={class:"flex items-center gap-2.5"},_hoisted_4$12={class:"flex items-center gap-2.5"},_hoisted_5$T={class:"flex items-center gap-2.5"},_hoisted_6$N=vue.createElementVNode("i",{class:"mr-2 cursor-pointer ri-more-line"},null,-1),_hoisted_7$H=["onClick"],_hoisted_8$C=vue.createElementVNode("i",{class:"cursor-move ri-draggable sortable-handle"},null,-1),_sfc_main$1M=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1},bigScreen:{type:Boolean,default:!1}},setup(i){const n=i,r=[{label:"横向",value:"horizontal"},{label:"纵向",value:"vertical"}],o=[{label:"直线",value:"line"},{label:"环形",value:"circle"},{label:"仪表盘",value:"dashboard"}],a=[{label:"直角",value:"butt"},{label:"圆角",value:"round"},{label:"正方形",value:"square"}],{proxy:l}=vue.getCurrentInstance(),s=l.$globalPreColor;useCustomChart();const{init:u,progressConfig:c,customSeriesData:d}=useProgress();vue.ref(null);const f=vue.ref(JSON.parse(JSON.stringify(c)));vue.watch(f,()=>p(),{deep:!0}),vue.watch(()=>n.option.dataShow,()=>{u(n.option)},{deep:!0,immediate:n.immediate});const p=()=>{},v=m=>{const{hide:g=[]}=n.option.dataShow;g.includes(m)?g.splice(g.findIndex(_=>_==m),1):g.push(m),n.option.dataShow.hide=g};return(m,g)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"间距",name:"margin"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"外间距"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:m.option.margin,"onUpdate:modelValue":g[0]||(g[0]=_=>m.option.margin=_),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"排列方向"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:m.option.direction,"onUpdate:modelValue":g[1]||(g[1]=_=>m.option.direction=_),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(r,_=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:_.value,label:_.label,value:_.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(SettingData,{option:m.option,type:10},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:"列名"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"",style:{width:"100%","margin-top":"10px"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:m.option.dataShow.y,"onUpdate:modelValue":g[2]||(g[2]=_=>m.option.dataShow.y=_),animation:150,handle:".sortable-handle"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(m.option.dataShow.y,(_,y)=>(vue.openBlock(),vue.createElementBlock("div",{key:_,class:"w-full sort-item"},[vue.createElementVNode("span",_hoisted_1$1w,vue.toDisplayString(_),1),vue.createElementVNode("div",_hoisted_2$1g,[vue.unref(d)[_]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElPopover),{key:0,width:400,trigger:"click"},{reference:vue.withCtx(()=>[_hoisted_6$N]),default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"进度条类型",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadioGroup),{modelValue:vue.unref(d)[_].type,"onUpdate:modelValue":b=>vue.unref(d)[_].type=b},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(o,b=>vue.createVNode(vue.unref(elementPlus.ElRadio),{key:b.value,label:b.label,value:b.value},null,8,["label","value"])),64))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"进度条颜色"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_3$15,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(d)[_].color,"onUpdate:modelValue":b=>vue.unref(d)[_].color=b,size:"small"},null,8,["modelValue","onUpdate:modelValue"]),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{teleported:!1,"show-alpha":"",predefine:vue.unref(s),size:"small",modelValue:vue.unref(d)[_].color,"onUpdate:modelValue":b=>vue.unref(d)[_].color=b},null,8,["predefine","modelValue","onUpdate:modelValue"])])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"背景颜色"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_4$12,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(d)[_].bgColor,"onUpdate:modelValue":b=>vue.unref(d)[_].bgColor=b,size:"small"},null,8,["modelValue","onUpdate:modelValue"]),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{teleported:!1,"show-alpha":"",predefine:vue.unref(s),size:"small",modelValue:vue.unref(d)[_].bgColor,"onUpdate:modelValue":b=>vue.unref(d)[_].bgColor=b},null,8,["predefine","modelValue","onUpdate:modelValue"])])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"进度条宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:vue.unref(d)[_].strokeWidth,"onUpdate:modelValue":b=>vue.unref(d)[_].strokeWidth=b,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),["circle","dashboard"].includes(vue.unref(d)[_].type)?(vue.openBlock(),vue.createBlock(_sfc_main$1Y,{key:0,name:"环形进度条画布宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:vue.unref(d)[_].width,"onUpdate:modelValue":b=>vue.unref(d)[_].width=b,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)):vue.createCommentVNode("",!0),["circle","dashboard"].includes(vue.unref(d)[_].type)?(vue.openBlock(),vue.createBlock(_sfc_main$1Y,{key:1,name:"两端形状",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadioGroup),{modelValue:vue.unref(d)[_].strokeLinecap,"onUpdate:modelValue":b=>vue.unref(d)[_].strokeLinecap=b},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(a,b=>vue.createVNode(vue.unref(elementPlus.ElRadio),{key:b.value,label:b.label,value:b.value},null,8,["label","value"])),64))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024)):vue.createCommentVNode("",!0),["line"].includes(vue.unref(d)[_].type)?(vue.openBlock(),vue.createBlock(_sfc_main$1Y,{key:2,name:"文字显示在进度条内"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(d)[_].textInside,"onUpdate:modelValue":b=>vue.unref(d)[_].textInside=b,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)):vue.createCommentVNode("",!0),["line"].includes(vue.unref(d)[_].type)?(vue.openBlock(),vue.createBlock(_sfc_main$1Y,{key:3,name:"条纹"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(d)[_].striped,"onUpdate:modelValue":b=>vue.unref(d)[_].striped=b,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)):vue.createCommentVNode("",!0),["line"].includes(vue.unref(d)[_].type)?(vue.openBlock(),vue.createBlock(_sfc_main$1Y,{key:4,name:"条纹流动"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(d)[_].stripedFlow,"onUpdate:modelValue":b=>vue.unref(d)[_].stripedFlow=b,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)):vue.createCommentVNode("",!0),["line"].includes(vue.unref(d)[_].type)?(vue.openBlock(),vue.createBlock(_sfc_main$1Y,{key:5,name:"流动速度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:vue.unref(d)[_].duration,"onUpdate:modelValue":b=>vue.unref(d)[_].duration=b,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)):vue.createCommentVNode("",!0),vue.createVNode(_sfc_main$1Y,{name:"前缀"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(d)[_].prefix,"onUpdate:modelValue":b=>vue.unref(d)[_].prefix=b,size:"small",placeholder:"前缀"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"后缀"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(d)[_].suffix,"onUpdate:modelValue":b=>vue.unref(d)[_].suffix=b,size:"small",placeholder:"后缀"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"保留小数"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:vue.unref(d)[_].toFixed,"onUpdate:modelValue":b=>vue.unref(d)[_].toFixed=b,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(d)[_].fontSize,"onUpdate:modelValue":b=>vue.unref(d)[_].fontSize=b,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"字体颜色"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_5$T,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(d)[_].fontColor,"onUpdate:modelValue":b=>vue.unref(d)[_].fontColor=b,size:"small"},null,8,["modelValue","onUpdate:modelValue"]),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{teleported:!1,"show-alpha":"",predefine:vue.unref(s),size:"small",modelValue:vue.unref(d)[_].fontColor,"onUpdate:modelValue":b=>vue.unref(d)[_].fontColor=b},null,8,["predefine","modelValue","onUpdate:modelValue"])])]),_:2},1024)]),_:2},1024)]),_:2},1024)):vue.createCommentVNode("",!0),vue.createElementVNode("i",{onClick:b=>v(_),class:vue.normalizeClass([(m.option.dataShow.hide??[]).includes(_)?"ri-eye-off-line":"ri-eye-line","mr-2 cursor-pointer"])},null,10,_hoisted_7$H),_hoisted_8$C])]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_hoisted_1$1v={class:"flex items-center gap-2.5"},_hoisted_2$1f={class:"flex items-center gap-2.5"},_hoisted_3$14={class:"flex items-center gap-2.5"},_hoisted_4$11={class:"flex items-center gap-2.5"},_sfc_main$1L=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1},bigScreen:{type:Boolean,default:!1}},setup(i){var p;const n=i,r=[{label:"圆形",value:"circle"},{label:"正方形",value:"rect"},{label:"带圆角正方形",value:"roundRect"},{label:"正三角形",value:"triangle"},{label:"菱形",value:"diamond"},{label:"水滴",value:"pin"},{label:"箭头",value:"arrow"}],{proxy:o}=vue.getCurrentInstance(),a=o.$globalPreColor,{getChartData:l}=useScreenDesign(),{init:s,seriesItem:u,customSeriesData:c}=useWeaterLevel();vue.ref(null);const d=vue.ref(JSON.parse(JSON.stringify((p=vue.unref(c))!=null&&p.type?c.value:u)));vue.watch(d,()=>f(),{deep:!0}),vue.watch(()=>n.option.dataShow,()=>{s(n.option)},{deep:!0,immediate:n.immediate});const f=()=>{n.option.series[0]={...vue.unref(d),data:n.option.series[0].data},n.option.customSeriesData=vue.unref(d),window.customSeriesData=vue.unref(d)};return(v,m)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"水滴图设置",name:"basic"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"形状"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(d).shape,"onUpdate:modelValue":m[0]||(m[0]=g=>vue.unref(d).shape=g),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(r,g=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:g.value,label:g.label,value:g.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(d).radius,"onUpdate:modelValue":m[1]||(m[1]=g=>vue.unref(d).radius=g),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"颜色1"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1v,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(d).color[0].colorStops[0].color,"onUpdate:modelValue":m[2]||(m[2]=g=>vue.unref(d).color[0].colorStops[0].color=g),size:"small"},null,8,["modelValue"]),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{teleported:!1,"show-alpha":"",predefine:vue.unref(a),size:"small",modelValue:vue.unref(d).color[0].colorStops[0].color,"onUpdate:modelValue":m[3]||(m[3]=g=>vue.unref(d).color[0].colorStops[0].color=g)},null,8,["predefine","modelValue"])])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"颜色2"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_2$1f,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(d).color[0].colorStops[1].color,"onUpdate:modelValue":m[4]||(m[4]=g=>vue.unref(d).color[0].colorStops[1].color=g),size:"small"},null,8,["modelValue"]),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{teleported:!1,"show-alpha":"",predefine:vue.unref(a),size:"small",modelValue:vue.unref(d).color[0].colorStops[1].color,"onUpdate:modelValue":m[5]||(m[5]=g=>vue.unref(d).color[0].colorStops[1].color=g)},null,8,["predefine","modelValue"])])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"背景颜色"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_3$14,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(d).backgroundStyle.color,"onUpdate:modelValue":m[6]||(m[6]=g=>vue.unref(d).backgroundStyle.color=g),size:"small"},null,8,["modelValue"]),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{teleported:!1,"show-alpha":"",predefine:vue.unref(a),size:"small",modelValue:vue.unref(d).backgroundStyle.color,"onUpdate:modelValue":m[7]||(m[7]=g=>vue.unref(d).backgroundStyle.color=g)},null,8,["predefine","modelValue"])])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"显示文字"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(d).label.show,"onUpdate:modelValue":m[8]||(m[8]=g=>vue.unref(d).label.show=g)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(d).label.fontSize,"onUpdate:modelValue":m[9]||(m[9]=g=>vue.unref(d).label.fontSize=g),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"字体颜色"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_4$11,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(d).label.color,"onUpdate:modelValue":m[10]||(m[10]=g=>vue.unref(d).label.color=g),size:"small"},null,8,["modelValue"]),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{teleported:!1,"show-alpha":"",predefine:vue.unref(a),size:"small",modelValue:vue.unref(d).label.color,"onUpdate:modelValue":m[11]||(m[11]=g=>vue.unref(d).label.color=g)},null,8,["predefine","modelValue"])])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"位数"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(d).toFixed,"onUpdate:modelValue":m[12]||(m[12]=g=>vue.unref(d).toFixed=g),size:"small"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(SettingData,{option:v.option,type:11},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"统计",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:v.option.dataShow.y,"onUpdate:modelValue":m[13]||(m[13]=g=>v.option.dataShow.y=g),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(l).y.filter(g=>g.aggType!="other"),g=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:g.showLabel,label:g.showLabel,value:g.showLabel},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),moudleComponents={};for(let i=0;i<=4;i+=1){let n=null;if(i==0&&(n=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})),i==1&&(n=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})),i==2&&(n=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})),i==3&&(moudleComponents[3]=_sfc_main$1V,moudleComponents[2]=_sfc_main$1T,moudleComponents[1]=_sfc_main$1U,moudleComponents[4]=_sfc_main$1Q,moudleComponents[5]=_sfc_main$1S,moudleComponents[6]=_sfc_main$1R,moudleComponents[7]=_sfc_main$1P,moudleComponents[8]=_sfc_main$1O,moudleComponents[9]=_sfc_main$1N,moudleComponents[10]=_sfc_main$1M,moudleComponents[11]=_sfc_main$1L),i==4&&(n=Object.assign({"../control/input/setting.vue":__vite_glob_3_0,"../control/select/setting.vue":__vite_glob_3_1})),n)for(const[r,o]of Object.entries(n)){const a=r.split("/")[2];moudleComponents[a]=o.default}}const _withScopeId$C=i=>(vue.pushScopeId("data-v-f289c7fe"),i=i(),vue.popScopeId(),i),_hoisted_1$1u=_withScopeId$C(()=>vue.createElementVNode("div",{class:"h-14"},null,-1)),_sfc_main$1K=vue.defineComponent({__name:"linkageChart",setup(i){const{proxy:n}=vue.getCurrentInstance(),{getWidgetList:r}=useScreenDesign(),o=vue.computed(()=>vue.unref(r).filter(u=>u.modelType=="MODEL_INDICATORS")),a=vue.inject("widgetConfig"),l=vue.computed(()=>{var g,_;const u=((_=(g=vue.unref(a))==null?void 0:g.customize)==null?void 0:_.dataShow)??{},{x:c,y:d,hide:f}=u,p=Array.isArray(c)?c:(c??"").split(","),v=Array.isArray(d)?d:(d??"").split(","),m=[...p,...v].filter(y=>y!=="").filter(y=>!(f??[]).includes(y));return m.forEach(y=>{var x,C,w,E;((C=(x=vue.unref(a))==null?void 0:x.customize)==null?void 0:C.linkage)||(vue.unref(a).customize.linkage={}),(E=(w=vue.unref(a))==null?void 0:w.customize)!=null&&E.linkage[y]||(vue.unref(a).customize.linkage[y]=[])}),m}),s=vue.ref([]);return n.$baseHttp.get("/api/ace-data-center/model-indicators/getConfJson",{params:{modelIndicatorsIds:vue.unref(o).map(u=>u.indicatorsId).toString()}}).then(u=>{s.value=[],vue.unref(o).forEach(c=>{const d=u.data.formConfJsonMap[c.indicatorsId];d&&s.value.push({label:c.name,value:c.indicatorsId,children:JSON.parse(d).map(f=>({label:f.name,value:f.key}))})})}),(u,c)=>(vue.openBlock(),vue.createBlock(_sfc_main$2D,{title:"联动组件"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(l),d=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElFormItem),{label:d},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElCascader),{style:{width:"100%"},placeholder:"请选择指标",modelValue:vue.unref(a).customize.linkage[d],"onUpdate:modelValue":f=>vue.unref(a).customize.linkage[d]=f,options:vue.unref(s).filter(f=>{var p;return f.value!=((p=vue.unref(a))==null?void 0:p.chartId)}),props:{multiple:!0},clearable:""},null,8,["modelValue","onUpdate:modelValue","options"])]),_:2},1032,["label"]))),256)),_hoisted_1$1u]),_:1}))}}),linkageChart_vue_vue_type_style_index_0_scoped_f289c7fe_lang="",LinkageChart=_export_sfc$2(_sfc_main$1K,[["__scopeId","data-v-f289c7fe"]]),_withScopeId$B=i=>(vue.pushScopeId("data-v-95224bc3"),i=i(),vue.popScopeId(),i),_hoisted_1$1t=_withScopeId$B(()=>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$1e=_withScopeId$B(()=>vue.createElementVNode("div",{class:"h-px mb-2",style:{"background-color":"var(--el-border-color-light)"}},null,-1)),_hoisted_3$13={class:"p-2"},_sfc_main$1J=vue.defineComponent({__name:"rightPannel",setup(i){const n=useScreenDesign(),r=vue.ref({});vue.provide("widgetConfig",r);const o=vue.ref(""),a=vue.computed(()=>n.targetsWidget.value.length===1?n.getWidgetList.value.find(s=>{var u;return s.id==((u=n.targetsWidget.value[0])==null?void 0:u.id)}):null);vue.watch(a,s=>{l()});const l=()=>{if(!vue.unref(a)){r.value={};return}const s=n.getWidgetList.value.find(u=>u.id==vue.unref(a).id);vue.unref(a).chartType&&(s==null?void 0:s.modelType)!="INDICATORS"&&(window.customSeriesData=s.customize.customSeriesData,n.setChartData(n.tempChartData.value[s.id].params)),r.value=s,o.value=""};return l(),(s,u)=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElScrollbar),{height:"100%"},{default:vue.withCtx(()=>{var c,d,f;return[_hoisted_1$1t,_hoisted_2$1e,((c=vue.unref(r))==null?void 0:c.modelType)=="INDICATORS"?(vue.openBlock(),vue.createBlock(_sfc_main$2A,{key:0})):(d=vue.unref(r))!=null&&d.chartType?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createVNode(_sfc_main$2A),vue.createElementVNode("div",_hoisted_3$13,[vue.createVNode(vue.unref(elementPlus.ElCollapse),{accordion:"",modelValue:vue.unref(o),"onUpdate:modelValue":u[0]||(u[0]=p=>vue.isRef(o)?o.value=p:null)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(vue.unref(moudleComponents)[vue.unref(r).chartType]),{key:vue.unref(r).id,immediate:"",option:vue.unref(r).customize,type:vue.unref(r).chartType,bigScreen:!0},null,8,["option","type"]))]),_:1},8,["modelValue"]),vue.createVNode(LinkageChart)])],64)):vue.unref(moudleComponents)[(f=vue.unref(r))==null?void 0:f.type]?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(vue.unref(moudleComponents)[vue.unref(r).type]),{key:vue.unref(r).id})):(vue.openBlock(),vue.createBlock(stagetSetting,{key:3}))]}),_:1}))}}),rightPannel_vue_vue_type_style_index_0_scoped_95224bc3_lang="",RightPannel=_export_sfc$2(_sfc_main$1J,[["__scopeId","data-v-95224bc3"]]),_hoisted_1$1s={class:"flex flex-col overflow-hidden ace-big-screen"},_hoisted_2$1d={class:"h-10 top-pannel"},_hoisted_3$12={class:"relative flex flex-1"},_hoisted_4$10={class:"left-pannel"},_hoisted_5$S={class:"flex-1 p-2 overflow-hidden",id:"design-container"},_hoisted_6$M={class:"relative w-full h-full"},_hoisted_7$G={key:0,class:"right-pannel w-80"},_sfc_main$1I=vue.defineComponent({__name:"design",emits:["preview","save"],setup(i,{expose:n,emit:r}){const o=r,{proxy:a}=vue.getCurrentInstance(),{createLoading:l,theme:s,widgetConfg:u,clearSketchRuleLine:c,setRightPannel:d,setStageWidth:f,setStageHeight:p,getRightPannel:v}=useScreenDesign(),m=vue.ref(!1),g=vue.ref(""),_=vue.ref("");return vue.watch(m,b=>{b?document.getElementsByTagName("html")[0].className=vue.unref(s):document.getElementsByTagName("html")[0].className=""}),n({init:async(b="",x="")=>{if(_.value=b,g.value="大屏管理",m.value=!0,u.value={config:{},list:[]},c(),d(!1),b){const C=await a.$baseHttp.get("/api/ace-data-center/screen/detail",{params:{id:b},headers:{loading:!0}});g.value=C.data.title,u.value=chartJsonFormat(C.data.config),x==="COPY"&&(_.value="")}f(u.value.config.stageWidth??1920),p(u.value.config.stageHeight??1080)}}),(b,x)=>{const C=vue.resolveComponent("AppDrawer");return vue.openBlock(),vue.createBlock(C,{modelValue:vue.unref(m),"onUpdate:modelValue":x[4]||(x[4]=w=>vue.isRef(m)?m.value=w: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$1s,[vue.createElementVNode("div",_hoisted_2$1d,[vue.createVNode(TopPannel,{title:vue.unref(g),"onUpdate:title":x[0]||(x[0]=w=>vue.isRef(g)?g.value=w:null),id:vue.unref(_),onPreview:x[1]||(x[1]=w=>o("preview",w)),onSave:x[2]||(x[2]=w=>{_.value=w,o("save")}),onBack:x[3]||(x[3]=()=>m.value=!1)},null,8,["title","id"])]),vue.createElementVNode("div",_hoisted_3$12,[vue.createElementVNode("div",_hoisted_4$10,[vue.createVNode(LeftPannel)]),vue.createElementVNode("div",_hoisted_5$S,[vue.createElementVNode("div",_hoisted_6$M,[vue.createVNode(Main)])]),vue.unref(v)?(vue.openBlock(),vue.createElementBlock("div",_hoisted_7$G,[vue.createVNode(RightPannel)])):vue.createCommentVNode("",!0)])])),[[vue.unref(elementPlus.vLoading),vue.unref(l)]])]),_:1},8,["modelValue"])}}}),design_vue_vue_type_style_index_0_lang="",_withScopeId$A=i=>(vue.pushScopeId("data-v-144f5695"),i=i(),vue.popScopeId(),i),_hoisted_1$1r={key:1,class:"flex flex-wrap items-center justify-between"},_hoisted_2$1c={class:"item-container"},_hoisted_3$11={class:"item-image"},_hoisted_4$$=["src"],_hoisted_5$R=["onClick"],_hoisted_6$L=_withScopeId$A(()=>vue.createElementVNode("span",{class:"text-base text-white cursor-pointer"},"预览大屏",-1)),_hoisted_7$F=[_hoisted_6$L],_hoisted_8$B={class:"flex items-center justify-between item-footer"},_hoisted_9$w={class:"flex"},_hoisted_10$q=["onClick"],_hoisted_11$k=_withScopeId$A(()=>vue.createElementVNode("i",{class:"mr-1 ri-edit-line"},null,-1)),_hoisted_12$h=["onClick"],_hoisted_13$f=_withScopeId$A(()=>vue.createElementVNode("i",{class:"mr-1 ri-file-copy-line"},null,-1)),_hoisted_14$d=["onClick"],_hoisted_15$7=_withScopeId$A(()=>vue.createElementVNode("i",{class:"mr-1 ri-delete-bin-line"},null,-1)),_hoisted_16$6=_withScopeId$A(()=>vue.createElementVNode("div",{class:"item"},null,-1)),_hoisted_17$5=_withScopeId$A(()=>vue.createElementVNode("div",{class:"item"},null,-1)),_sfc_main$1H=vue.defineComponent({__name:"index",emits:["preview","auto-play"],setup(i,{emit:n}){const r=n,{proxy:o}=vue.getCurrentInstance(),{resetUrl:a}=o.$globalUtils,l=vue.ref(null),s=vue.ref(null),u=vue.reactive([{name:"新增",key:"ADD",type:"primary"},{name:"自动播放",key:"AUTO-PLAY",type:"primary"}]),c=vue.reactive([{name:"名称",type:FieldType.Text,fieldName:"title",value:""}]),d=async f=>{const{type:p,row:v}=f;switch(p){case"PREVIEW":r("preview","list",(v==null?void 0:v.id)??"");break;case"AUTO-PLAY":r("auto-play");break;case"ADD":case"EDIT":case"COPY":vue.unref(s).init((v==null?void 0:v.id)??"",p);break;case"DEL":o.$baseConfirm({content:"是否确定删除",callConfirm:async()=>{await o.$baseHttp.post("/api/ace-data-center/screen/remove",{},{params:{ids:v.id},headers:{loading:!0}})&&(o.$message({type:"success",message:"删除成功",plain:!0}),vue.unref(l).getData())}});break}};return(f,p)=>{const v=vue.resolveComponent("AppEmpty"),m=vue.resolveComponent("AppList");return vue.openBlock(),vue.createBlock(m,{url:`/api/ace-data-center/screen/list?descs=create_time&projectId=${vue.unref(o).$baseGetCurrentProjectId()}`,tableData:[],searchForm:vue.unref(c),searchBtns:vue.unref(u),listType:"custom",onBtnClick:d,ref_key:"appListRef",ref:l},{"list-slot":vue.withCtx(({list:g,loading:_})=>[vue.createVNode(vue.unref(elementPlus.ElSkeleton),{loading:_,animated:""},{default:vue.withCtx(()=>[g.length==0?(vue.openBlock(),vue.createBlock(v,{key:0,description:"暂无数据"})):(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1r,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(g,(y,b)=>(vue.openBlock(),vue.createElementBlock("div",{key:b,class:"item"},[vue.createElementVNode("div",_hoisted_2$1c,[vue.createElementVNode("div",_hoisted_3$11,[vue.createElementVNode("img",{src:vue.unref(a)(y.imageUrl??"")||"https://fuss10.elemecdn.com/d/e6/c4d93a3805b3ce3f323f7974e6f78jpeg.jpeg"},null,8,_hoisted_4$$),vue.createElementVNode("div",{class:"flex items-center justify-center item-popup",onClick:x=>d({type:"PREVIEW",row:y,index:b})},_hoisted_7$F,8,_hoisted_5$R)]),vue.createElementVNode("div",_hoisted_8$B,[vue.createElementVNode("div",null,vue.toDisplayString(y.title),1),vue.createElementVNode("div",_hoisted_9$w,[vue.createElementVNode("span",{onClick:x=>d({type:"EDIT",row:y,index:b}),class:"flex items-center text-xs text-gray-600 cursor-pointer"},[_hoisted_11$k,vue.createTextVNode(" 编辑大屏 ")],8,_hoisted_10$q),vue.createElementVNode("span",{onClick:x=>d({type:"COPY",row:y,index:b}),class:"flex items-center ml-2 text-xs text-gray-600 cursor-pointer"},[_hoisted_13$f,vue.createTextVNode(" 复制 ")],8,_hoisted_12$h),vue.createElementVNode("span",{onClick:x=>d({type:"DEL",row:y,index:b}),class:"flex items-center ml-2 text-xs cursor-pointer text-color-danger"},[_hoisted_15$7,vue.createTextVNode(" 删除 ")],8,_hoisted_14$d)])])])]))),128)),_hoisted_16$6,_hoisted_17$5]))]),_:2},1032,["loading"])]),default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{ref_key:"designRef",ref:s,onSave:p[0]||(p[0]=g=>vue.unref(l).getData()),onPreview:p[1]||(p[1]=g=>r("preview","content",g))},null,512)]),_:1},8,["url","searchForm","searchBtns"])}}}),index_vue_vue_type_style_index_0_scoped_144f5695_lang="",aceBigScreen=_export_sfc$2(_sfc_main$1H,[["__scopeId","data-v-144f5695"]]);let currRenderDom=null,currelRectification="",currelRectificationLevel="",currelRectificationIsKeepRatio="",resizeListener=null,timer=null,currScale=1,isElRectification=!1;const autofit={isAutofitRunnig:!1,init(i={},n=!0){n&&console.log("autofit.js is running");const{dw:r=1920,dh:o=1080,el:a=typeof i=="string"?i:"body",resize:l=!0,ignore:s=[],transition:u="none",delay:c=0,limit:d=.1}=i;currRenderDom=a;let f=document.querySelector(a);if(!f){console.error(`autofit: '${a}' is not exist`);return}const p=document.createElement("style"),v=document.createElement("style");p.lang="text/css",v.lang="text/css",p.id="autofit-style",v.id="ignoreStyle",p.innerHTML="body {overflow: hidden;}";const m=document.querySelector("body");m.appendChild(p),m.appendChild(v),f.style.height=`${o}px`,f.style.width=`${r}px`,f.style.transformOrigin="0 0",f.style.overflow="hidden",keepFit(r,o,f,s,d),resizeListener=()=>{clearTimeout(timer),c!=0?timer=setTimeout(()=>{keepFit(r,o,f,s,d),isElRectification&&elRectification(currelRectification,currelRectificationIsKeepRatio,currelRectificationLevel)},c):(keepFit(r,o,f,s,d),isElRectification&&elRectification(currelRectification,currelRectificationIsKeepRatio,currelRectificationLevel))},l&&window.addEventListener("resize",resizeListener),this.isAutofitRunnig=!0,setTimeout(()=>{f.style.transition=`${u}s`})},off(i="body"){try{isElRectification=!1,window.removeEventListener("resize",resizeListener),document.querySelector("#autofit-style").remove();const n=document.querySelector("#ignoreStyle");n&&n.remove(),document.querySelector(currRenderDom||i).style="",isElRectification&&offelRectification()}catch(n){console.error("autofit: Failed to remove normally",n),this.isAutofitRunnig=!1}this.isAutofitRunnig&&console.log("autofit.js is off")}};function elRectification(i,n=!0,r=1){autofit.isAutofitRunnig||console.error("autofit.js:autofit has not been initialized yet"),!i&&console.error(`autofit.js:bad selector: ${i}`),currelRectification=i,currelRectificationLevel=r,currelRectificationIsKeepRatio=n;const o=document.querySelectorAll(i);if(o.length==0){console.error("autofit.js:elRectification found no element");return}for(let a of o){let l=currScale==1?1:currScale*r;isElRectification||(a.originalWidth=a.clientWidth,a.originalHeight=a.clientHeight),n?(a.style.width=`${a.originalWidth*l}px`,a.style.height=`${a.originalHeight*l}px`):(a.style.width=`${100*l}%`,a.style.height=`${100*l}%`),a.style.transform=`scale(${1/currScale})`,a.style.transformOrigin="0 0"}isElRectification=!0}function offelRectification(){if(currelRectification)for(let i of document.querySelectorAll(currelRectification))i.style.width="",i.style.height="",i.style.transform=""}function keepFit(i,n,r,o,a){let l=document.documentElement.clientHeight,s=document.documentElement.clientWidth;currScale=s/l<i/n?s/i:l/n,currScale=Math.abs(1-currScale)>a?currScale.toFixed(2):1;let u=Math.round(l/currScale),c=Math.round(s/currScale);r.style.height=`${u}px`,r.style.width=`${c}px`,r.style.transform=`scale(${currScale})`;const d=document.querySelector("#ignoreStyle");d.innerHTML="";for(let f of o){let p=f.el||f.dom;if(typeof f=="string"&&(p=f),!p){console.error(`autofit: bad selector: ${p}`);continue}let v=f.scale?f.scale:1/currScale,m=v!=currScale?f.fontSize:"autofit",g=v!=currScale?f.width:"autofit",_=v!=currScale?f.height:"autofit";new RegExp(`${p}( |{)`,"gm").test(d.innerHTML)||(d.innerHTML+=`
508
+ `},null),vue.createVNode("path",{fill:"transparent","stroke-width":"3","stroke-linecap":"round","stroke-dasharray":"10, 5",stroke:o[0],d:"M 16 9 L 61 9"},null),vue.createVNode("path",{fill:"transparent",stroke:o[1],d:"M 5 20 L 5 10 L 12 3 L 60 3 L 68 10"},null),vue.createVNode("path",{fill:"transparent",stroke:o[1],d:`M ${n-5} ${r-30} L ${n-5} ${r-5} L ${n-30} ${r-5}`},null)]),vue.createVNode("div",{class:"border-box-content"},[vue.renderSlot(i,"default")])])}}),_sfc_main$3c=vue.defineComponent({__name:"index",props:{config:{default:()=>({w:0,h:0,customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.computed(()=>{var o,a;return(o=n.config.customize)!=null&&o.decorationColor1||(a=n.config.customize)!=null&&a.decorationColor2?[n.config.customize.decorationColor1,n.config.customize.decorationColor2]:[]});return(o,a)=>{var l,s;return vue.openBlock(),vue.createBlock(vue.unref(Fs),{color:vue.unref(r),ref:"customRef",style:vue.normalizeStyle({width:`${((l=n.config)==null?void 0:l.w)-10}px`,height:`${((s=n.config)==null?void 0:s.h)-10}px`})},null,8,["color","style"])}}}),__vite_glob_0_0$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$3c},Symbol.toStringTag,{value:"Module"})),_sfc_main$3b=vue.defineComponent({__name:"index",props:{config:{default:()=>({w:0,h:0,customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.computed(()=>{var o,a;return(o=n.config.customize)!=null&&o.decorationColor1||(a=n.config.customize)!=null&&a.decorationColor2?[n.config.customize.decorationColor1,n.config.customize.decorationColor2]:[]});return(o,a)=>{var l,s;return vue.openBlock(),vue.createBlock(vue.unref(ec),{color:vue.unref(r),ref:"customRef",style:vue.normalizeStyle({width:`${((l=n.config)==null?void 0:l.w)-10}px`,height:`${((s=n.config)==null?void 0:s.h)-10}px`})},null,8,["color","style"])}}}),__vite_glob_0_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$3b},Symbol.toStringTag,{value:"Module"})),_sfc_main$3a=vue.defineComponent({__name:"index",props:{config:{default:()=>({w:0,h:0,customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.computed(()=>{var o,a;return(o=n.config.customize)!=null&&o.decorationColor1||(a=n.config.customize)!=null&&a.decorationColor2?[n.config.customize.decorationColor1,n.config.customize.decorationColor2]:[]});return(o,a)=>{var l,s;return vue.openBlock(),vue.createBlock(vue.unref(cc),{color:vue.unref(r),ref:"customRef",style:vue.normalizeStyle({width:`${((l=n.config)==null?void 0:l.w)-10}px`,height:`${((s=n.config)==null?void 0:s.h)-10}px`})},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(n.config.customize.title),1)]),_:1},8,["color","style"])}}}),__vite_glob_0_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$3a},Symbol.toStringTag,{value:"Module"}));function useRefresh(i,n){const r=vue.ref(null),o=vue.computed(()=>JSON.parse(JSON.stringify(i)));return vue.watch(o,(a,l)=>{var s;(a.w!==l.w||a.h!==l.h)&&(vue.unref(r)&&vue.unref(r).initWH&&((s=vue.unref(r))==null||s.initWH()),n&&n())},{deep:!0}),{customRef:r}}const _sfc_main$39=vue.defineComponent({__name:"index",props:{config:{default:()=>({w:0,h:0,customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.ref(!0),o=vue.computed(()=>{var s,u;return(s=n.config.customize)!=null&&s.decorationColor1||(u=n.config.customize)!=null&&u.decorationColor2?[n.config.customize.decorationColor1,n.config.customize.decorationColor2]:[]}),a=useDebounceFn(()=>{r.value=!1,setTimeout(()=>r.value=!0)},300),{customRef:l}=useRefresh(n.config,()=>{a()});return(s,u)=>vue.unref(r)?(vue.openBlock(),vue.createBlock(vue.unref(Ac),{key:0,color:vue.unref(o),scanDuration:s.config.customize.scanDuration,haloDuration:s.config.customize.haloDuration,ref_key:"customRef",ref:l},null,8,["color","scanDuration","haloDuration"])):vue.createCommentVNode("",!0)}}),__vite_glob_0_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$39},Symbol.toStringTag,{value:"Module"})),_sfc_main$38=vue.defineComponent({__name:"index",props:{config:{default:()=>({w:0,h:0,customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.computed(()=>{var o,a;return(o=n.config.customize)!=null&&o.decorationColor1||(a=n.config.customize)!=null&&a.decorationColor2?[n.config.customize.decorationColor1,n.config.customize.decorationColor2]:[]});return(o,a)=>{var l,s;return vue.openBlock(),vue.createBlock(vue.unref(zs),{color:vue.unref(r),duration:o.config.customize.duration,reverse:o.config.customize.reverse,ref:"customRef",style:vue.normalizeStyle({width:`${((l=n.config)==null?void 0:l.w)-10}px`,height:`${((s=n.config)==null?void 0:s.h)-10}px`})},null,8,["color","duration","reverse","style"])}}}),__vite_glob_0_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$38},Symbol.toStringTag,{value:"Module"})),_sfc_main$37=vue.defineComponent({__name:"index",props:{config:{default:()=>({w:0,h:0,customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.computed(()=>{var o,a;return(o=n.config.customize)!=null&&o.decorationColor1||(a=n.config.customize)!=null&&a.decorationColor2?[n.config.customize.decorationColor1,n.config.customize.decorationColor2]:[]});return(o,a)=>{var l,s;return vue.openBlock(),vue.createBlock(vue.unref(Vs),{color:vue.unref(r),ref:"customRef",style:vue.normalizeStyle({width:`${((l=n.config)==null?void 0:l.w)-10}px`,height:`${((s=n.config)==null?void 0:s.h)-10}px`})},null,8,["color","style"])}}}),__vite_glob_0_5$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$37},Symbol.toStringTag,{value:"Module"})),_sfc_main$36=vue.defineComponent({__name:"index",props:{config:{default:()=>({w:0,h:0,customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.computed(()=>{var o,a;return(o=n.config.customize)!=null&&o.decorationColor1||(a=n.config.customize)!=null&&a.decorationColor2?[n.config.customize.decorationColor1,n.config.customize.decorationColor2]:[]});return(o,a)=>{var l,s;return vue.openBlock(),vue.createBlock(vue.unref(Ys),{color:vue.unref(r),duration:o.config.customize.duration,reverse:o.config.customize.reverse,ref:"customRef",style:vue.normalizeStyle({width:`${((l=n.config)==null?void 0:l.w)-10}px`,height:`${((s=n.config)==null?void 0:s.h)-10}px`})},null,8,["color","duration","reverse","style"])}}}),__vite_glob_0_6$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$36},Symbol.toStringTag,{value:"Module"})),_sfc_main$35=vue.defineComponent({__name:"index",props:{config:{default:()=>({w:0,h:0,customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.computed(()=>{var o,a;return(o=n.config.customize)!=null&&o.decorationColor1||(a=n.config.customize)!=null&&a.decorationColor2?[n.config.customize.decorationColor1,n.config.customize.decorationColor2]:[]});return(o,a)=>{var l,s;return vue.openBlock(),vue.createBlock(vue.unref(ru),{color:vue.unref(r),duration:o.config.customize.duration,ref:"customRef",style:vue.normalizeStyle({width:`${((l=n.config)==null?void 0:l.w)-10}px`,height:`${((s=n.config)==null?void 0:s.h)-10}px`})},null,8,["color","duration","style"])}}}),__vite_glob_0_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$35},Symbol.toStringTag,{value:"Module"})),_sfc_main$34=vue.defineComponent({__name:"index",props:{config:{default:()=>({w:0,h:0,customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.computed(()=>{var o,a;return(o=n.config.customize)!=null&&o.decorationColor1||(a=n.config.customize)!=null&&a.decorationColor2?[n.config.customize.decorationColor1,n.config.customize.decorationColor2]:[]});return(o,a)=>{var l,s;return vue.openBlock(),vue.createBlock(vue.unref(lu),{color:vue.unref(r),ref:"customRef",style:vue.normalizeStyle({width:`${((l=n.config)==null?void 0:l.w)-10}px`,height:`${((s=n.config)==null?void 0:s.h)-10}px`})},null,8,["color","style"])}}}),__vite_glob_0_8$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$34},Symbol.toStringTag,{value:"Module"})),_sfc_main$33=vue.defineComponent({__name:"index",props:{config:{default:()=>({w:0,h:0,customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.computed(()=>{var o,a;return(o=n.config.customize)!=null&&o.decorationColor1||(a=n.config.customize)!=null&&a.decorationColor2?[n.config.customize.decorationColor1,n.config.customize.decorationColor2]:[]});return(o,a)=>{var l,s;return vue.openBlock(),vue.createBlock(vue.unref(xu),{color:vue.unref(r),reverse:o.config.customize.reverse,ref:"customRef",style:vue.normalizeStyle({width:`${((l=n.config)==null?void 0:l.w)-10}px`,height:`${((s=n.config)==null?void 0:s.h)-10}px`})},null,8,["color","reverse","style"])}}}),__vite_glob_0_9$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$33},Symbol.toStringTag,{value:"Module"})),_sfc_main$32=vue.defineComponent({__name:"index",props:{config:{default:()=>({w:0,h:0,customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.computed(()=>{var o,a;return(o=n.config.customize)!=null&&o.decorationColor1||(a=n.config.customize)!=null&&a.decorationColor2?[n.config.customize.decorationColor1,n.config.customize.decorationColor2]:[]});return(o,a)=>{var l,s;return vue.openBlock(),vue.createBlock(vue.unref(Gu),{color:vue.unref(r),reverse:o.config.customize.duration,ref:"customRef",style:vue.normalizeStyle({width:`${((l=n.config)==null?void 0:l.w)-10}px`,height:`${((s=n.config)==null?void 0:s.h)-10}px`})},null,8,["color","reverse","style"])}}}),__vite_glob_0_10$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$32},Symbol.toStringTag,{value:"Module"})),_sfc_main$31=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.computed(()=>{var a,l;return(a=n.config.customize)!=null&&a.borderMainColor||(l=n.config.customize)!=null&&l.borderSecondaryColor?[n.config.customize.borderMainColor,n.config.customize.borderSecondaryColor]:[]}),{customRef:o}=useRefresh(n.config);return(a,l)=>{var s;return vue.openBlock(),vue.createBlock(vue.unref(Oc),{color:vue.unref(r),backgroundColor:(s=n.config)==null?void 0:s.customize.backgroundColor,ref_key:"customRef",ref:o},null,8,["color","backgroundColor"])}}}),__vite_glob_1_0$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$31},Symbol.toStringTag,{value:"Module"})),_sfc_main$30=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.computed(()=>{var a,l;return(a=n.config.customize)!=null&&a.borderMainColor||(l=n.config.customize)!=null&&l.borderSecondaryColor?[n.config.customize.borderMainColor,n.config.customize.borderSecondaryColor]:[]}),{customRef:o}=useRefresh(n.config);return(a,l)=>{var s;return vue.openBlock(),vue.createBlock(vue.unref(Jc),{color:vue.unref(r),backgroundColor:(s=n.config)==null?void 0:s.customize.backgroundColor,ref_key:"customRef",ref:o},null,8,["color","backgroundColor"])}}}),__vite_glob_1_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$30},Symbol.toStringTag,{value:"Module"})),_sfc_main$2$=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.computed(()=>{var a,l;return(a=n.config.customize)!=null&&a.borderMainColor||(l=n.config.customize)!=null&&l.borderSecondaryColor?[n.config.customize.borderMainColor,n.config.customize.borderSecondaryColor]:[]}),{customRef:o}=useRefresh(n.config);return(a,l)=>{var s,u,c;return vue.openBlock(),vue.createBlock(vue.unref(ef),{color:vue.unref(r),title:(s=n.config)==null?void 0:s.customize.title,titleWidth:(u=n.config)==null?void 0:u.customize.titleWidth,backgroundColor:(c=n.config)==null?void 0:c.customize.backgroundColor,ref_key:"customRef",ref:o},null,8,["color","title","titleWidth","backgroundColor"])}}}),__vite_glob_1_2$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2$},Symbol.toStringTag,{value:"Module"})),_sfc_main$2_=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.computed(()=>{var a,l;return(a=n.config.customize)!=null&&a.borderMainColor||(l=n.config.customize)!=null&&l.borderSecondaryColor?[n.config.customize.borderMainColor,n.config.customize.borderSecondaryColor]:[]}),{customRef:o}=useRefresh(n.config);return(a,l)=>{var s;return vue.openBlock(),vue.createBlock(vue.unref(tf),{color:vue.unref(r),backgroundColor:(s=n.config)==null?void 0:s.customize.backgroundColor,ref_key:"customRef",ref:o},null,8,["color","backgroundColor"])}}}),__vite_glob_1_3$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2_},Symbol.toStringTag,{value:"Module"})),_sfc_main$2Z=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(i){const n=i,r=vue.computed(()=>{var a,l;return(a=n.config.customize)!=null&&a.borderMainColor||(l=n.config.customize)!=null&&l.borderSecondaryColor?[n.config.customize.borderMainColor,n.config.customize.borderSecondaryColor]:[]}),{customRef:o}=useRefresh(n.config);return(a,l)=>{var s;return vue.openBlock(),vue.createBlock(vue.unref(nf),{color:vue.unref(r),backgroundColor:(s=n.config)==null?void 0:s.customize.backgroundColor,ref_key:"customRef",ref:o},null,8,["color","backgroundColor"])}}}),__vite_glob_1_4$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(i){const n=i,r=vue.computed(()=>{var a,l;return(a=n.config.customize)!=null&&a.borderMainColor||(l=n.config.customize)!=null&&l.borderSecondaryColor?[n.config.customize.borderMainColor,n.config.customize.borderSecondaryColor]:[]}),{customRef:o}=useRefresh(n.config);return(a,l)=>{var s;return vue.openBlock(),vue.createBlock(vue.unref(Mc),{color:vue.unref(r),backgroundColor:(s=n.config)==null?void 0:s.customize.backgroundColor,ref_key:"customRef",ref:o},null,8,["color","backgroundColor"])}}}),__vite_glob_1_5$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(i){const n=i,r=vue.computed(()=>{var a,l;return(a=n.config.customize)!=null&&a.borderMainColor||(l=n.config.customize)!=null&&l.borderSecondaryColor?[n.config.customize.borderMainColor,n.config.customize.borderSecondaryColor]:[]}),{customRef:o}=useRefresh(n.config);return(a,l)=>{var s;return vue.openBlock(),vue.createBlock(vue.unref(Dc),{color:vue.unref(r),backgroundColor:(s=n.config)==null?void 0:s.customize.backgroundColor,ref_key:"customRef",ref:o},null,8,["color","backgroundColor"])}}}),__vite_glob_1_6$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(i){const n=i,r=vue.computed(()=>{var a,l;return(a=n.config.customize)!=null&&a.borderMainColor||(l=n.config.customize)!=null&&l.borderSecondaryColor?[n.config.customize.borderMainColor,n.config.customize.borderSecondaryColor]:[]}),{customRef:o}=useRefresh(n.config);return(a,l)=>{var s,u;return vue.openBlock(),vue.createBlock(vue.unref(Bc),{color:vue.unref(r),backgroundColor:(s=n.config)==null?void 0:s.customize.backgroundColor,reverse:(u=n.config)==null?void 0:u.customize.reverse,ref_key:"customRef",ref:o},null,8,["color","backgroundColor","reverse"])}}}),__vite_glob_1_7$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(i){const n=i,r=vue.computed(()=>{var a,l;return(a=n.config.customize)!=null&&a.borderMainColor||(l=n.config.customize)!=null&&l.borderSecondaryColor?[n.config.customize.borderMainColor,n.config.customize.borderSecondaryColor]:[]}),{customRef:o}=useRefresh(n.config);return(a,l)=>{var s,u;return vue.openBlock(),vue.createBlock(vue.unref(jc),{color:vue.unref(r),backgroundColor:(s=n.config)==null?void 0:s.customize.backgroundColor,reverse:(u=n.config)==null?void 0:u.customize.reverse,ref_key:"customRef",ref:o},null,8,["color","backgroundColor","reverse"])}}}),__vite_glob_1_8$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(i){const n=i,r=vue.computed(()=>{var a,l;return(a=n.config.customize)!=null&&a.borderMainColor||(l=n.config.customize)!=null&&l.borderSecondaryColor?[n.config.customize.borderMainColor,n.config.customize.borderSecondaryColor]:[]}),{customRef:o}=useRefresh(n.config);return(a,l)=>{var s;return vue.openBlock(),vue.createBlock(vue.unref(zc),{color:vue.unref(r),backgroundColor:(s=n.config)==null?void 0:s.customize.backgroundColor,ref_key:"customRef",ref:o},null,8,["color","backgroundColor"])}}}),__vite_glob_1_9$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(i){const n=i,r=vue.computed(()=>{var a,l;return(a=n.config.customize)!=null&&a.borderMainColor||(l=n.config.customize)!=null&&l.borderSecondaryColor?[n.config.customize.borderMainColor,n.config.customize.borderSecondaryColor]:[]}),{customRef:o}=useRefresh(n.config);return(a,l)=>{var s;return vue.openBlock(),vue.createBlock(vue.unref(Ic),{color:vue.unref(r),backgroundColor:(s=n.config)==null?void 0:s.customize.backgroundColor,ref_key:"customRef",ref:o},null,8,["color","backgroundColor"])}}}),__vite_glob_1_10$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(i){const n=i,r=vue.computed(()=>{var a,l;return(a=n.config.customize)!=null&&a.borderMainColor||(l=n.config.customize)!=null&&l.borderSecondaryColor?[n.config.customize.borderMainColor,n.config.customize.borderSecondaryColor]:[]}),{customRef:o}=useRefresh(n.config);return(a,l)=>{var s,u,c;return vue.openBlock(),vue.createBlock(vue.unref(Uc),{color:vue.unref(r),backgroundColor:(s=n.config)==null?void 0:s.customize.backgroundColor,reverse:(u=n.config)==null?void 0:u.customize.reverse,duration:(c=n.config)==null?void 0:c.customize.duration,ref_key:"customRef",ref:o},null,8,["color","backgroundColor","reverse","duration"])}}}),__vite_glob_1_11$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(i){const n=i,r=vue.computed(()=>{var a,l;return(a=n.config.customize)!=null&&a.borderMainColor||(l=n.config.customize)!=null&&l.borderSecondaryColor?[n.config.customize.borderMainColor,n.config.customize.borderSecondaryColor]:[]}),{customRef:o}=useRefresh(n.config);return(a,l)=>{var s;return vue.openBlock(),vue.createBlock(vue.unref(Qc),{color:vue.unref(r),backgroundColor:(s=n.config)==null?void 0:s.customize.backgroundColor,ref_key:"customRef",ref:o},null,8,["color","backgroundColor"])}}}),__vite_glob_1_12$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(i){const n=i,r=vue.computed(()=>n.config.customize.width+"px"),o=vue.computed(()=>n.config.customize.borderGap+"px"),a=vue.computed(()=>{const l=n.config.customize.gradientColor0,s=n.config.customize.gradientColor1;return`linear-gradient(to bottom, ${n.config.customize.borderType=="dashed"?"transparent 0%,transparent 50%,":""} ${l||s} 50%, ${s||l} 100%)`});return(l,s)=>(vue.openBlock(),vue.createElementBlock("div",{style:vue.normalizeStyle({width:vue.unref(r),"background-image":vue.unref(a),"background-repeat":"repeat-y","background-size":n.config.customize.borderType=="dashed"?`${vue.unref(r)} ${vue.unref(o)}`:""}),class:"h-full"},null,4))}}),__vite_glob_2_0$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2Q},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1V=["src"],_sfc_main$2P=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]}},setup(i){const n=i;return(r,o)=>(vue.openBlock(),vue.createElementBlock("iframe",{src:n.config.customize.url,class:"w-full h-full border-0"},null,8,_hoisted_1$1V))}}),__vite_glob_2_1$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(i){const{proxy:n}=vue.getCurrentInstance(),{resetUrl:r}=n.$globalUtils,o=i;return(a,l)=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElImage),{class:"w-full h-full",src:vue.unref(r)(o.config.customize.url),fit:o.config.customize.fit},null,8,["src","fit"]))}}),__vite_glob_2_2$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(i){const n=i,r=vue.computed(()=>`-webkit-linear-gradient(${n.config.customize.colorPosition}, ${n.config.customize.startColor}, ${n.config.customize.endColor}`),o=vue.computed(()=>`-webkit-linear-gradient(${n.config.customize.bgColorPosition}, ${n.config.customize.startBgColor}, ${n.config.customize.endBgColor}`);return(a,l)=>(vue.openBlock(),vue.createElementBlock("div",{style:vue.normalizeStyle({...n.config.customize,fontSize:n.config.customize.fontSize+"px",letterSpacing:n.config.customize.letterSpacing+"px",backgroundImage:vue.unref(r),"-webkit-background-clip":"text","-webkit-text-fill-color":"transparent",display:"flex",alignItems:"center",justifyContent:n.config.customize.textAlign??"center",width:"100%",height:"100%"})},[vue.createTextVNode(vue.toDisplayString(n.config.customize.title)+" ",1),vue.createElementVNode("div",{class:"absolute top-0 left-0 w-full h-full",style:vue.normalizeStyle({backgroundImage:vue.unref(o),borderRadius:n.config.customize.borderRadius+"px",border:n.config.customize.borderWidth+"px",borderStyle:n.config.customize.borderStyle,borderColor:n.config.customize.borderColor,zIndex:-1})},null,4)],4))}}),__vite_glob_2_3$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(i){const n=i,r=vue.computed(()=>{const o=n.config.customize.gradientColor0,a=n.config.customize.gradientColor1;return`linear-gradient(to ${n.config.customize.colorPosition}, ${o||a} , ${a||o})`});return(o,a)=>(vue.openBlock(),vue.createElementBlock("div",{class:"w-full h-full",style:vue.normalizeStyle({"background-image":vue.unref(r),borderRadius:n.config.customize.borderRadius+"px"})},null,4))}}),__vite_glob_2_4$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2M},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1U=vue.createElementVNode("i",{class:"text-white ri-close-circle-fill"},null,-1),_hoisted_2$1B=[_hoisted_1$1U],_hoisted_3$1l=["src"],_sfc_main$2L=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]},isDesign:{type:Boolean,default:!1}},setup(i){const n=i,{proxy:r}=vue.getCurrentInstance(),o=r.$globalHooks.useRouter(),a=vue.ref(!1),l=vue.reactive({type:"",data:""}),s=()=>{let{type:d,url:f,fullscreenId:p,openType:v}=n.config.customize;if(!(d!="fullscreen"&&!f||d=="fullscreen"&&!p||n.isDesign)){if(d=="fullscreen"&&(f=o.resolve({name:"big-data-preview",query:{id:p}}).href),v=="dialog"){if(self!=top&&d=="fullscreen"){o.replace({name:"big-data-preview",query:{id:p}});return}l.data=f,a.value=!0;return}if(d=="fullscreen"&&v=="own"){o.push({name:"big-data-preview",query:{id:p}});return}if(v=="blank"){window.top.open(f);return}window.location.href=f}},u=vue.computed(()=>`-webkit-linear-gradient(${n.config.customize.colorPosition}, ${n.config.customize.startColor}, ${n.config.customize.endColor}`),c=vue.computed(()=>`-webkit-linear-gradient(${n.config.customize.bgColorPosition}, ${n.config.customize.startBgColor}, ${n.config.customize.endBgColor}`);return(d,f)=>(vue.openBlock(),vue.createElementBlock("div",{onClick:vue.withModifiers(s,["stop"]),style:vue.normalizeStyle({...n.config.customize,fontSize:n.config.customize.fontSize+"px",letterSpacing:n.config.customize.letterSpacing+"px",backgroundImage:vue.unref(u),"-webkit-background-clip":"text","-webkit-text-fill-color":"transparent",display:"flex",alignItems:"center",justifyContent:n.config.customize.textAlign??"center",width:"100%",height:"100%",cursor:(n.config.customize.url||n.config.customize.fullscreenId)&&!n.isDesign?"pointer":"default"})},[vue.createTextVNode(vue.toDisplayString(n.config.customize.title)+" ",1),vue.createElementVNode("div",{class:"absolute top-0 left-0 w-full h-full",style:vue.normalizeStyle({backgroundImage:vue.unref(c),borderRadius:n.config.customize.borderRadius+"px",border:n.config.customize.borderWidth+"px",borderStyle:n.config.customize.borderStyle,borderColor:n.config.customize.borderColor,zIndex:-1})},null,4),vue.createVNode(vue.unref(elementPlus.ElDialog),{modelValue:vue.unref(a),"onUpdate:modelValue":f[1]||(f[1]=p=>vue.isRef(a)?a.value=p:null),class:"ace-screen-dialog","append-to-body":"","destroy-on-close":"","close-on-click-modal":!1,"close-on-press-escape":!1},{default:vue.withCtx(()=>[vue.createElementVNode("div",{onClick:f[0]||(f[0]=vue.withModifiers(p=>a.value=!1,["stop"])),class:"ace-screen-dialog-close"},_hoisted_2$1B),vue.createElementVNode("iframe",{src:vue.unref(l).data},null,8,_hoisted_3$1l)]),_:1},8,["modelValue"])],4))}}),__vite_glob_2_5$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(i){const n=i,r=vue.ref(),o=()=>{r.value=dayjs().format("YYYY-MM-DD HH:mm:ss")},a=setInterval(()=>{o()},1e3);o(),vue.onBeforeUnmount(()=>{a&&clearInterval(a)});const l=vue.computed(()=>`-webkit-linear-gradient(${n.config.customize.colorPosition}, ${n.config.customize.startColor}, ${n.config.customize.endColor}`),s=vue.computed(()=>`-webkit-linear-gradient(${n.config.customize.bgColorPosition}, ${n.config.customize.startBgColor}, ${n.config.customize.endBgColor}`);return(u,c)=>(vue.openBlock(),vue.createElementBlock("div",{style:vue.normalizeStyle({...n.config.customize,fontSize:n.config.customize.fontSize+"px",letterSpacing:n.config.customize.letterSpacing+"px",backgroundImage:vue.unref(l),"-webkit-background-clip":"text","-webkit-text-fill-color":"transparent",display:"flex",alignItems:"center",justifyContent:n.config.customize.textAlign??"center",width:"100%",height:"100%"})},[vue.createTextVNode(vue.toDisplayString(vue.unref(r))+" ",1),vue.createElementVNode("div",{class:"absolute top-0 left-0 w-full h-full",style:vue.normalizeStyle({backgroundImage:vue.unref(s),borderRadius:n.config.customize.borderRadius+"px",border:n.config.customize.borderWidth+"px",borderStyle:n.config.customize.borderStyle,borderColor:n.config.customize.borderColor,zIndex:-1})},null,4)],4))}}),__vite_glob_2_6$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(i){const n=i,r=vue.computed(()=>n.config.customize.height+"px"),o=vue.computed(()=>n.config.customize.borderGap+"px"),a=vue.computed(()=>{const l=n.config.customize.gradientColor0,s=n.config.customize.gradientColor1;return`linear-gradient(to right, ${n.config.customize.borderType=="dashed"?"transparent 0%,transparent 50%,":""} ${l||s} 50%, ${s||l} 100%)`});return(l,s)=>(vue.openBlock(),vue.createElementBlock("div",{style:vue.normalizeStyle({height:vue.unref(r),"background-image":vue.unref(a),"background-repeat":"repeat-x","background-size":n.config.customize.borderType=="dashed"?`${vue.unref(o)} ${vue.unref(r)}`:""}),class:"w-full"},null,4))}}),__vite_glob_2_7$1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2J},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1T={class:"w-full h-full"},_hoisted_2$1A=["placeholder"],_sfc_main$2I=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]},renderId:{default:""}},setup(i){vue.useCssVars(l=>({"063f4c06":vue.unref(o)}));const n=i,{proxy:r}=vue.getCurrentInstance(),o=vue.computed(()=>n.config.customize.color),a=()=>{const l=n.config.customize.linkage;n.renderId&&r.$baseEventBus.emit(`ace-screen-indicators-linkage-${n.renderId}`,l.map(s=>s[0]))};return(l,s)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1T,[vue.withDirectives(vue.createElementVNode("input",{"onUpdate:modelValue":s[0]||(s[0]=u=>n.config.customize.modelValue=u),placeholder:n.config.customize.placeholder,style:vue.normalizeStyle({width:"100%",height:"100%",backgroundColor:n.config.customize.backgroundColor,borderWidth:`${n.config.customize.borderTopWidth}px ${n.config.customize.borderRightWidth}px ${n.config.customize.borderBottomWidth}px ${n.config.customize.borderLeftWidth}px `,borderColor:n.config.customize.borderColor,color:n.config.customize.color,fontSize:n.config.customize.fontSize+"px",borderRadius:n.config.customize.borderRadius+"px"}),onBlur:a},null,44,_hoisted_2$1A),[[vue.vModelText,n.config.customize.modelValue]])]))}}),index_vue_vue_type_style_index_0_scoped_c39411e1_lang="",index$3=_export_sfc$2(_sfc_main$2I,[["__scopeId","data-v-c39411e1"]]),__vite_glob_3_0$1=Object.freeze(Object.defineProperty({__proto__:null,default:index$3},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1S={class:"w-full h-full"},_hoisted_2$1z=["onClick"],_hoisted_3$1k=["onClick"],_sfc_main$2H=vue.defineComponent({__name:"index",props:{config:{default:()=>({customize:{}})},list:{default:()=>[]},renderId:{default:""},isDesign:{type:Boolean,default:!1}},setup(i){vue.useCssVars(p=>({"3e52343c":vue.unref(s),"56b06e6c":vue.unref(l),"2b420343":vue.unref(u)}));const n=i,{proxy:r}=vue.getCurrentInstance(),o=vue.ref([]),a=vue.computed(()=>n.config.customize),l=vue.computed(()=>n.config.customize.bgColor),s=vue.computed(()=>n.config.customize.color),u=vue.computed(()=>n.config.customize.borderColor);vue.watch(()=>n.config.customize.dictId,()=>{c()},{});const c=()=>{const p=n.config.customize.dictId;p&&r.$baseHttp.get(`/api/ace-data-center/custom-dic/readDict/${p}`).then(v=>{o.value=dictArratToTree(v.data??[])})},d=p=>{n.config.customize.modelValue=p.code,f()},f=()=>{const p=n.config.customize.linkage;n.renderId&&r.$baseEventBus.emit(`ace-screen-indicators-linkage-${n.renderId}`,p.map(v=>v[0]))};return vue.onMounted(()=>{c()}),(p,v)=>{var m,g,_;return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1S,[["select",""].includes(((m=vue.unref(a))==null?void 0:m.type)??"")?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElTreeSelect),{key:0,expandAll:!1,props:{label:"name",value:"code"},modelValue:vue.unref(a).modelValue,"onUpdate:modelValue":v[0]||(v[0]=y=>vue.unref(a).modelValue=y),placeholder:vue.unref(a).placeholder,style:{width:"100%",height:"100%"},onChange:f,clearable:vue.unref(a).clearable,renderAfterExpand:"",data:vue.unref(o)},null,8,["modelValue","placeholder","clearable","data"])):vue.createCommentVNode("",!0),["card"].includes(((g=vue.unref(a))==null?void 0:g.type)??"")?(vue.openBlock(),vue.createElementBlock("div",{key:1,class:"flex w-full h-full overflow-hidden select-card",style:vue.normalizeStyle({background:vue.unref(l),color:vue.unref(s),border:`${vue.unref(a).borderWidth}px solid ${vue.unref(a).borderColor}`,borderRadius:`${vue.unref(a).borderRadius}px`,borderRight:0,fontSize:`${vue.unref(a).fontSize}px`})},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(o),y=>(vue.openBlock(),vue.createElementBlock("div",{class:"flex items-center justify-center flex-1 cursor-pointer",style:vue.normalizeStyle({borderRight:`${vue.unref(a).borderWidth}px solid ${vue.unref(a).borderColor}`,backgroundColor:vue.unref(a).modelValue==y.code?vue.unref(a).activeBgColor:null,color:vue.unref(a).modelValue==y.code?vue.unref(a).activeColor:null}),onClick:b=>d(y)},vue.toDisplayString(y.name),13,_hoisted_2$1z))),256))],4)):vue.createCommentVNode("",!0),["line"].includes(((_=vue.unref(a))==null?void 0:_.type)??"")?(vue.openBlock(),vue.createElementBlock("div",{key:2,class:"flex w-full h-full overflow-hidden line-card",style:vue.normalizeStyle({background:vue.unref(l),color:vue.unref(s),fontSize:`${vue.unref(a).fontSize}px`,borderRadius:`${vue.unref(a).borderRadius}px`})},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(o),y=>(vue.openBlock(),vue.createElementBlock("div",{class:"flex items-center justify-center flex-1 cursor-pointer",style:vue.normalizeStyle({borderBottom:`${vue.unref(a).borderWidth}px solid ${vue.unref(a).modelValue==y.code?vue.unref(a).borderColor:"transparent"}`,backgroundColor:vue.unref(a).modelValue==y.code?vue.unref(a).activeBgColor:null,color:vue.unref(a).modelValue==y.code?vue.unref(a).activeColor:null}),onClick:b=>d(y)},vue.toDisplayString(y.name),13,_hoisted_3$1k))),256))],4)):vue.createCommentVNode("",!0)])}}}),index_vue_vue_type_style_index_0_scoped_e6f73241_lang="",index$2=_export_sfc$2(_sfc_main$2H,[["__scopeId","data-v-e6f73241"]]),__vite_glob_3_1$1=Object.freeze(Object.defineProperty({__proto__:null,default:index$2},Symbol.toStringTag,{value:"Module"})),moudleComponents$1={};for(let i=0;i<=5;i+=1){let n=null;if(i==0&&(n=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})),i==1&&(n=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})),i==2&&(n=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})),i==3&&(n=Object.assign({"../control/input/index.vue":__vite_glob_3_0$1,"../control/select/index.vue":__vite_glob_3_1$1})),n)for(const[r,o]of Object.entries(n)){const a=r.split("/")[2];moudleComponents$1[a]=o.default}}function useBarCommon(){const i=vue.ref((window==null?void 0:window.customSeriesData)??{}),n=(a,l)=>{a.series=[],setTimeout(()=>{const s=a.dataShow.y.filter(u=>!a.dataShow.hide.includes(u));a.dataset.dimensions=[a.dataShow.x,...s],a.dataShow.y.forEach(u=>{i.value[u]||(i.value[u]=JSON.parse(JSON.stringify(r)))}),window.customSeriesData=i.value,Object.values(vue.unref(i)).forEach(u=>{u.label.formatter=c=>{const d=a.custom,f=c.data[c.seriesName];if((d==null?void 0:d.toFixed)!=="")try{return Number(f).toFixed(d.toFixed)}catch{return f}return f}}),Array.isArray(a.yAxis)||(a.yAxis=[a.yAxis]),a.series=s.map((u,c)=>i.value[u]),l&&l()})},r={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:n,customSeriesData:i,seriesItem:r,barConfig:{tooltip:{show:!0,confine:!0,valueFormatter:a=>a,trigger:"axis",axisPointer:{show:!0,type:"shadow"}},custom:{prefix:"",suffix:"",toFixed:0},dataShow:{x:[],y:[],hide:[],deep:!0},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 i=vue.ref((window==null?void 0:window.customSeriesData)??{}),n=(a,l)=>{a.series=[],setTimeout(()=>{const s=a.dataShow.y.filter(u=>!a.dataShow.hide.includes(u));a.dataset.dimensions=[a.dataShow.x,...s],a.dataShow.y.forEach(u=>{i.value[u]||(i.value[u]=JSON.parse(JSON.stringify(r)))}),window.customSeriesData=i.value,Object.values(vue.unref(i)).forEach(u=>{u.label.formatter=c=>{const d=a.custom,f=c.data[c.seriesName];if((d==null?void 0:d.toFixed)!=="")try{return Number(f).toFixed(d.toFixed)}catch{return f}return f}}),Array.isArray(a.yAxis)||(a.yAxis=[a.yAxis]),a.series=s.map((u,c)=>i.value[u]),l&&l()})},r={type:"line",symbolSize:5,smooth:!0,showArea:!1,areaStyleTmp:{},lineStyle:{type:"solid",width:3,color:null},label:{show:!0,position:"top",color:"#000000",fontSize:10,rotate:0}};return{init:n,customSeriesData:i,seriesItem:r,lineConfig:{tooltip:{show:!0,confine:!0,valueFormatter:a=>a,trigger:"axis",axisPointer:{show:!0,type:"shadow"}},custom:{prefix:"",suffix:"",toFixed:0},dataShow:{x:[],y:[],hide:[],deep:!0},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 i=vue.ref((window==null?void 0:window.customSeriesData)??{}),n=(a,l)=>{a.series=[],setTimeout(()=>{a.dataset.dimensions=[a.dataShow.x,a.dataShow.y],i.value[a.dataShow.y]||(i.value[a.dataShow.y]=JSON.parse(JSON.stringify(r))),window.customSeriesData=i.value,a.series=[i.value[a.dataShow.y]],l&&l()})},r={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:n,customSeriesData:i,seriesItem:r,pieConfig:{tooltip:{show:!0,confine:!0,valueFormatter:a=>a,trigger:"item"},dataShow:{x:"",y:"",deep:!0},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 i=vue.ref((window==null?void 0:window.customSeriesData)??{}),n=(l,s)=>{l.series=[],setTimeout(()=>{const u=l.dataShow.y.filter(c=>!l.dataShow.hide.includes(c));l.dataset.dimensions=[l.dataShow.x,...u],l.dataShow.y.forEach((c,d)=>{if(i.value[c])return;const f=l.dataShow.y.length==d+1&&l.dataShow.y.length>0;i.value[c]=JSON.parse(JSON.stringify(f?r:o))}),window.customSeriesData=i.value,Object.values(vue.unref(i)).forEach(c=>{c.label.formatter=d=>{const f=l.custom,p=d.data[d.seriesName];if((f==null?void 0:f.toFixed)!=="")try{return Number(p).toFixed(f.toFixed)}catch{return p}return p}}),Array.isArray(l.yAxis)||(l.yAxis=[l.yAxis,a.yAxis[1]]),l.series=u.map((c,d)=>i.value[c]),s&&s()})},r={type:"line",symbolSize:5,smooth:!0,areaStyleTmp:{},showArea:!1,lineStyle:{type:"solid",width:3,color:null},label:{show:!0,rotate:0,position:"top",color:"#000000",fontSize:10}},o={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}},a={tooltip:{show:!0,confine:!0,valueFormatter:l=>l,trigger:"axis",axisPointer:{show:!0,type:"shadow"}},custom:{prefix:"",suffix:"",toFixed:0},dataShow:{x:[],y:[],hide:[],deep:!0},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"},{show:!1,axisLabel:{fontSize:12,interval:0,rotate:0},nameTextStyle:{fontSize:12},splitLine:{lineStyle:{width:1,type:"solid"}},position:"right",type:"value"}],dataset:{},series:[]};return{init:n,customSeriesData:i,seriesLineItem:r,seriesBarItem:o,barsLinesConfig:a}}function useScatterCommon(){const i=vue.ref((window==null?void 0:window.customSeriesData)??{}),n=(a,l)=>{a.series=[],setTimeout(()=>{const s=a.dataShow.y.filter(u=>!a.dataShow.hide.includes(u));a.dataset.dimensions=[a.dataShow.x,...s],a.dataShow.y.forEach(u=>{i.value[u]||(i.value[u]=JSON.parse(JSON.stringify(r)))}),window.customSeriesData=i.value,Object.values(vue.unref(i)).forEach(u=>{u.label.formatter=c=>{const d=a.custom,f=c.data[c.seriesName];if((d==null?void 0:d.toFixed)!=="")try{return Number(f).toFixed(d.toFixed)}catch{return f}return f}}),Array.isArray(a.yAxis)||(a.yAxis=[a.yAxis]),a.series=s.map((u,c)=>i.value[u]),l&&l()})},r={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:n,customSeriesData:i,seriesItem:r,scatterCfg:{tooltip:{show:!0,confine:!0,valueFormatter:a=>a,trigger:"axis",axisPointer:{show:!0,type:"shadow"}},custom:{prefix:"",suffix:"",toFixed:0},dataShow:{x:[],y:[],hide:[],deep:!0},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 i=vue.ref((window==null?void 0:window.customSeriesData)??{}),n=(a,l)=>{a.series=[],setTimeout(()=>{const s=a.dataShow.y.filter(c=>!a.dataShow.hide.includes(c));a.dataset.dimensions=s,vue.unref(i).type||(i.value=JSON.parse(JSON.stringify(r))),window.customSeriesData=i.value,a.radar.indicator=a.dataset.source.map(c=>({name:c[a.dataShow.x]}));const u=[];a.dataset.dimensions.forEach(c=>{u.push({name:c,value:a.dataset.source.map(d=>d[c])})}),a.series=[{...i.value,data:u}],vue.unref(i).label.formatter=c=>{const d=a.custom,f=c.value;if((d==null?void 0:d.toFixed)!=="")try{return Number(f).toFixed(d.toFixed)}catch{return f}return f},l&&l()})},r={type:"radar",areaStyle:{opacity:.1},label:{show:!0,rotate:0,position:"top",color:"#000000",fontSize:10},data:[]};return{init:n,customSeriesData:i,seriesItem:r,radarConfig:{tooltip:{show:!0,confine:!0,valueFormatter:a=>a},custom:{prefix:"",suffix:"",toFixed:0},dataShow:{x:[],y:[],hide:[],deep:!0},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 i=vue.ref((window==null?void 0:window.customSeriesData)??{}),n=(a,l)=>{a.series=[],setTimeout(()=>{typeof a.dataShow.y=="string"&&a.dataShow.y&&(a.dataShow.y=[a.dataShow.y]);const s=a.dataShow.y.filter(u=>{var c;return!(((c=a.dataShow)==null?void 0:c.hide)??[]).includes(u)});a.dataset.dimensions=s,a.dataShow.y.forEach(u=>{i.value[u]||(i.value[u]=JSON.parse(JSON.stringify(r)))}),a.customSeriesData=i.value,window.customSeriesData=i.value,l&&l()})},r={prefix:"",suffix:"",toFixed:0,color:null,fontSize:14,titleFontSize:14,bgColor:null};return{init:n,seriesItem:r,customSeriesData:i,numberConfig:{margin:10,padding:10,dataShow:{x:"",y:[],hide:[],deep:!0},dataset:{}}}}function useProgress(){const i=vue.ref((window==null?void 0:window.customSeriesData)??{}),n=(a,l)=>{a.series=[],setTimeout(()=>{let s=a.dataShow.y.filter(u=>{var c;return!(((c=a.dataShow)==null?void 0:c.hide)??[]).includes(u)});a.dataset.dimensions=s,a.dataShow.y.forEach(u=>{i.value[u]||(i.value[u]=JSON.parse(JSON.stringify(r)))}),a.customSeriesData=i.value,window.customSeriesData=i.value,l&&l()})},r={type:"circle",duration:3,strokeLinecap:"round",strokeWidth:6,textInside:!1,width:126,showText:!0,striped:!1,stripedFlow:!1,bgColor:"",color:"",prefix:"",suffix:"",toFixed:0,fontSize:14};return{init:n,seriesItem:r,customSeriesData:i,progressConfig:{type:"line",margin:10,direction:"horizontal",dataShow:{x:"",y:[],hide:[],deep:!0},dataset:{}}}}function useTable(){const i=vue.ref((window==null?void 0:window.customSeriesData)??{}),n=(a,l)=>{a.series=[],setTimeout(()=>{const s=a.dataShow.y.filter(u=>!a.dataShow.hide.includes(u));a.dataset.dimensions=s,a.dataShow.y.forEach(u=>{i.value[u]||(i.value[u]=JSON.parse(JSON.stringify(r)))}),a.customSeriesData=i.value,window.customSeriesData=i.value,l&&l()})},r={prefix:"",suffix:"",toFixed:0,fontSize:13,textAlign:"center",color:null,headColor:null,text:"",width:null};return{init:n,customSeriesData:i,tableConfig:{showIndex:!1,indexWidth:80,indexHeader:"#",rowNum:5,headerBGC:"",oddRowBGC:"",evenRowBGC:"",carousel:"single",headerHeight:35,waitTime:2,dataShow:{x:"",y:[],hide:[],deep:!0},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 i=async(a,l)=>{let s=String(a.code).padEnd(6,"0");const u=r(vue.unref(city)[0],s),c=await n(`${s}${(u==null?void 0:u.region_level)!=3?"_full":""}`);core.registerMap(s,c),a.geo.map=s;const d=a.dataset.source,f=[];((c==null?void 0:c.features)??[]).forEach(p=>{const m=(d.find(y=>y[a.dataShow.x]==p.properties.name)??{})[a.dataShow.y]??0,g=p.properties.center?[...p.properties.center,m]:p.properties.center,_={name:p.properties.name,value:g,code:p.properties.adcode,data:m};Number(m)<=0&&(_.symbolSize=0),f.push(_)}),a.series=[{type:"map",map:s,roam:!0,geoIndex:0,select:!1,data:f},{...a.style.style1,data:f},{...a.style.style2,data:f}],l&&l()},n=async a=>{let l="",{origin:s}=window.location;s.indexOf("localhost")>=0?l="https://geo.datav.aliyun.com":l=`${s}/oss`;const u=`${l}/areas_v3/bound/${a}.json`;return await fetch(u).then(d=>d.json())};function r(a,l){var s;if(String(a.code).padEnd(6,"0")==l)return a;for(let u=0;u<((s=a==null?void 0:a.children)==null?void 0:s.length);u+=1){const c=a.children[u],d=r(c,l);if(d)return d}return null}return{init:i,city,mapConfig:{code:"100000",tooltip:{show:!0},dataShow:{x:"",y:"",deep:!0},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:a=>a.data.data||"",color:"#fff",fontSize:9},zlevel:6}},geo:{map:"",roam:!0,zoom:1.2,top:"",left:"",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 useWeaterLevel(){const i=vue.ref((window==null?void 0:window.customSeriesData)??{}),n=(a,l)=>{a.series=[],setTimeout(()=>{a.dataset.dimensions=[a.dataShow.x,a.dataShow.y];const s={},u=a.dataShow.y;a.dataset.source.forEach(c=>{s[u]||(s[u]=0),s[u]+=Number(c[u])}),vue.unref(i).type||(i.value=JSON.parse(JSON.stringify(r))),window.customSeriesData=i.value,vue.unref(i).label.formatter=c=>Number((c.value*100).toFixed(vue.unref(i).toFixed))+"%",a.series=[{...vue.unref(i),data:[s[u]/100]}],l&&l()})},r={type:"liquidFill",color:[{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:"#1869E3"},{offset:1,color:"#28A45B"}]}],center:["50%","50%"],radius:"80%",shape:"circle",label:{show:!0,color:"#294D99",fontSize:30},backgroundStyle:{color:"rgba(44,169,218,0.3)"},outline:{show:!1},toFixed:2};return{init:n,seriesItem:r,customSeriesData:i,weaterLevelConfig:{dataShow:{x:"",y:[],hide:[],deep:!0},dataset:{},series:[]}}}function useCustomChart(){const{proxy:i}=vue.getCurrentInstance(),n=vue.ref({}),r=vue.ref(""),o=vue.ref(null),a=vue.ref(null),l=vue.ref(""),s=async(m,g,_)=>await new Promise(async y=>{var $,S;const{getChartData:b}=useScreenDesign(),x=JSON.parse(JSON.stringify((($=vue.unref(o))==null?void 0:$.params)??((S=vue.unref(b))==null?void 0:S.params))),C=JSON.parse((x==null?void 0:x.groupArgsJson)??"[]");let w=JSON.parse((x==null?void 0:x.aggArgsJson)??"[]");if(g){const V=C.find(k=>k.comment==g);V&&(x.groupArgsJson=JSON.stringify([V]))}if(["2"].includes(m)&&_){const V=w.find(k=>k.showLabel==_);V&&(x.aggArgsJson=JSON.stringify([V]))}["8"].includes(m)||(x.aggArgsJson=JSON.stringify(w.filter(V=>V.aggType!="other")));const E=await i.$baseHttp.post("/api/ace-data-center/model-indicators/exec",x);a.value=E.data.var,l.value=E.data.modelIndicatorsName,y(E.data.page.records)}),u=async(m,g,_)=>await new Promise(async y=>{let b=g;const{getChartData:x}=useScreenDesign();if(m){const C=await i.$baseHttp.get(`/api/ace-data-center/model-indicators-echarts/detail?id=${m}`);if(!C)return;_=chartJsonFormat(C.data.echartsConfig),b=C.data.echartsType}r.value=b,setTimeout(async()=>{var C,w,E,$,S,V,k,P,B,T,N,O,I,L,D,F,M,R,z,U,G,J,te,ae,j,ee,le,se,Z,K,q,Y,X,oe,W,ne,H,Q,re,ie,ue,ce,fe,ve,de,he,pe,me,ge,Se,Ae,Oe,Le,Re,Ge,Ye,We,ye,$e,Je,Qe;switch(b){case"1":{const{lineConfig:Ee,customSeriesData:ke,init:Pe}=useLineCommon();ke.value=((C=vue.unref(_))==null?void 0:C.customSeriesData)??{},n.value=_??chartJsonFormat(chartJsonToStringFormat(Ee)),delete n.value.legend.icon,vue.unref(n).dataShow.x=((w=_==null?void 0:_.dataShow)==null?void 0:w.x)??(($=(E=vue.unref(x))==null?void 0:E.x[0])==null?void 0:$.comment);const Me=(((S=vue.unref(o))==null?void 0:S.y)??((V=vue.unref(x))==null?void 0:V.y)).filter(be=>be.aggType!="other").map(be=>be.showLabel);vue.unref(n).dataShow.y=p(Me,((k=vue.unref(n).dataShow)==null?void 0:k.y)??[]),vue.unref(n).dataset.source=await s(b,vue.unref(n).dataShow.x),Pe(vue.unref(n),()=>v())}break;case"2":{const{pieConfig:Ee,customSeriesData:ke,init:Pe}=usePieCommon();ke.value=(_==null?void 0:_.customSeriesData)??{},n.value=_??chartJsonFormat(chartJsonToStringFormat(Ee)),vue.unref(n).dataShow.x=((P=_==null?void 0:_.dataShow)==null?void 0:P.x)??((T=(B=vue.unref(x))==null?void 0:B.x[0])==null?void 0:T.comment),vue.unref(n).dataShow.y=((N=_==null?void 0:_.dataShow)==null?void 0:N.y)??((I=(O=vue.unref(x))==null?void 0:O.y[0])==null?void 0:I.showLabel),vue.unref(n).dataset.source=await s(b,vue.unref(n).dataShow.x,vue.unref(n).dataShow.y),Pe(vue.unref(n),()=>v())}break;case"3":{const{barConfig:Ee,customSeriesData:ke,init:Pe}=useBarCommon();ke.value=(_==null?void 0:_.customSeriesData)??{},n.value=_??chartJsonFormat(chartJsonToStringFormat(Ee)),vue.unref(n).dataShow.x=((L=_==null?void 0:_.dataShow)==null?void 0:L.x)??((F=(D=vue.unref(x))==null?void 0:D.x[0])==null?void 0:F.comment);const Me=(((M=vue.unref(o))==null?void 0:M.y)??((R=vue.unref(x))==null?void 0:R.y)).filter(be=>be.aggType!="other").map(be=>be.showLabel);vue.unref(n).dataShow.y=p(Me,((z=vue.unref(n).dataShow)==null?void 0:z.y)??[]),vue.unref(n).dataset.source=await s(b,vue.unref(n).dataShow.x),Pe(vue.unref(n),()=>v())}break;case"4":{const{radarConfig:Ee,customSeriesData:ke,init:Pe}=useRadar();ke.value=((U=vue.unref(_))==null?void 0:U.customSeriesData)??{},n.value=_??chartJsonFormat(chartJsonToStringFormat(Ee)),vue.unref(n).dataShow.x=((G=_==null?void 0:_.dataShow)==null?void 0:G.x)??((te=(J=vue.unref(x))==null?void 0:J.x[0])==null?void 0:te.comment);const Me=(((ae=vue.unref(o))==null?void 0:ae.y)??((j=vue.unref(x))==null?void 0:j.y)).filter(be=>be.aggType!="other").map(be=>be.showLabel);vue.unref(n).dataShow.y=p(Me,((ee=vue.unref(n).dataShow)==null?void 0:ee.y)??[]),vue.unref(n).dataset.source=await s(b,vue.unref(n).dataShow.x),Pe(vue.unref(n),()=>v())}break;case"5":{const{barsLinesConfig:Ee,customSeriesData:ke,init:Pe}=useBarLineCommon();ke.value=((le=vue.unref(_))==null?void 0:le.customSeriesData)??{},n.value=_??chartJsonFormat(chartJsonToStringFormat(Ee)),vue.unref(n).dataShow.x=((se=_==null?void 0:_.dataShow)==null?void 0:se.x)??((K=(Z=vue.unref(x))==null?void 0:Z.x[0])==null?void 0:K.comment);const Me=(((q=vue.unref(o))==null?void 0:q.y)??((Y=vue.unref(x))==null?void 0:Y.y)).filter(be=>be.aggType!="other").map(be=>be.showLabel);vue.unref(n).dataShow.y=p(Me,((X=vue.unref(n).dataShow)==null?void 0:X.y)??[]),vue.unref(n).dataset.source=await s(b,vue.unref(n).dataShow.x),Pe(vue.unref(n),()=>v())}break;case"6":{const{scatterCfg:Ee,customSeriesData:ke,init:Pe}=useScatterCommon();ke.value=((oe=vue.unref(_))==null?void 0:oe.customSeriesData)??{},n.value=_??chartJsonFormat(chartJsonToStringFormat(Ee)),vue.unref(n).dataShow.x=((W=_==null?void 0:_.dataShow)==null?void 0:W.x)??((H=(ne=vue.unref(x))==null?void 0:ne.x[0])==null?void 0:H.comment);const Me=(((Q=vue.unref(o))==null?void 0:Q.y)??((re=vue.unref(x))==null?void 0:re.y)).filter(be=>be.aggType!="other").map(be=>be.showLabel);vue.unref(n).dataShow.y=p(Me,((ie=vue.unref(n).dataShow)==null?void 0:ie.y)??[]),vue.unref(n).dataset.source=await s(b,vue.unref(n).dataShow.x),Pe(vue.unref(n),()=>v())}break;case"7":{const{numberConfig:Ee,customSeriesData:ke,init:Pe}=useNumber();ke.value=(_==null?void 0:_.customSeriesData)??{},n.value=_??chartJsonFormat(chartJsonToStringFormat(Ee));const Me=(((ue=vue.unref(o))==null?void 0:ue.y)??((ce=vue.unref(x))==null?void 0:ce.y)).filter(be=>be.aggType!="other").map(be=>be.showLabel);vue.unref(n).dataShow.y=p(Me,((fe=vue.unref(n).dataShow)==null?void 0:fe.y)??[]),vue.unref(n).dataset.source=await s(b),Pe(vue.unref(n),()=>v())}break;case"8":{const{customSeriesData:Ee,tableConfig:ke,init:Pe}=useTable();n.value=_??chartJsonFormat(chartJsonToStringFormat(ke)),Ee.value=((ve=vue.unref(_))==null?void 0:ve.customSeriesData)??{};const Me=[...(((de=vue.unref(o))==null?void 0:de.x)??((he=vue.unref(x))==null?void 0:he.x)).map(be=>be.comment),...(((pe=vue.unref(o))==null?void 0:pe.y)??((me=vue.unref(x))==null?void 0:me.y)).map(be=>be.showLabel)];vue.unref(n).dataShow.y=p(Me,((ge=vue.unref(n).dataShow)==null?void 0:ge.y)??[]),vue.unref(n).dataset.source=await s(b),Pe(vue.unref(n),()=>v())}break;case"9":const{mapConfig:bt,init:pt}=useMap(),Ke=_??chartJsonFormat(chartJsonToStringFormat(bt));Ke.series=[],Ke.dataShow.x=((Se=_==null?void 0:_.dataShow)==null?void 0:Se.x)??((Oe=(Ae=vue.unref(x))==null?void 0:Ae.x[0])==null?void 0:Oe.comment),Ke.dataShow.y=((Le=_==null?void 0:_.dataShow)==null?void 0:Le.y)??((Ge=(Re=vue.unref(x))==null?void 0:Re.y[0])==null?void 0:Ge.showLabel),Ke.dataset.source=await s(b,Ke.dataShow.x,Ke.dataShow.y),pt(Ke,()=>{n.value=Ke,v()});break;case"10":{const{progressConfig:Ee,customSeriesData:ke,init:Pe}=useProgress();ke.value=(_==null?void 0:_.customSeriesData)??{},n.value=_??chartJsonFormat(chartJsonToStringFormat(Ee));const Me=(((Ye=vue.unref(o))==null?void 0:Ye.y)??((We=vue.unref(x))==null?void 0:We.y)).filter(be=>be.aggType!="other").map(be=>be.showLabel);vue.unref(n).dataShow.y=p(Me,((ye=vue.unref(n).dataShow)==null?void 0:ye.y)??[]),vue.unref(n).dataset.source=await s(b),Pe(vue.unref(n),()=>v())}break;case"11":{const{weaterLevelConfig:Ee,customSeriesData:ke,init:Pe}=useWeaterLevel();ke.value=(_==null?void 0:_.customSeriesData)??{},n.value=_??chartJsonFormat(chartJsonToStringFormat(Ee)),vue.unref(n).dataShow.y=(($e=_==null?void 0:_.dataShow)==null?void 0:$e.y)??((Qe=(Je=vue.unref(x))==null?void 0:Je.y[0])==null?void 0:Qe.showLabel),vue.unref(n).dataset.source=await s(b),Pe(vue.unref(n),()=>v())}break}y(n.value)},100)}),c=()=>{var m,g,_,y,b,x,C;switch(vue.unref(r)){case"1":{const{customSeriesData:w,init:E}=useLineCommon();w.value=((m=vue.unref(n))==null?void 0:m.customSeriesData)??{},E(vue.unref(n))}break;case"2":{const{customSeriesData:w,init:E}=usePieCommon();w.value=((g=vue.unref(n))==null?void 0:g.customSeriesData)??{},E(vue.unref(n))}break;case"3":{const{customSeriesData:w,init:E}=useBarCommon();w.value=((_=vue.unref(n))==null?void 0:_.customSeriesData)??{},E(vue.unref(n))}break;case"4":{const{customSeriesData:w,init:E}=useRadar();w.value=((y=vue.unref(n))==null?void 0:y.customSeriesData)??{},E(vue.unref(n))}break;case"5":{const{customSeriesData:w,init:E}=useBarLineCommon();w.value=((b=vue.unref(n))==null?void 0:b.customSeriesData)??{},E(vue.unref(n))}break;case"6":{const{customSeriesData:w,init:E}=useScatterCommon();w.value=((x=vue.unref(n))==null?void 0:x.customSeriesData)??{},E(vue.unref(n))}break;case"7":{const{init:w}=useNumber();w(vue.unref(n))}break;case"8":{const{customSeriesData:w,init:E}=useTable();w.value=((C=vue.unref(n))==null?void 0:C.customSeriesData)??{},E(vue.unref(n))}break;case"10":{const{init:w}=useProgress();w(vue.unref(n))}break;case"11":{const{init:w}=useWeaterLevel();w(vue.unref(n))}break}},d=async(m,g,_)=>{await new Promise(async y=>{var V;const{setChartData:b}=useScreenDesign(),{dynamicSearchFormat:x,dynamicSearchParams:C}=i.$aceDynamicSearch(i);let w;w=await i.$baseHttp.get(`/api/ace-data-center/model-indicators/detail?id=${m}`);const E=JSON.parse(w.data.sortArgsJson??"{}"),$=Object.keys(vue.unref(E)).map(k=>({field:k,type:E[k]=="ascending"?"asc":"desc"}));b({x:JSON.parse(w.data.groupArgsJson),y:JSON.parse(w.data.aggArgsJson),params:{aggArgsJson:w.data.aggArgsJson,groupArgsJson:w.data.groupArgsJson,sortArgsJson:JSON.stringify($),params:C(x(JSON.parse(_??((V=vue.unref(w))==null?void 0:V.formConfJson)??"[]"))),pageSize:w.data.pageSize,modelIndicatorsId:w.data.id,modelId:w.data.modelId}});const S=w.data.echarts.find(k=>k.type==g);await u(S==null?void 0:S.code),y(S==null?void 0:S.code)})},f=m=>{const g=vue.unref(n),_=vue.unref(n).customSeriesData[m]??{};return((_==null?void 0:_.prefix)??"")+g.dataset.source.reduce((y,b)=>y+(b[m]?Number(b[m]):0),0).toFixed(_.toFixed??0)+(_.suffix??"")},p=(m,g)=>{let _=[];return g.forEach(y=>{_.push(y)}),_.push(...m),[...new Set(_)]},v=()=>{var g,_;const m=vue.unref(r);if((g=vue.unref(n))!=null&&g.dataShow&&(((_=vue.unref(n))==null?void 0:_.dataShow.deep)??"")===""&&(vue.unref(n).dataShow.deep=!0),m=="9"){n.value.tooltip.formatter=y=>{const b=n.value.custom;if(y&&y.data){const{name:x,data:C}=y.data;return`${x}: ${(b==null?void 0:b.prefix)??""}${Number(C).toFixed((b==null?void 0:b.toFixed)??0)}${(b==null?void 0:b.suffix)??""}`}},n.value.series[2].label.formatter=y=>{const b=n.value.custom,x=y.data.data;return x?`${(b==null?void 0:b.prefix)??""}${Number(x).toFixed((b==null?void 0:b.toFixed)??0)}${(b==null?void 0:b.suffix)??""}`:""};return}if(vue.unref(n).tooltip){const y=n.value.custom;n.value.tooltip.valueFormatter=b=>`${(y==null?void 0:y.prefix)??""}${Number(b).toFixed(y==null?void 0:y.toFixed)}${(y==null?void 0:y.suffix)??""}`}vue.unref(n).dataset.temp_source=JSON.parse(JSON.stringify(n.value.dataset.source))};return{option:n,varData:a,modelIndicatorsName:l,chartDataParams:o,chartType:r,setChartData:s,formatChart:u,getModelIndicatorsData:d,changeChartSeries:c,setSingleValue:f}}const _hoisted_1$1R={key:1,class:"flex items-center justify-center w-full h-full"},_sfc_main$2G=vue.defineComponent({__name:"render",props:{config:{default:()=>({})},list:{default:()=>[]},isLinkageQuery:{type:Boolean,default:!0},isCount:{type:Boolean,default:!0},isDesign:{type:Boolean,default:!1},renderId:{default:""},bigScreenQueryParams:{default:{}},bigScreenControlParams:{default:{}}},setup(__props){const props=__props,{proxy}=vue.getCurrentInstance(),design=useScreenDesign(),loading=vue.ref(!1);let isDefault=!0;const{dynamicSearchFormat,dynamicSearchParams}=proxy.$aceDynamicSearch(proxy),{option,formatChart,varData,chartDataParams,modelIndicatorsName}=useCustomChart(),init=(config={})=>{const linkageMap=config.linkageMap??{},formulaList=[];if(props.isLinkageQuery&&(props.list.forEach(i=>{var n,r,o,a,l,s;if(Array.isArray((n=i==null?void 0:i.customize)==null?void 0:n.linkage)){let u=(r=i==null?void 0:i.customize)==null?void 0:r.modelValue;if((((o=props.bigScreenControlParams)==null?void 0:o.ids)??[]).includes(i.id)&&isDefault&&(u=((a=props.bigScreenControlParams)==null?void 0:a.value)??"",i.customize.modelValue=u),config.linkageMap&&Object.keys(linkageMap).length){(l=i==null?void 0:i.customize)==null||l.linkage.forEach(c=>{const[d,f]=c;linkageMap[d]&&linkageMap[d][0]==f&&(i.customize.modelValue=linkageMap[d][1])});return}(((s=i==null?void 0:i.customize)==null?void 0:s.linkage)??[]).forEach(c=>{(u??"")!==""&&(linkageMap[c[0]]=[c[1],u])})}}),isDefault=!1),props.isCount&&props.list.forEach(i=>{var a,l;if(i.type!="number"&&!((l=(a=i==null?void 0:i.customize)==null?void 0:a.formula)!=null&&l.exp)||(i.customize.formulaCopy=JSON.parse(JSON.stringify(i.customize.formula)),!i.customize.formulaCopy))return;const n=i.customize.formulaCopy.identifier.split(","),r=/\{([^}]+)\}/g;let o=0;i.customize.formulaCopy.exp=i.customize.formulaCopy.exp.replace(r,(s,u)=>{const c=u.split(".");return c[0]=n[o],o+=1,c.join(".")}),i.customize.title=0,formulaList.push(i)}),props.config.modelType=="INDICATORS"){Promise.all([fetch$1(proxy).detailAndTask(props.config.indicatorsId),fetch$1(proxy).getEchartDetail({indicatorsId:props.config.indicatorsId})]).then(async i=>{var a,l;const n=dynamicSearchFormat(JSON.parse(((l=(a=i[0])==null?void 0:a.data)==null?void 0:l.formConfJson)??"[]"));handleSetParams(n,linkageMap);const r=i[1].data,o=await fetch$1(proxy).pullEchartsDataVO({indicatorsId:props.config.indicatorsId,loadType:(r==null?void 0:r.loadType)??3,params:dynamicSearchParams(n),targetClient:r.targetClient,echartsType:props.config.chartType});try{option.value=chartJsonFormat(o.data.config)}catch{option.value=o.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=>{var i;const sortArgsJson=JSON.parse(response.data.sortArgsJson??"{}"),sort=Object.keys(vue.unref(sortArgsJson)).map(n=>({field:n,type:sortArgsJson[n]=="ascending"?"asc":"desc"})),formData=dynamicSearchFormat(JSON.parse(((i=response.data)==null?void 0:i.formConfJson)??"[]"));handleSetParams(formData,linkageMap),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:dynamicSearchParams(formData),pageSize:response.data.pageSize,modelId:response.data.modelId}},design.tempChartData.value[props.config.id]={params:chartDataParams.value,customize:props.config.customize},design.setChartData(chartDataParams.value);const cfg=props.config.customize;cfg.id=props.config.id,await formatChart("",chartType,cfg),props.isCount&&formulaList.length&&formulaList.forEach(el=>{var n;Object.keys(vue.unref(varData)).forEach(r=>{el.customize.formulaCopy.exp.indexOf(r)>=0&&(el.customize.formulaCopy.exp=el.customize.formulaCopy.exp.replaceAll(r,varData.value[r]))}),/[\u4e00-\u9fa5]/.test((n=el.customize.formulaCopy)==null?void 0:n.exp)||(console.log(`计算公式:${el.customize.formulaCopy.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})}},handleSetParams=(i,n)=>{i.forEach(r=>{if(props.bigScreenQueryParams[props.config.indicatorsId]&&Object.keys(props.bigScreenQueryParams[props.config.indicatorsId]).includes(r.key)){const o=props.bigScreenQueryParams[props.config.indicatorsId][r.key];r.minValue=o,r.maxValue="",r.value=o}if(n[props.config.indicatorsId]){const[o,a]=n[props.config.indicatorsId];r.key==o&&(r.minValue=a,r.maxValue="",r.value=a)}})};vue.onMounted(()=>{init()}),proxy.$baseEventBus.on(`ace-screen-indicators-linkage-${props.renderId}`,i=>{i.includes(props.config.indicatorsId)&&!vue.unref(loading)&&init()}),proxy.$baseEventBus.on(`ace-screen-indicators-linkage-chart-${props.renderId}`,i=>{i[props.config.indicatorsId]&&!vue.unref(loading)&&init({linkageMap:i})});const widgetView=vue.computed(()=>moudleComponents$1[props.config.type]);return(i,n)=>{const r=vue.resolveComponent("AppEmpty"),o=vue.resolveComponent("AppTable"),a=vue.resolveComponent("aceChart"),l=vue.resolveComponent("aceCustomChart"),s=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$1R,[vue.createVNode(s,{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(r,{key:0,description:"暂无数据"})):vue.createCommentVNode("",!0),Array.isArray(vue.unref(option))&&vue.unref(option).length>0?(vue.openBlock(),vue.createBlock(o,{key:1,tableData:Object.keys(vue.unref(option)[0]).map(u=>({label:u,prop:u})),list:vue.unref(option),maxHeight:props.config.h-10+"px"},null,8,["tableData","list","maxHeight"])):vue.createCommentVNode("",!0)],64)):(vue.openBlock(),vue.createBlock(a,{key:2,type:props.config.chartType,options:vue.unref(option),loading:!1},null,8,["type","options"]))],64)):(vue.openBlock(),vue.createBlock(l,{key:1,renderId:i.renderId,option:vue.unref(option),chartType:props.config.chartType,maxHeight:props.config.h-10+"px",isBigScreen:"",indicatorsId:props.config.indicatorsId,isCheckClick:!props.isDesign},null,8,["renderId","option","chartType","maxHeight","indicatorsId","isCheckClick"]))],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,isDesign:i.isDesign,renderId:i.renderId,config:props.config},null,8,["list","isDesign","renderId","config"])):vue.createCommentVNode("",!0)],64))}}}),render_vue_vue_type_style_index_0_scoped_019e7363_lang="",Render=_export_sfc$2(_sfc_main$2G,[["__scopeId","data-v-019e7363"]]);class historyStack{constructor(){xt(this,"backStack");xt(this,"forwardStack");this.backStack=[],this.forwardStack=[]}pushRecord(n,r){const o={id:Array.isArray(n)?"":n.id??"",historyType:r,historyData:JSON.parse(JSON.stringify(n))};this.backStack.push(o),this.forwardStack=[]}backAction(){if(!this.backStack.length)return;const n=this.backStack.pop();return this.forwardStack.push(n),n}forwardAction(){if(!this.forwardStack.length)return;const n=this.forwardStack.pop();return this.backStack.push(n),n}}const _withScopeId$J=i=>(vue.pushScopeId("data-v-e36aa127"),i=i(),vue.popScopeId(),i),_hoisted_1$1Q={class:"relative w-full h-full"},_hoisted_2$1y=["id","onDblclick","onMousedown","onClick"],_hoisted_3$1j={key:0,class:"absolute flex items-center justify-center w-8 h-8 bg-blue-500 rounded-full -right-2 -top-2"},_hoisted_4$1f=_withScopeId$J(()=>vue.createElementVNode("i",{class:"text-base text-white ri-lock-line"},null,-1)),_hoisted_5$11=[_hoisted_4$1f],_hoisted_6$V={key:1,class:"absolute ml-4 text-xs tool left-full whitespace-nowrap"},_hoisted_7$M=["onClick"],_hoisted_8$F={key:1,class:"absolute w-full h-full z-[999]"},_sfc_main$2F=vue.defineComponent({__name:"main",setup(i){vue.useCssVars(q=>({85921774:vue.unref(B)}));const{proxy:n}=vue.getCurrentInstance(),{stageWidth:r,stageHeight:o,targetsWidget:a,widgetConfg:l,createLoading:s,widgetHoverIds:u,getScale:c,getTargetWidget:d,getWidgetList:f,getPasteWidget:p,setSketchRuleLine:v,clearSketchRuleLine:m,setTargetWidget:g,setWidgetList:_,delWidgetItem:y,copyWidgetItem:b,pasteWidgetItem:x,sortWidgetList:C,setRightPannel:w}=useScreenDesign(),E=document.body,$=vue.ref(null),S=useKeyModifier("Shift"),V=new historyStack,k=vue.computed(()=>vue.unref(a).length===1?getItemFromElement(vue.unref(a)[0]):null),P=[{label:"置于顶层",clickFunc:q=>{q.z=vue.unref(f).length;const Y=JSON.parse(JSON.stringify(vue.unref(l).list));vue.unref(l).list.filter(X=>X.id!=q.id).forEach((X,oe)=>{X.z=vue.unref(f).length-1-oe}),C(),vue.unref(l).list.forEach(X=>{const oe=Y.find(W=>W.id==X.id);oe&&(oe.beforeObj={...oe},oe.z=X.z)}),V.pushRecord(Y,"stack")}},{label:"置于底层",clickFunc:q=>{q.z=1;const Y=JSON.parse(JSON.stringify(vue.unref(l).list));vue.unref(l).list.filter(X=>X.id!=q.id).forEach((X,oe)=>{X.z=vue.unref(f).length-oe}),C(),vue.unref(l).list.forEach(X=>{const oe=Y.find(W=>W.id==X.id);oe&&(oe.beforeObj={...oe},oe.z=X.z)}),V.pushRecord(Y,"stack")}}],B=vue.computed(()=>.8/vue.unref(c)),T=()=>Array.prototype.slice.call(document.querySelectorAll(".drag-item"),0),N=(q,Y)=>{if(Array.isArray(q)){if(q.length===0){g([]);return}g(q.filter(oe=>oe.className.indexOf("locked")==-1).map(oe=>getItemFromElement(oe)));return}const X=getItemFromElement(q);!X||vue.unref(a).includes(X)||q.locked||(S.value===!0?g([...vue.unref(d).filter(oe=>oe.className.indexOf("locked")==-1),X]):g([X]),vue.nextTick(()=>{Y&&vue.nextTick(()=>{var oe;return(oe=vue.unref($))==null?void 0:oe.dragStart(Y)})}))};let O=[];const I=q=>{const Y=ee(vue.unref(k));Y!=null&&Y.locked&&q.stopDrag(),Y&&(O=JSON.parse(JSON.stringify(Y))),console.log("开始拖拽",q)},L=q=>{console.log("拖拽中",q),q.target.style.transform=q.transform;const[Y,X]=q.translate;v([Y],[X]);const oe=ee(vue.unref(k));oe&&(oe.x=Math.floor(q.translate[0]),oe.y=Math.floor(q.translate[1]))},D=q=>{console.log("拖拽结束",q);const Y=ee(vue.unref(k));if(!Y)return;const{x:X,y:oe,w:W,h:ne}=O;(Y.x!=X||Y.y!=oe||Y.w!=W||Y.h!=ne)&&V.pushRecord(JSON.parse(JSON.stringify({...Y,beforeObj:O})),"move"),m()},F=q=>{console.log("开始组拖拽",q),O=[],q.events.forEach(Y=>{const X=ee(Y.target);X&&O.push(JSON.parse(JSON.stringify(X)))})},M=q=>{console.log("组拖拽中",q),q.events.forEach(Y=>{Y.target.style.transform=Y.transform})},R=q=>{console.log("组拖拽完毕",q),q.events.forEach((Y,X)=>{const oe=ee(Y.target);!oe||!Y.lastEvent||(oe.x=Math.floor(Y.lastEvent.translate[0]),oe.y=Math.floor(Y.lastEvent.translate[1]),O[X]=JSON.parse(JSON.stringify({...oe,beforeObj:O[X]})))}),V.pushRecord(O,"groupMove"),m()},z=q=>{console.log("开始组修改大小",q),O=[],q.events.forEach(Y=>{const X=ee(Y.target);X&&O.push(JSON.parse(JSON.stringify(X)))})},U=q=>{console.log("组修改大小中",q),q.events.forEach(Y=>{Y.target.style.transform=Y.drag.transform,Y.target.style.width=`${Y.width}px`,Y.target.style.height=`${Y.height}px`;const X=ee(Y.target);X&&(X.x=Math.floor(Y.drag.translate[0]),X.y=Math.floor(Y.drag.translate[1]),X.w=Y.drag.width,X.h=Y.drag.height)})},G=q=>{console.log("修改大小结束",q),q.events.forEach((Y,X)=>{const oe=ee(Y.target);oe&&(O[X]=JSON.parse(JSON.stringify({...oe,beforeObj:O[X]})))}),V.pushRecord(O,"groupSize"),m()},J=q=>{const Y=ee(vue.unref(k));Y!=null&&Y.locked&&q.stopDrag(),O=JSON.parse(JSON.stringify(Y)),console.log("开始改变大小",q)},te=q=>{console.log("改变中",q),q.target.style.transform=q.drag.transform,q.target.style.width=`${q.width}px`,q.target.style.height=`${q.height}px`;const Y=ee(q.target);if(!Y)return;Y.x=Math.floor(q.drag.translate[0]),Y.y=Math.floor(q.drag.translate[1]),Y.w=q.drag.width,Y.h=q.drag.height;const[X,oe]=q.drag.translate;v([X],[oe])};function ae(q){console.log("改变结束",q);const Y=ee(vue.unref(k));if(!Y)return;const{x:X,y:oe,w:W,h:ne}=O;(Y.x!=X||Y.y!=oe||Y.w!=W||Y.h!=ne)&&V.pushRecord(JSON.parse(JSON.stringify({...Y,beforeObj:O})),"size"),m()}const j=vue.ref(!1);n.$baseEventBus.on("drag-start",()=>{j.value=!0}),n.$baseEventBus.on("drag-end",()=>{j.value=!1}),n.$baseEventBus.on("clear-stage",()=>{console.log("清空画布"),_([]),g([]),m()}),n.$baseEventBus.on("update-rect",()=>{var q,Y;console.log("更新画布"),(q=$.value)==null||q.updateTarget(),(Y=$.value)==null||Y.updateRect()}),n.$baseEventBus.on("change-align",q=>{vue.nextTick(()=>{var W;console.log("修改居中方式");const Y=[];if(!vue.unref(a).length)return;const X=$.value.getRect(),oe=$.value.getMoveables();if((oe==null?void 0:oe.length)<=1){const ne={};q=="left"&&(ne.x=0),q=="right"&&(ne.x=vue.unref(r)-X.width),q=="top"&&(ne.y=0),q=="bottom"&&(ne.y=vue.unref(o)-X.height),q=="middle"&&(ne.y=vue.unref(o)/2-X.height/2),q=="center"&&(ne.x=vue.unref(r)/2-X.width/2),oe[0].request("draggable",ne,!0);const H=ee(oe[0].props.target);if(!H)return;const Q=JSON.parse(JSON.stringify(H));Object.keys(ne).forEach(re=>{H[re]=ne[re]}),Y.push(JSON.parse(JSON.stringify({...H,beforeObj:Q})))}else switch(q){case"left":case"right":case"top":case"bottom":case"middle":case"center":{const ne=Math.max.apply(Math,X.children.map(Q=>Q.top+Q.height)),H=Math.max.apply(Math,X.children.map(Q=>Q.left+Q.width));oe.forEach((Q,re)=>{const ie={};q=="left"&&(ie.x=X.left),q=="right"&&(ie.x=H-X.children[re].width),q=="top"&&(ie.y=X.top),q=="bottom"&&(ie.y=ne-X.children[re].height),q=="middle"&&(ie.y=X.top+X.height/2-X.children[re].height/2),q=="center"&&(ie.x=X.left+X.width/2-X.children[re].width/2),Q.request("draggable",ie,!0);const ue=ee(Q.props.target);if(!ue)return;const ce=JSON.parse(JSON.stringify(ue));Object.keys(ie).forEach(fe=>{ue[fe]=ie[fe]}),Y.push(JSON.parse(JSON.stringify({...ue,beforeObj:ce})))}),m()}break;case"verticalAround":case"levelAround":{const ne=q=="verticalAround"?"top":"left",H=q=="verticalAround"?"height":"width";let Q=X[ne];const re=(X[H]-X.children.reduce((ie,ue)=>ie+ue[H],0))/(oe.length-1);oe.sort((ie,ue)=>ie.state[ne]-ue.state[ne]),oe.forEach(ie=>{const ue=ie.getRect(),ce={};ne=="top"&&(ce.y=Q),ne=="left"&&(ce.x=Q),ie.request("draggable",ce,!0);const fe=ee(ie.props.target);if(!fe)return;const ve=JSON.parse(JSON.stringify(fe));Object.keys(ce).forEach(de=>{fe[de]=ce[de]}),Y.push(JSON.parse(JSON.stringify({...fe,beforeObj:ve}))),Q+=ue[H]+re}),m()}break}V.pushRecord(Y,"groupAlign"),(W=$.value)==null||W.updateRect()})});const ee=q=>vue.unref(f).find(Y=>Y.id==(q==null?void 0:q.id)),le=q=>{q.preventDefault(),q.stopPropagation();const Y=q.dataTransfer.getData("dragComponent");if(Y){let X=JSON.parse(Y);X.chartId&&(X.customize=chartJsonFormat(X.customize));const{w:oe,h:W}=X;let ne=q.offsetX-oe/2,H=q.offsetY-W/2;ne<=0?ne=0:ne+oe>=vue.unref(r)&&(ne=vue.unref(r)-oe),H<=0?H=0:H+W>=vue.unref(o)&&(H=vue.unref(o)-W),_([{...X,x:ne,y:H,z:vue.unref(f).length+1},...vue.unref(f)]),V.pushRecord(vue.unref(f)[0],"create")}},se=vue.ref([]),Z=()=>{const q=(X,oe)=>{const W=onKeyStroke(X,ne=>{document.activeElement&&["INPUT"].includes(document.activeElement.tagName)||(ne.preventDefault(),ne.stopPropagation(),oe(ne))},{eventName:"keydown"});se.value.push(W)},Y=X=>navigator.userAgent.toLowerCase().includes("macintosh")?X.metaKey:X.ctrlKey;q(["Backspace","Delete"],X=>{if(console.log("删除触发",X),!vue.unref(a).length)return;const oe=vue.unref(d).map(ne=>ne.id),W=vue.unref(f).filter(ne=>oe.includes(ne.id));V.pushRecord(JSON.parse(JSON.stringify(W)),"delete"),y(vue.unref(d).map(ne=>ne.id))}),q(["z"],X=>{if(console.log("撤销/前进",X),Y(X)){const oe=X.shiftKey?V.forwardAction():V.backAction();if(!oe)return;console.log(X.shiftKey,oe.historyType,oe.historyData);const{historyType:W,historyData:ne}=oe;if(W=="create"){X.shiftKey?_([ne,...vue.unref(f)]):y([ne.id]);return}if(W=="delete"){X.shiftKey?y(ne.map(H=>H.id)):_([...JSON.parse(JSON.stringify(ne)),...vue.unref(f)]);return}(Array.isArray(ne)?ne:[ne]).forEach(H=>{const Q=vue.unref(f).find(re=>re.id==H.id);Q&&(X.shiftKey?(Q.x=H.x,Q.y=H.y,Q.z=H.z,Q.w=H.w,Q.h=H.h):(Q.x=H.beforeObj.x,Q.y=H.beforeObj.y,Q.z=H.beforeObj.z,Q.w=H.beforeObj.w,Q.h=H.beforeObj.h))}),C(),vue.nextTick(()=>{var H;(H=$.value)==null||H.updateRect()})}}),q(["ArrowLeft","ArrowRight","ArrowDown","ArrowUp"],X=>{if(!vue.unref(a).length)return;console.log("触发移动",X);let oe=0,W=0;X.key=="ArrowLeft"&&(oe=-2),X.key=="ArrowRight"&&(oe=2),X.key=="ArrowUp"&&(W=-2),X.key=="ArrowDown"&&(W=2),X.shiftKey&&(oe*=10,W*=10),vue.nextTick(()=>{const ne=$.value.getMoveables(),H=[];ne.forEach(Q=>{const re=ee(Q.props.target);!re||re.locked||(H.push(JSON.parse(JSON.stringify(re))),re.x+oe<0?re.x=0:re.x+oe>vue.unref(r)-re.w?re.x=vue.unref(r)-re.w:re.x+=oe,re.y+W<0?re.y=0:re.y+W>vue.unref(o)-re.h?re.y=vue.unref(o)-re.h:re.y+=W)}),vue.nextTick(()=>{var Q;(Q=$.value)==null||Q.updateRect(),V.pushRecord(H,"groupMove")})})}),q(["c"],X=>{console.log("复制",X),Y(X)&&vue.unref(d).length&&b(vue.unref(d).map(oe=>oe.id))}),q(["v"],X=>{console.log("粘贴",X),Y(X)&&vue.unref(p).length&&(x(),V.pushRecord(vue.unref(l).list[0],"create"))})},K=vue.ref(null);return vue.nextTick(()=>{Z(),K.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(K).on("dragStart",q=>{w(!1),console.log("开始全选拖拽",q)}),vue.unref(K).on("dragEnd",q=>{console.log("全选拖拽结束",q)}),vue.unref(K).on("select",q=>{console.log("选中结果",q),q.added.forEach(Y=>{Y.className.indexOf("loccked")||Y.classList.add("selected")}),q.removed.forEach(Y=>{Y.classList.remove("selected")}),N(q.selected)}),vue.unref(K).on("selectEnd",q=>{console.log("选中结束",q),N(q.selected)})}),vue.onBeforeUnmount(()=>{se.value.forEach(q=>q()),vue.unref(K)&&vue.unref(K).destroy()}),(q,Y)=>(vue.openBlock(),vue.createBlock(SketchRule,null,{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1Q,[vue.unref(j)?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"absolute w-full h-full z-[9999]",onDrop:Y[0]||(Y[0]=X=>le(X)),onDragover:Y[1]||(Y[1]=vue.withModifiers(()=>{},["prevent"]))},null,32)):vue.createCommentVNode("",!0),(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(f),X=>{var oe,W;return vue.openBlock(),vue.createElementBlock("div",{key:X.id,class:vue.normalizeClass(["absolute",{"drag-item":!0,locked:X.locked,selected:vue.unref(u).includes(X.id),active:((oe=vue.unref(k))==null?void 0:oe.id)==X.id}]),id:X.id,style:vue.normalizeStyle(vue.unref(getItemStyle)(X)),onDblclick:vue.withModifiers(ne=>X.locked=!X.locked,["stop"]),onMousedown:ne=>N(X,ne),onClick:vue.withModifiers(ne=>N(X,ne),["stop"])},[vue.unref(s)?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[X.locked?(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$1j,_hoisted_5$11)):vue.createCommentVNode("",!0),((W=vue.unref(k))==null?void 0:W.id)==X.id&&!X.locked?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$V,[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(P,ne=>vue.createElementVNode("div",{key:X.label,onClick:vue.withModifiers(H=>ne.clickFunc(X),["stop"]),onDblclick:Y[2]||(Y[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(ne.label),41,_hoisted_7$M)),64))])):vue.createCommentVNode("",!0)],64)),["iframe","select"].includes(X.type)?(vue.openBlock(),vue.createElementBlock("div",_hoisted_8$F)):vue.createCommentVNode("",!0),vue.createVNode(Render,{config:X,list:vue.unref(f),isLinkageQuery:!1,isCount:!1,isDesign:!0},null,8,["config","list"])],46,_hoisted_2$1y)}),128)),vue.createVNode(vue.unref(Moveable),{rootContainer:vue.unref(E),ref_key:"moveableRef",ref:$,origin:!1,stopPropagation:!0,target:vue.unref(a),draggable:!0,resizable:!0,scalable:!1,snappable:!0,maxSnapElementGuidelineDistance:100,maxSnapElementGapDistance:100,isDisplayInnerSnapDigit:!0,snapDirections:!0,elementSnapDirections:!0,elementGuidelines:T(),bounds:{left:0,top:0,bottom:0,right:0,position:"css"},onDragStart:I,onDrag:L,onDragEnd:D,onResizeStart:J,onResize:te,onResizeEnd:ae,onDragGroupStart:F,onDragGroup:M,onDragGroupEnd:R,onResizeGroupStart:z,onResizeGroup:U,onResizeGroupEnd:G},null,8,["rootContainer","target","elementGuidelines"])])]),_:1}))}}),main_vue_vue_type_style_index_0_scoped_e36aa127_lang="",Main=_export_sfc$2(_sfc_main$2F,[["__scopeId","data-v-e36aa127"]]),_sfc_main$2E=vue.defineComponent({__name:"colorPicker",props:{modelValue:{default:""},showInput:{type:Boolean,default:!0}},emits:["update:modelValue"],setup(i,{emit:n}){const r=i,{proxy:o}=vue.getCurrentInstance(),a=o.$globalPreColor,l=vue.ref(r.modelValue=="transparent"?"":r.modelValue),s=n;return vue.watch(l,u=>{s("update:modelValue",u||"transparent")}),(u,c)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[u.showInput?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElInput),{key:0,value:vue.unref(l),class:"mr-1",style:{width:"80%"}},null,8,["value"])):vue.createCommentVNode("",!0),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{modelValue:vue.unref(l),"onUpdate:modelValue":c[0]||(c[0]=d=>vue.isRef(l)?l.value=d:null),predefine:vue.unref(a),"show-alpha":""},null,8,["modelValue","predefine"])],64))}}),_hoisted_1$1P={class:"flex items-center h-10 p-2"},_hoisted_2$1x=vue.createElementVNode("span",{class:"w-1 h-4 mr-2",style:{background:"var(--el-color-primary)"}},null,-1),_sfc_main$2D=vue.defineComponent({__name:"group",props:{title:{default:"标题"}},setup(i){return(n,r)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createElementVNode("div",_hoisted_1$1P,[_hoisted_2$1x,vue.createTextVNode(" "+vue.toDisplayString(n.title),1)]),vue.renderSlot(n.$slots,"default")],64))}}),_withScopeId$I=i=>(vue.pushScopeId("data-v-cc7fabb8"),i=i(),vue.popScopeId(),i),_hoisted_1$1O={class:"flex items-center"},_hoisted_2$1w=_withScopeId$I(()=>vue.createElementVNode("span",{class:"ml-1 mr-1"},"-",-1)),_hoisted_3$1i=["src"],_hoisted_4$1e={key:1,class:"pt-4 pb-4"},_hoisted_5$10=_withScopeId$I(()=>vue.createElementVNode("p",{class:"mb-5"},"拖拽文件上传图片",-1)),_hoisted_6$U=_withScopeId$I(()=>vue.createElementVNode("i",{class:"text-6xl ri-image-add-line"},null,-1)),_hoisted_7$L=[_hoisted_5$10,_hoisted_6$U],_sfc_main$2C=vue.defineComponent({__name:"stageSetting",setup(i){const{stageWidth:n,setStageWidth:r,stageHeight:o,setStageHeight:a,widgetConfg:l}=useScreenDesign(),{proxy:s}=vue.getCurrentInstance(),{resetUrl:u}=s.$globalUtils,c=[{label:"平铺",value:"repeat"},{label:"平铺X",value:"repeat-x"},{label:"平铺Y",value:"repeat-y"},{label:"不平铺",value:"no-repeat"}],d=[{label:"拉伸",value:"cover"},{label:"自适应",value:"contain"}],f=[{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"}],p=async v=>{const m=new FormData;m.append("file",v.file);const g=await s.$baseHttp.post("/api/ace-api/blade-resource/oss/endpoint/put-file",m,{headers:{"Content-Type":"multipart/form-data",loading:!0}});g&&(vue.unref(l).config.backgroundImage=g.data.link)};return(v,m)=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElForm),{"label-position":"left",size:"small","label-width":"100px"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2D,{title:"整体布局"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"尺寸"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1O,[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{"model-value":vue.unref(n),onChange:vue.unref(r),size:"small",min:0,"value-on-clear":1920},null,8,["model-value","onChange"]),_hoisted_2$1w,vue.createVNode(vue.unref(elementPlus.ElInputNumber),{"model-value":vue.unref(o),onChange:vue.unref(a),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":p,"show-file-list":!1,accept:"image/*"},{default:vue.withCtx(()=>[vue.unref(l).config.backgroundImage?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createElementVNode("img",{class:"object-contain max-h-40",src:vue.unref(u)(vue.unref(l).config.backgroundImage)},null,8,_hoisted_3$1i),vue.createElementVNode("i",{class:"absolute text-xl ri-close-circle-line right-4 top-4",onClick:m[0]||(m[0]=vue.withModifiers(g=>vue.unref(l).config.backgroundImage=null,["stop"]))})],64)):(vue.openBlock(),vue.createElementBlock("div",_hoisted_4$1e,_hoisted_7$L))]),_:1})]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(l).config.backgroundColor,"onUpdate:modelValue":m[1]||(m[1]=g=>vue.unref(l).config.backgroundColor=g)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景平铺"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(l).config.backgroundRepeat,"onUpdate:modelValue":m[2]||(m[2]=g=>vue.unref(l).config.backgroundRepeat=g),size:"small","popper-class":"ace-select",style:{width:"100%"},placeholder:"请选择",clearable:""},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(c,g=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:g.value,label:g.label,value:g.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(l).config.backgroundSize,"onUpdate:modelValue":m[3]||(m[3]=g=>vue.unref(l).config.backgroundSize=g),size:"small","popper-class":"ace-select",style:{width:"100%"},placeholder:"请选择",clearable:""},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(d,g=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:g.value,label:g.label,value:g.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(l).config.backgroundPosition,"onUpdate:modelValue":m[4]||(m[4]=g=>vue.unref(l).config.backgroundPosition=g),size:"small","popper-class":"ace-select",style:{width:"100%"},placeholder:"请选择",clearable:""},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(f,g=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:g.value,label:g.label,value:g.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}))}}),stageSetting_vue_vue_type_style_index_0_scoped_cc7fabb8_lang="",stagetSetting=_export_sfc$2(_sfc_main$2C,[["__scopeId","data-v-cc7fabb8"]]),_sfc_main$2B=vue.defineComponent({__name:"decorationSetting",setup(i){const n=vue.inject("widgetConfig");return(r,o)=>vue.unref(n)?(vue.openBlock(),vue.createBlock(_sfc_main$2D,{key:0,title:"基础"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"主颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(n).customize.decorationColor1,"onUpdate:modelValue":o[0]||(o[0]=a=>vue.unref(n).customize.decorationColor1=a)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"副颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(n).customize.decorationColor2,"onUpdate:modelValue":o[1]||(o[1]=a=>vue.unref(n).customize.decorationColor2=a)},null,8,["modelValue"])]),_:1}),Object.keys(vue.unref(n).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(n).customize.reverse,"onUpdate:modelValue":o[2]||(o[2]=a=>vue.unref(n).customize.reverse=a)},null,8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),Object.keys(vue.unref(n).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(n).customize.duration,"onUpdate:modelValue":o[3]||(o[3]=a=>vue.unref(n).customize.duration=a)},null,8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0)]),_:1})):vue.createCommentVNode("",!0)}}),_sfc_main$2A=vue.defineComponent({__name:"setting",setup(i){const{proxy:n}=vue.getCurrentInstance(),r=vue.inject("widgetConfig");return(o,a)=>vue.unref(r)?(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$2D,{title:"标题"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"标题"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(r).name,"onUpdate:modelValue":a[0]||(a[0]=l=>vue.unref(r).name=l)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$2D,{title:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(r).w,"onUpdate:modelValue":a[1]||(a[1]=l=>vue.unref(r).w=l),onBlur:a[2]||(a[2]=l=>vue.unref(n).$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(r).h,"onUpdate:modelValue":a[3]||(a[3]=l=>vue.unref(r).h=l),onBlur:a[4]||(a[4]=l=>vue.unref(n).$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(r).x,"onUpdate:modelValue":a[5]||(a[5]=l=>vue.unref(r).x=l),onBlur:a[6]||(a[6]=l=>vue.unref(n).$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(r).y,"onUpdate:modelValue":a[7]||(a[7]=l=>vue.unref(r).y=l),onBlur:a[8]||(a[8]=l=>vue.unref(n).$baseEventBus.emit("update-rect"))},null,8,["modelValue"])]),_:1})]),_:1}),vue.renderSlot(o.$slots,"default")]),_:3})):vue.createCommentVNode("",!0)}}),_sfc_main$2z=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2B)]),_:1}))}}),__vite_glob_0_0=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2z},Symbol.toStringTag,{value:"Module"})),_sfc_main$2y=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2B)]),_:1}))}}),__vite_glob_0_1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2y},Symbol.toStringTag,{value:"Module"})),_sfc_main$2x=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2B)]),_:1}))}}),__vite_glob_0_2=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2x},Symbol.toStringTag,{value:"Module"})),_sfc_main$2w=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2B)]),_:1}))}}),__vite_glob_0_3=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2w},Symbol.toStringTag,{value:"Module"})),_sfc_main$2v=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2B)]),_:1}))}}),__vite_glob_0_4=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2v},Symbol.toStringTag,{value:"Module"})),_sfc_main$2u=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2B)]),_:1}))}}),__vite_glob_0_5=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2u},Symbol.toStringTag,{value:"Module"})),_sfc_main$2t=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2B)]),_:1}))}}),__vite_glob_0_6=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2t},Symbol.toStringTag,{value:"Module"})),_sfc_main$2s=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2B)]),_:1}))}}),__vite_glob_0_7=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2s},Symbol.toStringTag,{value:"Module"})),_sfc_main$2r=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2B)]),_:1}))}}),__vite_glob_0_8=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2r},Symbol.toStringTag,{value:"Module"})),_sfc_main$2q=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2B)]),_:1}))}}),__vite_glob_0_9=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2q},Symbol.toStringTag,{value:"Module"})),_sfc_main$2p=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2B)]),_:1}))}}),__vite_glob_0_10=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2p},Symbol.toStringTag,{value:"Module"})),_sfc_main$2o=vue.defineComponent({__name:"borderSetting",setup(i){const n=vue.inject("widgetConfig");return(r,o)=>vue.unref(n)?(vue.openBlock(),vue.createBlock(_sfc_main$2D,{key:0,title:"基础"},{default:vue.withCtx(()=>[Object.keys(vue.unref(n).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(n).customize.title,"onUpdate:modelValue":o[0]||(o[0]=a=>vue.unref(n).customize.title=a)},null,8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),Object.keys(vue.unref(n).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(n).customize.titleWidth,"onUpdate:modelValue":o[1]||(o[1]=a=>vue.unref(n).customize.titleWidth=a)},null,8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"边框主颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(n).customize.borderMainColor,"onUpdate:modelValue":o[2]||(o[2]=a=>vue.unref(n).customize.borderMainColor=a)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"边框副颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(n).customize.borderSecondaryColor,"onUpdate:modelValue":o[3]||(o[3]=a=>vue.unref(n).customize.borderSecondaryColor=a)},null,8,["modelValue"])]),_:1}),Object.keys(vue.unref(n).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(n).customize.reverse,"onUpdate:modelValue":o[4]||(o[4]=a=>vue.unref(n).customize.reverse=a)},null,8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),Object.keys(vue.unref(n).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(n).customize.duration,"onUpdate:modelValue":o[5]||(o[5]=a=>vue.unref(n).customize.duration=a)},null,8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(n).customize.backgroundColor,"onUpdate:modelValue":o[6]||(o[6]=a=>vue.unref(n).customize.backgroundColor=a)},null,8,["modelValue"])]),_:1})]),_:1})):vue.createCommentVNode("",!0)}}),_sfc_main$2n=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o)]),_:1}))}}),__vite_glob_1_0=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2n},Symbol.toStringTag,{value:"Module"})),_sfc_main$2m=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o)]),_:1}))}}),__vite_glob_1_1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2m},Symbol.toStringTag,{value:"Module"})),_sfc_main$2l=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o)]),_:1}))}}),__vite_glob_1_2=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2l},Symbol.toStringTag,{value:"Module"})),_sfc_main$2k=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o)]),_:1}))}}),__vite_glob_1_3=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2k},Symbol.toStringTag,{value:"Module"})),_sfc_main$2j=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o)]),_:1}))}}),__vite_glob_1_4=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2j},Symbol.toStringTag,{value:"Module"})),_sfc_main$2i=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o)]),_:1}))}}),__vite_glob_1_5=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2i},Symbol.toStringTag,{value:"Module"})),_sfc_main$2h=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o)]),_:1}))}}),__vite_glob_1_6=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2h},Symbol.toStringTag,{value:"Module"})),_sfc_main$2g=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o)]),_:1}))}}),__vite_glob_1_7=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2g},Symbol.toStringTag,{value:"Module"})),_sfc_main$2f=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o)]),_:1}))}}),__vite_glob_1_8=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2f},Symbol.toStringTag,{value:"Module"})),_sfc_main$2e=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o)]),_:1}))}}),__vite_glob_1_9=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2e},Symbol.toStringTag,{value:"Module"})),_sfc_main$2d=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o)]),_:1}))}}),__vite_glob_1_10=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2d},Symbol.toStringTag,{value:"Module"})),_sfc_main$2c=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o)]),_:1}))}}),__vite_glob_1_11=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2c},Symbol.toStringTag,{value:"Module"})),_sfc_main$2b=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2o)]),_:1}))}}),__vite_glob_1_12=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2b},Symbol.toStringTag,{value:"Module"})),_sfc_main$2a=vue.defineComponent({__name:"setting",setup(i){const n=vue.inject("widgetConfig");return(r,o)=>vue.unref(n)?(vue.openBlock(),vue.createBlock(_sfc_main$2A,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2D,{title:"基础"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadioGroup),{modelValue:vue.unref(n).customize.borderType,"onUpdate:modelValue":o[0]||(o[0]=a=>vue.unref(n).customize.borderType=a)},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"solid",label:"solid"},{default:vue.withCtx(()=>[vue.createTextVNode("实线")]),_:1}),vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"dashed",label:"dashed"},{default:vue.withCtx(()=>[vue.createTextVNode("虚线")]),_:1})]),_:1},8,["modelValue"])]),_:1}),vue.unref(n).customize.borderType=="dashed"?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElFormItem),{key:0,label:"间距"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(n).customize.borderGap,"onUpdate:modelValue":o[1]||(o[1]=a=>vue.unref(n).customize.borderGap=a)},null,8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景色一"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(n).customize.gradientColor0,"onUpdate:modelValue":o[2]||(o[2]=a=>vue.unref(n).customize.gradientColor0=a)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景色二"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(n).customize.gradientColor1,"onUpdate:modelValue":o[3]||(o[3]=a=>vue.unref(n).customize.gradientColor1=a)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(n).customize.width,"onUpdate:modelValue":o[4]||(o[4]=a=>vue.unref(n).customize.width=a)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0)}}),__vite_glob_2_0=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$2a},Symbol.toStringTag,{value:"Module"})),_sfc_main$29=vue.defineComponent({__name:"setting",setup(i){const n=vue.inject("widgetConfig");return(r,o)=>vue.unref(n)?(vue.openBlock(),vue.createBlock(_sfc_main$2A,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2D,{title:"地址配置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"地址"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(n).customize.url,"onUpdate:modelValue":o[0]||(o[0]=a=>vue.unref(n).customize.url=a)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0)}}),__vite_glob_2_1=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$29},Symbol.toStringTag,{value:"Module"})),_withScopeId$H=i=>(vue.pushScopeId("data-v-9a22a856"),i=i(),vue.popScopeId(),i),_hoisted_1$1N={class:"p-3"},_hoisted_2$1v=["src"],_hoisted_3$1h={key:1,class:"pt-4 pb-4"},_hoisted_4$1d=_withScopeId$H(()=>vue.createElementVNode("p",{class:"mb-5"},"拖拽文件上传图片",-1)),_hoisted_5$$=_withScopeId$H(()=>vue.createElementVNode("i",{class:"text-6xl ri-image-add-line"},null,-1)),_hoisted_6$T=[_hoisted_4$1d,_hoisted_5$$],_sfc_main$28=vue.defineComponent({__name:"setting",setup(i){const n=[{label:"压缩",value:"fill"},{label:"填充",value:"cover"},{label:"自适应",value:"contain"},{label:"原始大小",value:"none"},{label:"展示最小",value:"scale-down"}],{proxy:r}=vue.getCurrentInstance(),{resetUrl:o}=r.$globalUtils,a=vue.inject("widgetConfig"),l=async s=>{const u=new FormData;u.append("file",s.file);const c=await r.$baseHttp.post("/api/ace-api/blade-resource/oss/endpoint/put-file",u,{headers:{"Content-Type":"multipart/form-data",loading:!0}});c&&(a.value.customize.url=c.data.link)};return(s,u)=>vue.unref(a)?(vue.openBlock(),vue.createBlock(_sfc_main$2A,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2D,{title:"图片配置"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1N,[vue.createVNode(vue.unref(elementPlus.ElUpload),{drag:"",limit:1,"http-request":l,"show-file-list":!1,accept:"image/*"},{default:vue.withCtx(()=>[vue.unref(a).customize.url?(vue.openBlock(),vue.createElementBlock("img",{key:0,class:"max-h-40",src:vue.unref(o)(vue.unref(a).customize.url)},null,8,_hoisted_2$1v)):(vue.openBlock(),vue.createElementBlock("div",_hoisted_3$1h,_hoisted_6$T))]),_:1})]),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"地址"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(a).customize.url,"onUpdate:modelValue":u[0]||(u[0]=c=>vue.unref(a).customize.url=c)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"展示方式"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(a).customize.fit,"onUpdate:modelValue":u[1]||(u[1]=c=>vue.unref(a).customize.fit=c),"popper-class":"ace-select"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(n,c=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:c.value,label:c.label,value:c.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0)}}),setting_vue_vue_type_style_index_0_scoped_9a22a856_lang="",setting$1=_export_sfc$2(_sfc_main$28,[["__scopeId","data-v-9a22a856"]]),__vite_glob_2_2=Object.freeze(Object.defineProperty({__proto__:null,default:setting$1},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$1M=vue.createElementVNode("i",{class:"ml-2 mr-2 ri-arrow-right-fill"},null,-1),_hoisted_2$1u=vue.createElementVNode("i",{class:"ml-2 mr-2 ri-arrow-right-fill"},null,-1),_sfc_main$27=vue.defineComponent({__name:"text",setup(i){const n=[{label:"靠左",value:"left"},{label:"居中",value:"center"},{label:"靠右",value:"right"}],r=vue.inject("widgetConfig");return(o,a)=>vue.unref(r)?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(_sfc_main$2D,{title:"文本"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"文本"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(r).customize.title,"onUpdate:modelValue":a[0]||(a[0]=l=>vue.unref(r).customize.title=l)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(r).customize.fontSize,"onUpdate:modelValue":a[1]||(a[1]=l=>vue.unref(r).customize.fontSize=l)},{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(r).customize.fontWeight,"onUpdate:modelValue":a[2]||(a[2]=l=>vue.unref(r).customize.fontWeight=l)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"文字间距"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(r).customize.letterSpacing,"onUpdate:modelValue":a[3]||(a[3]=l=>vue.unref(r).customize.letterSpacing=l)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"文字对齐方式"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(r).customize.textAlign,"onUpdate:modelValue":a[4]||(a[4]=l=>vue.unref(r).customize.textAlign=l),"popper-class":"ace-select"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(n,l=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:l.value,label:l.label,value:l.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(r).customize.colorPosition,"onUpdate:modelValue":a[5]||(a[5]=l=>vue.unref(r).customize.colorPosition=l)},{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$2E,{modelValue:vue.unref(r).customize.startColor,"onUpdate:modelValue":a[6]||(a[6]=l=>vue.unref(r).customize.startColor=l),showInput:!1},null,8,["modelValue"]),_hoisted_1$1M,vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(r).customize.endColor,"onUpdate:modelValue":a[7]||(a[7]=l=>vue.unref(r).customize.endColor=l),showInput:!1},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$2D,{title:"文本背景"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"圆角尺寸"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(r).customize.borderRadius,"onUpdate:modelValue":a[8]||(a[8]=l=>vue.unref(r).customize.borderRadius=l)},{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(r).customize.borderWidth,"onUpdate:modelValue":a[9]||(a[9]=l=>vue.unref(r).customize.borderWidth=l)},{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.ElSelect),{"popper-class":"ace-select",modelValue:vue.unref(r).customize.borderStyle,"onUpdate:modelValue":a[10]||(a[10]=l=>vue.unref(r).customize.borderStyle=l),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).lineStyle,l=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:l.value,label:l.label,value:l.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"边框颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(r).customize.borderColor,"onUpdate:modelValue":a[11]||(a[11]=l=>vue.unref(r).customize.borderColor=l)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景渐变方向"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadioGroup),{modelValue:vue.unref(r).customize.bgColorPosition,"onUpdate:modelValue":a[12]||(a[12]=l=>vue.unref(r).customize.bgColorPosition=l)},{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$2E,{modelValue:vue.unref(r).customize.startBgColor,"onUpdate:modelValue":a[13]||(a[13]=l=>vue.unref(r).customize.startBgColor=l),showInput:!1},null,8,["modelValue"]),_hoisted_2$1u,vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(r).customize.endBgColor,"onUpdate:modelValue":a[14]||(a[14]=l=>vue.unref(r).customize.endBgColor=l),showInput:!1},null,8,["modelValue"])]),_:1})]),_:1})],64)):vue.createCommentVNode("",!0)}}),_withScopeId$G=i=>(vue.pushScopeId("data-v-33b54b9d"),i=i(),vue.popScopeId(),i),_hoisted_1$1L={class:"selection el-popper is-light el-popover"},_hoisted_2$1t=_withScopeId$G(()=>vue.createElementVNode("span",{class:"el-popper__arrow","data-popper-arrow":""},null,-1)),validKeys$1="0123456789+-*/@.()",_sfc_main$26=vue.defineComponent({__name:"exp",setup(i){const{getCountMap:n}=useScreenDesign(),r=vue.inject("widgetConfig"),o=vue.ref(null),a=vue.ref(""),l=vue.computed(()=>{const $=[];return Object.keys(vue.unref(n)).forEach(S=>{const V=vue.unref(n)[S],k=[];Object.keys(V.var).forEach(P=>{const B=P.replace(S,V.title);k.push({label:B.replace(`${V.title}.`,""),value:`${B}||${S}`})}),$.push({label:V.title,value:S,children:k})}),$}),s=$=>{const{key:S}=$;switch(S){case"Enter":$.preventDefault();break;case"@":case"Process":f();break}};let u=null;const c=()=>{const $=vue.unref(o).innerHTML;let S=b($.replace(/<br>/g,""));S=S.map(k=>C(k)?x(k):k.data.split("").filter(P=>validKeys$1.includes(P)).join(""));const V=S.join("");if($!==V){const k=w($,V);vue.unref(o).innerHTML=V,E(vue.unref(o),k)}clearTimeout(u),u=setTimeout(async()=>{g()},500)},d=vue.ref(!1),f=()=>{a.value="",d.value=!0},p=$=>{d.value=!1;const[S,V]=$.split("||"),k=`<div contenteditable="false">${S}<span>${V}</span></div>`;m("@",k)};(()=>{var $;if(($=vue.unref(r).customize.formula)!=null&&$.exp){const S=vue.unref(r).customize.formula;let V=S.exp??"";const k=S.identifier.split(","),P=/\{([^}]+)\}/g;let B=-1;V=V.replace(P,(T,N)=>(B+=1,`<div contenteditable="false">${N}<span>${k[B]}</span></div>`)),vue.nextTick(()=>{vue.unref(o).innerHTML=V.replace(/@/g,""),setTimeout(()=>{g()},100)})}})();const m=($,S="")=>{if(!vue.unref(o))return;let V=vue.unref(o).innerHTML;V.includes($)&&(V=V.replace(new RegExp($,"g"),S),vue.unref(o).innerHTML=V),g()},g=()=>{let $="";const S=[],V=vue.unref(o).innerHTML.replace(/\sdata-spm-anchor-id=".*?"/g,"");y({text:V,prefix:'<div contenteditable="false">',suffix:"</div>"}).forEach(P=>{const[B,T]=y({text:P,prefix:"<span>",suffix:"</span>"});T?($+=`{${B}}`,S.push(T)):$+=B}),r.value.customize.formula={exp:$,identifier:S.toString()}},_=$=>{d.value=!1,$&&m("@")},y=({text:$,prefix:S,suffix:V})=>$.replace(new RegExp(S,"g"),",").replace(new RegExp(V,"g"),",").split(",").filter(k=>!!k),b=$=>{const S=document.createElement("div");return S.innerHTML=$,[...S.childNodes]},x=$=>{let S=document.createElement("div");S.appendChild($);let V=S.innerHTML;return S=$=null,V},C=$=>Object.prototype.toString.call($)==="[object HTMLDivElement]",w=($,S)=>{const V=$.split(""),k=S.split(""),P=Math.max(V.length,k.length);let B=0;for(let T=0;T<P&&V[T]==k[T];T++)B++;return B},E=($,S)=>{const V=document.createRange(),k=window.getSelection();let P=0,B=0;const T=b($.innerHTML);for(let N=0;N<T.length;N++){const O=T[N];if(C(O))S-=x(O).length;else if(S>O.length)S-=O.length;else{B=S;break}P++}V.selectNodeContents($),V.collapse(!1),$.childNodes[P]&&V.setStart($.childNodes[P],B),V.collapse(!0),k.removeAllRanges(),k.addRange(V)};return($,S)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createElementVNode("div",{ref_key:"formulaRef",ref:o,class:"flex-1 formula",contenteditable:"",placeholder:"请输入表达式 输入「@」后选择指标",style:{"ime-mode":"disabled"},onKeydown:vue.withModifiers(s,["stop"]),onKeyup:c},null,544),vue.withDirectives(vue.createElementVNode("div",_hoisted_1$1L,[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:_})]),vue.createVNode(vue.unref(elementPlus.ElTreeSelect),{onChange:p,filterable:"",accordion:"",placeholder:"请选择变量","popper-class":"ace-select",modelValue:vue.unref(a),"onUpdate:modelValue":S[0]||(S[0]=V=>vue.isRef(a)?a.value=V:null),data:vue.unref(l)},null,8,["modelValue","data"]),_hoisted_2$1t],512),[[vue.vShow,vue.unref(d)]])],64))}}),exp_vue_vue_type_style_index_0_scoped_33b54b9d_lang="",Exp=_export_sfc$2(_sfc_main$26,[["__scopeId","data-v-33b54b9d"]]),_withScopeId$F=i=>(vue.pushScopeId("data-v-ae8d9af3"),i=i(),vue.popScopeId(),i),_hoisted_1$1K=_withScopeId$F(()=>vue.createElementVNode("div",{class:"h-12"},null,-1)),_sfc_main$25=vue.defineComponent({__name:"setting",setup(i){const n=vue.inject("widgetConfig");return(r,o)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$27),vue.createVNode(_sfc_main$2D,{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(n).customize.toFixed,"onUpdate:modelValue":o[0]||(o[0]=a=>vue.unref(n).customize.toFixed=a),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$1K]),_:1}))}}),setting_vue_vue_type_style_index_0_scoped_ae8d9af3_lang="",setting=_export_sfc$2(_sfc_main$25,[["__scopeId","data-v-ae8d9af3"]]),__vite_glob_2_3=Object.freeze(Object.defineProperty({__proto__:null,default:setting},Symbol.toStringTag,{value:"Module"})),_sfc_main$24=vue.defineComponent({__name:"setting",setup(i){const n=vue.inject("widgetConfig");return(r,o)=>vue.unref(n)?(vue.openBlock(),vue.createBlock(_sfc_main$2A,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2D,{title:"基础"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"渐变方向"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadioGroup),{modelValue:vue.unref(n).customize.colorPosition,"onUpdate:modelValue":o[0]||(o[0]=a=>vue.unref(n).customize.colorPosition=a)},{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(n).customize.borderRadius,"onUpdate:modelValue":o[1]||(o[1]=a=>vue.unref(n).customize.borderRadius=a)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景色一"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(n).customize.gradientColor0,"onUpdate:modelValue":o[2]||(o[2]=a=>vue.unref(n).customize.gradientColor0=a)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景色二"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(n).customize.gradientColor1,"onUpdate:modelValue":o[3]||(o[3]=a=>vue.unref(n).customize.gradientColor1=a)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0)}}),__vite_glob_2_4=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$24},Symbol.toStringTag,{value:"Module"})),_sfc_main$23=vue.defineComponent({__name:"setting",setup(i){const{proxy:n}=vue.getCurrentInstance(),r=vue.inject("widgetConfig"),o=vue.ref([]);return n.$baseHttp.get("/api/ace-data-center/screen/list",{params:{descs:"create_time",projectId:n.$baseGetCurrentProjectId(),current:1,size:1e3}}).then(a=>{o.value=a.data.records.map(l=>{const s=JSON.parse(l.config);return l.indicatorsList=s.list.filter(u=>u.indicatorsId),l})}),(a,l)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$27),vue.createVNode(_sfc_main$2D,{title:"链接地址"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"链接类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadioGroup),{modelValue:vue.unref(r).customize.type,"onUpdate:modelValue":l[0]||(l[0]=s=>vue.unref(r).customize.type=s)},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"fullscreen"},{default:vue.withCtx(()=>[vue.createTextVNode("大屏")]),_:1}),vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"link"},{default:vue.withCtx(()=>[vue.createTextVNode("其他链接")]),_:1})]),_:1},8,["modelValue"])]),_:1}),vue.unref(r).customize.type=="fullscreen"?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElFormItem),{key:0,label:"选择大屏"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{size:"small",class:"w-full","popper-class":"ace-select",modelValue:vue.unref(r).customize.fullscreenId,"onUpdate:modelValue":l[1]||(l[1]=s=>vue.unref(r).customize.fullscreenId=s),placeholder:"请选择大屏"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(o),s=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:s.id,label:s.title,value:s.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),vue.unref(r).customize.type=="link"?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElFormItem),{key:1,label:"地址"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(r).customize.url,"onUpdate:modelValue":l[2]||(l[2]=s=>vue.unref(r).customize.url=s)},null,8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"打开方式"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadioGroup),{modelValue:vue.unref(r).customize.openType,"onUpdate:modelValue":l[3]||(l[3]=s=>vue.unref(r).customize.openType=s)},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"own"},{default:vue.withCtx(()=>[vue.createTextVNode("本窗口")]),_:1}),vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"blank"},{default:vue.withCtx(()=>[vue.createTextVNode("新窗口")]),_:1}),vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"dialog"},{default:vue.withCtx(()=>[vue.createTextVNode("弹窗")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}))}}),__vite_glob_2_5=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$23},Symbol.toStringTag,{value:"Module"})),_sfc_main$22=vue.defineComponent({__name:"setting",setup(i){return vue.inject("widgetConfig"),(n,r)=>(vue.openBlock(),vue.createBlock(_sfc_main$2A,null,{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$27)]),_:1}))}}),__vite_glob_2_6=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$22},Symbol.toStringTag,{value:"Module"})),_sfc_main$21=vue.defineComponent({__name:"setting",setup(i){const n=vue.inject("widgetConfig");return(r,o)=>vue.unref(n)?(vue.openBlock(),vue.createBlock(_sfc_main$2A,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2D,{title:"基础"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadioGroup),{modelValue:vue.unref(n).customize.borderType,"onUpdate:modelValue":o[0]||(o[0]=a=>vue.unref(n).customize.borderType=a)},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"solid",label:"solid"},{default:vue.withCtx(()=>[vue.createTextVNode("实线")]),_:1}),vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"dashed",label:"right"},{default:vue.withCtx(()=>[vue.createTextVNode("虚线")]),_:1})]),_:1},8,["modelValue"])]),_:1}),vue.unref(n).customize.borderType=="dashed"?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElFormItem),{key:0,label:"间距"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(n).customize.borderGap,"onUpdate:modelValue":o[1]||(o[1]=a=>vue.unref(n).customize.borderGap=a)},null,8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景色一"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(n).customize.gradientColor0,"onUpdate:modelValue":o[2]||(o[2]=a=>vue.unref(n).customize.gradientColor0=a)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景色二"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(n).customize.gradientColor1,"onUpdate:modelValue":o[3]||(o[3]=a=>vue.unref(n).customize.gradientColor1=a)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"高度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(n).customize.height,"onUpdate:modelValue":o[4]||(o[4]=a=>vue.unref(n).customize.height=a)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0)}}),__vite_glob_2_7=Object.freeze(Object.defineProperty({__proto__:null,default:_sfc_main$21},Symbol.toStringTag,{value:"Module"})),_withScopeId$E=i=>(vue.pushScopeId("data-v-9c8e9e29"),i=i(),vue.popScopeId(),i),_hoisted_1$1J=_withScopeId$E(()=>vue.createElementVNode("div",{class:"h-14"},null,-1)),_sfc_main$20=vue.defineComponent({__name:"linkage",setup(i){const{proxy:n}=vue.getCurrentInstance(),{getWidgetList:r}=useScreenDesign(),o=vue.computed(()=>vue.unref(r).filter(s=>s.modelType=="MODEL_INDICATORS")),a=vue.inject("widgetConfig"),l=vue.ref([]);return n.$baseHttp.get("/api/ace-data-center/model-indicators/getConfJson",{params:{modelIndicatorsIds:vue.unref(o).map(s=>s.indicatorsId).toString()}}).then(s=>{l.value=[],vue.unref(o).forEach(u=>{const c=s.data.formConfJsonMap[u.indicatorsId];c&&l.value.push({label:u.name,value:u.indicatorsId,children:JSON.parse(c).map(d=>({label:d.name,value:d.key}))})})}),(s,u)=>(vue.openBlock(),vue.createBlock(_sfc_main$2D,{title:"联动组件"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:""},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElCascader),{style:{width:"100%"},placeholder:"请选择指标",modelValue:vue.unref(a).customize.linkage,"onUpdate:modelValue":u[0]||(u[0]=c=>vue.unref(a).customize.linkage=c),options:vue.unref(l),props:{multiple:!0},clearable:""},null,8,["modelValue","options"])]),_:1}),_hoisted_1$1J]),_:1}))}}),linkage_vue_vue_type_style_index_0_scoped_9c8e9e29_lang="",linkage=_export_sfc$2(_sfc_main$20,[["__scopeId","data-v-9c8e9e29"]]),_hoisted_1$1I={class:"flex flex-wrap gap-1"},_hoisted_2$1s={class:"flex items-center gap-1"},_hoisted_3$1g={class:"flex items-center gap-1"},_hoisted_4$1c={class:"flex items-center gap-1"},_hoisted_5$_={class:"flex items-center gap-1"},_sfc_main$1$=vue.defineComponent({__name:"setting",setup(i){const n=vue.inject("widgetConfig");return(r,o)=>vue.unref(n)?(vue.openBlock(),vue.createBlock(_sfc_main$2A,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2D,{title:"基础"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(n).customize.backgroundColor,"onUpdate:modelValue":o[0]||(o[0]=a=>vue.unref(n).customize.backgroundColor=a)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"边框颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(n).customize.borderColor,"onUpdate:modelValue":o[1]||(o[1]=a=>vue.unref(n).customize.borderColor=a)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"边框大小"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1I,[vue.createElementVNode("div",_hoisted_2$1s,[vue.createTextVNode(" 上 "),vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(n).customize.borderTopWidth,"onUpdate:modelValue":o[2]||(o[2]=a=>vue.unref(n).customize.borderTopWidth=a),"controls-position":"right"},null,8,["modelValue"])]),vue.createElementVNode("div",_hoisted_3$1g,[vue.createTextVNode(" 右 "),vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(n).customize.borderRightWidth,"onUpdate:modelValue":o[3]||(o[3]=a=>vue.unref(n).customize.borderRightWidth=a),"controls-position":"right"},null,8,["modelValue"])]),vue.createElementVNode("div",_hoisted_4$1c,[vue.createTextVNode(" 下 "),vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(n).customize.borderBottomWidth,"onUpdate:modelValue":o[4]||(o[4]=a=>vue.unref(n).customize.borderBottomWidth=a),"controls-position":"right"},null,8,["modelValue"])]),vue.createElementVNode("div",_hoisted_5$_,[vue.createTextVNode(" 左 "),vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(n).customize.borderLeftWidth,"onUpdate:modelValue":o[5]||(o[5]=a=>vue.unref(n).customize.borderLeftWidth=a),"controls-position":"right"},null,8,["modelValue"])])])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"字体颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(n).customize.color,"onUpdate:modelValue":o[6]||(o[6]=a=>vue.unref(n).customize.color=a)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(n).customize.fontSize,"onUpdate:modelValue":o[7]||(o[7]=a=>vue.unref(n).customize.fontSize=a)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"圆角大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(n).customize.borderRadius,"onUpdate:modelValue":o[8]||(o[8]=a=>vue.unref(n).customize.borderRadius=a)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$2D,{title:"输入框配置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"默认值"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(n).customize.modelValue,"onUpdate:modelValue":o[9]||(o[9]=a=>vue.unref(n).customize.modelValue=a)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"空值显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(n).customize.placeholder,"onUpdate:modelValue":o[10]||(o[10]=a=>vue.unref(n).customize.placeholder=a)},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$1$},Symbol.toStringTag,{value:"Module"})),_sfc_main$1_=vue.defineComponent({__name:"setting",setup(i){const{proxy:n}=vue.getCurrentInstance();n.$globalPreColor;const r=vue.ref([]),o=vue.ref([]),a=vue.inject("widgetConfig");n.$baseHttp.get(`/api/ace-data-center/custom-dic/options?projectId=${n.$baseGetCurrentProjectId()}`).then(s=>{r.value=s.data,l(!1)});const l=(s=!0)=>{const u=vue.unref(a).customize.dictId;s&&(o.value=[],vue.unref(a).customize.modelValue=""),u&&n.$baseHttp.get(`/api/ace-data-center/custom-dic/readDict/${u}`).then(c=>{o.value=dictArratToTree(c.data??[])})};return(s,u)=>vue.unref(a)?(vue.openBlock(),vue.createBlock(_sfc_main$2A,{key:0},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2D,{title:"基础信息"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadioGroup),{modelValue:vue.unref(a).customize.type,"onUpdate:modelValue":u[0]||(u[0]=c=>vue.unref(a).customize.type=c)},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"select",label:"下拉"},{default:vue.withCtx(()=>[vue.createTextVNode("下拉")]),_:1}),vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"card",label:"卡片"},{default:vue.withCtx(()=>[vue.createTextVNode("卡片")]),_:1}),vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"line",label:"线条"},{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.ElSwitch),{modelValue:vue.unref(a).customize.clearable,"onUpdate:modelValue":u[1]||(u[1]=c=>vue.unref(a).customize.clearable=c)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"背景颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(a).customize.bgColor,"onUpdate:modelValue":u[2]||(u[2]=c=>vue.unref(a).customize.bgColor=c)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"字体颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(a).customize.color,"onUpdate:modelValue":u[3]||(u[3]=c=>vue.unref(a).customize.color=c)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(a).customize.fontSize,"onUpdate:modelValue":u[4]||(u[4]=c=>vue.unref(a).customize.fontSize=c)},{suffix:vue.withCtx(()=>[vue.createTextVNode("px")]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"边框颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(a).customize.borderColor,"onUpdate:modelValue":u[5]||(u[5]=c=>vue.unref(a).customize.borderColor=c)},null,8,["modelValue"])]),_:1}),["card","line"].includes(vue.unref(a).customize.type)?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"圆角尺寸"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(a).customize.borderRadius,"onUpdate:modelValue":u[6]||(u[6]=c=>vue.unref(a).customize.borderRadius=c)},{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(a).customize.borderWidth,"onUpdate:modelValue":u[7]||(u[7]=c=>vue.unref(a).customize.borderWidth=c)},{suffix:vue.withCtx(()=>[vue.createTextVNode("px")]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"选中背景颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(a).customize.activeBgColor,"onUpdate:modelValue":u[8]||(u[8]=c=>vue.unref(a).customize.activeBgColor=c)},null,8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"选中颜色"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$2E,{modelValue:vue.unref(a).customize.activeColor,"onUpdate:modelValue":u[9]||(u[9]=c=>vue.unref(a).customize.activeColor=c)},null,8,["modelValue"])]),_:1})],64)):vue.createCommentVNode("",!0)]),_:1}),vue.createVNode(_sfc_main$2D,{title:"下拉框配置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"字典"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:vue.unref(a).customize.dictId,"onUpdate:modelValue":u[10]||(u[10]=c=>vue.unref(a).customize.dictId=c),placeholder:"字典值",onChange:l},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(r),c=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{label:c.label,value:c.code,key:c.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.ElTreeSelect),{style:{width:"100%"},"popper-class":"ace-select",expandAll:!1,props:{label:"name",value:"code"},modelValue:vue.unref(a).customize.modelValue,"onUpdate:modelValue":u[11]||(u[11]=c=>vue.unref(a).customize.modelValue=c),placeholder:"请选择",clearable:"",renderAfterExpand:"",data:vue.unref(o)},null,8,["modelValue","data"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"空值显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(a).customize.placeholder,"onUpdate:modelValue":u[12]||(u[12]=c=>vue.unref(a).customize.placeholder=c)},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$1_},Symbol.toStringTag,{value:"Module"})),_hoisted_1$1H={class:"flex flex-col justify-start w-full"},_hoisted_2$1r={key:0,class:"flex items-center w-full font-bold"},_hoisted_3$1f=vue.createElementVNode("span",{class:"w-1 h-4 mr-2",style:{background:"var(--el-color-primary)"}},null,-1),_hoisted_4$1b={class:"flex items-end justify-end flex-1"},_hoisted_5$Z={class:"flex flex-wrap flex-1"},_hoisted_6$S=vue.createElementVNode("div",{class:"h-4"},null,-1),_sfc_main$1Z=vue.defineComponent({__name:"setting-item-box",props:{name:{default:""}},setup(i){return(n,r)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createElementVNode("div",_hoisted_1$1H,[n.name?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$1r,[_hoisted_3$1f,vue.createTextVNode(" "+vue.toDisplayString(n.name)+" ",1),vue.createElementVNode("div",_hoisted_4$1b,[vue.renderSlot(n.$slots,"right")])])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_5$Z,[vue.renderSlot(n.$slots,"default")])]),_hoisted_6$S],64))}}),_hoisted_1$1G={class:"w-1/2 pr-2 mt-2"},_hoisted_2$1q={class:"text-xs mb-2"},_sfc_main$1Y=vue.defineComponent({__name:"setting-item",props:{name:{default:""}},setup(i){return(n,r)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1G,[vue.createElementVNode("div",_hoisted_2$1q,vue.toDisplayString(n.name),1),vue.renderSlot(n.$slots,"default")]))}}),_sfc_main$1X=vue.defineComponent({__name:"setting-common",props:{option:{default:{}},type:{default:0}},setup(i){const n=i,{proxy:r}=vue.getCurrentInstance(),o=r.$globalPreColor,a=[{label:"横向",value:"horizontal"},{label:"纵向",value:"vertical"}];return vue.watch(()=>n.option.custom,l=>{n.option.yAxis&&n.option.yAxis.forEach(s=>{s.axisLabel.formatter=`${l.prefix??""}{value}${l.suffix??""}`})},{deep:!0}),vue.watch(()=>n.option.showScroll,l=>{if(l)n.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 s=n.option.series;n.option.series=[],n.option.direction="",setTimeout(()=>{delete n.option.dataZoom,n.option.series=s})}}),vue.watch(()=>n.option.direction,l=>{n.option.dataZoom.forEach((s,u)=>{l=="vertical"?s.yAxisIndex=[0]:delete s.yAxisIndex})}),(l,s)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[l.option.grid?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCollapseItem),{key:0,title:"容器"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"左侧距离"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:l.option.grid.left,"onUpdate:modelValue":s[0]||(s[0]=u=>l.option.grid.left=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"右侧距离"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:l.option.grid.right,"onUpdate:modelValue":s[1]||(s[1]=u=>l.option.grid.right=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"上侧距离"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:l.option.grid.top,"onUpdate:modelValue":s[2]||(s[2]=u=>l.option.grid.top=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"下侧距离"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:l.option.grid.bottom,"onUpdate:modelValue":s[3]||(s[3]=u=>l.option.grid.bottom=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"自适应"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:l.option.grid.containLabel,"onUpdate:modelValue":s[4]||(s[4]=u=>l.option.grid.containLabel=u)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0),[1,3,5].includes(l.type)?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCollapseItem),{key:1,title:"滚动条"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:l.option.showScroll,"onUpdate:modelValue":s[5]||(s[5]=u=>l.option.showScroll=u)},null,8,["modelValue"])]),_:1})]),_:1}),l.option.showScroll?(vue.openBlock(),vue.createBlock(_sfc_main$1Z,{key:0,name:"参数"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"滚动条方向"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:l.option.direction,"onUpdate:modelValue":s[6]||(s[6]=u=>l.option.direction=u),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(a,u=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:u.value,label:u.label,value:u.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"范围结束值"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:l.option.dataZoom[0].endValue,"onUpdate:modelValue":s[7]||(s[7]=u=>l.option.dataZoom[0].endValue=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"拖拽宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:l.option.dataZoom[0].handleSize,"onUpdate:modelValue":s[8]||(s[8]=u=>l.option.dataZoom[0].handleSize=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:l.option.dataZoom[0].width,"onUpdate:modelValue":s[9]||(s[9]=u=>l.option.dataZoom[0].width=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"高度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:l.option.dataZoom[0].height,"onUpdate:modelValue":s[10]||(s[10]=u=>l.option.dataZoom[0].height=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"上"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:l.option.dataZoom[0].top,"onUpdate:modelValue":s[11]||(s[11]=u=>l.option.dataZoom[0].top=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"右"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:l.option.dataZoom[0].right,"onUpdate:modelValue":s[12]||(s[12]=u=>l.option.dataZoom[0].right=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"下"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:l.option.dataZoom[0].bottom,"onUpdate:modelValue":s[13]||(s[13]=u=>l.option.dataZoom[0].bottom=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"左"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:l.option.dataZoom[0].left,"onUpdate:modelValue":s[14]||(s[14]=u=>l.option.dataZoom[0].left=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"背景颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(o),"show-alpha":"",modelValue:l.option.dataZoom[0].backgroundColor,"onUpdate:modelValue":s[15]||(s[15]=u=>l.option.dataZoom[0].backgroundColor=u)},null,8,["predefine","modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"选中范围颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(o),modelValue:l.option.dataZoom[0].fillerColor,"onUpdate:modelValue":s[16]||(s[16]=u=>l.option.dataZoom[0].fillerColor=u)},null,8,["predefine","modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"边框颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(o),modelValue:l.option.dataZoom[0].borderColor,"onUpdate:modelValue":s[17]||(s[17]=u=>l.option.dataZoom[0].borderColor=u)},null,8,["predefine","modelValue"])]),_:1})]),_:1})):vue.createCommentVNode("",!0)]),_:1})):vue.createCommentVNode("",!0),l.option.legend?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCollapseItem),{key:2,title:"图例"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:l.option.legend.show,"onUpdate:modelValue":s[18]||(s[18]=u=>l.option.legend.show=u)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"字体颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(o),modelValue:l.option.legend.textStyle.color,"onUpdate:modelValue":s[19]||(s[19]=u=>l.option.legend.textStyle.color=u)},null,8,["predefine","modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:l.option.legend.textStyle.fontSize,"onUpdate:modelValue":s[20]||(s[20]=u=>l.option.legend.textStyle.fontSize=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"x轴"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:l.option.legend.x,"onUpdate:modelValue":s[21]||(s[21]=u=>l.option.legend.x=u),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).lengendX,u=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:u.value,label:u.label,value:u.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"y轴"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:l.option.legend.y,"onUpdate:modelValue":s[22]||(s[22]=u=>l.option.legend.y=u),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).lengendY,u=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:u.value,label:u.label,value:u.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"方向"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:l.option.legend.orient,"onUpdate:modelValue":s[23]||(s[23]=u=>l.option.legend.orient=u),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).orient,u=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:u.value,label:u.label,value:u.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l.option.legend.icon?(vue.openBlock(),vue.createBlock(_sfc_main$1Y,{key:0,name:"形状"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:l.option.legend.icon,"onUpdate:modelValue":s[24]||(s[24]=u=>l.option.legend.icon=u),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).shape,u=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:u.value,label:u.label,value:u.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})):vue.createCommentVNode("",!0),vue.createVNode(_sfc_main$1Y,{name:"宽"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:l.option.legend.itemWidth,"onUpdate:modelValue":s[25]||(s[25]=u=>l.option.legend.itemWidth=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"高"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:l.option.legend.itemHeight,"onUpdate:modelValue":s[26]||(s[26]=u=>l.option.legend.itemHeight=u),size:"small"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0),l.option.xAxis?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCollapseItem),{key:3,title:"x轴"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:l.option.xAxis.show,"onUpdate:modelValue":s[27]||(s[27]=u=>l.option.xAxis.show=u)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:l.option.xAxis.type,"onUpdate:modelValue":s[28]||(s[28]=u=>l.option.xAxis.type=u),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).category,u=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:u.value,label:u.label,value:u.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"最小值"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select","allow-create":"",filterable:"",clearable:"",modelValue:l.option.xAxis.min,"onUpdate:modelValue":s[29]||(s[29]=u=>l.option.xAxis.min=u),size:"small"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElOption),{label:"dataMin",value:"dataMin"})]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"最大值"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select","allow-create":"",filterable:"",clearable:"",modelValue:l.option.xAxis.max,"onUpdate:modelValue":s[30]||(s[30]=u=>l.option.xAxis.max=u),size:"small"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElOption),{label:"dataMax",value:"dataMax"})]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"轴线"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:l.option.xAxis.position,"onUpdate:modelValue":s[31]||(s[31]=u=>l.option.xAxis.position=u),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).xposition,u=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:u.value,label:u.label,value:u.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"反向"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:l.option.xAxis.inverse,"onUpdate:modelValue":s[32]||(s[32]=u=>l.option.xAxis.inverse=u)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:l.option.xAxis.axisLabel.fontSize,"onUpdate:modelValue":s[33]||(s[33]=u=>l.option.xAxis.axisLabel.fontSize=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"间隔"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:l.option.xAxis.axisLabel.interval,"onUpdate:modelValue":s[34]||(s[34]=u=>l.option.xAxis.axisLabel.interval=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:l.option.xAxis.axisLabel.rotate,"onUpdate:modelValue":s[35]||(s[35]=u=>l.option.xAxis.axisLabel.rotate=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(o),modelValue:l.option.xAxis.axisLabel.color,"onUpdate:modelValue":s[36]||(s[36]=u=>l.option.xAxis.axisLabel.color=u)},null,8,["predefine","modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"单位"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"名称"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:l.option.xAxis.name,"onUpdate:modelValue":s[37]||(s[37]=u=>l.option.xAxis.name=u),size:"small",placeholder:"请输入单位"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:l.option.xAxis.nameTextStyle.fontSize,"onUpdate:modelValue":s[38]||(s[38]=u=>l.option.xAxis.nameTextStyle.fontSize=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(o),modelValue:l.option.xAxis.nameTextStyle.color,"onUpdate:modelValue":s[39]||(s[39]=u=>l.option.xAxis.nameTextStyle.color=u)},null,8,["predefine","modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"分割线"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:l.option.xAxis.splitLine.show,"onUpdate:modelValue":s[40]||(s[40]=u=>l.option.xAxis.splitLine.show=u)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"粗细"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:l.option.xAxis.splitLine.lineStyle.width,"onUpdate:modelValue":s[41]||(s[41]=u=>l.option.xAxis.splitLine.lineStyle.width=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:l.option.xAxis.splitLine.lineStyle.type,"onUpdate:modelValue":s[42]||(s[42]=u=>l.option.xAxis.splitLine.lineStyle.type=u),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).lineStyle,u=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:u.value,label:u.label,value:u.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(o),modelValue:l.option.xAxis.splitLine.lineStyle.color,"onUpdate:modelValue":s[43]||(s[43]=u=>l.option.xAxis.splitLine.lineStyle.color=u)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1})):vue.createCommentVNode("",!0),l.option.yAxis&&Array.isArray(l.option.yAxis)?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:4},vue.renderList(l.option.yAxis,(u,c)=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCollapseItem),{title:`y${c+1}轴`},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:u.show,"onUpdate:modelValue":d=>u.show=d},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:u.type,"onUpdate:modelValue":d=>u.type=d,size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).category,d=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:d.value,label:d.label,value:d.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"最小值"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select","allow-create":"",filterable:"",clearable:"",modelValue:u.min,"onUpdate:modelValue":d=>u.min=d,size:"small"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElOption),{label:"dataMin",value:"dataMin"})]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"最大值"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select","allow-create":"",filterable:"",clearable:"",modelValue:u.max,"onUpdate:modelValue":d=>u.max=d,size:"small"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElOption),{label:"dataMax",value:"dataMax"})]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024),vue.createVNode(_sfc_main$1Z,{name:"轴线"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:u.position,"onUpdate:modelValue":d=>u.position=d,size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).yposition,d=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:d.value,label:d.label,value:d.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"反向"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:u.inverse,"onUpdate:modelValue":d=>u.inverse=d},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024),vue.createVNode(_sfc_main$1Z,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:u.axisLabel.fontSize,"onUpdate:modelValue":d=>u.axisLabel.fontSize=d,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"间隔"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:u.axisLabel.interval,"onUpdate:modelValue":d=>u.axisLabel.interval=d,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:u.axisLabel.rotate,"onUpdate:modelValue":d=>u.axisLabel.rotate=d,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(o),modelValue:u.axisLabel.color,"onUpdate:modelValue":d=>u.axisLabel.color=d},null,8,["predefine","modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024),vue.createVNode(_sfc_main$1Z,{name:"单位"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"名称"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:u.name,"onUpdate:modelValue":d=>u.name=d,size:"small",placeholder:"请输入单位"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:u.nameTextStyle.fontSize,"onUpdate:modelValue":d=>u.nameTextStyle.fontSize=d,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(o),modelValue:u.nameTextStyle.color,"onUpdate:modelValue":d=>u.nameTextStyle.color=d},null,8,["predefine","modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024),vue.createVNode(_sfc_main$1Z,{name:"分割线"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:u.splitLine.show,"onUpdate:modelValue":d=>u.splitLine.show=d},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"粗细"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:u.splitLine.lineStyle.width,"onUpdate:modelValue":d=>u.splitLine.lineStyle.width=d,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:u.splitLine.lineStyle.type,"onUpdate:modelValue":d=>u.splitLine.lineStyle.type=d,size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).lineStyle,d=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:d.value,label:d.label,value:d.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(o),modelValue:u.splitLine.lineStyle.color,"onUpdate:modelValue":d=>u.splitLine.lineStyle.color=d},null,8,["predefine","modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024)]),_:2},1032,["title"]))),256)):vue.createCommentVNode("",!0),l.option.custom&&![2].includes(l.type)?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCollapseItem),{key:5,title:"显示"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"前缀"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:l.option.custom.prefix,"onUpdate:modelValue":s[44]||(s[44]=u=>l.option.custom.prefix=u),size:"small",placeholder:"前缀"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"后缀"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:l.option.custom.suffix,"onUpdate:modelValue":s[45]||(s[45]=u=>l.option.custom.suffix=u),size:"small",placeholder:"后缀"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"保留小数"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:l.option.custom.toFixed,"onUpdate:modelValue":s[46]||(s[46]=u=>l.option.custom.toFixed=u),size:"small"},null,8,["modelValue"])]),_:1}),l.type==7?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(_sfc_main$1Y,{name:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:l.option.custom.fontSize,"onUpdate:modelValue":s[47]||(s[47]=u=>l.option.custom.fontSize=u),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(o),modelValue:l.option.custom.color,"onUpdate:modelValue":s[48]||(s[48]=u=>l.option.custom.color=u)},null,8,["predefine","modelValue"])]),_:1})],64)):vue.createCommentVNode("",!0)]),_:1})]),_:1})):vue.createCommentVNode("",!0)],64))}}),settingCommon_vue_vue_type_style_index_0_scoped_d935cc49_lang="",SettingCommon=_export_sfc$2(_sfc_main$1X,[["__scopeId","data-v-d935cc49"]]),_withScopeId$D=i=>(vue.pushScopeId("data-v-100b8890"),i=i(),vue.popScopeId(),i),_hoisted_1$1F={class:"flex items-center gap-2.5"},_hoisted_2$1p=_withScopeId$D(()=>vue.createElementVNode("div",null,"数据下钻",-1)),_hoisted_3$1e={class:"flex-1"},_hoisted_4$1a={class:"flex items-center gap-2.5"},_hoisted_5$Y=_withScopeId$D(()=>vue.createElementVNode("div",null,"二级指标",-1)),_hoisted_6$R={class:"flex-1"},_hoisted_7$K={class:"w-full pl-2.5 mt-2.5"},_hoisted_8$E={class:"w-full pl-2.5 mt-2.5 flex flex-col gap-2"},_hoisted_9$y={class:"flex gap-2.5"},_hoisted_10$s={class:"w-20"},_hoisted_11$m={class:"flex-1"},_hoisted_12$i={class:"flex items-center gap-2.5"},_hoisted_13$g=_withScopeId$D(()=>vue.createElementVNode("div",null,"主题关联",-1)),_hoisted_14$e={class:"flex-1"},_hoisted_15$8={class:"w-full pl-2.5 mt-2.5"},_hoisted_16$7={class:"w-full pl-2.5 mt-2.5 flex flex-col gap-2"},_hoisted_17$6={class:"w-full pl-2.5 mt-2.5 flex flex-col gap-2"},_hoisted_18$4={class:"w-full pl-2.5 mt-2.5 flex flex-col gap-2"},_hoisted_19$4={class:"flex gap-2.5"},_hoisted_20$4={class:"w-20"},_hoisted_21$4={class:"flex-1"},_hoisted_22$4={key:1,class:"flex gap-2.5"},_hoisted_23$4={class:"flex-1"},_hoisted_24$3={class:"flex-1"},_sfc_main$1W=vue.defineComponent({__name:"setting-data",props:{option:{default:{}},type:{default:0}},setup(i){const n=i,{proxy:r}=vue.getCurrentInstance();r.$globalPreColor;const o=vue.ref([]),a=vue.ref([]),l=vue.ref([]),s=vue.computed(()=>{const p=n.option.dataShow??{},{x:v,y:m,hide:g}=p,_=Array.isArray(v)?v:(v??"").split(","),y=Array.isArray(m)?m:(m??"").split(",");return[..._,...y].filter(x=>x!=="").filter(x=>!(g??[]).includes(x))}),u=vue.computed(()=>{const p=[];return p.push(...Array.isArray(n.option.dataShow.y)?n.option.dataShow.y:[n.option.dataShow.y]),p.push(...Array.isArray(n.option.dataShow.x)?n.option.dataShow.x:[n.option.dataShow.x]),p});fetch$1(r).loadIndicatorsMenu().then(p=>{Object.values(p.data).forEach(v=>{o.value.push(...v)})}),r.$baseHttp.get("/api/ace-data-center/screen/list",{params:{descs:"create_time",projectId:r.$baseGetCurrentProjectId(),current:1,size:1e3}}).then(p=>{a.value=p.data.records.map(v=>{const m=JSON.parse(v.config);return v.indicatorsList=m.list.filter(g=>g.indicatorsId),v.controlList=m.list.filter(g=>["select","input"].includes(g.type??"")),v}),n.option.dataShow.fullscreenId&&f(n.option.dataShow.fullscreenId,!1)});const c=async p=>{const v=await r.$baseHttp.get(`/api/ace-data-center/model-indicators/detail?id=${p}`);v&&(n.option.dataShow.deep2Linkage=JSON.parse(v.data.formConfJson).map(m=>({name:m.name,key:m.key,value:""})))},d=vue.ref([]),f=async(p,v=!0)=>{const m=vue.unref(a).find(_=>_.id==p);if(n.option.dataShow.fullscreenName=(m==null?void 0:m.title)??"",l.value=[],!m)return;const g=await r.$baseHttp.get("/api/ace-data-center/model-indicators/getConfJson",{params:{modelIndicatorsIds:m.indicatorsList.map(_=>_.indicatorsId).toString()}});g&&(d.value=[],l.value=m.controlList,m.indicatorsList.forEach(_=>{const y=g.data.formConfJsonMap[_.indicatorsId];y&&d.value.push({label:_.name,value:_.indicatorsId,children:JSON.parse(y).map(b=>({label:b.name,value:b.key}))})}),v&&(n.option.dataShow.fullscreenLinkage=vue.unref(u).map(_=>({name:_,key:_,value:[]}))))};return(p,v)=>p.option.dataShow?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCollapseItem),{key:0,title:"下钻关联"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1F,[_hoisted_2$1p,vue.createElementVNode("div",_hoisted_3$1e,[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:p.option.dataShow.deep,"onUpdate:modelValue":v[0]||(v[0]=m=>p.option.dataShow.deep=m)},null,8,["modelValue"])])])]),_:1}),vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_4$1a,[_hoisted_5$Y,vue.createElementVNode("div",_hoisted_6$R,[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:p.option.dataShow.deep2,"onUpdate:modelValue":v[1]||(v[1]=m=>p.option.dataShow.deep2=m)},null,8,["modelValue"])])]),p.option.dataShow.deep2?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createElementVNode("div",_hoisted_7$K,[vue.createVNode(vue.unref(elementPlus.ElSelect),{size:"small",class:"w-full","popper-class":"ace-select",modelValue:p.option.dataShow.deep2Id,"onUpdate:modelValue":v[2]||(v[2]=m=>p.option.dataShow.deep2Id=m),placeholder:"请选择指标",onChange:c},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(o),m=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:m.id,label:m.name,value:m.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),vue.createElementVNode("div",_hoisted_8$E,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(p.option.dataShow.deep2Linkage,m=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_9$y,[vue.createElementVNode("div",_hoisted_10$s,vue.toDisplayString(m.name),1),vue.createElementVNode("div",_hoisted_11$m,[vue.createVNode(vue.unref(elementPlus.ElSelect),{size:"small",class:"w-full",clearable:"","popper-class":"ace-select",modelValue:m.value,"onUpdate:modelValue":g=>m.value=g,placeholder:"请选择绑定参数"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(u),g=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:g,label:g,value:g},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])])]))),256))])],64)):vue.createCommentVNode("",!0)]),_:1}),vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_12$i,[_hoisted_13$g,vue.createElementVNode("div",_hoisted_14$e,[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:p.option.dataShow.fullscreen,"onUpdate:modelValue":v[3]||(v[3]=m=>p.option.dataShow.fullscreen=m)},null,8,["modelValue"])])]),p.option.dataShow.fullscreen?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createElementVNode("div",_hoisted_15$8,[vue.createVNode(vue.unref(elementPlus.ElSelect),{size:"small",class:"w-full","popper-class":"ace-select",modelValue:p.option.dataShow.fullscreenId,"onUpdate:modelValue":v[4]||(v[4]=m=>p.option.dataShow.fullscreenId=m),placeholder:"请选择大屏",onChange:v[5]||(v[5]=m=>f(m,!0))},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(a),m=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:m.id,label:m.title,value:m.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),vue.createElementVNode("div",_hoisted_16$7,[vue.createVNode(vue.unref(elementPlus.ElRadioGroup),{modelValue:p.option.dataShow.fullscreenOpenType,"onUpdate:modelValue":v[6]||(v[6]=m=>p.option.dataShow.fullscreenOpenType=m)},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"blank"},{default:vue.withCtx(()=>[vue.createTextVNode("新窗口")]),_:1}),vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"dialog"},{default:vue.withCtx(()=>[vue.createTextVNode("弹窗")]),_:1})]),_:1},8,["modelValue"])]),vue.createElementVNode("div",_hoisted_17$6,[vue.createVNode(vue.unref(elementPlus.ElRadioGroup),{modelValue:p.option.dataShow.fullscreenType,"onUpdate:modelValue":v[7]||(v[7]=m=>p.option.dataShow.fullscreenType=m)},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"indicators"},{default:vue.withCtx(()=>[vue.createTextVNode("绑定指标")]),_:1}),vue.createVNode(vue.unref(elementPlus.ElRadio),{value:"control"},{default:vue.withCtx(()=>[vue.createTextVNode("绑定控件")]),_:1})]),_:1},8,["modelValue"])]),vue.createElementVNode("div",_hoisted_18$4,[p.option.dataShow.fullscreenType=="indicators"?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:0},vue.renderList(p.option.dataShow.fullscreenLinkage,m=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_19$4,[vue.createElementVNode("div",_hoisted_20$4,vue.toDisplayString(m.name),1),vue.createElementVNode("div",_hoisted_21$4,[vue.createVNode(vue.unref(elementPlus.ElCascader),{size:"small",style:{width:"100%"},placeholder:"请选择绑定参数",modelValue:m.value,"onUpdate:modelValue":g=>m.value=g,options:vue.unref(d),props:{multiple:!0},clearable:""},null,8,["modelValue","onUpdate:modelValue","options"])])]))),256)):vue.createCommentVNode("",!0),p.option.dataShow.fullscreenType=="control"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_22$4,[vue.createElementVNode("div",_hoisted_23$4,[vue.createVNode(vue.unref(elementPlus.ElSelect),{size:"small",class:"w-full","popper-class":"ace-select",modelValue:p.option.dataShow.fullscreenControlType,"onUpdate:modelValue":v[8]||(v[8]=m=>p.option.dataShow.fullscreenControlType=m),placeholder:"请选择参数"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(s),m=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:m,label:m,value:m},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),vue.createElementVNode("div",_hoisted_24$3,[vue.createVNode(vue.unref(elementPlus.ElSelect),{size:"small",class:"w-full","popper-class":"ace-select",multiple:"",modelValue:p.option.dataShow.fullscreenControlIds,"onUpdate:modelValue":v[9]||(v[9]=m=>p.option.dataShow.fullscreenControlIds=m),placeholder:"请选择组件"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(l),m=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:m.id,label:m.name,value:m.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])])])):vue.createCommentVNode("",!0)])],64)):vue.createCommentVNode("",!0)]),_:1})]),_:1})):vue.createCommentVNode("",!0)}}),settingData_vue_vue_type_style_index_0_scoped_100b8890_lang="",SettingData=_export_sfc$2(_sfc_main$1W,[["__scopeId","data-v-100b8890"]]),_hoisted_1$1E={class:"ml-2"},_hoisted_2$1o={class:"flex justify-end flex-1"},_hoisted_3$1d=["onClick"],_hoisted_4$19=vue.createElementVNode("i",{class:"cursor-move ri-draggable sortable-handle"},null,-1),_sfc_main$1V=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1},bigScreen:{type:Boolean,default:!1}},setup(i){const{getChartData:n}=useScreenDesign(),r=i,{proxy:o}=vue.getCurrentInstance(),a=o.$globalPreColor,l=[{label:"顶部",value:"top"},{label:"左侧",value:"left"},{label:"右侧",value:"right"},{label:"底部",value:"bottom"}],{setChartData:s}=useCustomChart(),{seriesItem:u,init:c,customSeriesData:d}=useBarCommon();vue.ref(null);const f=vue.ref(JSON.parse(JSON.stringify(Object.values(d.value)[0]??u)));vue.watch(f,()=>p(),{deep:!0}),vue.watch(()=>r.option.dataShow,()=>{c(r.option,()=>{p()})},{deep:!0,immediate:r.immediate}),vue.watch(()=>r.option.dataShow.x,async()=>{r.option.dataset.source=await s(r.type,r.option.dataShow.x)});const p=()=>{const m=f.value,g=_=>{_.barWidth=m.barWidth,_.stack=m.stack,_.borderRadiusNumber=m.borderRadiusNumber,_.label.show=m.label.show,_.label.color=m.label.color,_.label.position=m.label.position,_.label.fontSize=m.label.fontSize,_.label.rotate=m.label.rotate,_.itemStyle.borderRadius=[m.borderRadiusNumber,m.borderRadiusNumber,0,0]};r.option.series.forEach(_=>{g(_)}),Object.keys(d.value).forEach(_=>{g(vue.unref(d)[_])}),window.customSeriesData=d.value},v=m=>{const{hide:g}=r.option.dataShow;g.includes(m)?g.splice(g.findIndex(_=>_==m),1):g.push(m)};return(m,g)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(SettingCommon,{option:m.option,type:3},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"柱状配置"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(f).barWidth,"onUpdate:modelValue":g[0]||(g[0]=_=>vue.unref(f).barWidth=_),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"堆栈"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(f).stack,"onUpdate:modelValue":g[1]||(g[1]=_=>vue.unref(f).stack=_)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"圆角"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:vue.unref(f).borderRadiusNumber,"onUpdate:modelValue":g[2]||(g[2]=_=>vue.unref(f).borderRadiusNumber=_),size:"small"},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(f).label.show,"onUpdate:modelValue":g[3]||(g[3]=_=>vue.unref(f).label.show=_)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:vue.unref(f).label.position,"onUpdate:modelValue":g[4]||(g[4]=_=>vue.unref(f).label.position=_),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(l,_=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:_.value,label:_.label,value:_.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(f).label.rotate,"onUpdate:modelValue":g[5]||(g[5]=_=>vue.unref(f).label.rotate=_),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(f).label.fontSize,"onUpdate:modelValue":g[6]||(g[6]=_=>vue.unref(f).label.fontSize=_),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(a),modelValue:vue.unref(f).label.color,"onUpdate:modelValue":g[7]||(g[7]=_=>vue.unref(f).label.color=_)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(SettingData,{option:m.option,type:3},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"X轴",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:m.option.dataShow.x,"onUpdate:modelValue":g[8]||(g[8]=_=>m.option.dataShow.x=_),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(n).x,_=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:_.comment,label:_.comment,value:_.comment},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"Y轴",style:{width:"100%","margin-top":"10px"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:m.option.dataShow.y,"onUpdate:modelValue":g[9]||(g[9]=_=>m.option.dataShow.y=_),animation:150,handle:".sortable-handle"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(m.option.dataShow.y,(_,y)=>(vue.openBlock(),vue.createElementBlock("div",{key:_,class:"w-full sort-item"},[vue.unref(d)[_]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElColorPicker),{key:0,predefine:vue.unref(a),size:"small","show-alpha":"",modelValue:vue.unref(d)[_].itemStyle.color,"onUpdate:modelValue":b=>vue.unref(d)[_].itemStyle.color=b},null,8,["predefine","modelValue","onUpdate:modelValue"])):vue.createCommentVNode("",!0),vue.createElementVNode("span",_hoisted_1$1E,vue.toDisplayString(_),1),vue.createElementVNode("div",_hoisted_2$1o,[vue.createElementVNode("i",{onClick:b=>v(_),class:vue.normalizeClass([m.option.dataShow.hide.includes(_)?"ri-eye-off-line":"ri-eye-line","mr-2 cursor-pointer"])},null,10,_hoisted_3$1d),_hoisted_4$19])]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_hoisted_1$1D={class:"ml-2"},_hoisted_2$1n={class:"flex justify-end flex-1"},_hoisted_3$1c=["onClick"],_hoisted_4$18=vue.createElementVNode("i",{class:"cursor-move ri-draggable sortable-handle"},null,-1),_sfc_main$1U=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1},bigScreen:{type:Boolean,default:!1}},setup(i){const{getChartData:n}=useScreenDesign(),r=i,{proxy:o}=vue.getCurrentInstance(),a=o.$globalPreColor,l=[{label:"顶部",value:"top"},{label:"左侧",value:"left"},{label:"右侧",value:"right"},{label:"底部",value:"bottom"}],s=[{label:"实线",value:"solid"},{label:"虚线",value:"dashed"},{label:"点线",value:"dotted"}],{setChartData:u}=useCustomChart(),{seriesItem:c,init:d,customSeriesData:f}=useLineCommon();vue.ref(null);const p=vue.ref(JSON.parse(JSON.stringify(Object.values(f.value)[0]??c)));vue.watch(p,()=>v(),{deep:!0}),vue.watch(()=>r.option.dataShow,()=>{d(r.option,()=>{v()})},{deep:!0,immediate:r.immediate}),vue.watch(()=>r.option.dataShow.x,async()=>{r.option.dataset.source=await u(r.type,r.option.dataShow.x)});const v=()=>{const y=JSON.parse(JSON.stringify(p.value)),b=x=>{Object.keys(y).forEach(C=>{C!="areaStyleTmp"&&(C=="lineStyle"?Object.keys(x[C]).forEach(w=>{w!="color"&&(x[C][w]=y[C][w])}):x[C]=y[C])})};r.option.series.forEach(x=>{b(x),x.areaStyle=y.showArea?x.areaStyleTmp??{}:null}),Object.keys(f.value).forEach(x=>{const C=vue.unref(f)[x];b(C),C.areaStyle=y.showArea?C.areaStyleTmp??{}:null}),window.customSeriesData=f.value},m=y=>{const{hide:b}=r.option.dataShow;b.includes(y)?b.splice(b.findIndex(x=>x==y),1):b.push(y)},g=y=>{if(y.startsWith("rgb")){const b=y.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*([\d.]+))?\)/i);if(b)return{r:parseInt(b[1]),g:parseInt(b[2]),b:parseInt(b[3]),a:b[4]?parseFloat(b[4]):1}}if(y.startsWith("#")){const b=y.replace(/^#/,"");if(b.length===3)return{r:parseInt(b[0]+b[0],16),g:parseInt(b[1]+b[1],16),b:parseInt(b[2]+b[2],16)};if(b.length===6)return{r:parseInt(b.substring(0,2),16),g:parseInt(b.substring(2,4),16),b:parseInt(b.substring(4,6),16)}}return null},_=y=>{const b=y.lineStyle.color,{r:x,g:C,b:w}=g(b),E={color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:`rgb(${x}, ${C}, ${w}, 1)`},{offset:1,color:`rgb(${x}, ${C}, ${w}, 0.5)`}],global:!1}};y.areaStyleTmp=E,y.areaStyle=vue.unref(p).showArea?E:null};return(y,b)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(SettingCommon,{option:y.option,type:1},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"折线配置"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:"线条"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(p).lineStyle.width,"onUpdate:modelValue":b[0]||(b[0]=x=>vue.unref(p).lineStyle.width=x),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"显示填充区"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(p).showArea,"onUpdate:modelValue":b[1]||(b[1]=x=>vue.unref(p).showArea=x)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:vue.unref(p).lineStyle.type,"onUpdate:modelValue":b[2]||(b[2]=x=>vue.unref(p).lineStyle.type=x),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(s,x=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:x.value,label:x.label,value:x.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"实心点"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(p).symbolSize,"onUpdate:modelValue":b[3]||(b[3]=x=>vue.unref(p).symbolSize=x),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"平滑"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(p).smooth,"onUpdate:modelValue":b[4]||(b[4]=x=>vue.unref(p).smooth=x)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(p).label.show,"onUpdate:modelValue":b[5]||(b[5]=x=>vue.unref(p).label.show=x)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:vue.unref(p).label.position,"onUpdate:modelValue":b[6]||(b[6]=x=>vue.unref(p).label.position=x),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(l,x=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:x.value,label:x.label,value:x.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(p).label.rotate,"onUpdate:modelValue":b[7]||(b[7]=x=>vue.unref(p).label.rotate=x),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(p).label.fontSize,"onUpdate:modelValue":b[8]||(b[8]=x=>vue.unref(p).label.fontSize=x),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(a),modelValue:vue.unref(p).label.color,"onUpdate:modelValue":b[9]||(b[9]=x=>vue.unref(p).label.color=x)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(SettingData,{option:y.option,type:1},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"X轴",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:y.option.dataShow.x,"onUpdate:modelValue":b[10]||(b[10]=x=>y.option.dataShow.x=x),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(n).x,x=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:x.comment,label:x.comment,value:x.comment},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"Y轴",style:{width:"100%","margin-top":"10px"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:y.option.dataShow.y,"onUpdate:modelValue":b[11]||(b[11]=x=>y.option.dataShow.y=x),animation:150,handle:".sortable-handle"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(y.option.dataShow.y,(x,C)=>(vue.openBlock(),vue.createElementBlock("div",{key:x,class:"w-full sort-item"},[vue.unref(f)[x]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElColorPicker),{key:0,size:"small","show-alpha":"",predefine:vue.unref(a),modelValue:vue.unref(f)[x].lineStyle.color,"onUpdate:modelValue":w=>vue.unref(f)[x].lineStyle.color=w,onChange:w=>_(vue.unref(f)[x])},null,8,["predefine","modelValue","onUpdate:modelValue","onChange"])):vue.createCommentVNode("",!0),vue.createElementVNode("span",_hoisted_1$1D,vue.toDisplayString(x),1),vue.createElementVNode("div",_hoisted_2$1n,[vue.createElementVNode("i",{onClick:w=>m(x),class:vue.normalizeClass([y.option.dataShow.hide.includes(x)?"ri-eye-off-line":"ri-eye-line","mr-2 cursor-pointer"])},null,10,_hoisted_3$1c),_hoisted_4$18])]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_sfc_main$1T=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1},bigScreen:{type:Boolean,default:!1}},setup(i){const{getChartData:n}=useScreenDesign(),r=i,{proxy:o}=vue.getCurrentInstance(),a=o.$globalPreColor,l=[{label:"外侧",value:"outside"},{label:"内部",value:"inside"},{label:"中心",value:"center"}],s=[{label:"数据名",value:"{b}"},{label:"百分比",value:"{d}"},{label:"列名:百分比",value:"{b}:{d}%"}],{setChartData:u}=useCustomChart(),{seriesItem:c,init:d,customSeriesData:f}=usePieCommon(),p=vue.ref(JSON.parse(JSON.stringify(Object.values(f.value)[0]??c)));vue.watch(p,()=>v(),{deep:!0}),vue.watch(()=>r.option.dataShow,async()=>{r.option.dataset.source=await u(r.type,r.option.dataShow.x),d(r.option,()=>{v()})},{deep:!0,immediate:r.immediate});const v=()=>{const m=p.value,g=_=>{Object.keys(m).forEach(y=>{_[y]=m[y]})};r.option.series.forEach(_=>{g(_)}),Object.keys(f.value).forEach(_=>{g(vue.unref(f)[_])}),window.customSeriesData=f.value};return(m,g)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(SettingCommon,{option:m.option,type:2},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"饼图配置"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:"样式"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"半径1"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(p).radius[0],"onUpdate:modelValue":g[0]||(g[0]=_=>vue.unref(p).radius[0]=_),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"半径2"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(p).radius[1],"onUpdate:modelValue":g[1]||(g[1]=_=>vue.unref(p).radius[1]=_),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"距离1"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(p).center[0],"onUpdate:modelValue":g[2]||(g[2]=_=>vue.unref(p).center[0]=_),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"距离2"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(p).center[1],"onUpdate:modelValue":g[3]||(g[3]=_=>vue.unref(p).center[1]=_),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"南丁格尔图"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(p).roseType,"onUpdate:modelValue":g[4]||(g[4]=_=>vue.unref(p).roseType=_)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(p).label.show,"onUpdate:modelValue":g[5]||(g[5]=_=>vue.unref(p).label.show=_)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"引导线"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(p).labelLine.show,"onUpdate:modelValue":g[6]||(g[6]=_=>vue.unref(p).labelLine.show=_)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"展示类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(p).label.formatter,"onUpdate:modelValue":g[7]||(g[7]=_=>vue.unref(p).label.formatter=_),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(s,_=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:_.value,label:_.label,value:_.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(p).label.position,"onUpdate:modelValue":g[8]||(g[8]=_=>vue.unref(p).label.position=_),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(l,_=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:_.value,label:_.label,value:_.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(p).label.fontSize,"onUpdate:modelValue":g[9]||(g[9]=_=>vue.unref(p).label.fontSize=_),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(a),modelValue:vue.unref(p).label.color,"onUpdate:modelValue":g[10]||(g[10]=_=>vue.unref(p).label.color=_)},null,8,["predefine","modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"圆角"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(p).itemStyle.borderRadius,"onUpdate:modelValue":g[11]||(g[11]=_=>vue.unref(p).itemStyle.borderRadius=_),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(p).itemStyle.borderWidth,"onUpdate:modelValue":g[12]||(g[12]=_=>vue.unref(p).itemStyle.borderWidth=_),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(a),modelValue:vue.unref(p).itemStyle.borderColor,"onUpdate:modelValue":g[13]||(g[13]=_=>vue.unref(p).itemStyle.borderColor=_)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(SettingData,{option:m.option,type:2},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"维度",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:m.option.dataShow.x,"onUpdate:modelValue":g[14]||(g[14]=_=>m.option.dataShow.x=_),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(n).x,_=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:_.comment,label:_.comment,value:_.comment},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"统计",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:m.option.dataShow.y,"onUpdate:modelValue":g[15]||(g[15]=_=>m.option.dataShow.y=_),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(n).y.filter(_=>_.aggType!="other"),_=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:_.showLabel,label:_.showLabel,value:_.showLabel},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_hoisted_1$1C={class:"mx-1.5 overflow-hidden whitespace-nowrap text-ellipsis"},_hoisted_2$1m={class:"flex items-center justify-end flex-1 whitespace-nowrap"},_hoisted_3$1b={class:"mr-2 text-xs cursor-pointer"},_hoisted_4$17={class:"mr-2 text-xs cursor-pointer"},_hoisted_5$X=["onClick"],_hoisted_6$Q=vue.createElementVNode("i",{class:"cursor-move ri-draggable sortable-handle"},null,-1),_sfc_main$1S=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1},bigScreen:{type:Boolean,default:!1}},setup(i){const{getChartData:n}=useScreenDesign(),r=i,{proxy:o}=vue.getCurrentInstance(),a=o.$globalPreColor,l=[{label:"顶部",value:"top"},{label:"左侧",value:"left"},{label:"右侧",value:"right"},{label:"底部",value:"bottom"}],s=[{label:"实线",value:"solid"},{label:"虚线",value:"dashed"},{label:"点线",value:"dotted"}],{setChartData:u}=useCustomChart(),{seriesLineItem:c,seriesBarItem:d,init:f,customSeriesData:p}=useBarLineCommon();vue.ref(null);const v=vue.ref(JSON.parse(JSON.stringify(Object.values(p.value).find(w=>w.type=="bar")??d))),m=vue.ref(JSON.parse(JSON.stringify(Object.values(p.value).find(w=>w.type=="line")??c)));vue.watch([v,m],()=>y(),{deep:!0}),vue.watch(()=>r.option.dataShow,()=>{f(r.option,()=>{y()})},{deep:!0,immediate:r.immediate}),vue.watch(()=>r.option.dataShow.x,async()=>{r.option.dataset.source=await u(r.type,r.option.dataShow.x)});const g=(w,E)=>{p.value[E]={...p.value[E],yAxisIndex:w=="y1"?0:1},f(r.option,()=>{})},_=(w,E)=>{var S,V,k,P;if(vue.unref(p)[E].type!=w){const B=JSON.parse(JSON.stringify({...w=="line"?m.value:v.value})),T=((V=(S=vue.unref(p)[E])==null?void 0:S.lineStyle)==null?void 0:V.color)??((P=(k=vue.unref(p)[E])==null?void 0:k.itemStyle)==null?void 0:P.color);B[B!=null&&B.lineStyle?"lineStyle":"itemStyle"].color=T,p.value[E]={...B},f(r.option,()=>{})}},y=()=>{const w=v.value,E=m.value,$=S=>{const V=JSON.parse(JSON.stringify(S.type=="bar"?w:E));Object.keys(V).forEach(k=>{k!="areaStyleTmp"&&(["lineStyle","itemStyle"].includes(k)?Object.keys(S[k]).forEach(P=>{P=="borderRadius"?S[k][P]=[w.borderRadiusNumber,w.borderRadiusNumber,0,0]:P!="color"&&(S[k][P]=V[k][P])}):S[k]=V[k])})};r.option.series.forEach(S=>{$(S),S.type=="line"&&(S.areaStyle=E.showArea?S.areaStyleTmp??{}:null)}),Object.keys(p.value).forEach(S=>{const V=vue.unref(p)[S];$(V),V.type=="line"&&(V.areaStyle=E.showArea?V.areaStyleTmp??{}:null)}),window.customSeriesData=p.value},b=w=>{const{hide:E}=r.option.dataShow;E.includes(w)?E.splice(E.findIndex($=>$==w),1):E.push(w)},x=w=>{if(w.startsWith("rgb")){const E=w.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*([\d.]+))?\)/i);if(E)return{r:parseInt(E[1]),g:parseInt(E[2]),b:parseInt(E[3]),a:E[4]?parseFloat(E[4]):1}}if(w.startsWith("#")){const E=w.replace(/^#/,"");if(E.length===3)return{r:parseInt(E[0]+E[0],16),g:parseInt(E[1]+E[1],16),b:parseInt(E[2]+E[2],16)};if(E.length===6)return{r:parseInt(E.substring(0,2),16),g:parseInt(E.substring(2,4),16),b:parseInt(E.substring(4,6),16)}}return null},C=w=>{if(w.type!="line")return;const E=w.lineStyle.color,{r:$,g:S,b:V}=x(E),k={color:{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:`rgb(${$}, ${S}, ${V}, 1)`},{offset:1,color:`rgb(${$}, ${S}, ${V}, 0.5)`}],global:!1}};w.areaStyleTmp=k,w.areaStyle=vue.unref(m).showArea?k:null};return(w,E)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(SettingCommon,{option:w.option,type:5},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"柱状配置"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(v).barWidth,"onUpdate:modelValue":E[0]||(E[0]=$=>vue.unref(v).barWidth=$),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"堆栈"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(v).stack,"onUpdate:modelValue":E[1]||(E[1]=$=>vue.unref(v).stack=$)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"圆角"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:vue.unref(v).borderRadiusNumber,"onUpdate:modelValue":E[2]||(E[2]=$=>vue.unref(v).borderRadiusNumber=$),size:"small"},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(v).label.show,"onUpdate:modelValue":E[3]||(E[3]=$=>vue.unref(v).label.show=$)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:vue.unref(v).label.position,"onUpdate:modelValue":E[4]||(E[4]=$=>vue.unref(v).label.position=$),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(l,$=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:$.value,label:$.label,value:$.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(v).label.rotate,"onUpdate:modelValue":E[5]||(E[5]=$=>vue.unref(v).label.rotate=$),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(v).label.fontSize,"onUpdate:modelValue":E[6]||(E[6]=$=>vue.unref(v).label.fontSize=$),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(a),modelValue:vue.unref(v).label.color,"onUpdate:modelValue":E[7]||(E[7]=$=>vue.unref(v).label.color=$)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"折线配置"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:"线条"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(m).lineStyle.width,"onUpdate:modelValue":E[8]||(E[8]=$=>vue.unref(m).lineStyle.width=$),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"显示填充区"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(m).showArea,"onUpdate:modelValue":E[9]||(E[9]=$=>vue.unref(m).showArea=$)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"类型"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:vue.unref(m).lineStyle.type,"onUpdate:modelValue":E[10]||(E[10]=$=>vue.unref(m).lineStyle.type=$),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(s,$=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:$.value,label:$.label,value:$.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"实心点"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(m).symbolSize,"onUpdate:modelValue":E[11]||(E[11]=$=>vue.unref(m).symbolSize=$),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"平滑"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(m).smooth,"onUpdate:modelValue":E[12]||(E[12]=$=>vue.unref(m).smooth=$)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(m).label.show,"onUpdate:modelValue":E[13]||(E[13]=$=>vue.unref(m).label.show=$)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:vue.unref(m).label.position,"onUpdate:modelValue":E[14]||(E[14]=$=>vue.unref(m).label.position=$),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(l,$=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:$.value,label:$.label,value:$.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(m).label.rotate,"onUpdate:modelValue":E[15]||(E[15]=$=>vue.unref(m).label.rotate=$),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(m).label.fontSize,"onUpdate:modelValue":E[16]||(E[16]=$=>vue.unref(m).label.fontSize=$),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(a),modelValue:vue.unref(m).label.color,"onUpdate:modelValue":E[17]||(E[17]=$=>vue.unref(m).label.color=$)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(SettingData,{option:w.option,type:5},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"X轴",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:w.option.dataShow.x,"onUpdate:modelValue":E[18]||(E[18]=$=>w.option.dataShow.x=$),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(n).x,$=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:$.comment,label:$.comment,value:$.comment},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"Y轴",style:{width:"100%","margin-top":"10px"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:w.option.dataShow.y,"onUpdate:modelValue":E[19]||(E[19]=$=>w.option.dataShow.y=$),animation:150,handle:".sortable-handle"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(w.option.dataShow.y,($,S)=>(vue.openBlock(),vue.createElementBlock("div",{key:$,class:"w-full sort-item"},[vue.unref(p)[$]?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.unref(p)[$].type=="bar"?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElColorPicker),{key:0,predefine:vue.unref(a),size:"small","show-alpha":"",modelValue:vue.unref(p)[$].itemStyle.color,"onUpdate:modelValue":V=>vue.unref(p)[$].itemStyle.color=V},null,8,["predefine","modelValue","onUpdate:modelValue"])):(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElColorPicker),{key:1,predefine:vue.unref(a),size:"small","show-alpha":"",onChange:V=>C(vue.unref(p)[$]),modelValue:vue.unref(p)[$].lineStyle.color,"onUpdate:modelValue":V=>vue.unref(p)[$].lineStyle.color=V},null,8,["predefine","onChange","modelValue","onUpdate:modelValue"]))],64)):vue.createCommentVNode("",!0),vue.createElementVNode("span",_hoisted_1$1C,vue.toDisplayString($),1),vue.createElementVNode("div",_hoisted_2$1m,[vue.unref(p)[$]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElDropdown),{key:0,onCommand:V=>g(V,$)},{dropdown:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElDropdownMenu),null,{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElDropdownItem),{command:"y1"},{default:vue.withCtx(()=>[vue.createTextVNode("y1")]),_:1}),vue.createVNode(vue.unref(elementPlus.ElDropdownItem),{command:"y2"},{default:vue.withCtx(()=>[vue.createTextVNode("y2")]),_:1})]),_:1})]),default:vue.withCtx(()=>[vue.createElementVNode("span",_hoisted_3$1b,vue.toDisplayString([0,""].includes(vue.unref(p)[$].yAxisIndex??"")?"y1":"y2")+"轴 ",1)]),_:2},1032,["onCommand"])):vue.createCommentVNode("",!0),vue.unref(p)[$]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElDropdown),{key:1,onCommand:V=>_(V,$)},{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_4$17,vue.toDisplayString(vue.unref(p)[$].type=="bar"?"柱状":"折线"),1)]),_:2},1032,["onCommand"])):vue.createCommentVNode("",!0),vue.createElementVNode("i",{onClick:V=>b($),class:vue.normalizeClass([w.option.dataShow.hide.includes($)?"ri-eye-off-line":"ri-eye-line","mr-2 cursor-pointer"])},null,10,_hoisted_5$X),_hoisted_6$Q])]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_hoisted_1$1B={class:"ml-2"},_hoisted_2$1l={class:"flex items-center justify-end flex-1"},_hoisted_3$1a={class:"mr-2 text-xs cursor-pointer"},_hoisted_4$16=["onClick"],_hoisted_5$W=vue.createElementVNode("i",{class:"cursor-move ri-draggable sortable-handle"},null,-1),_sfc_main$1R=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1},bigScreen:{type:Boolean,default:!1}},setup(i){const{getChartData:n}=useScreenDesign(),r=i,{proxy:o}=vue.getCurrentInstance(),a=o.$globalPreColor,l=[{label:"实线",value:"solid"},{label:"虚线",value:"dashed"},{label:"点线",value:"dotted"}],s=[{label:"顶部",value:"top"},{label:"左侧",value:"left"},{label:"右侧",value:"right"},{label:"底部",value:"bottom"}],{setChartData:u}=useCustomChart(),{seriesItem:c,init:d,customSeriesData:f}=useScatterCommon();vue.ref(null);const p=vue.ref(JSON.parse(JSON.stringify(Object.values(f.value)[0]??c)));vue.watch(p,()=>v(),{deep:!0}),vue.watch(()=>r.option.dataShow,()=>{d(r.option,()=>{v()})},{deep:!0,immediate:r.immediate}),vue.watch(()=>r.option.dataShow.x,async()=>{r.option.dataset.source=await u(r.type,r.option.dataShow.x)});const v=()=>{const _=JSON.parse(JSON.stringify(p.value)),y=b=>{Object.keys(_).forEach(x=>{x!="type"&&(["itemStyle"].includes(x)||(b[x]=_[x]))})};r.option.series.forEach(b=>{y(b)}),Object.keys(f.value).forEach(b=>{y(vue.unref(f)[b])}),window.customSeriesData=f.value},m=(_,y)=>{const b=vue.unref(f)[y];b.type!=_&&(b.type=_,d(r.option,()=>{}))},g=_=>{const{hide:y}=r.option.dataShow;y.includes(_)?y.splice(y.findIndex(b=>b==_),1):y.push(_)};return(_,y)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(SettingCommon,{option:_.option,type:6},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"散点图配置"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(p).symbolSize,"onUpdate:modelValue":y[0]||(y[0]=b=>vue.unref(p).symbolSize=b),size:"small"},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"标域"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"粗细(0不显示)"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(p).markArea.itemStyle.borderWidth,"onUpdate:modelValue":y[1]||(y[1]=b=>vue.unref(p).markArea.itemStyle.borderWidth=b),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"样式"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:vue.unref(p).markArea.itemStyle.borderType,"onUpdate:modelValue":y[2]||(y[2]=b=>vue.unref(p).markArea.itemStyle.borderType=b),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(l,b=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:b.value,label:b.label,value:b.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(p).label.show,"onUpdate:modelValue":y[3]||(y[3]=b=>vue.unref(p).label.show=b)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:vue.unref(p).label.position,"onUpdate:modelValue":y[4]||(y[4]=b=>vue.unref(p).label.position=b),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(s,b=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:b.value,label:b.label,value:b.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(p).label.rotate,"onUpdate:modelValue":y[5]||(y[5]=b=>vue.unref(p).label.rotate=b),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(p).label.fontSize,"onUpdate:modelValue":y[6]||(y[6]=b=>vue.unref(p).label.fontSize=b),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(a),modelValue:vue.unref(p).label.color,"onUpdate:modelValue":y[7]||(y[7]=b=>vue.unref(p).label.color=b)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(SettingData,{option:_.option,type:6},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"X轴",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:_.option.dataShow.x,"onUpdate:modelValue":y[8]||(y[8]=b=>_.option.dataShow.x=b),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(n).x,b=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:b.comment,label:b.comment,value:b.comment},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"Y轴",style:{width:"100%","margin-top":"10px"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:_.option.dataShow.y,"onUpdate:modelValue":y[9]||(y[9]=b=>_.option.dataShow.y=b),animation:150,handle:".sortable-handle"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(_.option.dataShow.y,(b,x)=>(vue.openBlock(),vue.createElementBlock("div",{key:b,class:"w-full sort-item"},[vue.unref(f)[b]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElColorPicker),{key:0,predefine:vue.unref(a),size:"small","show-alpha":"",modelValue:vue.unref(f)[b].itemStyle.color,"onUpdate:modelValue":C=>vue.unref(f)[b].itemStyle.color=C},null,8,["predefine","modelValue","onUpdate:modelValue"])):vue.createCommentVNode("",!0),vue.createElementVNode("span",_hoisted_1$1B,vue.toDisplayString(b),1),vue.createElementVNode("div",_hoisted_2$1l,[vue.unref(f)[b]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElDropdown),{key:0,onCommand:C=>m(C,b)},{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$1a,vue.toDisplayString(vue.unref(f)[b].type=="scatter"?"普通":"特效"),1)]),_:2},1032,["onCommand"])):vue.createCommentVNode("",!0),vue.createElementVNode("i",{onClick:C=>g(b),class:vue.normalizeClass([_.option.dataShow.hide.includes(b)?"ri-eye-off-line":"ri-eye-line","mr-2 cursor-pointer"])},null,10,_hoisted_4$16),_hoisted_5$W])]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_hoisted_1$1A={class:"flex items-center justify-end flex-1"},_hoisted_2$1k=["onClick"],_hoisted_3$19=vue.createElementVNode("i",{class:"cursor-move ri-draggable sortable-handle"},null,-1),_sfc_main$1Q=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1},bigScreen:{type:Boolean,default:!1}},setup(i){var g;const{getChartData:n}=useScreenDesign(),r=i,{proxy:o}=vue.getCurrentInstance(),a=o.$globalPreColor,l=[{label:"顶部",value:"top"},{label:"左侧",value:"left"},{label:"右侧",value:"right"},{label:"底部",value:"bottom"}],s=[{label:"多边形",value:"polygon"},{label:"圆形",value:"circle"}],{setChartData:u}=useCustomChart(),{seriesItem:c,init:d,customSeriesData:f}=useRadar();vue.ref(null);const p=vue.ref(JSON.parse(JSON.stringify(r.bigScreen?r.option.series[0]:(g=vue.unref(f))!=null&&g.type?f.value:c)));vue.watch(p,()=>v(),{deep:!0}),vue.watch([()=>r.option.dataShow.y,()=>r.option.dataShow.hide],()=>{d(r.option,()=>{v()})},{deep:!0,immediate:r.immediate}),vue.watch(()=>r.option.dataShow.x,async()=>{r.option.dataset.source=await u(r.type,r.option.dataShow.x),d(r.option,()=>{v()})});const v=()=>{const _=p.value;Object.keys(r.option.series[0]).forEach(y=>{["areaStyle","label"].includes(y)&&(r.option.series[0][y]=_[y])}),f.value={...r.option.series[0],data:[]},r.bigScreen&&(r.option.customSeriesData=f.value),window.customSeriesData=f.value},m=_=>{const{hide:y}=r.option.dataShow;y.includes(_)?y.splice(y.findIndex(b=>b==_),1):y.push(_)};return(_,y)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(SettingCommon,{option:_.option,type:4},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"雷达图配置"},{default:vue.withCtx(()=>{var b;return[vue.createVNode(_sfc_main$1Z,{name:"样式"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"背景"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:_.option.radar.splitArea.show,"onUpdate:modelValue":y[0]||(y[0]=x=>_.option.radar.splitArea.show=x)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"分割线"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:_.option.radar.splitLine.show,"onUpdate:modelValue":y[1]||(y[1]=x=>_.option.radar.splitLine.show=x)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"形状"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:_.option.radar.shape,"onUpdate:modelValue":y[2]||(y[2]=x=>_.option.radar.shape=x),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(s,x=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:x.value,label:x.label,value:x.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"坐标轴"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"轴线"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:_.option.radar.axisLine.show,"onUpdate:modelValue":y[3]||(y[3]=x=>_.option.radar.axisLine.show=x)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"刻度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:_.option.radar.axisTick.show,"onUpdate:modelValue":y[4]||(y[4]=x=>_.option.radar.axisTick.show=x)},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"范围"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"最小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:_.option.radar.radius[0],"onUpdate:modelValue":y[5]||(y[5]=x=>_.option.radar.radius[0]=x),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"最大"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:_.option.radar.radius[1],"onUpdate:modelValue":y[6]||(y[6]=x=>_.option.radar.radius[1]=x),size:"small"},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"偏移"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"x"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:_.option.radar.center[0],"onUpdate:modelValue":y[7]||(y[7]=x=>_.option.radar.center[0]=x),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"y"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:_.option.radar.center[1],"onUpdate:modelValue":y[8]||(y[8]=x=>_.option.radar.center[1]=x),size:"small"},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"指示器"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:_.option.radar.axisName.show,"onUpdate:modelValue":y[9]||(y[9]=x=>_.option.radar.axisName.show=x)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:_.option.radar.axisName.fontSize,"onUpdate:modelValue":y[10]||(y[10]=x=>_.option.radar.axisName.fontSize=x),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(a),modelValue:_.option.radar.axisName.color,"onUpdate:modelValue":y[11]||(y[11]=x=>_.option.radar.axisName.color=x)},null,8,["predefine","modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"标签"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(p).label.show,"onUpdate:modelValue":y[12]||(y[12]=x=>vue.unref(p).label.show=x)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"位置"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:vue.unref(p).label.position,"onUpdate:modelValue":y[13]||(y[13]=x=>vue.unref(p).label.position=x),size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(l,x=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:x.value,label:x.label,value:x.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"旋转"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(p).label.rotate,"onUpdate:modelValue":y[14]||(y[14]=x=>vue.unref(p).label.rotate=x),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(p).label.fontSize,"onUpdate:modelValue":y[15]||(y[15]=x=>vue.unref(p).label.fontSize=x),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(a),modelValue:vue.unref(p).label.color,"onUpdate:modelValue":y[16]||(y[16]=x=>vue.unref(p).label.color=x)},null,8,["predefine","modelValue"])]),_:1})]),_:1}),(b=vue.unref(p))!=null&&b.type?(vue.openBlock(),vue.createBlock(_sfc_main$1Z,{key:0,name:"系列"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"背景透明度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(p).areaStyle.opacity,"onUpdate:modelValue":y[17]||(y[17]=x=>vue.unref(p).areaStyle.opacity=x),min:0,max:1,size:"small",step:.1},null,8,["modelValue"])]),_:1})]),_:1})):vue.createCommentVNode("",!0)]}),_:1}),vue.createVNode(SettingData,{option:_.option,type:4},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"X轴",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:_.option.dataShow.x,"onUpdate:modelValue":y[18]||(y[18]=b=>_.option.dataShow.x=b),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(n).x,b=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:b.comment,label:b.comment,value:b.comment},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"Y轴",style:{width:"100%","margin-top":"10px"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:_.option.dataShow.y,"onUpdate:modelValue":y[19]||(y[19]=b=>_.option.dataShow.y=b),animation:150,handle:".sortable-handle"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(_.option.dataShow.y,(b,x)=>(vue.openBlock(),vue.createElementBlock("div",{key:b,class:"w-full sort-item"},[vue.createElementVNode("span",null,vue.toDisplayString(b),1),vue.createElementVNode("div",_hoisted_1$1A,[vue.createElementVNode("i",{onClick:C=>m(b),class:vue.normalizeClass([_.option.dataShow.hide.includes(b)?"ri-eye-off-line":"ri-eye-line","mr-2 cursor-pointer"])},null,10,_hoisted_2$1k),_hoisted_3$19])]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_hoisted_1$1z={class:"mr-2"},_hoisted_2$1j={class:"flex items-center justify-end flex-1"},_hoisted_3$18={class:"flex items-center gap-2.5"},_hoisted_4$15={class:"flex items-center gap-2.5"},_hoisted_5$V=vue.createElementVNode("i",{class:"mr-2 cursor-pointer ri-more-line"},null,-1),_hoisted_6$P=["onClick"],_hoisted_7$J=vue.createElementVNode("i",{class:"cursor-move ri-draggable sortable-handle"},null,-1),_sfc_main$1P=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1},bigScreen:{type:Boolean,default:!1}},setup(i){const n=i,{proxy:r}=vue.getCurrentInstance(),o=r.$globalPreColor;useCustomChart();const{init:a,numberConfig:l,customSeriesData:s}=useNumber();vue.ref(null);const u=vue.ref(JSON.parse(JSON.stringify(l)));vue.watch(u,()=>c(),{deep:!0}),vue.watch(()=>n.option.dataShow,()=>{a(n.option)},{deep:!0,immediate:n.immediate});const c=()=>{},d=f=>{const{hide:p=[]}=n.option.dataShow;p.includes(f)?p.splice(p.findIndex(v=>v==f),1):p.push(f),n.option.dataShow.hide=p};return(f,p)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"间距",name:"margin"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"外间距"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:f.option.margin,"onUpdate:modelValue":p[0]||(p[0]=v=>f.option.margin=v),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"内间距"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:f.option.padding,"onUpdate:modelValue":p[1]||(p[1]=v=>f.option.padding=v),size:"small"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(SettingData,{option:f.option,type:7},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:"列名"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"",style:{width:"100%","margin-top":"10px"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:f.option.dataShow.y,"onUpdate:modelValue":p[2]||(p[2]=v=>f.option.dataShow.y=v),animation:150,handle:".sortable-handle"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(f.option.dataShow.y,(v,m)=>(vue.openBlock(),vue.createElementBlock("div",{key:v,class:"w-full sort-item"},[vue.createElementVNode("span",_hoisted_1$1z,vue.toDisplayString(v),1),vue.createElementVNode("div",_hoisted_2$1j,[vue.unref(s)[v]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElPopover),{key:0,width:400,trigger:"click"},{reference:vue.withCtx(()=>[_hoisted_5$V]),default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"背景颜色"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_3$18,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(s)[v].bgColor,"onUpdate:modelValue":g=>vue.unref(s)[v].bgColor=g,size:"small"},null,8,["modelValue","onUpdate:modelValue"]),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{teleported:!1,predefine:vue.unref(o),size:"small","show-alpha":"",modelValue:vue.unref(s)[v].bgColor,"onUpdate:modelValue":g=>vue.unref(s)[v].bgColor=g},null,8,["predefine","modelValue","onUpdate:modelValue"])])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"字体颜色"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_4$15,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(s)[v].color,"onUpdate:modelValue":g=>vue.unref(s)[v].color=g,size:"small"},null,8,["modelValue","onUpdate:modelValue"]),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{teleported:!1,predefine:vue.unref(o),size:"small","show-alpha":"",modelValue:vue.unref(s)[v].color,"onUpdate:modelValue":g=>vue.unref(s)[v].color=g},null,8,["predefine","modelValue","onUpdate:modelValue"])])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"前缀"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(s)[v].prefix,"onUpdate:modelValue":g=>vue.unref(s)[v].prefix=g,size:"small",placeholder:"前缀"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"后缀"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(s)[v].suffix,"onUpdate:modelValue":g=>vue.unref(s)[v].suffix=g,size:"small",placeholder:"后缀"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"保留小数"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:vue.unref(s)[v].toFixed,"onUpdate:modelValue":g=>vue.unref(s)[v].toFixed=g,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(s)[v].fontSize,"onUpdate:modelValue":g=>vue.unref(s)[v].fontSize=g,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"隐藏标题"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(s)[v].hideLabel,"onUpdate:modelValue":g=>vue.unref(s)[v].hideLabel=g,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"标题大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(s)[v].titleFontSize,"onUpdate:modelValue":g=>vue.unref(s)[v].titleFontSize=g,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024)]),_:2},1024)):vue.createCommentVNode("",!0),vue.createElementVNode("i",{onClick:g=>d(v),class:vue.normalizeClass([(f.option.dataShow.hide??[]).includes(v)?"ri-eye-off-line":"ri-eye-line","mr-2 cursor-pointer"])},null,10,_hoisted_6$P),_hoisted_7$J])]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_hoisted_1$1y={class:"flex items-center gap-2.5"},_hoisted_2$1i={class:"flex items-center gap-2.5"},_hoisted_3$17={class:"flex items-center gap-2.5"},_hoisted_4$14={class:"mr-2"},_hoisted_5$U={class:"flex items-center justify-end flex-1"},_hoisted_6$O={class:"flex items-center gap-2.5"},_hoisted_7$I={class:"flex items-center gap-2.5"},_hoisted_8$D={class:"flex items-center gap-2.5"},_hoisted_9$x=vue.createElementVNode("i",{class:"mr-2 cursor-pointer ri-more-line"},null,-1),_hoisted_10$r=["onClick"],_hoisted_11$l=vue.createElementVNode("i",{class:"cursor-move ri-draggable sortable-handle"},null,-1),_sfc_main$1O=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1},bigScreen:{type:Boolean,default:!1}},setup(i){const n=i,{proxy:r}=vue.getCurrentInstance(),o=r.$globalPreColor,a=[{label:"靠左",value:"left"},{label:"居中",value:"center"},{label:"靠右",value:"right"}],l=[{label:"不轮播",value:"none"},{label:"单条轮播",value:"single"},{label:"整页轮播",value:"page"}];useCustomChart();const{init:s,tableConfig:u,customSeriesData:c}=useTable();vue.ref(null);const d=vue.ref(JSON.parse(JSON.stringify(u)));vue.watch(d,()=>f(),{deep:!0}),vue.watch(()=>n.option.dataShow,()=>{s(n.option)},{deep:!0,immediate:n.immediate});const f=()=>{},p=()=>{n.option.headerBGC="rgba(58, 82, 155, 0.7)",n.option.oddRowBGC="rgba(32, 59, 144, 0.6)",n.option.evenRowBGC="rgba(17, 48, 145, 0.6)",Object.keys(vue.unref(c)).forEach(g=>{c.value[g].color="#fff",c.value[g].headColor="#05D9D9"})},v=g=>{const{color:_,headColor:y}=vue.unref(c)[g];Object.keys(vue.unref(c)).forEach(b=>{b!=g&&(c.value[b].color=_,c.value[b].headColor=y)})},m=g=>{const{hide:_}=n.option.dataShow;_.includes(g)?_.splice(_.findIndex(y=>y==g),1):_.push(g)};return(g,_)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(SettingData,{option:g.option,type:8},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:"表格设置"},{right:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElLink),{type:"primary",onClick:p},{default:vue.withCtx(()=>[vue.createTextVNode("深色主题")]),_:1})]),default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"显示序号"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:n.option.showIndex,"onUpdate:modelValue":_[0]||(_[0]=y=>n.option.showIndex=y)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"序号宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:n.option.indexWidth,"onUpdate:modelValue":_[1]||(_[1]=y=>n.option.indexWidth=y),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"序号标题"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:n.option.indexHeader,"onUpdate:modelValue":_[2]||(_[2]=y=>n.option.indexHeader=y),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{min:0,modelValue:n.option.fontSize,"onUpdate:modelValue":_[3]||(_[3]=y=>n.option.fontSize=y),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"表行数"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:n.option.rowNum,"onUpdate:modelValue":_[4]||(_[4]=y=>n.option.rowNum=y),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"表头高度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:n.option.headerHeight,"onUpdate:modelValue":_[5]||(_[5]=y=>n.option.headerHeight=y),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"表头背景色"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1y,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:n.option.headerBGC,"onUpdate:modelValue":_[6]||(_[6]=y=>n.option.headerBGC=y),size:"small"},null,8,["modelValue"]),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{teleported:!1,"show-alpha":"",predefine:vue.unref(o),size:"small",modelValue:n.option.headerBGC,"onUpdate:modelValue":_[7]||(_[7]=y=>n.option.headerBGC=y)},null,8,["predefine","modelValue"])])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"奇数行背景色"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_2$1i,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:n.option.oddRowBGC,"onUpdate:modelValue":_[8]||(_[8]=y=>n.option.oddRowBGC=y),size:"small"},null,8,["modelValue"]),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{teleported:!1,"show-alpha":"",predefine:vue.unref(o),size:"small",modelValue:n.option.oddRowBGC,"onUpdate:modelValue":_[9]||(_[9]=y=>n.option.oddRowBGC=y)},null,8,["predefine","modelValue"])])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"偶数行背景色"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_3$17,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:n.option.evenRowBGC,"onUpdate:modelValue":_[10]||(_[10]=y=>n.option.evenRowBGC=y),size:"small"},null,8,["modelValue"]),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{teleported:!1,"show-alpha":"",predefine:vue.unref(o),size:"small",modelValue:n.option.evenRowBGC,"onUpdate:modelValue":_[11]||(_[11]=y=>n.option.evenRowBGC=y)},null,8,["predefine","modelValue"])])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"滚动方式",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadioGroup),{modelValue:n.option.carousel,"onUpdate:modelValue":_[12]||(_[12]=y=>n.option.carousel=y)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(l,y=>vue.createVNode(vue.unref(elementPlus.ElRadio),{key:y.value,label:y.label,value:y.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"轮播时间(s)"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:n.option.waitTime,"onUpdate:modelValue":_[13]||(_[13]=y=>n.option.waitTime=y),size:"small"},null,8,["modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"列名"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"",style:{width:"100%","margin-top":"10px"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:g.option.dataShow.y,"onUpdate:modelValue":_[14]||(_[14]=y=>g.option.dataShow.y=y),animation:150,handle:".sortable-handle"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(g.option.dataShow.y,(y,b)=>(vue.openBlock(),vue.createElementBlock("div",{key:y,class:"w-full sort-item"},[vue.createElementVNode("span",_hoisted_4$14,vue.toDisplayString(y),1),vue.createElementVNode("div",_hoisted_5$U,[vue.unref(c)[y]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElPopover),{key:0,width:400,trigger:"click"},{reference:vue.withCtx(()=>[_hoisted_9$x]),default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:"参数配置"},{right:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElLink),{type:"primary",onClick:x=>v(y)},{default:vue.withCtx(()=>[vue.createTextVNode("同步颜色")]),_:2},1032,["onClick"])]),default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"表头文字"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_6$O,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(c)[y].text,"onUpdate:modelValue":x=>vue.unref(c)[y].text=x,size:"small",placeholder:"不填则默认"},null,8,["modelValue","onUpdate:modelValue"])])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"数据颜色"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_7$I,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(c)[y].color,"onUpdate:modelValue":x=>vue.unref(c)[y].color=x,size:"small"},null,8,["modelValue","onUpdate:modelValue"]),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{teleported:!1,"show-alpha":"",predefine:vue.unref(o),size:"small",modelValue:vue.unref(c)[y].color,"onUpdate:modelValue":x=>vue.unref(c)[y].color=x},null,8,["predefine","modelValue","onUpdate:modelValue"])])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"表头颜色"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_8$D,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(c)[y].headColor,"onUpdate:modelValue":x=>vue.unref(c)[y].headColor=x,size:"small"},null,8,["modelValue","onUpdate:modelValue"]),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{teleported:!1,"show-alpha":"",predefine:vue.unref(o),size:"small",modelValue:vue.unref(c)[y].headColor,"onUpdate:modelValue":x=>vue.unref(c)[y].headColor=x},null,8,["predefine","modelValue","onUpdate:modelValue"])])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"对齐方式"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",size:"small",teleported:!1,modelValue:vue.unref(c)[y].textAlign,"onUpdate:modelValue":x=>vue.unref(c)[y].textAlign=x},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(a,x=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:x.value,label:x.label,value:x.value},null,8,["label","value"])),64))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:vue.unref(c)[y].width,"onUpdate:modelValue":x=>vue.unref(c)[y].width=x,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"前缀"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(c)[y].prefix,"onUpdate:modelValue":x=>vue.unref(c)[y].prefix=x,size:"small",placeholder:"前缀"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"后缀"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(c)[y].suffix,"onUpdate:modelValue":x=>vue.unref(c)[y].suffix=x,size:"small",placeholder:"后缀"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"保留小数"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:vue.unref(c)[y].toFixed,"onUpdate:modelValue":x=>vue.unref(c)[y].toFixed=x,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"统计"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(c)[y].sum,"onUpdate:modelValue":x=>vue.unref(c)[y].sum=x},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:2},1024)]),_:2},1024)):vue.createCommentVNode("",!0),vue.createElementVNode("i",{onClick:x=>m(y),class:vue.normalizeClass([g.option.dataShow.hide.includes(y)?"ri-eye-off-line":"ri-eye-line","mr-2 cursor-pointer"])},null,10,_hoisted_10$r),_hoisted_11$l])]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_hoisted_1$1x={class:"flex items-center"},_hoisted_2$1h=vue.createElementVNode("span",{class:"ml-1 mr-1"},"-",-1),_hoisted_3$16={class:"flex items-center"},_hoisted_4$13=vue.createElementVNode("span",{class:"ml-1 mr-1"},"-",-1),_sfc_main$1N=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1},bigScreen:{type:Boolean,default:!1}},setup(i){const{getChartData:n}=useScreenDesign(),r=i,{proxy:o}=vue.getCurrentInstance(),a=o.$globalPreColor,{init:l,city:s}=useMap();return vue.watch(()=>r.option.style.style1,async u=>{r.option.series[1]=u},{deep:!0,immediate:r.immediate}),vue.watch(()=>r.option.style.style2,async u=>{r.option.series[2]=u},{deep:!0,immediate:r.immediate}),(u,c)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(SettingCommon,{option:u.option,type:9},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"地图数据"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElTreeSelect),{modelValue:u.option.code,"onUpdate:modelValue":c[0]||(c[0]=d=>u.option.code=d),data:vue.unref(s),props:{label:"name",value:"code",children:"children"},onChange:c[1]||(c[1]=d=>vue.unref(l)(u.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$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"展示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:u.option.visualMap.show,"onUpdate:modelValue":c[2]||(c[2]=d=>u.option.visualMap.show=d)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"文本"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1x,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:u.option.visualMap.text[1],"onUpdate:modelValue":c[3]||(c[3]=d=>u.option.visualMap.text[1]=d),size:"small"},null,8,["modelValue"]),_hoisted_2$1h,vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:u.option.visualMap.text[0],"onUpdate:modelValue":c[4]||(c[4]=d=>u.option.visualMap.text[0]=d),size:"small"},null,8,["modelValue"])])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"最小值-最高值"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_3$16,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:u.option.visualMap.min,"onUpdate:modelValue":c[5]||(c[5]=d=>u.option.visualMap.min=d),size:"small"},null,8,["modelValue"]),_hoisted_4$13,vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:u.option.visualMap.max,"onUpdate:modelValue":c[6]||(c[6]=d=>u.option.visualMap.max=d),size:"small"},null,8,["modelValue"])])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"最小颜色-最高颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(a),modelValue:u.option.visualMap.inRange.color[0],"onUpdate:modelValue":c[7]||(c[7]=d=>u.option.visualMap.inRange.color[0]=d)},null,8,["predefine","modelValue"]),vue.createTextVNode(" - "),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(a),modelValue:u.option.visualMap.inRange.color[1],"onUpdate:modelValue":c[8]||(c[8]=d=>u.option.visualMap.inRange.color[1]=d)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"地图"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"展示标签"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:u.option.geo.label.show,"onUpdate:modelValue":c[9]||(c[9]=d=>u.option.geo.label.show=d)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"缩放"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{step:.1,modelValue:u.option.geo.zoom,"onUpdate:modelValue":c[10]||(c[10]=d=>u.option.geo.zoom=d),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"顶部距离"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:u.option.geo.top,"onUpdate:modelValue":c[11]||(c[11]=d=>u.option.geo.top=d),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"左侧距离"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:u.option.geo.left,"onUpdate:modelValue":c[12]||(c[12]=d=>u.option.geo.left=d),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:u.option.geo.label.fontSize,"onUpdate:modelValue":c[13]||(c[13]=d=>u.option.geo.label.fontSize=d),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"字体颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(a),modelValue:u.option.geo.label.color,"onUpdate:modelValue":c[14]||(c[14]=d=>u.option.geo.label.color=d)},null,8,["predefine","modelValue"])]),_:1})]),_:1}),vue.createVNode(_sfc_main$1Z,{name:"移动效果"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"区块颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(a),"show-alpha":"",modelValue:u.option.geo.emphasis.itemStyle.areaColor,"onUpdate:modelValue":c[15]||(c[15]=d=>u.option.geo.emphasis.itemStyle.areaColor=d)},null,8,["predefine","modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"边框颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{predefine:vue.unref(a),"show-alpha":"",modelValue:u.option.geo.emphasis.itemStyle.borderColor,"onUpdate:modelValue":c[16]||(c[16]=d=>u.option.geo.emphasis.itemStyle.borderColor=d)},null,8,["predefine","modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"边框大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:u.option.geo.emphasis.itemStyle.borderWidth,"onUpdate:modelValue":c[17]||(c[17]=d=>u.option.geo.emphasis.itemStyle.borderWidth=d),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:u.option.geo.emphasis.label.fontSize,"onUpdate:modelValue":c[18]||(c[18]=d=>u.option.geo.emphasis.label.fontSize=d),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"字体颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(a),modelValue:u.option.geo.emphasis.label.color,"onUpdate:modelValue":c[19]||(c[19]=d=>u.option.geo.emphasis.label.color=d)},null,8,["predefine","modelValue"])]),_:1})]),_:1})]),_:1}),(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(["style1","style2"],d=>vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:d=="style1"?"散点样式":"点位样式"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"形状"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:u.option.style[d].symbol,"onUpdate:modelValue":f=>u.option.style[d].symbol=f,size:"small"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(dict).shape,f=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:f.value,label:f.label,value:f.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:u.option.style[d].symbolSize,"onUpdate:modelValue":f=>u.option.style[d].symbolSize=f,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"形状颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(a),modelValue:u.option.style[d].itemStyle.color,"onUpdate:modelValue":f=>u.option.style[d].itemStyle.color=f},null,8,["predefine","modelValue","onUpdate:modelValue"])]),_:2},1024),u.option.style[d].label?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(_sfc_main$1Y,{name:"值显示"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:u.option.style[d].label.show,"onUpdate:modelValue":f=>u.option.style[d].label.show=f},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"颜色"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElColorPicker),{"show-alpha":"",predefine:vue.unref(a),modelValue:u.option.style[d].label.color,"onUpdate:modelValue":f=>u.option.style[d].label.color=f},null,8,["predefine","modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:u.option.style[d].label.fontSize,"onUpdate:modelValue":f=>u.option.style[d].label.fontSize=f,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$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"维度",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:u.option.dataShow.x,"onUpdate:modelValue":c[20]||(c[20]=d=>u.option.dataShow.x=d),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(n).x,d=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:d.comment,label:d.comment,value:d.comment},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"统计",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:u.option.dataShow.y,"onUpdate:modelValue":c[21]||(c[21]=d=>u.option.dataShow.y=d),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(n).y.filter(d=>d.aggType!="other"),d=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:d.showLabel,label:d.showLabel,value:d.showLabel},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_hoisted_1$1w={class:"mr-2"},_hoisted_2$1g={class:"flex items-center justify-end flex-1"},_hoisted_3$15={class:"flex items-center gap-2.5"},_hoisted_4$12={class:"flex items-center gap-2.5"},_hoisted_5$T={class:"flex items-center gap-2.5"},_hoisted_6$N=vue.createElementVNode("i",{class:"mr-2 cursor-pointer ri-more-line"},null,-1),_hoisted_7$H=["onClick"],_hoisted_8$C=vue.createElementVNode("i",{class:"cursor-move ri-draggable sortable-handle"},null,-1),_sfc_main$1M=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1},bigScreen:{type:Boolean,default:!1}},setup(i){const n=i,r=[{label:"横向",value:"horizontal"},{label:"纵向",value:"vertical"}],o=[{label:"直线",value:"line"},{label:"环形",value:"circle"},{label:"仪表盘",value:"dashboard"}],a=[{label:"直角",value:"butt"},{label:"圆角",value:"round"},{label:"正方形",value:"square"}],{proxy:l}=vue.getCurrentInstance(),s=l.$globalPreColor;useCustomChart();const{init:u,progressConfig:c,customSeriesData:d}=useProgress();vue.ref(null);const f=vue.ref(JSON.parse(JSON.stringify(c)));vue.watch(f,()=>p(),{deep:!0}),vue.watch(()=>n.option.dataShow,()=>{u(n.option)},{deep:!0,immediate:n.immediate});const p=()=>{},v=m=>{const{hide:g=[]}=n.option.dataShow;g.includes(m)?g.splice(g.findIndex(_=>_==m),1):g.push(m),n.option.dataShow.hide=g};return(m,g)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"间距",name:"margin"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"外间距"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:m.option.margin,"onUpdate:modelValue":g[0]||(g[0]=_=>m.option.margin=_),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"排列方向"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{"popper-class":"ace-select",modelValue:m.option.direction,"onUpdate:modelValue":g[1]||(g[1]=_=>m.option.direction=_),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(r,_=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:_.value,label:_.label,value:_.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(SettingData,{option:m.option,type:10},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:"列名"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"",style:{width:"100%","margin-top":"10px"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(vueDraggablePlus.VueDraggable),{modelValue:m.option.dataShow.y,"onUpdate:modelValue":g[2]||(g[2]=_=>m.option.dataShow.y=_),animation:150,handle:".sortable-handle"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(m.option.dataShow.y,(_,y)=>(vue.openBlock(),vue.createElementBlock("div",{key:_,class:"w-full sort-item"},[vue.createElementVNode("span",_hoisted_1$1w,vue.toDisplayString(_),1),vue.createElementVNode("div",_hoisted_2$1g,[vue.unref(d)[_]?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElPopover),{key:0,width:400,trigger:"click"},{reference:vue.withCtx(()=>[_hoisted_6$N]),default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"进度条类型",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadioGroup),{modelValue:vue.unref(d)[_].type,"onUpdate:modelValue":b=>vue.unref(d)[_].type=b},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(o,b=>vue.createVNode(vue.unref(elementPlus.ElRadio),{key:b.value,label:b.label,value:b.value},null,8,["label","value"])),64))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"进度条颜色"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_3$15,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(d)[_].color,"onUpdate:modelValue":b=>vue.unref(d)[_].color=b,size:"small"},null,8,["modelValue","onUpdate:modelValue"]),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{teleported:!1,"show-alpha":"",predefine:vue.unref(s),size:"small",modelValue:vue.unref(d)[_].color,"onUpdate:modelValue":b=>vue.unref(d)[_].color=b},null,8,["predefine","modelValue","onUpdate:modelValue"])])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"背景颜色"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_4$12,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(d)[_].bgColor,"onUpdate:modelValue":b=>vue.unref(d)[_].bgColor=b,size:"small"},null,8,["modelValue","onUpdate:modelValue"]),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{teleported:!1,"show-alpha":"",predefine:vue.unref(s),size:"small",modelValue:vue.unref(d)[_].bgColor,"onUpdate:modelValue":b=>vue.unref(d)[_].bgColor=b},null,8,["predefine","modelValue","onUpdate:modelValue"])])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"进度条宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:vue.unref(d)[_].strokeWidth,"onUpdate:modelValue":b=>vue.unref(d)[_].strokeWidth=b,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),["circle","dashboard"].includes(vue.unref(d)[_].type)?(vue.openBlock(),vue.createBlock(_sfc_main$1Y,{key:0,name:"环形进度条画布宽度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:vue.unref(d)[_].width,"onUpdate:modelValue":b=>vue.unref(d)[_].width=b,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)):vue.createCommentVNode("",!0),["circle","dashboard"].includes(vue.unref(d)[_].type)?(vue.openBlock(),vue.createBlock(_sfc_main$1Y,{key:1,name:"两端形状",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadioGroup),{modelValue:vue.unref(d)[_].strokeLinecap,"onUpdate:modelValue":b=>vue.unref(d)[_].strokeLinecap=b},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(a,b=>vue.createVNode(vue.unref(elementPlus.ElRadio),{key:b.value,label:b.label,value:b.value},null,8,["label","value"])),64))]),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024)):vue.createCommentVNode("",!0),["line"].includes(vue.unref(d)[_].type)?(vue.openBlock(),vue.createBlock(_sfc_main$1Y,{key:2,name:"文字显示在进度条内"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(d)[_].textInside,"onUpdate:modelValue":b=>vue.unref(d)[_].textInside=b,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)):vue.createCommentVNode("",!0),["line"].includes(vue.unref(d)[_].type)?(vue.openBlock(),vue.createBlock(_sfc_main$1Y,{key:3,name:"条纹"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(d)[_].striped,"onUpdate:modelValue":b=>vue.unref(d)[_].striped=b,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)):vue.createCommentVNode("",!0),["line"].includes(vue.unref(d)[_].type)?(vue.openBlock(),vue.createBlock(_sfc_main$1Y,{key:4,name:"条纹流动"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(d)[_].stripedFlow,"onUpdate:modelValue":b=>vue.unref(d)[_].stripedFlow=b,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)):vue.createCommentVNode("",!0),["line"].includes(vue.unref(d)[_].type)?(vue.openBlock(),vue.createBlock(_sfc_main$1Y,{key:5,name:"流动速度"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:vue.unref(d)[_].duration,"onUpdate:modelValue":b=>vue.unref(d)[_].duration=b,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)):vue.createCommentVNode("",!0),vue.createVNode(_sfc_main$1Y,{name:"前缀"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(d)[_].prefix,"onUpdate:modelValue":b=>vue.unref(d)[_].prefix=b,size:"small",placeholder:"前缀"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"后缀"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(d)[_].suffix,"onUpdate:modelValue":b=>vue.unref(d)[_].suffix=b,size:"small",placeholder:"后缀"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"保留小数"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{min:0,modelValue:vue.unref(d)[_].toFixed,"onUpdate:modelValue":b=>vue.unref(d)[_].toFixed=b,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(d)[_].fontSize,"onUpdate:modelValue":b=>vue.unref(d)[_].fontSize=b,size:"small"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),vue.createVNode(_sfc_main$1Y,{name:"字体颜色"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_5$T,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(d)[_].fontColor,"onUpdate:modelValue":b=>vue.unref(d)[_].fontColor=b,size:"small"},null,8,["modelValue","onUpdate:modelValue"]),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{teleported:!1,"show-alpha":"",predefine:vue.unref(s),size:"small",modelValue:vue.unref(d)[_].fontColor,"onUpdate:modelValue":b=>vue.unref(d)[_].fontColor=b},null,8,["predefine","modelValue","onUpdate:modelValue"])])]),_:2},1024)]),_:2},1024)]),_:2},1024)):vue.createCommentVNode("",!0),vue.createElementVNode("i",{onClick:b=>v(_),class:vue.normalizeClass([(m.option.dataShow.hide??[]).includes(_)?"ri-eye-off-line":"ri-eye-line","mr-2 cursor-pointer"])},null,10,_hoisted_7$H),_hoisted_8$C])]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),_hoisted_1$1v={class:"flex items-center gap-2.5"},_hoisted_2$1f={class:"flex items-center gap-2.5"},_hoisted_3$14={class:"flex items-center gap-2.5"},_hoisted_4$11={class:"flex items-center gap-2.5"},_sfc_main$1L=vue.defineComponent({__name:"config",props:{option:{default:{}},type:{default:""},immediate:{type:Boolean,default:!1},bigScreen:{type:Boolean,default:!1}},setup(i){var p;const n=i,r=[{label:"圆形",value:"circle"},{label:"正方形",value:"rect"},{label:"带圆角正方形",value:"roundRect"},{label:"正三角形",value:"triangle"},{label:"菱形",value:"diamond"},{label:"水滴",value:"pin"},{label:"箭头",value:"arrow"}],{proxy:o}=vue.getCurrentInstance(),a=o.$globalPreColor,{getChartData:l}=useScreenDesign(),{init:s,seriesItem:u,customSeriesData:c}=useWeaterLevel();vue.ref(null);const d=vue.ref(JSON.parse(JSON.stringify((p=vue.unref(c))!=null&&p.type?c.value:u)));vue.watch(d,()=>f(),{deep:!0}),vue.watch(()=>n.option.dataShow,()=>{s(n.option)},{deep:!0,immediate:n.immediate});const f=()=>{n.option.series[0]={...vue.unref(d),data:n.option.series[0].data},n.option.customSeriesData=vue.unref(d),window.customSeriesData=vue.unref(d)};return(v,m)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"水滴图设置",name:"basic"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"形状"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:vue.unref(d).shape,"onUpdate:modelValue":m[0]||(m[0]=g=>vue.unref(d).shape=g),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(r,g=>vue.createVNode(vue.unref(elementPlus.ElOption),{key:g.value,label:g.label,value:g.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(d).radius,"onUpdate:modelValue":m[1]||(m[1]=g=>vue.unref(d).radius=g),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"颜色1"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1v,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(d).color[0].colorStops[0].color,"onUpdate:modelValue":m[2]||(m[2]=g=>vue.unref(d).color[0].colorStops[0].color=g),size:"small"},null,8,["modelValue"]),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{teleported:!1,"show-alpha":"",predefine:vue.unref(a),size:"small",modelValue:vue.unref(d).color[0].colorStops[0].color,"onUpdate:modelValue":m[3]||(m[3]=g=>vue.unref(d).color[0].colorStops[0].color=g)},null,8,["predefine","modelValue"])])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"颜色2"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_2$1f,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(d).color[0].colorStops[1].color,"onUpdate:modelValue":m[4]||(m[4]=g=>vue.unref(d).color[0].colorStops[1].color=g),size:"small"},null,8,["modelValue"]),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{teleported:!1,"show-alpha":"",predefine:vue.unref(a),size:"small",modelValue:vue.unref(d).color[0].colorStops[1].color,"onUpdate:modelValue":m[5]||(m[5]=g=>vue.unref(d).color[0].colorStops[1].color=g)},null,8,["predefine","modelValue"])])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"背景颜色"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_3$14,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(d).backgroundStyle.color,"onUpdate:modelValue":m[6]||(m[6]=g=>vue.unref(d).backgroundStyle.color=g),size:"small"},null,8,["modelValue"]),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{teleported:!1,"show-alpha":"",predefine:vue.unref(a),size:"small",modelValue:vue.unref(d).backgroundStyle.color,"onUpdate:modelValue":m[7]||(m[7]=g=>vue.unref(d).backgroundStyle.color=g)},null,8,["predefine","modelValue"])])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"显示文字"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSwitch),{modelValue:vue.unref(d).label.show,"onUpdate:modelValue":m[8]||(m[8]=g=>vue.unref(d).label.show=g)},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"字体大小"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(d).label.fontSize,"onUpdate:modelValue":m[9]||(m[9]=g=>vue.unref(d).label.fontSize=g),size:"small"},null,8,["modelValue"])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"字体颜色"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_4$11,[vue.createVNode(vue.unref(elementPlus.ElInput),{modelValue:vue.unref(d).label.color,"onUpdate:modelValue":m[10]||(m[10]=g=>vue.unref(d).label.color=g),size:"small"},null,8,["modelValue"]),vue.createVNode(vue.unref(elementPlus.ElColorPicker),{teleported:!1,"show-alpha":"",predefine:vue.unref(a),size:"small",modelValue:vue.unref(d).label.color,"onUpdate:modelValue":m[11]||(m[11]=g=>vue.unref(d).label.color=g)},null,8,["predefine","modelValue"])])]),_:1}),vue.createVNode(_sfc_main$1Y,{name:"位数"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElInputNumber),{modelValue:vue.unref(d).toFixed,"onUpdate:modelValue":m[12]||(m[12]=g=>vue.unref(d).toFixed=g),size:"small"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),vue.createVNode(SettingData,{option:v.option,type:11},null,8,["option"]),vue.createVNode(vue.unref(elementPlus.ElCollapseItem),{title:"数据",name:"data"},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Z,{name:""},{default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1Y,{name:"统计",style:{width:"100%"}},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{modelValue:v.option.dataShow.y,"onUpdate:modelValue":m[13]||(m[13]=g=>v.option.dataShow.y=g),size:"small",style:{width:"100%"}},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(l).y.filter(g=>g.aggType!="other"),g=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{key:g.showLabel,label:g.showLabel,value:g.showLabel},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})],64))}}),moudleComponents={};for(let i=0;i<=4;i+=1){let n=null;if(i==0&&(n=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})),i==1&&(n=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})),i==2&&(n=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})),i==3&&(moudleComponents[3]=_sfc_main$1V,moudleComponents[2]=_sfc_main$1T,moudleComponents[1]=_sfc_main$1U,moudleComponents[4]=_sfc_main$1Q,moudleComponents[5]=_sfc_main$1S,moudleComponents[6]=_sfc_main$1R,moudleComponents[7]=_sfc_main$1P,moudleComponents[8]=_sfc_main$1O,moudleComponents[9]=_sfc_main$1N,moudleComponents[10]=_sfc_main$1M,moudleComponents[11]=_sfc_main$1L),i==4&&(n=Object.assign({"../control/input/setting.vue":__vite_glob_3_0,"../control/select/setting.vue":__vite_glob_3_1})),n)for(const[r,o]of Object.entries(n)){const a=r.split("/")[2];moudleComponents[a]=o.default}}const _withScopeId$C=i=>(vue.pushScopeId("data-v-f289c7fe"),i=i(),vue.popScopeId(),i),_hoisted_1$1u=_withScopeId$C(()=>vue.createElementVNode("div",{class:"h-14"},null,-1)),_sfc_main$1K=vue.defineComponent({__name:"linkageChart",setup(i){const{proxy:n}=vue.getCurrentInstance(),{getWidgetList:r}=useScreenDesign(),o=vue.computed(()=>vue.unref(r).filter(u=>u.modelType=="MODEL_INDICATORS")),a=vue.inject("widgetConfig"),l=vue.computed(()=>{var g,_;const u=((_=(g=vue.unref(a))==null?void 0:g.customize)==null?void 0:_.dataShow)??{},{x:c,y:d,hide:f}=u,p=Array.isArray(c)?c:(c??"").split(","),v=Array.isArray(d)?d:(d??"").split(","),m=[...p,...v].filter(y=>y!=="").filter(y=>!(f??[]).includes(y));return m.forEach(y=>{var x,C,w,E;((C=(x=vue.unref(a))==null?void 0:x.customize)==null?void 0:C.linkage)||(vue.unref(a).customize.linkage={}),(E=(w=vue.unref(a))==null?void 0:w.customize)!=null&&E.linkage[y]||(vue.unref(a).customize.linkage[y]=[])}),m}),s=vue.ref([]);return n.$baseHttp.get("/api/ace-data-center/model-indicators/getConfJson",{params:{modelIndicatorsIds:vue.unref(o).map(u=>u.indicatorsId).toString()}}).then(u=>{s.value=[],vue.unref(o).forEach(c=>{const d=u.data.formConfJsonMap[c.indicatorsId];d&&s.value.push({label:c.name,value:c.indicatorsId,children:JSON.parse(d).map(f=>({label:f.name,value:f.key}))})})}),(u,c)=>(vue.openBlock(),vue.createBlock(_sfc_main$2D,{title:"联动组件"},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(l),d=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElFormItem),{label:d},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElCascader),{style:{width:"100%"},placeholder:"请选择指标",modelValue:vue.unref(a).customize.linkage[d],"onUpdate:modelValue":f=>vue.unref(a).customize.linkage[d]=f,options:vue.unref(s).filter(f=>{var p;return f.value!=((p=vue.unref(a))==null?void 0:p.chartId)}),props:{multiple:!0},clearable:""},null,8,["modelValue","onUpdate:modelValue","options"])]),_:2},1032,["label"]))),256)),_hoisted_1$1u]),_:1}))}}),linkageChart_vue_vue_type_style_index_0_scoped_f289c7fe_lang="",LinkageChart=_export_sfc$2(_sfc_main$1K,[["__scopeId","data-v-f289c7fe"]]),_withScopeId$B=i=>(vue.pushScopeId("data-v-95224bc3"),i=i(),vue.popScopeId(),i),_hoisted_1$1t=_withScopeId$B(()=>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$1e=_withScopeId$B(()=>vue.createElementVNode("div",{class:"h-px mb-2",style:{"background-color":"var(--el-border-color-light)"}},null,-1)),_hoisted_3$13={class:"p-2"},_sfc_main$1J=vue.defineComponent({__name:"rightPannel",setup(i){const n=useScreenDesign(),r=vue.ref({});vue.provide("widgetConfig",r);const o=vue.ref(""),a=vue.computed(()=>n.targetsWidget.value.length===1?n.getWidgetList.value.find(s=>{var u;return s.id==((u=n.targetsWidget.value[0])==null?void 0:u.id)}):null);vue.watch(a,s=>{l()});const l=()=>{if(!vue.unref(a)){r.value={};return}const s=n.getWidgetList.value.find(u=>u.id==vue.unref(a).id);vue.unref(a).chartType&&(s==null?void 0:s.modelType)!="INDICATORS"&&(window.customSeriesData=s.customize.customSeriesData,n.setChartData(n.tempChartData.value[s.id].params)),r.value=s,o.value=""};return l(),(s,u)=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElScrollbar),{height:"100%"},{default:vue.withCtx(()=>{var c,d,f;return[_hoisted_1$1t,_hoisted_2$1e,((c=vue.unref(r))==null?void 0:c.modelType)=="INDICATORS"?(vue.openBlock(),vue.createBlock(_sfc_main$2A,{key:0})):(d=vue.unref(r))!=null&&d.chartType?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createVNode(_sfc_main$2A),vue.createElementVNode("div",_hoisted_3$13,[vue.createVNode(vue.unref(elementPlus.ElCollapse),{accordion:"",modelValue:vue.unref(o),"onUpdate:modelValue":u[0]||(u[0]=p=>vue.isRef(o)?o.value=p:null)},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(vue.unref(moudleComponents)[vue.unref(r).chartType]),{key:vue.unref(r).id,immediate:"",option:vue.unref(r).customize,type:vue.unref(r).chartType,bigScreen:!0},null,8,["option","type"]))]),_:1},8,["modelValue"]),vue.createVNode(LinkageChart)])],64)):vue.unref(moudleComponents)[(f=vue.unref(r))==null?void 0:f.type]?(vue.openBlock(),vue.createBlock(vue.resolveDynamicComponent(vue.unref(moudleComponents)[vue.unref(r).type]),{key:vue.unref(r).id})):(vue.openBlock(),vue.createBlock(stagetSetting,{key:3}))]}),_:1}))}}),rightPannel_vue_vue_type_style_index_0_scoped_95224bc3_lang="",RightPannel=_export_sfc$2(_sfc_main$1J,[["__scopeId","data-v-95224bc3"]]),_hoisted_1$1s={class:"flex flex-col overflow-hidden ace-big-screen"},_hoisted_2$1d={class:"h-10 top-pannel"},_hoisted_3$12={class:"relative flex flex-1"},_hoisted_4$10={class:"left-pannel"},_hoisted_5$S={class:"flex-1 p-2 overflow-hidden",id:"design-container"},_hoisted_6$M={class:"relative w-full h-full"},_hoisted_7$G={key:0,class:"right-pannel w-80"},_sfc_main$1I=vue.defineComponent({__name:"design",emits:["preview","save"],setup(i,{expose:n,emit:r}){const o=r,{proxy:a}=vue.getCurrentInstance(),{createLoading:l,theme:s,widgetConfg:u,clearSketchRuleLine:c,setRightPannel:d,setStageWidth:f,setStageHeight:p,getRightPannel:v}=useScreenDesign(),m=vue.ref(!1),g=vue.ref(""),_=vue.ref("");return vue.watch(m,b=>{b?document.getElementsByTagName("html")[0].className=vue.unref(s):document.getElementsByTagName("html")[0].className=""}),n({init:async(b="",x="")=>{if(_.value=b,g.value="大屏管理",m.value=!0,u.value={config:{},list:[]},c(),d(!1),b){const C=await a.$baseHttp.get("/api/ace-data-center/screen/detail",{params:{id:b},headers:{loading:!0}});g.value=C.data.title,u.value=chartJsonFormat(C.data.config),x==="COPY"&&(_.value="")}f(u.value.config.stageWidth??1920),p(u.value.config.stageHeight??1080)}}),(b,x)=>{const C=vue.resolveComponent("AppDrawer");return vue.openBlock(),vue.createBlock(C,{modelValue:vue.unref(m),"onUpdate:modelValue":x[4]||(x[4]=w=>vue.isRef(m)?m.value=w: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$1s,[vue.createElementVNode("div",_hoisted_2$1d,[vue.createVNode(TopPannel,{title:vue.unref(g),"onUpdate:title":x[0]||(x[0]=w=>vue.isRef(g)?g.value=w:null),id:vue.unref(_),onPreview:x[1]||(x[1]=w=>o("preview",w)),onSave:x[2]||(x[2]=w=>{_.value=w,o("save")}),onBack:x[3]||(x[3]=()=>m.value=!1)},null,8,["title","id"])]),vue.createElementVNode("div",_hoisted_3$12,[vue.createElementVNode("div",_hoisted_4$10,[vue.createVNode(LeftPannel)]),vue.createElementVNode("div",_hoisted_5$S,[vue.createElementVNode("div",_hoisted_6$M,[vue.createVNode(Main)])]),vue.unref(v)?(vue.openBlock(),vue.createElementBlock("div",_hoisted_7$G,[vue.createVNode(RightPannel)])):vue.createCommentVNode("",!0)])])),[[vue.unref(elementPlus.vLoading),vue.unref(l)]])]),_:1},8,["modelValue"])}}}),design_vue_vue_type_style_index_0_lang="",_withScopeId$A=i=>(vue.pushScopeId("data-v-144f5695"),i=i(),vue.popScopeId(),i),_hoisted_1$1r={key:1,class:"flex flex-wrap items-center justify-between"},_hoisted_2$1c={class:"item-container"},_hoisted_3$11={class:"item-image"},_hoisted_4$$=["src"],_hoisted_5$R=["onClick"],_hoisted_6$L=_withScopeId$A(()=>vue.createElementVNode("span",{class:"text-base text-white cursor-pointer"},"预览大屏",-1)),_hoisted_7$F=[_hoisted_6$L],_hoisted_8$B={class:"flex items-center justify-between item-footer"},_hoisted_9$w={class:"flex"},_hoisted_10$q=["onClick"],_hoisted_11$k=_withScopeId$A(()=>vue.createElementVNode("i",{class:"mr-1 ri-edit-line"},null,-1)),_hoisted_12$h=["onClick"],_hoisted_13$f=_withScopeId$A(()=>vue.createElementVNode("i",{class:"mr-1 ri-file-copy-line"},null,-1)),_hoisted_14$d=["onClick"],_hoisted_15$7=_withScopeId$A(()=>vue.createElementVNode("i",{class:"mr-1 ri-delete-bin-line"},null,-1)),_hoisted_16$6=_withScopeId$A(()=>vue.createElementVNode("div",{class:"item"},null,-1)),_hoisted_17$5=_withScopeId$A(()=>vue.createElementVNode("div",{class:"item"},null,-1)),_sfc_main$1H=vue.defineComponent({__name:"index",emits:["preview","auto-play"],setup(i,{emit:n}){const r=n,{proxy:o}=vue.getCurrentInstance(),{resetUrl:a}=o.$globalUtils,l=vue.ref(null),s=vue.ref(null),u=vue.reactive([{name:"新增",key:"ADD",type:"primary"},{name:"自动播放",key:"AUTO-PLAY",type:"primary"}]),c=vue.reactive([{name:"名称",type:FieldType.Text,fieldName:"title",value:""}]),d=async f=>{const{type:p,row:v}=f;switch(p){case"PREVIEW":r("preview","list",(v==null?void 0:v.id)??"");break;case"AUTO-PLAY":r("auto-play");break;case"ADD":case"EDIT":case"COPY":vue.unref(s).init((v==null?void 0:v.id)??"",p);break;case"DEL":o.$baseConfirm({content:"是否确定删除",callConfirm:async()=>{await o.$baseHttp.post("/api/ace-data-center/screen/remove",{},{params:{ids:v.id},headers:{loading:!0}})&&(o.$message({type:"success",message:"删除成功",plain:!0}),vue.unref(l).getData())}});break}};return(f,p)=>{const v=vue.resolveComponent("AppEmpty"),m=vue.resolveComponent("AppList");return vue.openBlock(),vue.createBlock(m,{url:`/api/ace-data-center/screen/list?descs=create_time&projectId=${vue.unref(o).$baseGetCurrentProjectId()}`,tableData:[],searchForm:vue.unref(c),searchBtns:vue.unref(u),listType:"custom",onBtnClick:d,ref_key:"appListRef",ref:l},{"list-slot":vue.withCtx(({list:g,loading:_})=>[vue.createVNode(vue.unref(elementPlus.ElSkeleton),{loading:_,animated:""},{default:vue.withCtx(()=>[g.length==0?(vue.openBlock(),vue.createBlock(v,{key:0,description:"暂无数据"})):(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1r,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(g,(y,b)=>(vue.openBlock(),vue.createElementBlock("div",{key:b,class:"item"},[vue.createElementVNode("div",_hoisted_2$1c,[vue.createElementVNode("div",_hoisted_3$11,[vue.createElementVNode("img",{src:vue.unref(a)(y.imageUrl??"")||"https://fuss10.elemecdn.com/d/e6/c4d93a3805b3ce3f323f7974e6f78jpeg.jpeg"},null,8,_hoisted_4$$),vue.createElementVNode("div",{class:"flex items-center justify-center item-popup",onClick:x=>d({type:"PREVIEW",row:y,index:b})},_hoisted_7$F,8,_hoisted_5$R)]),vue.createElementVNode("div",_hoisted_8$B,[vue.createElementVNode("div",null,vue.toDisplayString(y.title),1),vue.createElementVNode("div",_hoisted_9$w,[vue.createElementVNode("span",{onClick:x=>d({type:"EDIT",row:y,index:b}),class:"flex items-center text-xs text-gray-600 cursor-pointer"},[_hoisted_11$k,vue.createTextVNode(" 编辑大屏 ")],8,_hoisted_10$q),vue.createElementVNode("span",{onClick:x=>d({type:"COPY",row:y,index:b}),class:"flex items-center ml-2 text-xs text-gray-600 cursor-pointer"},[_hoisted_13$f,vue.createTextVNode(" 复制 ")],8,_hoisted_12$h),vue.createElementVNode("span",{onClick:x=>d({type:"DEL",row:y,index:b}),class:"flex items-center ml-2 text-xs cursor-pointer text-color-danger"},[_hoisted_15$7,vue.createTextVNode(" 删除 ")],8,_hoisted_14$d)])])])]))),128)),_hoisted_16$6,_hoisted_17$5]))]),_:2},1032,["loading"])]),default:vue.withCtx(()=>[vue.createVNode(_sfc_main$1I,{ref_key:"designRef",ref:s,onSave:p[0]||(p[0]=g=>vue.unref(l).getData()),onPreview:p[1]||(p[1]=g=>r("preview","content",g))},null,512)]),_:1},8,["url","searchForm","searchBtns"])}}}),index_vue_vue_type_style_index_0_scoped_144f5695_lang="",aceBigScreen=_export_sfc$2(_sfc_main$1H,[["__scopeId","data-v-144f5695"]]);let currRenderDom=null,currelRectification="",currelRectificationLevel="",currelRectificationIsKeepRatio="",resizeListener=null,timer=null,currScale=1,isElRectification=!1;const autofit={isAutofitRunnig:!1,init(i={},n=!0){n&&console.log("autofit.js is running");const{dw:r=1920,dh:o=1080,el:a=typeof i=="string"?i:"body",resize:l=!0,ignore:s=[],transition:u="none",delay:c=0,limit:d=.1}=i;currRenderDom=a;let f=document.querySelector(a);if(!f){console.error(`autofit: '${a}' is not exist`);return}const p=document.createElement("style"),v=document.createElement("style");p.lang="text/css",v.lang="text/css",p.id="autofit-style",v.id="ignoreStyle",p.innerHTML="body {overflow: hidden;}";const m=document.querySelector("body");m.appendChild(p),m.appendChild(v),f.style.height=`${o}px`,f.style.width=`${r}px`,f.style.transformOrigin="0 0",f.style.overflow="hidden",keepFit(r,o,f,s,d),resizeListener=()=>{clearTimeout(timer),c!=0?timer=setTimeout(()=>{keepFit(r,o,f,s,d),isElRectification&&elRectification(currelRectification,currelRectificationIsKeepRatio,currelRectificationLevel)},c):(keepFit(r,o,f,s,d),isElRectification&&elRectification(currelRectification,currelRectificationIsKeepRatio,currelRectificationLevel))},l&&window.addEventListener("resize",resizeListener),this.isAutofitRunnig=!0,setTimeout(()=>{f.style.transition=`${u}s`})},off(i="body"){try{isElRectification=!1,window.removeEventListener("resize",resizeListener),document.querySelector("#autofit-style").remove();const n=document.querySelector("#ignoreStyle");n&&n.remove(),document.querySelector(currRenderDom||i).style="",isElRectification&&offelRectification()}catch(n){console.error("autofit: Failed to remove normally",n),this.isAutofitRunnig=!1}this.isAutofitRunnig&&console.log("autofit.js is off")}};function elRectification(i,n=!0,r=1){autofit.isAutofitRunnig||console.error("autofit.js:autofit has not been initialized yet"),!i&&console.error(`autofit.js:bad selector: ${i}`),currelRectification=i,currelRectificationLevel=r,currelRectificationIsKeepRatio=n;const o=document.querySelectorAll(i);if(o.length==0){console.error("autofit.js:elRectification found no element");return}for(let a of o){let l=currScale==1?1:currScale*r;isElRectification||(a.originalWidth=a.clientWidth,a.originalHeight=a.clientHeight),n?(a.style.width=`${a.originalWidth*l}px`,a.style.height=`${a.originalHeight*l}px`):(a.style.width=`${100*l}%`,a.style.height=`${100*l}%`),a.style.transform=`scale(${1/currScale})`,a.style.transformOrigin="0 0"}isElRectification=!0}function offelRectification(){if(currelRectification)for(let i of document.querySelectorAll(currelRectification))i.style.width="",i.style.height="",i.style.transform=""}function keepFit(i,n,r,o,a){let l=document.documentElement.clientHeight,s=document.documentElement.clientWidth;currScale=s/l<i/n?s/i:l/n,currScale=Math.abs(1-currScale)>a?currScale.toFixed(2):1;let u=Math.round(l/currScale),c=Math.round(s/currScale);r.style.height=`${u}px`,r.style.width=`${c}px`,r.style.transform=`scale(${currScale})`;const d=document.querySelector("#ignoreStyle");d.innerHTML="";for(let f of o){let p=f.el||f.dom;if(typeof f=="string"&&(p=f),!p){console.error(`autofit: bad selector: ${p}`);continue}let v=f.scale?f.scale:1/currScale,m=v!=currScale?f.fontSize:"autofit",g=v!=currScale?f.width:"autofit",_=v!=currScale?f.height:"autofit";new RegExp(`${p}( |{)`,"gm").test(d.innerHTML)||(d.innerHTML+=`
509
509
  ${p} {
510
510
  transform: scale(${v})!important;
511
511
  transform-origin: 0 0;
@@ -514,7 +514,7 @@ ${p} {
514
514
  }`,m&&(d.innerHTML+=`
515
515
  ${p} div ,${p} span,${p} a,${p} * {
516
516
  font-size: ${m}px;
517
- }`))}}const _hoisted_1$1q=["id"],_hoisted_2$1b=["id","data-z"],_sfc_main$1G=vue.defineComponent({__name:"preview",props:{config:{default:""},isAutoFit:{type:Boolean,default:!0},renderStyle:{default:{}},bigScreenQueryParams:{default:{}},bigScreenControlParams:{default:{}}},setup(i){var d,f;const n=i,{proxy:r}=vue.getCurrentInstance(),{resetUrl:o}=r.$globalUtils,a=vue.ref(`render-${nanoid()}`),l=vue.ref(null),s=vue.ref({});l.value=chartJsonFormat(n.config);const u=((d=vue.unref(l).config)==null?void 0:d.stageWidth)||1920,c=((f=vue.unref(l).config)==null?void 0:f.stageHeight)||1080;return vue.onMounted(()=>{n.isAutoFit&&vue.nextTick(()=>{autofit.init({el:`#${vue.unref(a)}`,resize:!0,dh:c,dw:u})})}),(p,v)=>{var m,g,_,y,b,x;return vue.openBlock(),vue.createElementBlock("div",{id:vue.unref(a),class:"fixed top-0 left-0 w-full h-full",style:vue.normalizeStyle({backgroundColor:(m=vue.unref(l))==null?void 0:m.config.backgroundColor,backgroundImage:`url(${vue.unref(o)((g=vue.unref(l))==null?void 0:g.config.backgroundImage)})`,backgroundSize:(_=vue.unref(l))==null?void 0:_.config.backgroundSize,backgroundRepeat:(y=vue.unref(l))==null?void 0:y.config.backgroundRepeat,backgroundPosition:(b=vue.unref(l))==null?void 0:b.config.backgroundPosition,...p.renderStyle,...vue.unref(s)})},[vue.createElementVNode("div",{class:"ml-auto mr-auto",style:vue.normalizeStyle({width:vue.unref(u)+"px"})},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList((x=vue.unref(l))==null?void 0:x.list,C=>{var w;return vue.openBlock(),vue.createElementBlock("div",{key:C.id,id:`render-${C.id}`,"data-z":C.z,class:"absolute item",style:vue.normalizeStyle(vue.unref(getItemStyle)(C))},[vue.createVNode(Render,{config:C,list:(w=vue.unref(l))==null?void 0:w.list,renderId:vue.unref(a),bigScreenQueryParams:p.bigScreenQueryParams,bigScreenControlParams:p.bigScreenControlParams},null,8,["config","list","renderId","bigScreenQueryParams","bigScreenControlParams"])],12,_hoisted_2$1b)}),128))],4)],12,_hoisted_1$1q)}}}),preview_vue_vue_type_style_index_0_scoped_0cd76173_lang="",aceBigScreenPreview=_export_sfc$2(_sfc_main$1G,[["__scopeId","data-v-0cd76173"]]),_hoisted_1$1p={class:"fixed top-0 left-0 w-full h-full"},_hoisted_2$1a=["id"],_hoisted_3$10={class:"fixed right-0 flex justify-end w-full overflow-hidden thumb bottom-5 gap-x-2"},_hoisted_4$_=["onClick"],_hoisted_5$Q=["src"],_hoisted_6$K={key:0,class:"fixed top-0 left-0 z-10 flex items-center justify-center w-full h-full"},_sfc_main$1F=vue.defineComponent({__name:"preview-slide",props:{renderStyle:{default:{}},autoplay:{type:Boolean,default:!0},interval:{default:5e3},isOpen:{type:Boolean,default:!0},id:{default:null}},setup(i){const n=i,{proxy:r}=vue.getCurrentInstance(),o=vue.ref(null),{resetUrl:a}=r.$globalUtils,l=vue.ref(n.isOpen),s=vue.ref([]),u=vue.ref(!0),c=vue.ref(0),d=(f,p)=>{c.value=f};return r.$baseHttp.get("/api/ace-data-center/screen/list",{params:{descs:"create_time",projectId:r.$baseGetCurrentProjectId(),current:1,size:1e3}}).then(f=>{if(f.data.records.forEach(p=>{var v,m;p.widgetConfig=chartJsonFormat(p.config),p.stageWidth=((v=p.widgetConfig.config)==null?void 0:v.stageWidth)||1920,p.stageHeight=((m=p.widgetConfig.config)==null?void 0:m.stageHeight)||1080}),s.value=f.data.records,u.value=!1,n.id){const p=vue.unref(s).findIndex(v=>v.id==n.id);c.value=p<=0?0:p}vue.nextTick(()=>{s.value.forEach((p,v)=>{autofit.init({el:`#render_${v}`,resize:!0,dh:p.stageHeight,dw:p.stageHeight})})})}),(f,p)=>{const v=vue.resolveComponent("AppEmpty");return vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElSkeleton),{loading:vue.unref(u)},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1p,[vue.createVNode(vue.unref(elementPlus.ElCarousel),{height:"100%","motion-blur":"",ref_key:"carouselRef",ref:o,onChange:d,"indicator-position":"outside",loop:vue.unref(s).length>1,autoplay:vue.unref(s).length>1&&n.autoplay,interval:n.interval,"initial-index":vue.unref(c)},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(s),(m,g)=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCarouselItem),{key:m},{default:vue.withCtx(()=>{var _,y,b,x,C,w;return[vue.createElementVNode("div",{id:`render_${g}`,class:"absolute top-0 left-0 w-full h-full",style:vue.normalizeStyle({backgroundColor:(_=m==null?void 0:m.widgetConfig)==null?void 0:_.config.backgroundColor,backgroundImage:`url(${vue.unref(a)((y=m==null?void 0:m.widgetConfig)==null?void 0:y.config.backgroundImage)})`,backgroundSize:(b=m==null?void 0:m.widgetConfig)==null?void 0:b.config.backgroundSize,backgroundRepeat:(x=m==null?void 0:m.widgetConfig)==null?void 0:x.config.backgroundRepeat,backgroundPosition:(C=m==null?void 0:m.widgetConfig)==null?void 0:C.config.backgroundPosition,...n.renderStyle})},[g==vue.unref(c)?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"ml-auto mr-auto",style:vue.normalizeStyle({width:m.stageWidth+"px"})},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList((w=m.widgetConfig)==null?void 0:w.list,E=>{var $;return vue.openBlock(),vue.createElementBlock("div",{key:E.id,class:"absolute item",style:vue.normalizeStyle(vue.unref(getItemStyle)(E))},[vue.createVNode(Render,{config:E,list:($=m.widgetConfig)==null?void 0:$.list},null,8,["config","list"])],4)}),128))],4)):vue.createCommentVNode("",!0)],12,_hoisted_2$1a)]}),_:2},1024))),128))]),_:1},8,["loop","autoplay","interval","initial-index"]),vue.createElementVNode("div",_hoisted_3$10,[vue.unref(l)?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:0},vue.renderList(vue.unref(s),(m,g)=>(vue.openBlock(),vue.createElementBlock("div",{onClick:_=>vue.unref(o).setActiveItem(g),class:vue.normalizeClass(["thumb-item",{active:g==vue.unref(c)}])},[vue.createElementVNode("img",{src:vue.unref(a)(m.imageUrl??"")},null,8,_hoisted_5$Q)],10,_hoisted_4$_))),256)):vue.createCommentVNode("",!0),vue.createElementVNode("div",{class:vue.normalizeClass(["slide",{isOpen:vue.unref(l)}]),onClick:p[0]||(p[0]=m=>l.value=!vue.unref(l))},[vue.createElementVNode("i",{class:vue.normalizeClass(vue.unref(l)?"ri-arrow-right-s-fill":"ri-arrow-left-s-fill")},null,2)],2)])]),vue.unref(s).length?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$K,[vue.createVNode(v,{description:"暂无数据"})]))]),_:1},8,["loading"])}}}),previewSlide_vue_vue_type_style_index_0_scoped_4ccd9248_lang="",aceBigScreenPriviewSlide=_export_sfc$2(_sfc_main$1F,[["__scopeId","data-v-4ccd9248"]]),_hoisted_1$1o={class:""},_hoisted_2$19={class:"text-color-warning text-xs"},_sfc_main$1E=vue.defineComponent({__name:"useIndicators",setup(i,{expose:n}){const{proxy:r}=vue.getCurrentInstance(),o=vue.ref(!1),a=vue.ref([]);return n({init:async s=>{const u=await fetch$1(r).listIndicatorsApply({reportId:s.id});u&&(a.value=u.data,o.value=!0)}}),(s,u)=>{const c=vue.resolveComponent("AppEmpty"),d=vue.resolveComponent("AppDrawer");return vue.openBlock(),vue.createBlock(d,{modelValue:vue.unref(o),"onUpdate:modelValue":u[0]||(u[0]=f=>vue.isRef(o)?o.value=f:null),title:"指标报告使用库",size:800},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(a),f=>(vue.openBlock(),vue.createElementBlock("div",{class:"item flex p-3 justify-between w-full",key:f.id},[vue.createElementVNode("div",_hoisted_1$1o,vue.toDisplayString(f.indicatorsName),1),vue.createElementVNode("div",_hoisted_2$19,vue.toDisplayString(f.title),1)]))),128)),vue.unref(a).length==0?(vue.openBlock(),vue.createBlock(c,{key:0,description:"暂无数据"})):vue.createCommentVNode("",!0)]),_:1},8,["modelValue"])}}}),useIndicators_vue_vue_type_style_index_0_scoped_7754ca30_lang="",UseIndicators=_export_sfc$2(_sfc_main$1E,[["__scopeId","data-v-7754ca30"]]);var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var FileSaver_min={exports:{}};(function(i,n){(function(r,o){o()})(commonjsGlobal,function(){function r(d,f){return typeof f>"u"?f={autoBom:!1}:typeof f!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),f={autoBom:!f}),f.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(d.type)?new Blob(["\uFEFF",d],{type:d.type}):d}function o(d,f,p){var v=new XMLHttpRequest;v.open("GET",d),v.responseType="blob",v.onload=function(){c(v.response,f,p)},v.onerror=function(){console.error("could not download file")},v.send()}function a(d){var f=new XMLHttpRequest;f.open("HEAD",d,!1);try{f.send()}catch{}return 200<=f.status&&299>=f.status}function l(d){try{d.dispatchEvent(new MouseEvent("click"))}catch{var f=document.createEvent("MouseEvents");f.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),d.dispatchEvent(f)}}var s=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof commonjsGlobal=="object"&&commonjsGlobal.global===commonjsGlobal?commonjsGlobal:void 0,u=s.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),c=s.saveAs||(typeof window!="object"||window!==s?function(){}:"download"in HTMLAnchorElement.prototype&&!u?function(d,f,p){var v=s.URL||s.webkitURL,m=document.createElement("a");f=f||d.name||"download",m.download=f,m.rel="noopener",typeof d=="string"?(m.href=d,m.origin===location.origin?l(m):a(m.href)?o(d,f,p):l(m,m.target="_blank")):(m.href=v.createObjectURL(d),setTimeout(function(){v.revokeObjectURL(m.href)},4e4),setTimeout(function(){l(m)},0))}:"msSaveOrOpenBlob"in navigator?function(d,f,p){if(f=f||d.name||"download",typeof d!="string")navigator.msSaveOrOpenBlob(r(d,p),f);else if(a(d))o(d,f,p);else{var v=document.createElement("a");v.href=d,v.target="_blank",setTimeout(function(){l(v)})}}:function(d,f,p,v){if(v=v||open("","_blank"),v&&(v.document.title=v.document.body.innerText="downloading..."),typeof d=="string")return o(d,f,p);var m=d.type==="application/octet-stream",g=/constructor/i.test(s.HTMLElement)||s.safari,_=/CriOS\/[\d]+/.test(navigator.userAgent);if((_||m&&g||u)&&typeof FileReader<"u"){var y=new FileReader;y.onloadend=function(){var C=y.result;C=_?C:C.replace(/^data:[^;]*;/,"data:attachment/file;"),v?v.location.href=C:location=C,v=null},y.readAsDataURL(d)}else{var b=s.URL||s.webkitURL,x=b.createObjectURL(d);v?v.location=x:location.href=x,v=null,setTimeout(function(){b.revokeObjectURL(x)},4e4)}});s.saveAs=c.saveAs=c,i.exports=c})})(FileSaver_min);var FileSaver_minExports=FileSaver_min.exports;const _hoisted_1$1n=["innerHTML"],_sfc_main$1D=vue.defineComponent({__name:"preview",setup(i,{expose:n}){const{proxy:r}=vue.getCurrentInstance(),{getModelIndicatorsData:o,setSingleValue:a}=useCustomChart(),{resetUrl:l}=r.$globalUtils,s=vue.ref(!1),u=vue.ref({}),c=vue.ref({id:"preview-content",openCallback(){console.log("点击了按钮")},closeCallback(){document.title=vue.unref(f)}}),d=()=>{const m=document.getElementById("preview-content"),g=m==null?void 0:m.querySelectorAll("tr");g==null||g.forEach(b=>{b.childNodes.forEach(x=>{let C="";x.childNodes.forEach(w=>{w instanceof HTMLElement&&(C=w==null?void 0:w.style.backgroundColor,w.style.backgroundColor="",w.style.fontSize="12px")}),x instanceof HTMLElement&&(x.style.backgroundColor=C)})});const _=`
517
+ }`))}}const _hoisted_1$1q=["id"],_hoisted_2$1b=["id","data-z"],_sfc_main$1G=vue.defineComponent({__name:"preview",props:{config:{default:""},isAutoFit:{type:Boolean,default:!0},renderStyle:{default:{}},bigScreenQueryParams:{default:{}},bigScreenControlParams:{default:{}}},setup(i){var d,f;const n=i,{proxy:r}=vue.getCurrentInstance(),{resetUrl:o}=r.$globalUtils,a=vue.ref(`render-${nanoid()}`),l=vue.ref(null),s=vue.ref({});l.value=chartJsonFormat(n.config);const u=((d=vue.unref(l).config)==null?void 0:d.stageWidth)||1920,c=((f=vue.unref(l).config)==null?void 0:f.stageHeight)||1080;return vue.onMounted(()=>{n.isAutoFit&&vue.nextTick(()=>{autofit.init({el:`#${vue.unref(a)}`,resize:!0,dh:c,dw:u,ignore:[".ace-map"]})})}),(p,v)=>{var m,g,_,y,b,x;return vue.openBlock(),vue.createElementBlock("div",{id:vue.unref(a),class:"fixed top-0 left-0 w-full h-full",style:vue.normalizeStyle({backgroundColor:(m=vue.unref(l))==null?void 0:m.config.backgroundColor,backgroundImage:`url(${vue.unref(o)((g=vue.unref(l))==null?void 0:g.config.backgroundImage)})`,backgroundSize:(_=vue.unref(l))==null?void 0:_.config.backgroundSize,backgroundRepeat:(y=vue.unref(l))==null?void 0:y.config.backgroundRepeat,backgroundPosition:(b=vue.unref(l))==null?void 0:b.config.backgroundPosition,...p.renderStyle,...vue.unref(s)})},[vue.createElementVNode("div",{class:"ml-auto mr-auto",style:vue.normalizeStyle({width:vue.unref(u)+"px"})},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList((x=vue.unref(l))==null?void 0:x.list,C=>{var w;return vue.openBlock(),vue.createElementBlock("div",{key:C.id,id:`render-${C.id}`,"data-z":C.z,class:vue.normalizeClass(["absolute item",{"act-map":C.chartType==9}]),style:vue.normalizeStyle(vue.unref(getItemStyle)(C))},[vue.createVNode(Render,{config:C,list:(w=vue.unref(l))==null?void 0:w.list,renderId:vue.unref(a),bigScreenQueryParams:p.bigScreenQueryParams,bigScreenControlParams:p.bigScreenControlParams},null,8,["config","list","renderId","bigScreenQueryParams","bigScreenControlParams"])],14,_hoisted_2$1b)}),128))],4)],12,_hoisted_1$1q)}}}),preview_vue_vue_type_style_index_0_scoped_852c7fad_lang="",aceBigScreenPreview=_export_sfc$2(_sfc_main$1G,[["__scopeId","data-v-852c7fad"]]),_hoisted_1$1p={class:"fixed top-0 left-0 w-full h-full"},_hoisted_2$1a=["id"],_hoisted_3$10={class:"fixed right-0 flex justify-end w-full overflow-hidden thumb bottom-5 gap-x-2"},_hoisted_4$_=["onClick"],_hoisted_5$Q=["src"],_hoisted_6$K={key:0,class:"fixed top-0 left-0 z-10 flex items-center justify-center w-full h-full"},_sfc_main$1F=vue.defineComponent({__name:"preview-slide",props:{renderStyle:{default:{}},autoplay:{type:Boolean,default:!0},interval:{default:5e3},isOpen:{type:Boolean,default:!0},id:{default:null}},setup(i){const n=i,{proxy:r}=vue.getCurrentInstance(),o=vue.ref(null),{resetUrl:a}=r.$globalUtils,l=vue.ref(n.isOpen),s=vue.ref([]),u=vue.ref(!0),c=vue.ref(0),d=(f,p)=>{c.value=f};return r.$baseHttp.get("/api/ace-data-center/screen/list",{params:{descs:"create_time",projectId:r.$baseGetCurrentProjectId(),current:1,size:1e3}}).then(f=>{if(f.data.records.forEach(p=>{var v,m;p.widgetConfig=chartJsonFormat(p.config),p.stageWidth=((v=p.widgetConfig.config)==null?void 0:v.stageWidth)||1920,p.stageHeight=((m=p.widgetConfig.config)==null?void 0:m.stageHeight)||1080}),s.value=f.data.records,u.value=!1,n.id){const p=vue.unref(s).findIndex(v=>v.id==n.id);c.value=p<=0?0:p}vue.nextTick(()=>{s.value.forEach((p,v)=>{autofit.init({el:`#render_${v}`,resize:!0,dh:p.stageHeight,dw:p.stageHeight})})})}),(f,p)=>{const v=vue.resolveComponent("AppEmpty");return vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElSkeleton),{loading:vue.unref(u)},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$1p,[vue.createVNode(vue.unref(elementPlus.ElCarousel),{height:"100%","motion-blur":"",ref_key:"carouselRef",ref:o,onChange:d,"indicator-position":"outside",loop:vue.unref(s).length>1,autoplay:vue.unref(s).length>1&&n.autoplay,interval:n.interval,"initial-index":vue.unref(c)},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(s),(m,g)=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElCarouselItem),{key:m},{default:vue.withCtx(()=>{var _,y,b,x,C,w;return[vue.createElementVNode("div",{id:`render_${g}`,class:"absolute top-0 left-0 w-full h-full",style:vue.normalizeStyle({backgroundColor:(_=m==null?void 0:m.widgetConfig)==null?void 0:_.config.backgroundColor,backgroundImage:`url(${vue.unref(a)((y=m==null?void 0:m.widgetConfig)==null?void 0:y.config.backgroundImage)})`,backgroundSize:(b=m==null?void 0:m.widgetConfig)==null?void 0:b.config.backgroundSize,backgroundRepeat:(x=m==null?void 0:m.widgetConfig)==null?void 0:x.config.backgroundRepeat,backgroundPosition:(C=m==null?void 0:m.widgetConfig)==null?void 0:C.config.backgroundPosition,...n.renderStyle})},[g==vue.unref(c)?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"ml-auto mr-auto",style:vue.normalizeStyle({width:m.stageWidth+"px"})},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList((w=m.widgetConfig)==null?void 0:w.list,E=>{var $;return vue.openBlock(),vue.createElementBlock("div",{key:E.id,class:"absolute item",style:vue.normalizeStyle(vue.unref(getItemStyle)(E))},[vue.createVNode(Render,{config:E,list:($=m.widgetConfig)==null?void 0:$.list},null,8,["config","list"])],4)}),128))],4)):vue.createCommentVNode("",!0)],12,_hoisted_2$1a)]}),_:2},1024))),128))]),_:1},8,["loop","autoplay","interval","initial-index"]),vue.createElementVNode("div",_hoisted_3$10,[vue.unref(l)?(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,{key:0},vue.renderList(vue.unref(s),(m,g)=>(vue.openBlock(),vue.createElementBlock("div",{onClick:_=>vue.unref(o).setActiveItem(g),class:vue.normalizeClass(["thumb-item",{active:g==vue.unref(c)}])},[vue.createElementVNode("img",{src:vue.unref(a)(m.imageUrl??"")},null,8,_hoisted_5$Q)],10,_hoisted_4$_))),256)):vue.createCommentVNode("",!0),vue.createElementVNode("div",{class:vue.normalizeClass(["slide",{isOpen:vue.unref(l)}]),onClick:p[0]||(p[0]=m=>l.value=!vue.unref(l))},[vue.createElementVNode("i",{class:vue.normalizeClass(vue.unref(l)?"ri-arrow-right-s-fill":"ri-arrow-left-s-fill")},null,2)],2)])]),vue.unref(s).length?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$K,[vue.createVNode(v,{description:"暂无数据"})]))]),_:1},8,["loading"])}}}),previewSlide_vue_vue_type_style_index_0_scoped_4ccd9248_lang="",aceBigScreenPriviewSlide=_export_sfc$2(_sfc_main$1F,[["__scopeId","data-v-4ccd9248"]]),_hoisted_1$1o={class:""},_hoisted_2$19={class:"text-color-warning text-xs"},_sfc_main$1E=vue.defineComponent({__name:"useIndicators",setup(i,{expose:n}){const{proxy:r}=vue.getCurrentInstance(),o=vue.ref(!1),a=vue.ref([]);return n({init:async s=>{const u=await fetch$1(r).listIndicatorsApply({reportId:s.id});u&&(a.value=u.data,o.value=!0)}}),(s,u)=>{const c=vue.resolveComponent("AppEmpty"),d=vue.resolveComponent("AppDrawer");return vue.openBlock(),vue.createBlock(d,{modelValue:vue.unref(o),"onUpdate:modelValue":u[0]||(u[0]=f=>vue.isRef(o)?o.value=f:null),title:"指标报告使用库",size:800},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(a),f=>(vue.openBlock(),vue.createElementBlock("div",{class:"item flex p-3 justify-between w-full",key:f.id},[vue.createElementVNode("div",_hoisted_1$1o,vue.toDisplayString(f.indicatorsName),1),vue.createElementVNode("div",_hoisted_2$19,vue.toDisplayString(f.title),1)]))),128)),vue.unref(a).length==0?(vue.openBlock(),vue.createBlock(c,{key:0,description:"暂无数据"})):vue.createCommentVNode("",!0)]),_:1},8,["modelValue"])}}}),useIndicators_vue_vue_type_style_index_0_scoped_7754ca30_lang="",UseIndicators=_export_sfc$2(_sfc_main$1E,[["__scopeId","data-v-7754ca30"]]);var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i}var FileSaver_min={exports:{}};(function(i,n){(function(r,o){o()})(commonjsGlobal,function(){function r(d,f){return typeof f>"u"?f={autoBom:!1}:typeof f!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),f={autoBom:!f}),f.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(d.type)?new Blob(["\uFEFF",d],{type:d.type}):d}function o(d,f,p){var v=new XMLHttpRequest;v.open("GET",d),v.responseType="blob",v.onload=function(){c(v.response,f,p)},v.onerror=function(){console.error("could not download file")},v.send()}function a(d){var f=new XMLHttpRequest;f.open("HEAD",d,!1);try{f.send()}catch{}return 200<=f.status&&299>=f.status}function l(d){try{d.dispatchEvent(new MouseEvent("click"))}catch{var f=document.createEvent("MouseEvents");f.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),d.dispatchEvent(f)}}var s=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof commonjsGlobal=="object"&&commonjsGlobal.global===commonjsGlobal?commonjsGlobal:void 0,u=s.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),c=s.saveAs||(typeof window!="object"||window!==s?function(){}:"download"in HTMLAnchorElement.prototype&&!u?function(d,f,p){var v=s.URL||s.webkitURL,m=document.createElement("a");f=f||d.name||"download",m.download=f,m.rel="noopener",typeof d=="string"?(m.href=d,m.origin===location.origin?l(m):a(m.href)?o(d,f,p):l(m,m.target="_blank")):(m.href=v.createObjectURL(d),setTimeout(function(){v.revokeObjectURL(m.href)},4e4),setTimeout(function(){l(m)},0))}:"msSaveOrOpenBlob"in navigator?function(d,f,p){if(f=f||d.name||"download",typeof d!="string")navigator.msSaveOrOpenBlob(r(d,p),f);else if(a(d))o(d,f,p);else{var v=document.createElement("a");v.href=d,v.target="_blank",setTimeout(function(){l(v)})}}:function(d,f,p,v){if(v=v||open("","_blank"),v&&(v.document.title=v.document.body.innerText="downloading..."),typeof d=="string")return o(d,f,p);var m=d.type==="application/octet-stream",g=/constructor/i.test(s.HTMLElement)||s.safari,_=/CriOS\/[\d]+/.test(navigator.userAgent);if((_||m&&g||u)&&typeof FileReader<"u"){var y=new FileReader;y.onloadend=function(){var C=y.result;C=_?C:C.replace(/^data:[^;]*;/,"data:attachment/file;"),v?v.location.href=C:location=C,v=null},y.readAsDataURL(d)}else{var b=s.URL||s.webkitURL,x=b.createObjectURL(d);v?v.location=x:location.href=x,v=null,setTimeout(function(){b.revokeObjectURL(x)},4e4)}});s.saveAs=c.saveAs=c,i.exports=c})})(FileSaver_min);var FileSaver_minExports=FileSaver_min.exports;const _hoisted_1$1n=["innerHTML"],_sfc_main$1D=vue.defineComponent({__name:"preview",setup(i,{expose:n}){const{proxy:r}=vue.getCurrentInstance(),{getModelIndicatorsData:o,setSingleValue:a}=useCustomChart(),{resetUrl:l}=r.$globalUtils,s=vue.ref(!1),u=vue.ref({}),c=vue.ref({id:"preview-content",openCallback(){console.log("点击了按钮")},closeCallback(){document.title=vue.unref(f)}}),d=()=>{const m=document.getElementById("preview-content"),g=m==null?void 0:m.querySelectorAll("tr");g==null||g.forEach(b=>{b.childNodes.forEach(x=>{let C="";x.childNodes.forEach(w=>{w instanceof HTMLElement&&(C=w==null?void 0:w.style.backgroundColor,w.style.backgroundColor="",w.style.fontSize="12px")}),x instanceof HTMLElement&&(x.style.backgroundColor=C)})});const _=`
518
518
  Content-Type: text/html; charset="utf-8"
519
519
  <!DOCTYPE html>
520
520
  <html xmlns:v="urn:schemas-microsoft-com:vml"
@@ -1080,4 +1080,4 @@ ${p} div ,${p} span,${p} a,${p} * {
1080
1080
  background: transparent;
1081
1081
  box-shadow: none;
1082
1082
  }
1083
- `;var __decorate=globalThis&&globalThis.__decorate||function(i,n,r,o){var a=arguments.length,l=a<3?n:o===null?o=Object.getOwnPropertyDescriptor(n,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(i,n,r,o);else for(var u=i.length-1;u>=0;u--)(s=i[u])&&(l=(a<3?s(l):a>3?s(n,r,l):s(n,r))||l);return a>3&&l&&Object.defineProperty(n,r,l),l};class Dnd extends View{get targetScroller(){return this.options.target.getPlugin("scroller")}get targetGraph(){return this.options.target}get targetModel(){return this.targetGraph.model}get snapline(){return this.options.target.getPlugin("snapline")}constructor(n){super(),this.name="dnd",this.options=Object.assign(Object.assign({},Dnd.defaults),n),this.init()}init(){ensure(this.name,content),this.container=document.createElement("div"),addClass(this.container,this.prefixClassName("widget-dnd")),this.draggingGraph=new Graph(Object.assign(Object.assign({},this.options.delegateGraphOptions),{container:document.createElement("div"),width:1,height:1,async:!1})),append(this.container,this.draggingGraph.container)}start(n,r){const o=r;o.preventDefault(),this.targetModel.startBatch("dnd"),addClass(this.container,"dragging"),appendTo(this.container,this.options.draggingContainer||document.body),this.sourceNode=n,this.prepareDragging(n,o.clientX,o.clientY);const a=this.updateNodePosition(o.clientX,o.clientY);this.isSnaplineEnabled()&&(this.snapline.captureCursorOffset({e:o,node:n,cell:n,view:this.draggingView,x:a.x,y:a.y}),this.draggingNode.on("change:position",this.snap,this)),this.delegateDocumentEvents(Dnd.documentEvents,o.data)}isSnaplineEnabled(){return this.snapline&&this.snapline.isEnabled()}prepareDragging(n,r,o){const a=this.draggingGraph,l=a.model,s=this.options.getDragNode(n,{sourceNode:n,draggingGraph:a,targetGraph:this.targetGraph});s.position(0,0);let u=5;if(this.isSnaplineEnabled()&&(u+=this.snapline.options.tolerance||0),this.isSnaplineEnabled()||this.options.scaled){const f=this.targetGraph.transform.getScale();a.scale(f.sx,f.sy),u*=Math.max(f.sx,f.sy)}else a.scale(1,1);this.clearDragging(),l.resetCells([s]);const c=a.findViewByCell(s);c.undelegateEvents(),c.cell.off("changed"),a.fitToContent({padding:u,allowNewOrigin:"any",useCellGeometry:!1});const d=c.getBBox();this.geometryBBox=c.getBBox({useCellGeometry:!0}),this.delta=this.geometryBBox.getTopLeft().diff(d.getTopLeft()),this.draggingNode=s,this.draggingView=c,this.draggingBBox=s.getBBox(),this.padding=u,this.originOffset=this.updateGraphPosition(r,o)}updateGraphPosition(n,r){const o=document.body.scrollTop||document.documentElement.scrollTop,a=document.body.scrollLeft||document.documentElement.scrollLeft,l=this.delta,s=this.geometryBBox,u=this.padding||5,c={left:n-l.x-s.width/2-u+a,top:r-l.y-s.height/2-u+o};return this.draggingGraph&&css(this.container,{left:`${c.left}px`,top:`${c.top}px`}),c}updateNodePosition(n,r){const o=this.targetGraph.clientToLocal(n,r),a=this.draggingBBox;return o.x-=a.width/2,o.y-=a.height/2,this.draggingNode.position(o.x,o.y),o}snap({cell:n,current:r,options:o}){const a=n;if(o.snapped){const l=this.draggingBBox;a.position(l.x+o.tx,l.y+o.ty,{silent:!0}),this.draggingView.translate(),a.position(r.x,r.y,{silent:!0}),this.snapOffset={x:o.tx,y:o.ty}}else this.snapOffset=null}onDragging(n){const r=this.draggingView;if(r){n.preventDefault();const o=this.normalizeEvent(n),a=o.clientX,l=o.clientY;this.updateGraphPosition(a,l);const s=this.updateNodePosition(a,l),u=this.targetGraph.options.embedding.enabled,c=(u||this.isSnaplineEnabled())&&this.isInsideValidArea({x:a,y:l});if(u){r.setEventData(o,{graph:this.targetGraph,candidateEmbedView:this.candidateEmbedView});const d=r.getEventData(o);c?r.processEmbedding(o,d):r.clearEmbedding(d),this.candidateEmbedView=d.candidateEmbedView}this.isSnaplineEnabled()&&(c?this.snapline.snapOnMoving({e:o,view:r,x:s.x,y:s.y}):this.snapline.hide())}}onDragEnd(n){const r=this.draggingNode;if(r){const o=this.normalizeEvent(n),a=this.draggingView,l=this.draggingBBox,s=this.snapOffset;let u=l.x,c=l.y;s&&(u+=s.x,c+=s.y),r.position(u,c,{silent:!0});const d=this.drop(r,{x:o.clientX,y:o.clientY}),f=p=>{p?(this.onDropped(r),this.targetGraph.options.embedding.enabled&&a&&(a.setEventData(o,{cell:p,graph:this.targetGraph,candidateEmbedView:this.candidateEmbedView}),a.finalizeEmbedding(o,a.getEventData(o)))):this.onDropInvalid(),this.candidateEmbedView=null,this.targetModel.stopBatch("dnd")};isAsync(d)?(this.undelegateDocumentEvents(),d.then(f)):f(d)}}clearDragging(){this.draggingNode&&(this.sourceNode=null,this.draggingNode.remove(),this.draggingNode=null,this.draggingView=null,this.delta=null,this.padding=null,this.snapOffset=null,this.originOffset=null,this.undelegateDocumentEvents())}onDropped(n){this.draggingNode===n&&(this.clearDragging(),removeClass(this.container,"dragging"),remove(this.container))}onDropInvalid(){const n=this.draggingNode;n&&this.onDropped(n)}isInsideValidArea(n){let r,o=null;const a=this.targetGraph,l=this.targetScroller;this.options.dndContainer&&(o=this.getDropArea(this.options.dndContainer));const s=o&&o.containsPoint(n);if(l)if(l.options.autoResize)r=this.getDropArea(l.container);else{const u=this.getDropArea(l.container);r=this.getDropArea(a.container).intersectsWithRect(u)}else r=this.getDropArea(a.container);return!s&&r&&r.containsPoint(n)}getDropArea(n){const r=offset$1(n),o=document.body.scrollTop||document.documentElement.scrollTop,a=document.body.scrollLeft||document.documentElement.scrollLeft;return Rectangle.create({x:r.left+parseInt(css(n,"border-left-width"),10)-a,y:r.top+parseInt(css(n,"border-top-width"),10)-o,width:n.clientWidth,height:n.clientHeight})}drop(n,r){if(this.isInsideValidArea(r)){const o=this.targetGraph,a=o.model,l=o.clientToLocal(r),s=this.sourceNode,u=this.options.getDropNode(n,{sourceNode:s,draggingNode:n,targetGraph:this.targetGraph,draggingGraph:this.draggingGraph}),c=u.getBBox();l.x+=c.x-c.width/2,l.y+=c.y-c.height/2;const d=this.snapOffset?1:o.getGridSize();u.position(GeometryUtil.snapToGrid(l.x,d),GeometryUtil.snapToGrid(l.y,d)),u.removeZIndex();const f=this.options.validateNode,p=f?f(u,{sourceNode:s,draggingNode:n,droppingNode:u,targetGraph:o,draggingGraph:this.draggingGraph}):!0;return typeof p=="boolean"?p?(a.addCell(u,{stencil:this.cid}),u):null:toDeferredBoolean(p).then(v=>v?(a.addCell(u,{stencil:this.cid}),u):null)}return null}onRemove(){this.draggingGraph&&(this.draggingGraph.view.remove(),this.draggingGraph.dispose())}dispose(){this.remove(),clean(this.name)}}__decorate([View.dispose()],Dnd.prototype,"dispose",null),function(i){i.defaults={getDragNode:n=>n.clone(),getDropNode:n=>n.clone()},i.documentEvents={mousemove:"onDragging",touchmove:"onDragging",mouseup:"onDragEnd",touchend:"onDragEnd",touchcancel:"onDragEnd"}}(Dnd||(Dnd={}));const _hoisted_1$b=["data-type"],_sfc_main$c=vue.defineComponent({__name:"start",props:{label:{default:""}},setup(i){const n=vue.inject("getNode"),r={excel:"ri-file-excel-2-line",sql:"ri-database-2-line",api:"ri-links-line"},o=vue.ref("");if(n){const{modelName:a}=n().data;o.value=a}return(a,l)=>(vue.openBlock(),vue.createElementBlock("div",{"data-type":a.label,class:"w-14 h-14 item text-white flex flex-col items-center justify-center rounded cursor-move start-item"},[vue.createElementVNode("span",null,vue.toDisplayString(vue.unref(o)||a.label),1),vue.createElementVNode("i",{class:vue.normalizeClass([r[(vue.unref(o)||a.label).toLowerCase()],"text-2xl"])},null,2)],8,_hoisted_1$b))}}),start_vue_vue_type_style_index_0_scoped_3e1d0a9f_lang="",Start=_export_sfc$2(_sfc_main$c,[["__scopeId","data-v-3e1d0a9f"]]),_withScopeId$5=i=>(vue.pushScopeId("data-v-35e93650"),i=i(),vue.popScopeId(),i),_hoisted_1$a={class:"widget"},_hoisted_2$8={class:"widget-title"},_hoisted_3$7={class:"flex items-center flex-1"},_hoisted_4$7={key:0,class:"flex items-center justify-start flex-1"},_hoisted_5$5=_withScopeId$5(()=>vue.createElementVNode("i",{class:"mr-1 ri-edit-line"},null,-1)),_hoisted_6$5=_withScopeId$5(()=>vue.createElementVNode("i",{class:"mr-1 ri-file-text-line"},null,-1)),_hoisted_7$5={key:0,class:"flex items-center justify-start flex-1"},_hoisted_8$5=_withScopeId$5(()=>vue.createElementVNode("i",{class:"mr-1 ri-folder-received-line"},null,-1)),_hoisted_9$5={class:"flex items-center justify-end flex-1"},_hoisted_10$4=_withScopeId$5(()=>vue.createElementVNode("i",{class:"mr-1 ri-file-text-line"},null,-1)),_hoisted_11$2={key:0,class:"flex justify-start flex-1"},_hoisted_12$1={key:1,class:"flex items-center justify-end flex-1"},_hoisted_13$1=_withScopeId$5(()=>vue.createElementVNode("i",{class:"mr-1 ri-refresh-line"},null,-1)),_hoisted_14$1={key:2,class:"flex items-center justify-end flex-1"},_hoisted_15=_withScopeId$5(()=>vue.createElementVNode("i",{class:"mr-1 ri-file-text-line"},null,-1)),_hoisted_16={key:0,class:"flex items-center justify-start flex-1"},_hoisted_17=_withScopeId$5(()=>vue.createElementVNode("i",{class:"mr-1 ri-edit-line"},null,-1)),_hoisted_18={key:1,class:"flex items-center justify-end flex-1"},_hoisted_19=_withScopeId$5(()=>vue.createElementVNode("i",{class:"mr-1 ri-refresh-line"},null,-1)),_hoisted_20={key:2,class:"flex items-center justify-end flex-1"},_hoisted_21=_withScopeId$5(()=>vue.createElementVNode("i",{class:"mr-1 ri-file-text-line"},null,-1)),_hoisted_22=["innerHTML"],_hoisted_23={class:"widget-container"},_hoisted_24={class:"flex items-center justify-center mr-2"},_hoisted_25={class:"text-yellow-600"},_hoisted_26={class:"text-yellow-600"},_sfc_main$b=vue.defineComponent({__name:"widget",props:{frameType:{default:""},activeName:{default:""},flowSql:{type:[Function,null],default:null},historyClick:{type:[Function,null],default:null},errorClick:{type:[Function,null],default:null},dataImport:{type:[Function,null],default:null},modelList:{type:[Function,null],default:null}},setup(i){const n=i,r={date:"日",month:"月",year:"年"},o=vue.ref({}),a=vue.inject("getNode"),l=vue.computed(()=>vue.unref(s)=="error"?'<i class="text-red-700 ri-error-warning-fill"></i>':vue.unref(s)=="warning"?'<i class="text-yellow-500 ri-error-warning-fill"></i>':'<i class="text-color-success ri-checkbox-circle-fill"></i>'),s=vue.computed(()=>{var v,m;return((m=(v=vue.unref(o))==null?void 0:v.nodeStatus)==null?void 0:m.status)??""}),u=()=>{var v,m;n.flowSql&&n.flowSql({modelId:(v=vue.unref(o))==null?void 0:v.id,modelName:(m=vue.unref(o))==null?void 0:m.modelName})},c=()=>{var v,m;n.dataImport&&n.dataImport({modelId:(v=vue.unref(o))==null?void 0:v.id,modelName:(m=vue.unref(o))==null?void 0:m.modelName})},d=async()=>{var v;n.historyClick&&n.historyClick((v=vue.unref(o))==null?void 0:v.id,"db_extract")},f=v=>{n.historyClick&&n.historyClick(v)},p=()=>{var v,m;n.modelList&&n.modelList({modelId:(v=vue.unref(o))==null?void 0:v.id,modelName:(m=vue.unref(o))==null?void 0:m.modelName})};return a&&(o.value=a().data),(v,m)=>{var g,_,y,b,x;return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$a,[vue.createElementVNode("div",_hoisted_2$8,[vue.createElementVNode("span",{class:vue.normalizeClass(["mr-2",vue.unref(o).modelLayer])},vue.toDisplayString(vue.unref(o).modelLayer),3),vue.createElementVNode("div",_hoisted_3$7,[v.activeName=="flow-msg"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.unref(o).modelLayer=="DWD"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[v.frameType=="backend"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_4$7,[_hoisted_5$5,vue.createElementVNode("span",{class:"cursor-pointer",onClick:vue.withModifiers(u,["stop"])},"编辑SQL")])):vue.createCommentVNode("",!0),vue.createElementVNode("div",{class:"flex items-center justify-end flex-1"},[_hoisted_6$5,vue.createElementVNode("span",{class:"cursor-pointer",onClick:d},"抽取记录")])],64)):vue.createCommentVNode("",!0),vue.unref(o).modelLayer=="ODS"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[v.frameType=="backend"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_7$5,[_hoisted_8$5,vue.createElementVNode("span",{class:"cursor-pointer",onClick:vue.withModifiers(c,["stop"])},"数据导入")])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_9$5,[_hoisted_10$4,vue.createElementVNode("span",{class:"cursor-pointer",onClick:m[0]||(m[0]=vue.withModifiers(C=>{var w;return f((w=vue.unref(o))==null?void 0:w.id)},["stop"]))}," 导入历史 ")])],64)):vue.createCommentVNode("",!0)],64)):vue.createCommentVNode("",!0),v.activeName=="flow-monitor"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.unref(o).modelLayer=="ODS"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.unref(o).selfEventType?(vue.openBlock(),vue.createElementBlock("div",_hoisted_11$2," 按"+vue.toDisplayString(r[vue.unref(o).selfEventType])+"更新 ",1)):vue.createCommentVNode("",!0),["error","warning"].includes(vue.unref(s))?(vue.openBlock(),vue.createElementBlock("div",_hoisted_12$1,[_hoisted_13$1,vue.createElementVNode("span",{class:"cursor-pointer",onClick:vue.withModifiers(c,["stop"])},"去更新")])):vue.createCommentVNode("",!0),["success"].includes(vue.unref(s))?(vue.openBlock(),vue.createElementBlock("div",_hoisted_14$1,[_hoisted_15,vue.createElementVNode("span",{class:"cursor-pointer",onClick:m[1]||(m[1]=vue.withModifiers(C=>{var w;return f((w=vue.unref(o))==null?void 0:w.id)},["stop"]))}," 历史记录 ")])):vue.createCommentVNode("",!0)],64)):vue.createCommentVNode("",!0),vue.unref(o).modelLayer=="DWD"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[v.frameType=="backend"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_16,[_hoisted_17,vue.createElementVNode("span",{class:"cursor-pointer",onClick:vue.withModifiers(u,["stop"])},"编辑SQL")])):vue.createCommentVNode("",!0),["error","warning"].includes(vue.unref(s))?(vue.openBlock(),vue.createElementBlock("div",_hoisted_18,[_hoisted_19,vue.createElementVNode("span",{class:"cursor-pointer",onClick:vue.withModifiers(d,["stop"])},"重新运行")])):vue.createCommentVNode("",!0),vue.unref(s)=="success"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_20,[_hoisted_21,vue.createElementVNode("span",{class:"cursor-pointer",onClick:vue.withModifiers(d,["stop"])},"抽取记录")])):vue.createCommentVNode("",!0)],64)):vue.createCommentVNode("",!0)],64)):vue.createCommentVNode("",!0)]),vue.unref(s)?(vue.openBlock(),vue.createElementBlock("span",{key:0,class:"status",innerHTML:vue.unref(l)},null,8,_hoisted_22)):vue.createCommentVNode("",!0)]),vue.createElementVNode("div",_hoisted_23,[vue.createElementVNode("div",_hoisted_24,[vue.createElementVNode("i",{class:"mr-2 text-base cursor-pointer ri-box-3-fill text-color-info",onClick:vue.withModifiers(p,["stop"])}),vue.createElementVNode("span",null,vue.toDisplayString((g=vue.unref(o))==null?void 0:g.modelName),1)]),vue.createElementVNode("div",{class:"cursor-pointer whitespace-nowrap",onClick:m[2]||(m[2]=vue.withModifiers(C=>v.errorClick&&v.errorClick(vue.unref(o)),["stop"]))},[vue.unref(s)=="error"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createElementVNode("span",_hoisted_25,vue.toDisplayString((_=vue.unref(o))==null?void 0:_.nodeStatus.extractErrorCount)+"失败",1),vue.createTextVNode(" /"+vue.toDisplayString((y=vue.unref(o))==null?void 0:y.nodeStatus.extractAllCount),1)],64)):vue.createCommentVNode("",!0),vue.unref(s)=="warning"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createElementVNode("span",_hoisted_26,vue.toDisplayString((b=vue.unref(o))==null?void 0:b.nodeStatus.extractNotStartedCount)+"未更新 ",1),vue.createTextVNode(" /"+vue.toDisplayString((x=vue.unref(o))==null?void 0:x.nodeStatus.extractAllCount),1)],64)):vue.createCommentVNode("",!0)])])])}}}),widget_vue_vue_type_style_index_0_scoped_35e93650_lang="",Widget=_export_sfc$2(_sfc_main$b,[["__scopeId","data-v-35e93650"]]);function useFlow(i,n,r,o){const{proxy:a}=vue.getCurrentInstance(),l={circle:{r:4,magnet:!0,stroke:"#2D8CF0",strokeWidth:2,fill:"#fff",style:{visibility:"hidden"}}},s={groups:{top:{position:"top",attrs:l},bottom:{position:"bottom",attrs:l},left:{position:"left",attrs:l},right:{position:"right",attrs:l}},items:[{group:"top"},{group:"bottom"},{group:"left"},{group:"right"}]},u=vue.ref(null),c=vue.ref(null),d=vue.ref(null),f=vue.ref(!1),p=vue.ref(null),v=vue.ref("flow-msg"),m=vue.ref({canRedo:!1,canUndo:!1});register({shape:"Start",width:56,height:56,component:Start}),register({shape:"Widget",width:210,height:70,component:{render:()=>vue.h(Widget,{frameType:n,activeName:v.value,historyClick:(x,C)=>{if(!x){a.$message.warning("暂无数据");return}o&&o("flow-history-click",{modelId:x,businessType:C,table:C=="db_extract"?[{label:"执行时间",prop:"createTime"},{label:"数据总数",prop:"totalNum"},{label:"成功数",prop:"successNum"},{label:"失败数",prop:"failNum",func:w=>w.failNum??0},{label:"协同参数",prop:"collaborateValue"},{label:"操作",prop:"action",slot:!0,fixed:"right"}]:null,ajaxUrl:C=="db_extract"?`/api/ace-data-center/extract-log/listCollaborateExtractLogPage?descs=create_time&modelId=${x}`:""})},errorClick:x=>{a.$baseEventBus.emit("flow-warning-list",x)},dataImport:x=>{o&&o("flow-data-import",x)},modelList:x=>{o&&o("flow-model-data",x)},flowSql:x=>{o&&o("flow-sql",x)}})}}),vue.nextTick(()=>{const x=document.getElementById(i);x&&(u.value=new Graph({container:x,autoResize:!0,panning:!1,mousewheel:!1,background:{color:"#F2F7FA"},connecting:{router:"manhattan",connector:{name:"rounded",args:{radius:20}},anchor:"center",connectionPoint:"anchor",allowBlank:!1,highlight:!0,allowLoop:!1,allowMulti:!1,snap:{radius:20},createEdge(){return new Edge({attrs:{line:{stroke:"#A2B1C3",strokeWidth:2,targetMarker:{name:"block",width:12,height:8},style:{animation:"ant-line 30s infinite linear"}}},zIndex:0,position:{distance:.5}})}},grid:{visible:!0,type:"mesh",args:{color:"#eeeeee",thickness:2}}}),vue.unref(u).use(new Snapline({enabled:!0})).use(new Keyboard({enabled:!0})).use(new Selection({enabled:!0})).use(new History({enabled:!0})).use(new Clipboard({enabled:!0})).use(new Scroller({pannable:!0})),r&&r(),vue.unref(u).on("history:change",()=>{m.value.canRedo=vue.unref(u).canRedo(),m.value.canUndo=vue.unref(u).canUndo()}),vue.unref(u).on("node:mouseenter",()=>{const C=x.querySelectorAll(".x6-port-body");for(let w=0,E=C.length;w<E;w+=1)C[w].style.visibility="visible"}),vue.unref(u).on("node:mouseleave",()=>{const C=x.querySelectorAll(".x6-port-body");for(let w=0,E=C.length;w<E;w+=1)C[w].style.visibility="hidden"}),vue.unref(u).on("cell:click",C=>{const{cell:w}=C;w.isNode()&&(d.value=w.data,p.value=w),f.value=!0}),vue.unref(u).on("blank:click",({})=>{d.value=null,f.value=!1}),vue.unref(u).on("edge:connected",C=>{b()}),vue.unref(u).on("edge:removed",C=>{const{cell:w}=C;vue.unref(u).getNodes().find($=>w.target.cell==$.id),b()}),vue.unref(u).bindKey(["meta+z","ctrl+z"],()=>{g("undo")}),vue.unref(u).bindKey(["meta+shift+z","ctrl+shift+z"],()=>{g("redo")}),vue.unref(u).bindKey("backspace",()=>{g("delete")}),vue.unref(u).bindKey(["ctrl+1","meta+1"],()=>{g("zoom-in")}),vue.unref(u).bindKey(["ctrl+2","meta+2"],()=>{g("zoom-out")}),c.value=new Dnd({target:u.value,scaled:!1,validateNode:C=>{const{cells:w}=vue.unref(u).toJSON();if(w.some(E=>E.shape=="Start")&&C.shape=="Start")return elementPlus.ElMessage({type:"warning",message:"开始节点只允许一个",plain:!0}),!1;if(w.some(E=>{var $,S;return(($=E==null?void 0:E.data)==null?void 0:$.id)==((S=C==null?void 0:C.data)==null?void 0:S.id)})&&C.shape=="Widget")return elementPlus.ElMessage({type:"warning",message:"已存在模型",plain:!0}),!1;vue.unref(u).cleanSelection(),setTimeout(()=>{vue.unref(u).select(C),d.value=C.data})}}))});const g=x=>{switch(x){case"zoom-in":vue.unref(u).zoom()<1.5&&vue.unref(u).zoom(.1);break;case"zoom-out":vue.unref(u).zoom()>.5&&vue.unref(u).zoom(-.1);break;case"undo":if(vue.unref(v)=="flow-monitor")return;vue.unref(u).canUndo()&&(vue.unref(u).undo(),d.value=null);break;case"redo":if(vue.unref(v)=="flow-monitor")return;vue.unref(u).canRedo()&&(vue.unref(u).redo(),d.value=null);break;case"copy":if(vue.unref(v)=="flow-monitor")return;const C=vue.unref(u).getSelectedCells();if(C.length){vue.unref(u).copy(C),elementPlus.ElMessage({type:"success",message:"复制成功",plain:!0});return}elementPlus.ElMessage({type:"warning",message:"未选择模型",plain:!0});break;case"paste":if(vue.unref(v)=="flow-monitor")return;if(!vue.unref(u).isClipboardEmpty()){const w=vue.unref(u).paste({offset:32});vue.unref(u).cleanSelection(),vue.unref(u).select(w),elementPlus.ElMessage({type:"success",message:"粘贴成功",plain:!0});return}elementPlus.ElMessage({type:"warning",message:"未复制模型",plain:!0});break;case"delete":{if(vue.unref(v)=="flow-monitor")return;const w=vue.unref(u).getSelectedCells();if(w.length){vue.unref(u).removeCells(w),d.value=null,elementPlus.ElMessage({type:"success",message:"删除成功",plain:!0});return}elementPlus.ElMessage({type:"warning",message:"未选择模型",plain:!0})}break}},_=x=>{if(v.value=="flow-monitor")return;const C=x.currentTarget,w=C.getAttribute("data-type");let E=null;switch(w.toLowerCase()){case"sql":case"api":case"excel":E=vue.unref(u).createNode({shape:"Start",ports:{groups:{bottom:{position:"bottom",attrs:l}},items:[{group:"bottom"}]},data:{modelName:w}});break;case"widget":E=vue.unref(u).createNode({shape:"Widget",ports:s,data:JSON.parse(C.getAttribute("data-value"))});break}vue.unref(c).start(E,x)},y={date:"日",month:"月",year:"年"},b=()=>{const x=vue.unref(u).getNodes();vue.unref(u).getEdges().forEach((w,E)=>{if(vue.unref(v)=="flow-monitor"){w.removeLabelAt(0);return}const $=x.find(S=>w.source.cell==S.id);x.find(S=>w.target.cell==S.id),$&&w.setLabels({attrs:{label:{text:$!=null&&$.data.selfEventType?`按${y[$==null?void 0:$.data.selfEventType]??""}`:"",fill:"#000",fontSize:12},body:{ref:"label",fill:"#fff",stroke:"#ffa940",strokeWidth:1,rx:4,ry:4,refWidth:"160%",refHeight:"160%",refX:"-30%",refY:"-30%"}}})})};return{graph:u,activeName:v,nodeObj:p,state:m,isDelete:f,selectWidget:d,handleEvent:g,handleStartDrag:_,handleSetLabels:b}}const _withScopeId$4=i=>(vue.pushScopeId("data-v-9b0e7581"),i=i(),vue.popScopeId(),i),_hoisted_1$9=_withScopeId$4(()=>vue.createElementVNode("div",{class:"title"},[vue.createElementVNode("i",{class:"ri-play-circle-line"}),vue.createElementVNode("span",null,"系统开始节点")],-1)),_hoisted_2$7={class:"mb-4 start"},_hoisted_3$6=_withScopeId$4(()=>vue.createElementVNode("i",{class:"ri-search-line"},null,-1)),_hoisted_4$6={class:"flex justify-between mt-2 mb-2 title"},_hoisted_5$4=_withScopeId$4(()=>vue.createElementVNode("i",{class:"ri-play-circle-line"},null,-1)),_hoisted_6$4={key:0},_hoisted_7$4=["data-value"],_hoisted_8$4=_withScopeId$4(()=>vue.createElementVNode("i",{class:"mr-2 text-base ri-box-3-fill text-color-info"},null,-1)),_hoisted_9$4={class:"flex-1 overflow-hidden whitespace-nowrap text-ellipsis"},_hoisted_10$3={key:1,class:"overflow-hidden font-bold whitespace-nowrap text-ellipsis"},_sfc_main$a=vue.defineComponent({__name:"menu",emits:["mouse-down","flow-dropdown-command"],setup(i,{expose:n,emit:r}){const o=r,{proxy:a}=vue.getCurrentInstance(),{loadModelMenu:l}=fetch$1(a).model,s=vue.ref(""),u=vue.ref([{label:"Excel"},{label:"Sql"},{label:"Api"}]),c=vue.ref([]),d=vue.ref(!0),f=vue.ref(null),p=vue.inject("frameType"),v=()=>{c.value=[],d.value=!0,Promise.all([l({modelLayer:"ODS"}),l({modelLayer:"DWD"})]).then(y=>{d.value=!1,y.forEach((b,x)=>{c.value.push({label:["ODS数据接入","DWD数据接入"][x],buttons:x?[{label:"抽取模型",value:"extract"}]:[{label:"数据源导入模型",value:"conn"},{label:"SQL新建模型",value:"sql"},{label:"手动新建模型",value:"normal"},{label:"Excel新建模型",value:"excel"}],list:Object.keys(b.data).map(C=>({modelName:C,id:C,children:b.data[C]}))})}),d.value=!1})};v(),vue.watch(s,y=>{vue.unref(f).forEach(b=>{b.filter(y)})});const m=(y,b)=>y?b.modelName.includes(y):!0,g=y=>{o("flow-dropdown-command",y)},_=y=>o("mouse-down",y);return n({init:v}),(y,b)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[_hoisted_1$9,vue.createElementVNode("div",_hoisted_2$7,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(u),x=>(vue.openBlock(),vue.createBlock(Start,{key:x.value,label:x.label,onMousedown:_},null,8,["label"]))),128))]),vue.createVNode(vue.unref(elementPlus.ElInput),{placeholder:"请输入内容",clearable:"",modelValue:vue.unref(s),"onUpdate:modelValue":b[0]||(b[0]=x=>vue.isRef(s)?s.value=x:null),class:"mb-2"},{prefix:vue.withCtx(()=>[_hoisted_3$6]),_:1},8,["modelValue"]),vue.createVNode(vue.unref(elementPlus.ElSkeleton),{loading:vue.unref(d),animated:"",count:2},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(c),x=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:x.label},[vue.createElementVNode("div",_hoisted_4$6,[vue.createElementVNode("div",null,[_hoisted_5$4,vue.createElementVNode("span",null,vue.toDisplayString(x.label),1)]),vue.unref(p)=="backend"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$4,[vue.createVNode(vue.unref(elementPlus.ElDropdown),{onCommand:g},{dropdown:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElDropdownMenu),null,{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(x.buttons,C=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElDropdownItem),{key:C.value,command:C.value},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(C.label),1)]),_:2},1032,["command"]))),128))]),_:2},1024)]),default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElButton),{type:"primary",size:"small",plain:""},{default:vue.withCtx(()=>[vue.createTextVNode("创建模型")]),_:1})]),_:2},1024)])):vue.createCommentVNode("",!0)]),vue.createVNode(vue.unref(elementPlus.ElTree),{data:x.list,ref_for:!0,ref_key:"treeRef",ref:f,"filter-node-method":m,"empty-text":"暂无数据"},{default:vue.withCtx(({node:C,data:w})=>[C.level!=1?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"-ml-5 items","data-type":"widget",onMousedown:_,"data-value":JSON.stringify(w)},[_hoisted_8$4,vue.createElementVNode("span",_hoisted_9$4,vue.toDisplayString(w.modelName),1)],40,_hoisted_7$4)):(vue.openBlock(),vue.createElementBlock("span",_hoisted_10$3,vue.toDisplayString(w.modelName),1))]),_:2},1032,["data"])],64))),128))]),_:1},8,["loading"])],64))}}),menu_vue_vue_type_style_index_0_scoped_9b0e7581_lang="",Menu=_export_sfc$2(_sfc_main$a,[["__scopeId","data-v-9b0e7581"]]),_hoisted_1$8={class:"selectWidget animated fadeIn"},_sfc_main$9=vue.defineComponent({__name:"selectWidget",props:{selectWidget:{default:null},options:{default:{}}},emits:["change"],setup(i,{emit:n}){const r=n,o=[{label:"按日",value:"date"},{label:"按月",value:"month"},{label:"按年",value:"year"}],a=[{label:"按日",value:"date"},{label:"按月-需每天数据齐全",value:"every_day_of_month"},{label:"按月-仅需某天有数据",value:"some_day_of_month"},{label:"按年-需每月数据齐全",value:"every_month_of_year"},{label:"按年-仅需某月有数据",value:"some_month_of_year"}],l=(s,u)=>{r("change",s,u)};return(s,u)=>{const c=vue.resolveComponent("aceHeader");return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$8,[vue.createVNode(c,{title:"编辑",class:"mb-4"}),vue.createVNode(vue.unref(elementPlus.ElForm),{"label-width":"80px"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"名称"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(s.selectWidget.modelName),1)]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"触发本节点"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadioGroup),{modelValue:s.selectWidget.triggerEventType,"onUpdate:modelValue":u[0]||(u[0]=d=>s.selectWidget.triggerEventType=d),onChange:u[1]||(u[1]=d=>l("eventType",d))},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(a,d=>vue.createVNode(vue.unref(elementPlus.ElRadio),{key:d.value,value:d.value},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(d.label),1)]),_:2},1032,["value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"协同下节点"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{filterable:"",modelValue:s.selectWidget.selfEventType,"onUpdate:modelValue":u[2]||(u[2]=d=>s.selectWidget.selfEventType=d),placeholder:"请选择",clearable:!1,"popper-class":"ace-select",onChange:u[3]||(u[3]=d=>l("selfEventType",d))},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(o,d=>vue.createVNode(vue.unref(elementPlus.ElOption),{label:d.label,value:d.value,key:d.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),{"popper-class":"ace-select",filterable:"",modelValue:s.selectWidget.collaborateField,"onUpdate:modelValue":u[4]||(u[4]=d=>s.selectWidget.collaborateField=d),placeholder:"请选择",clearable:!1},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(s.options[s.selectWidget.id]??[],d=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{label:d.attributeComment,value:d.attributeCode,key:d.attributeCode},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})])}}}),selectWidget_vue_vue_type_style_index_0_scoped_7d7aab66_lang="",SelectWidget=_export_sfc$2(_sfc_main$9,[["__scopeId","data-v-7d7aab66"]]),_withScopeId$3=i=>(vue.pushScopeId("data-v-1b91fe04"),i=i(),vue.popScopeId(),i),_hoisted_1$7={class:"pannel"},_hoisted_2$6={class:"overflow-hidden w-50"},_hoisted_3$5=_withScopeId$3(()=>vue.createElementVNode("span",{class:"ml-5 mr-2"},"快捷查询:",-1)),_hoisted_4$5=_withScopeId$3(()=>vue.createElementVNode("span",{class:"ml-10 mr-10 text-gray-300"},"|",-1)),_hoisted_5$3={class:"flex flex-1"},_hoisted_6$3=_withScopeId$3(()=>vue.createElementVNode("i",{class:"mr-1 text-yellow-500 ri-error-warning-fill"},null,-1)),_hoisted_7$3={class:"flex items-center ml-2 text-color-primary"},_hoisted_8$3=_withScopeId$3(()=>vue.createElementVNode("i",{class:"ml-1 ri-menu-line"},null,-1)),_hoisted_9$3=_withScopeId$3(()=>vue.createElementVNode("i",{class:"mr-1 text-red-700 ri-error-warning-fill"},null,-1)),_hoisted_10$2={class:"flex items-center ml-2 text-color-primary"},_hoisted_11$1=_withScopeId$3(()=>vue.createElementVNode("i",{class:"ml-1 ri-menu-line"},null,-1)),_sfc_main$8=vue.defineComponent({__name:"monitorPannel",props:{cellsData:{default:()=>[]},msg:{default:{}}},emits:["change"],setup(i,{expose:n,emit:r}){const o=i,{proxy:a}=vue.getCurrentInstance(),l=vue.ref([dayjs().subtract(1,"week").format("YYYY-MM-DD"),dayjs().format("YYYY-MM-DD")]),s=vue.ref(""),u=r,c=g=>{s.value=g[0]},d=()=>s.value="",f=()=>{u("change")},p=g=>s.value?g.getTime()<vue.unref(s).getTime()||g.getTime()>=new Date().getTime()||g.getTime()>vue.unref(s).getTime()+30*864e5:g.getTime()>Date.now(),v=g=>{let _="",y=dayjs().format("YYYY-MM-DD");switch(g){case 1:_=`${dayjs().format("YYYY-MM")}-01`;break;case 3:_=dayjs().subtract(3,"month").format("YYYY-MM-DD");break;case 6:_=dayjs().subtract(6,"month").format("YYYY-MM-DD");break}l.value=[_,y],f()},m=()=>{a.$baseEventBus.emit("flow-warning-list",o.cellsData)};return n({value:l}),(g,_)=>{var y,b;return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$7,[vue.createElementVNode("div",_hoisted_2$6,[vue.createVNode(vue.unref(elementPlus.ElDatePicker),{modelValue:vue.unref(l),"onUpdate:modelValue":_[0]||(_[0]=x=>vue.isRef(l)?l.value=x:null),type:"daterange",clearable:!1,"start-placeholder":"开始时间","end-placeholder":"结束时间",onVisibleChange:d,onCalendarChange:c,"value-format":"YYYY-MM-DD",onChange:f,"disabled-date":p},null,8,["modelValue"])]),_hoisted_3$5,vue.createElementVNode("span",{class:"ml-1 mr-2 cursor-pointer hover:text-blue-600",onClick:_[1]||(_[1]=x=>v(1))}," 本月 "),vue.createElementVNode("span",{class:"ml-1 mr-2 cursor-pointer hover:text-blue-600",onClick:_[2]||(_[2]=x=>v(3))}," 前三月 "),vue.createElementVNode("span",{class:"ml-1 mr-2 cursor-pointer hover:text-blue-600",onClick:_[3]||(_[3]=x=>v(6))}," 前六月 "),_hoisted_4$5,vue.createElementVNode("div",_hoisted_5$3,[vue.createElementVNode("div",{class:"flex items-center cursor-pointer",onClick:m},[_hoisted_6$3,vue.createTextVNode(" 未完成任务 "),vue.createElementVNode("span",_hoisted_7$3,[vue.createTextVNode(vue.toDisplayString((y=g.msg)==null?void 0:y.warning)+" ",1),_hoisted_8$3])]),vue.createElementVNode("div",{class:"flex items-center ml-10 cursor-pointer",onClick:m},[_hoisted_9$3,vue.createTextVNode(" 协同失败 "),vue.createElementVNode("span",_hoisted_10$2,[vue.createTextVNode(vue.toDisplayString((b=g.msg)==null?void 0:b.error)+" ",1),_hoisted_11$1])])])])}}}),monitorPannel_vue_vue_type_style_index_0_scoped_1b91fe04_lang="",monitorPannel=_export_sfc$2(_sfc_main$8,[["__scopeId","data-v-1b91fe04"]]),_withScopeId$2=i=>(vue.pushScopeId("data-v-e7267060"),i=i(),vue.popScopeId(),i),_hoisted_1$6={key:0,class:"warning fadeIn animated"},_hoisted_2$5={class:"flex justify-end pl-4 pr-4"},_hoisted_3$4={class:"flex-1 pl-4 pr-4 overflow-y-auto"},_hoisted_4$4={class:"mt-2 mb-4"},_hoisted_5$2=["onClick"],_hoisted_6$2=_withScopeId$2(()=>vue.createElementVNode("i",{class:"mr-2 text-base ri-box-3-fill"},null,-1)),_hoisted_7$2={class:"whitespace-nowrap"},_hoisted_8$2={class:"ml-4 mr-2 overflow-hidden whitespace-nowrap text-ellipsis"},_hoisted_9$2={class:"whitespace-nowrap"},_sfc_main$7=vue.defineComponent({__name:"warningList",emits:["click-element"],setup(i,{emit:n}){const{proxy:r}=vue.getCurrentInstance(),o=n,a=vue.ref(!1),l=vue.ref([]),s=vue.computed(()=>{const d=[],f=vue.unref(l).filter(v=>v.status=="warning"),p=vue.unref(l).filter(v=>v.status=="error");return f.length&&d.push({label:"未完成任务",list:f}),p.length&&d.push({label:"协同失败",list:p}),d});r.$baseEventBus.on("flow-warning-list",d=>{var f;if(l.value=[],d.toString()=="close"){a.value=!1;return}if(Array.isArray(d)?d.filter(p=>p.shape=="Widget").forEach(p=>{var v,m,g,_;u(((m=(v=p==null?void 0:p.data)==null?void 0:v.nodeStatus)==null?void 0:m.nodeStatusMap)??{},((g=p==null?void 0:p.data)==null?void 0:g.id)??"",((_=p==null?void 0:p.data)==null?void 0:_.modelName)??"")}):u(((f=d==null?void 0:d.nodeStatus)==null?void 0:f.nodeStatusMap)??{},(d==null?void 0:d.id)??"",(d==null?void 0:d.modelName)??""),!vue.unref(l).length){r.$message.warning("暂无错误信息"),a.value=!1;return}a.value=!0});const u=(d,f,p)=>{Object.keys(d).forEach(v=>{var m,g;d[v]||l.value.push({time:v,id:f,label:p,status:"warning"}),(((m=d[v])==null?void 0:m.failNum)>0||((g=d[v])==null?void 0:g.totalNum)===0)&&l.value.push({time:v,id:f,label:p,status:"error"})})},c=d=>{o("click-element",d)};return vue.onBeforeUnmount(()=>{r.$baseEventBus.off("flow-warning-list")}),(d,f)=>{const p=vue.resolveComponent("aceHeader");return vue.unref(a)?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$6,[vue.createElementVNode("div",_hoisted_2$5,[vue.createElementVNode("i",{class:"text-xl cursor-pointer ri-close-line",onClick:f[0]||(f[0]=v=>a.value=!1)})]),vue.createElementVNode("div",_hoisted_3$4,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(s),v=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:v.label},[vue.createVNode(p,{title:v.label},null,8,["title"]),vue.createElementVNode("div",_hoisted_4$4,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(v.list,(m,g)=>(vue.openBlock(),vue.createElementBlock("div",{class:"flex items-center mt-1 mb-1 text-gray-600 cursor-pointer hover:text-blue-500",onClick:_=>c(m),key:g},[_hoisted_6$2,vue.createElementVNode("span",_hoisted_7$2,vue.toDisplayString(m.time),1),vue.createElementVNode("span",_hoisted_8$2,vue.toDisplayString(m.label),1),vue.createElementVNode("span",_hoisted_9$2,vue.toDisplayString(m.status=="error"?"协同失败":"未更新"),1)],8,_hoisted_5$2))),128))])],64))),128))])])):vue.createCommentVNode("",!0)}}}),warningList_vue_vue_type_style_index_0_scoped_e7267060_lang="",warningList=_export_sfc$2(_sfc_main$7,[["__scopeId","data-v-e7267060"]]),_hoisted_1$5={class:"flex flex-col flex-1"},_sfc_main$6=vue.defineComponent({__name:"backend",emits:["success"],setup(i,{expose:n,emit:r}){const o=r,{proxy:a}=vue.getCurrentInstance(),l=vue.ref(""),s=vue.ref(""),u=vue.ref(!1),c=vue.ref(!1),d=vue.ref(!1),f=m=>{a.$refs[`${m}Ref`].init()},p=(m,g)=>{switch(m){case"flow-history-click":a.$refs.modelExtractLogRef.init({businessId:g.modelId,businessType:"file_extract",table:[{label:"日期",prop:"createTime"},{label:"文件名",prop:"file",slot:!0},{label:"抽取方式",prop:"createTime",func:_=>{var y;return((y=JSON.parse(_.businessSnapshot||"{}"))==null?void 0:y.extractType)==2?"覆盖":"追加"}},{label:"数据总数",prop:"totalNum"},{label:"成功数",prop:"successNum"},{label:"失败数",prop:"failNum"},{label:"操作",prop:"action",slot:!0,fixed:"right"}]});break;case"flow-data-extract":a.$refs.modelExtractLogRef.init({businessId:g.modelId,businessType:"db_extract",table:[{label:"日期",prop:"createTime"},{label:"数据总数",prop:"totalNum"},{label:"成功数",prop:"successNum"},{label:"失败数",prop:"failNum"},{label:"操作",prop:"action",slot:!0,fixed:"right"}],ajaxUrl:`/api/ace-data-center/extract-log/listCollaborateExtractLogPage?modelId=${g.modelId}&descs=create_time`});break;case"flow-sql":l.value=g.modelId,u.value=!0;break;case"flow-data-import":c.value=!0,vue.nextTick(()=>{a.$refs.modelViewRef.init({id:g.modelId})});break;case"flow-model-data":s.value=g.modelName,l.value=g.modelId,d.value=!0;break}},v=()=>{o("success")};return n({flowDropdownCommand:f,init:p}),(m,g)=>{const _=vue.resolveComponent("aceModelConn"),y=vue.resolveComponent("aceModelSql"),b=vue.resolveComponent("aceModelNormal"),x=vue.resolveComponent("aceModelExcel"),C=vue.resolveComponent("aceModelExtract"),w=vue.resolveComponent("aceModelExtractLog"),E=vue.resolveComponent("aceModelDbExtract"),$=vue.resolveComponent("AppDrawer"),S=vue.resolveComponent("aceModelView"),V=vue.resolveComponent("aceDynamicList");return vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(_,{ref:"connRef",permission:[],onSuccess:g[0]||(g[0]=k=>v())},null,512),vue.createVNode(y,{ref:"sqlRef",permission:[],onSuccess:g[1]||(g[1]=k=>v())},null,512),vue.createVNode(b,{ref:"normalRef",permission:[],onSuccess:g[2]||(g[2]=k=>v())},null,512),vue.createVNode(x,{ref:"excelRef",permission:[],onSuccess:g[3]||(g[3]=k=>v())},null,512),vue.createVNode(C,{ref:"extractRef",permission:[],onSuccess:g[4]||(g[4]=k=>v())},null,512),vue.createVNode(w,{ref:"modelExtractLogRef"},null,512),vue.createVNode($,{modelValue:vue.unref(u),"onUpdate:modelValue":g[5]||(g[5]=k=>vue.isRef(u)?u.value=k:null),title:"编辑SQL",size:"90%"},{default:vue.withCtx(()=>[vue.createVNode(E,{model:{id:vue.unref(l)}},null,8,["model"])]),_:1},8,["modelValue"]),vue.createVNode($,{modelValue:vue.unref(c),"onUpdate:modelValue":g[6]||(g[6]=k=>vue.isRef(c)?c.value=k:null),title:"数据导入",size:"90%"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$5,[vue.createVNode(S,{ref:"modelViewRef",type:"ODS",permission:["EXCEL_EXTRACT"]},null,512)])]),_:1},8,["modelValue"]),vue.createVNode($,{modelValue:vue.unref(d),"onUpdate:modelValue":g[7]||(g[7]=k=>vue.isRef(d)?d.value=k:null),title:"模型数据",size:"90%"},{default:vue.withCtx(()=>[vue.createVNode(V,{id:vue.unref(l),title:vue.unref(s),showPageIndex:!0,isDownLoad:!1,ref:"AppDynamicListRef"},null,8,["id","title"])]),_:1},8,["modelValue"])],64)}}}),_withScopeId$1=i=>(vue.pushScopeId("data-v-4a3a652a"),i=i(),vue.popScopeId(),i),_hoisted_1$4={class:"text-base w-72 text-color-primary"},_hoisted_2$4=_withScopeId$1(()=>vue.createElementVNode("i",{class:"mr-1 text-xl ri-file-text-line"},null,-1)),_hoisted_3$3=["contenteditable"],_hoisted_4$3={class:"flex items-center flex-1 -ml-3"},_hoisted_5$1={key:0,class:"ml-2 mr-4 text-gray-200"},_hoisted_6$1=["onClick"],_hoisted_7$1={key:0,class:"absolute bg-white rounded-full -right-2 -top-2"},_hoisted_8$1={key:0,class:"text-red-700 ri-error-warning-fill"},_hoisted_9$1={key:1,class:"text-yellow-500 ri-error-warning-fill"},_hoisted_10$1={key:1,class:"loading"},_hoisted_11=_withScopeId$1(()=>vue.createElementVNode("i",{class:"ri-loader-line text-color-primary"},null,-1)),_hoisted_12=[_hoisted_11],_hoisted_13=_withScopeId$1(()=>vue.createElementVNode("div",{class:"h-full flow-main",id:"graph-container"},null,-1)),_hoisted_14=_withScopeId$1(()=>vue.createElementVNode("div",{id:"minimap",class:"absolute bottom-0 right-0"},null,-1)),_sfc_main$5=vue.defineComponent({__name:"index",props:{frameType:{default:"backend"}},setup(i){const n=i;vue.provide("frameType",n.frameType),vue.provide("getNode",null);const{proxy:r}=vue.getCurrentInstance(),{allModelAttribute:o}=fetch$1(r).model,{saveCollaborateFlow:a,detailCollaborateFlow:l,updateCollaborateFlow:s,collaborateExecRecordFlow:u}=fetch$1(r).collaborateFlow,c=vue.ref(null),d=vue.inject("local"),f=vue.ref([{label:"放大",key:"zoom-in",icon:"ri-zoom-in-line"},{label:"缩小",key:"zoom-out",icon:"ri-zoom-out-line"},{label:"前进",key:"redo",icon:"ri-arrow-go-forward-line",disabled:()=>vue.unref(_)=="flow-monitor"},{label:"回退",key:"undo",icon:"ri-arrow-go-back-line",disabled:()=>vue.unref(_)=="flow-monitor"},{label:"删除",key:"delete",icon:"ri-delete-bin-line",disabled:()=>vue.unref(_)=="flow-monitor"},{label:"保存",key:"submit",icon:"ri-save-line",disabled:()=>vue.unref(_)=="flow-monitor",click:async()=>{var L,D,F,M;if(vue.unref(_)=="flow-monitor")return;const O={collaborateJson:JSON.stringify(vue.unref(g).toJSON()),name:vue.unref(m).name||"未命名",id:void 0};(L=vue.unref(m))!=null&&L.id&&(O.name=(D=vue.unref(m))==null?void 0:D.name,O.id=(F=vue.unref(m))==null?void 0:F.id),await((M=vue.unref(m))!=null&&M.id?s(O):a(O))&&(r.$message.success("保存成功"),k())}},{type:"middle"},{label:"流程信息",key:"flow-msg",icon:"ri-flow-chart",click:()=>{_.value="flow-msg",$.value=null,k()}},{label:"流程监控",key:"flow-monitor",icon:"ri-webcam-line",click:()=>{_.value="flow-monitor",P()}},{label:"数据质量",key:"flow-quality",icon:"ri-terminal-box-line"}]),p=vue.ref({}),v=vue.ref(!1),m=vue.ref({}),{graph:g,activeName:_,nodeObj:y,state:b,isDelete:x,handleStartDrag:C,handleEvent:w,handleSetLabels:E,selectWidget:$}=useFlow("graph-container",n.frameType,()=>{k()},(O,I)=>{vue.unref(c).init(O,I)});vue.watch($,O=>{!O||vue.unref(p)[O==null?void 0:O.id]||!(O!=null&&O.id)||o({modelId:O.id}).then(I=>{vue.unref(p)[O.id]=I.data})});const S=vue.ref([]),V=vue.computed(()=>{let O=0,I=0;return vue.unref(S).filter(L=>L.shape=="Widget").forEach(L=>{var D,F;Object.values(((F=(D=L==null?void 0:L.data)==null?void 0:D.nodeStatus)==null?void 0:F.nodeStatusMap)??[]).forEach(M=>{M||(I+=1),((M==null?void 0:M.failNum)>0||(M==null?void 0:M.totalNum)===0)&&(O+=1)})}),{error:O,warning:I}}),k=async()=>{vue.unref(g).clearCells(),v.value=!0;const O=await l({});if(v.value=!1,!O.data){m.value={name:"未命名"};return}O.data.name||(O.data.name="未命名"),m.value=O.data;const I=O.data.collaborateJson;vue.unref(g).fromJSON(JSON.parse(I)),vue.unref(g).centerContent(),E(),P(!1)};r.$baseEventBus.on("desk-refresh",()=>P());const P=async(O=!0)=>{O&&(v.value=!0,vue.unref(g).clearCells()),vue.nextTick(async()=>{const I=r.$refs.monitorPannelRef,L=await u({startTime:(I==null?void 0:I.value[0])??dayjs().subtract(1,"week").format("YYYY-MM-DD"),endTime:(I==null?void 0:I.value[1])??dayjs().format("YYYY-MM-DD")});O&&(v.value=!1),L&&(L.data.cells.filter(D=>D.shape=="Widget").forEach(D=>{const F=L.data.nodeStatus[D.id];D.data.nodeStatus=F??{}}),O&&(vue.unref(g).fromJSON(L.data.cells),vue.unref(g).centerContent()),S.value=L.data.cells)})},B=(O,I)=>{if(O==="selfEventType"){const L=vue.unref(g).getNodes();vue.unref(g).getConnectedEdges(vue.unref(y),{incoming:!1,outgoing:!0}).forEach(F=>{const M=L.find(R=>F.target.cell==R.id);M&&(M.data.triggerEventType=I)}),E()}},T=O=>{const{cells:I}=vue.unref(g).toJSON(),L=vue.unref(g).getNodes();vue.unref(g).cleanSelection(),setTimeout(()=>{const D=L.find(F=>{var M;return F.id==((M=I.find(R=>R.shape=="Widget"&&(R==null?void 0:R.data.id)==O.id))==null?void 0:M.id)});D&&vue.unref(g).select(D)})},N=()=>{r.$refs.menuRef.init()};return(O,I)=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElContainer),{class:"flex flex-col h-full overflow-hidden"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElConfigProvider),{locale:vue.unref(d)},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElHeader),{class:"flex items-center flow-header"},{default:vue.withCtx(()=>{var L;return[vue.createElementVNode("div",_hoisted_1$4,[_hoisted_2$4,vue.createElementVNode("span",{contenteditable:vue.unref(_)=="flow-msg",class:"flex-1 outline-none cursor-text contenteditable",onBlur:I[0]||(I[0]=D=>vue.unref(m).name=vue.unref(m).name||"未命名"),onInput:I[1]||(I[1]=D=>vue.unref(m).name=D.target.innerText)},vue.toDisplayString((L=vue.unref(m))==null?void 0:L.name),41,_hoisted_3$3)]),vue.createElementVNode("div",_hoisted_4$3,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(f),D=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:D.key},[D.type=="middle"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_5$1,"|")):(vue.openBlock(),vue.createElementBlock("div",{key:1,class:vue.normalizeClass(["relative widget-action",[D.key,vue.unref(_)==D.key?"active":"",D.disabled&&D.disabled()?"text-color-info":"",!vue.unref(b).canUndo&&D.key=="undo"||!vue.unref(b).canRedo&&D.key=="redo"||D.key=="delete"&&!vue.unref(x)?"text-color-info":""]]),onClick:F=>(D.click&&D.click())??vue.unref(w)(D.key)},[vue.createElementVNode("i",{class:vue.normalizeClass(D.icon)},null,2),vue.createElementVNode("span",null,vue.toDisplayString(D.label),1),D.key=="flow-monitor"?(vue.openBlock(),vue.createElementBlock("span",_hoisted_7$1,[vue.unref(V).error?(vue.openBlock(),vue.createElementBlock("i",_hoisted_8$1)):vue.unref(V).warning?(vue.openBlock(),vue.createElementBlock("i",_hoisted_9$1)):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0)],10,_hoisted_6$1))],64))),128))])]}),_:1}),vue.createVNode(vue.unref(elementPlus.ElContainer),{class:"overflow-hidden"},{default:vue.withCtx(()=>[vue.unref(_)!="flow-monitor"?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElAside),{key:0,class:"flow-aside",width:"288px"},{default:vue.withCtx(()=>[vue.createVNode(Menu,{ref:"menuRef",onMouseDown:vue.unref(C),onFlowDropdownCommand:I[2]||(I[2]=L=>vue.unref(c).flowDropdownCommand(L))},null,8,["onMouseDown"])]),_:1})):vue.createCommentVNode("",!0),vue.createVNode(vue.unref(elementPlus.ElMain),{class:"relative"},{default:vue.withCtx(()=>[vue.unref(_)=="flow-monitor"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(monitorPannel,{ref:"monitorPannelRef",cellsData:vue.unref(S),msg:vue.unref(V),onChange:P},null,8,["cellsData","msg"]),vue.createVNode(warningList,{ref:"warningListRef",onClickElement:T},null,512)],64)):vue.createCommentVNode("",!0),vue.unref(v)?(vue.openBlock(),vue.createElementBlock("div",_hoisted_10$1,_hoisted_12)):vue.createCommentVNode("",!0),_hoisted_13,_hoisted_14,vue.unref($)&&vue.unref(_)=="flow-msg"?(vue.openBlock(),vue.createBlock(SelectWidget,{key:2,selectWidget:vue.unref($),options:vue.unref(p),onChange:B},null,8,["selectWidget","options"])):vue.createCommentVNode("",!0)]),_:1})]),_:1}),vue.createVNode(_sfc_main$6,{ref_key:"backendRef",ref:c,onSuccess:N},null,512)]),_:1},8,["locale"])]),_:1}))}}),index_vue_vue_type_style_index_0_scoped_4a3a652a_lang="",aceFlow=_export_sfc$2(_sfc_main$5,[["__scopeId","data-v-4a3a652a"]]),_sfc_main$4=vue.defineComponent({__name:"AppDeep",setup(i,{expose:n}){const{proxy:r}=vue.getCurrentInstance(),{dynamicSearchForm:o,dynamicSearchFormat:a,dynamicSearchParams:l}=r.$aceDynamicSearch(r),s=vue.ref({}),u=vue.ref(null),c=vue.ref(!1),d=vue.ref(""),f=vue.ref({});return n({init:async(v,m={})=>{var C,w,E;const g=await r.$baseHttp.get(`/api/ace-data-center/model-indicators/detail?id=${v}`);if(!g)return;f.value=g.data;const _=JSON.parse(g.data.sortArgsJson??"{}"),y=Object.keys(vue.unref(_)).map($=>({field:$,type:_[$]=="ascending"?"asc":"desc"})),b=a(JSON.parse(((C=g.data)==null?void 0:C.formConfJson)??"[]"));b.forEach($=>{Object.keys(m).includes($.key)&&($.minValue=m[$.key],$.maxValue="",$.value=m[$.key])}),o.value=b;const x={aggArgsJson:g.data.aggArgsJson,groupArgsJson:g.data.groupArgsJson,sortArgsJson:JSON.stringify(y),modelIndicatorsId:v,params:l(b),pageSize:g.data.pageSize,modelId:g.data.modelId};c.value=!0,d.value=g.data.name,s.value={x:JSON.parse((w=vue.unref(f))==null?void 0:w.groupArgsJson),y:JSON.parse((E=vue.unref(f))==null?void 0:E.aggArgsJson),params:x}}}),(v,m)=>{const g=vue.resolveComponent("AppDrawer");return vue.openBlock(),vue.createBlock(g,{modelValue:vue.unref(c),"onUpdate:modelValue":m[0]||(m[0]=_=>vue.isRef(c)?c.value=_:null),title:vue.unref(d)},{default:vue.withCtx(()=>[vue.createVNode(IndicatorsView,{ref_key:"indicatorsViewRef",ref:u,dynamicSearchForm:vue.unref(o),result:vue.unref(f),chartData:vue.unref(s)},null,8,["dynamicSearchForm","result","chartData"])]),_:1},8,["modelValue","title"])}}}),_withScopeId=i=>(vue.pushScopeId("data-v-d99381eb"),i=i(),vue.popScopeId(),i),_hoisted_1$3=["onClick"],_hoisted_2$3=["onClick"],_hoisted_3$2={class:"flex"},_hoisted_4$2=["onClick"],_hoisted_5=_withScopeId(()=>vue.createElementVNode("i",{class:"ri-file-text-line"},null,-1)),_hoisted_6=_withScopeId(()=>vue.createElementVNode("i",{class:"ri-bar-chart-box-line"},null,-1)),_hoisted_7=_withScopeId(()=>vue.createElementVNode("i",{class:"ri-computer-line"},null,-1)),_hoisted_8=_withScopeId(()=>vue.createElementVNode("i",{class:"text-white ri-close-circle-fill"},null,-1)),_hoisted_9=[_hoisted_8],_hoisted_10=["src"],_sfc_main$3=vue.defineComponent({__name:"AppCustomChart",props:{option:{default:{}},chartType:{default:""},maxHeight:{default:"350px"},renderer:{default:"canvas"},loading:{type:Boolean,default:!1},isBigScreen:{type:Boolean,default:!1},isCheckClick:{type:Boolean,default:!0},indicatorsId:{default:""},renderId:{default:""}},setup(i){const n=i,{proxy:r}=vue.getCurrentInstance(),o=r.$globalHooks.useRouter(),a=vue.ref(null),l=vue.ref(null),s=vue.ref(null),u=vue.ref(null),c=vue.ref(!1),d=vue.ref(null),f=vue.computed(()=>{if(n.chartType!="8")return[];const U=n.option.dataset.dimensions.map(G=>{var J,te;return(J=n.option)!=null&&J.customSeriesData[G]?{key:G,textAlign:"center",...(te=n.option)==null?void 0:te.customSeriesData[G]}:{}});return n.option.showIndex?[{textAlign:"center",index:!0,key:n.option.indexHeader,width:n.option.indexWidth,headColor:"#fff"},...U]:U}),p=U=>{var J;const{toFixed:G}=((J=n.option)==null?void 0:J.customSeriesData[U])??0;return n.option.dataset.source.reduce((te,ae)=>te+(ae[U]?Number(ae[U]):0),0).toFixed(G)},v=U=>{const G=n.option.customSeriesData[U];if(!(G!=null&&G.sum))return"";const{prefix:J,toFixed:te,suffix:ae,headColor:j,textAlign:ee}=G,le=n.option.dataset.source.map(se=>Number(se[U]||0));return le.every(se=>Number.isNaN(se))?"":`<span style="color: ${j||"#000"};text-align: ${ee||"center"}">${J}${le.reduce((se,Z)=>{const K=Number(Z);return Number.isNaN(K)?se:se+Z},0).toFixed(te)}${ae}</span>`},{init:m}=useMap(),g=vue.ref([n.option.code]),_=vue.ref(null),y=vue.ref(null),b=U=>(U.modelIndicatorsId=vue.unref(y).id,U.row=vue.unref(_),U),x=vue.reactive({x:0,y:0,isHover:!0,timer:null,data:null}),C=async U=>{if(U.seriesType!=="map"){x.x=U.event.offsetX,x.y=U.event.offsetY,x.data=U.value,z();return}if(!n.isCheckClick)return;const{code:G}=U.data;n.option.code=G,vue.unref(g).includes(String(G))||g.value.push(String(G)),m(n.option,()=>{const{x:J,y:te}=n.option.dataShow;x.data={[J]:U.data.name,[te]:U.data.data},z()})};vue.nextTick(()=>{setTimeout(()=>{var U;vue.unref(a)&&["1","3","5","11"].includes(n.chartType)&&((U=vue.unref(a))==null||U.chart.getZr().on("mousedown",G=>{var ae,j,ee;const J=[G.offsetX,G.offsetY],{dataset:te}=(ae=vue.unref(a))==null?void 0:ae.chart.getOption();if((j=vue.unref(a))!=null&&j.chart.containPixel("grid",J)){let le=(ee=vue.unref(a))==null?void 0:ee.chart.convertFromPixel({seriesIndex:0},J).filter(se=>Number.isInteger(se));x.x=G.offsetX,x.y=G.offsetY,x.data=te[0].source[Math.abs(le[0])]}if(G.target&&n.chartType=="11"){x.x=G.offsetX,x.y=G.offsetY;const le=n.option.dataShow.y;x.data={[le]:(n.option.series[0].data[0]*100).toFixed(2)}}}))})});const w=()=>{clearTimeout(x.timer),x.isHover=!0},E=()=>{(n.isCheckClick||n.indicatorsId)&&(x.timer=setTimeout(()=>{const U=document.querySelector(":hover");if(!U||!vue.unref(u).contains(U)){x.isHover=!1,x.x=0,x.y=0;const G=document.getElementById(`render-${n.option.id}`);G&&(G.style.zIndex=G.getAttribute("data-z"))}},100))},$=U=>{const{rowIndex:G}=U;x.data=n.option.dataset.source[G]},S=U=>{["ceil","row-item"].includes(U.target.parentElement.className)&&R(U,vue.unref(d).getBoundingClientRect())},V=(U,G)=>{const{rowIndex:J}=G;x.data=n.option.dataset.source[J],R(U,vue.unref(d).getBoundingClientRect())},k=(U,G)=>{x.data={[G]:p(G)},R(U,vue.unref(s).getBoundingClientRect())},P=(U,G)=>{x.data={[G]:p(G)},R(U,vue.unref(s).getBoundingClientRect())},B=async()=>{if(!n.isCheckClick||!n.indicatorsId)return;const U=await r.$baseHttp.get(`/api/ace-data-center/model-indicators/detail?id=${n.indicatorsId}`);y.value=U.data,c.value=!0,_.value=x.data??{}},T=async()=>{var G;const U={};(((G=n.option.dataShow)==null?void 0:G.deep2Linkage)??[]).forEach(J=>{J.value!==""&&(U[J.key]=x.data[J.value])}),vue.unref(l).init(n.option.dataShow.deep2Id,U)},N=vue.ref(!1),O=vue.reactive({type:"",data:""});vue.ref({});const I=vue.ref({}),L=vue.ref({}),D=async()=>{I.value={},L.value={};const{fullscreenId:U,fullscreenType:G,fullscreenControlType:J,fullscreenControlIds:te,fullscreenOpenType:ae}=n.option.dataShow;["","indicators"].includes(G)&&n.option.dataShow.fullscreenLinkage.forEach(ee=>{ee.value.length&&ee.value.forEach(le=>{const[se,Z]=le;vue.unref(I)[se]||(vue.unref(I)[se]={}),vue.unref(I)[se][Z]=x.data[ee.key]??""})}),["control"].includes(G)&&(L.value={ids:te,value:x.data[J]}),x.x=0;const j=o.resolve({name:"big-data-preview",query:{id:U,bigScreenQueryParams:JSON.stringify(I.value),bigScreenControlParams:JSON.stringify(L.value)}});if(ae=="blank"){window.top.open(j.href);return}if(self!=top){o.replace({name:"big-data-preview",query:j.query});return}O.data=j.href,N.value=!0},F=(U,G)=>`${G.prefix??""}${isNaN(U)||(U??"")==""?U:Number(U).toFixed(G.toFixed)}${G.suffix??""}`,M=()=>{g.value=g.value.filter(U=>U!=n.option.code),n.option.code=vue.unref(g).at(-1),m(n.option)},R=(U,G)=>{const J=document.getElementById(n.renderId);let te=1;if(J){const j=window.getComputedStyle(J).transform;te=new DOMMatrix(j).a}x.x=(U.clientX-G.left)/te,x.y=(U.clientY-G.top)/te;const ae=document.getElementById(`render-${n.option.id}`);ae&&(ae.style.zIndex="9999"),z()},z=()=>{const U=n.option.linkage??{};if(n.renderId){const G={};Object.keys(x.data??{}).forEach(J=>{const te=U[J];te&&Array.isArray(te)&&te.forEach(ae=>{G[ae[0]]=[ae[1],x.data[J]]})}),r.$baseEventBus.emit(`ace-screen-indicators-linkage-chart-${n.renderId}`,G)}};return(U,G)=>{var le,se,Z,K,q,Y,X,oe,W,ne,H,Q,re,ie,ue,ce,fe,ve;const J=vue.resolveComponent("v-chart"),te=vue.resolveComponent("aceHeader"),ae=vue.resolveComponent("AppTable"),j=vue.resolveComponent("aceDynamicList"),ee=vue.resolveComponent("AppDrawer");return vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[U.chartType=="7"&&n.option.dataShow?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"relative flex flex-wrap",ref_key:"parentRef",ref:s,style:vue.normalizeStyle({gap:(n.option.margin??10)+"px"})},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(n.option.dataset.dimensions,de=>{var he,pe,me,ge,Se,Ae,Oe,Le,Re,Ge,Ye,We,ye,$e;return vue.openBlock(),vue.createElementBlock("div",{key:de,class:"flex flex-col rounded cursor-pointer justify-evenly",onClick:vue.withModifiers(Je=>k(Je,de),["stop"]),style:vue.normalizeStyle({padding:(n.option.padding??10)+"px",background:(pe=(he=n.option)==null?void 0:he.customSeriesData[de])==null?void 0:pe.bgColor,color:(ge=(me=n.option)==null?void 0:me.customSeriesData[de])==null?void 0:ge.color,minWidth:"120px",fontSize:`${((Ae=(Se=n.option)==null?void 0:Se.customSeriesData[de])==null?void 0:Ae.fontSize)||14}px`})},[vue.createElementVNode("div",null,[vue.createElementVNode("span",null,vue.toDisplayString((Le=(Oe=n.option)==null?void 0:Oe.customSeriesData[de])==null?void 0:Le.prefix),1),vue.createTextVNode(" "+vue.toDisplayString(p(de))+" ",1),vue.createElementVNode("span",null,vue.toDisplayString((Ge=(Re=n.option)==null?void 0:Re.customSeriesData[de])==null?void 0:Ge.suffix),1)]),((We=(Ye=n.option)==null?void 0:Ye.customSeriesData[de])==null?void 0:We.hideLabel)!==!0?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"mt-2",style:vue.normalizeStyle({fontSize:`${(($e=(ye=n.option)==null?void 0:ye.customSeriesData[de])==null?void 0:$e.titleFontSize)||14}px`})},vue.toDisplayString(de),5)):vue.createCommentVNode("",!0)],12,_hoisted_1$3)}),128))],4)):vue.createCommentVNode("",!0),U.chartType=="10"&&n.option.dataShow?(vue.openBlock(),vue.createElementBlock("div",{key:1,class:vue.normalizeClass(["relative flex",[["vertical"].includes(((le=n.option)==null?void 0:le.direction)??"")?"flex-col":""]]),ref_key:"parentRef",ref:s,style:vue.normalizeStyle({gap:(n.option.margin??10)+"px"})},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(n.option.dataset.dimensions,de=>{var he,pe,me,ge,Se,Ae,Oe,Le,Re,Ge,Ye,We,ye,$e;return vue.openBlock(),vue.createElementBlock("div",{key:de,onClick:vue.withModifiers(Je=>P(Je,de),["stop"]),class:vue.normalizeClass(["items-center justify-center flex-1 cursor-pointer progress",[["line"].includes((pe=(he=n.option)==null?void 0:he.customSeriesData[de])==null?void 0:pe.type)?"":"flex"]]),style:vue.normalizeStyle(`--bgColor: ${n.option.customSeriesData[de].bgColor||"#e5e9f2"}`)},[vue.createVNode(vue.unref(elementPlus.ElProgress),{strokeLinecap:(me=n.option.customSeriesData[de])==null?void 0:me.strokeLinecap,width:U.isBigScreen?Number(U.maxHeight.replace("px","")):(ge=n.option.customSeriesData[de])==null?void 0:ge.width,duration:(Se=n.option.customSeriesData[de])==null?void 0:Se.duration,stripedFlow:(Ae=n.option.customSeriesData[de])==null?void 0:Ae.stripedFlow,striped:(Oe=n.option.customSeriesData[de])==null?void 0:Oe.striped,textInside:["line"].includes((Re=(Le=n.option)==null?void 0:Le.customSeriesData[de])==null?void 0:Re.type)?(Ge=n.option.customSeriesData[de])==null?void 0:Ge.textInside:!1,strokeWidth:(Ye=n.option.customSeriesData[de])==null?void 0:Ye.strokeWidth,color:(We=n.option.customSeriesData[de])==null?void 0:We.color,type:($e=(ye=n.option)==null?void 0:ye.customSeriesData[de])==null?void 0:$e.type,percentage:Number(p(de))},{default:vue.withCtx(({percentage:Je})=>{var Qe,bt,pt,Ke,Ee,ke,Pe,Me,be,Tt;return[vue.createElementVNode("div",{style:vue.normalizeStyle({fontSize:`${((bt=(Qe=n.option)==null?void 0:Qe.customSeriesData[de])==null?void 0:bt.fontSize)||14}px`,color:(Ke=(pt=n.option)==null?void 0:pt.customSeriesData[de])==null?void 0:Ke.fontColor})},[vue.createElementVNode("span",null,vue.toDisplayString((ke=(Ee=n.option)==null?void 0:Ee.customSeriesData[de])==null?void 0:ke.prefix),1),vue.createElementVNode("span",null,vue.toDisplayString(Je.toFixed(((Me=(Pe=n.option)==null?void 0:Pe.customSeriesData[de])==null?void 0:Me.toFixed)||0)),1),vue.createElementVNode("span",null,vue.toDisplayString((Tt=(be=n.option)==null?void 0:be.customSeriesData[de])==null?void 0:Tt.suffix),1)],4)]}),_:2},1032,["strokeLinecap","width","duration","stripedFlow","striped","textInside","strokeWidth","color","type","percentage"])],14,_hoisted_2$3)}),128))],6)):vue.createCommentVNode("",!0),U.chartType=="8"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:2},[(K=(Z=(se=n.option)==null?void 0:se.dataset)==null?void 0:Z.dimensions)!=null&&K.length?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"mb-3",ref_key:"scrollBoardRef",ref:d,style:vue.normalizeStyle(`--fontSize: ${n.option.fontSize||13}px `),onClick:S},[["single","page"].includes(n.option.carousel)?(vue.openBlock(),vue.createBlock(vue.unref(Tl),{key:0,config:{header:n.option.dataset.dimensions.map(de=>{var pe,me;let he=de;if((pe=n.option)!=null&&pe.customSeriesData[de]){const{headColor:ge,text:Se}=(me=n.option)==null?void 0:me.customSeriesData[de];return`<span style='color:${ge||"#000"};'>${(Se??"")!==""?Se:he}</span>`}return he}),data:n.option.dataset.source.map(de=>n.option.dataset.dimensions.map(he=>{var me,ge;const pe=de[he];if((me=n.option)!=null&&me.customSeriesData[he]){const Se=(ge=n.option)==null?void 0:ge.customSeriesData[he];return`<span style='color:${(Se==null?void 0:Se.color)||"#000"};'>${F(pe,Se)}</span>`}return pe})),align:vue.unref(f).map(de=>de.textAlign),index:n.option.showIndex,indexHeader:n.option.indexHeader,waitTime:n.option.waitTime?n.option.waitTime*1e3:2e3,headerHeight:n.option.headerHeight??35,carousel:n.option.carousel||"single",rowNum:n.option.rowNum??5,headerBGC:n.option.headerBGC||"#f6f8fa",oddRowBGC:n.option.oddRowBGC||"#fff",evenRowBGC:n.option.evenRowBGC||"#fff",columnWidth:vue.unref(f).map(de=>de.width)},onClick:$,style:vue.normalizeStyle({width:"100%",height:U.maxHeight})},null,8,["config","style"])):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createElementVNode("div",_hoisted_3$2,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(f),de=>(vue.openBlock(),vue.createElementBlock("div",{style:vue.normalizeStyle({height:`${n.option.headerHeight??35}px`,background:n.option.headerBGC||"#f6f8fa",color:`${de.headColor||"#000"}`,justifyContent:de.textAlign,flex:de.width?`0 0 ${de.width}px`:1,padding:"0 10px",fontSize:"var(--fontSize)",overflow:"hidden"}),class:"flex items-center"},vue.toDisplayString(de.text||de.key),5))),256))]),vue.createVNode(vue.unref(elementPlus.ElScrollbar),{"max-height":U.maxHeight},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(n.option.dataset.source,(de,he)=>(vue.openBlock(),vue.createElementBlock("div",{class:"flex cursor-pointer",onClick:vue.withModifiers(pe=>V(pe,{rowIndex:he}),["stop"])},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(f),pe=>{var me,ge;return vue.openBlock(),vue.createElementBlock("div",{class:"flex items-center flex-1",style:vue.normalizeStyle({height:`${n.option.headerHeight||35}px`,color:`${pe.color||"#000"}`,justifyContent:pe.textAlign,flex:pe.width?`0 0 ${pe.width}px`:1,padding:"5px 10px",fontSize:"var(--fontSize)",background:he%2==0?((me=n.option)==null?void 0:me.evenRowBGC)||"#fff":((ge=n.option)==null?void 0:ge.oddRowBGC)||"#fff"})},[pe.index?(vue.openBlock(),vue.createElementBlock("span",{key:0,class:"inline-flex items-center justify-center h-4 rounded",style:vue.normalizeStyle({color:"#fff",background:n.option.headerBGC||"#f6f8fa",padding:"0 3px"})},vue.toDisplayString(he+1),5)):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(F(de[pe.key],pe)),1)],64))],4)}),256))],8,_hoisted_4$2))),256))]),_:1},8,["max-height"])],64)),vue.unref(f).some(de=>de.sum)?(vue.openBlock(),vue.createBlock(vue.unref(Tl),{key:2,config:{header:n.option.dataset.dimensions.map(de=>{var he;return(he=n.option)!=null&&he.customSeriesData[de]?v(de):""}),indexHeader:"合计",align:vue.unref(f).map(de=>de.textAlign),index:n.option.showIndex,headerHeight:n.option.headerHeight||35,headerBGC:n.option.headerBGC||"#f6f8fa",columnWidth:vue.unref(f).map(de=>de.width)},style:{width:"100%"}},null,8,["config"])):vue.createCommentVNode("",!0)],4)):vue.createCommentVNode("",!0)],64)):(Y=(q=n.option)==null?void 0:q.series)!=null&&Y.length?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:3},[vue.unref(g).length>1?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElLink),{key:0,type:"primary",class:"absolute top-2.5 left-2.5 z-50",onClick:M},{default:vue.withCtx(()=>[vue.createTextVNode(" 返回 ")]),_:1})):vue.createCommentVNode("",!0),vue.createVNode(J,{option:n.option,autoresize:"",ref_key:"echartRef",ref:a,loading:U.loading,onClick:C,onMouseout:E},null,8,["option","loading"])],64)):vue.createCommentVNode("",!0),vue.createVNode(ee,{modelValue:vue.unref(c),"onUpdate:modelValue":G[0]||(G[0]=de=>vue.isRef(c)?c.value=de:null),title:"查看明细",size:"90%"},{default:vue.withCtx(()=>[vue.createVNode(te,{title:"统计:",class:"mb-2"}),vue.createVNode(ae,{height:null,tableData:Object.keys(vue.unref(_)).map(de=>({label:de,prop:de})),list:[vue.unref(_)],loading:!1},null,8,["tableData","list"]),vue.createVNode(te,{title:"钻取明细:",class:"mt-4 mb-2"}),vue.createVNode(j,{id:vue.unref(y).modelId,keyName:"modelIndicatorsId",title:vue.unref(y).modelName,isDownLoad:!0,url:"/api/ace-data-center/model-indicators/drilling",formatParamsFunc:b},null,8,["id","title"])]),_:1},8,["modelValue"]),n.isCheckClick&&n.indicatorsId?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:4},[vue.withDirectives(vue.createElementVNode("div",{class:"tooltip",ref_key:"hoveredElement",ref:u,onMouseover:w,onMouseout:E,style:vue.normalizeStyle({position:"absolute",left:vue.unref(x).x+"px",top:vue.unref(x).y+"px"})},[(oe=(X=U.option)==null?void 0:X.dataShow)!=null&&oe.deep?(vue.openBlock(),vue.createElementBlock("div",{key:0,onClick:B},[_hoisted_5,vue.createTextVNode(" 数据下钻 ")])):vue.createCommentVNode("",!0),(ne=(W=U.option)==null?void 0:W.dataShow)!=null&&ne.deep2&&((Q=(H=U.option)==null?void 0:H.dataShow)!=null&&Q.deep2Id)?(vue.openBlock(),vue.createElementBlock("div",{key:1,onClick:T},[_hoisted_6,vue.createTextVNode(" 二级指标 ")])):vue.createCommentVNode("",!0),(ie=(re=U.option)==null?void 0:re.dataShow)!=null&&ie.fullscreen&&((ce=(ue=U.option)==null?void 0:ue.dataShow)!=null&&ce.fullscreenId)&&((ve=(fe=U.option)==null?void 0:fe.dataShow)!=null&&ve.fullscreenName)?(vue.openBlock(),vue.createElementBlock("div",{key:2,onClick:D},[_hoisted_7,vue.createTextVNode(" "+vue.toDisplayString(U.option.dataShow.fullscreenName),1)])):vue.createCommentVNode("",!0)],36),[[vue.vShow,vue.unref(x).x&&vue.unref(x).y]]),vue.createVNode(_sfc_main$4,{ref_key:"appDeepRef",ref:l},null,512),vue.createVNode(vue.unref(elementPlus.ElDialog),{class:"ace-screen-dialog",modelValue:vue.unref(N),"onUpdate:modelValue":G[2]||(G[2]=de=>vue.isRef(N)?N.value=de:null),"append-to-body":"","destroy-on-close":"","close-on-click-modal":!1,"close-on-press-escape":!1},{default:vue.withCtx(()=>[vue.createElementVNode("div",{onClick:G[1]||(G[1]=vue.withModifiers(de=>N.value=!1,["stop"])),class:"ace-screen-dialog-close"},_hoisted_9),vue.createElementVNode("iframe",{src:vue.unref(O).data},null,8,_hoisted_10)]),_:1},8,["modelValue"])],64)):vue.createCommentVNode("",!0)],64)}}}),AppCustomChart_vue_vue_type_style_index_0_scoped_d99381eb_lang="",aceCustomChart=_export_sfc$2(_sfc_main$3,[["__scopeId","data-v-d99381eb"]]),_hoisted_1$2={class:"appChart"},_hoisted_2$2={key:2,class:"relative fadeIn animated",style:{height:"500px"}},_sfc_main$2=vue.defineComponent({__name:"AppChart",props:{type:{default:""},options:{default:null},loading:{type:Boolean,default:!1}},setup(i){const n=i,r=vue.ref(null);return vue.watch(()=>n.options,async o=>{if(o){if(n.type==9){const{code:a,mapName:l}=n.options,s=await fetch(`/map/${a}.json`).then(u=>u.json());core.registerMap(l,s)}r.value=n.options}},{deep:!0}),(o,a)=>{const l=vue.resolveComponent("aceCustomChart"),s=vue.resolveComponent("AppEmpty"),u=vue.resolveComponent("AppTable"),c=vue.resolveComponent("v-chart");return vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",_hoisted_1$2,[["7","10"].includes(String(o.type))?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[typeof o.options=="object"?(vue.openBlock(),vue.createBlock(l,{key:0,option:o.options,chartType:String(o.type)},null,8,["option","chartType"])):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(o.options),1)],64))],64)):o.type==8?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[o.options.length==0?(vue.openBlock(),vue.createBlock(s,{key:0,description:"暂无数据"})):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[Array.isArray(o.options)?(vue.openBlock(),vue.createBlock(u,{key:1,tableData:Object.keys(o.options[0]).map(d=>({label:d,prop:d})),list:o.options},null,8,["tableData","list"])):(vue.openBlock(),vue.createBlock(l,{key:0,option:o.options,chartType:String(o.type)},null,8,["option","chartType"]))],64))],64)):vue.unref(r)&&typeof vue.unref(r)=="object"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$2,[vue.createVNode(c,{ref:"echart",option:vue.unref(r),autoresize:""},null,8,["option"])])):vue.createCommentVNode("",!0)])),[[vue.unref(elementPlus.vLoading),o.type==""||o.loading]])}}}),_hoisted_1$1={class:"flex items-center justify-between app-header"},_hoisted_2$1={class:"flex items-center"},_hoisted_3$1=vue.createElementVNode("span",{class:"inline-block w-1 h-4 mr-2",style:{background:"var(--el-color-primary)"}},null,-1),_hoisted_4$1={class:"text-base font-bold"},_sfc_main$1=vue.defineComponent({__name:"AppHeader",props:{title:{default:""}},setup(i){return(n,r)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1,[vue.createElementVNode("div",_hoisted_2$1,[_hoisted_3$1,vue.createElementVNode("span",_hoisted_4$1,vue.toDisplayString(n.title),1),vue.renderSlot(n.$slots,"left")]),vue.renderSlot(n.$slots,"default")]))}}),_hoisted_1=["width","height"],_hoisted_2=["fill"],_hoisted_3=vue.createElementVNode("animateTransform",{attributeType:"xml",attributeName:"transform",type:"rotate",from:"0 25 25",to:"360 25 25",dur:"0.6s",repeatCount:"indefinite"},null,-1),_hoisted_4=[_hoisted_3],_sfc_main=vue.defineComponent({__name:"AppLoading",props:{color:{default:"#5887da"},size:{default:"10"}},setup(i){const n=i;return(r,o)=>(vue.openBlock(),vue.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:`${n.size}px`,height:`${n.size}px`,viewBox:"0 0 50 50","xml:space":"preserve"},[vue.createElementVNode("path",{fill:r.color,d:"M25.251,6.461c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615V6.461z",transform:"rotate(275.098 25 25)"},_hoisted_4,8,_hoisted_2)],8,_hoisted_1))}}),aceComponentsLib={install(i,n){if(console.log(`ace-component-lib-${version}`),i.use(t),i.component("aceBigScreen",aceBigScreen),i.component("aceBigScreenPreview",aceBigScreenPreview),i.component("aceBigScreenPreviewSlide",aceBigScreenPriviewSlide),i.component("aceIndicatorReport",aceIndicatorReport),editor.Boot&&editor.Boot.registerModule(aceIndicatorReportPlugin),i.component("aceIndicator",_sfc_main$1c),i.component("aceIndicatorPreview",_sfc_main$1f),i.component("aceIndicatorSystemPreview",aceIndicatorSystemPreview),i.component("aceIndicatorDesign",aceIndicatorDesign),i.component("aceIndicatorCustomSearch",aceIndicatorCustomSearch),i.component("aceCustomChart",aceCustomChart),i.component("aceChart",_sfc_main$2),i.component("aceSqLIntergration",_sfc_main$U),i.component("aceSqLImport",_sfc_main$16),i.component("aceDbShadow",_sfc_main$11),i.component("aceFlow",aceFlow),i.component("aceModel",_sfc_main$i),i.component("aceApiImport",_sfc_main$d),i.component("aceDynamicList",aceDynamicList),i.component("aceDynamicSearch",aceDynamicSearch),i.component("aceDynamicSearchEdit",aceDynamicSearchEdit),i.component("aceModelSearchSetting",_sfc_main$x),i.component("aceModelConn",_sfc_main$M),i.component("aceModelSql",_sfc_main$L),i.component("aceModelNormal",_sfc_main$K),i.component("aceModelExcel",_sfc_main$J),i.component("aceModelExtract",_sfc_main$I),i.component("aceModelExtractLog",_sfc_main$F),i.component("aceModelView",aceModelView),i.component("aceModelDbExtract",_sfc_main$y),i.component("aceHeader",_sfc_main$1),i.component("aceLoading",_sfc_main),n!=null&&n.components)for(const[r,o]of Object.entries(n.components)){const a=r.replace(".vue","").split("/").at(-1);i.component(a,o.default)}n!=null&&n.dict&&(i.config.globalProperties.$globalDict=n.dict),n!=null&&n.exportExcel&&(i.config.globalProperties.$baseExportExcel=n.exportExcel),n!=null&&n.utils&&(i.config.globalProperties.$globalUtils=n.utils),n!=null&&n.predefineColors&&(i.config.globalProperties.$globalPreColor=n.predefineColors),n!=null&&n.hooks&&(i.config.globalProperties.$globalHooks=n.hooks),i.config.globalProperties.$aceDynamicSearch=useDynamicSearch}},index={aceComponentsLib};return index});
1083
+ `;var __decorate=globalThis&&globalThis.__decorate||function(i,n,r,o){var a=arguments.length,l=a<3?n:o===null?o=Object.getOwnPropertyDescriptor(n,r):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")l=Reflect.decorate(i,n,r,o);else for(var u=i.length-1;u>=0;u--)(s=i[u])&&(l=(a<3?s(l):a>3?s(n,r,l):s(n,r))||l);return a>3&&l&&Object.defineProperty(n,r,l),l};class Dnd extends View{get targetScroller(){return this.options.target.getPlugin("scroller")}get targetGraph(){return this.options.target}get targetModel(){return this.targetGraph.model}get snapline(){return this.options.target.getPlugin("snapline")}constructor(n){super(),this.name="dnd",this.options=Object.assign(Object.assign({},Dnd.defaults),n),this.init()}init(){ensure(this.name,content),this.container=document.createElement("div"),addClass(this.container,this.prefixClassName("widget-dnd")),this.draggingGraph=new Graph(Object.assign(Object.assign({},this.options.delegateGraphOptions),{container:document.createElement("div"),width:1,height:1,async:!1})),append(this.container,this.draggingGraph.container)}start(n,r){const o=r;o.preventDefault(),this.targetModel.startBatch("dnd"),addClass(this.container,"dragging"),appendTo(this.container,this.options.draggingContainer||document.body),this.sourceNode=n,this.prepareDragging(n,o.clientX,o.clientY);const a=this.updateNodePosition(o.clientX,o.clientY);this.isSnaplineEnabled()&&(this.snapline.captureCursorOffset({e:o,node:n,cell:n,view:this.draggingView,x:a.x,y:a.y}),this.draggingNode.on("change:position",this.snap,this)),this.delegateDocumentEvents(Dnd.documentEvents,o.data)}isSnaplineEnabled(){return this.snapline&&this.snapline.isEnabled()}prepareDragging(n,r,o){const a=this.draggingGraph,l=a.model,s=this.options.getDragNode(n,{sourceNode:n,draggingGraph:a,targetGraph:this.targetGraph});s.position(0,0);let u=5;if(this.isSnaplineEnabled()&&(u+=this.snapline.options.tolerance||0),this.isSnaplineEnabled()||this.options.scaled){const f=this.targetGraph.transform.getScale();a.scale(f.sx,f.sy),u*=Math.max(f.sx,f.sy)}else a.scale(1,1);this.clearDragging(),l.resetCells([s]);const c=a.findViewByCell(s);c.undelegateEvents(),c.cell.off("changed"),a.fitToContent({padding:u,allowNewOrigin:"any",useCellGeometry:!1});const d=c.getBBox();this.geometryBBox=c.getBBox({useCellGeometry:!0}),this.delta=this.geometryBBox.getTopLeft().diff(d.getTopLeft()),this.draggingNode=s,this.draggingView=c,this.draggingBBox=s.getBBox(),this.padding=u,this.originOffset=this.updateGraphPosition(r,o)}updateGraphPosition(n,r){const o=document.body.scrollTop||document.documentElement.scrollTop,a=document.body.scrollLeft||document.documentElement.scrollLeft,l=this.delta,s=this.geometryBBox,u=this.padding||5,c={left:n-l.x-s.width/2-u+a,top:r-l.y-s.height/2-u+o};return this.draggingGraph&&css(this.container,{left:`${c.left}px`,top:`${c.top}px`}),c}updateNodePosition(n,r){const o=this.targetGraph.clientToLocal(n,r),a=this.draggingBBox;return o.x-=a.width/2,o.y-=a.height/2,this.draggingNode.position(o.x,o.y),o}snap({cell:n,current:r,options:o}){const a=n;if(o.snapped){const l=this.draggingBBox;a.position(l.x+o.tx,l.y+o.ty,{silent:!0}),this.draggingView.translate(),a.position(r.x,r.y,{silent:!0}),this.snapOffset={x:o.tx,y:o.ty}}else this.snapOffset=null}onDragging(n){const r=this.draggingView;if(r){n.preventDefault();const o=this.normalizeEvent(n),a=o.clientX,l=o.clientY;this.updateGraphPosition(a,l);const s=this.updateNodePosition(a,l),u=this.targetGraph.options.embedding.enabled,c=(u||this.isSnaplineEnabled())&&this.isInsideValidArea({x:a,y:l});if(u){r.setEventData(o,{graph:this.targetGraph,candidateEmbedView:this.candidateEmbedView});const d=r.getEventData(o);c?r.processEmbedding(o,d):r.clearEmbedding(d),this.candidateEmbedView=d.candidateEmbedView}this.isSnaplineEnabled()&&(c?this.snapline.snapOnMoving({e:o,view:r,x:s.x,y:s.y}):this.snapline.hide())}}onDragEnd(n){const r=this.draggingNode;if(r){const o=this.normalizeEvent(n),a=this.draggingView,l=this.draggingBBox,s=this.snapOffset;let u=l.x,c=l.y;s&&(u+=s.x,c+=s.y),r.position(u,c,{silent:!0});const d=this.drop(r,{x:o.clientX,y:o.clientY}),f=p=>{p?(this.onDropped(r),this.targetGraph.options.embedding.enabled&&a&&(a.setEventData(o,{cell:p,graph:this.targetGraph,candidateEmbedView:this.candidateEmbedView}),a.finalizeEmbedding(o,a.getEventData(o)))):this.onDropInvalid(),this.candidateEmbedView=null,this.targetModel.stopBatch("dnd")};isAsync(d)?(this.undelegateDocumentEvents(),d.then(f)):f(d)}}clearDragging(){this.draggingNode&&(this.sourceNode=null,this.draggingNode.remove(),this.draggingNode=null,this.draggingView=null,this.delta=null,this.padding=null,this.snapOffset=null,this.originOffset=null,this.undelegateDocumentEvents())}onDropped(n){this.draggingNode===n&&(this.clearDragging(),removeClass(this.container,"dragging"),remove(this.container))}onDropInvalid(){const n=this.draggingNode;n&&this.onDropped(n)}isInsideValidArea(n){let r,o=null;const a=this.targetGraph,l=this.targetScroller;this.options.dndContainer&&(o=this.getDropArea(this.options.dndContainer));const s=o&&o.containsPoint(n);if(l)if(l.options.autoResize)r=this.getDropArea(l.container);else{const u=this.getDropArea(l.container);r=this.getDropArea(a.container).intersectsWithRect(u)}else r=this.getDropArea(a.container);return!s&&r&&r.containsPoint(n)}getDropArea(n){const r=offset$1(n),o=document.body.scrollTop||document.documentElement.scrollTop,a=document.body.scrollLeft||document.documentElement.scrollLeft;return Rectangle.create({x:r.left+parseInt(css(n,"border-left-width"),10)-a,y:r.top+parseInt(css(n,"border-top-width"),10)-o,width:n.clientWidth,height:n.clientHeight})}drop(n,r){if(this.isInsideValidArea(r)){const o=this.targetGraph,a=o.model,l=o.clientToLocal(r),s=this.sourceNode,u=this.options.getDropNode(n,{sourceNode:s,draggingNode:n,targetGraph:this.targetGraph,draggingGraph:this.draggingGraph}),c=u.getBBox();l.x+=c.x-c.width/2,l.y+=c.y-c.height/2;const d=this.snapOffset?1:o.getGridSize();u.position(GeometryUtil.snapToGrid(l.x,d),GeometryUtil.snapToGrid(l.y,d)),u.removeZIndex();const f=this.options.validateNode,p=f?f(u,{sourceNode:s,draggingNode:n,droppingNode:u,targetGraph:o,draggingGraph:this.draggingGraph}):!0;return typeof p=="boolean"?p?(a.addCell(u,{stencil:this.cid}),u):null:toDeferredBoolean(p).then(v=>v?(a.addCell(u,{stencil:this.cid}),u):null)}return null}onRemove(){this.draggingGraph&&(this.draggingGraph.view.remove(),this.draggingGraph.dispose())}dispose(){this.remove(),clean(this.name)}}__decorate([View.dispose()],Dnd.prototype,"dispose",null),function(i){i.defaults={getDragNode:n=>n.clone(),getDropNode:n=>n.clone()},i.documentEvents={mousemove:"onDragging",touchmove:"onDragging",mouseup:"onDragEnd",touchend:"onDragEnd",touchcancel:"onDragEnd"}}(Dnd||(Dnd={}));const _hoisted_1$b=["data-type"],_sfc_main$c=vue.defineComponent({__name:"start",props:{label:{default:""}},setup(i){const n=vue.inject("getNode"),r={excel:"ri-file-excel-2-line",sql:"ri-database-2-line",api:"ri-links-line"},o=vue.ref("");if(n){const{modelName:a}=n().data;o.value=a}return(a,l)=>(vue.openBlock(),vue.createElementBlock("div",{"data-type":a.label,class:"w-14 h-14 item text-white flex flex-col items-center justify-center rounded cursor-move start-item"},[vue.createElementVNode("span",null,vue.toDisplayString(vue.unref(o)||a.label),1),vue.createElementVNode("i",{class:vue.normalizeClass([r[(vue.unref(o)||a.label).toLowerCase()],"text-2xl"])},null,2)],8,_hoisted_1$b))}}),start_vue_vue_type_style_index_0_scoped_3e1d0a9f_lang="",Start=_export_sfc$2(_sfc_main$c,[["__scopeId","data-v-3e1d0a9f"]]),_withScopeId$5=i=>(vue.pushScopeId("data-v-35e93650"),i=i(),vue.popScopeId(),i),_hoisted_1$a={class:"widget"},_hoisted_2$8={class:"widget-title"},_hoisted_3$7={class:"flex items-center flex-1"},_hoisted_4$7={key:0,class:"flex items-center justify-start flex-1"},_hoisted_5$5=_withScopeId$5(()=>vue.createElementVNode("i",{class:"mr-1 ri-edit-line"},null,-1)),_hoisted_6$5=_withScopeId$5(()=>vue.createElementVNode("i",{class:"mr-1 ri-file-text-line"},null,-1)),_hoisted_7$5={key:0,class:"flex items-center justify-start flex-1"},_hoisted_8$5=_withScopeId$5(()=>vue.createElementVNode("i",{class:"mr-1 ri-folder-received-line"},null,-1)),_hoisted_9$5={class:"flex items-center justify-end flex-1"},_hoisted_10$4=_withScopeId$5(()=>vue.createElementVNode("i",{class:"mr-1 ri-file-text-line"},null,-1)),_hoisted_11$2={key:0,class:"flex justify-start flex-1"},_hoisted_12$1={key:1,class:"flex items-center justify-end flex-1"},_hoisted_13$1=_withScopeId$5(()=>vue.createElementVNode("i",{class:"mr-1 ri-refresh-line"},null,-1)),_hoisted_14$1={key:2,class:"flex items-center justify-end flex-1"},_hoisted_15=_withScopeId$5(()=>vue.createElementVNode("i",{class:"mr-1 ri-file-text-line"},null,-1)),_hoisted_16={key:0,class:"flex items-center justify-start flex-1"},_hoisted_17=_withScopeId$5(()=>vue.createElementVNode("i",{class:"mr-1 ri-edit-line"},null,-1)),_hoisted_18={key:1,class:"flex items-center justify-end flex-1"},_hoisted_19=_withScopeId$5(()=>vue.createElementVNode("i",{class:"mr-1 ri-refresh-line"},null,-1)),_hoisted_20={key:2,class:"flex items-center justify-end flex-1"},_hoisted_21=_withScopeId$5(()=>vue.createElementVNode("i",{class:"mr-1 ri-file-text-line"},null,-1)),_hoisted_22=["innerHTML"],_hoisted_23={class:"widget-container"},_hoisted_24={class:"flex items-center justify-center mr-2"},_hoisted_25={class:"text-yellow-600"},_hoisted_26={class:"text-yellow-600"},_sfc_main$b=vue.defineComponent({__name:"widget",props:{frameType:{default:""},activeName:{default:""},flowSql:{type:[Function,null],default:null},historyClick:{type:[Function,null],default:null},errorClick:{type:[Function,null],default:null},dataImport:{type:[Function,null],default:null},modelList:{type:[Function,null],default:null}},setup(i){const n=i,r={date:"日",month:"月",year:"年"},o=vue.ref({}),a=vue.inject("getNode"),l=vue.computed(()=>vue.unref(s)=="error"?'<i class="text-red-700 ri-error-warning-fill"></i>':vue.unref(s)=="warning"?'<i class="text-yellow-500 ri-error-warning-fill"></i>':'<i class="text-color-success ri-checkbox-circle-fill"></i>'),s=vue.computed(()=>{var v,m;return((m=(v=vue.unref(o))==null?void 0:v.nodeStatus)==null?void 0:m.status)??""}),u=()=>{var v,m;n.flowSql&&n.flowSql({modelId:(v=vue.unref(o))==null?void 0:v.id,modelName:(m=vue.unref(o))==null?void 0:m.modelName})},c=()=>{var v,m;n.dataImport&&n.dataImport({modelId:(v=vue.unref(o))==null?void 0:v.id,modelName:(m=vue.unref(o))==null?void 0:m.modelName})},d=async()=>{var v;n.historyClick&&n.historyClick((v=vue.unref(o))==null?void 0:v.id,"db_extract")},f=v=>{n.historyClick&&n.historyClick(v)},p=()=>{var v,m;n.modelList&&n.modelList({modelId:(v=vue.unref(o))==null?void 0:v.id,modelName:(m=vue.unref(o))==null?void 0:m.modelName})};return a&&(o.value=a().data),(v,m)=>{var g,_,y,b,x;return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$a,[vue.createElementVNode("div",_hoisted_2$8,[vue.createElementVNode("span",{class:vue.normalizeClass(["mr-2",vue.unref(o).modelLayer])},vue.toDisplayString(vue.unref(o).modelLayer),3),vue.createElementVNode("div",_hoisted_3$7,[v.activeName=="flow-msg"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.unref(o).modelLayer=="DWD"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[v.frameType=="backend"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_4$7,[_hoisted_5$5,vue.createElementVNode("span",{class:"cursor-pointer",onClick:vue.withModifiers(u,["stop"])},"编辑SQL")])):vue.createCommentVNode("",!0),vue.createElementVNode("div",{class:"flex items-center justify-end flex-1"},[_hoisted_6$5,vue.createElementVNode("span",{class:"cursor-pointer",onClick:d},"抽取记录")])],64)):vue.createCommentVNode("",!0),vue.unref(o).modelLayer=="ODS"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[v.frameType=="backend"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_7$5,[_hoisted_8$5,vue.createElementVNode("span",{class:"cursor-pointer",onClick:vue.withModifiers(c,["stop"])},"数据导入")])):vue.createCommentVNode("",!0),vue.createElementVNode("div",_hoisted_9$5,[_hoisted_10$4,vue.createElementVNode("span",{class:"cursor-pointer",onClick:m[0]||(m[0]=vue.withModifiers(C=>{var w;return f((w=vue.unref(o))==null?void 0:w.id)},["stop"]))}," 导入历史 ")])],64)):vue.createCommentVNode("",!0)],64)):vue.createCommentVNode("",!0),v.activeName=="flow-monitor"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.unref(o).modelLayer=="ODS"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.unref(o).selfEventType?(vue.openBlock(),vue.createElementBlock("div",_hoisted_11$2," 按"+vue.toDisplayString(r[vue.unref(o).selfEventType])+"更新 ",1)):vue.createCommentVNode("",!0),["error","warning"].includes(vue.unref(s))?(vue.openBlock(),vue.createElementBlock("div",_hoisted_12$1,[_hoisted_13$1,vue.createElementVNode("span",{class:"cursor-pointer",onClick:vue.withModifiers(c,["stop"])},"去更新")])):vue.createCommentVNode("",!0),["success"].includes(vue.unref(s))?(vue.openBlock(),vue.createElementBlock("div",_hoisted_14$1,[_hoisted_15,vue.createElementVNode("span",{class:"cursor-pointer",onClick:m[1]||(m[1]=vue.withModifiers(C=>{var w;return f((w=vue.unref(o))==null?void 0:w.id)},["stop"]))}," 历史记录 ")])):vue.createCommentVNode("",!0)],64)):vue.createCommentVNode("",!0),vue.unref(o).modelLayer=="DWD"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[v.frameType=="backend"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_16,[_hoisted_17,vue.createElementVNode("span",{class:"cursor-pointer",onClick:vue.withModifiers(u,["stop"])},"编辑SQL")])):vue.createCommentVNode("",!0),["error","warning"].includes(vue.unref(s))?(vue.openBlock(),vue.createElementBlock("div",_hoisted_18,[_hoisted_19,vue.createElementVNode("span",{class:"cursor-pointer",onClick:vue.withModifiers(d,["stop"])},"重新运行")])):vue.createCommentVNode("",!0),vue.unref(s)=="success"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_20,[_hoisted_21,vue.createElementVNode("span",{class:"cursor-pointer",onClick:vue.withModifiers(d,["stop"])},"抽取记录")])):vue.createCommentVNode("",!0)],64)):vue.createCommentVNode("",!0)],64)):vue.createCommentVNode("",!0)]),vue.unref(s)?(vue.openBlock(),vue.createElementBlock("span",{key:0,class:"status",innerHTML:vue.unref(l)},null,8,_hoisted_22)):vue.createCommentVNode("",!0)]),vue.createElementVNode("div",_hoisted_23,[vue.createElementVNode("div",_hoisted_24,[vue.createElementVNode("i",{class:"mr-2 text-base cursor-pointer ri-box-3-fill text-color-info",onClick:vue.withModifiers(p,["stop"])}),vue.createElementVNode("span",null,vue.toDisplayString((g=vue.unref(o))==null?void 0:g.modelName),1)]),vue.createElementVNode("div",{class:"cursor-pointer whitespace-nowrap",onClick:m[2]||(m[2]=vue.withModifiers(C=>v.errorClick&&v.errorClick(vue.unref(o)),["stop"]))},[vue.unref(s)=="error"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createElementVNode("span",_hoisted_25,vue.toDisplayString((_=vue.unref(o))==null?void 0:_.nodeStatus.extractErrorCount)+"失败",1),vue.createTextVNode(" /"+vue.toDisplayString((y=vue.unref(o))==null?void 0:y.nodeStatus.extractAllCount),1)],64)):vue.createCommentVNode("",!0),vue.unref(s)=="warning"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createElementVNode("span",_hoisted_26,vue.toDisplayString((b=vue.unref(o))==null?void 0:b.nodeStatus.extractNotStartedCount)+"未更新 ",1),vue.createTextVNode(" /"+vue.toDisplayString((x=vue.unref(o))==null?void 0:x.nodeStatus.extractAllCount),1)],64)):vue.createCommentVNode("",!0)])])])}}}),widget_vue_vue_type_style_index_0_scoped_35e93650_lang="",Widget=_export_sfc$2(_sfc_main$b,[["__scopeId","data-v-35e93650"]]);function useFlow(i,n,r,o){const{proxy:a}=vue.getCurrentInstance(),l={circle:{r:4,magnet:!0,stroke:"#2D8CF0",strokeWidth:2,fill:"#fff",style:{visibility:"hidden"}}},s={groups:{top:{position:"top",attrs:l},bottom:{position:"bottom",attrs:l},left:{position:"left",attrs:l},right:{position:"right",attrs:l}},items:[{group:"top"},{group:"bottom"},{group:"left"},{group:"right"}]},u=vue.ref(null),c=vue.ref(null),d=vue.ref(null),f=vue.ref(!1),p=vue.ref(null),v=vue.ref("flow-msg"),m=vue.ref({canRedo:!1,canUndo:!1});register({shape:"Start",width:56,height:56,component:Start}),register({shape:"Widget",width:210,height:70,component:{render:()=>vue.h(Widget,{frameType:n,activeName:v.value,historyClick:(x,C)=>{if(!x){a.$message.warning("暂无数据");return}o&&o("flow-history-click",{modelId:x,businessType:C,table:C=="db_extract"?[{label:"执行时间",prop:"createTime"},{label:"数据总数",prop:"totalNum"},{label:"成功数",prop:"successNum"},{label:"失败数",prop:"failNum",func:w=>w.failNum??0},{label:"协同参数",prop:"collaborateValue"},{label:"操作",prop:"action",slot:!0,fixed:"right"}]:null,ajaxUrl:C=="db_extract"?`/api/ace-data-center/extract-log/listCollaborateExtractLogPage?descs=create_time&modelId=${x}`:""})},errorClick:x=>{a.$baseEventBus.emit("flow-warning-list",x)},dataImport:x=>{o&&o("flow-data-import",x)},modelList:x=>{o&&o("flow-model-data",x)},flowSql:x=>{o&&o("flow-sql",x)}})}}),vue.nextTick(()=>{const x=document.getElementById(i);x&&(u.value=new Graph({container:x,autoResize:!0,panning:!1,mousewheel:!1,background:{color:"#F2F7FA"},connecting:{router:"manhattan",connector:{name:"rounded",args:{radius:20}},anchor:"center",connectionPoint:"anchor",allowBlank:!1,highlight:!0,allowLoop:!1,allowMulti:!1,snap:{radius:20},createEdge(){return new Edge({attrs:{line:{stroke:"#A2B1C3",strokeWidth:2,targetMarker:{name:"block",width:12,height:8},style:{animation:"ant-line 30s infinite linear"}}},zIndex:0,position:{distance:.5}})}},grid:{visible:!0,type:"mesh",args:{color:"#eeeeee",thickness:2}}}),vue.unref(u).use(new Snapline({enabled:!0})).use(new Keyboard({enabled:!0})).use(new Selection({enabled:!0})).use(new History({enabled:!0})).use(new Clipboard({enabled:!0})).use(new Scroller({pannable:!0})),r&&r(),vue.unref(u).on("history:change",()=>{m.value.canRedo=vue.unref(u).canRedo(),m.value.canUndo=vue.unref(u).canUndo()}),vue.unref(u).on("node:mouseenter",()=>{const C=x.querySelectorAll(".x6-port-body");for(let w=0,E=C.length;w<E;w+=1)C[w].style.visibility="visible"}),vue.unref(u).on("node:mouseleave",()=>{const C=x.querySelectorAll(".x6-port-body");for(let w=0,E=C.length;w<E;w+=1)C[w].style.visibility="hidden"}),vue.unref(u).on("cell:click",C=>{const{cell:w}=C;w.isNode()&&(d.value=w.data,p.value=w),f.value=!0}),vue.unref(u).on("blank:click",({})=>{d.value=null,f.value=!1}),vue.unref(u).on("edge:connected",C=>{b()}),vue.unref(u).on("edge:removed",C=>{const{cell:w}=C;vue.unref(u).getNodes().find($=>w.target.cell==$.id),b()}),vue.unref(u).bindKey(["meta+z","ctrl+z"],()=>{g("undo")}),vue.unref(u).bindKey(["meta+shift+z","ctrl+shift+z"],()=>{g("redo")}),vue.unref(u).bindKey("backspace",()=>{g("delete")}),vue.unref(u).bindKey(["ctrl+1","meta+1"],()=>{g("zoom-in")}),vue.unref(u).bindKey(["ctrl+2","meta+2"],()=>{g("zoom-out")}),c.value=new Dnd({target:u.value,scaled:!1,validateNode:C=>{const{cells:w}=vue.unref(u).toJSON();if(w.some(E=>E.shape=="Start")&&C.shape=="Start")return elementPlus.ElMessage({type:"warning",message:"开始节点只允许一个",plain:!0}),!1;if(w.some(E=>{var $,S;return(($=E==null?void 0:E.data)==null?void 0:$.id)==((S=C==null?void 0:C.data)==null?void 0:S.id)})&&C.shape=="Widget")return elementPlus.ElMessage({type:"warning",message:"已存在模型",plain:!0}),!1;vue.unref(u).cleanSelection(),setTimeout(()=>{vue.unref(u).select(C),d.value=C.data})}}))});const g=x=>{switch(x){case"zoom-in":vue.unref(u).zoom()<1.5&&vue.unref(u).zoom(.1);break;case"zoom-out":vue.unref(u).zoom()>.5&&vue.unref(u).zoom(-.1);break;case"undo":if(vue.unref(v)=="flow-monitor")return;vue.unref(u).canUndo()&&(vue.unref(u).undo(),d.value=null);break;case"redo":if(vue.unref(v)=="flow-monitor")return;vue.unref(u).canRedo()&&(vue.unref(u).redo(),d.value=null);break;case"copy":if(vue.unref(v)=="flow-monitor")return;const C=vue.unref(u).getSelectedCells();if(C.length){vue.unref(u).copy(C),elementPlus.ElMessage({type:"success",message:"复制成功",plain:!0});return}elementPlus.ElMessage({type:"warning",message:"未选择模型",plain:!0});break;case"paste":if(vue.unref(v)=="flow-monitor")return;if(!vue.unref(u).isClipboardEmpty()){const w=vue.unref(u).paste({offset:32});vue.unref(u).cleanSelection(),vue.unref(u).select(w),elementPlus.ElMessage({type:"success",message:"粘贴成功",plain:!0});return}elementPlus.ElMessage({type:"warning",message:"未复制模型",plain:!0});break;case"delete":{if(vue.unref(v)=="flow-monitor")return;const w=vue.unref(u).getSelectedCells();if(w.length){vue.unref(u).removeCells(w),d.value=null,elementPlus.ElMessage({type:"success",message:"删除成功",plain:!0});return}elementPlus.ElMessage({type:"warning",message:"未选择模型",plain:!0})}break}},_=x=>{if(v.value=="flow-monitor")return;const C=x.currentTarget,w=C.getAttribute("data-type");let E=null;switch(w.toLowerCase()){case"sql":case"api":case"excel":E=vue.unref(u).createNode({shape:"Start",ports:{groups:{bottom:{position:"bottom",attrs:l}},items:[{group:"bottom"}]},data:{modelName:w}});break;case"widget":E=vue.unref(u).createNode({shape:"Widget",ports:s,data:JSON.parse(C.getAttribute("data-value"))});break}vue.unref(c).start(E,x)},y={date:"日",month:"月",year:"年"},b=()=>{const x=vue.unref(u).getNodes();vue.unref(u).getEdges().forEach((w,E)=>{if(vue.unref(v)=="flow-monitor"){w.removeLabelAt(0);return}const $=x.find(S=>w.source.cell==S.id);x.find(S=>w.target.cell==S.id),$&&w.setLabels({attrs:{label:{text:$!=null&&$.data.selfEventType?`按${y[$==null?void 0:$.data.selfEventType]??""}`:"",fill:"#000",fontSize:12},body:{ref:"label",fill:"#fff",stroke:"#ffa940",strokeWidth:1,rx:4,ry:4,refWidth:"160%",refHeight:"160%",refX:"-30%",refY:"-30%"}}})})};return{graph:u,activeName:v,nodeObj:p,state:m,isDelete:f,selectWidget:d,handleEvent:g,handleStartDrag:_,handleSetLabels:b}}const _withScopeId$4=i=>(vue.pushScopeId("data-v-9b0e7581"),i=i(),vue.popScopeId(),i),_hoisted_1$9=_withScopeId$4(()=>vue.createElementVNode("div",{class:"title"},[vue.createElementVNode("i",{class:"ri-play-circle-line"}),vue.createElementVNode("span",null,"系统开始节点")],-1)),_hoisted_2$7={class:"mb-4 start"},_hoisted_3$6=_withScopeId$4(()=>vue.createElementVNode("i",{class:"ri-search-line"},null,-1)),_hoisted_4$6={class:"flex justify-between mt-2 mb-2 title"},_hoisted_5$4=_withScopeId$4(()=>vue.createElementVNode("i",{class:"ri-play-circle-line"},null,-1)),_hoisted_6$4={key:0},_hoisted_7$4=["data-value"],_hoisted_8$4=_withScopeId$4(()=>vue.createElementVNode("i",{class:"mr-2 text-base ri-box-3-fill text-color-info"},null,-1)),_hoisted_9$4={class:"flex-1 overflow-hidden whitespace-nowrap text-ellipsis"},_hoisted_10$3={key:1,class:"overflow-hidden font-bold whitespace-nowrap text-ellipsis"},_sfc_main$a=vue.defineComponent({__name:"menu",emits:["mouse-down","flow-dropdown-command"],setup(i,{expose:n,emit:r}){const o=r,{proxy:a}=vue.getCurrentInstance(),{loadModelMenu:l}=fetch$1(a).model,s=vue.ref(""),u=vue.ref([{label:"Excel"},{label:"Sql"},{label:"Api"}]),c=vue.ref([]),d=vue.ref(!0),f=vue.ref(null),p=vue.inject("frameType"),v=()=>{c.value=[],d.value=!0,Promise.all([l({modelLayer:"ODS"}),l({modelLayer:"DWD"})]).then(y=>{d.value=!1,y.forEach((b,x)=>{c.value.push({label:["ODS数据接入","DWD数据接入"][x],buttons:x?[{label:"抽取模型",value:"extract"}]:[{label:"数据源导入模型",value:"conn"},{label:"SQL新建模型",value:"sql"},{label:"手动新建模型",value:"normal"},{label:"Excel新建模型",value:"excel"}],list:Object.keys(b.data).map(C=>({modelName:C,id:C,children:b.data[C]}))})}),d.value=!1})};v(),vue.watch(s,y=>{vue.unref(f).forEach(b=>{b.filter(y)})});const m=(y,b)=>y?b.modelName.includes(y):!0,g=y=>{o("flow-dropdown-command",y)},_=y=>o("mouse-down",y);return n({init:v}),(y,b)=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[_hoisted_1$9,vue.createElementVNode("div",_hoisted_2$7,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(u),x=>(vue.openBlock(),vue.createBlock(Start,{key:x.value,label:x.label,onMousedown:_},null,8,["label"]))),128))]),vue.createVNode(vue.unref(elementPlus.ElInput),{placeholder:"请输入内容",clearable:"",modelValue:vue.unref(s),"onUpdate:modelValue":b[0]||(b[0]=x=>vue.isRef(s)?s.value=x:null),class:"mb-2"},{prefix:vue.withCtx(()=>[_hoisted_3$6]),_:1},8,["modelValue"]),vue.createVNode(vue.unref(elementPlus.ElSkeleton),{loading:vue.unref(d),animated:"",count:2},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(c),x=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:x.label},[vue.createElementVNode("div",_hoisted_4$6,[vue.createElementVNode("div",null,[_hoisted_5$4,vue.createElementVNode("span",null,vue.toDisplayString(x.label),1)]),vue.unref(p)=="backend"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_6$4,[vue.createVNode(vue.unref(elementPlus.ElDropdown),{onCommand:g},{dropdown:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElDropdownMenu),null,{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(x.buttons,C=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElDropdownItem),{key:C.value,command:C.value},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(C.label),1)]),_:2},1032,["command"]))),128))]),_:2},1024)]),default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElButton),{type:"primary",size:"small",plain:""},{default:vue.withCtx(()=>[vue.createTextVNode("创建模型")]),_:1})]),_:2},1024)])):vue.createCommentVNode("",!0)]),vue.createVNode(vue.unref(elementPlus.ElTree),{data:x.list,ref_for:!0,ref_key:"treeRef",ref:f,"filter-node-method":m,"empty-text":"暂无数据"},{default:vue.withCtx(({node:C,data:w})=>[C.level!=1?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"-ml-5 items","data-type":"widget",onMousedown:_,"data-value":JSON.stringify(w)},[_hoisted_8$4,vue.createElementVNode("span",_hoisted_9$4,vue.toDisplayString(w.modelName),1)],40,_hoisted_7$4)):(vue.openBlock(),vue.createElementBlock("span",_hoisted_10$3,vue.toDisplayString(w.modelName),1))]),_:2},1032,["data"])],64))),128))]),_:1},8,["loading"])],64))}}),menu_vue_vue_type_style_index_0_scoped_9b0e7581_lang="",Menu=_export_sfc$2(_sfc_main$a,[["__scopeId","data-v-9b0e7581"]]),_hoisted_1$8={class:"selectWidget animated fadeIn"},_sfc_main$9=vue.defineComponent({__name:"selectWidget",props:{selectWidget:{default:null},options:{default:{}}},emits:["change"],setup(i,{emit:n}){const r=n,o=[{label:"按日",value:"date"},{label:"按月",value:"month"},{label:"按年",value:"year"}],a=[{label:"按日",value:"date"},{label:"按月-需每天数据齐全",value:"every_day_of_month"},{label:"按月-仅需某天有数据",value:"some_day_of_month"},{label:"按年-需每月数据齐全",value:"every_month_of_year"},{label:"按年-仅需某月有数据",value:"some_month_of_year"}],l=(s,u)=>{r("change",s,u)};return(s,u)=>{const c=vue.resolveComponent("aceHeader");return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$8,[vue.createVNode(c,{title:"编辑",class:"mb-4"}),vue.createVNode(vue.unref(elementPlus.ElForm),{"label-width":"80px"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"名称"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(s.selectWidget.modelName),1)]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"触发本节点"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElRadioGroup),{modelValue:s.selectWidget.triggerEventType,"onUpdate:modelValue":u[0]||(u[0]=d=>s.selectWidget.triggerEventType=d),onChange:u[1]||(u[1]=d=>l("eventType",d))},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(a,d=>vue.createVNode(vue.unref(elementPlus.ElRadio),{key:d.value,value:d.value},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(d.label),1)]),_:2},1032,["value"])),64))]),_:1},8,["modelValue"])]),_:1}),vue.createVNode(vue.unref(elementPlus.ElFormItem),{label:"协同下节点"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElSelect),{filterable:"",modelValue:s.selectWidget.selfEventType,"onUpdate:modelValue":u[2]||(u[2]=d=>s.selectWidget.selfEventType=d),placeholder:"请选择",clearable:!1,"popper-class":"ace-select",onChange:u[3]||(u[3]=d=>l("selfEventType",d))},{default:vue.withCtx(()=>[(vue.openBlock(),vue.createElementBlock(vue.Fragment,null,vue.renderList(o,d=>vue.createVNode(vue.unref(elementPlus.ElOption),{label:d.label,value:d.value,key:d.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),{"popper-class":"ace-select",filterable:"",modelValue:s.selectWidget.collaborateField,"onUpdate:modelValue":u[4]||(u[4]=d=>s.selectWidget.collaborateField=d),placeholder:"请选择",clearable:!1},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(s.options[s.selectWidget.id]??[],d=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElOption),{label:d.attributeComment,value:d.attributeCode,key:d.attributeCode},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})])}}}),selectWidget_vue_vue_type_style_index_0_scoped_7d7aab66_lang="",SelectWidget=_export_sfc$2(_sfc_main$9,[["__scopeId","data-v-7d7aab66"]]),_withScopeId$3=i=>(vue.pushScopeId("data-v-1b91fe04"),i=i(),vue.popScopeId(),i),_hoisted_1$7={class:"pannel"},_hoisted_2$6={class:"overflow-hidden w-50"},_hoisted_3$5=_withScopeId$3(()=>vue.createElementVNode("span",{class:"ml-5 mr-2"},"快捷查询:",-1)),_hoisted_4$5=_withScopeId$3(()=>vue.createElementVNode("span",{class:"ml-10 mr-10 text-gray-300"},"|",-1)),_hoisted_5$3={class:"flex flex-1"},_hoisted_6$3=_withScopeId$3(()=>vue.createElementVNode("i",{class:"mr-1 text-yellow-500 ri-error-warning-fill"},null,-1)),_hoisted_7$3={class:"flex items-center ml-2 text-color-primary"},_hoisted_8$3=_withScopeId$3(()=>vue.createElementVNode("i",{class:"ml-1 ri-menu-line"},null,-1)),_hoisted_9$3=_withScopeId$3(()=>vue.createElementVNode("i",{class:"mr-1 text-red-700 ri-error-warning-fill"},null,-1)),_hoisted_10$2={class:"flex items-center ml-2 text-color-primary"},_hoisted_11$1=_withScopeId$3(()=>vue.createElementVNode("i",{class:"ml-1 ri-menu-line"},null,-1)),_sfc_main$8=vue.defineComponent({__name:"monitorPannel",props:{cellsData:{default:()=>[]},msg:{default:{}}},emits:["change"],setup(i,{expose:n,emit:r}){const o=i,{proxy:a}=vue.getCurrentInstance(),l=vue.ref([dayjs().subtract(1,"week").format("YYYY-MM-DD"),dayjs().format("YYYY-MM-DD")]),s=vue.ref(""),u=r,c=g=>{s.value=g[0]},d=()=>s.value="",f=()=>{u("change")},p=g=>s.value?g.getTime()<vue.unref(s).getTime()||g.getTime()>=new Date().getTime()||g.getTime()>vue.unref(s).getTime()+30*864e5:g.getTime()>Date.now(),v=g=>{let _="",y=dayjs().format("YYYY-MM-DD");switch(g){case 1:_=`${dayjs().format("YYYY-MM")}-01`;break;case 3:_=dayjs().subtract(3,"month").format("YYYY-MM-DD");break;case 6:_=dayjs().subtract(6,"month").format("YYYY-MM-DD");break}l.value=[_,y],f()},m=()=>{a.$baseEventBus.emit("flow-warning-list",o.cellsData)};return n({value:l}),(g,_)=>{var y,b;return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$7,[vue.createElementVNode("div",_hoisted_2$6,[vue.createVNode(vue.unref(elementPlus.ElDatePicker),{modelValue:vue.unref(l),"onUpdate:modelValue":_[0]||(_[0]=x=>vue.isRef(l)?l.value=x:null),type:"daterange",clearable:!1,"start-placeholder":"开始时间","end-placeholder":"结束时间",onVisibleChange:d,onCalendarChange:c,"value-format":"YYYY-MM-DD",onChange:f,"disabled-date":p},null,8,["modelValue"])]),_hoisted_3$5,vue.createElementVNode("span",{class:"ml-1 mr-2 cursor-pointer hover:text-blue-600",onClick:_[1]||(_[1]=x=>v(1))}," 本月 "),vue.createElementVNode("span",{class:"ml-1 mr-2 cursor-pointer hover:text-blue-600",onClick:_[2]||(_[2]=x=>v(3))}," 前三月 "),vue.createElementVNode("span",{class:"ml-1 mr-2 cursor-pointer hover:text-blue-600",onClick:_[3]||(_[3]=x=>v(6))}," 前六月 "),_hoisted_4$5,vue.createElementVNode("div",_hoisted_5$3,[vue.createElementVNode("div",{class:"flex items-center cursor-pointer",onClick:m},[_hoisted_6$3,vue.createTextVNode(" 未完成任务 "),vue.createElementVNode("span",_hoisted_7$3,[vue.createTextVNode(vue.toDisplayString((y=g.msg)==null?void 0:y.warning)+" ",1),_hoisted_8$3])]),vue.createElementVNode("div",{class:"flex items-center ml-10 cursor-pointer",onClick:m},[_hoisted_9$3,vue.createTextVNode(" 协同失败 "),vue.createElementVNode("span",_hoisted_10$2,[vue.createTextVNode(vue.toDisplayString((b=g.msg)==null?void 0:b.error)+" ",1),_hoisted_11$1])])])])}}}),monitorPannel_vue_vue_type_style_index_0_scoped_1b91fe04_lang="",monitorPannel=_export_sfc$2(_sfc_main$8,[["__scopeId","data-v-1b91fe04"]]),_withScopeId$2=i=>(vue.pushScopeId("data-v-e7267060"),i=i(),vue.popScopeId(),i),_hoisted_1$6={key:0,class:"warning fadeIn animated"},_hoisted_2$5={class:"flex justify-end pl-4 pr-4"},_hoisted_3$4={class:"flex-1 pl-4 pr-4 overflow-y-auto"},_hoisted_4$4={class:"mt-2 mb-4"},_hoisted_5$2=["onClick"],_hoisted_6$2=_withScopeId$2(()=>vue.createElementVNode("i",{class:"mr-2 text-base ri-box-3-fill"},null,-1)),_hoisted_7$2={class:"whitespace-nowrap"},_hoisted_8$2={class:"ml-4 mr-2 overflow-hidden whitespace-nowrap text-ellipsis"},_hoisted_9$2={class:"whitespace-nowrap"},_sfc_main$7=vue.defineComponent({__name:"warningList",emits:["click-element"],setup(i,{emit:n}){const{proxy:r}=vue.getCurrentInstance(),o=n,a=vue.ref(!1),l=vue.ref([]),s=vue.computed(()=>{const d=[],f=vue.unref(l).filter(v=>v.status=="warning"),p=vue.unref(l).filter(v=>v.status=="error");return f.length&&d.push({label:"未完成任务",list:f}),p.length&&d.push({label:"协同失败",list:p}),d});r.$baseEventBus.on("flow-warning-list",d=>{var f;if(l.value=[],d.toString()=="close"){a.value=!1;return}if(Array.isArray(d)?d.filter(p=>p.shape=="Widget").forEach(p=>{var v,m,g,_;u(((m=(v=p==null?void 0:p.data)==null?void 0:v.nodeStatus)==null?void 0:m.nodeStatusMap)??{},((g=p==null?void 0:p.data)==null?void 0:g.id)??"",((_=p==null?void 0:p.data)==null?void 0:_.modelName)??"")}):u(((f=d==null?void 0:d.nodeStatus)==null?void 0:f.nodeStatusMap)??{},(d==null?void 0:d.id)??"",(d==null?void 0:d.modelName)??""),!vue.unref(l).length){r.$message.warning("暂无错误信息"),a.value=!1;return}a.value=!0});const u=(d,f,p)=>{Object.keys(d).forEach(v=>{var m,g;d[v]||l.value.push({time:v,id:f,label:p,status:"warning"}),(((m=d[v])==null?void 0:m.failNum)>0||((g=d[v])==null?void 0:g.totalNum)===0)&&l.value.push({time:v,id:f,label:p,status:"error"})})},c=d=>{o("click-element",d)};return vue.onBeforeUnmount(()=>{r.$baseEventBus.off("flow-warning-list")}),(d,f)=>{const p=vue.resolveComponent("aceHeader");return vue.unref(a)?(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$6,[vue.createElementVNode("div",_hoisted_2$5,[vue.createElementVNode("i",{class:"text-xl cursor-pointer ri-close-line",onClick:f[0]||(f[0]=v=>a.value=!1)})]),vue.createElementVNode("div",_hoisted_3$4,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(s),v=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:v.label},[vue.createVNode(p,{title:v.label},null,8,["title"]),vue.createElementVNode("div",_hoisted_4$4,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(v.list,(m,g)=>(vue.openBlock(),vue.createElementBlock("div",{class:"flex items-center mt-1 mb-1 text-gray-600 cursor-pointer hover:text-blue-500",onClick:_=>c(m),key:g},[_hoisted_6$2,vue.createElementVNode("span",_hoisted_7$2,vue.toDisplayString(m.time),1),vue.createElementVNode("span",_hoisted_8$2,vue.toDisplayString(m.label),1),vue.createElementVNode("span",_hoisted_9$2,vue.toDisplayString(m.status=="error"?"协同失败":"未更新"),1)],8,_hoisted_5$2))),128))])],64))),128))])])):vue.createCommentVNode("",!0)}}}),warningList_vue_vue_type_style_index_0_scoped_e7267060_lang="",warningList=_export_sfc$2(_sfc_main$7,[["__scopeId","data-v-e7267060"]]),_hoisted_1$5={class:"flex flex-col flex-1"},_sfc_main$6=vue.defineComponent({__name:"backend",emits:["success"],setup(i,{expose:n,emit:r}){const o=r,{proxy:a}=vue.getCurrentInstance(),l=vue.ref(""),s=vue.ref(""),u=vue.ref(!1),c=vue.ref(!1),d=vue.ref(!1),f=m=>{a.$refs[`${m}Ref`].init()},p=(m,g)=>{switch(m){case"flow-history-click":a.$refs.modelExtractLogRef.init({businessId:g.modelId,businessType:"file_extract",table:[{label:"日期",prop:"createTime"},{label:"文件名",prop:"file",slot:!0},{label:"抽取方式",prop:"createTime",func:_=>{var y;return((y=JSON.parse(_.businessSnapshot||"{}"))==null?void 0:y.extractType)==2?"覆盖":"追加"}},{label:"数据总数",prop:"totalNum"},{label:"成功数",prop:"successNum"},{label:"失败数",prop:"failNum"},{label:"操作",prop:"action",slot:!0,fixed:"right"}]});break;case"flow-data-extract":a.$refs.modelExtractLogRef.init({businessId:g.modelId,businessType:"db_extract",table:[{label:"日期",prop:"createTime"},{label:"数据总数",prop:"totalNum"},{label:"成功数",prop:"successNum"},{label:"失败数",prop:"failNum"},{label:"操作",prop:"action",slot:!0,fixed:"right"}],ajaxUrl:`/api/ace-data-center/extract-log/listCollaborateExtractLogPage?modelId=${g.modelId}&descs=create_time`});break;case"flow-sql":l.value=g.modelId,u.value=!0;break;case"flow-data-import":c.value=!0,vue.nextTick(()=>{a.$refs.modelViewRef.init({id:g.modelId})});break;case"flow-model-data":s.value=g.modelName,l.value=g.modelId,d.value=!0;break}},v=()=>{o("success")};return n({flowDropdownCommand:f,init:p}),(m,g)=>{const _=vue.resolveComponent("aceModelConn"),y=vue.resolveComponent("aceModelSql"),b=vue.resolveComponent("aceModelNormal"),x=vue.resolveComponent("aceModelExcel"),C=vue.resolveComponent("aceModelExtract"),w=vue.resolveComponent("aceModelExtractLog"),E=vue.resolveComponent("aceModelDbExtract"),$=vue.resolveComponent("AppDrawer"),S=vue.resolveComponent("aceModelView"),V=vue.resolveComponent("aceDynamicList");return vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[vue.createVNode(_,{ref:"connRef",permission:[],onSuccess:g[0]||(g[0]=k=>v())},null,512),vue.createVNode(y,{ref:"sqlRef",permission:[],onSuccess:g[1]||(g[1]=k=>v())},null,512),vue.createVNode(b,{ref:"normalRef",permission:[],onSuccess:g[2]||(g[2]=k=>v())},null,512),vue.createVNode(x,{ref:"excelRef",permission:[],onSuccess:g[3]||(g[3]=k=>v())},null,512),vue.createVNode(C,{ref:"extractRef",permission:[],onSuccess:g[4]||(g[4]=k=>v())},null,512),vue.createVNode(w,{ref:"modelExtractLogRef"},null,512),vue.createVNode($,{modelValue:vue.unref(u),"onUpdate:modelValue":g[5]||(g[5]=k=>vue.isRef(u)?u.value=k:null),title:"编辑SQL",size:"90%"},{default:vue.withCtx(()=>[vue.createVNode(E,{model:{id:vue.unref(l)}},null,8,["model"])]),_:1},8,["modelValue"]),vue.createVNode($,{modelValue:vue.unref(c),"onUpdate:modelValue":g[6]||(g[6]=k=>vue.isRef(c)?c.value=k:null),title:"数据导入",size:"90%"},{default:vue.withCtx(()=>[vue.createElementVNode("div",_hoisted_1$5,[vue.createVNode(S,{ref:"modelViewRef",type:"ODS",permission:["EXCEL_EXTRACT"]},null,512)])]),_:1},8,["modelValue"]),vue.createVNode($,{modelValue:vue.unref(d),"onUpdate:modelValue":g[7]||(g[7]=k=>vue.isRef(d)?d.value=k:null),title:"模型数据",size:"90%"},{default:vue.withCtx(()=>[vue.createVNode(V,{id:vue.unref(l),title:vue.unref(s),showPageIndex:!0,isDownLoad:!1,ref:"AppDynamicListRef"},null,8,["id","title"])]),_:1},8,["modelValue"])],64)}}}),_withScopeId$1=i=>(vue.pushScopeId("data-v-4a3a652a"),i=i(),vue.popScopeId(),i),_hoisted_1$4={class:"text-base w-72 text-color-primary"},_hoisted_2$4=_withScopeId$1(()=>vue.createElementVNode("i",{class:"mr-1 text-xl ri-file-text-line"},null,-1)),_hoisted_3$3=["contenteditable"],_hoisted_4$3={class:"flex items-center flex-1 -ml-3"},_hoisted_5$1={key:0,class:"ml-2 mr-4 text-gray-200"},_hoisted_6$1=["onClick"],_hoisted_7$1={key:0,class:"absolute bg-white rounded-full -right-2 -top-2"},_hoisted_8$1={key:0,class:"text-red-700 ri-error-warning-fill"},_hoisted_9$1={key:1,class:"text-yellow-500 ri-error-warning-fill"},_hoisted_10$1={key:1,class:"loading"},_hoisted_11=_withScopeId$1(()=>vue.createElementVNode("i",{class:"ri-loader-line text-color-primary"},null,-1)),_hoisted_12=[_hoisted_11],_hoisted_13=_withScopeId$1(()=>vue.createElementVNode("div",{class:"h-full flow-main",id:"graph-container"},null,-1)),_hoisted_14=_withScopeId$1(()=>vue.createElementVNode("div",{id:"minimap",class:"absolute bottom-0 right-0"},null,-1)),_sfc_main$5=vue.defineComponent({__name:"index",props:{frameType:{default:"backend"}},setup(i){const n=i;vue.provide("frameType",n.frameType),vue.provide("getNode",null);const{proxy:r}=vue.getCurrentInstance(),{allModelAttribute:o}=fetch$1(r).model,{saveCollaborateFlow:a,detailCollaborateFlow:l,updateCollaborateFlow:s,collaborateExecRecordFlow:u}=fetch$1(r).collaborateFlow,c=vue.ref(null),d=vue.inject("local"),f=vue.ref([{label:"放大",key:"zoom-in",icon:"ri-zoom-in-line"},{label:"缩小",key:"zoom-out",icon:"ri-zoom-out-line"},{label:"前进",key:"redo",icon:"ri-arrow-go-forward-line",disabled:()=>vue.unref(_)=="flow-monitor"},{label:"回退",key:"undo",icon:"ri-arrow-go-back-line",disabled:()=>vue.unref(_)=="flow-monitor"},{label:"删除",key:"delete",icon:"ri-delete-bin-line",disabled:()=>vue.unref(_)=="flow-monitor"},{label:"保存",key:"submit",icon:"ri-save-line",disabled:()=>vue.unref(_)=="flow-monitor",click:async()=>{var L,D,F,M;if(vue.unref(_)=="flow-monitor")return;const O={collaborateJson:JSON.stringify(vue.unref(g).toJSON()),name:vue.unref(m).name||"未命名",id:void 0};(L=vue.unref(m))!=null&&L.id&&(O.name=(D=vue.unref(m))==null?void 0:D.name,O.id=(F=vue.unref(m))==null?void 0:F.id),await((M=vue.unref(m))!=null&&M.id?s(O):a(O))&&(r.$message.success("保存成功"),k())}},{type:"middle"},{label:"流程信息",key:"flow-msg",icon:"ri-flow-chart",click:()=>{_.value="flow-msg",$.value=null,k()}},{label:"流程监控",key:"flow-monitor",icon:"ri-webcam-line",click:()=>{_.value="flow-monitor",P()}},{label:"数据质量",key:"flow-quality",icon:"ri-terminal-box-line"}]),p=vue.ref({}),v=vue.ref(!1),m=vue.ref({}),{graph:g,activeName:_,nodeObj:y,state:b,isDelete:x,handleStartDrag:C,handleEvent:w,handleSetLabels:E,selectWidget:$}=useFlow("graph-container",n.frameType,()=>{k()},(O,I)=>{vue.unref(c).init(O,I)});vue.watch($,O=>{!O||vue.unref(p)[O==null?void 0:O.id]||!(O!=null&&O.id)||o({modelId:O.id}).then(I=>{vue.unref(p)[O.id]=I.data})});const S=vue.ref([]),V=vue.computed(()=>{let O=0,I=0;return vue.unref(S).filter(L=>L.shape=="Widget").forEach(L=>{var D,F;Object.values(((F=(D=L==null?void 0:L.data)==null?void 0:D.nodeStatus)==null?void 0:F.nodeStatusMap)??[]).forEach(M=>{M||(I+=1),((M==null?void 0:M.failNum)>0||(M==null?void 0:M.totalNum)===0)&&(O+=1)})}),{error:O,warning:I}}),k=async()=>{vue.unref(g).clearCells(),v.value=!0;const O=await l({});if(v.value=!1,!O.data){m.value={name:"未命名"};return}O.data.name||(O.data.name="未命名"),m.value=O.data;const I=O.data.collaborateJson;vue.unref(g).fromJSON(JSON.parse(I)),vue.unref(g).centerContent(),E(),P(!1)};r.$baseEventBus.on("desk-refresh",()=>P());const P=async(O=!0)=>{O&&(v.value=!0,vue.unref(g).clearCells()),vue.nextTick(async()=>{const I=r.$refs.monitorPannelRef,L=await u({startTime:(I==null?void 0:I.value[0])??dayjs().subtract(1,"week").format("YYYY-MM-DD"),endTime:(I==null?void 0:I.value[1])??dayjs().format("YYYY-MM-DD")});O&&(v.value=!1),L&&(L.data.cells.filter(D=>D.shape=="Widget").forEach(D=>{const F=L.data.nodeStatus[D.id];D.data.nodeStatus=F??{}}),O&&(vue.unref(g).fromJSON(L.data.cells),vue.unref(g).centerContent()),S.value=L.data.cells)})},B=(O,I)=>{if(O==="selfEventType"){const L=vue.unref(g).getNodes();vue.unref(g).getConnectedEdges(vue.unref(y),{incoming:!1,outgoing:!0}).forEach(F=>{const M=L.find(R=>F.target.cell==R.id);M&&(M.data.triggerEventType=I)}),E()}},T=O=>{const{cells:I}=vue.unref(g).toJSON(),L=vue.unref(g).getNodes();vue.unref(g).cleanSelection(),setTimeout(()=>{const D=L.find(F=>{var M;return F.id==((M=I.find(R=>R.shape=="Widget"&&(R==null?void 0:R.data.id)==O.id))==null?void 0:M.id)});D&&vue.unref(g).select(D)})},N=()=>{r.$refs.menuRef.init()};return(O,I)=>(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElContainer),{class:"flex flex-col h-full overflow-hidden"},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElConfigProvider),{locale:vue.unref(d)},{default:vue.withCtx(()=>[vue.createVNode(vue.unref(elementPlus.ElHeader),{class:"flex items-center flow-header"},{default:vue.withCtx(()=>{var L;return[vue.createElementVNode("div",_hoisted_1$4,[_hoisted_2$4,vue.createElementVNode("span",{contenteditable:vue.unref(_)=="flow-msg",class:"flex-1 outline-none cursor-text contenteditable",onBlur:I[0]||(I[0]=D=>vue.unref(m).name=vue.unref(m).name||"未命名"),onInput:I[1]||(I[1]=D=>vue.unref(m).name=D.target.innerText)},vue.toDisplayString((L=vue.unref(m))==null?void 0:L.name),41,_hoisted_3$3)]),vue.createElementVNode("div",_hoisted_4$3,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(f),D=>(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:D.key},[D.type=="middle"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_5$1,"|")):(vue.openBlock(),vue.createElementBlock("div",{key:1,class:vue.normalizeClass(["relative widget-action",[D.key,vue.unref(_)==D.key?"active":"",D.disabled&&D.disabled()?"text-color-info":"",!vue.unref(b).canUndo&&D.key=="undo"||!vue.unref(b).canRedo&&D.key=="redo"||D.key=="delete"&&!vue.unref(x)?"text-color-info":""]]),onClick:F=>(D.click&&D.click())??vue.unref(w)(D.key)},[vue.createElementVNode("i",{class:vue.normalizeClass(D.icon)},null,2),vue.createElementVNode("span",null,vue.toDisplayString(D.label),1),D.key=="flow-monitor"?(vue.openBlock(),vue.createElementBlock("span",_hoisted_7$1,[vue.unref(V).error?(vue.openBlock(),vue.createElementBlock("i",_hoisted_8$1)):vue.unref(V).warning?(vue.openBlock(),vue.createElementBlock("i",_hoisted_9$1)):vue.createCommentVNode("",!0)])):vue.createCommentVNode("",!0)],10,_hoisted_6$1))],64))),128))])]}),_:1}),vue.createVNode(vue.unref(elementPlus.ElContainer),{class:"overflow-hidden"},{default:vue.withCtx(()=>[vue.unref(_)!="flow-monitor"?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElAside),{key:0,class:"flow-aside",width:"288px"},{default:vue.withCtx(()=>[vue.createVNode(Menu,{ref:"menuRef",onMouseDown:vue.unref(C),onFlowDropdownCommand:I[2]||(I[2]=L=>vue.unref(c).flowDropdownCommand(L))},null,8,["onMouseDown"])]),_:1})):vue.createCommentVNode("",!0),vue.createVNode(vue.unref(elementPlus.ElMain),{class:"relative"},{default:vue.withCtx(()=>[vue.unref(_)=="flow-monitor"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[vue.createVNode(monitorPannel,{ref:"monitorPannelRef",cellsData:vue.unref(S),msg:vue.unref(V),onChange:P},null,8,["cellsData","msg"]),vue.createVNode(warningList,{ref:"warningListRef",onClickElement:T},null,512)],64)):vue.createCommentVNode("",!0),vue.unref(v)?(vue.openBlock(),vue.createElementBlock("div",_hoisted_10$1,_hoisted_12)):vue.createCommentVNode("",!0),_hoisted_13,_hoisted_14,vue.unref($)&&vue.unref(_)=="flow-msg"?(vue.openBlock(),vue.createBlock(SelectWidget,{key:2,selectWidget:vue.unref($),options:vue.unref(p),onChange:B},null,8,["selectWidget","options"])):vue.createCommentVNode("",!0)]),_:1})]),_:1}),vue.createVNode(_sfc_main$6,{ref_key:"backendRef",ref:c,onSuccess:N},null,512)]),_:1},8,["locale"])]),_:1}))}}),index_vue_vue_type_style_index_0_scoped_4a3a652a_lang="",aceFlow=_export_sfc$2(_sfc_main$5,[["__scopeId","data-v-4a3a652a"]]),_sfc_main$4=vue.defineComponent({__name:"AppDeep",setup(i,{expose:n}){const{proxy:r}=vue.getCurrentInstance(),{dynamicSearchForm:o,dynamicSearchFormat:a,dynamicSearchParams:l}=r.$aceDynamicSearch(r),s=vue.ref({}),u=vue.ref(null),c=vue.ref(!1),d=vue.ref(""),f=vue.ref({});return n({init:async(v,m={})=>{var C,w,E;const g=await r.$baseHttp.get(`/api/ace-data-center/model-indicators/detail?id=${v}`);if(!g)return;f.value=g.data;const _=JSON.parse(g.data.sortArgsJson??"{}"),y=Object.keys(vue.unref(_)).map($=>({field:$,type:_[$]=="ascending"?"asc":"desc"})),b=a(JSON.parse(((C=g.data)==null?void 0:C.formConfJson)??"[]"));b.forEach($=>{Object.keys(m).includes($.key)&&($.minValue=m[$.key],$.maxValue="",$.value=m[$.key])}),o.value=b;const x={aggArgsJson:g.data.aggArgsJson,groupArgsJson:g.data.groupArgsJson,sortArgsJson:JSON.stringify(y),modelIndicatorsId:v,params:l(b),pageSize:g.data.pageSize,modelId:g.data.modelId};c.value=!0,d.value=g.data.name,s.value={x:JSON.parse((w=vue.unref(f))==null?void 0:w.groupArgsJson),y:JSON.parse((E=vue.unref(f))==null?void 0:E.aggArgsJson),params:x}}}),(v,m)=>{const g=vue.resolveComponent("AppDrawer");return vue.openBlock(),vue.createBlock(g,{modelValue:vue.unref(c),"onUpdate:modelValue":m[0]||(m[0]=_=>vue.isRef(c)?c.value=_:null),title:vue.unref(d)},{default:vue.withCtx(()=>[vue.createVNode(IndicatorsView,{ref_key:"indicatorsViewRef",ref:u,dynamicSearchForm:vue.unref(o),result:vue.unref(f),chartData:vue.unref(s)},null,8,["dynamicSearchForm","result","chartData"])]),_:1},8,["modelValue","title"])}}}),_withScopeId=i=>(vue.pushScopeId("data-v-a083beff"),i=i(),vue.popScopeId(),i),_hoisted_1$3=["onClick"],_hoisted_2$3=["onClick"],_hoisted_3$2={class:"flex"},_hoisted_4$2=["onClick"],_hoisted_5=_withScopeId(()=>vue.createElementVNode("i",{class:"ri-file-text-line"},null,-1)),_hoisted_6=_withScopeId(()=>vue.createElementVNode("i",{class:"ri-bar-chart-box-line"},null,-1)),_hoisted_7=_withScopeId(()=>vue.createElementVNode("i",{class:"ri-computer-line"},null,-1)),_hoisted_8=_withScopeId(()=>vue.createElementVNode("i",{class:"text-white ri-close-circle-fill"},null,-1)),_hoisted_9=[_hoisted_8],_hoisted_10=["src"],_sfc_main$3=vue.defineComponent({__name:"AppCustomChart",props:{option:{default:{}},chartType:{default:""},maxHeight:{default:"350px"},renderer:{default:"canvas"},loading:{type:Boolean,default:!1},isBigScreen:{type:Boolean,default:!1},isCheckClick:{type:Boolean,default:!0},indicatorsId:{default:""},renderId:{default:""}},setup(i){const n=i,{proxy:r}=vue.getCurrentInstance(),o=r.$globalHooks.useRouter(),a=vue.ref(null),l=vue.ref(null),s=vue.ref(null),u=vue.ref(null),c=vue.ref(!1),d=vue.ref(null),f=vue.computed(()=>{if(n.chartType!="8")return[];const U=n.option.dataset.dimensions.map(G=>{var J,te;return(J=n.option)!=null&&J.customSeriesData[G]?{key:G,textAlign:"center",...(te=n.option)==null?void 0:te.customSeriesData[G]}:{}});return n.option.showIndex?[{textAlign:"center",index:!0,key:n.option.indexHeader,width:n.option.indexWidth,headColor:"#fff"},...U]:U}),p=U=>{var J;const{toFixed:G}=((J=n.option)==null?void 0:J.customSeriesData[U])??0;return n.option.dataset.source.reduce((te,ae)=>te+(ae[U]?Number(ae[U]):0),0).toFixed(G)},v=U=>{const G=n.option.customSeriesData[U];if(!(G!=null&&G.sum))return"";const{prefix:J,toFixed:te,suffix:ae,headColor:j,textAlign:ee}=G,le=n.option.dataset.source.map(se=>Number(se[U]||0));return le.every(se=>Number.isNaN(se))?"":`<span style="color: ${j||"#000"};text-align: ${ee||"center"}">${J}${le.reduce((se,Z)=>{const K=Number(Z);return Number.isNaN(K)?se:se+Z},0).toFixed(te)}${ae}</span>`},{init:m}=useMap(),g=vue.ref([n.option.code]),_=vue.ref(null),y=vue.ref(null),b=U=>(U.modelIndicatorsId=vue.unref(y).id,U.row=vue.unref(_),U),x=vue.reactive({x:0,y:0,isHover:!0,timer:null,data:null}),C=async U=>{if(U.seriesType!=="map"){x.x=U.event.offsetX,x.y=U.event.offsetY,x.data=U.value,z();return}if(!n.isCheckClick)return;const{code:G}=U.data;n.option.code=G,vue.unref(g).includes(String(G))||g.value.push(String(G)),vue.unref(a).setOption(n.option,!0),m(n.option,()=>{const{x:J,y:te}=n.option.dataShow;x.data={[J]:U.data.name,[te]:U.data.data},z()})};vue.nextTick(()=>{setTimeout(()=>{var U;vue.unref(a)&&["1","3","5","11"].includes(n.chartType)&&((U=vue.unref(a))==null||U.chart.getZr().on("mousedown",G=>{var ae,j,ee;const J=[G.offsetX,G.offsetY],{dataset:te}=(ae=vue.unref(a))==null?void 0:ae.chart.getOption();if((j=vue.unref(a))!=null&&j.chart.containPixel("grid",J)){let le=(ee=vue.unref(a))==null?void 0:ee.chart.convertFromPixel({seriesIndex:0},J).filter(se=>Number.isInteger(se));x.x=G.offsetX,x.y=G.offsetY,x.data=te[0].source[Math.abs(le[0])]}if(G.target&&n.chartType=="11"){x.x=G.offsetX,x.y=G.offsetY;const le=n.option.dataShow.y;x.data={[le]:(n.option.series[0].data[0]*100).toFixed(2)}}}))})});const w=()=>{clearTimeout(x.timer),x.isHover=!0},E=()=>{(n.isCheckClick||n.indicatorsId)&&(x.timer=setTimeout(()=>{const U=document.querySelector(":hover");if(!U||!vue.unref(u).contains(U)){x.isHover=!1,x.x=0,x.y=0;const G=document.getElementById(`render-${n.option.id}`);G&&(G.style.zIndex=G.getAttribute("data-z"))}},100))},$=U=>{const{rowIndex:G}=U;x.data=n.option.dataset.source[G]},S=U=>{["ceil","row-item"].includes(U.target.parentElement.className)&&R(U,vue.unref(d).getBoundingClientRect())},V=(U,G)=>{const{rowIndex:J}=G;x.data=n.option.dataset.source[J],R(U,vue.unref(d).getBoundingClientRect())},k=(U,G)=>{x.data={[G]:p(G)},R(U,vue.unref(s).getBoundingClientRect())},P=(U,G)=>{x.data={[G]:p(G)},R(U,vue.unref(s).getBoundingClientRect())},B=async()=>{if(!n.isCheckClick||!n.indicatorsId)return;const U=await r.$baseHttp.get(`/api/ace-data-center/model-indicators/detail?id=${n.indicatorsId}`);y.value=U.data,c.value=!0,_.value=x.data??{}},T=async()=>{var G;const U={};(((G=n.option.dataShow)==null?void 0:G.deep2Linkage)??[]).forEach(J=>{J.value!==""&&(U[J.key]=x.data[J.value])}),vue.unref(l).init(n.option.dataShow.deep2Id,U)},N=vue.ref(!1),O=vue.reactive({type:"",data:""});vue.ref({});const I=vue.ref({}),L=vue.ref({}),D=async()=>{I.value={},L.value={};const{fullscreenId:U,fullscreenType:G,fullscreenControlType:J,fullscreenControlIds:te,fullscreenOpenType:ae}=n.option.dataShow;["","indicators"].includes(G)&&n.option.dataShow.fullscreenLinkage.forEach(ee=>{ee.value.length&&ee.value.forEach(le=>{const[se,Z]=le;vue.unref(I)[se]||(vue.unref(I)[se]={}),vue.unref(I)[se][Z]=x.data[ee.key]??""})}),["control"].includes(G)&&(L.value={ids:te,value:x.data[J]}),x.x=0;const j=o.resolve({name:"big-data-preview",query:{id:U,bigScreenQueryParams:JSON.stringify(I.value),bigScreenControlParams:JSON.stringify(L.value)}});if(ae=="blank"){window.top.open(j.href);return}if(self!=top){o.replace({name:"big-data-preview",query:j.query});return}O.data=j.href,N.value=!0},F=(U,G)=>`${G.prefix??""}${isNaN(U)||(U??"")==""?U:Number(U).toFixed(G.toFixed)}${G.suffix??""}`,M=()=>{g.value=g.value.filter(U=>U!=n.option.code),n.option.code=vue.unref(g).at(-1),m(n.option,()=>{})},R=(U,G)=>{const J=document.getElementById(n.renderId);let te=1;if(J){const j=window.getComputedStyle(J).transform;te=new DOMMatrix(j).a}x.x=(U.clientX-G.left)/te,x.y=(U.clientY-G.top)/te;const ae=document.getElementById(`render-${n.option.id}`);ae&&(ae.style.zIndex="9999"),z()},z=()=>{const U=n.option.linkage??{};if(n.renderId){const G={};Object.keys(x.data??{}).forEach(J=>{const te=U[J];te&&Array.isArray(te)&&te.forEach(ae=>{G[ae[0]]=[ae[1],x.data[J]]})}),r.$baseEventBus.emit(`ace-screen-indicators-linkage-chart-${n.renderId}`,G)}};return(U,G)=>{var le,se,Z,K,q,Y,X,oe,W,ne,H,Q,re,ie,ue,ce,fe,ve;const J=vue.resolveComponent("v-chart"),te=vue.resolveComponent("aceHeader"),ae=vue.resolveComponent("AppTable"),j=vue.resolveComponent("aceDynamicList"),ee=vue.resolveComponent("AppDrawer");return vue.openBlock(),vue.createElementBlock(vue.Fragment,null,[U.chartType=="7"&&n.option.dataShow?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"relative flex flex-wrap",ref_key:"parentRef",ref:s,style:vue.normalizeStyle({gap:(n.option.margin??10)+"px"})},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(n.option.dataset.dimensions,de=>{var he,pe,me,ge,Se,Ae,Oe,Le,Re,Ge,Ye,We,ye,$e;return vue.openBlock(),vue.createElementBlock("div",{key:de,class:"flex flex-col rounded cursor-pointer justify-evenly",onClick:vue.withModifiers(Je=>k(Je,de),["stop"]),style:vue.normalizeStyle({padding:(n.option.padding??10)+"px",background:(pe=(he=n.option)==null?void 0:he.customSeriesData[de])==null?void 0:pe.bgColor,color:(ge=(me=n.option)==null?void 0:me.customSeriesData[de])==null?void 0:ge.color,minWidth:"120px",fontSize:`${((Ae=(Se=n.option)==null?void 0:Se.customSeriesData[de])==null?void 0:Ae.fontSize)||14}px`})},[vue.createElementVNode("div",null,[vue.createElementVNode("span",null,vue.toDisplayString((Le=(Oe=n.option)==null?void 0:Oe.customSeriesData[de])==null?void 0:Le.prefix),1),vue.createTextVNode(" "+vue.toDisplayString(p(de))+" ",1),vue.createElementVNode("span",null,vue.toDisplayString((Ge=(Re=n.option)==null?void 0:Re.customSeriesData[de])==null?void 0:Ge.suffix),1)]),((We=(Ye=n.option)==null?void 0:Ye.customSeriesData[de])==null?void 0:We.hideLabel)!==!0?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"mt-2",style:vue.normalizeStyle({fontSize:`${(($e=(ye=n.option)==null?void 0:ye.customSeriesData[de])==null?void 0:$e.titleFontSize)||14}px`})},vue.toDisplayString(de),5)):vue.createCommentVNode("",!0)],12,_hoisted_1$3)}),128))],4)):vue.createCommentVNode("",!0),U.chartType=="10"&&n.option.dataShow?(vue.openBlock(),vue.createElementBlock("div",{key:1,class:vue.normalizeClass(["relative flex",[["vertical"].includes(((le=n.option)==null?void 0:le.direction)??"")?"flex-col":""]]),ref_key:"parentRef",ref:s,style:vue.normalizeStyle({gap:(n.option.margin??10)+"px"})},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(n.option.dataset.dimensions,de=>{var he,pe,me,ge,Se,Ae,Oe,Le,Re,Ge,Ye,We,ye,$e;return vue.openBlock(),vue.createElementBlock("div",{key:de,onClick:vue.withModifiers(Je=>P(Je,de),["stop"]),class:vue.normalizeClass(["items-center justify-center flex-1 cursor-pointer progress",[["line"].includes((pe=(he=n.option)==null?void 0:he.customSeriesData[de])==null?void 0:pe.type)?"":"flex"]]),style:vue.normalizeStyle(`--bgColor: ${n.option.customSeriesData[de].bgColor||"#e5e9f2"}`)},[vue.createVNode(vue.unref(elementPlus.ElProgress),{strokeLinecap:(me=n.option.customSeriesData[de])==null?void 0:me.strokeLinecap,width:U.isBigScreen?Number(U.maxHeight.replace("px","")):(ge=n.option.customSeriesData[de])==null?void 0:ge.width,duration:(Se=n.option.customSeriesData[de])==null?void 0:Se.duration,stripedFlow:(Ae=n.option.customSeriesData[de])==null?void 0:Ae.stripedFlow,striped:(Oe=n.option.customSeriesData[de])==null?void 0:Oe.striped,textInside:["line"].includes((Re=(Le=n.option)==null?void 0:Le.customSeriesData[de])==null?void 0:Re.type)?(Ge=n.option.customSeriesData[de])==null?void 0:Ge.textInside:!1,strokeWidth:(Ye=n.option.customSeriesData[de])==null?void 0:Ye.strokeWidth,color:(We=n.option.customSeriesData[de])==null?void 0:We.color,type:($e=(ye=n.option)==null?void 0:ye.customSeriesData[de])==null?void 0:$e.type,percentage:Number(p(de))},{default:vue.withCtx(({percentage:Je})=>{var Qe,bt,pt,Ke,Ee,ke,Pe,Me,be,Tt;return[vue.createElementVNode("div",{style:vue.normalizeStyle({fontSize:`${((bt=(Qe=n.option)==null?void 0:Qe.customSeriesData[de])==null?void 0:bt.fontSize)||14}px`,color:(Ke=(pt=n.option)==null?void 0:pt.customSeriesData[de])==null?void 0:Ke.fontColor})},[vue.createElementVNode("span",null,vue.toDisplayString((ke=(Ee=n.option)==null?void 0:Ee.customSeriesData[de])==null?void 0:ke.prefix),1),vue.createElementVNode("span",null,vue.toDisplayString(Je.toFixed(((Me=(Pe=n.option)==null?void 0:Pe.customSeriesData[de])==null?void 0:Me.toFixed)||0)),1),vue.createElementVNode("span",null,vue.toDisplayString((Tt=(be=n.option)==null?void 0:be.customSeriesData[de])==null?void 0:Tt.suffix),1)],4)]}),_:2},1032,["strokeLinecap","width","duration","stripedFlow","striped","textInside","strokeWidth","color","type","percentage"])],14,_hoisted_2$3)}),128))],6)):vue.createCommentVNode("",!0),U.chartType=="8"?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:2},[(K=(Z=(se=n.option)==null?void 0:se.dataset)==null?void 0:Z.dimensions)!=null&&K.length?(vue.openBlock(),vue.createElementBlock("div",{key:0,class:"mb-3",ref_key:"scrollBoardRef",ref:d,style:vue.normalizeStyle(`--fontSize: ${n.option.fontSize||13}px `),onClick:S},[["single","page"].includes(n.option.carousel)?(vue.openBlock(),vue.createBlock(vue.unref(Tl),{key:0,config:{header:n.option.dataset.dimensions.map(de=>{var pe,me;let he=de;if((pe=n.option)!=null&&pe.customSeriesData[de]){const{headColor:ge,text:Se}=(me=n.option)==null?void 0:me.customSeriesData[de];return`<span style='color:${ge||"#000"};'>${(Se??"")!==""?Se:he}</span>`}return he}),data:n.option.dataset.source.map(de=>n.option.dataset.dimensions.map(he=>{var me,ge;const pe=de[he];if((me=n.option)!=null&&me.customSeriesData[he]){const Se=(ge=n.option)==null?void 0:ge.customSeriesData[he];return`<span style='color:${(Se==null?void 0:Se.color)||"#000"};'>${F(pe,Se)}</span>`}return pe})),align:vue.unref(f).map(de=>de.textAlign),index:n.option.showIndex,indexHeader:n.option.indexHeader,waitTime:n.option.waitTime?n.option.waitTime*1e3:2e3,headerHeight:n.option.headerHeight??35,carousel:n.option.carousel||"single",rowNum:n.option.rowNum??5,headerBGC:n.option.headerBGC||"#f6f8fa",oddRowBGC:n.option.oddRowBGC||"#fff",evenRowBGC:n.option.evenRowBGC||"#fff",columnWidth:vue.unref(f).map(de=>de.width)},onClick:$,style:vue.normalizeStyle({width:"100%",height:U.maxHeight})},null,8,["config","style"])):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createElementVNode("div",_hoisted_3$2,[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(f),de=>(vue.openBlock(),vue.createElementBlock("div",{style:vue.normalizeStyle({height:`${n.option.headerHeight??35}px`,background:n.option.headerBGC||"#f6f8fa",color:`${de.headColor||"#000"}`,justifyContent:de.textAlign,flex:de.width?`0 0 ${de.width}px`:1,padding:"0 10px",fontSize:"var(--fontSize)",overflow:"hidden"}),class:"flex items-center"},vue.toDisplayString(de.text||de.key),5))),256))]),vue.createVNode(vue.unref(elementPlus.ElScrollbar),{"max-height":U.maxHeight},{default:vue.withCtx(()=>[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(n.option.dataset.source,(de,he)=>(vue.openBlock(),vue.createElementBlock("div",{class:"flex cursor-pointer",onClick:vue.withModifiers(pe=>V(pe,{rowIndex:he}),["stop"])},[(vue.openBlock(!0),vue.createElementBlock(vue.Fragment,null,vue.renderList(vue.unref(f),pe=>{var me,ge;return vue.openBlock(),vue.createElementBlock("div",{class:"flex items-center flex-1",style:vue.normalizeStyle({height:`${n.option.headerHeight||35}px`,color:`${pe.color||"#000"}`,justifyContent:pe.textAlign,flex:pe.width?`0 0 ${pe.width}px`:1,padding:"5px 10px",fontSize:"var(--fontSize)",background:he%2==0?((me=n.option)==null?void 0:me.evenRowBGC)||"#fff":((ge=n.option)==null?void 0:ge.oddRowBGC)||"#fff"})},[pe.index?(vue.openBlock(),vue.createElementBlock("span",{key:0,class:"inline-flex items-center justify-center h-4 rounded",style:vue.normalizeStyle({color:"#fff",background:n.option.headerBGC||"#f6f8fa",padding:"0 3px"})},vue.toDisplayString(he+1),5)):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(F(de[pe.key],pe)),1)],64))],4)}),256))],8,_hoisted_4$2))),256))]),_:1},8,["max-height"])],64)),vue.unref(f).some(de=>de.sum)?(vue.openBlock(),vue.createBlock(vue.unref(Tl),{key:2,config:{header:n.option.dataset.dimensions.map(de=>{var he;return(he=n.option)!=null&&he.customSeriesData[de]?v(de):""}),indexHeader:"合计",align:vue.unref(f).map(de=>de.textAlign),index:n.option.showIndex,headerHeight:n.option.headerHeight||35,headerBGC:n.option.headerBGC||"#f6f8fa",columnWidth:vue.unref(f).map(de=>de.width)},style:{width:"100%"}},null,8,["config"])):vue.createCommentVNode("",!0)],4)):vue.createCommentVNode("",!0)],64)):(Y=(q=n.option)==null?void 0:q.series)!=null&&Y.length?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:3},[vue.unref(g).length>1?(vue.openBlock(),vue.createBlock(vue.unref(elementPlus.ElLink),{key:0,type:"primary",class:"absolute top-2.5 left-2.5 z-50 bg-black text-white p-1.5",onClick:M},{default:vue.withCtx(()=>[vue.createTextVNode(" 返回 ")]),_:1})):vue.createCommentVNode("",!0),vue.createVNode(J,{option:n.option,autoresize:"",ref_key:"echartRef",ref:a,loading:U.loading,onClick:C,onMouseout:E},null,8,["option","loading"])],64)):vue.createCommentVNode("",!0),vue.createVNode(ee,{modelValue:vue.unref(c),"onUpdate:modelValue":G[0]||(G[0]=de=>vue.isRef(c)?c.value=de:null),title:"查看明细",size:"90%"},{default:vue.withCtx(()=>[vue.createVNode(te,{title:"统计:",class:"mb-2"}),vue.createVNode(ae,{height:null,tableData:Object.keys(vue.unref(_)).map(de=>({label:de,prop:de})),list:[vue.unref(_)],loading:!1},null,8,["tableData","list"]),vue.createVNode(te,{title:"钻取明细:",class:"mt-4 mb-2"}),vue.createVNode(j,{id:vue.unref(y).modelId,keyName:"modelIndicatorsId",title:vue.unref(y).modelName,isDownLoad:!0,url:"/api/ace-data-center/model-indicators/drilling",formatParamsFunc:b},null,8,["id","title"])]),_:1},8,["modelValue"]),n.isCheckClick&&n.indicatorsId?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:4},[vue.withDirectives(vue.createElementVNode("div",{class:"tooltip",ref_key:"hoveredElement",ref:u,onMouseover:w,onMouseout:E,style:vue.normalizeStyle({position:"absolute",left:vue.unref(x).x+"px",top:vue.unref(x).y+"px"})},[(oe=(X=U.option)==null?void 0:X.dataShow)!=null&&oe.deep?(vue.openBlock(),vue.createElementBlock("div",{key:0,onClick:B},[_hoisted_5,vue.createTextVNode(" 数据下钻 ")])):vue.createCommentVNode("",!0),(ne=(W=U.option)==null?void 0:W.dataShow)!=null&&ne.deep2&&((Q=(H=U.option)==null?void 0:H.dataShow)!=null&&Q.deep2Id)?(vue.openBlock(),vue.createElementBlock("div",{key:1,onClick:T},[_hoisted_6,vue.createTextVNode(" 二级指标 ")])):vue.createCommentVNode("",!0),(ie=(re=U.option)==null?void 0:re.dataShow)!=null&&ie.fullscreen&&((ce=(ue=U.option)==null?void 0:ue.dataShow)!=null&&ce.fullscreenId)&&((ve=(fe=U.option)==null?void 0:fe.dataShow)!=null&&ve.fullscreenName)?(vue.openBlock(),vue.createElementBlock("div",{key:2,onClick:D},[_hoisted_7,vue.createTextVNode(" "+vue.toDisplayString(U.option.dataShow.fullscreenName),1)])):vue.createCommentVNode("",!0)],36),[[vue.vShow,vue.unref(x).x&&vue.unref(x).y]]),vue.createVNode(_sfc_main$4,{ref_key:"appDeepRef",ref:l},null,512),vue.createVNode(vue.unref(elementPlus.ElDialog),{class:"ace-screen-dialog",modelValue:vue.unref(N),"onUpdate:modelValue":G[2]||(G[2]=de=>vue.isRef(N)?N.value=de:null),"append-to-body":"","destroy-on-close":"","close-on-click-modal":!1,"close-on-press-escape":!1},{default:vue.withCtx(()=>[vue.createElementVNode("div",{onClick:G[1]||(G[1]=vue.withModifiers(de=>N.value=!1,["stop"])),class:"ace-screen-dialog-close"},_hoisted_9),vue.createElementVNode("iframe",{src:vue.unref(O).data},null,8,_hoisted_10)]),_:1},8,["modelValue"])],64)):vue.createCommentVNode("",!0)],64)}}}),AppCustomChart_vue_vue_type_style_index_0_scoped_a083beff_lang="",aceCustomChart=_export_sfc$2(_sfc_main$3,[["__scopeId","data-v-a083beff"]]),_hoisted_1$2={class:"appChart"},_hoisted_2$2={key:2,class:"relative fadeIn animated",style:{height:"500px"}},_sfc_main$2=vue.defineComponent({__name:"AppChart",props:{type:{default:""},options:{default:null},loading:{type:Boolean,default:!1}},setup(i){const n=i,r=vue.ref(null);return vue.watch(()=>n.options,async o=>{if(o){if(n.type==9){const{code:a,mapName:l}=n.options,s=await fetch(`/map/${a}.json`).then(u=>u.json());core.registerMap(l,s)}r.value=n.options}},{deep:!0}),(o,a)=>{const l=vue.resolveComponent("aceCustomChart"),s=vue.resolveComponent("AppEmpty"),u=vue.resolveComponent("AppTable"),c=vue.resolveComponent("v-chart");return vue.withDirectives((vue.openBlock(),vue.createElementBlock("div",_hoisted_1$2,[["7","10"].includes(String(o.type))?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:0},[typeof o.options=="object"?(vue.openBlock(),vue.createBlock(l,{key:0,option:o.options,chartType:String(o.type)},null,8,["option","chartType"])):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[vue.createTextVNode(vue.toDisplayString(o.options),1)],64))],64)):o.type==8?(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[o.options.length==0?(vue.openBlock(),vue.createBlock(s,{key:0,description:"暂无数据"})):(vue.openBlock(),vue.createElementBlock(vue.Fragment,{key:1},[Array.isArray(o.options)?(vue.openBlock(),vue.createBlock(u,{key:1,tableData:Object.keys(o.options[0]).map(d=>({label:d,prop:d})),list:o.options},null,8,["tableData","list"])):(vue.openBlock(),vue.createBlock(l,{key:0,option:o.options,chartType:String(o.type)},null,8,["option","chartType"]))],64))],64)):vue.unref(r)&&typeof vue.unref(r)=="object"?(vue.openBlock(),vue.createElementBlock("div",_hoisted_2$2,[vue.createVNode(c,{ref:"echart",option:vue.unref(r),autoresize:""},null,8,["option"])])):vue.createCommentVNode("",!0)])),[[vue.unref(elementPlus.vLoading),o.type==""||o.loading]])}}}),_hoisted_1$1={class:"flex items-center justify-between app-header"},_hoisted_2$1={class:"flex items-center"},_hoisted_3$1=vue.createElementVNode("span",{class:"inline-block w-1 h-4 mr-2",style:{background:"var(--el-color-primary)"}},null,-1),_hoisted_4$1={class:"text-base font-bold"},_sfc_main$1=vue.defineComponent({__name:"AppHeader",props:{title:{default:""}},setup(i){return(n,r)=>(vue.openBlock(),vue.createElementBlock("div",_hoisted_1$1,[vue.createElementVNode("div",_hoisted_2$1,[_hoisted_3$1,vue.createElementVNode("span",_hoisted_4$1,vue.toDisplayString(n.title),1),vue.renderSlot(n.$slots,"left")]),vue.renderSlot(n.$slots,"default")]))}}),_hoisted_1=["width","height"],_hoisted_2=["fill"],_hoisted_3=vue.createElementVNode("animateTransform",{attributeType:"xml",attributeName:"transform",type:"rotate",from:"0 25 25",to:"360 25 25",dur:"0.6s",repeatCount:"indefinite"},null,-1),_hoisted_4=[_hoisted_3],_sfc_main=vue.defineComponent({__name:"AppLoading",props:{color:{default:"#5887da"},size:{default:"10"}},setup(i){const n=i;return(r,o)=>(vue.openBlock(),vue.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:`${n.size}px`,height:`${n.size}px`,viewBox:"0 0 50 50","xml:space":"preserve"},[vue.createElementVNode("path",{fill:r.color,d:"M25.251,6.461c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615V6.461z",transform:"rotate(275.098 25 25)"},_hoisted_4,8,_hoisted_2)],8,_hoisted_1))}}),aceComponentsLib={install(i,n){if(console.log(`ace-component-lib-${version}`),i.use(t),i.component("aceBigScreen",aceBigScreen),i.component("aceBigScreenPreview",aceBigScreenPreview),i.component("aceBigScreenPreviewSlide",aceBigScreenPriviewSlide),i.component("aceIndicatorReport",aceIndicatorReport),editor.Boot&&editor.Boot.registerModule(aceIndicatorReportPlugin),i.component("aceIndicator",_sfc_main$1c),i.component("aceIndicatorPreview",_sfc_main$1f),i.component("aceIndicatorSystemPreview",aceIndicatorSystemPreview),i.component("aceIndicatorDesign",aceIndicatorDesign),i.component("aceIndicatorCustomSearch",aceIndicatorCustomSearch),i.component("aceCustomChart",aceCustomChart),i.component("aceChart",_sfc_main$2),i.component("aceSqLIntergration",_sfc_main$U),i.component("aceSqLImport",_sfc_main$16),i.component("aceDbShadow",_sfc_main$11),i.component("aceFlow",aceFlow),i.component("aceModel",_sfc_main$i),i.component("aceApiImport",_sfc_main$d),i.component("aceDynamicList",aceDynamicList),i.component("aceDynamicSearch",aceDynamicSearch),i.component("aceDynamicSearchEdit",aceDynamicSearchEdit),i.component("aceModelSearchSetting",_sfc_main$x),i.component("aceModelConn",_sfc_main$M),i.component("aceModelSql",_sfc_main$L),i.component("aceModelNormal",_sfc_main$K),i.component("aceModelExcel",_sfc_main$J),i.component("aceModelExtract",_sfc_main$I),i.component("aceModelExtractLog",_sfc_main$F),i.component("aceModelView",aceModelView),i.component("aceModelDbExtract",_sfc_main$y),i.component("aceHeader",_sfc_main$1),i.component("aceLoading",_sfc_main),n!=null&&n.components)for(const[r,o]of Object.entries(n.components)){const a=r.replace(".vue","").split("/").at(-1);i.component(a,o.default)}n!=null&&n.dict&&(i.config.globalProperties.$globalDict=n.dict),n!=null&&n.exportExcel&&(i.config.globalProperties.$baseExportExcel=n.exportExcel),n!=null&&n.utils&&(i.config.globalProperties.$globalUtils=n.utils),n!=null&&n.predefineColors&&(i.config.globalProperties.$globalPreColor=n.predefineColors),n!=null&&n.hooks&&(i.config.globalProperties.$globalHooks=n.hooks),i.config.globalProperties.$aceDynamicSearch=useDynamicSearch}},index={aceComponentsLib};return index});