@ecan-bi/datav 1.2.75 → 1.2.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @ecan-bi/datav@1.2.75 */
1
+ /*! @ecan-bi/datav@1.2.76 */
2
2
  (function(V,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("vue"),require("echarts/core"),require("resize-detector"),require("ant-design-vue"),require("ant-design-vue/es/spin/style"),require("ant-design-vue/es/skeleton/style"),require("lodash-es"),require("dayjs"),require("axios"),require("mitt"),require("ant-design-vue/es/progress/style"),require("ant-design-vue/es/input/style"),require("ant-design-vue/es/date-picker/style"),require("ant-design-vue/es/date-picker/locale/zh_CN"),require("ant-design-vue/es/button/style"),require("ant-design-vue/es/checkbox/style"),require("ant-design-vue/es/select/style"),require("ant-design-vue/es/tree-select/style"),require("echarts/renderers"),require("echarts/charts"),require("echarts/components"),require("ant-design-vue/es/modal/style"),require("echarts"),require("ant-design-vue/es/table/style"),require("ant-design-vue/es/notification/style"),require("xlsx"),require("big.js")):typeof define=="function"&&define.amd?define(["exports","vue","echarts/core","resize-detector","ant-design-vue","ant-design-vue/es/spin/style","ant-design-vue/es/skeleton/style","lodash-es","dayjs","axios","mitt","ant-design-vue/es/progress/style","ant-design-vue/es/input/style","ant-design-vue/es/date-picker/style","ant-design-vue/es/date-picker/locale/zh_CN","ant-design-vue/es/button/style","ant-design-vue/es/checkbox/style","ant-design-vue/es/select/style","ant-design-vue/es/tree-select/style","echarts/renderers","echarts/charts","echarts/components","ant-design-vue/es/modal/style","echarts","ant-design-vue/es/table/style","ant-design-vue/es/notification/style","xlsx","big.js"],a):(V=typeof globalThis<"u"?globalThis:V||self,a(V["@ecan/bi-datav"]={},V.Vue,V["echarts/core"],V.ResizeDetector,V.AntDesignVue,null,null,V.LodashEs,V.Dayjs,V.Axios,V.Mitt,null,null,null,V["ant-design-vue/es/date-picker/locale/zh_CN"],null,null,null,null,V["echarts/renderers"],V["echarts/charts"],V["echarts/components"],null,V.Echarts,null,null,V.Xlsx,V.big.js))})(this,function(V,a,Pe,ga,ne,gd,md,Ge,we,x0,y0,xd,yd,pd,ma,bd,vd,Sd,wd,ut,Qe,ge,Cd,p0,Ad,kd,Rt,b0){var r0,i0,l0,s0;"use strict";function v0(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const S0=v0(p0),w0=["getWidth","getHeight","getDom","getOption","resize","dispatchAction","convertToPixel","convertFromPixel","containPixel","getDataURL","getConnectedDataURL","appendData","clear","isDisposed","dispose"];function C0(e,n){function t(r){return(...i)=>{if(e.value||n(),!e.value)throw new Error("ECharts is not initialized yet.");return e.value[r].apply(e.value,i)}}function o(){const r=Object.create(null);return w0.forEach(i=>{r[i]=t(i)}),r}return o()}function A0(e,n,t){let o=null;a.watch([t,e,n],([r,i,s],l,f)=>{r&&i&&s&&(o=Pe.throttle(()=>{i.resize()},100),ga.addListener(r,o)),f(()=>{o&&r&&ga.removeListener(r,o)})})}const k0={autoresize:Boolean},T0="ecLoadingOptions";function E0(e,n,t){const o=a.inject(T0,{}),r=a.computed(()=>({...a.unref(o),...t==null?void 0:t.value}));a.watchEffect(()=>{const i=e.value;i&&(n.value?i.showLoading(r.value):i.hideLoading())})}const B0={loading:Boolean,loadingOptions:Object},Td="",_0=/^on[^a-z]/,D0=e=>_0.test(e);function R0(e){const n={};for(const t in e)D0(t)||(n[t]=e[t]);return n}const I0="x-vue-echarts",O0="ecTheme",L0="ecInitOptions",N0="ecUpdateOptions",ot=a.defineComponent({name:"echarts",props:{option:Object,theme:{type:[Object,String]},initOptions:Object,updateOptions:Object,group:String,manualUpdate:Boolean,...k0,...B0},inheritAttrs:!1,setup(e,{attrs:n,listeners:t}){const o=a.shallowRef(),r=a.shallowRef(),i=a.shallowRef(),s=a.inject(O0,null),l=a.inject(L0,null),f=a.inject(N0,null),{autoresize:c,manualUpdate:d,loading:x,loadingOptions:h}=a.toRefs(e),u=a.computed(()=>i.value||e.option||Object.create(null)),g=a.computed(()=>e.theme||a.unref(s)||{}),m=a.computed(()=>e.initOptions||a.unref(l)||{}),w=a.computed(()=>e.updateOptions||a.unref(f)||{}),T=a.computed(()=>R0(n));function y(C){if(r.value||!o.value)return;const A=r.value=Pe.init(o.value,g.value,m.value);e.group&&(A.group=e.group);let _=t;_||(_={},Object.keys(n).filter(R=>R.indexOf("on")===0&&R.length>2).forEach(R=>{const B=R.charAt(2).toLowerCase()+R.slice(3);_[B]=n[R]})),Object.keys(_).forEach(R=>{const B=_[R];B&&(R.indexOf("zr:")===0?A.getZr().on(R.slice(3).toLowerCase(),B):A.on(R.toLowerCase(),B))});function S(){if(A&&!A.isDisposed())try{A.resize()}catch(R){if(R.message==="Cannot read property 'get' of undefined")return;throw R}}function E(){A.setOption(C||u.value,w.value)}c.value?a.nextTick(()=>{S(),E()}):E()}function p(C,A){e.manualUpdate&&(i.value=C),r.value?r.value.setOption(C,A||{}):y(C)}function b(){r.value&&(r.value.dispose(),r.value=void 0)}let k=null;a.watch(d,C=>{typeof k=="function"&&(k(),k=null),C||(k=a.watch(()=>e.option,A=>{A&&(r.value?r.value.setOption(A,w.value):y())},{deep:!0}))},{immediate:!0}),a.watch([g,m],()=>{b(),y()},{deep:!0}),a.watchEffect(()=>{e.group&&r.value&&(r.value.group=e.group)});const v=C0(r,y);return E0(r,x,h),A0(r,c,o),a.onMounted(()=>{e.option&&y()}),a.onUnmounted(b),{chart:r,root:o,setOption:p,nonEventAttrs:T,...v}},render(){const e={...this.nonEventAttrs};return e.ref="root",e.class=e.class?["echarts"].concat(e.class):"echarts",a.h(I0,e)}});function Ue(e,n){M0(e)&&(e="100%");var t=z0(e);return e=n===360?e:Math.min(n,Math.max(0,parseFloat(e))),t&&(e=parseInt(String(e*n),10)/100),Math.abs(e-n)<1e-6?1:(n===360?e=(e<0?e%n+n:e%n)/parseFloat(String(n)):e=e%n/parseFloat(String(n)),e)}function M0(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function z0(e){return typeof e=="string"&&e.indexOf("%")!==-1}function F0(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Pt(e){return e<=1?"".concat(Number(e)*100,"%"):e}function on(e){return e.length===1?"0"+e:String(e)}function P0(e,n,t){return{r:Ue(e,255)*255,g:Ue(n,255)*255,b:Ue(t,255)*255}}function an(e,n,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?e+(n-e)*(6*t):t<1/2?n:t<2/3?e+(n-e)*(2/3-t)*6:e}function H0(e,n,t){var o,r,i;if(e=Ue(e,360),n=Ue(n,100),t=Ue(t,100),n===0)r=t,i=t,o=t;else{var s=t<.5?t*(1+n):t+n-t*n,l=2*t-s;o=an(l,s,e+1/3),r=an(l,s,e),i=an(l,s,e-1/3)}return{r:o*255,g:r*255,b:i*255}}function q0(e,n,t){e=Ue(e,255),n=Ue(n,255),t=Ue(t,255);var o=Math.max(e,n,t),r=Math.min(e,n,t),i=0,s=o,l=o-r,f=o===0?0:l/o;if(o===r)i=0;else{switch(o){case e:i=(n-t)/l+(n<t?6:0);break;case n:i=(t-e)/l+2;break;case t:i=(e-n)/l+4;break}i/=6}return{h:i,s:f,v:s}}function V0(e,n,t){e=Ue(e,360)*6,n=Ue(n,100),t=Ue(t,100);var o=Math.floor(e),r=e-o,i=t*(1-n),s=t*(1-r*n),l=t*(1-(1-r)*n),f=o%6,c=[t,s,i,i,l,t][f],d=[l,t,t,s,i,i][f],x=[i,i,l,t,t,s][f];return{r:c*255,g:d*255,b:x*255}}function j0(e,n,t,o){var r=[on(Math.round(e).toString(16)),on(Math.round(n).toString(16)),on(Math.round(t).toString(16))];return o&&r[0].startsWith(r[0].charAt(1))&&r[1].startsWith(r[1].charAt(1))&&r[2].startsWith(r[2].charAt(1))?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0):r.join("")}function xa(e){return He(e)/255}function He(e){return parseInt(e,16)}var ya={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function It(e){var n={r:0,g:0,b:0},t=1,o=null,r=null,i=null,s=!1,l=!1;return typeof e=="string"&&(e=W0(e)),typeof e=="object"&&(Je(e.r)&&Je(e.g)&&Je(e.b)?(n=P0(e.r,e.g,e.b),s=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Je(e.h)&&Je(e.s)&&Je(e.v)?(o=Pt(e.s),r=Pt(e.v),n=V0(e.h,o,r),s=!0,l="hsv"):Je(e.h)&&Je(e.s)&&Je(e.l)&&(o=Pt(e.s),i=Pt(e.l),n=H0(e.h,o,i),s=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(t=e.a)),t=F0(t),{ok:s,format:e.format||l,r:Math.min(255,Math.max(n.r,0)),g:Math.min(255,Math.max(n.g,0)),b:Math.min(255,Math.max(n.b,0)),a:t}}var G0="[-\\+]?\\d+%?",U0="[-\\+]?\\d*\\.\\d+%?",at="(?:".concat(U0,")|(?:").concat(G0,")"),rn="[\\s|\\(]+(".concat(at,")[,|\\s]+(").concat(at,")[,|\\s]+(").concat(at,")\\s*\\)?"),ln="[\\s|\\(]+(".concat(at,")[,|\\s]+(").concat(at,")[,|\\s]+(").concat(at,")[,|\\s]+(").concat(at,")\\s*\\)?"),$e={CSS_UNIT:new RegExp(at),rgb:new RegExp("rgb"+rn),rgba:new RegExp("rgba"+ln),hsl:new RegExp("hsl"+rn),hsla:new RegExp("hsla"+ln),hsv:new RegExp("hsv"+rn),hsva:new RegExp("hsva"+ln),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function W0(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var n=!1;if(ya[e])e=ya[e],n=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var t=$e.rgb.exec(e);return t?{r:t[1],g:t[2],b:t[3]}:(t=$e.rgba.exec(e),t?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=$e.hsl.exec(e),t?{h:t[1],s:t[2],l:t[3]}:(t=$e.hsla.exec(e),t?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=$e.hsv.exec(e),t?{h:t[1],s:t[2],v:t[3]}:(t=$e.hsva.exec(e),t?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=$e.hex8.exec(e),t?{r:He(t[1]),g:He(t[2]),b:He(t[3]),a:xa(t[4]),format:n?"name":"hex8"}:(t=$e.hex6.exec(e),t?{r:He(t[1]),g:He(t[2]),b:He(t[3]),format:n?"name":"hex"}:(t=$e.hex4.exec(e),t?{r:He(t[1]+t[1]),g:He(t[2]+t[2]),b:He(t[3]+t[3]),a:xa(t[4]+t[4]),format:n?"name":"hex8"}:(t=$e.hex3.exec(e),t?{r:He(t[1]+t[1]),g:He(t[2]+t[2]),b:He(t[3]+t[3]),format:n?"name":"hex"}:!1)))))))))}function Je(e){return!!$e.CSS_UNIT.exec(String(e))}var Ht=2,pa=.16,$0=.05,Z0=.05,Y0=.15,ba=5,va=4,K0=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function Sa(e){var n=e.r,t=e.g,o=e.b,r=q0(n,t,o);return{h:r.h*360,s:r.s,v:r.v}}function qt(e){var n=e.r,t=e.g,o=e.b;return"#".concat(j0(n,t,o,!1))}function X0(e,n,t){var o=t/100,r={r:(n.r-e.r)*o+e.r,g:(n.g-e.g)*o+e.g,b:(n.b-e.b)*o+e.b};return r}function wa(e,n,t){var o;return Math.round(e.h)>=60&&Math.round(e.h)<=240?o=t?Math.round(e.h)-Ht*n:Math.round(e.h)+Ht*n:o=t?Math.round(e.h)+Ht*n:Math.round(e.h)-Ht*n,o<0?o+=360:o>=360&&(o-=360),o}function Ca(e,n,t){if(e.h===0&&e.s===0)return e.s;var o;return t?o=e.s-pa*n:n===va?o=e.s+pa:o=e.s+$0*n,o>1&&(o=1),t&&n===ba&&o>.1&&(o=.1),o<.06&&(o=.06),Number(o.toFixed(2))}function Aa(e,n,t){var o;return t?o=e.v+Z0*n:o=e.v-Y0*n,o>1&&(o=1),Number(o.toFixed(2))}function sn(e){for(var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=[],o=It(e),r=ba;r>0;r-=1){var i=Sa(o),s=qt(It({h:wa(i,r,!0),s:Ca(i,r,!0),v:Aa(i,r,!0)}));t.push(s)}t.push(qt(o));for(var l=1;l<=va;l+=1){var f=Sa(o),c=qt(It({h:wa(f,l),s:Ca(f,l),v:Aa(f,l)}));t.push(c)}return n.theme==="dark"?K0.map(function(d){var x=d.index,h=d.opacity,u=qt(X0(It(n.backgroundColor||"#141414"),It(t[x]),h*100));return u}):t}var cn={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},fn={},dn={};Object.keys(cn).forEach(function(e){fn[e]=sn(cn[e]),fn[e].primary=fn[e][5],dn[e]=sn(cn[e],{theme:"dark",backgroundColor:"#141414"}),dn[e].primary=dn[e][5]});var ka=[],Ot=[],Q0="insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).";function J0(){var e=document.createElement("style");return e.setAttribute("type","text/css"),e}function el(e,n){if(n=n||{},e===void 0)throw new Error(Q0);var t=n.prepend===!0?"prepend":"append",o=n.container!==void 0?n.container:document.querySelector("head"),r=ka.indexOf(o);r===-1&&(r=ka.push(o)-1,Ot[r]={});var i;return Ot[r]!==void 0&&Ot[r][t]!==void 0?i=Ot[r][t]:(i=Ot[r][t]=J0(),t==="prepend"?o.insertBefore(i,o.childNodes[0]):o.appendChild(i)),e.charCodeAt(0)===65279&&(e=e.substr(1,e.length)),i.styleSheet?i.styleSheet.cssText+=e:i.textContent+=e,i}function Ta(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?Object(arguments[n]):{},o=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),o.forEach(function(r){tl(e,r,t[r])})}return e}function tl(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function nl(e,n){process.env.NODE_ENV!=="production"&&!e&&console!==void 0&&console.error("Warning: ".concat(n))}function ol(e,n){nl(e,"[@ant-design/icons-vue] ".concat(n))}function Ea(e){return typeof e=="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(typeof e.icon=="object"||typeof e.icon=="function")}function un(e,n,t){return t?a.h(e.tag,Ta({key:n},t,e.attrs),(e.children||[]).map(function(o,r){return un(o,"".concat(n,"-").concat(e.tag,"-").concat(r))})):a.h(e.tag,Ta({key:n},e.attrs),(e.children||[]).map(function(o,r){return un(o,"".concat(n,"-").concat(e.tag,"-").concat(r))}))}function Ba(e){return sn(e)[0]}function _a(e){return e?Array.isArray(e)?e:[e]:[]}var al=`
3
3
  .anticon {
4
4
  display: inline-block;
@@ -114,6 +114,6 @@ version: 2.9.0
114
114
  <img style="width: ${a.unref(i)};filter: ${`drop-shadow(${I||C||"#6ACB97"} ${a.unref(i)} 0px)`};" src="${Qr}"/>
115
115
  </div>
116
116
  <span style="color: ${I||e.color}">${e.minusSignShow?"-":""}${Math.abs(+H).toFixed(2)}%</span>
117
- </span>`)}else e.format==="percent"?(H=+H,isNaN(H)||(H=(H*100).toFixed(2),A=A.replace(B,`<span style="color:${f(H)||e.variableColor};font-size:${a.unref(i)}">${H}%</span>`))):e.format==="money"?(H=+H,isNaN(H)||(H=so(H),A=A.replace(B,`<span style="color:${f(H)||e.variableColor};font-size:${a.unref(i)}">${H}</span>`))):D==="thousands"?(H=+H,isNaN(H)||(H=$s(H),A=A.replace(B,`<span style="color:${f(H)||e.variableColor};font-size:${a.unref(i)}">${H}</span>`))):A=A.replace(B,`<span style="color:${f(H)||e.variableColor};font-size:${a.unref(i)}">${H}</span>`)}}if(S||(S=`<span style="color: ${f(A)}">${A}</span>`),e.unitShow&&e.unitText){const{unitTop:R,unitLeft:B}=e;let P="position:relative;";R&&(P+=`top:${R};`),B&&(P+=`margin-left:${B};`),S+=`<span style='color:${e.unitColor};font-size:${e.unitFontSize};font-weight:${e.unitFontWeight};${P}'>${e.unitText}</span>`}return S});function f(k){let v="",C=!1;const{targetValue:A,targetShow:_,notExpectColor:S}=e;if(_){switch(e.targetRule){case"equal":k!==A&&(C=!0);break;case"greater":k<=A&&(C=!0);break;case"greater_equal":k<A&&(C=!0);break;case"less":k>=A&&(C=!0);break;case"less_equal":k>A&&(C=!0);break}C&&(v=S)}return v}const{pageMode:c}=a.inject(Ie,{pageMode:"normal"}),d=Oe(e),x=a.ref(!1),h=async()=>{var k;try{x.value=!0;const v=await d();r.value=((k=v==null?void 0:v.data)==null?void 0:k.data)||{}}catch(v){console.error(v)}finally{x.value=!1}},u=(k={})=>{r.value=k},g=Ke(e),m=async()=>{var k;try{x.value=!0;const v=await g(),{data:C}=(v==null?void 0:v.data)||{};if(C){t.value=!1;const{columns:A=[],rows:_=[]}=((k=v==null?void 0:v.data)==null?void 0:k.data)??{};let S={};if(A.length>0){const E=A.find(R=>!!R);E&&(S={value:isNaN(_[E])?0:_[E]||0})}u(S)}else t.value=!0,u({value:"NaN"})}catch(v){console.error(v)}finally{x.value=!1}},w=()=>{switch(e.dataType){case"indicator":m();break;case"request":h();break}},{setRequest:T}=a.inject(_e,{setRequest:({id:k,sortNum:v,requestFn:C})=>{}});typeof T=="function"&&T({id:e.id,requestFn:w,sortNum:e.requestSort}),ke(e,{refreshData:w}),n({refreshData:w});const y=be(e),p=y("click",()=>{if(!e.linkPage&&!e.href)return;const k=e.linkPage||"",v=$r(a.unref(c),k),C=e.href;let A=C||v;A=Se(A);const _=e.target;_&&(_!=="event"?window.open(A,"_"+_):window.parent.postMessage({type:"openPage",url:C},"*"))}),b=y("valueChange",()=>{});return a.watch(()=>l.value,(k,v)=>{k!==v&&b()}),{style:o,myText:l,loading:x,click:p,textIndent:s,vFontSize:i}}}),Jr=()=>{a.useCssVars(e=>({e4e366f8:e.vFontSize,"6749620a":e.textIndent,"3ce8b8d3":e.percentageSide}))},ei=go.setup;go.setup=ei?(e,n)=>(Jr(),ei(e,n)):Jr;const Ld="",nc=["innerHTML"];function oc(e,n,t,o,r,i){const s=a.resolveComponent("skeleton");return e.loading?(a.openBlock(),a.createElementBlock("div",{key:0,class:"skeleton-wrapper",style:a.normalizeStyle(e.style)},[a.createVNode(s,{loading:e.loading},null,8,["loading"])],4)):(a.openBlock(),a.createElementBlock("div",{key:1,class:"ecan-text",style:a.normalizeStyle(e.style),innerHTML:e.myText,onClick:n[0]||(n[0]=(...l)=>e.click&&e.click(...l))},null,12,nc))}const ti=ce(se(go,[["render",oc],["__scopeId","data-v-87f2badf"]])),ac=a.defineComponent({name:"EcanScrollText",setup(){return{text:a.ref("基础文本")}}}),Md="",rc={class:"red"};function ic(e,n,t,o,r,i){return a.openBlock(),a.createElementBlock("div",rc,a.toDisplayString(e.text),1)}const ni=ce(se(ac,[["render",ic],["__scopeId","data-v-4dd9c03e"]])),mo={...me,name:"时间展示",keyName:"时间展示",type:"ecanTimeDisplay",format:"YYYY-MM-DD dddd HH:mm:ss",fontSize:"16px",color:"#333",width:"240px",height:"40px",fontFamily:"",fontWeight:400,textShadow:"",alignItems:"center",justifyContent:"center",operate:null,updateInterval:{value:1,mode:"second"}},xo=de(mo),oi=["timeChange"],lc=a.defineComponent({name:"EcanTimeDisplay",props:{...xo},setup(e){const n=ue(e),t=()=>{const{format:c,operate:d}=e;let x=we();if(d){const{type:h,value:u,mode:g}=d;switch(h){case"add":x=x.add(u,g);break;case"minus":x=x.subtract(u,g)}}return x.format(c)},o=a.ref();a.watch(()=>[e.operate,e.format],()=>{o.value=t()},{immediate:!0,deep:!0}),a.watch(()=>e.updateInterval,()=>{f()},{deep:!0});let r=null;const i=()=>{clearInterval(r),r=null},l=be(e)("timeChange",()=>{}),f=()=>{r&&i();let c=1e3;const{value:d,mode:x}=e.updateInterval||{};d&&(c=c*d);const h={second:1,minute:60,hour:60*60,day:24*60*60};x&&(c=c*h[x]),r=setInterval(()=>{o.value=t(),l()},c)};return ke(e,{timeChange:l}),a.onMounted(()=>{f()}),a.onUnmounted(()=>{i()}),{style:n,time:o}}}),Fd="";function sc(e,n,t,o,r,i){return a.openBlock(),a.createElementBlock("div",{class:"time-display",style:a.normalizeStyle(e.style)},a.toDisplayString(e.time),5)}const ai=ce(se(lc,[["render",sc],["__scopeId","data-v-b628fca2"]])),yo={...me,type:"ecanList",name:"列表",keyName:"列表",width:"330px",height:"80px",backgroundColor:"#0d215e",itemColSpan:"10px",itemRowSpan:"10px",useRanking:!0,useTitle:!1,sliceCount:6,columnCount:1,itemHeight:"32px",data:[{name:"a",age:12},{name:"b",age:14}],columns:[{key:"name"},{key:"age"}]},po=de(yo),ri=["refreshData","click"],cc=a.defineComponent({name:"EcanList",components:{Skeleton:jt},props:{...po},setup(e){const n=a.ref(e.data),t=ue(e,["backgroundColor"]),o=a.computed(()=>e.useRanking?{textAlign:"center"}:{textAlign:"left"}),r=(u,g)=>g==null||g===""?u:{money:so,percentage:en,contrast:en}[g](u)||"",i=(u,g)=>{const m=parseFloat(u+"");if(g!=="contrast")return"";switch(!0){case m>=0:return"goUp";case m<0:return"goDown"}},s=Oe(e),l=a.ref(!1),f=async()=>{var u;if(e.dataType==="request")try{l.value=!0;const g=await s();n.value=((u=g==null?void 0:g.data)==null?void 0:u.data.rows)||[]}catch(g){console.error(g)}finally{l.value=!1}},c=()=>{f()},x=be(e)("click",()=>{});ke(e,{refreshData:c});const{setRequest:h}=a.inject(_e,{setRequest:({id:u,sortNum:g,requestFn:m})=>{}});return h({id:e.id,requestFn:f,sortNum:e.requestSort}),{style:t,formatFn:r,columnStyle:o,contrastClass:i,dataSource:n,loading:l,click:x}}}),Hd="",qd="",fc=e=>(a.pushScopeId("data-v-7aa27677"),e=e(),a.popScopeId(),e),dc={key:0,class:"title"},uc={key:0,class:"ranking"},hc={key:1,class:"ecan-list-content"},gc={key:0,class:"ranking"},mc=fc(()=>a.createElementVNode("div",{class:"icon"},null,-1)),xc={class:"sort"},yc={key:2,class:"empty"};function pc(e,n,t,o,r,i){const s=a.resolveComponent("skeleton");return a.openBlock(),a.createElementBlock("div",{class:"ecan-list",style:a.normalizeStyle(e.style)},[a.createVNode(s,{loading:e.loading},{default:a.withCtx(()=>[e.useTitle?(a.openBlock(),a.createElementBlock("div",dc,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.columnCount,l=>(a.openBlock(),a.createElementBlock("div",{class:"title-inner",style:a.normalizeStyle({backgroundColor:e.backgroundColor,height:e.itemHeight,width:`calc(100% / ${e.columnCount} - ${e.itemColSpan} * ${e.columnCount-1}/ ${e.columnCount})`,marginRight:l%e.columnCount!==0?e.itemColSpan:""}),key:l},[e.useRanking?(a.openBlock(),a.createElementBlock("div",uc)):a.createCommentVNode("",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.columns,(f,c)=>(a.openBlock(),a.createElementBlock("div",{class:"column",key:f.key||c,style:a.normalizeStyle({color:f.titleColor,...e.columnStyle})},a.toDisplayString(f.title),5))),128))],4))),128))])):a.createCommentVNode("",!0),e.dataSource.length>0?(a.openBlock(),a.createElementBlock("div",hc,[e.useTitle?(a.openBlock(),a.createElementBlock("div",{key:0,class:"title-placeholder",style:a.normalizeStyle({marginBottom:e.itemRowSpan})},null,4)):a.createCommentVNode("",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.dataSource.slice(0,e.sliceCount),(l,f)=>(a.openBlock(),a.createElementBlock("div",{class:"item",style:a.normalizeStyle({backgroundColor:e.backgroundColor,height:e.itemHeight,width:`calc(100% / ${e.columnCount} - ${e.itemColSpan} * ${e.columnCount-1} / ${e.columnCount})`,marginRight:(f+1)%e.columnCount!==0?e.itemColSpan:"",marginBottom:e.itemRowSpan}),key:l.id||f,onClick:n[0]||(n[0]=(...c)=>e.click&&e.click(...c))},[e.useRanking?(a.openBlock(),a.createElementBlock("div",gc,[mc,a.createElementVNode("div",xc," Top "+a.toDisplayString(f+1),1)])):a.createCommentVNode("",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.columns,c=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["column",e.contrastClass(l[c.key],c.format)]),key:c.key,style:a.normalizeStyle({fontSize:c.fontSize,color:e.contrastClass(l[c.key],c.format)===""?c.color:"",fontWeight:c.fontWeight,...e.columnStyle})},a.toDisplayString((c.format!=null||c.format!=="")&&e.formatFn(l[c.key],c.format)),7))),128))],4))),128))])):(a.openBlock(),a.createElementBlock("div",yc," 暂无数据 "))]),_:1},8,["loading"])],4)}const ii=ce(se(cc,[["render",pc],["__scopeId","data-v-7aa27677"]])),bo={...me,name:"占比图",keyName:"占比图",type:"ecanProportion",strokeType:"circle",width:"200px",height:"200px",strokeColor:"#4091f7",strokeLinecap:"round",trailColor:"#f5f5f5",data:{percent:.3},text:"{percent}%",fontSize:"26px",color:"#4091f7",strokeWidth:6,fontWeight:400,strokeTextWidth:"100%",lineHeight:"26px",decimalFormat:!0,variableDefaultValue:"0",strokeTextShow:!0,gradientShow:!0,gradientColor:"",gradientOffset:1,graphicConfig:{}},vo=de(bo),li=["refreshData","click"],bc=a.defineComponent({name:"EcanProportion",components:{AProgress:ne.Progress,Skeleton:jt},props:{...vo},setup(e,{expose:n}){const t=a.ref(!1),{pageMode:o}=a.inject(Ie,{pageMode:"normal"}),r=ue(e),i=a.computed(()=>{const b=e.width;return parseFloat(b)}),s=a.ref({});a.watch(()=>e.data,()=>{(e.dataType==="static"||a.unref(o)==="design")&&(s.value=e.data)},{immediate:!0,deep:!0});const l=a.computed(()=>{const b=a.unref(s),k=+e.variableDefaultValue;if(b==null)return isNaN(k)?0:k;const v=e.text.match(/\{.+\}/g)||[];let C;const A=new Set(Object.keys(b));for(let _=0;_<v.length;_++){const S=v[_],E=S.slice(1,S.length-1);if(A.has(E)){C=b[E];break}}return typeof C=="number"?C=C*100:typeof C=="string"&&!isNaN(+C)?C=+C*100:isNaN(k)?C=0:C=k*100,e.decimalFormat&&(C=+C.toFixed(2)),C}),f=a.computed(()=>{var A;let b=e.text;if(b==="")return a.unref(l);const k=e.variableDefaultValue,v=a.unref(s),C=b.match(/\{.+\}/g)||[];for(let _=0;_<C.length;_++){const S=C[_];let E=S.slice(1,S.length-1);const R=/[\u4e00-\u9fa5a-z-_A-Z0-9]*/g,B=S.match(R);for(let q=0;q<(B==null?void 0:B.length);q++){const F=(A=B[q])==null?void 0:A.trim();v[F]!=null&&(E=E.replace(F,v[F]))}let P=E;try{/\(.*\)/g.test(E)&&(P=tn(E))}catch(q){console.error(q)}typeof+P=="number"&&!isNaN(+P)?(P=+P*100,e.decimalFormat&&(P=P.toFixed(2))):P=k,b=b.replace(S,P+"")}return a.unref(t)?"NaN":b}),c=Oe(e),d=a.ref(!1),x=async()=>{var b;if(e.dataType==="request")try{d.value=!0;const k=await c();s.value=((b=k==null?void 0:k.data)==null?void 0:b.data)||{}}catch(k){console.error(k)}finally{d.value=!1}},h=(b={})=>{s.value=b},u=Ke(e),g=async()=>{var b;try{d.value=!0;const k=await u(),{data:v}=(k==null?void 0:k.data)||{};if(v){t.value=!1;const{columns:C=[],rows:A=[]}=((b=k==null?void 0:k.data)==null?void 0:b.data)??{};let _={};if(C.length>0){const S=C.find(E=>!!E);S&&(_={percent:A[S]})}h(_)}else t.value=!0,h({percent:"NaN"})}catch(k){console.error(k)}finally{d.value=!1}},m=()=>{switch(e.dataType){case"indicator":g();break;case"request":x();break}};ke(e,{refreshData:m}),n({refreshData:m});const T=be(e)("click",()=>{}),{setRequest:y}=a.inject(_e,{setRequest:({id:b,sortNum:k,requestFn:v})=>{}});typeof y=="function"&&y({id:e.id,requestFn:m,sortNum:e.requestSort});const p=a.computed(()=>{const{gradientShow:b,gradientColor:k,gradientOffset:v,strokeColor:C}=e;let A=C;return b&&k&&(A={"0%":C,[`${v*100}%`]:k}),A});return{style:r,myWidth:i,text:f,myValue:l,loading:d,click:T,customStrokeColor:p}}}),jd="";function vc(e,n,t,o,r,i){const s=a.resolveComponent("skeleton"),l=a.resolveComponent("a-progress");return a.openBlock(),a.createElementBlock("div",{class:"ecan-proportion",style:a.normalizeStyle(e.style)},[a.createVNode(l,{class:"progress",percent:e.myValue,width:e.myWidth,type:e.strokeType,strokeColor:e.customStrokeColor,strokeLinecap:e.strokeLinecap,trailColor:e.trailColor,strokeWidth:e.strokeWidth,showInfo:e.strokeTextShow,gapDegree:e.strokeType==="dashboard"?75:0,onClick:e.click},{format:a.withCtx(()=>[e.loading?(a.openBlock(),a.createBlock(s,{key:0,loading:e.loading},null,8,["loading"])):e.strokeTextShow?(a.openBlock(),a.createElementBlock("div",{key:1,class:"format",style:a.normalizeStyle({width:e.strokeTextWidth,fontSize:e.fontSize,color:e.color,fontWeight:e.fontWeight,lineHeight:e.lineHeight})},a.toDisplayString(e.text),5)):a.createCommentVNode("",!0)]),_:1},8,["percent","width","type","strokeColor","strokeLinecap","trailColor","strokeWidth","showInfo","gapDegree","onClick"])],4)}const si=ce(se(bc,[["render",vc],["__scopeId","data-v-cf942b5f"]])),So={...me,width:"200px",id:"",left:"0px",top:"0px",name:"输入框",keyName:"输入框",rotate:"",type:"ecanInput",value:"",placeholder:"请输入文字",optionFontSize:"14px"},wo=de(So),ci=["inputChange","inputBlur"],Sc=a.defineComponent({name:"EcanInput",components:{AInput:ne.Input},props:{...wo},setup(e){const n=ue(e),t=a.ref("");a.watch(()=>e.value,c=>{t.value=c},{immediate:!0});const{getGlobalModel:o,setGlobalModel:r}=a.inject(Ce,{getGlobalModel:c=>{},setGlobalModel:(c,d)=>{}});r(e.id,{type:e.type,value:t});const i=()=>{const c=o(e.id);r(e.id,{...c,RECORD:t})},s=be(e),l=Ge.debounce(s("inputChange",()=>{i()}),300),f=s("inputBlur",()=>{});return{style:n,myValue:t,inputBlur:f,inputChange:l}}}),Ud="";function wc(e,n,t,o,r,i){const s=a.resolveComponent("a-input");return a.openBlock(),a.createElementBlock("div",{class:"ecan-input",style:a.normalizeStyle(e.style)},[a.createVNode(s,{class:"input",value:e.myValue,"onUpdate:value":n[0]||(n[0]=l=>e.myValue=l),placeholder:e.placeholder,onChange:e.inputChange,onBlur:e.inputBlur,style:a.normalizeStyle({fontSize:e.optionFontSize})},null,8,["value","placeholder","onChange","onBlur","style"])],4)}const fi=ce(se(Sc,[["render",wc]])),Co={...me,height:"33px",width:"130px",id:"",left:"0px",top:"0px",name:"日期选择器",keyName:"日期选择器",rotate:"",type:"ecanDatePicker",value:"",picker:"date",format:"YYYY-MM-DD",showTime:!1,useCurrentTime:!0,operate:null,optionFontSize:"14px"},Ao=de(Co),di=["dateChange"],ko=a.defineComponent({name:"EcanDatePicker",props:{...Ao},components:{ADatePicker:ne.DatePicker},setup(e){const n=ue(e),t=()=>document.getElementById("ProviderConfig")||document.body,o=a.ref(null);a.watch(()=>[e.value,e.useCurrentTime,e.operate],([f,c,d])=>{let x=null;if(f?x=we(Se(f)):c&&(x=we()),d&&x){const{type:h,value:u,mode:g}=d;switch(h){case"add":x=x.add(u,g);break;case"minus":x=x.subtract(u,g)}}o.value=x},{deep:!0,immediate:!0});const{setGlobalModel:r}=a.inject(Ce,{setGlobalModel:(f,c)=>{}});r(e.id,{type:e.type,format:e.format,useCurrentTime:e.useCurrentTime,value:o});const s=be(e)("dateChange",()=>{}),l=()=>{a.unref(o)&&s()};return ke(e,{dateChange:s}),{style:n,getPopupContainer:t,myValue:o,locale:ma,change:l}}}),ui=()=>{a.useCssVars(e=>({44329128:e.optionFontSize}))},hi=ko.setup;ko.setup=hi?(e,n)=>(ui(),hi(e,n)):ui;const $d="",Zd="";function Cc(e,n,t,o,r,i){const s=a.resolveComponent("a-date-picker");return a.openBlock(),a.createElementBlock("div",{class:"ecan-date-picker",style:a.normalizeStyle(e.style)},[a.createVNode(s,{class:"date-picker",dropdownClassName:"ecan-date-picker-dropdown",value:e.myValue,"onUpdate:value":n[0]||(n[0]=l=>e.myValue=l),format:e.format,picker:e.picker,showTime:e.showTime,locale:e.locale,onChange:e.change,getPopupContainer:e.getPopupContainer,popupStyle:{fontSize:e.optionFontSize}},null,8,["value","format","picker","showTime","locale","onChange","getPopupContainer","popupStyle"])],4)}const gi=ce(se(ko,[["render",Cc],["__scopeId","data-v-23e446fe"]])),To={...me,name:"日期范围选择器",keyName:"日期范围选择器",type:"ecanRangePicker",width:"250px",height:"35px",picker:"date",format:"YYYY-MM-DD",startTime:"",endTime:"",useCurrentTime:!0,interval:1,intervalUnit:"year",operate:null,limitStartTime:"",limitEndTime:"",associated:"",optionFontSize:"14px",isAllowSpanYear:!0},Eo=de(To),mi=["dateChange"];var xi={exports:{}};(function(e,n){(function(t,o){e.exports=o()})(oe,function(){var t="month",o="quarter";return function(r,i){var s=i.prototype;s.quarter=function(c){return this.$utils().u(c)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(c-1))};var l=s.add;s.add=function(c,d){return c=Number(c),this.$utils().p(d)===o?this.add(3*c,t):l.bind(this)(c,d)};var f=s.startOf;s.startOf=function(c,d){var x=this.$utils(),h=!!x.u(d)||d;if(x.p(c)===o){var u=this.quarter()-1;return h?this.month(3*u).startOf(t).startOf("day"):this.month(3*u+2).endOf(t).endOf("day")}return f.bind(this)(c,d)}}})})(xi);var Ac=xi.exports;const kc=ja(Ac);we.extend(kc);const Bo=a.defineComponent({name:"EcanRangePicker",components:{ARangePicker:ne.RangePicker},props:{...Eo},setup(e){const n=ue(e),t=()=>document.getElementById("ProviderConfig")||document.body,o=a.ref([null,null]);a.watch(()=>[e.startTime,e.endTime,e.useCurrentTime,e.interval,e.intervalUnit,e.operate],([p,b,k,v,C,A])=>{let _=null,S=null;if(k&&(_=we().subtract(v,C),S=we()),p&&(_=we(Se(p))),b&&(S=we(Se(b))),A){const{type:E,value:R,mode:B}=A;switch(E){case"add":_=_&&_.add(R,B),S=S&&S.add(R,B);break;case"minus":_=_&&_.subtract(R,B),S=S&&S.subtract(R,B)}}o.value=[_,S]},{immediate:!0});let r=a.unref(o)[0],i=a.unref(o)[1],s="";const l=(p,b,k)=>{Array.isArray(p)?(r=p[0],i=p[1],s=k.range):(r=null,i=null)},f=p=>{let b=!1,{limitStartTime:k,limitEndTime:v}=e;const C={startTime:`${r||""}`,endTime:`${i||""}`};if(k=Se(k,{codeData:C}),v=Se(v,{codeData:C}),k&&v?b=!(we(k)<p&&p<we(v)):k?b=we(k)>p:v&&(b=we(v)<p),!e.isAllowSpanYear&&s){let A=null;if(s==="start"?A=r:s==="end"&&(A=i),A){const _=A.startOf("year"),S=A.endOf("year");b=!(_<=p&&p<S)}}return b},{getGlobalModel:c,setGlobalModel:d}=a.inject(Ce,{getGlobalModel:p=>{},setGlobalModel:(p,b)=>{}}),x=a.computed(()=>Array.isArray(a.unref(o))?a.unref(o)[0]:null),h=a.computed(()=>Array.isArray(a.unref(o))?a.unref(o)[1]:null);d(e.id,{type:e.type,format:e.format,startTime:x,endTime:h});const u=be(e);let g=!1;const m=u("dateChange",()=>{}),w=p=>{const b=a.unref(o),k=b&&b[0]&&b[1];p===!1&&g===!0&&k&&(m(),g=!1),p||(s="")},T=()=>{g=!0};return ke(e,{dateChange:()=>{const{associated:p}=e;if(p){const b=c(p)||{};if(b){const{value:k}=b;if(k)switch(a.unref(k)){case"month":o.value=[we().startOf("month"),we().endOf("month")];break;case"quarter":o.value=[we().startOf("quarter"),we().endOf("quarter")];break;case"year":o.value=[we().startOf("year"),we().endOf("year")];break}}}m()}}),{style:n,getPopupContainer:t,locale:ma,dateChange:m,myValue:o,disabledDate:f,calendarChange:l,openChange:w,change:T}}}),yi=()=>{a.useCssVars(e=>({"454f10ac":e.optionFontSize}))},pi=Bo.setup;Bo.setup=pi?(e,n)=>(yi(),pi(e,n)):yi;const Kd="",Xd="";function Tc(e,n,t,o,r,i){const s=a.resolveComponent("a-range-picker");return a.openBlock(),a.createElementBlock("div",{class:"ecan-range-picker",style:a.normalizeStyle(e.style)},[a.createVNode(s,{class:"range-picker",dropdownClassName:"ecan-range-picker-dropdown",value:e.myValue,"onUpdate:value":n[0]||(n[0]=l=>e.myValue=l),format:e.format,picker:e.picker,locale:e.locale,getPopupContainer:e.getPopupContainer,"disabled-date":e.disabledDate,onChange:e.change,onCalendarChange:e.calendarChange,onOpenChange:e.openChange,popupStyle:{fontSize:e.optionFontSize}},null,8,["value","format","picker","locale","getPopupContainer","disabled-date","onChange","onCalendarChange","onOpenChange","popupStyle"])],4)}const bi=ce(se(Bo,[["render",Tc],["__scopeId","data-v-ca49f365"]])),_o={...me,width:"200px",name:"按钮",keyName:"按钮",type:"ecanButton",text:"按钮",mode:"default",danger:!1,shape:"default",href:"",target:"self",fontSize:"14px",fontWeight:400,unitColor:"",buttonBackgroundColor:"#FFFFFF"},Do=de(_o),vi=["click"],Ec=a.defineComponent({name:"EcanButton",components:{AButton:ne.Button},props:{...Do},setup(e){const n=ue(e),o=be(e)("click",()=>{const f=a.unref(s);f&&e.target==="event"&&window.parent.postMessage({type:"openPage",url:f},"*")}),r=a.computed(()=>{const f={};return e.mode!=="primary"&&(f.backgroundColor=e.buttonBackgroundColor||"transparent",f.color=e.unitColor,f.borderColor=e.unitColor),{height:e.height,...f}}),i=a.computed(()=>Se(e.text)),s=a.computed(()=>Se(e.href)||null),l=a.computed(()=>{const f=e.target;if(!(f==="event"||a.unref(s)==null))return{self:"_self",blank:"_blank"}[f]});return{style:n,click:o,myText:i,myHref:s,myTarget:l,buttonStyle:r}}}),Jd="";function Bc(e,n,t,o,r,i){const s=a.resolveComponent("a-button");return a.openBlock(),a.createElementBlock("div",{class:"ecan-button",style:a.normalizeStyle(e.style)},[a.createVNode(s,{block:"",onClick:e.click,type:e.mode,danger:e.danger,shape:e.shape,href:e.myHref,target:e.myTarget,style:a.normalizeStyle(e.buttonStyle),class:a.normalizeClass(e.unitColor?"custom-color":"")},{default:a.withCtx(()=>[a.createElementVNode("span",{style:a.normalizeStyle({fontSize:e.fontSize,fontWeight:e.fontWeight})},a.toDisplayString(e.myText),5)]),_:1},8,["onClick","type","danger","shape","href","target","style","class"])],4)}const Si=ce(se(Ec,[["render",Bc]])),Ro={...me,width:"240px",id:"",left:"0px",top:"0px",name:"复选框",keyName:"复选框",rotate:"",type:"ecanCheckbox",value:[],data:[{label:"选项一",value:"1",checked:!0},{label:"选项二",value:"2",checked:!0},{label:"选项三",value:"3"}],graphicConfig:{}},Io=de(Ro),wi=["checkboxChange"],_c=a.defineComponent({name:"EcanCheckbox",components:{ACheckboxGroup:ne.CheckboxGroup},props:{...Io},setup(e,{expose:n}){const t=ue(e),o=a.ref([]),r=a.ref([]),i=w=>{const T=e.value;let y=[];w.forEach(p=>{p.checked&&y.push(p.value)}),typeof T=="string"&&T!==""?y=y.concat(T.split(",")):Array.isArray(T)&&(y=y.concat(T)),o.value=w,r.value=y};a.watch(()=>[e.data,e.value],([w])=>{i(w)},{immediate:!0,deep:!0});const s=Oe(e),l=async()=>{var y,p;if(e.dataType!=="request")return;const w=await s(),T=((p=(y=w==null?void 0:w.data)==null?void 0:y.data)==null?void 0:p.rows)||[];i(T)},{getGlobalModel:f,setGlobalModel:c}=a.inject(Ce,{getGlobalModel:w=>{},setGlobalModel:(w,T)=>{}});c(e.id,{type:e.type,value:r});const x=be(e)("checkboxChange",()=>{const w=f(e.id);c(e.id,{...w,RECORD:r})}),h=Ke(e),u=async()=>{var w;try{const T=await h(),{data:y}=(T==null?void 0:T.data)||{};if(y){const b=(((w=T==null?void 0:T.data)==null?void 0:w.data)??[]).map(k=>({label:k.label,value:k.value}));i(b)}else i([])}catch(T){console.error(T)}},g=()=>{switch(e.dataType){case"indicator":u();break;case"request":l();break}},{setRequest:m}=a.inject(_e,{setRequest:({id:w,sortNum:T,requestFn:y})=>{}});return typeof m=="function"&&m({id:e.id,requestFn:g,sortNum:e.requestSort}),n({refreshData:g}),{myOption:o,style:t,myValue:r,checkboxChange:x}}}),t1="";function Dc(e,n,t,o,r,i){const s=a.resolveComponent("a-checkbox-group");return a.openBlock(),a.createElementBlock("div",{class:"ecan-checkbox",style:a.normalizeStyle(e.style)},[a.createVNode(s,{options:e.myOption,value:e.myValue,"onUpdate:value":n[0]||(n[0]=l=>e.myValue=l),onChange:e.checkboxChange},null,8,["options","value","onChange"])],4)}const Ci=ce(se(_c,[["render",Dc]])),Oo={...me,name:"下拉框选择器",keyName:"下拉框选择器",width:"120px",height:"33px",type:"ecanSelect",mode:void 0,data:[{label:"选项一",value:"1"},{label:"选项二",value:"2"},{label:"选项三",value:"3"}],value:void 0,dataFieldNames:{label:"label",value:"value",options:""},maxTagCount:3,autoClearSearchValue:!0,placeholder:"请选择",selectFirstOption:!1,graphicConfig:{},valueType:"value",isAllowClear:!0,optionFontSize:"14px"},Lo=de(Oo),Ai=["selectChange","refreshData"],Rc=a.defineComponent({name:"EcanSelect",components:{ASelect:ne.Select,ASelectOption:ne.SelectOption},props:{...Lo},setup(e,{expose:n}){const t=ue(e),o=()=>document.getElementById("ProviderConfig")||document.body,r=Oe(e),i=a.ref(e.data||[]),s=a.ref(),l=a.computed({get:()=>{var A;const{mode:C}=e;return(A=a.unref(i))!=null&&A.length?s.value:C==="multiple"||C==="tags"||C==="combobox"?[]:""},set:C=>{s.value=C}});a.watch(()=>[e.value,e.mode,e.selectFirstOption,e.valueType,i.value],()=>{const{mode:C,selectFirstOption:A,value:_}=e;C==="multiple"||C==="tags"||C==="combobox"?_?s.value=_.split(","):A&&(s.value=[a.unref(i)[0]]):_?s.value=_:A&&(s.value=a.unref(i)[0])},{immediate:!0});const f=e.dataFieldNames,c=(C,A)=>{const _=f.label,S=f.value;let E;const R=A[_],B=A[S];return R!=null?E=R:B!=null&&(E=B),(E==null?void 0:E.toLowerCase().indexOf(C==null?void 0:C.toLowerCase()))>=0},d=C=>{const{label:A,value:_,options:S}=e.dataFieldNames;if(S&&Array.isArray(C))if(C.some(E=>S in E)){const E={},R=[];C.forEach(B=>{E[B[S]]||(E[B[S]]=[]),E[B[S]].push({[A]:B[A],[_]:B[_]})});for(const B in E)R.push({[A]:B,[S]:E[B]});return R}else return C;else if(!S)return C},x=a.ref(!1),h=async()=>{var C,A;if(e.dataType==="request"){x.value=!0;try{const _=await r();if(i.value=d(((A=(C=_==null?void 0:_.data)==null?void 0:C.data)==null?void 0:A.rows)||[]),e.selectFirstOption){let S=a.unref(i)[0];if(f.options){const E=S[f.options];E&&E.length&&(S=E[0])}s.value=S[f.value]}}catch(_){console.error(_)}finally{x.value=!1}}},{getGlobalModel:u,setGlobalModel:g}=a.inject(Ce,{getGlobalModel:C=>{},setGlobalModel:(C,A)=>{}}),m=a.computed(()=>{let C=s.value;if(e.valueType==="label"&&a.unref(s)&&a.unref(i)){const A=f.label,_=f.value;if(e.mode==="multiple")C=a.unref(i).filter(S=>a.unref(s).includes(S[_])).map(S=>S[A]);else{const S=a.unref(i).find(E=>a.unref(s)===E[_]);S&&(C=S[A])}}return C});g(e.id,{type:e.type,value:m});const T=be(e)("selectChange",()=>{const C=e.id,A=u(C);g(C,{...A,RECORD:m})}),y=(C=[])=>{if(i.value=d(C),e.selectFirstOption){let A=a.unref(i)[0];if(f.options){const _=A[f.options];_&&_.length&&(A=_[0])}s.value=A[f.value]}},p=Ke(e),b=async()=>{var C;try{x.value=!0;const A=await p(),{data:_}=(A==null?void 0:A.data)||{},S=f.label,E=f.value;if(_){const B=(((C=A==null?void 0:A.data)==null?void 0:C.data)??[]).map(P=>({[S]:P.label,[E]:P.value}));y(B)}else y([])}catch(A){console.error(A)}finally{x.value=!1}},k=()=>{switch(e.dataType){case"indicator":b();break;case"request":h();break}};ke(e,{selectChange:T,refreshData:k});const{setRequest:v}=a.inject(_e,{setRequest:({id:C,sortNum:A,requestFn:_})=>{}});return typeof v=="function"&&v({id:e.id,requestFn:k,sortNum:e.requestSort}),n({refreshData:k}),{style:t,getPopupContainer:o,myValue:s,selectChange:T,options:i,filterOption:c,loading:x,resultValue:l}}}),o1="",a1="";function Ic(e,n,t,o,r,i){const s=a.resolveComponent("a-select-option"),l=a.resolveComponent("a-select");return a.openBlock(),a.createElementBlock("div",{class:"ecan-select",style:a.normalizeStyle(e.style)},[a.createVNode(l,{class:"select",value:e.resultValue,"onUpdate:value":n[0]||(n[0]=f=>e.resultValue=f),placeholder:e.placeholder,showSearch:"",allowClear:e.isAllowClear,mode:e.mode,getPopupContainer:e.getPopupContainer,fieldNames:e.dataFieldNames,maxTagCount:e.maxTagCount,filterOption:e.filterOption,loading:e.loading,autoClearSearchValue:e.autoClearSearchValue,onChange:e.selectChange,style:a.normalizeStyle({fontSize:e.optionFontSize})},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.options,(f,c)=>(a.openBlock(),a.createBlock(s,{key:c,value:f.value,label:f.label,style:a.normalizeStyle({fontSize:e.optionFontSize})},null,8,["value","label","style"]))),128))]),_:1},8,["value","placeholder","allowClear","mode","getPopupContainer","fieldNames","maxTagCount","filterOption","loading","autoClearSearchValue","onChange","style"])],4)}const ki=ce(se(Rc,[["render",Ic],["__scopeId","data-v-cbaee0f7"]])),No={...me,name:"树形下拉框选择器",keyName:"树形下拉框选择器",width:"120px",height:"33px",type:"ecanTreeSelect",multiple:!1,data:[{label:"选项一",value:"1",children:[{label:"子选项一",value:"1-1"},{label:"子选项二",value:"1-2"}]},{label:"选项二",value:"2"},{label:"选项三",value:"3"}],value:"",dataFieldNames:{label:"label",value:"value",children:"children"},maxTagCount:3,placeholder:"请选择",treeCheckable:!1,treeCheckStrictly:!1,selectFirstOption:!1},Mo=de(No),Ti=["selectChange","refreshData"],Oc={name:"EcanTreeSelect",components:{ATreeSelect:ne.TreeSelect},props:{...Mo},setup(e){const n=ue(e),t=a.ref(e.data),o=(u,g)=>{const m=e.dataFieldNames,w=m.label,T=m.value;let y;const p=g[w],b=g[T];return p!=null?y=p:b!=null&&(y=b),(y==null?void 0:y.toLowerCase().indexOf(u==null?void 0:u.toLowerCase()))>=0},r=a.ref();a.watch(()=>[e.multiple,e.value,e.treeCheckable,e.selectFirstOption],()=>{const{multiple:u,value:g,selectFirstOption:m}=e;u?g?r.value=g.split(","):m&&(r.value=[a.unref(t)[0]]):g?r.value=g:m&&(r.value=a.unref(t)[0])},{immediate:!0});const i=a.ref(!1),s=Oe(e),l=async()=>{var u,g;if(e.dataType==="request"){i.value=!0;try{const m=await s();t.value=((g=(u=m==null?void 0:m.data)==null?void 0:u.data)==null?void 0:g.rows)||[];const w=a.unref(t)[0];e.value===""&&w!=null&&(r.value=w[e.dataFieldNames.value])}catch(m){console.error(m)}finally{i.value=!1}}},{getGlobalModel:f,setGlobalModel:c}=a.inject(Ce,{getGlobalModel:u=>{},setGlobalModel:(u,g)=>{}});c(e.id,{type:e.type,value:r});const x=be(e)("selectChange",()=>{const u=e.id,g=f(u);c(u,{...g,RECORD:r})});ke(e,{selectChange:x,refreshData:l});const{setRequest:h}=a.inject(_e,{setRequest:({id:u,sortNum:g,requestFn:m})=>{}});return h({id:e.id,requestFn:l,sortNum:e.reque}),{style:n,treeData:t,filterTreeNode:o,myValue:r,loading:i,selectChange:x}}},i1="",l1="";function Lc(e,n,t,o,r,i){const s=a.resolveComponent("a-tree-select");return a.openBlock(),a.createElementBlock("div",{class:"ecan-tree-select",style:a.normalizeStyle(o.style)},[a.createVNode(s,{class:"tree-select",value:o.myValue,"onUpdate:value":n[0]||(n[0]=l=>o.myValue=l),allowClear:"",showSearch:"",loading:o.loading,fieldNames:e.dataFieldNames,treeData:o.treeData,maxTagCount:e.maxTagCount,multiple:e.multiple,treeCheckable:e.treeCheckable,filterTreeNode:o.filterTreeNode,placeholder:e.placeholder,onChange:o.selectChange},null,8,["value","loading","fieldNames","treeData","maxTagCount","multiple","treeCheckable","filterTreeNode","placeholder","onChange"])],4)}const Ei=ce(se(Oc,[["render",Lc],["__scopeId","data-v-37236421"]])),zo={...me,width:"260px",height:"32px",id:"",left:"0px",top:"0px",name:"单选框",keyName:"单选框",rotate:"",type:"ecanRadio",value:[],data:[{label:"选项一",value:"1",checked:!0},{label:"选项二",value:"2"},{label:"选项三",value:"3"}],optionType:"default",graphicConfig:{}},Fo=de(zo),Bi=["checkboxChange","click"],Nc=a.defineComponent({name:"EcanRadio",components:{ARadioGroup:ne.RadioGroup,ARadioButton:ne.RadioButton,ARadio:ne.Radio},props:{...Fo},setup(e,{expose:n}){const t=ue(e),o=a.ref([]),r=a.ref(""),i=T=>{const y=e.value;let p=[];T.forEach(b=>{b.checked&&p.push(b.value)}),typeof y=="string"&&y!==""?p=p.concat(y.split(",")):Array.isArray(y)&&(p=p.concat(y)),o.value=T,r.value=p[0]||""};a.watch(()=>[e.data,e.value],([T])=>{i(T)},{immediate:!0,deep:!0});const s=Oe(e),l=async()=>{var p,b;if(e.dataType!=="request")return;const T=await s(),y=((b=(p=T==null?void 0:T.data)==null?void 0:p.data)==null?void 0:b.rows)||[];i(y)},{getGlobalModel:f,setGlobalModel:c}=a.inject(Ce,{getGlobalModel:T=>{},setGlobalModel:(T,y)=>{}});c(e.id,{type:e.type,value:r});const d=be(e),x=d("checkboxChange",()=>{const T=f(e.id);c(e.id,{...T,RECORD:r})}),h=T=>{r.value=T,d("click",()=>{const y=f(e.id);c(e.id,{...y,RECORD:r})})()};a.watch(r,()=>{x()});const u=Ke(e),g=async()=>{var T;try{const y=await u(),{data:p}=(y==null?void 0:y.data)||{};if(p){const k=(((T=y==null?void 0:y.data)==null?void 0:T.data)??[]).map(v=>({label:v.label,value:v.value}));i(k)}else i([])}catch(y){console.error(y)}},m=()=>{switch(e.dataType){case"indicator":g();break;case"request":l();break}},{setRequest:w}=a.inject(_e,{setRequest:({id:T,sortNum:y,requestFn:p})=>{}});return typeof w=="function"&&w({id:e.id,requestFn:m,sortNum:e.requestSort}),n({refreshData:m}),{myOption:o,style:t,myValue:r,onClickButton:h}}}),c1="";function Mc(e,n,t,o,r,i){const s=a.resolveComponent("a-radio"),l=a.resolveComponent("a-radio-button"),f=a.resolveComponent("a-radio-group");return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["ecan-radio",e.optionType]),style:a.normalizeStyle(e.style)},[a.createVNode(f,{value:e.myValue,"onUpdate:value":n[0]||(n[0]=c=>e.myValue=c)},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.myOption,c=>(a.openBlock(),a.createElementBlock(a.Fragment,{key:c.value},[e.optionType==="default"?(a.openBlock(),a.createBlock(s,{key:0,checked:c.checked,value:c.value},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(c.label),1)]),_:2},1032,["checked","value"])):e.optionType==="button"?(a.openBlock(),a.createBlock(l,{key:1,checked:c.checked,value:c.value,onClick:d=>e.onClickButton(c.value)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(c.label),1)]),_:2},1032,["checked","value","onClick"])):a.createCommentVNode("",!0)],64))),128))]),_:1},8,["value"])],6)}const _i=ce(se(Nc,[["render",Mc]])),Po={...me,id:"",name:"饼图",keyName:"饼图",type:"ecanPie",width:"400px",height:"400px",top:"",left:"",rotate:"",data:[{name:"名称一",value:335},{name:"名称二",value:310},{name:"名称三",value:234}],titleText:"",titleSubtext:"",titleLeft:"",colors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],backgroundColor:"",tooltipShow:!0,toolboxDownloadShow:!0,toolboxDataZoomShow:!0,toolboxInfoShow:!0,tooltipTextStyleColor:"",tooltipTrigger:"item",tooltipFormatter:"{marker} {b} {c} ({d}%)",legendShow:!0,legendTextStyleColor:"#333",legendOrient:"vertical",legendTop:"top",legendLeft:"left",innerRadius:"0%",outerRadius:"60%",centerLeft:"50%",centerTop:"50%",minAngle:0,labelShow:!0,labelColor:"#333",labelWidth:100,labelOverflow:"none",isUseLabelColors:!1,labelFontSize:12,labelPosition:"outside",labelFormatter:"{b}\\n{d}%",labelLineShow:!0,labelLineLength:10,labelLineLength2:15,roseType:"",valueTypeDataFieldNames:{name:"name",value:"value",type:"type"},dataFieldConfigType:"value",gridContainLabel:!0,gridTop:"10%",gridBottom:"10%",gridLeft:"5%",gridRight:"5%",graphicConfig:{},toolboxShow:!1,toolboxOrient:"horizontal",toolboxItemSize:16,toolboxItemGap:8,toolboxLeft:"right",toolboxTop:"top",toolboxIconStyleBorderColor:"#666",toolboxDownloadUrl:"",toolboxInfoText:"当前无说明信息",legendItemGap:10,legendItemWidth:25,legendItemHeight:14,legendFormatter:"{name}",legendFontSize:"12px",graphicType:"ecanPie"},Ho=de(Po),Di=["click","refreshData","resetRecord"],Dt=async e=>{var f;const n=await Xe.post(e,{},{responseType:"blob"}),{data:t,headers:o}=n,r=o["content-disposition"].replace(/\w+;filename=(.*)/,"$1"),i=new Blob([t]),s=document.createElement("a"),l=window.URL.createObjectURL(i);s.href=l,s.download=decodeURI(r),s.style.display="none",document.body.appendChild(s),s.click(),(f=s.parentNode)==null||f.removeChild(s),window.URL.revokeObjectURL(l)},qo={id:"",type:"ecanModal",title:"",titleFontSize:"14px",titleColor:"",width:"1000px",height:"800px",originalWidth:"1920px",originalHeight:"1080px",backgroundColor:"#fff",backgroundImage:"",backgroundSize:"100% 100%",keyName:"弹窗",componentList:[],fullModal:!1,destroyOnClose:!0,position:"default"},Vo=de(qo),Ri=["showModal"];function Ii(e){var o,r;const{componentList:n,containerMap:t}=e;if((o=Object.keys(t))!=null&&o.length){for(const i in t){const s=n.find(l=>l.id===i);if(s&&(Wr(s,"parentId")||(s.parentId="",s.sourceLeft=s.left,s.sourceTop=s.top),(r=t[i][0])!=null&&r.length))for(const l of t[i][0]){const f=n.find(c=>c.id===l);f&&(f.parentId=i,f.sourceLeft=f.left,f.sourceTop=f.top,f.left=parseFloat(f.left)-parseFloat(s.sourceLeft||s.left)+"px",f.top=parseFloat(f.top)-parseFloat(s.sourceTop||s.top)+"px")}}for(const i of n){const s=document.body.clientWidth;if(i.parentId===""&&i.type==="ecanBorder")i.sourceWidth=parseFloat(i.width),i.height=(s/(i.sourceWidth/parseFloat(i.height))).toFixed(2)+"px",i.width="100%",i.position="relative",i.top="auto",i.left="auto";else{const l=n.find(f=>f.id===i.parentId);if((l==null?void 0:l.parentId)===""){const f=l.sourceWidth||parseFloat(l.width),c=s/f;i.scale=c,i.top=parseFloat(i.top)*c-parseFloat(i.height)*(1-c)/2+"px",i.left=parseFloat(i.left)*c-parseFloat(i.width)*(1-c)/2+"px"}}i.type==="ecanModal"&&(i.parentId="",i.fullModal=!0)}return zc(n)}return n}function zc(e){const t=e.filter(o=>o.parentId==="");if(t!=null&&t.length){const o=Ge.cloneDeep(t).map(r=>({...r,sourceTop:parseFloat(r.sourceTop),sourceLeft:parseFloat(r.sourceLeft)}));for(let r=0;r<o.length-1;r++)for(let i=0;i<o.length-r-1;i++){let s=!1;if((o[i].sourceTop-o[i+1].sourceTop>50||Math.abs(o[i+1].sourceTop-o[i].sourceTop)<=50&&o[i].sourceLeft>o[i+1].sourceLeft)&&(s=!0),s){const l=o[i];o[i]=o[i+1],o[i+1]=l}}for(const r of o){const i=e.findIndex(s=>s.id===r.id);i!==-1&&e.splice(i,1)}return[...o,...e]}return e}const Fc=a.defineComponent({name:"Render",props:{component:{type:Object,default:()=>{}}},setup(e,{emit:n}){n("ready",e.component.id)}});function Pc(e,n,t,o,r,i){return e.component.parentId?(a.openBlock(),a.createBlock(a.Teleport,{key:0,to:"#container_"+e.component.parentId},[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(e.component.type),a.mergeProps({style:{scale:e.component.scale}},e.component),null,16,["style"]))],8,["to"])):(a.openBlock(),a.createBlock(a.resolveDynamicComponent(e.component.type),a.normalizeProps(a.mergeProps({key:1},e.component)),null,16))}const Hc=ce(se(Fc,[["render",Pc]])),qc=a.defineComponent({name:"EcanModal",components:{AModal:ne.Modal,CloseOutlined:_l,Render:Hc},props:{...Vo},setup(e,{emit:n}){const t=a.ref([]),o=a.inject("isMobile",!1),r=a.inject("getContainerMap",()=>{}),i=()=>document.getElementById("ProviderConfig")||document.body,s=a.computed(()=>{const M=e.position;return{verticalAlign:{default:"",top:"top",center:"middle",bottom:"bottom"}[M]}}),l=e.fullModal?"1920px":e.width,f=e.fullModal?"1080px":e.height,c=e.originalWidth,d=e.originalHeight,x=a.ref("80%"),h=a.ref(0),u=a.ref(),g=a.ref(0),m=a.ref({}),w=ue(e),T=a.ref({}),y=a.ref(!1),p=a.ref();let b;const k=()=>{u.value=parseFloat(l)/parseFloat(c);const M=parseFloat(f)/parseFloat(d),Z=document.body.offsetWidth,$=document.body.offsetHeight;h.value=Z*a.unref(u),g.value=$*M,x.value=`${a.unref(u)*100}%`,m.value={width:`${a.unref(h)}px`,height:`${a.unref(g)}px`},T.value={...a.unref(w),backgroundImage:mt(e.backgroundImage,!0)},o?T.value={...T.value,width:"100%",height:"100%"}:T.value={...T.value,transform:`scale(${a.unref(h)/parseFloat(l)},${a.unref(g)/parseFloat(f)})`,width:l,height:f}},v=Ge.debounce(()=>{k()},100),C=()=>{const M=window.MutationObserver;b=new M(v),b.observe(document.body,{attributes:!0,attributeFilter:["style"],attributeOldValue:!0})},A=()=>{b&&(b.disconnect(),b.takeRecords(),b=null)},_=a.ref(!1),{touchRequest:S}=a.inject(_e,{touchRequest:()=>{}}),E=()=>{o&&(document.documentElement.style.overflow="hidden"),_.value=!0},R=()=>{n("close"),o&&(document.documentElement.style.overflow="hidden auto",t.value=[]),_.value=!1},B=()=>{R()},P=()=>{R()},{setModalModel:q,pushUseModalIds:F,popUseModalIds:H}=a.inject(Pa,{pushUseModalIds:M=>{},popUseModalIds:()=>{},setModalModel:(M,Z)=>{}}),D=a.computed(()=>{if(o){const M=Ge.cloneDeep(e.componentList),Z=r();return Ii({componentList:M,containerMap:Z})}else return e.componentList}),I=()=>{const M=e.id;let Z=[];const $=e.componentList;Array.isArray($)&&(Z=$.map(K=>K.id),q(M,[...new Set(Z)]))};a.watch(()=>_.value,async M=>{M?(y.value=!1,F(e.id),I(),await a.nextTick(()=>{k(),window.addEventListener("resize",v),C(),y.value=!0}),S()):(H(),window.removeEventListener("resize",v),A())});const z=a.computed(()=>a.unref(u)>=1),O=a.computed(()=>e.fullModal),L=a.computed(()=>{let M="ecan-modal";return a.unref(z)&&(M+=" ecan-full-width-modal"),a.unref(O)&&(M+=" ecan-full-modal"),M});return ke(e,{showModal:E}),{modalRef:p,containStyle:m,contentStyle:T,getContainer:i,modalStyle:s,modalWith:x,isFullModal:O,style:w,visible:_,showModal:E,onOk:B,onCancel:P,isFullWidth:z,wrapClassName:L,ready:y,usedComponentList:D,isMobile:o,readyIds:t,hasOwn:Wr,onComponentReady:M=>{t.value.push(M)}}}}),u1="",h1="";function Vc(e,n,t,o,r,i){const s=a.resolveComponent("close-outlined"),l=a.resolveComponent("render"),f=a.resolveComponent("a-modal");return a.openBlock(),a.createBlock(f,{getContainer:e.getContainer,wrapClassName:e.wrapClassName,centered:"",visible:e.visible,footer:null,width:e.isFullModal||e.isFullWidth?"100%":e.modalWith,destroyOnClose:e.destroyOnClose,style:a.normalizeStyle(e.modalStyle),closable:!1,onOk:e.onOk,onCancel:e.onCancel,ref:"modalRef",id:"container_"+e.id},{default:a.withCtx(()=>[a.createElementVNode("div",{class:"contain",ref:"containRef",style:a.normalizeStyle(e.containStyle)},[e.ready?(a.openBlock(),a.createElementBlock("div",{key:0,class:"content",style:a.normalizeStyle(e.contentStyle)},[a.createElementVNode("div",{class:"header-bar",style:a.normalizeStyle({backgroundColor:e.backgroundColor,padding:"20px 30px",height:e.isMobile?"62px":""})},[e.title?(a.openBlock(),a.createElementBlock("div",{key:0,class:"ant-modal-title",style:a.normalizeStyle({fontSize:e.titleFontSize,color:e.titleColor})},a.toDisplayString(e.title),5)):a.createCommentVNode("",!0),a.createVNode(s,{class:"close-icon",onClick:e.onCancel},null,8,["onClick"])],4),e.usedComponentList.length?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(e.isMobile?"mobile-wrap":"")},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.usedComponentList,(c,d)=>(a.openBlock(),a.createElementBlock(a.Fragment,{key:c.id+d},[e.isMobile?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[e.hasOwn(c,"parentId")&&(e.readyIds.includes(c.parentId)||c.parentId==="")?(a.openBlock(),a.createBlock(l,{key:0,component:c,onReady:e.onComponentReady},null,8,["component","onReady"])):a.createCommentVNode("",!0)],64)):(a.openBlock(),a.createBlock(a.resolveDynamicComponent(c.type),a.normalizeProps(a.mergeProps({key:1},c)),null,16))],64))),128))],2)):a.renderSlot(e.$slots,"default",{key:1},void 0,!0)],4)):a.createCommentVNode("",!0)],4)]),_:3},8,["getContainer","wrapClassName","visible","width","destroyOnClose","style","onOk","onCancel","id"])}const ct=ce(se(qc,[["render",Vc],["__scopeId","data-v-680c3901"]]));Pe.use([ut.CanvasRenderer,Qe.PieChart,ge.TitleComponent,ge.ToolboxComponent,ge.TooltipComponent,ge.LegendComponent]);const jc=a.defineComponent({name:"EcanPie",props:{...Ho},components:{Spin:pt,Echarts:ot,EcanModal:ct},setup(e,{expose:n}){const t=a.ref(!1),o=ue(e),r=a.ref([]),i=a.ref(),s=a.ref({}),l=a.computed(()=>{let{data:_=[]}=a.unref(r)[0]||{};if(Array.isArray(e.colors)){const S=e.isUseLabelColors,E=e.colors;_=_.map((R,B)=>({label:S?{color:E[B]}:{},...R}))}return{toolbox:{show:e.toolboxShow,left:e.toolboxLeft,top:e.toolboxTop,itemSize:e.toolboxItemSize,itemGap:e.toolboxItemGap,feature:{myDownload:{show:e.toolboxDownloadShow,title:"数据下载",icon:"path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",onclick(){Dt(e.toolboxDownloadUrl)}},myDataZoom:{show:t.value?!1:e.toolboxDataZoomShow,title:"放大",icon:"path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",onclick(){var S;t.value=!0,(S=i.value)==null||S.showModal()}},myInfo:{show:e.toolboxInfoShow,title:"说明信息",icon:"path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",onclick(){ne.Modal.info({title:"说明信息",content:e.toolboxInfoText})}}}},title:{text:e.titleText,subtext:e.titleSubtext,left:"center"},grid:{top:e.gridTop,bottom:e.gridBottom,left:e.gridLeft,right:e.gridRight,containLabel:e.gridContainLabel},tooltip:{show:e.tooltipShow,trigger:e.tooltipTrigger,formatter:S=>{const{marker:E,seriesName:R,name:B,value:P,percent:q,data:F}=S||{};return Se(e.tooltipFormatter,{textData:{marker:E,name:B,value:P,percent:q,a:R,b:B,c:P,d:q,...F}},{useNewline:!0,useSpace:!0})},textStyle:{color:e.tooltipTextStyleColor}},legend:a.unref(s),color:e.colors,series:[{data:_,type:"pie",radius:[e.innerRadius,e.outerRadius],center:[e.centerLeft,e.centerTop],roseType:e.roseType,avoidLabelOverlap:!1,minAngle:e.minAngle,label:{show:e.labelPosition!=="center"&&e.labelShow,color:e.labelColor,fontSize:t.value?Ze:e.labelFontSize,position:e.labelPosition,formatter:Ws(e.labelFormatter),width:e.labelWidth,overflow:e.labelOverflow},labelLine:{show:e.labelLineShow,length:e.labelLineLength,length2:e.labelLineLength2},emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"},label:{}}}]}}),f=()=>{s.value={show:e.legendShow,orient:e.legendOrient,top:e.legendTop,left:e.legendLeft,align:"left",textStyle:{color:e.legendTextStyleColor,fontSize:t.value?Ze:e.legendFontSize},itemHeight:e.legendItemHeight,itemWidth:e.legendItemWidth,itemGap:e.legendItemGap,formatter:_=>{console.log("name",_);const{data:S}=r.value[0]||{};let E;if(S){const R=S.find(B=>B.name===_);R&&(E=R.value)}return Se(e.legendFormatter,{textData:{name:_,value:E}},{useNewline:!1,useSpace:!1})}}},c=()=>{t.value=!1},{getGlobalModel:d,setGlobalModel:x}=a.inject(Ce,{getGlobalModel:_=>{},setGlobalModel:(_,S)=>{}}),{pageMode:h}=a.inject(Ie,{pageMode:"normal"}),u=(_=[],S)=>{const{dataset:E}=bt(_,S);r.value=E},g=(_=[],S)=>{const E=bt(_,S);r.value=E.dataset};a.watch(()=>e.data,_=>{(e.dataType==="static"||a.unref(h)==="design")&&u(_)},{immediate:!0,deep:!0}),a.watch(()=>[e.legendShow,e.legendOrient,e.legendTop,e.legendLeft,e.legendTextStyleColor,e.labelFontSize,e.legendItemHeight,e.legendItemWidth,e.legendItemGap,e.legendFormatter,e.legendFontSize],()=>{f()},{immediate:!0});const m=a.ref(!1),w=Oe(e),T=async()=>{var _,S;if(e.dataType==="request")try{m.value=!0;const E=await w();u((S=(_=E==null?void 0:E.data)==null?void 0:_.data)==null?void 0:S.rows,e.valueTypeDataFieldNames)}catch(E){console.error(E)}finally{m.value=!1}},p=be(e)("click",_=>{const S=d(e.id);x(e.id,{...S,RECORD:_==null?void 0:_.data})}),b=Ke(e),k=async()=>{var _;try{m.value=!0;const S=await b(),{data:E}=S.data||{};if(E){const{columns:R=[],rows:B=[]}=((_=S==null?void 0:S.data)==null?void 0:_.data)??{};let P=[];if(R.length>0){const q=R[0],F=R[1];P=B.map(H=>({name:H[q],value:isNaN(H[F])?0:H[F]||0}))}g(P)}}catch(S){console.error(S)}finally{m.value=!1}},v=()=>{switch(e.dataType){case"indicator":k();break;case"request":T();break}};ke(e,{resetRecord:()=>{const _=e.id,S=d(_);x(_,{...S,RECORD:""})},refreshData:v,click:p}),n({refreshData:v});const{setRequest:A}=a.inject(_e,{setRequest:_=>{}});return typeof A=="function"&&A({id:e.id,requestFn:v,sortNum:e.requestSort}),{option:l,style:o,click:p,onClose:c,loading:m,ecanModal:i}}}),m1="";function Gc(e,n,t,o,r,i){const s=a.resolveComponent("echarts"),l=a.resolveComponent("spin"),f=a.resolveComponent("ecan-modal");return a.openBlock(),a.createElementBlock("div",{style:a.normalizeStyle(e.style)},[a.createVNode(l,{spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,autoresize:"",onClick:e.click},null,8,["option","onClick"])]),_:1},8,["spinning"]),a.createVNode(f,{width:"1920px",height:"1080px",ref:"ecanModal",onClose:e.onClose},{default:a.withCtx(()=>[a.createVNode(l,{class:"spin-wrap",spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,"update-options":{notMerge:!0},autoresize:""},null,8,["option"])]),_:1},8,["spinning"])]),_:1},8,["onClose"])],4)}const Oi=ce(se(jc,[["render",Gc]])),jo={...me,id:"",name:"折线图",keyName:"折线图",type:"ecanLine",width:"400px",height:"400px",top:"",left:"",rotate:"",data:[{name:"名称一",value:235,type:"类型一"},{name:"名称二",value:280,type:"类型一"},{name:"名称三",value:230,type:"类型一"},{name:"名称四",value:335,type:"类型一"}],titleText:"",titleSubtext:"",titleLeft:"",legendShow:!0,legendOrient:"horizontal",legendTop:"top",legendLeft:"center",colors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],symbolSize:4,lineStyleWidth:2,smooth:!1,xAxisLabelWidth:void 0,xAxisLabelRotate:0,xAxisLabelOverflow:"none",xAxisLabelInterval:0,xAxisSplitLineShow:!0,xAxisSplitAreaShow:!1,xAxisSplitLineInterval:0,xAxisSplitLineStyleColor:"#333",xAxisLabelColor:"#333",xAxisLineShow:!0,xAxisLineStyleColor:"#333",xAxisTickShow:!0,xAxisLabelFormatter:"{value}",xAxisMinInterval:0,yAxisMinInterval:0,yAxisSplitLineShow:!0,yAxisSplitAreaShow:!1,yAxisSplitLineStyleColor:"#333",yAxisLabelColor:"#333",yAxisLineStyleColor:"#333",yAxisLineAlwaysDisplay:!1,yAxisLabelFormatter:"{value}",gridContainLabel:!0,gridTop:"10%",gridBottom:"10%",gridLeft:"5%",gridRight:"5%",valueTypeDataFieldNames:{name:"name",value:"value",type:"type"},keyTypeDataFieldNames:{name:"name",types:[]},dataFieldConfigType:"value",graphicConfig:{},tooltipShow:!0,tooltipFormatter:"{marker} {a} {c}",toolboxShow:!1,toolboxDownloadShow:!0,toolboxDataZoomShow:!0,toolboxInfoShow:!0,toolboxOrient:"horizontal",toolboxItemSize:16,toolboxItemGap:8,toolboxLeft:"right",toolboxTop:"top",toolboxIconStyleBorderColor:"#666",toolboxDownloadUrl:"",toolboxInfoText:"当前无说明信息",areaStyleOpacity:0,areaGradientShow:!1,areaGradientColor:"",isBoundaryGap:!0,yAxisLabelShow:!0,yAxisSplitLineType:"solid",legendItemGap:10,legendItemWidth:25,legendItemHeight:14,legendType:"",shadowColor:"",shadowBlur:0,shadowOffsetY:0,shadowOffsetX:0,legendFontSize:"12px",xAxisLabelFontSize:"12px",yAxisLabelFontSize:"12px",graphicType:"ecanLine"},Go=de(jo),Li=["click","refreshData","resetRecord"];Pe.use([ut.CanvasRenderer,Qe.LineChart,ge.ToolboxComponent,ge.TitleComponent,ge.LegendComponent]);const Uc=a.defineComponent({name:"EcanLine",props:{...Go},components:{Spin:pt,Echarts:ot,EcanModal:ct},setup(e,{expose:n}){const t=a.ref(),o=a.ref(!1),r=ue(e),i=a.ref([]),s=a.ref([]),l=a.ref(),f=a.computed(()=>o.value?Ze:12),c=a.ref({});let d;const x=a.ref([]),h=a.computed(()=>{const P=e.xAxisLabelFormatter,q=e.yAxisLabelFormatter;return{toolbox:{show:e.toolboxShow,left:e.toolboxLeft,top:e.toolboxTop,itemSize:e.toolboxItemSize,itemGap:e.toolboxItemGap,feature:{myDownload:{show:e.toolboxDownloadShow,title:"数据下载",icon:"path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",onclick(){Dt(e.toolboxDownloadUrl)}},myDataZoom:{show:o.value?!1:e.toolboxDataZoomShow,title:"放大",icon:"path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",onclick(){var F;o.value=!0,(F=l.value)==null||F.showModal()}},myInfo:{show:e.toolboxInfoShow,title:"说明信息",icon:"path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",onclick(){ne.Modal.info({title:"说明信息",content:e.toolboxInfoText})}}}},title:{text:e.titleText,subText:e.titleSubtext,left:"center"},grid:{top:e.gridTop,bottom:e.gridBottom,left:e.gridLeft,right:e.gridRight,containLabel:e.gridContainLabel},color:e.colors,tooltip:{trigger:"axis",textStyle:{fontSize:f.value},show:e.tooltipShow,formatter:F=>{var z;const H=F.length;let D="",I=e.tooltipFormatter;d=(z=F[0])==null?void 0:z.data,I===""&&(I="{marker} {a} {c}");for(let O=0;O<H;O++){const{marker:L,seriesName:N,name:M,value:Z,data:$}=F[O]||{};O===0&&(D+=`${M}<br/>`),D+=Se(I,{textData:{marker:L,name:M,value:Z,a:N,b:M,c:Z||0,...$}},{useNewline:!0,useSpace:!0}),D+="<br/>"}return D}},xAxis:{type:"category",boundaryGap:e.isBoundaryGap,data:a.unref(s).map(F=>{let H={};return F&&typeof F=="object"?H={...F}:H={value:F},H}),minInterval:e.xAxisMinInterval,splitLine:{show:e.xAxisSplitLineShow,lineStyle:{color:e.xAxisSplitLineStyleColor},interval:e.xAxisSplitLineInterval},splitArea:{show:e.xAxisSplitAreaShow},axisLabel:{color:e.xAxisLabelColor,interval:e.xAxisLabelInterval||0,rotate:e.xAxisLabelRotate,width:e.xAxisLabelWidth,overflow:e.xAxisLabelOverflow,fontSize:e.xAxisLabelFontSize,formatter(F){return typeof F=="string"&&F[0]==="0"&&!isNaN(+F)&&(F=(+F).toString()),tt(P,F)}},axisLine:{show:e.xAxisLineShow,lineStyle:{color:e.xAxisLineStyleColor}},axisTick:{show:e.xAxisTickShow}},yAxis:{type:"value",minInterval:e.yAxisMinInterval,splitLine:{show:e.yAxisSplitLineShow,lineStyle:{color:e.yAxisSplitLineStyleColor,type:e.yAxisSplitLineType}},splitArea:{show:e.yAxisSplitAreaShow},axisLabel:{show:e.yAxisLabelShow,fontSize:e.yAxisLabelFontSize,color:e.yAxisLabelColor,formatter(F){return tt(q,F)}},axisLine:{show:e.yAxisLineAlwaysDisplay,lineStyle:{color:e.yAxisLineStyleColor}}},legend:{show:e.legendShow,orient:e.legendOrient,top:e.legendTop,left:e.legendLeft,textStyle:{fontSize:o.value?Ze:e.legendFontSize},itemHeight:e.legendItemHeight,itemWidth:e.legendItemWidth,itemGap:e.legendItemGap,data:a.unref(x).map(F=>({name:F.name,icon:e.legendType}))},series:a.unref(i)}}),u=()=>{o.value=!1},{getGlobalModel:g,setGlobalModel:m}=a.inject(Ce,{getGlobalModel:P=>{},setGlobalModel:(P,q)=>{}}),{pageMode:w}=a.inject(Ie,{pageMode:"normal"}),T=(P=[],q=!1)=>{let F;if(e.dataFieldConfigType==="key"){const z=q?e.keyTypeDataFieldNames:null;F=st(P,z)}else if(e.dataFieldConfigType==="value"){const z=q?e.valueTypeDataFieldNames:null;F=bt(P,z)}s.value=F.dimensions,x.value=F.dataset;const H=F.dataset,D=[],I=H.length;for(let z=0;z<I;z++){const O={};e.shadowColor&&(O.shadowColor=e.shadowColor,O.shadowBlur=e.shadowBlur,O.shadowOffsetY=e.shadowOffsetY,O.shadowOffsetX=e.shadowOffsetX),D.push({type:"line",...H[z],symbolSize:e.symbolSize,smooth:e.smooth,areaStyle:{color:e.areaGradientShow?{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:e.colors[z]},{offset:1,color:e.areaGradientColor||"transparent"}],global:!1}:e.colors[z],opacity:e.areaStyleOpacity},lineStyle:{width:e.lineStyleWidth,...O}})}i.value=D},y=(P=[],q,F=!1)=>{const D=st(P,F?q:null);s.value=D.dimensions,x.value=D.dataset;const I=D.dataset,z=[],O=I.length;for(let L=0;L<O;L++){const N={};e.shadowColor&&(N.shadowColor=e.shadowColor,N.shadowBlur=e.shadowBlur,N.shadowOffsetY=e.shadowOffsetY,N.shadowOffsetX=e.shadowOffsetX),z.push({type:"line",...I[L],symbolSize:e.symbolSize,smooth:e.smooth,areaStyle:{color:e.areaGradientShow?{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:e.colors[L]},{offset:1,color:e.areaGradientColor||"transparent"}],global:!1}:e.colors[L],opacity:e.areaStyleOpacity},lineStyle:{width:e.lineStyleWidth,...N}})}i.value=z};a.watch(()=>[e.data,e.symbolSize,e.smooth,e.lineStyleWidth,e.areaStyleOpacity,e.areaGradientShow,e.areaGradientColor,e.shadowColor,e.shadowBlur,e.shadowOffsetY,e.shadowOffsetX,e.legendFontSize],([P])=>{(e.dataType==="static"||a.unref(w)==="design")&&T(P)},{immediate:!0,deep:!0});const p=a.ref(!1),b=Oe(e),k=async()=>{var P,q;if(e.dataType==="request")try{p.value=!0;const F=await b();T((q=(P=F==null?void 0:F.data)==null?void 0:P.data)==null?void 0:q.rows,!0)}catch(F){console.error(F)}finally{p.value=!1}},C=be(e)("click",P=>{const q=g(e.id);m(e.id,{...q,RECORD:e.tooltipShow?d:P.data})}),A=P=>{t.value.chart.containPixel("grid",[P.offsetX,P.offsetY])&&C()};e.tooltipShow?c.value["zr:click"]=A:c.value.click=C;const _=Ke(e),S=async()=>{var P;try{p.value=!0;const q=await _(),{columns:F=[],rows:H=[]}=((P=q==null?void 0:q.data)==null?void 0:P.data)??{};let D;F.length>0&&(D={name:F[0],types:F.slice(1).map(I=>({label:I,value:I}))}),y(H,D,!0)}catch(q){console.error(q)}finally{p.value=!1}},E=()=>{switch(e.dataType){case"indicator":S();break;case"request":k();break}};ke(e,{refreshData:E,resetRecord:()=>{const P=e.id,q=g(P);m(P,{...q,RECORD:""})},click:C});const{setRequest:B}=a.inject(_e,{setRequest:P=>{}});return typeof B=="function"&&B({id:e.id,requestFn:E,sortNum:e.requestSort}),n({refreshData:E}),{option:h,style:r,click:C,loading:p,onClose:u,ecanModal:l,eventObj:c,echartRef:t}}}),y1="";function Wc(e,n,t,o,r,i){const s=a.resolveComponent("echarts"),l=a.resolveComponent("spin"),f=a.resolveComponent("ecan-modal");return a.openBlock(),a.createElementBlock("div",{style:a.normalizeStyle(e.style)},[a.createVNode(l,{spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,a.mergeProps({ref:"echartRef",option:e.option,autoresize:""},a.toHandlers(e.eventObj)),null,16,["option"])]),_:1},8,["spinning"]),a.createVNode(f,{width:"1920px",height:"1080px",ref:"ecanModal",onClose:e.onClose},{default:a.withCtx(()=>[a.createVNode(l,{class:"spin-wrap",spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,"update-options":{notMerge:!0},autoresize:""},null,8,["option"])]),_:1},8,["spinning"])]),_:1},8,["onClose"])],4)}const Ni=ce(se(Uc,[["render",Wc]])),Uo={...me,id:"",name:"柱状图",keyName:"柱状图",type:"ecanBar",width:"400px",height:"400px",top:"",left:"",rotate:"",xAxisLabelFormatter:"{value}",yAxisLabelFormatter:"{value}",yAxisLineAlwaysDisplay:!1,data:[{name:"名称一",value:335,type:"类型一"},{name:"名称二",value:310,type:"类型一"},{name:"名称三",value:310,type:"类型一"}],titleText:"",titleSubtext:"",colors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],legendShow:!0,legendTextStyleColor:"#333",legendOrient:"horizontal",legendTop:"top",legendLeft:"center",tooltipShow:!0,tooltipTextStyleColor:"",tooltipFormatter:"{marker} {a} {c}",xAxisSplitLineShow:!0,xAxisSplitLineInterval:0,xAxisSplitAreaShow:!1,xAxisSplitLineStyleColor:"#333",xAxisLabelInterval:0,xAxisLabelColor:"#333",xAxisLabelWidth:void 0,xAxisLabelRotate:0,xAxisLabelOverflow:"none",xAxisLineShow:!0,xAxisLineStyleColor:"#333",xAxisTickShow:!0,xAxisMinInterval:0,yAxisMinInterval:0,yAxisLabelWidth:void 0,yAxisLabelRotate:0,yAxisLabelOverflow:"none",yAxisSplitLineShow:!0,yAxisSplitAreaShow:!1,yAxisSplitLineStyleColor:"#333",yAxisLabelColor:"#333",yAxisLineStyleColor:"#333",valueTypeDataFieldNames:{name:"name",value:"value",type:"type"},keyTypeDataFieldNames:{name:"name",types:[]},dataFieldConfigType:"value",barWidth:"40%",gridContainLabel:!0,gridTop:"10%",gridBottom:"10%",gridLeft:"5%",gridRight:"5%",graphicConfig:{},toolboxShow:!1,toolboxOrient:"horizontal",toolboxItemSize:16,toolboxItemGap:8,toolboxLeft:"right",toolboxTop:"top",toolboxIconStyleBorderColor:"#666",toolboxDownloadUrl:"",toolboxInfoText:"当前无说明信息",isUseHorizontalAxis:!1,axisInverse:!1,xAxisInverse:!1,yAxisInverse:!1,isStack:!1,labelShow:!1,labelFontSize:"12px",labelPosition:"inside",labelColor:"",labelWidth:100,labelOverflow:"none",labelFormatter:"{c}",toolboxLocation:!1,toolboxDownloadShow:!0,toolboxDataZoomShow:!0,toolboxInfoShow:!0,gradientShow:!1,gradientColors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientOffset:1,barBorderRadius:"",yAxisLabelShow:!0,yAxisSplitLineType:"solid",xAxisSplitLineType:"solid",legendItemGap:10,legendItemWidth:25,legendItemHeight:14,showBarBackground:!1,legendType:"",legendFontSize:"12px",xAxisLabelFontSize:"12px",yAxisLabelFontSize:"12px",graphicType:"ecanBar"},Wo=de(Uo),Mi=["refreshData","click","resetRecord"];Pe.use([ut.CanvasRenderer,Qe.BarChart,ge.TitleComponent,ge.LegendComponent,ge.DatasetComponent,ge.ToolboxComponent]);const $c=a.defineComponent({name:"EcanBar",props:{...Wo},components:{Spin:pt,Echarts:ot,EcanModal:ct,AModal:ne.Modal},setup(e,{expose:n}){const t=a.ref(),o=a.ref(!1),r=a.ref(!1),i=a.ref(null),s=a.ref([]),l=ue(e),f=a.ref([]),c=a.ref(),d=a.computed(()=>o.value?Ze:12),x=a.computed(()=>{const{gradientShow:D,gradientColors:I,gradientOffset:z,barBorderRadius:O}=e,L=a.unref(f),N=L.length,M=[];for(let Z=0;Z<N;Z++){const $={...L[Z],type:"bar",barWidth:e.barWidth,showBackground:e.showBarBackground};if(e.isStack&&($.stack="stack"),$.label={show:e.labelShow,fontSize:e.labelFontSize,position:e.labelPosition,color:e.labelColor,width:e.labelWidth,overflow:e.labelOverflow,formatter:K=>{let Y="",ae=e.labelFormatter;ae===""&&(ae="{c}");const{seriesName:fe,name:Te,value:Ee,data:xe}=K||{};return Y+=Se(ae,{textData:{name:Te,value:Ee,a:fe,b:Te,c:Ee||0,...xe}},{useNewline:!0,useSpace:!0}),Y}},$.itemStyle={},D&&($.itemStyle={color:{x:e.isUseHorizontalAxis?1:0,y:0,x2:0,y2:e.isUseHorizontalAxis?0:1,colorStops:[{offset:0,color:e.colors[Z]},{offset:z,color:I[Z]},{offset:1,color:I[Z]}]}}),O){const K=O.split(",");if(K!=null&&K.length){const Y=[];for(const ae of K){const fe=parseFloat(ae);isNaN(fe)||Y.push(fe)}$.itemStyle.borderRadius=Y}}M.push($)}return M}),h=a.ref([]),u=a.ref(!1),g=a.computed(()=>{const D=e.yAxisLabelFormatter,I=e.xAxisLabelFormatter;return{toolbox:{show:e.toolboxShow,left:e.toolboxLeft,top:e.toolboxTop,itemSize:e.toolboxItemSize,itemGap:e.toolboxItemGap,feature:{myLocation:{show:o.value?!1:e.toolboxLocation,title:"快速定位",icon:"path://M512 512m-80 0a80 80 0 1 0 160 0 80 80 0 1 0-160 0Z, M960 480h-33.632C910.752 276.16 747.84 113.248 544 97.632V64a32 32 0 1 0-64 0v33.632C276.16 113.248 113.248 276.16 97.632 480H64a32 32 0 0 0 0 64h33.632C113.248 747.84 276.16 910.752 480 926.368V960a32 32 0 1 0 64 0v-33.632C747.84 910.752 910.752 747.84 926.368 544H960a32 32 0 1 0 0-64zM544 862.368V800a32 32 0 1 0-64 0v62.368C311.424 847.104 176.896 712.576 161.632 544H224a32 32 0 1 0 0-64H161.632C176.896 311.424 311.424 176.896 480 161.632V224a32 32 0 0 0 64 0V161.632c168.576 15.296 303.104 149.792 318.368 318.368H800a32 32 0 1 0 0 64h62.368c-15.264 168.576-149.792 303.104-318.368 318.368z",onclick(){r.value=!0;const z=t.value.chart.getOption(),{xAxis:O}=z||{};O&&O.length&&(s.value=O[0].data)}},myDownload:{show:e.toolboxDownloadShow,title:"数据下载",icon:"path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",onclick(){Dt(e.toolboxDownloadUrl)}},myDataZoom:{show:o.value?!1:e.toolboxDataZoomShow,title:"放大",icon:"path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",onclick(){var z;o.value=!0,(z=c.value)==null||z.showModal()}},myInfo:{show:e.toolboxInfoShow,title:"说明信息",icon:"path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",onclick(){ne.Modal.info({title:"说明信息",content:e.toolboxInfoText})}}}},title:{text:e.titleText,subtext:e.titleSubtext,left:"center"},grid:{top:e.gridTop,bottom:e.gridBottom,left:e.gridLeft,right:e.gridRight,containLabel:e.gridContainLabel},color:e.colors,tooltip:{trigger:"axis",show:e.tooltipShow,formatter:z=>{const O=z.length;let L="",N=e.tooltipFormatter;N===""&&(N="{marker} {a} {c}");for(let M=0;M<O;M++){const{marker:Z,seriesName:$,name:K,value:Y,data:ae}=z[M]||{};M===0&&(L+=`${K}<br/>`),L+=Se(N,{textData:{marker:Z,name:K,value:Y,a:$,b:K,c:Y||0,...ae}},{useNewline:!0,useSpace:!0}),L+="<br/>"}return L},textStyle:{color:e.tooltipTextStyleColor,fontSize:d.value}},legend:{show:e.legendShow,orient:e.legendOrient,top:e.legendTop,left:e.legendLeft,textStyle:{color:e.legendTextStyleColor,fontSize:o.value?Ze:e.legendFontSize},itemHeight:e.legendItemHeight,itemWidth:e.legendItemWidth,itemGap:e.legendItemGap,data:a.unref(f).map((z,O)=>({name:z.name,itemStyle:{color:e.colors[O]},icon:e.legendType}))},xAxis:{type:e.isUseHorizontalAxis?"value":"category",data:e.isUseHorizontalAxis?null:a.unref(p),inverse:e.isUseHorizontalAxis?e.xAxisInverse:e.axisInverse,minInterval:e.xAxisMinInterval,splitLine:{show:e.xAxisSplitLineShow,lineStyle:{color:e.xAxisSplitLineStyleColor,type:e.xAxisSplitLineType},interval:e.xAxisSplitLineInterval},splitArea:{show:e.xAxisSplitAreaShow},axisLabel:{color:e.xAxisLabelColor,interval:e.xAxisLabelInterval||0,rotate:e.xAxisLabelRotate,width:e.xAxisLabelWidth,overflow:e.xAxisLabelOverflow,fontSize:e.xAxisLabelFontSize,formatter(z){return typeof z=="string"&&z[0]==="0"&&!isNaN(+z)&&(z=(+z).toString()),tt(I,z)}},axisLine:{show:e.xAxisLineShow,lineStyle:{color:e.xAxisLineStyleColor}},axisTick:{show:e.xAxisTickShow}},yAxis:{type:e.isUseHorizontalAxis?"category":"value",data:e.isUseHorizontalAxis?a.unref(h):null,inverse:e.isUseHorizontalAxis?e.axisInverse:e.yAxisInverse,minInterval:e.yAxisMinInterval,splitLine:{show:e.yAxisSplitLineShow,lineStyle:{color:e.yAxisSplitLineStyleColor,type:e.yAxisSplitLineType}},splitArea:{show:e.yAxisSplitAreaShow},axisLabel:{show:e.yAxisLabelShow,fontSize:e.yAxisLabelFontSize,color:e.yAxisLabelColor,rotate:e.yAxisLabelRotate,width:e.yAxisLabelWidth,overflow:e.yAxisLabelOverflow,formatter(z){return tt(D,z)}},axisLine:{show:e.yAxisLineAlwaysDisplay,lineStyle:{color:e.yAxisLineStyleColor}}},series:a.unref(x)}}),{pageMode:m}=a.inject(Ie,{pageMode:"normal"}),w=()=>{o.value=!1},T=(D=[],I=!1)=>{let z={};if(e.dataFieldConfigType==="key"){const O=I?e.keyTypeDataFieldNames:null;z=st(D,O)}else if(e.dataFieldConfigType==="value"){const O=I?e.valueTypeDataFieldNames:null;z=bt(D,O)}f.value=z.dataset,h.value=z.dimensions},y=(D=[],I,z=!1)=>{const L=st(D,z?I:null);f.value=L.dataset,h.value=L.dimensions},p=a.computed(()=>a.unref(h).map(D=>{let I={};return D&&typeof D=="object"?I={...D}:I={value:D},I}));a.watch(()=>[e.data,e.labelFormatter],([D])=>{(e.dataType==="static"||a.unref(m)==="design")&&T(D)},{immediate:!0,deep:!0});const b=Oe(e),k=async()=>{var D,I;try{u.value=!0;const z=await b();T((I=(D=z==null?void 0:z.data)==null?void 0:D.data)==null?void 0:I.rows,!0)}catch(z){console.error(z)}finally{u.value=!1}},v=Ke(e),C=async()=>{var D;try{u.value=!0;const I=await v(),{columns:z=[],rows:O=[]}=((D=I==null?void 0:I.data)==null?void 0:D.data)??{};let L;z.length>0&&(L={name:z[0],types:z.slice(1).map(N=>({label:N,value:N}))}),y(O,L,!0)}catch(I){console.error(I)}finally{u.value=!1}},A=()=>{switch(e.dataType){case"indicator":C();break;case"request":k();break}},_=(D,I)=>!!a.unref(s)[I.value].value.includes(D),S=async()=>{r.value=!1;const D=t.value.chart.getOption();for(let I=0;I<7;I++)await E(D,I)},E=(D,I)=>new Promise(z=>{setTimeout(()=>{const{series:O,color:L,xAxis:N}=D,M=t.value.chart,{splitArea:Z={}}=N[0]||{};O.forEach(($,K)=>{const Y=$.data;let ae="";I%2?ae=L[K]+"a8":ae=L[K],Y[i.value].itemStyle={color:ae}}),I%2?(Z.show=!0,Z.areaStyle.color=a.unref(s).map(($,K)=>K===i.value?"#ff003b26":"")):Z.show=!1,M.setOption({series:O,xAxis:N}),z()},200)});n({refreshData:A});const R=be(e),{getGlobalModel:B,setGlobalModel:P}=a.inject(Ce,{getGlobalModel:D=>{},setGlobalModel:(D,I)=>{}}),q=R("click",D=>{const I=B(e.id);P(e.id,{...I,RECORD:D.data})}),{setRequest:F}=a.inject(_e,{setRequest:D=>{}});return typeof F=="function"&&F({id:e.id,requestFn:A,sortNum:e.requestSort}),ke(e,{refreshData:A,click:q,resetRecord:()=>{const D=e.id,I=B(D);P(D,{...I,RECORD:""})}}),{option:g,style:l,refreshData:A,click:q,loading:u,onClose:w,ecanModal:c,echartRef:t,handleLocationOk:S,onFilterOption:_,locationVisible:r,locationValue:i,locationNames:s}}}),b1="",v1="",Zc=e=>(a.pushScopeId("data-v-45f69833"),e=e(),a.popScopeId(),e),Yc={class:"location-wrap"},Kc=Zc(()=>a.createElementVNode("div",{class:"location-text"},"选择分类:",-1));function Xc(e,n,t,o,r,i){const s=a.resolveComponent("echarts"),l=a.resolveComponent("spin"),f=a.resolveComponent("ecan-modal"),c=a.resolveComponent("a-select-option"),d=a.resolveComponent("a-select"),x=a.resolveComponent("a-modal");return a.openBlock(),a.createElementBlock("div",{class:"ecan-bar",style:a.normalizeStyle(e.style)},[a.createVNode(l,{spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{ref:"echartRef",option:e.option,"update-options":{notMerge:!0},autoresize:"",onClick:e.click},null,8,["option","onClick"])]),_:1},8,["spinning"]),a.createVNode(f,{width:"1920px",height:"1080px",ref:"ecanModal",onClose:e.onClose},{default:a.withCtx(()=>[a.createVNode(l,{class:"spin-wrap",spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,"update-options":{notMerge:!0},autoresize:""},null,8,["option"])]),_:1},8,["spinning"])]),_:1},8,["onClose"]),a.createVNode(x,{visible:e.locationVisible,"onUpdate:visible":n[1]||(n[1]=h=>e.locationVisible=h),title:"快速定位",onOk:e.handleLocationOk},{default:a.withCtx(()=>[a.createElementVNode("div",Yc,[Kc,a.createVNode(d,{value:e.locationValue,"onUpdate:value":n[0]||(n[0]=h=>e.locationValue=h),style:{width:"100%"},placeholder:"请选择","show-search":"","filter-option":e.onFilterOption},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.locationNames,(h,u)=>(a.openBlock(),a.createBlock(c,{key:u,value:u},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(h.value),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value","filter-option"])])]),_:1},8,["visible","onOk"])],4)}const zi=ce(se($c,[["render",Xc],["__scopeId","data-v-45f69833"]])),$o={...me,id:"",name:"散点图",keyName:"散点图",type:"ecanScatter",width:"400px",height:"400px",top:"",left:"",rotate:"",data:[{name:233,value:335},{name:556,value:310},{name:56,value:234}],titleText:"",titleSubtext:"",tooltipShow:!0,tooltipTrigger:"item",tooltipFormatter:"{marker} {b} {c}",legendShow:!1,legendOrient:"horizontal",legendTop:"top",legendLeft:"center",colors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],symbolSize:10,xAxisSplitLineShow:!0,xAxisSplitAreaShow:!1,xAxisSplitLineInterval:0,xAxisSplitLineStyleColor:"#333",xAxisLineStyleColor:"#333",xAxisTickShow:!0,xAxisLabelColor:"#333",xAxisLabelOverflow:"none",xAxisLabelInterval:0,xAxisLabelWidth:void 0,xAxisLabelRotate:0,xAxisLabelFormatter:"{value}",yAxisSplitLineShow:!0,yAxisSplitAreaShow:!1,yAxisSplitLineStyleColor:"#333",yAxisLabelColor:"#333",yAxisLineStyleColor:"#333",yAxisLineAlwaysDisplay:!1,yAxisLabelFormatter:"{value}",dataFieldNames:{name:"name",value:"value"},gridContainLabel:!0,gridTop:"10%",gridBottom:"10%",gridLeft:"5%",gridRight:"5%",graphicConfig:{},toolboxShow:!1,toolboxDownloadShow:!0,toolboxDataZoomShow:!0,toolboxInfoShow:!0,toolboxOrient:"horizontal",toolboxItemSize:16,toolboxItemGap:8,toolboxLeft:"right",toolboxTop:"top",toolboxIconStyleBorderColor:"#666",toolboxDownloadUrl:"",toolboxInfoText:"当前无说明信息",yAxisLabelShow:!0,yAxisSplitLineType:"solid",xAxisLabelFontSize:"12px",yAxisLabelFontSize:"12px",graphicType:"ecanScatter"},Zo=de($o),Fi=["click","refreshData","resetRecord"];Pe.use([ut.CanvasRenderer,Qe.ScatterChart,ge.ToolboxComponent,ge.TitleComponent,ge.TooltipComponent,ge.LegendComponent]);const Qc=a.defineComponent({name:"EcanScatter",props:{...Zo},components:{Spin:pt,Echarts:ot,EcanModal:ct},setup(e){const n=a.ref(!1),t=ue(e),o=a.ref([]),r=a.ref(),i=a.computed(()=>n.value?Ze:12),s=a.computed(()=>{const b=e.xAxisLabelFormatter,k=e.yAxisLabelFormatter;return{toolbox:{show:e.toolboxShow,left:e.toolboxLeft,top:e.toolboxTop,itemSize:e.toolboxItemSize,itemGap:e.toolboxItemGap,feature:{myDownload:{show:e.toolboxDownloadShow,title:"数据下载",icon:"path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",onclick(){Dt(e.toolboxDownloadUrl)}},myDataZoom:{show:n.value?!1:e.toolboxDataZoomShow,title:"放大",icon:"path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",onclick(){var v;n.value=!0,(v=r.value)==null||v.showModal()}},myInfo:{show:e.toolboxInfoShow,title:"说明信息",icon:"path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",onclick(){ne.Modal.info({title:"说明信息",content:e.toolboxInfoText})}}}},title:{text:e.titleText,subtext:e.titleSubtext,left:"center"},grid:{top:e.gridTop,bottom:e.gridBottom,left:e.gridLeft,right:e.gridRight,containLabel:e.gridContainLabel},color:e.colors,xAxis:{splitLine:{show:e.xAxisSplitLineShow,lineStyle:{color:e.xAxisSplitLineStyleColor},interval:e.xAxisSplitLineInterval},splitArea:{show:e.xAxisSplitAreaShow},axisLabel:{fontSize:e.xAxisLabelFontSize,color:e.xAxisLabelColor,interval:e.xAxisLabelInterval||0,rotate:e.xAxisLabelRotate,width:e.xAxisLabelWidth,overflow:e.xAxisLabelOverflow,formatter(v){return typeof v=="string"&&v[0]==="0"&&!isNaN(+v)&&(v=(+v).toString()),tt(b,v)}},axisLine:{lineStyle:{color:e.xAxisLineStyleColor}},axisTick:{show:e.xAxisTickShow}},yAxis:{splitLine:{show:e.yAxisSplitLineShow,lineStyle:{color:e.yAxisSplitLineStyleColor,type:e.yAxisSplitLineType}},splitArea:{show:e.yAxisSplitAreaShow},axisLabel:{show:e.yAxisLabelShow,fontSize:e.yAxisLabelFontSize,color:e.yAxisLabelColor,formatter(v){return tt(k,v)}},axisLine:{show:e.yAxisLineAlwaysDisplay,lineStyle:{color:e.yAxisLineStyleColor}}},tooltip:{show:e.tooltipShow,trigger:e.tooltipTrigger,formatter(v){var R;const{marker:C,seriesName:A}=v,_=((R=v==null?void 0:v.data)==null?void 0:R.record)??{},{name:S,value:E}=_;return Se(e.tooltipFormatter,{textData:{marker:C,seriesName:A,a:A,b:S,c:E,..._}})},axisPointer:{type:"cross"},textStyle:{fontSize:i.value}},legend:{show:e.legendShow,orient:e.legendOrient,top:e.legendTop,left:e.legendLeft,textStyle:{fontSize:i.value}},series:[{data:a.unref(o),type:"scatter",symbolSize:e.symbolSize}]}}),{getGlobalModel:l,setGlobalModel:f}=a.inject(Ce,{getGlobalModel:b=>{},setGlobalModel:(b,k)=>{}}),{pageMode:c}=a.inject(Ie,{pageMode:"normal"}),d=(b=[],k)=>{const{name:v="name",value:C="value"}=k||{};o.value=b.map(A=>({value:[A[v],A[C]],record:A}))};a.watch(()=>e.data,b=>{(e.dataType==="static"||a.unref(c)==="design")&&d(b)},{immediate:!0,deep:!0});const x=a.ref(!1),h=Oe(e),u=async()=>{var b,k;if(e.dataType==="request"){x.value=!0;try{const v=await h();d((k=(b=v==null?void 0:v.data)==null?void 0:b.data)==null?void 0:k.rows,e.dataFieldNames)}catch(v){console.error(v)}finally{x.value=!1}}},g=()=>{n.value=!1},w=be(e)("click",b=>{const k=e.id,v=l(k);f(k,{...v,RECORD:b==null?void 0:b.data})});ke(e,{refreshData:()=>{u()},click:w,resetRecord:()=>{const b=e.id,k=l(b);f(b,{...k,RECORD:""})}});const{setRequest:p}=a.inject(_e,{setRequest:b=>{}});return typeof p=="function"&&p({id:e.id,requestFn:u,sortNum:e.requestSort}),{option:s,style:t,click:w,loading:x,onClose:g,ecanModal:r}}}),w1="";function Jc(e,n,t,o,r,i){const s=a.resolveComponent("echarts"),l=a.resolveComponent("spin"),f=a.resolveComponent("ecan-modal");return a.openBlock(),a.createElementBlock("div",{style:a.normalizeStyle(e.style)},[a.createVNode(l,{spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,autoresize:"",onClick:e.click},null,8,["option","onClick"])]),_:1},8,["spinning"]),a.createVNode(f,{width:"1920px",height:"1080px",ref:"ecanModal",onClose:e.onClose},{default:a.withCtx(()=>[a.createVNode(l,{class:"spin-wrap",spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,"update-options":{notMerge:!0},autoresize:""},null,8,["option"])]),_:1},8,["spinning"])]),_:1},8,["onClose"])],4)}const Pi=ce(se(Qc,[["render",Jc]])),Yo={...me,id:"",name:"自定义图表",keyName:"自定义图表",type:"ecanCustomGraph",width:"400px",height:"400px",option:{},optionCode:"",graphicType:"ecanCustomGraph"},Ko=de(Yo),ef=a.defineComponent({name:"EcanCustomGraph",props:{...Ko},components:{Echarts:ot},setup(e){const n=ue(e),t=a.ref();return a.watch(()=>e.optionCode,o=>{try{const r=eval;t.value=r(o)}catch(r){console.error(r)}},{immediate:!0}),{style:n,myOption:t,echarts:S0}}});function tf(e,n,t,o,r,i){const s=a.resolveComponent("echarts");return a.openBlock(),a.createElementBlock("div",{style:a.normalizeStyle(e.style)},[a.createVNode(s,{option:e.myOption,"update-options":{notMerge:!0},autoresize:""},null,8,["option"])],4)}const Hi=ce(se(ef,[["render",tf]])),Xo={...me,id:"",name:"组合图表",keyName:"组合图表",type:"ecanComboGraph",width:"400px",height:"400px",data:[{name:"名称一",value:335,type:"类型一"},{name:"名称二",value:410,type:"类型一"},{name:"名称三",value:210,type:"类型一"},{name:"名称一",value:510,type:"类型二"},{name:"名称二",value:731,type:"类型二"},{name:"名称三",value:910,type:"类型二"}],titleText:"",titleSubtext:"",colors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],legendShow:!0,legendTextStyleColor:"#333",legendOrient:"horizontal",legendTop:"top",legendLeft:"center",tooltipShow:!0,tooltipTextStyleColor:"",tooltipTrigger:"item",tooltipFormatter:"{marker} {a} {c}",xAxisLabelInterval:0,xAxisSplitLineShow:!0,xAxisSplitAreaShow:!1,xAxisSplitLineInterval:0,xAxisLabelRotate:0,xAxisLabelOverflow:"none",xAxisLabelWidth:void 0,xAxisSplitLineStyleColor:"#333",xAxisLabelColor:"#333",xAxisLineShow:!0,xAxisLineStyleColor:"#333",xAxisTickShow:!0,xAxisMinInterval:0,xAxisLabelFormatter:"{value}",yAxisLabelFormatter:"{value}",yAxisMinInterval:0,yAxisSplitLineShow:!0,yAxisSplitAreaShow:!1,yAxisSplitLineStyleColor:"#333",yAxisLabelColor:"#333",yAxisLineStyleColor:"#333",yAxisLineAlwaysDisplay:!1,valueTypeDataFieldNames:{name:"name",value:"value",type:"type"},keyTypeDataFieldNames:{name:"name",types:[]},dataFieldConfigType:"value",seriesTypes:[{type:"bar",axisIndex:0},{type:"line",axisIndex:0}],yAxis:[{axisLabelFormatter:"{value}"},{axisLabelFormatter:"{value}"}],gridContainLabel:!0,gridTop:"10%",gridBottom:"10%",gridLeft:"5%",gridRight:"5%",graphicConfig:{},toolboxShow:!1,toolboxLocation:!1,toolboxDownloadShow:!0,toolboxDataZoomShow:!0,toolboxInfoShow:!0,toolboxOrient:"horizontal",toolboxItemSize:16,toolboxItemGap:8,toolboxLeft:"right",toolboxTop:"top",toolboxIconStyleBorderColor:"#666",toolboxDownloadUrl:"",toolboxInfoText:"当前无说明信息",areaStyleOpacity:0,symbolSize:4,lineStyleWidth:2,smooth:!1,barWidth:"40%",barBorderRadius:"",areaGradientShow:!1,areaGradientColor:"",yAxisLabelShow:!0,yAxisSplitLineType:"solid",gradientShow:!1,gradientColors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientOffset:1,legendType:"",legendItemGap:10,legendItemWidth:25,legendItemHeight:14,shadowColor:"",shadowBlur:0,shadowOffsetY:0,shadowOffsetX:0,legendFontSize:"12px",xAxisLabelFontSize:"12px",yAxisLabelFontSize:"12px",graphicType:"ecanComboGraph"},Qo=de(Xo),qi=["refreshData","click","resetRecord"];Pe.use([ut.CanvasRenderer,Qe.BarChart,Qe.LineChart,ge.TitleComponent,ge.LegendComponent,ge.DatasetComponent,ge.ToolboxComponent]);const nf=a.defineComponent({name:"EcanComboGraph",props:{...Qo},components:{Spin:pt,Echarts:ot,EcanModal:ct,AModal:ne.Modal},setup(e,{expose:n}){const t=a.ref(),o=a.ref(!1),r=a.ref(!1),i=a.ref(null),s=a.ref([]),l=ue(e),f=a.ref([]),c=a.ref([]),d=a.ref(),x=a.ref([]),h=a.computed(()=>o.value?Ze:12),u=a.computed(()=>({title:{text:e.titleText,subtext:e.titleSubtext,left:"center"},toolbox:{show:e.toolboxShow,left:e.toolboxLeft,top:e.toolboxTop,itemSize:e.toolboxItemSize,itemGap:e.toolboxItemGap,feature:{myLocation:{show:o.value?!1:e.toolboxLocation,title:"快速定位",icon:"path://M512 512m-80 0a80 80 0 1 0 160 0 80 80 0 1 0-160 0Z, M960 480h-33.632C910.752 276.16 747.84 113.248 544 97.632V64a32 32 0 1 0-64 0v33.632C276.16 113.248 113.248 276.16 97.632 480H64a32 32 0 0 0 0 64h33.632C113.248 747.84 276.16 910.752 480 926.368V960a32 32 0 1 0 64 0v-33.632C747.84 910.752 910.752 747.84 926.368 544H960a32 32 0 1 0 0-64zM544 862.368V800a32 32 0 1 0-64 0v62.368C311.424 847.104 176.896 712.576 161.632 544H224a32 32 0 1 0 0-64H161.632C176.896 311.424 311.424 176.896 480 161.632V224a32 32 0 0 0 64 0V161.632c168.576 15.296 303.104 149.792 318.368 318.368H800a32 32 0 1 0 0 64h62.368c-15.264 168.576-149.792 303.104-318.368 318.368z",onclick(){r.value=!0;const D=t.value.chart.getOption(),{xAxis:I}=D||{};I&&I.length&&(s.value=I[0].data)}},myDownload:{show:e.toolboxDownloadShow,title:"数据下载",icon:"path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",onclick(){Dt(e.toolboxDownloadUrl)}},myDataZoom:{show:o.value?!1:e.toolboxDataZoomShow,title:"放大",icon:"path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",onclick(){var D;o.value=!0,(D=d.value)==null||D.showModal()}},myInfo:{show:e.toolboxInfoShow,title:"说明信息",icon:"path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",onclick(){ne.Modal.info({title:"说明信息",content:e.toolboxInfoText})}}}},grid:{top:e.gridTop,bottom:e.gridBottom,left:e.gridLeft,right:e.gridRight,containLabel:e.gridContainLabel},color:e.colors,legend:{show:e.legendShow,orient:e.legendOrient,top:e.legendTop,left:e.legendLeft,textStyle:{color:e.legendTextStyleColor,fontSize:o.value?Ze:e.legendFontSize},itemHeight:e.legendItemHeight,itemWidth:e.legendItemWidth,itemGap:e.legendItemGap,data:a.unref(x).map((D,I)=>({name:D.name,itemStyle:{color:e.colors[I]},icon:e.legendType}))},tooltip:{trigger:"axis",show:e.tooltipShow,formatter:D=>{const I=D.length;let z="",O=e.tooltipFormatter;O===""&&(O="{marker} {a} {c}");const L=e.seriesTypes;for(let N=0;N<I;N++){const M=L[N],{tooltipFormatter:Z}=M||{},{marker:$,seriesName:K,name:Y,value:ae,data:fe}=D[N]||{};N===0&&(z+=`${Y}<br/>`),z+=Se(Z||O,{textData:{marker:$,name:Y,value:ae,seriesName:K,a:K,b:Y,c:ae||0,...fe}},{useNewline:!0,useSpace:!0}),z+="<br/>"}return z},textStyle:{color:e.tooltipTextStyleColor,fontSize:h.value}},xAxis:{minInterval:e.xAxisMinInterval,type:"category",data:a.unref(c).map(D=>{let I={};return D&&typeof D=="object"?I={...D}:I={value:D},I}),splitLine:{show:e.xAxisSplitLineShow,lineStyle:{color:e.xAxisSplitLineStyleColor},interval:e.xAxisSplitLineInterval},splitArea:{show:e.xAxisSplitAreaShow},axisLabel:{color:e.xAxisLabelColor,interval:e.xAxisLabelInterval||0,rotate:e.xAxisLabelRotate,width:e.xAxisLabelWidth,overflow:e.xAxisLabelOverflow,fontSize:e.xAxisLabelFontSize,formatter(D){return typeof D=="string"&&D[0]==="0"&&!isNaN(+D)&&(D=(+D).toString()),tt(e.xAxisLabelFormatter,D)}},axisLine:{show:e.xAxisLineShow,lineStyle:{color:e.xAxisLineStyleColor}},axisTick:{show:e.xAxisTickShow}},yAxis:a.unref(y),series:a.unref(f)})),{pageMode:g}=a.inject(Ie,{pageMode:"normal"}),m=()=>{o.value=!1},w=(D=[],I=!1)=>{let z;if(e.dataFieldConfigType==="key"){const Z=I?e.keyTypeDataFieldNames:null;z=st(D,Z)}else if(e.dataFieldConfigType==="value"){const Z=I?e.valueTypeDataFieldNames:null;z=bt(D,Z)}c.value=z.dimensions;const O=z.dataset;x.value=z.dataset;const L=[],N=O.length,M=e.seriesTypes;for(let Z=0;Z<N;Z++){const $=M[Z],{type:K,axisIndex:Y}=$||{};let ae={type:K,yAxisIndex:Y,...O[Z]};if(K==="line"){const fe={};e.shadowColor&&(fe.shadowColor=e.shadowColor,fe.shadowBlur=e.shadowBlur,fe.shadowOffsetY=e.shadowOffsetY,fe.shadowOffsetX=e.shadowOffsetX),ae={...ae,symbolSize:e.symbolSize,smooth:e.smooth,itemStyle:{color:e.colors[Z]},areaStyle:{color:e.areaGradientShow?{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:e.colors[Z]},{offset:1,color:e.areaGradientColor||"transparent"}],global:!1}:e.colors[Z],opacity:e.areaStyleOpacity},lineStyle:{width:e.lineStyleWidth,...fe}}}if(K==="bar"){const{gradientShow:fe,gradientColors:Te,gradientOffset:Ee}=e,xe={};if(e.barBorderRadius){const he=e.barBorderRadius.split(",");if(he!=null&&he.length){const Le=[];for(const Ve of he){const Ne=parseFloat(Ve);isNaN(Ne)||Le.push(Ne)}xe.borderRadius=Le}}fe&&(xe.color={x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:e.colors[Z]},{offset:Ee,color:Te[Z]},{offset:1,color:Te[Z]}]}),ae={...ae,barWidth:e.barWidth,itemStyle:xe}}L.push(ae)}f.value=L},T=(D=[],I,z=!1)=>{const L=st(D,z?I:null);c.value=L.dimensions;const N=L.dataset;x.value=L.dataset;const M=[],Z=N.length,$=e.seriesTypes;for(let K=0;K<Z;K++){const Y=$[K];M.push({type:Y==null?void 0:Y.type,yAxisIndex:Y==null?void 0:Y.axisIndex,...N[K]})}f.value=M};a.watch(()=>[e.data,e.seriesTypes,e.symbolSize,e.smooth,e.areaStyleOpacity,e.lineStyleWidth,e.barWidth,e.barBorderRadius,e.areaGradientShow,e.areaGradientColor,e.gradientShow,e.gradientColors,e.gradientOffset,e.shadowColor,e.shadowBlur,e.shadowOffsetY,e.shadowOffsetX,e.legendFontSize,e.xAxisLabelFormatter],([D])=>{(e.dataType==="static"||a.unref(g)==="design")&&w(D)},{immediate:!0,deep:!0});const y=a.computed(()=>{const D=e.yAxis;return D==null?void 0:D.map(I=>({type:"value",minInterval:e.yAxisMinInterval,splitLine:{show:e.yAxisSplitLineShow,lineStyle:{color:e.yAxisSplitLineStyleColor,type:e.yAxisSplitLineType}},splitArea:{show:e.yAxisSplitAreaShow},axisLabel:{show:e.yAxisLabelShow,fontSize:e.yAxisLabelFontSize,color:e.yAxisLabelColor,formatter(z){return tt(I.axisLabelFormatter,z)}},axisLine:{show:e.yAxisLineAlwaysDisplay,lineStyle:{color:e.yAxisLineStyleColor}}}))}),p=a.ref(!1),b=Oe(e),k=async()=>{var D,I;if(e.dataType==="request")try{p.value=!0;const z=await b();w((I=(D=z==null?void 0:z.data)==null?void 0:D.data)==null?void 0:I.rows,!0)}catch(z){console.error(z)}finally{p.value=!1}},v=Ke(e),C=async()=>{var D;try{p.value=!0;const I=await v(),{columns:z=[],rows:O=[]}=((D=I==null?void 0:I.data)==null?void 0:D.data)??{};let L;z.length>0&&(L={name:z[0],types:z.slice(1).map(N=>({label:N,value:N}))}),T(O,L,!0)}catch(I){console.error(I)}finally{p.value=!1}},A=()=>{switch(e.dataType){case"indicator":C();break;case"request":k();break}},_=(D,I)=>!!a.unref(s)[I.value].value.includes(D),S=async()=>{r.value=!1;const D=t.value.chart.getOption();for(let I=0;I<7;I++)await E(D,I)},E=(D,I)=>new Promise(z=>{setTimeout(()=>{const{series:O,color:L,xAxis:N}=D,M=t.value.chart,{splitArea:Z={}}=N[0]||{};O.forEach(($,K)=>{const Y=$.data;let ae="";I%2?ae=L[K]+"a8":ae=L[K],Y[i.value].itemStyle={color:ae}}),I%2?(Z.show=!0,Z.areaStyle.color=a.unref(s).map(($,K)=>K===i.value?"#ff003b26":"")):Z.show=!1,M.setOption({series:O,xAxis:N}),z()},200)});n({refreshData:A});const R=be(e),{getGlobalModel:B,setGlobalModel:P}=a.inject(Ce,{getGlobalModel:D=>{},setGlobalModel:(D,I)=>{}}),q=R("click",D=>{const I=B(e.id);P(e.id,{...I,RECORD:D==null?void 0:D.data})}),{setRequest:F}=a.inject(_e,{setRequest:D=>{}});return typeof F=="function"&&F({id:e.id,requestFn:A,sortNum:e.requestSort}),ke(e,{resetRecord:()=>{const D=e.id,I=B(D);P(D,{...I,RECORD:""})},refreshData:A,click:q}),{style:l,option:u,click:q,loading:p,onClose:m,ecanModal:d,echartRef:t,handleLocationOk:S,onFilterOption:_,locationVisible:r,locationValue:i,locationNames:s}}}),k1="",T1="",of=e=>(a.pushScopeId("data-v-cb9f8c75"),e=e(),a.popScopeId(),e),af={class:"location-wrap"},rf=of(()=>a.createElementVNode("div",{class:"location-text"},"选择分类:",-1));function lf(e,n,t,o,r,i){const s=a.resolveComponent("echarts"),l=a.resolveComponent("spin"),f=a.resolveComponent("ecan-modal"),c=a.resolveComponent("a-select-option"),d=a.resolveComponent("a-select"),x=a.resolveComponent("a-modal");return a.openBlock(),a.createElementBlock("div",{style:a.normalizeStyle(e.style)},[a.createVNode(l,{spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{ref:"echartRef",option:e.option,"update-options":{notMerge:!0},autoresize:"",onClick:e.click},null,8,["option","onClick"])]),_:1},8,["spinning"]),a.createVNode(f,{width:"1920px",height:"1080px",ref:"ecanModal",onClose:e.onClose},{default:a.withCtx(()=>[a.createVNode(l,{class:"spin-wrap",spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,"update-options":{notMerge:!0},autoresize:"",onClick:e.click},null,8,["option","onClick"])]),_:1},8,["spinning"])]),_:1},8,["onClose"]),a.createVNode(x,{visible:e.locationVisible,"onUpdate:visible":n[1]||(n[1]=h=>e.locationVisible=h),title:"快速定位",onOk:e.handleLocationOk},{default:a.withCtx(()=>[a.createElementVNode("div",af,[rf,a.createVNode(d,{value:e.locationValue,"onUpdate:value":n[0]||(n[0]=h=>e.locationValue=h),style:{width:"100%"},placeholder:"请选择","show-search":"","filter-option":e.onFilterOption},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.locationNames,(h,u)=>(a.openBlock(),a.createBlock(c,{key:u,value:u},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(h.value),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value","filter-option"])])]),_:1},8,["visible","onOk"])],4)}const Vi=ce(se(nf,[["render",lf],["__scopeId","data-v-cb9f8c75"]])),Jo={...me,id:"",name:"雷达图",keyName:"雷达图",type:"ecanRadar",width:"400px",height:"400px",top:"",left:"",rotate:"",data:[{name:"名称一",value:235,type:"类型一"},{name:"名称二",value:280,type:"类型一"},{name:"名称三",value:230,type:"类型一"},{name:"名称四",value:335,type:"类型一"},{name:"名称五",value:435,type:"类型一"},{name:"名称六",value:215,type:"类型一"}],titleText:"",titleSubtext:"",legendShow:!0,legendOrient:"horizontal",legendTop:"top",legendLeft:"center",colors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],valueTypeDataFieldNames:{name:"name",value:"value",type:"type"},keyTypeDataFieldNames:{name:"name",types:[]},dataFieldConfigType:"value",tooltipShow:!0,tooltipFormatter:"{marker} {a} {c}",toolboxShow:!1,toolboxDownloadShow:!0,toolboxDataZoomShow:!0,toolboxInfoShow:!0,toolboxOrient:"horizontal",toolboxItemSize:16,toolboxItemGap:8,toolboxLeft:"right",toolboxTop:"top",toolboxIconStyleBorderColor:"#666",toolboxDownloadUrl:"",toolboxInfoText:"当前无说明信息",areaStyleOpacity:0,legendItemGap:10,legendItemWidth:25,legendItemHeight:14,legendType:"",lineStyleWidth:2,symbolSize:4,labelShow:!1,labelFontSize:"12px",labelPosition:"inside",labelColor:"",labelWidth:100,labelOverflow:"none",axisNameColor:"",legendFontSize:"12px",graphicConfig:{},graphicType:"ecanRadar"},ea=de(Jo),ji=["refreshData","click","resetRecord"];Pe.use([ut.CanvasRenderer,Qe.RadarChart,ge.ToolboxComponent,ge.TitleComponent,ge.LegendComponent]);const sf=a.defineComponent({name:"EcanRadar",props:{...ea},components:{Spin:pt,Echarts:ot,EcanModal:ct},setup(e,{expose:n}){const t=a.ref(),o=a.ref(!1),r=ue(e),i=a.ref([]),s=a.ref(),l=a.computed(()=>o.value?Ze:12),f=a.ref({});let c;const d=a.ref([]),x=a.ref(e.valueTypeDataFieldNames.name),h=a.computed(()=>{const F=a.unref(d),H=F.length,D=[];for(let I=0;I<H;I++){const{name:z,data:O=[]}=F[I],L=[{name:z,value:O.map(M=>M.value)}],N={type:"radar",name:z,data:L,areaStyle:{color:e.colors[I],opacity:e.areaStyleOpacity},tooltip:{trigger:"item"},symbolSize:e.symbolSize,lineStyle:{width:e.lineStyleWidth},label:{show:e.labelShow,fontSize:e.labelFontSize,position:e.labelPosition,color:e.labelColor,width:e.labelWidth,overflow:e.labelOverflow}};D.push(N)}return D}),u=a.computed(()=>{var z,O;const F=[],H={},D=a.unref(d),I=D.length;for(let L=0;L<I;L++){const{data:N=[]}=D[L];if(N!=null&&N.length)for(let M=0;M<N.length;M++)H[N[M][x.value]]?H[N[M][x.value]].push(N[M].value):H[N[M][x.value]]=[N[M].value]}if((z=i.value)!=null&&z.length)for(const L of i.value)F.push({name:L,max:(O=H[L])!=null&&O.length?Math.max(...H[L])*1.2:0});return F}),g=a.computed(()=>({toolbox:{show:e.toolboxShow,left:e.toolboxLeft,top:e.toolboxTop,itemSize:e.toolboxItemSize,itemGap:e.toolboxItemGap,feature:{myDownload:{show:e.toolboxDownloadShow,title:"数据下载",icon:"path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",onclick(){Dt(e.toolboxDownloadUrl)}},myDataZoom:{show:o.value?!1:e.toolboxDataZoomShow,title:"放大",icon:"path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",onclick(){var F;o.value=!0,(F=s.value)==null||F.showModal()}},myInfo:{show:e.toolboxInfoShow,title:"说明信息",icon:"path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",onclick(){ne.Modal.info({title:"说明信息",content:e.toolboxInfoText})}}}},title:{text:e.titleText,subText:e.titleSubtext,left:"center"},color:e.colors,tooltip:{trigger:"axis",textStyle:{fontSize:l.value},show:e.tooltipShow,formatter:F=>{var I;let H="",D=e.tooltipFormatter;c=(I=F[0])==null?void 0:I.data,D===""&&(D="{marker} {a} {c}");for(let z=0;z<a.unref(u).length;z++){const O=a.unref(u)[z],{marker:L,seriesName:N,value:M}=F||{};z===0&&N&&(H+=`${N}<br/>`),H+=Se(D,{textData:{marker:L,name:O.name,value:M[z],a:O.name,b:O.name,c:M[z]||0,type:N}},{useNewline:!0,useSpace:!0}),H+="<br/>"}return H}},radar:{indicator:a.unref(u),axisName:{color:e.axisNameColor}},legend:{show:e.legendShow,orient:e.legendOrient,top:e.legendTop,left:e.legendLeft,textStyle:{fontSize:o.value?Ze:e.legendFontSize},itemHeight:e.legendItemHeight,itemWidth:e.legendItemWidth,itemGap:e.legendItemGap,data:a.unref(d).map(F=>({name:F.name,icon:e.legendType}))},series:a.unref(h)})),m=()=>{o.value=!1},{getGlobalModel:w,setGlobalModel:T}=a.inject(Ce,{getGlobalModel:F=>{},setGlobalModel:(F,H)=>{}}),{pageMode:y}=a.inject(Ie,{pageMode:"normal"}),p=(F=[],H=!1)=>{let D;if(e.dataFieldConfigType==="key"){const I=H?e.keyTypeDataFieldNames:null;D=st(F,I)}else if(e.dataFieldConfigType==="value"){const I=H?e.valueTypeDataFieldNames:null;D=bt(F,I)}i.value=D.dimensions,d.value=D.dataset},b=(F=[],H,D=!1)=>{const z=st(F,D?H:null);i.value=z.dimensions,d.value=z.dataset};a.watch(()=>[e.data,e.areaStyleOpacity,e.legendFontSize],([F])=>{(e.dataType==="static"||a.unref(y)==="design")&&p(F)},{immediate:!0,deep:!0});const k=a.ref(!1),v=Oe(e),C=async()=>{var F,H;if(e.dataType==="request")try{k.value=!0;const D=await v();p((H=(F=D==null?void 0:D.data)==null?void 0:F.data)==null?void 0:H.rows,!0)}catch(D){console.error(D)}finally{k.value=!1}},_=be(e)("click",F=>{const H=w(e.id);T(e.id,{...H,RECORD:e.tooltipShow?c:F.data})}),S=F=>{t.value.chart.containPixel("grid",[F.offsetX,F.offsetY])&&_()};e.tooltipShow?f.value["zr:click"]=S:f.value.click=_;const E=Ke(e),R=async()=>{var F;try{k.value=!0;const H=await E(),{columns:D=[],rows:I=[]}=((F=H==null?void 0:H.data)==null?void 0:F.data)??{};let z;D.length>0&&(x.value=D[0],z={name:D[0],types:D.slice(1).map(O=>({label:O,value:O}))}),b(I,z,!0)}catch(H){console.error(H)}finally{k.value=!1}},B=()=>{switch(e.dataType){case"indicator":R();break;case"request":C();break}};ke(e,{refreshData:B,resetRecord:()=>{const F=e.id,H=w(F);T(F,{...H,RECORD:""})},click:_});const{setRequest:q}=a.inject(_e,{setRequest:F=>{}});return typeof q=="function"&&q({id:e.id,requestFn:B,sortNum:e.requestSort}),n({refreshData:B}),{option:g,style:r,click:_,loading:k,onClose:m,ecanModal:s,eventObj:f,echartRef:t}}}),B1="";function cf(e,n,t,o,r,i){const s=a.resolveComponent("echarts"),l=a.resolveComponent("spin"),f=a.resolveComponent("ecan-modal");return a.openBlock(),a.createElementBlock("div",{style:a.normalizeStyle(e.style)},[a.createVNode(l,{spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,a.mergeProps({ref:"echartRef",option:e.option,autoresize:""},a.toHandlers(e.eventObj)),null,16,["option"])]),_:1},8,["spinning"]),a.createVNode(f,{width:"1920px",height:"1080px",ref:"ecanModal",onClose:e.onClose},{default:a.withCtx(()=>[a.createVNode(l,{class:"spin-wrap",spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,"update-options":{notMerge:!0},autoresize:""},null,8,["option"])]),_:1},8,["spinning"])]),_:1},8,["onClose"])],4)}const Gi=ce(se(sf,[["render",cf]])),ff="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAAcCAMAAACH42siAAAAZlBMVEUAAABBltJCldJCldFEk89BltJCltFBldI/lMBKndtmb9pCltNDldFAkclAldNBldJBltM/lM5AltNCldJBldJBlNJBltVBldJBlNJBlNI/lNNBldJBldNAldJBldJBldJBldNBldIiNK7WAAAAInRSTlMAM4BNGmaz5gQGbiAPCV1WQxUpOCY9EmxQSC2jdoacqZK8uPo7tAAAAZ9JREFUSMe90NmOwjAMheGka0J3SulCy/L+Lzk4I+HYhckEKs7dr1x8kQVM5YJMZ7SLiXVHOw817Z72cSns3BmziY7EnGRGjDqUpKt4pEZQKruvyaJt85YmBUebKLJVNUlpq6oOQ1tVVRzbqu6DwFb1NUlsVd3SNL0UDM0jqkaSqoeQqjKmahtQNUzuC1AtU1sF9KHmnmrtrSK6idqBWqE6GFVxFdGvqDGoJ01Qt7rfTEV0e7V6qSK6VjNPtTaqoOq8Ugnqr7aeav+rAuqrTh+qZw3o1urAVcFVQD3U6ZnaYY9MLZk6G5WhDaDFI9UeUPyE7gCNsAdAD9gxoBJ7ARRPUVwALXdu8/h/s3xmjtwUu0/M0M/UJzBjAei3TUTdpmKmcpkBmOHKBNTPzJi59zYJys3DO2aL78YcmNkLgrrM9m9TucwzmoBy08xlju+bgL42G4c5OcxqZSLqbwqXOVNTGXMWFD0ak6KN1ZKaojYmbribndW9MXELNQEFFUyiNqQlmEQ1JqpgErUifUUTUVEIupx1wzpjvWfdsh4FQX8ANe4nnpsb9NEAAAAASUVORK5CYII=",df="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWoAAAAuCAYAAAABZlMtAAAAAXNSR0IArs4c6QAAEnVJREFUeF7tXU2MHNdxrqrumd0luRJ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dJQ8AQMAQMgUEIYH0LnuzsWHX4dK890h/4638fWb+850UGKP65HAB/NDK68ZD9+/gguK3eEDAEDIHrR0CXPiaOzL+MiOJ4v7J8fObpXmqmPv31O7md/jcAfyjKIMAro3uvfvLn//E3svfdDkPAEDAEDIGbjIA6at2Sl8EDZ78x83Iv/Qcf+/rdSSP9HjO/v5BB/NLy0rG/u56/lLnJ9ps6Q8AQMAR+5xEYKtfHwSPP3+/Q/Q8AHFBEZEepw79cXpr+2u88QjZAQ8AQMARuMQIDHfXU0ecfAnDfYoBRbytvMMAnzx6ffeUW227dGwKGgCGwIxAYkOtjYRYBngv/ciqAXARwf7Z8/NiPdgQ6NkhDwBAwBG4DBPr8C/n8vwLiP0YbZV914txH3l6a/sVtYLeZYAgYAobAjkFgk6P+4JPPNM5tNF8AhsMlFN7ME/7ouYXZ8zsGGRuoIWAIGAK3CQIVR71/9vk9Ixl+G6D8J7b8Ko+2//zss0+t3iY2mxmGgCFgCOwoBCqO+n2PvXBHnrZ/DMAfEBQQYP7ModNPwNxcPV3bjgLJBmsIGAKGwK1EYNPSh+yXdmn6BiB9ZXlp9vO30jjr2xAwBAwBQ6DHX3HdM72w79TijPyLjR2GgCFgCBgCtxiB/weD2jMQWbgYrgAAAABJRU5ErkJggg==",ta={...me,name:"边框",keyName:"边框",type:"ecanBorder",width:"300px",height:"300px",zIndex:0,fontSize:"16px",fontFamily:"",fontWeight:700,title:"标题",mode:"no-title",borderColor:"#eee",borderRadius:"5",borderStyle:"solid",borderWidth:"2px",backgroundColor:"#ffffff",useBorderModify:!1,textShadow:"",data:{},gradientShow:!0,gradientColor:"",gradientOffset:1,gradientAngle:"180deg",titleMode:"type-1"},na=de(ta),Ui=["click"],gf=a.defineComponent({name:"EcanBorder",props:{...na},setup(e){const n=ue(e,["background"]),t=a.computed(()=>{const{gradientShow:g,gradientColor:m,gradientOffset:w,gradientAngle:T,backgroundColor:y}=e;return g&&m?{backgroundImage:`linear-gradient(${T}, ${y}, ${m} ${w*100}%)`}:{}}),o=a.computed(()=>{const{events:g}=e;let m={};return g!=null&&g.length&&g.find(T=>T.emit==="showModal")&&(m={cursor:"pointer"}),m}),{theme:r}=a.inject(Ie,{theme:"light"}),i=a.computed(()=>{let g="";switch(e.titleMode){case"type-2":g="2";break}return g}),s=a.computed(()=>new URL(Object.assign({"../../assets/border-title-decoration-left.png":ff,"../../assets/border-title-decoration-left2.png":df})[`../../assets/border-title-decoration-left${i.value}.png`],self.location).href),l=a.computed(()=>new URL(Object.assign({"../../assets/border-title-decoration-right.png":uf,"../../assets/border-title-decoration-right2.png":hf})[`../../assets/border-title-decoration-right${i.value}.png`],self.location).href),f=a.computed(()=>({width:"100%",height:"100%"})),c=a.computed(()=>{const{borderRadius:g}=e,m=[],w={};if(g){const T=g.split(",");for(const y of T)(+y||+y==0)&&m.push(+y+"px")}return m!=null&&m.length&&(w.borderRadius=m.join(" ")),w}),x=be(e)("click",()=>{}),h=a.ref([]);a.watch(()=>e.data,g=>{h.value=g},{immediate:!0,deep:!0}),ke(e,{click:x});const{setGlobalModel:u}=a.inject(Ce,{setGlobalModel:(g,m)=>{}});return u(e.id,{type:e.type,value:h}),{style:n,gradientStyle:t,click:x,borderStyle:f,theme:r,borderRadiusStyle:c,titleLeftIcon:s,titleRightIcon:l,cursorStyle:o}}}),D1="",ft=e=>(a.pushScopeId("data-v-a6ae5d6a"),e=e(),a.popScopeId(),e),mf=["id"],xf=ft(()=>a.createElementVNode("div",{class:"top-left border-item"},null,-1)),yf=ft(()=>a.createElementVNode("div",{class:"top-right border-item"},null,-1)),pf=ft(()=>a.createElementVNode("div",{class:"bottom-left border-item"},null,-1)),bf=ft(()=>a.createElementVNode("div",{class:"bottom-right border-item"},null,-1)),vf={class:"title-item"},Sf=["src"],wf={class:"title"},Cf=["src"],Af=ft(()=>a.createElementVNode("div",{class:"top-left border-item"},null,-1)),kf=ft(()=>a.createElementVNode("div",{class:"top-right border-item"},null,-1)),Tf=ft(()=>a.createElementVNode("div",{class:"bottom-left border-item"},null,-1)),Ef=ft(()=>a.createElementVNode("div",{class:"bottom-right border-item"},null,-1)),Bf={key:2,class:"left-title"},_f={class:"title"};function Df(e,n,t,o,r,i){return a.openBlock(),a.createElementBlock("div",{class:"ecan-border",style:a.normalizeStyle({...e.style,...e.gradientStyle,...e.borderRadiusStyle,...e.cursorStyle}),onClick:n[0]||(n[0]=(...s)=>e.click&&e.click(...s)),id:"container_"+e.id},[e.mode==="no-title"?(a.openBlock(),a.createElementBlock("div",{key:0,class:"no-title",style:a.normalizeStyle(e.borderStyle)},[e.useBorderModify?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[xf,yf,pf,bf],64)):a.createCommentVNode("",!0)],4)):a.createCommentVNode("",!0),e.mode==="top-title"?(a.openBlock(),a.createElementBlock("div",{key:1,class:"top-title",style:a.normalizeStyle(e.borderStyle)},[a.createElementVNode("div",{class:a.normalizeClass(["title-item-wrapper",e.titleMode])},[a.createElementVNode("div",vf,[a.createElementVNode("img",{class:a.normalizeClass(["title-decoration",e.titleMode]),src:e.titleLeftIcon},null,10,Sf),a.createElementVNode("div",wf,a.toDisplayString(e.title),1),a.createElementVNode("img",{class:a.normalizeClass(["title-decoration",e.titleMode]),src:e.titleRightIcon},null,10,Cf)])],2),Af,kf,Tf,Ef],4)):a.createCommentVNode("",!0),e.mode==="left-title"?(a.openBlock(),a.createElementBlock("div",Bf,[a.createElementVNode("div",_f,[a.createElementVNode("span",null,a.toDisplayString(e.title),1)])])):a.createCommentVNode("",!0)],12,mf)}const Wi=ce(se(gf,[["render",Df],["__scopeId","data-v-a6ae5d6a"]])),oa={...me,tabHorizontalPadding:"0px",type:"ecanTabs",name:"标签页",keyName:"标签页",width:"500px",height:"400px",tabFontSize:"14px",backgroundColor:"#ffffff",activeTabColor:"#1890ff",tabBackgroundImage:"",activeTabBackgroundImage:"",tabColor:"#333",tabBarGutter:"24px",tabFontWeight:400,value:"",activeKey:0,autoSwitch:!1,autoSwitchInterval:5,contains:[],tabFlexDirection:"row",data:[{title:"标签1"},{title:"标签2"},{title:"标签3"}],tabAlignItems:"flex-start",tabJustifyContent:"flex-start",tabType:"tabs"},aa=de(oa),$i=["tabChange"],Rf=a.defineComponent({name:"EcanTabs",props:{...aa},components:{ASelect:ne.Select,ASelectOption:ne.SelectOption},setup(e){const n=ue(e),t=a.ref(0);a.watch(()=>e.activeKey,u=>{t.value=u},{immediate:!0});const{pageMode:o}=a.inject(Ie,{pageMode:"normal"});let r=null;const i=()=>{const u=Array.isArray(a.unref(s))?a.unref(s).length-1:0;e.autoSwitch&&u>0&&(r=setInterval(()=>{const g=a.unref(t)+1;g<=u?t.value=g:t.value=0,l.value=a.unref(s)[a.unref(t)],x()},e.autoSwitchInterval*1e3))};a.onMounted(()=>{a.unref(o)!=="design"&&i()}),a.onBeforeUnmount(()=>{clearInterval(r)});const s=a.ref([]),l=a.ref({});a.watch(()=>e.data,u=>{s.value=u,l.value=Array.isArray(u)&&u.length>0?u[0]:{}},{immediate:!0,deep:!0});const f=u=>t.value===u,c=be(e),{setGlobalModel:d}=a.inject(Ce,{setGlobalModel:(u,g)=>{}});d(e.id,{value:l,activeKey:t});const{emitRefreshPage:x}=a.inject(Nt,{emitRefreshPage:()=>{}}),h=c("tabChange",(u,g)=>{g!==a.unref(t)&&(l.value=u,t.value=g,x())});return ke(e,{tabChange:h}),{style:n,activeKey:t,isActive:f,tabChange:h,myData:s,useImagePath:mt}}}),I1="",If=["id"],Of=["onClick"];function Lf(e,n,t,o,r,i){const s=a.resolveComponent("a-select-option"),l=a.resolveComponent("a-select");return a.openBlock(),a.createElementBlock("div",{class:"ecan-tabs",style:a.normalizeStyle(e.style),id:"container_"+e.id},[a.createElementVNode("div",{class:"tabs-header",style:a.normalizeStyle({fontSize:e.tabFontSize,alignItems:e.tabAlignItems,justifyContent:e.tabJustifyContent,flexDirection:e.tabFlexDirection})},[e.tabType==="tabs"?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(e.myData,(f,c)=>(a.openBlock(),a.createElementBlock("div",{class:"tab",style:a.normalizeStyle({padding:`5px ${e.tabHorizontalPadding}`,color:e.isActive(c)?e.activeTabColor:e.tabColor,backgroundImage:e.isActive(c)?e.useImagePath(e.activeTabBackgroundImage,!0):e.useImagePath(e.tabBackgroundImage,!0),marginRight:e.tabFlexDirection==="row"?e.tabBarGutter:null,marginBottom:e.tabFlexDirection==="column"?e.tabBarGutter:null,fontWeight:e.tabFontWeight}),key:c,onClick:a.withModifiers(d=>e.tabChange(f,c),["prevent","stop"])},[a.createElementVNode("div",{class:"tab-inner",style:a.normalizeStyle({borderBottom:!e.activeTabBackgroundImage&&!e.tabBackgroundImage?`1px solid ${e.isActive(c)?e.activeTabColor:"transparent"}`:""})},a.toDisplayString(f.title),5)],12,Of))),128)):e.tabType==="select"?(a.openBlock(),a.createBlock(l,{key:1,value:e.activeKey,style:{width:"120px"}},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.myData,(f,c)=>(a.openBlock(),a.createBlock(s,{key:c,value:c,onClick:d=>e.tabChange(f,c)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(f.title),1)]),_:2},1032,["value","onClick"]))),128))]),_:1},8,["value"])):a.createCommentVNode("",!0)],4)],12,If)}const Zi=ce(se(Rf,[["render",Lf],["__scopeId","data-v-d3cb500d"]])),ra={...me,name:"图片",keyName:"图片",type:"ecanImage",width:"300px",height:"300px",imgUrl:"",target:"self",href:"",linkPage:"",data:{}},ia=de(ra),Yi=["click"],Nf=a.defineComponent({name:"EcanImage",props:{...ia},setup(e){const n=ue(e),t=a.computed(()=>mt(e.imgUrl)),{pageMode:o}=a.inject(Ie,{pageMode:"normal"}),{getGlobalModel:r,setGlobalModel:i}=a.inject(Ce,{getGlobalModel:f=>{},setGlobalModel:(f,c)=>{}}),l=be(e)("click",()=>{const f=r(e.id);if(i(e.id,{...f,RECORD:e.data||{}}),setTimeout(()=>{i(e.id,{...f,RECORD:{}})},0),!e.linkPage&&!e.href)return;const c=e.linkPage||"",d=$r(a.unref(o),c),x=e.href;let h=x||d;h=Se(h);const u=e.target;u&&(u!=="event"?window.open(h,"_"+u):window.parent.postMessage({type:"openPage",url:x},"*"))});return ke(e,{click:l}),{style:n,myImgUrl:t,onClick:l}}}),L1="",Mf=["src"];function zf(e,n,t,o,r,i){return e.myImgUrl!==""?(a.openBlock(),a.createElementBlock("img",{key:0,style:a.normalizeStyle(e.style),src:e.myImgUrl,onClick:n[0]||(n[0]=(...s)=>e.onClick&&e.onClick(...s))},null,12,Mf)):(a.openBlock(),a.createElementBlock("div",{key:1,class:"image-placeholder",style:a.normalizeStyle(e.style)}," 请上传图片 ",4))}const Ki=ce(se(Nf,[["render",zf],["__scopeId","data-v-3665dde7"]])),la={...me,name:"网页",keyName:"网页",type:"ecanIframe",width:"300px",height:"300px",link:"",linkType:"web"},sa=de(la),Ff=a.defineComponent({name:"EcanIframe",props:{...sa},setup(e){const n=ue(e),{contextRequestUrl:t}=a.inject(Ie,{contextRequestUrl:""}),o=a.computed(()=>{let r=Se(e.link);if(e.linkType==="erd"&&r!=null){let i=a.unref(t);i[i.length-1]==="/"?i+="erdReport":i+="/erdReport",r=`${Hl||i}?_t=0&uid=${r}`}return r});return{style:n,myLink:o}}}),M1="",Pf=["src"];function Hf(e,n,t,o,r,i){return e.myLink?(a.openBlock(),a.createElementBlock("iframe",{key:0,src:e.myLink,style:a.normalizeStyle(e.style)},null,12,Pf)):(a.openBlock(),a.createElementBlock("div",{key:1,class:"iframe-placeholder",style:a.normalizeStyle(e.style)}," 请填写网页链接 ",4))}const Xi=ce(se(Ff,[["render",Hf],["__scopeId","data-v-19bc100c"]])),ca={...me,zIndex:2,name:"表格",keyName:"表格",type:"ecanTable",width:"400px",height:"240px",bordered:!1,headerFontSize:"14px",fontSize:"14px",isUseSeq:!1,size:"default",headerFontWeight:400,isUseExport:!1,fontWeight:400,columnsFixedNum:0,scrollX:0,paginationShow:!0,isReverse:!1,simple:!1,pageSizeShow:!1,cellBackgroundColor:"",headerBackgroundColor:"",borderColor:"",paginationPosition:"bottomRight",paginationPageSize:10,isUseAction:!1,clickHighlight:!1,filterDropdownHeight:"200px",actionList:[{title:"",href:"",target:"",color:""}],actionColumnWidth:100,columns:[{title:"姓名",dataIndex:"name"},{title:"年龄",dataIndex:"age"},{title:"住址",dataIndex:"address"}],data:[{name:"小明",age:32,address:"福州软件园"},{name:"小红",age:25,address:"福州软件园"}],graphicConfig:{},stripedShow:!1,stripedColor:"#fafafa",isGroupTable:!1,seqWidth:"10%",isSummaryFixed:!1,isPageBottom:!1,isShowTotal:!1},fa=de(ca),Qi=["click","refreshData","resetRecord","exportTableData"],da=a.defineComponent({name:"EcanTable",components:{Skeleton:jt,AButton:ne.Button,AInput:ne.Input,ACheckboxGroup:ne.CheckboxGroup,ATable:ne.Table,ATableSummary:ne.TableSummary,ATableSummaryRow:ne.TableSummaryRow,ATableSummaryCell:ne.TableSummaryCell},props:{...fa},setup(e,{expose:n}){const t=a.ref(!1),o=Ge.cloneDeep(e.columns),r=a.ref(),i=a.ref(!1),s=ue(e),l=a.ref([]),f=a.computed(()=>e.scrollX),c=a.ref(0),d=()=>{let G=0;switch(e.size){case"small":G=50;break;case"middle":G=53;break;default:G=65;break}return G};a.watchEffect(()=>{var G;(G=l.value)!=null&&G.length&&e.height&&a.nextTick(()=>{let U=parseFloat(e.height);const W=document.querySelector(`#ecanTable-${e.id} .ant-table-tbody`),X=document.querySelector(`#ecanTable-${e.id} thead.ant-table-thead`),Q=document.querySelector(`#ecanTable-${e.id} .ant-table-summary`);let ee=0;if(X&&(U-=(X==null?void 0:X.clientHeight)||0),Q&&e.isSummaryFixed&&(ee=(Q==null?void 0:Q.clientHeight)||0,U-=ee),e.paginationShow){let J=0;J=d(),J&&(U-=J)}(W==null?void 0:W.clientHeight)>U?c.value=U:c.value=0,a.nextTick(()=>{if(ee){const J=document.querySelector(`#ecanTable-${e.id} .ant-table-summary`),ie=(J==null?void 0:J.clientHeight)||0;ee!==ie&&a.unref(c)&&(c.value=U+ee-ie)}})})});const x=a.ref([]),h=a.ref([]),u=a.ref([]),g=a.ref(0),m=a.ref(1),w=a.ref(e.paginationPageSize||10),T=a.reactive([]),y=(G=[])=>{if(Array.isArray(G)&&G.length>0){const U=G.length,W=e.columnsFixedNum;e.dataType==="indicator"&&(o!=null&&o.length)&&G.forEach((X,Q)=>{if(o[Q])for(const ee in o[Q])["dataIndex","title"].includes(ee)||(X[ee]=o[Q][ee])});for(let X=0;X<U;X++){const Q=G[X];X<W?Q.fixed="left":Q.fixed=!1;const{cellAlign:ee="center",cellColor:J,dataIndex:ie,title:ye,tableFilter:pe,headerCellAlign:Fe,headerCellColor:Re}=Q;pe&&(T.push(ie),Q.filterOptionsInputValue="",Q.filterCheckboxGroupValue=[],Q.customFilterDropdown=!0,Q.onFilter=(Be,zt)=>zt[ie].toString().toLowerCase().includes(Be.toLowerCase())),Q.customHeaderCell=()=>({style:{display:"table-cell",verticalAlign:"middle",fontSize:e.headerFontSize,fontWeight:e.headerFontWeight,textAlign:Fe||"center",color:Re,borderBottomColor:e.borderColor}}),Q.customCell=(Be,zt)=>({style:{textAlign:ee,color:J,backgroundColor:e.cellBackgroundColor,borderBottomColor:e.borderColor},class:{highlight:a.unref(O)===zt&&e.clickHighlight},onClick:q("click",()=>{const Ft=e.id,nn=F(Ft);Be={dataIndex:ie,title:ye,...Be},H(Ft,{...nn,RECORD:Be})})}),Array.isArray(Q.children)&&y(Q.children)}}},p=(G=[])=>(e.isUseSeq&&G.unshift({title:"序号",dataIndex:"SEQ",align:"center",width:e.seqWidth}),e.isUseAction&&G.push({title:"操作",dataIndex:"ACTION",width:e.actionColumnWidth}),y(G),G);a.watch(w,()=>{m.value=1,N(!1)}),a.watch(r,G=>{i.value=!!G}),a.watch(()=>[e.columns,e.isUseSeq,e.seqWidth,e.isUseAction,e.columnsFixedNum,e.actionColumnWidth,e.cellBackgroundColor,e.borderColor,e.stripedColor],()=>{x.value=p(Ge.cloneDeep(e.columns))},{immediate:!0,deep:!0}),a.watch(()=>[e.data,e.dataType],([G,U])=>{U==="static"&&(h.value=G)},{immediate:!0});const b=a.ref({}),k=G=>{if(Array.isArray(G)){const U=G.length,W=T,X=W.length,Q={};for(let J=0;J<U;J++){const ie=G[J];for(let ye=0;ye<X;ye++){const pe=W[ye];if(Q[pe])Q[pe].add(ie[pe]);else{const Fe=new Set;Fe.add(ie[pe]),Q[pe]=Fe}}}const ee={};for(const J in Q)if(Object.prototype.hasOwnProperty.call(Q,J)){const ie=Q[J],ye=Array.from(ie);ee[J]=ye.map(pe=>({label:pe,value:pe}))}b.value=ee}};a.watch(()=>[e.isReverse,x.value,h.value],()=>{const G=a.unref(x),U=a.unref(h);if(k(U),e.isReverse){const{columns:W,dataSource:X}=v(Ge.cloneDeep(G),Ge.cloneDeep(U));u.value=W,l.value=X}else u.value=G,l.value=U},{immediate:!0});const v=(G,U)=>{const W=G[0],X=[{title:W.title,dataIndex:"col0",key:"col0",align:"center"}];for(let ee=0;ee<U.length;ee++){const J=U[ee],ie="col"+(ee+1);X.push({title:J[W.dataIndex],dataIndex:ie,key:ie,align:"center"})}const Q=[];for(let ee=1;ee<G.length;ee++){const J=G[ee],ie={col0:J.title};for(let ye=0;ye<U.length;ye++){const pe=U[ye];ie[`col${ye+1}`]=pe[J.dataIndex]}Q.push(ie)}return{columns:X,dataSource:Q}},C=a.ref(""),A=Oe(e),_=async(G=!0,U={})=>{var W;try{G&&(t.value=!0),a.unref(C)&&(U.orderCondition=a.unref(C)),e.paginationShow&&(U={pageNum:a.unref(m),pageSize:a.unref(w)||"10",layer:"1",...U});const X=await A(U),{rows:Q=[],total:ee=0}=((W=X==null?void 0:X.data)==null?void 0:W.data)||{};if(g.value=ee,Array.isArray(Q)&&(h.value=Q),window.config.routerBaseURL.includes("1523545080925487106")){const{requestParams:J=[]}=e,ie=J.find(ye=>ye.key==="dataSqlId");if((ie==null?void 0:ie.value)==="xt_jxzebg"){const ye=Q.filter(pe=>!pe.绩效总额).map(pe=>pe.ORG_NAME);ye!=null&&ye.length&&a.nextTick(()=>{ne.notification.warning({message:"提示",description:`当前时段${ye.join("、")}绩效数据为空`,duration:3})})}}}catch(X){console.error(X)}finally{t.value=!1}},S=({current:G},U,W)=>{if(m.value=G,W&&Object.keys(W).length>0){const{field:X,order:Q}=W,J={ascend:"asc",descend:"desc"}[Q];X!=null&&J!=null&&(C.value=X+" "+J)}N(!1)},E=a.computed(()=>{const G=e.simple,U=[e.paginationPosition],W={};return e.isShowTotal&&(W.showTotal=X=>`共 ${X} 条数据`),e.paginationShow&&{simple:G,position:U,total:a.unref(g),current:a.unref(m),pageSize:a.unref(w)||"10",showSizeChanger:!1,...W}}),R=G=>+G==1?"是":+G==0?"否":G,B=(G,U)=>{const{format:W,retentiondigit:X,customFormatter:Q}=U;if(W==null||W==="")return G;const ee={money:so,percentage:en,contrast:en,boolean:R,decimals:Zs,custom:Ys};return W==="decimals"?ee[W](G,X)||"":W==="custom"?ee[W](G,Q)||"":ee[W](G)||""},P=(G,U)=>{const W=parseFloat(G+"");if(U!=="contrast")return"";switch(!0){case W>=0:return"goUp";case W<0:return"goDown"}},q=be(e),{getGlobalModel:F,setGlobalModel:H}=a.inject(Ce,{getGlobalModel:G=>{},setGlobalModel:(G,U)=>{}}),D=(G=[],U=[])=>{const W=G.map(X=>({title:X,dataIndex:X,key:X}));x.value=p(W),h.value=U},I=Ke(e),z=async(G=!0)=>{var U,W,X,Q;try{G&&(t.value=!0);const ee=a.unref(C).split(" "),J=await I({sort:{order:ee[1],field:ee[0]}});D((W=(U=J==null?void 0:J.data)==null?void 0:U.data)==null?void 0:W.columns,(Q=(X=J==null?void 0:J.data)==null?void 0:X.data)==null?void 0:Q.rows)}catch(ee){console.error(ee)}finally{t.value=!1}},O=a.ref(-1),L=(G,U)=>({onClick:q("rowClick",()=>{const W=e.id,X=F(W);H(W,{...X,RECORD:G}),O.value=U})}),N=(G=!0)=>{switch(e.dataType){case"request":_(G);break;case"indicator":z(G);break}},M=()=>{const G=e.id,U=F(G);H(G,{...U,RECORD:""})},Z=a.computed(()=>{const G=a.unref(u),U=[];let W=0;for(let ee=0;ee<G.length;ee++){const J=G[ee],{isCalcTotal:ie}=J;e.isUseSeq&&ee===0?U.push({...J,total:"小计"}):ie?(U.push({...J,index:ee,total:0}),W++):U.push({...J})}if(W===0)return[];const X=a.unref(l),Q=$(U);for(let ee=0;ee<Q.length;ee++){const J=Q[ee];let ie=0;const{isCalcTotal:ye,dataIndex:pe}=J;if(ye===!0){for(let Fe=0;Fe<X.length;Fe++){const Be=+X[Fe][pe];isNaN(Be)||(ie=new b0.Big(ie).add(Be).toNumber())}J.total=ie}}return Q});function $(G){var W;const U=[];for(const X of G)(W=X.children)!=null&&W.length?U.push(...$(X.children)):U.push(X);return U}const{setRequest:K}=a.inject(_e,{setRequest:G=>{}});typeof K=="function"&&K({id:e.id,requestFn:N,sortNum:e.requestSort}),n({refreshData:N});const Y=(G="",U)=>Se(G,U),ae=G=>{if(G!=="event")return{self:"_self",blank:"_blank"}[G]},fe=(G,U="")=>{G==="event"&&window.parent.postMessage({type:"openPage",url:U},"*")},Te=(G,U)=>{G(U.filterCheckboxGroupValue)},Ee=(G,U)=>{G({confirm:!0}),U.filterOptionsInputValue="",U.filterCheckboxGroupValue=[]},xe=()=>{},he=G=>{const U=G.dataIndex;if(typeof U=="string"){let W=a.unref(b)[U];const X=a.unref(G.filterOptionsInputValue).trim();return Array.isArray(W)?(W=W.filter(Q=>typeof Q.label=="string"?Q.label.toLowerCase().includes(X.toLowerCase()):!0),W):[]}return[]},Le=async()=>{var pe,Fe;const G="EXPORT_KEY";ne.message.loading({key:G,content:"正在导出...",duration:0});let U=[];if(e.dataType==="static")U=e.data;else if(e.dataType==="request"){const Re={layer:"1"};a.unref(C)&&(Re.orderCondition=a.unref(C));const Be=await A(Re);U=((Fe=(pe=Be==null?void 0:Be.data)==null?void 0:pe.data)==null?void 0:Fe.rows)||{}}const W=a.unref(u),X=[],Q=[];W==null||W.forEach(Re=>{X.push(Re.dataIndex),Q.push(Re.title)});const ee=U.map(Re=>Ge.pick(Re,X)),J=Rt.utils.book_new(),ie=Rt.utils.aoa_to_sheet([Q]),ye=Rt.utils.sheet_add_json(ie,ee,{skipHeader:!0,origin:"A2"});Rt.utils.book_append_sheet(J,ye,"sheet"),Rt.writeFile(J,"表格数据.xlsx"),ne.message.success({key:G,content:"导出成功"})},Ve=(G,U=2)=>{const W=+G*100;return isNaN(W)||W<=0?0:W>=100?100:W.toFixed(U)};ke(e,{resetRecord:M,refreshData:N,exportTableData:Le});const Ne=a.computed(()=>e.headerBackgroundColor||"#fafafa"),Me=(G,U)=>{let W=null;return e.stripedShow&&(W=U%2===1?"table-striped":null),W},nt=a.computed(()=>{let G=0;const{height:U,isPageBottom:W}=e;return W&&U&&(G=parseFloat(U)-d()),G?G+"px":"100%"});return{x:f,y:c,style:s,customRow:L,pagination:E,formatFn:B,contrastClass:P,tableChange:S,summaryList:Z,loading:t,onTouchHrefEvent:fe,handleHref:Y,handleHrefTarget:ae,useRowIndex:O,tableColumns:u,tableDataSource:l,useFilterOptions:he,useSetSelectedKeys:Te,onResetFilter:Ee,onSearchFilterOptions:xe,exportTableData:Le,handleProgressText:Ve,pageSizeVisible:i,pageSize:w,tableRef:r,headerBgColor:Ne,rowClassName:Me,tableHeight:nt}}}),Ji=()=>{a.useCssVars(e=>({"1c638fd3":e.headerBgColor,"34851aaa":e.stripedColor}))},e0=da.setup;da.setup=e0?(e,n)=>(Ji(),e0(e,n)):Ji;const F1="",P1="",qf=["id"],Vf={key:0,class:"table-tool"},jf=a.createTextVNode("导出数据"),Gf=a.createTextVNode(" 搜索 "),Uf=a.createTextVNode(" 重置 "),Wf={key:0},$f={key:1,class:"action-list"},Zf=["href","target","onClick"],Yf={key:2,class:"progress-cell"},Kf={class:"ant-pagination-options-quick-jumper"},Xf=a.createTextVNode(" 条 / 页 ");function Qf(e,n,t,o,r,i){const s=a.resolveComponent("a-button"),l=a.resolveComponent("a-input"),f=a.resolveComponent("a-checkbox-group"),c=a.resolveComponent("a-table-summary-cell"),d=a.resolveComponent("a-table-summary-row"),x=a.resolveComponent("a-table-summary"),h=a.resolveComponent("a-table"),u=a.resolveComponent("skeleton");return a.openBlock(),a.createElementBlock("div",{class:"ecan-table",id:"ecanTable-"+e.id,style:a.normalizeStyle(e.style)},[a.createVNode(u,{loading:e.loading},{default:a.withCtx(()=>{var g;return[e.isUseExport?(a.openBlock(),a.createElementBlock("div",Vf,[a.createVNode(s,{class:"export-button",onClick:e.exportTableData},{default:a.withCtx(()=>[jf]),_:1},8,["onClick"])])):a.createCommentVNode("",!0),a.createVNode(h,{ref:"tableRef",class:"table",style:a.normalizeStyle({height:e.tableHeight}),columns:e.tableColumns,"data-source":e.tableDataSource,bordered:e.bordered,size:e.size,customRow:e.customRow,scroll:e.y?{x:e.x,y:e.y}:{},pagination:e.pagination,"row-class-name":e.rowClassName,onChange:e.tableChange},{customFilterDropdown:a.withCtx(({column:m,selectedKeys:w,setSelectedKeys:T,confirm:y,clearFilters:p})=>[a.createElementVNode("div",{class:"ecan-table-filter",style:a.normalizeStyle({height:e.filterDropdownHeight})},[a.createVNode(l,{value:m.filterOptionsInputValue,"onUpdate:value":b=>m.filterOptionsInputValue=b,placeholder:"请输入关键字",class:"filter-input",onChange:e.onSearchFilterOptions},null,8,["value","onUpdate:value","onChange"]),a.createVNode(f,{value:m.filterCheckboxGroupValue,"onUpdate:value":b=>m.filterCheckboxGroupValue=b,class:"filter-checkbox",options:e.useFilterOptions(m),onChange:b=>e.useSetSelectedKeys(T,m)},null,8,["value","onUpdate:value","options","onChange"]),a.createElementVNode("div",null,[a.createVNode(s,{type:"primary",size:"small",style:{width:"90px","margin-right":"8px"},onClick:()=>y()},{default:a.withCtx(()=>[Gf]),_:2},1032,["onClick"]),a.createVNode(s,{size:"small",style:{width:"90px"},onClick:a.withModifiers(b=>e.onResetFilter(p,m),["stop"])},{default:a.withCtx(()=>[Uf]),_:2},1032,["onClick"])])],4)]),bodyCell:a.withCtx(({column:m,index:w,text:T,record:y})=>[m.dataIndex==="SEQ"?(a.openBlock(),a.createElementBlock("span",Wf,a.toDisplayString(w+1),1)):m.dataIndex==="ACTION"?(a.openBlock(),a.createElementBlock("div",$f,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.actionList,(p,b)=>(a.openBlock(),a.createElementBlock("div",{class:"action",key:b},[a.createElementVNode("a",{href:e.handleHref(p.href,y),target:e.handleHrefTarget(p.target),style:a.normalizeStyle({color:p.color,fontSize:e.fontSize,fontWeight:e.fontWeight}),onClick:k=>e.onTouchHrefEvent(p.target,e.handleHref(p.href,y))},a.toDisplayString(p.title),13,Zf)]))),128))])):m.format==="progress"?(a.openBlock(),a.createElementBlock("div",Yf,[a.createElementVNode("div",{class:"progress",style:a.normalizeStyle({background:m.progressColor||"#1890ff",height:m.progressWidth||"18px",width:`${e.handleProgressText(T,m.progressTextDecimalPlaces)}%`})},null,4),a.createElementVNode("div",{class:"progress-text",style:a.normalizeStyle({color:+e.handleProgressText(T)<100?m.progressTextColor||"#333":m.progressFinishedTextColor||"#fff"})},a.toDisplayString(e.handleProgressText(T,m.progressTextDecimalPlaces))+"% ",5)])):(a.openBlock(),a.createElementBlock("div",{key:3,class:a.normalizeClass([e.contrastClass(T,m.format)]),style:a.normalizeStyle({fontSize:e.fontSize,fontWeight:e.fontWeight})},a.toDisplayString(m.format!=null?e.formatFn(T,m):T),7))]),summary:a.withCtx(()=>[e.summaryList.length>0?(a.openBlock(),a.createBlock(x,{key:0,fixed:e.isSummaryFixed},{default:a.withCtx(()=>[a.createVNode(d,null,{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.summaryList,(m,w)=>(a.openBlock(),a.createBlock(c,{key:w,index:w,style:a.normalizeStyle({backgroundColor:e.cellBackgroundColor,textAlign:m.cellAlign||"center",color:m.cellColor,borderBottomColor:e.borderColor})},{default:a.withCtx(()=>[a.createElementVNode("div",{class:a.normalizeClass([e.contrastClass(m.total,m.format)]),style:a.normalizeStyle({fontSize:e.fontSize,fontWeight:e.fontWeight})},a.toDisplayString((m.format!=null||m.format!=="")&&e.formatFn(m.total,m)),7)]),_:2},1032,["index","style"]))),128))]),_:1})]),_:1},8,["fixed"])):a.createCommentVNode("",!0)]),_:1},8,["style","columns","data-source","bordered","size","customRow","scroll","pagination","row-class-name","onChange"]),(g=e.tableDataSource)!=null&&g.length&&!e.simple&&e.pageSizeShow&&e.pageSizeVisible?(a.openBlock(),a.createBlock(a.Teleport,{key:1,to:"#ecanTable-"+e.id+" .ant-pagination"},[a.createElementVNode("div",Kf,[a.withDirectives(a.createElementVNode("input",{type:"text","onUpdate:modelValue":n[0]||(n[0]=m=>e.pageSize=m)},null,512),[[a.vModelText,e.pageSize]]),Xf])],8,["to"])):a.createCommentVNode("",!0)]}),_:1},8,["loading"])],12,qf)}const t0=ce(se(da,[["render",Qf],["__scopeId","data-v-d409167a"]])),ua={...me,mapJson:null,data:[],name:"地图",keyName:"地图",type:"ecanMap",width:"400px",height:"400px",backgroundImage:"",backgroundImageRepeat:"no-repeat",geoBackgroundImage:"",geoBackgroundImageRepeat:"no-repeat",symbolImage:"",symbolWidth:10,symbolHeight:10,itemStyleColor:"#11BFDA",labelFontSize:14,labelShow:!0,geoLabelShow:!0,geoLabelColor:"#000",geoZoom:1,geoRoam:!1,geoCenter:"",geoLabelFontSize:12,labelColor:"",labelFormatter:"{b}",geoItemStyleAreaColor:"#eee",geoItemStyleBorderColor:"#000",geoItemStyleBorderWidth:1,geoItemStyleShadowColor:"",geoItemStyleShadowOffsetX:0,geoItemStyleShadowOffsetY:0,geoItemStyleShadowBlur:0,geoEmphasisDisabled:!1,geoEmphasisLabelColor:"#fff",geoEmphasisItemStyleAreaColor:"#f00",geoEmphasisItemStyleBorderColor:"#000",tooltipShow:!0,tooltipTextStyleColor:"",tooltipFormatter:"{name}:{value}",tooltipRequestData:{requestUrl:"",requestMethod:"get",requestParams:[]},tooltipBackgroundColor:"#fff"},ha=de(ua),n0=["click"];Pe.use([ut.CanvasRenderer,Qe.MapChart,Qe.ScatterChart,ge.VisualMapComponent,ge.TooltipComponent,ge.GraphicComponent]);const Jf=a.defineComponent({name:"EcanMap",components:{Echarts:ot},props:{...ha},setup(e){const n=Oe(e),t=Oe({...e.tooltipRequestData,requestHeaders:{}}),o=a.ref(),r=a.ref(""),i=a.ref(""),s=ue(e,["backgroundImage"]),l=a.ref(),f=a.computed(()=>mt(e.geoBackgroundImage)),c=a.computed(()=>mt(e.backgroundImage)),d=a.computed(()=>e.geoBackgroundImage?{image:a.unref(l),repeat:e.geoBackgroundImageRepeat}:e.geoItemStyleAreaColor),x=a.computed(()=>{const B=e.symbolImage;return e.symbolImage?"image://"+mt(B):"circle"}),h=B=>{let P=e.tooltipFormatter;const q=P.match(/\{(.+?)\}/g);if(q==null||q.length===0)return P;for(let F=0;F<q.length;F++){const H=q[F];let D=H.slice(1,-1).trim();const I=/[\u4e00-\u9fa5a-z-_A-Z0-9]*/g,z=D.match(I);for(let O=0;O<z.length;O++){const L=z[O],N=B[L];N!=null&&(D=D.replace(L,N))}P=P.replace(H,D)}return P.split(`
117
+ </span>`)}else e.format==="percent"?(H=+H,isNaN(H)||(H=(H*100).toFixed(2),A=A.replace(B,`<span style="color:${f(H)||e.variableColor};font-size:${a.unref(i)}">${H}%</span>`))):e.format==="money"?(H=+H,isNaN(H)||(H=so(H),A=A.replace(B,`<span style="color:${f(H)||e.variableColor};font-size:${a.unref(i)}">${H}</span>`))):D==="thousands"?(H=+H,isNaN(H)||(H=$s(H),A=A.replace(B,`<span style="color:${f(H)||e.variableColor};font-size:${a.unref(i)}">${H}</span>`))):A=A.replace(B,`<span style="color:${f(H)||e.variableColor};font-size:${a.unref(i)}">${H}</span>`)}}if(S||(S=`<span style="color: ${f(A)}">${A}</span>`),e.unitShow&&e.unitText){const{unitTop:R,unitLeft:B}=e;let P="position:relative;";R&&(P+=`top:${R};`),B&&(P+=`margin-left:${B};`),S+=`<span style='color:${e.unitColor};font-size:${e.unitFontSize};font-weight:${e.unitFontWeight};${P}'>${e.unitText}</span>`}return S});function f(k){let v="",C=!1;const{targetValue:A,targetShow:_,notExpectColor:S}=e;if(_){switch(e.targetRule){case"equal":k!==A&&(C=!0);break;case"greater":k<=A&&(C=!0);break;case"greater_equal":k<A&&(C=!0);break;case"less":k>=A&&(C=!0);break;case"less_equal":k>A&&(C=!0);break}C&&(v=S)}return v}const{pageMode:c}=a.inject(Ie,{pageMode:"normal"}),d=Oe(e),x=a.ref(!1),h=async()=>{var k;try{x.value=!0;const v=await d();r.value=((k=v==null?void 0:v.data)==null?void 0:k.data)||{}}catch(v){console.error(v)}finally{x.value=!1}},u=(k={})=>{r.value=k},g=Ke(e),m=async()=>{var k;try{x.value=!0;const v=await g(),{data:C}=(v==null?void 0:v.data)||{};if(C){t.value=!1;const{columns:A=[],rows:_=[]}=((k=v==null?void 0:v.data)==null?void 0:k.data)??{};let S={};if(A.length>0){const E=A.find(R=>!!R);E&&(S={value:isNaN(_[E])?0:_[E]||0})}u(S)}else t.value=!0,u({value:"NaN"})}catch(v){console.error(v)}finally{x.value=!1}},w=()=>{switch(e.dataType){case"indicator":m();break;case"request":h();break}},{setRequest:T}=a.inject(_e,{setRequest:({id:k,sortNum:v,requestFn:C})=>{}});typeof T=="function"&&T({id:e.id,requestFn:w,sortNum:e.requestSort}),ke(e,{refreshData:w}),n({refreshData:w});const y=be(e),p=y("click",()=>{if(!e.linkPage&&!e.href)return;const k=e.linkPage||"",v=$r(a.unref(c),k),C=e.href;let A=C||v;A=Se(A);const _=e.target;_&&(_!=="event"?window.open(A,"_"+_):window.parent.postMessage({type:"openPage",url:C},"*"))}),b=y("valueChange",()=>{});return a.watch(()=>l.value,(k,v)=>{k!==v&&b()}),{style:o,myText:l,loading:x,click:p,textIndent:s,vFontSize:i}}}),Jr=()=>{a.useCssVars(e=>({e4e366f8:e.vFontSize,"6749620a":e.textIndent,"3ce8b8d3":e.percentageSide}))},ei=go.setup;go.setup=ei?(e,n)=>(Jr(),ei(e,n)):Jr;const Ld="",nc=["innerHTML"];function oc(e,n,t,o,r,i){const s=a.resolveComponent("skeleton");return e.loading?(a.openBlock(),a.createElementBlock("div",{key:0,class:"skeleton-wrapper",style:a.normalizeStyle(e.style)},[a.createVNode(s,{loading:e.loading},null,8,["loading"])],4)):(a.openBlock(),a.createElementBlock("div",{key:1,class:"ecan-text",style:a.normalizeStyle(e.style),innerHTML:e.myText,onClick:n[0]||(n[0]=(...l)=>e.click&&e.click(...l))},null,12,nc))}const ti=ce(se(go,[["render",oc],["__scopeId","data-v-87f2badf"]])),ac=a.defineComponent({name:"EcanScrollText",setup(){return{text:a.ref("基础文本")}}}),Md="",rc={class:"red"};function ic(e,n,t,o,r,i){return a.openBlock(),a.createElementBlock("div",rc,a.toDisplayString(e.text),1)}const ni=ce(se(ac,[["render",ic],["__scopeId","data-v-4dd9c03e"]])),mo={...me,name:"时间展示",keyName:"时间展示",type:"ecanTimeDisplay",format:"YYYY-MM-DD dddd HH:mm:ss",fontSize:"16px",color:"#333",width:"240px",height:"40px",fontFamily:"",fontWeight:400,textShadow:"",alignItems:"center",justifyContent:"center",operate:null,updateInterval:{value:1,mode:"second"}},xo=de(mo),oi=["timeChange"],lc=a.defineComponent({name:"EcanTimeDisplay",props:{...xo},setup(e){const n=ue(e),t=()=>{const{format:c,operate:d}=e;let x=we();if(d){const{type:h,value:u,mode:g}=d;switch(h){case"add":x=x.add(u,g);break;case"minus":x=x.subtract(u,g)}}return x.format(c)},o=a.ref();a.watch(()=>[e.operate,e.format],()=>{o.value=t()},{immediate:!0,deep:!0}),a.watch(()=>e.updateInterval,()=>{f()},{deep:!0});let r=null;const i=()=>{clearInterval(r),r=null},l=be(e)("timeChange",()=>{}),f=()=>{r&&i();let c=1e3;const{value:d,mode:x}=e.updateInterval||{};d&&(c=c*d);const h={second:1,minute:60,hour:60*60,day:24*60*60};x&&(c=c*h[x]),r=setInterval(()=>{o.value=t(),l()},c)};return ke(e,{timeChange:l}),a.onMounted(()=>{f()}),a.onUnmounted(()=>{i()}),{style:n,time:o}}}),Fd="";function sc(e,n,t,o,r,i){return a.openBlock(),a.createElementBlock("div",{class:"time-display",style:a.normalizeStyle(e.style)},a.toDisplayString(e.time),5)}const ai=ce(se(lc,[["render",sc],["__scopeId","data-v-b628fca2"]])),yo={...me,type:"ecanList",name:"列表",keyName:"列表",width:"330px",height:"80px",backgroundColor:"#0d215e",itemColSpan:"10px",itemRowSpan:"10px",useRanking:!0,useTitle:!1,sliceCount:6,columnCount:1,itemHeight:"32px",data:[{name:"a",age:12},{name:"b",age:14}],columns:[{key:"name"},{key:"age"}]},po=de(yo),ri=["refreshData","click"],cc=a.defineComponent({name:"EcanList",components:{Skeleton:jt},props:{...po},setup(e){const n=a.ref(e.data),t=ue(e,["backgroundColor"]),o=a.computed(()=>e.useRanking?{textAlign:"center"}:{textAlign:"left"}),r=(u,g)=>g==null||g===""?u:{money:so,percentage:en,contrast:en}[g](u)||"",i=(u,g)=>{const m=parseFloat(u+"");if(g!=="contrast")return"";switch(!0){case m>=0:return"goUp";case m<0:return"goDown"}},s=Oe(e),l=a.ref(!1),f=async()=>{var u;if(e.dataType==="request")try{l.value=!0;const g=await s();n.value=((u=g==null?void 0:g.data)==null?void 0:u.data.rows)||[]}catch(g){console.error(g)}finally{l.value=!1}},c=()=>{f()},x=be(e)("click",()=>{});ke(e,{refreshData:c});const{setRequest:h}=a.inject(_e,{setRequest:({id:u,sortNum:g,requestFn:m})=>{}});return h({id:e.id,requestFn:f,sortNum:e.requestSort}),{style:t,formatFn:r,columnStyle:o,contrastClass:i,dataSource:n,loading:l,click:x}}}),Hd="",qd="",fc=e=>(a.pushScopeId("data-v-7aa27677"),e=e(),a.popScopeId(),e),dc={key:0,class:"title"},uc={key:0,class:"ranking"},hc={key:1,class:"ecan-list-content"},gc={key:0,class:"ranking"},mc=fc(()=>a.createElementVNode("div",{class:"icon"},null,-1)),xc={class:"sort"},yc={key:2,class:"empty"};function pc(e,n,t,o,r,i){const s=a.resolveComponent("skeleton");return a.openBlock(),a.createElementBlock("div",{class:"ecan-list",style:a.normalizeStyle(e.style)},[a.createVNode(s,{loading:e.loading},{default:a.withCtx(()=>[e.useTitle?(a.openBlock(),a.createElementBlock("div",dc,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.columnCount,l=>(a.openBlock(),a.createElementBlock("div",{class:"title-inner",style:a.normalizeStyle({backgroundColor:e.backgroundColor,height:e.itemHeight,width:`calc(100% / ${e.columnCount} - ${e.itemColSpan} * ${e.columnCount-1}/ ${e.columnCount})`,marginRight:l%e.columnCount!==0?e.itemColSpan:""}),key:l},[e.useRanking?(a.openBlock(),a.createElementBlock("div",uc)):a.createCommentVNode("",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.columns,(f,c)=>(a.openBlock(),a.createElementBlock("div",{class:"column",key:f.key||c,style:a.normalizeStyle({color:f.titleColor,...e.columnStyle})},a.toDisplayString(f.title),5))),128))],4))),128))])):a.createCommentVNode("",!0),e.dataSource.length>0?(a.openBlock(),a.createElementBlock("div",hc,[e.useTitle?(a.openBlock(),a.createElementBlock("div",{key:0,class:"title-placeholder",style:a.normalizeStyle({marginBottom:e.itemRowSpan})},null,4)):a.createCommentVNode("",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.dataSource.slice(0,e.sliceCount),(l,f)=>(a.openBlock(),a.createElementBlock("div",{class:"item",style:a.normalizeStyle({backgroundColor:e.backgroundColor,height:e.itemHeight,width:`calc(100% / ${e.columnCount} - ${e.itemColSpan} * ${e.columnCount-1} / ${e.columnCount})`,marginRight:(f+1)%e.columnCount!==0?e.itemColSpan:"",marginBottom:e.itemRowSpan}),key:l.id||f,onClick:n[0]||(n[0]=(...c)=>e.click&&e.click(...c))},[e.useRanking?(a.openBlock(),a.createElementBlock("div",gc,[mc,a.createElementVNode("div",xc," Top "+a.toDisplayString(f+1),1)])):a.createCommentVNode("",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.columns,c=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["column",e.contrastClass(l[c.key],c.format)]),key:c.key,style:a.normalizeStyle({fontSize:c.fontSize,color:e.contrastClass(l[c.key],c.format)===""?c.color:"",fontWeight:c.fontWeight,...e.columnStyle})},a.toDisplayString((c.format!=null||c.format!=="")&&e.formatFn(l[c.key],c.format)),7))),128))],4))),128))])):(a.openBlock(),a.createElementBlock("div",yc," 暂无数据 "))]),_:1},8,["loading"])],4)}const ii=ce(se(cc,[["render",pc],["__scopeId","data-v-7aa27677"]])),bo={...me,name:"占比图",keyName:"占比图",type:"ecanProportion",strokeType:"circle",width:"200px",height:"200px",strokeColor:"#4091f7",strokeLinecap:"round",trailColor:"#f5f5f5",data:{percent:.3},text:"{percent}%",fontSize:"26px",color:"#4091f7",strokeWidth:6,fontWeight:400,strokeTextWidth:"100%",lineHeight:"26px",decimalFormat:!0,variableDefaultValue:"0",strokeTextShow:!0,gradientShow:!0,gradientColor:"",gradientOffset:1,graphicConfig:{}},vo=de(bo),li=["refreshData","click"],bc=a.defineComponent({name:"EcanProportion",components:{AProgress:ne.Progress,Skeleton:jt},props:{...vo},setup(e,{expose:n}){const t=a.ref(!1),{pageMode:o}=a.inject(Ie,{pageMode:"normal"}),r=ue(e),i=a.computed(()=>{const b=e.width;return parseFloat(b)}),s=a.ref({});a.watch(()=>e.data,()=>{(e.dataType==="static"||a.unref(o)==="design")&&(s.value=e.data)},{immediate:!0,deep:!0});const l=a.computed(()=>{const b=a.unref(s),k=+e.variableDefaultValue;if(b==null)return isNaN(k)?0:k;const v=e.text.match(/\{.+\}/g)||[];let C;const A=new Set(Object.keys(b));for(let _=0;_<v.length;_++){const S=v[_],E=S.slice(1,S.length-1);if(A.has(E)){C=b[E];break}}return typeof C=="number"?C=C*100:typeof C=="string"&&!isNaN(+C)?C=+C*100:isNaN(k)?C=0:C=k*100,e.decimalFormat&&(C=+C.toFixed(2)),C}),f=a.computed(()=>{var A;let b=e.text;if(b==="")return a.unref(l);const k=e.variableDefaultValue,v=a.unref(s),C=b.match(/\{.+\}/g)||[];for(let _=0;_<C.length;_++){const S=C[_];let E=S.slice(1,S.length-1);const R=/[\u4e00-\u9fa5a-z-_A-Z0-9]*/g,B=S.match(R);for(let q=0;q<(B==null?void 0:B.length);q++){const F=(A=B[q])==null?void 0:A.trim();v[F]!=null&&(E=E.replace(F,v[F]))}let P=E;try{/\(.*\)/g.test(E)&&(P=tn(E))}catch(q){console.error(q)}typeof+P=="number"&&!isNaN(+P)?(P=+P*100,e.decimalFormat&&(P=P.toFixed(2))):P=k,b=b.replace(S,P+"")}return a.unref(t)?"NaN":b}),c=Oe(e),d=a.ref(!1),x=async()=>{var b;if(e.dataType==="request")try{d.value=!0;const k=await c();s.value=((b=k==null?void 0:k.data)==null?void 0:b.data)||{}}catch(k){console.error(k)}finally{d.value=!1}},h=(b={})=>{s.value=b},u=Ke(e),g=async()=>{var b;try{d.value=!0;const k=await u(),{data:v}=(k==null?void 0:k.data)||{};if(v){t.value=!1;const{columns:C=[],rows:A=[]}=((b=k==null?void 0:k.data)==null?void 0:b.data)??{};let _={};if(C.length>0){const S=C.find(E=>!!E);S&&(_={percent:A[S]})}h(_)}else t.value=!0,h({percent:"NaN"})}catch(k){console.error(k)}finally{d.value=!1}},m=()=>{switch(e.dataType){case"indicator":g();break;case"request":x();break}};ke(e,{refreshData:m}),n({refreshData:m});const T=be(e)("click",()=>{}),{setRequest:y}=a.inject(_e,{setRequest:({id:b,sortNum:k,requestFn:v})=>{}});typeof y=="function"&&y({id:e.id,requestFn:m,sortNum:e.requestSort});const p=a.computed(()=>{const{gradientShow:b,gradientColor:k,gradientOffset:v,strokeColor:C}=e;let A=C;return b&&k&&(A={"0%":C,[`${v*100}%`]:k}),A});return{style:r,myWidth:i,text:f,myValue:l,loading:d,click:T,customStrokeColor:p}}}),jd="";function vc(e,n,t,o,r,i){const s=a.resolveComponent("skeleton"),l=a.resolveComponent("a-progress");return a.openBlock(),a.createElementBlock("div",{class:"ecan-proportion",style:a.normalizeStyle(e.style)},[a.createVNode(l,{class:"progress",percent:e.myValue,width:e.myWidth,type:e.strokeType,strokeColor:e.customStrokeColor,strokeLinecap:e.strokeLinecap,trailColor:e.trailColor,strokeWidth:e.strokeWidth,showInfo:e.strokeTextShow,gapDegree:e.strokeType==="dashboard"?75:0,onClick:e.click},{format:a.withCtx(()=>[e.loading?(a.openBlock(),a.createBlock(s,{key:0,loading:e.loading},null,8,["loading"])):e.strokeTextShow?(a.openBlock(),a.createElementBlock("div",{key:1,class:"format",style:a.normalizeStyle({width:e.strokeTextWidth,fontSize:e.fontSize,color:e.color,fontWeight:e.fontWeight,lineHeight:e.lineHeight})},a.toDisplayString(e.text),5)):a.createCommentVNode("",!0)]),_:1},8,["percent","width","type","strokeColor","strokeLinecap","trailColor","strokeWidth","showInfo","gapDegree","onClick"])],4)}const si=ce(se(bc,[["render",vc],["__scopeId","data-v-cf942b5f"]])),So={...me,width:"200px",id:"",left:"0px",top:"0px",name:"输入框",keyName:"输入框",rotate:"",type:"ecanInput",value:"",placeholder:"请输入文字",optionFontSize:"14px"},wo=de(So),ci=["inputChange","inputBlur"],Sc=a.defineComponent({name:"EcanInput",components:{AInput:ne.Input},props:{...wo},setup(e){const n=ue(e),t=a.ref("");a.watch(()=>e.value,c=>{t.value=c},{immediate:!0});const{getGlobalModel:o,setGlobalModel:r}=a.inject(Ce,{getGlobalModel:c=>{},setGlobalModel:(c,d)=>{}});r(e.id,{type:e.type,value:t});const i=()=>{const c=o(e.id);r(e.id,{...c,RECORD:t})},s=be(e),l=Ge.debounce(s("inputChange",()=>{i()}),300),f=s("inputBlur",()=>{});return{style:n,myValue:t,inputBlur:f,inputChange:l}}}),Ud="";function wc(e,n,t,o,r,i){const s=a.resolveComponent("a-input");return a.openBlock(),a.createElementBlock("div",{class:"ecan-input",style:a.normalizeStyle(e.style)},[a.createVNode(s,{class:"input",value:e.myValue,"onUpdate:value":n[0]||(n[0]=l=>e.myValue=l),placeholder:e.placeholder,onChange:e.inputChange,onBlur:e.inputBlur,style:a.normalizeStyle({fontSize:e.optionFontSize})},null,8,["value","placeholder","onChange","onBlur","style"])],4)}const fi=ce(se(Sc,[["render",wc]])),Co={...me,height:"33px",width:"130px",id:"",left:"0px",top:"0px",name:"日期选择器",keyName:"日期选择器",rotate:"",type:"ecanDatePicker",value:"",picker:"date",format:"YYYY-MM-DD",showTime:!1,useCurrentTime:!0,operate:null,optionFontSize:"14px"},Ao=de(Co),di=["dateChange"],ko=a.defineComponent({name:"EcanDatePicker",props:{...Ao},components:{ADatePicker:ne.DatePicker},setup(e){const n=ue(e),t=()=>document.getElementById("ProviderConfig")||document.body,o=a.ref(null);a.watch(()=>[e.value,e.useCurrentTime,e.operate],([f,c,d])=>{let x=null;if(f?x=we(Se(f)):c&&(x=we()),d&&x){const{type:h,value:u,mode:g}=d;switch(h){case"add":x=x.add(u,g);break;case"minus":x=x.subtract(u,g)}}o.value=x},{deep:!0,immediate:!0});const{setGlobalModel:r}=a.inject(Ce,{setGlobalModel:(f,c)=>{}});r(e.id,{type:e.type,format:e.format,useCurrentTime:e.useCurrentTime,value:o});const s=be(e)("dateChange",()=>{}),l=()=>{a.unref(o)&&s()};return ke(e,{dateChange:s}),{style:n,getPopupContainer:t,myValue:o,locale:ma,change:l}}}),ui=()=>{a.useCssVars(e=>({44329128:e.optionFontSize}))},hi=ko.setup;ko.setup=hi?(e,n)=>(ui(),hi(e,n)):ui;const $d="",Zd="";function Cc(e,n,t,o,r,i){const s=a.resolveComponent("a-date-picker");return a.openBlock(),a.createElementBlock("div",{class:"ecan-date-picker",style:a.normalizeStyle(e.style)},[a.createVNode(s,{class:"date-picker",dropdownClassName:"ecan-date-picker-dropdown",value:e.myValue,"onUpdate:value":n[0]||(n[0]=l=>e.myValue=l),format:e.format,picker:e.picker,showTime:e.showTime,locale:e.locale,onChange:e.change,getPopupContainer:e.getPopupContainer,popupStyle:{fontSize:e.optionFontSize}},null,8,["value","format","picker","showTime","locale","onChange","getPopupContainer","popupStyle"])],4)}const gi=ce(se(ko,[["render",Cc],["__scopeId","data-v-23e446fe"]])),To={...me,name:"日期范围选择器",keyName:"日期范围选择器",type:"ecanRangePicker",width:"250px",height:"35px",picker:"date",format:"YYYY-MM-DD",startTime:"",endTime:"",useCurrentTime:!0,interval:1,intervalUnit:"year",operate:null,limitStartTime:"",limitEndTime:"",associated:"",optionFontSize:"14px",isAllowSpanYear:!0},Eo=de(To),mi=["dateChange"];var xi={exports:{}};(function(e,n){(function(t,o){e.exports=o()})(oe,function(){var t="month",o="quarter";return function(r,i){var s=i.prototype;s.quarter=function(c){return this.$utils().u(c)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(c-1))};var l=s.add;s.add=function(c,d){return c=Number(c),this.$utils().p(d)===o?this.add(3*c,t):l.bind(this)(c,d)};var f=s.startOf;s.startOf=function(c,d){var x=this.$utils(),h=!!x.u(d)||d;if(x.p(c)===o){var u=this.quarter()-1;return h?this.month(3*u).startOf(t).startOf("day"):this.month(3*u+2).endOf(t).endOf("day")}return f.bind(this)(c,d)}}})})(xi);var Ac=xi.exports;const kc=ja(Ac);we.extend(kc);const Bo=a.defineComponent({name:"EcanRangePicker",components:{ARangePicker:ne.RangePicker},props:{...Eo},setup(e){const n=ue(e),t=()=>document.getElementById("ProviderConfig")||document.body,o=a.ref([null,null]);a.watch(()=>[e.startTime,e.endTime,e.useCurrentTime,e.interval,e.intervalUnit,e.operate],([p,b,k,v,C,A])=>{let _=null,S=null;if(k&&(_=we().subtract(v,C),S=we()),p&&(_=we(Se(p))),b&&(S=we(Se(b))),A){const{type:E,value:R,mode:B}=A;switch(E){case"add":_=_&&_.add(R,B),S=S&&S.add(R,B);break;case"minus":_=_&&_.subtract(R,B),S=S&&S.subtract(R,B)}}o.value=[_,S]},{immediate:!0});let r=a.unref(o)[0],i=a.unref(o)[1],s="";const l=(p,b,k)=>{Array.isArray(p)?(r=p[0],i=p[1],s=k.range):(r=null,i=null)},f=p=>{let b=!1,{limitStartTime:k,limitEndTime:v}=e;const C={startTime:`${r||""}`,endTime:`${i||""}`};if(k=Se(k,{codeData:C}),v=Se(v,{codeData:C}),k&&v?b=!(we(k)<p&&p<we(v)):k?b=we(k)>p:v&&(b=we(v)<p),!e.isAllowSpanYear&&s){let A=null;if(s==="start"?A=r:s==="end"&&(A=i),A){const _=A.startOf("year"),S=A.endOf("year");b=!(_<=p&&p<S)}}return b},{getGlobalModel:c,setGlobalModel:d}=a.inject(Ce,{getGlobalModel:p=>{},setGlobalModel:(p,b)=>{}}),x=a.computed(()=>Array.isArray(a.unref(o))?a.unref(o)[0]:null),h=a.computed(()=>Array.isArray(a.unref(o))?a.unref(o)[1]:null);d(e.id,{type:e.type,format:e.format,startTime:x,endTime:h});const u=be(e);let g=!1;const m=u("dateChange",()=>{}),w=p=>{const b=a.unref(o),k=b&&b[0]&&b[1];p===!1&&g===!0&&k&&(m(),g=!1),p||(s="")},T=()=>{g=!0};return ke(e,{dateChange:()=>{const{associated:p}=e;if(p){const b=c(p)||{};if(b){const{value:k}=b;if(k)switch(a.unref(k)){case"month":o.value=[we().startOf("month"),we().endOf("month")];break;case"quarter":o.value=[we().startOf("quarter"),we().endOf("quarter")];break;case"year":o.value=[we().startOf("year"),we().endOf("year")];break}}}m()}}),{style:n,getPopupContainer:t,locale:ma,dateChange:m,myValue:o,disabledDate:f,calendarChange:l,openChange:w,change:T}}}),yi=()=>{a.useCssVars(e=>({"454f10ac":e.optionFontSize}))},pi=Bo.setup;Bo.setup=pi?(e,n)=>(yi(),pi(e,n)):yi;const Kd="",Xd="";function Tc(e,n,t,o,r,i){const s=a.resolveComponent("a-range-picker");return a.openBlock(),a.createElementBlock("div",{class:"ecan-range-picker",style:a.normalizeStyle(e.style)},[a.createVNode(s,{class:"range-picker",dropdownClassName:"ecan-range-picker-dropdown",value:e.myValue,"onUpdate:value":n[0]||(n[0]=l=>e.myValue=l),format:e.format,picker:e.picker,locale:e.locale,getPopupContainer:e.getPopupContainer,"disabled-date":e.disabledDate,onChange:e.change,onCalendarChange:e.calendarChange,onOpenChange:e.openChange,popupStyle:{fontSize:e.optionFontSize}},null,8,["value","format","picker","locale","getPopupContainer","disabled-date","onChange","onCalendarChange","onOpenChange","popupStyle"])],4)}const bi=ce(se(Bo,[["render",Tc],["__scopeId","data-v-ca49f365"]])),_o={...me,width:"200px",name:"按钮",keyName:"按钮",type:"ecanButton",text:"按钮",mode:"default",danger:!1,shape:"default",href:"",target:"self",fontSize:"14px",fontWeight:400,tooltipTextStyleColor:"",buttonBackgroundColor:"#FFFFFF",borderColor:""},Do=de(_o),vi=["click"],Ec=a.defineComponent({name:"EcanButton",components:{AButton:ne.Button},props:{...Do},setup(e){const n=ue(e),o=be(e)("click",()=>{const f=a.unref(s);f&&e.target==="event"&&window.parent.postMessage({type:"openPage",url:f},"*")}),r=a.computed(()=>{const f={};return e.mode!=="primary"&&(f.backgroundColor=e.buttonBackgroundColor||"transparent",f.color=e.tooltipTextStyleColor,f.borderColor=e.borderColor||"transparent"),{height:e.height,...f}}),i=a.computed(()=>Se(e.text)),s=a.computed(()=>Se(e.href)||null),l=a.computed(()=>{const f=e.target;if(!(f==="event"||a.unref(s)==null))return{self:"_self",blank:"_blank"}[f]});return{style:n,click:o,myText:i,myHref:s,myTarget:l,buttonStyle:r}}}),Jd="";function Bc(e,n,t,o,r,i){const s=a.resolveComponent("a-button");return a.openBlock(),a.createElementBlock("div",{class:"ecan-button",style:a.normalizeStyle(e.style)},[a.createVNode(s,{block:"",onClick:e.click,type:e.mode,danger:e.danger,shape:e.shape,href:e.myHref,target:e.myTarget,style:a.normalizeStyle(e.buttonStyle),class:a.normalizeClass(e.tooltipTextStyleColor?"custom-color":"")},{default:a.withCtx(()=>[a.createElementVNode("span",{style:a.normalizeStyle({fontSize:e.fontSize,fontWeight:e.fontWeight})},a.toDisplayString(e.myText),5)]),_:1},8,["onClick","type","danger","shape","href","target","style","class"])],4)}const Si=ce(se(Ec,[["render",Bc]])),Ro={...me,width:"240px",id:"",left:"0px",top:"0px",name:"复选框",keyName:"复选框",rotate:"",type:"ecanCheckbox",value:[],data:[{label:"选项一",value:"1",checked:!0},{label:"选项二",value:"2",checked:!0},{label:"选项三",value:"3"}],graphicConfig:{}},Io=de(Ro),wi=["checkboxChange"],_c=a.defineComponent({name:"EcanCheckbox",components:{ACheckboxGroup:ne.CheckboxGroup},props:{...Io},setup(e,{expose:n}){const t=ue(e),o=a.ref([]),r=a.ref([]),i=w=>{const T=e.value;let y=[];w.forEach(p=>{p.checked&&y.push(p.value)}),typeof T=="string"&&T!==""?y=y.concat(T.split(",")):Array.isArray(T)&&(y=y.concat(T)),o.value=w,r.value=y};a.watch(()=>[e.data,e.value],([w])=>{i(w)},{immediate:!0,deep:!0});const s=Oe(e),l=async()=>{var y,p;if(e.dataType!=="request")return;const w=await s(),T=((p=(y=w==null?void 0:w.data)==null?void 0:y.data)==null?void 0:p.rows)||[];i(T)},{getGlobalModel:f,setGlobalModel:c}=a.inject(Ce,{getGlobalModel:w=>{},setGlobalModel:(w,T)=>{}});c(e.id,{type:e.type,value:r});const x=be(e)("checkboxChange",()=>{const w=f(e.id);c(e.id,{...w,RECORD:r})}),h=Ke(e),u=async()=>{var w;try{const T=await h(),{data:y}=(T==null?void 0:T.data)||{};if(y){const b=(((w=T==null?void 0:T.data)==null?void 0:w.data)??[]).map(k=>({label:k.label,value:k.value}));i(b)}else i([])}catch(T){console.error(T)}},g=()=>{switch(e.dataType){case"indicator":u();break;case"request":l();break}},{setRequest:m}=a.inject(_e,{setRequest:({id:w,sortNum:T,requestFn:y})=>{}});return typeof m=="function"&&m({id:e.id,requestFn:g,sortNum:e.requestSort}),n({refreshData:g}),{myOption:o,style:t,myValue:r,checkboxChange:x}}}),t1="";function Dc(e,n,t,o,r,i){const s=a.resolveComponent("a-checkbox-group");return a.openBlock(),a.createElementBlock("div",{class:"ecan-checkbox",style:a.normalizeStyle(e.style)},[a.createVNode(s,{options:e.myOption,value:e.myValue,"onUpdate:value":n[0]||(n[0]=l=>e.myValue=l),onChange:e.checkboxChange},null,8,["options","value","onChange"])],4)}const Ci=ce(se(_c,[["render",Dc]])),Oo={...me,name:"下拉框选择器",keyName:"下拉框选择器",width:"120px",height:"33px",type:"ecanSelect",mode:void 0,data:[{label:"选项一",value:"1"},{label:"选项二",value:"2"},{label:"选项三",value:"3"}],value:void 0,dataFieldNames:{label:"label",value:"value",options:""},maxTagCount:3,autoClearSearchValue:!0,placeholder:"请选择",selectFirstOption:!1,graphicConfig:{},valueType:"value",isAllowClear:!0,optionFontSize:"14px"},Lo=de(Oo),Ai=["selectChange","refreshData"],Rc=a.defineComponent({name:"EcanSelect",components:{ASelect:ne.Select,ASelectOption:ne.SelectOption},props:{...Lo},setup(e,{expose:n}){const t=ue(e),o=()=>document.getElementById("ProviderConfig")||document.body,r=Oe(e),i=a.ref(e.data||[]),s=a.ref(),l=a.computed({get:()=>{var A;const{mode:C}=e;return(A=a.unref(i))!=null&&A.length?s.value:C==="multiple"||C==="tags"||C==="combobox"?[]:""},set:C=>{s.value=C}});a.watch(()=>[e.value,e.mode,e.selectFirstOption,e.valueType,i.value],()=>{const{mode:C,selectFirstOption:A,value:_}=e;C==="multiple"||C==="tags"||C==="combobox"?_?s.value=_.split(","):A&&(s.value=[a.unref(i)[0]]):_?s.value=_:A&&(s.value=a.unref(i)[0])},{immediate:!0});const f=e.dataFieldNames,c=(C,A)=>{const _=f.label,S=f.value;let E;const R=A[_],B=A[S];return R!=null?E=R:B!=null&&(E=B),(E==null?void 0:E.toLowerCase().indexOf(C==null?void 0:C.toLowerCase()))>=0},d=C=>{const{label:A,value:_,options:S}=e.dataFieldNames;if(S&&Array.isArray(C))if(C.some(E=>S in E)){const E={},R=[];C.forEach(B=>{E[B[S]]||(E[B[S]]=[]),E[B[S]].push({[A]:B[A],[_]:B[_]})});for(const B in E)R.push({[A]:B,[S]:E[B]});return R}else return C;else if(!S)return C},x=a.ref(!1),h=async()=>{var C,A;if(e.dataType==="request"){x.value=!0;try{const _=await r();if(i.value=d(((A=(C=_==null?void 0:_.data)==null?void 0:C.data)==null?void 0:A.rows)||[]),e.selectFirstOption){let S=a.unref(i)[0];if(f.options){const E=S[f.options];E&&E.length&&(S=E[0])}s.value=S[f.value]}}catch(_){console.error(_)}finally{x.value=!1}}},{getGlobalModel:u,setGlobalModel:g}=a.inject(Ce,{getGlobalModel:C=>{},setGlobalModel:(C,A)=>{}}),m=a.computed(()=>{let C=s.value;if(e.valueType==="label"&&a.unref(s)&&a.unref(i)){const A=f.label,_=f.value;if(e.mode==="multiple")C=a.unref(i).filter(S=>a.unref(s).includes(S[_])).map(S=>S[A]);else{const S=a.unref(i).find(E=>a.unref(s)===E[_]);S&&(C=S[A])}}return C});g(e.id,{type:e.type,value:m});const T=be(e)("selectChange",()=>{const C=e.id,A=u(C);g(C,{...A,RECORD:m})}),y=(C=[])=>{if(i.value=d(C),e.selectFirstOption){let A=a.unref(i)[0];if(f.options){const _=A[f.options];_&&_.length&&(A=_[0])}s.value=A[f.value]}},p=Ke(e),b=async()=>{var C;try{x.value=!0;const A=await p(),{data:_}=(A==null?void 0:A.data)||{},S=f.label,E=f.value;if(_){const B=(((C=A==null?void 0:A.data)==null?void 0:C.data)??[]).map(P=>({[S]:P.label,[E]:P.value}));y(B)}else y([])}catch(A){console.error(A)}finally{x.value=!1}},k=()=>{switch(e.dataType){case"indicator":b();break;case"request":h();break}};ke(e,{selectChange:T,refreshData:k});const{setRequest:v}=a.inject(_e,{setRequest:({id:C,sortNum:A,requestFn:_})=>{}});return typeof v=="function"&&v({id:e.id,requestFn:k,sortNum:e.requestSort}),n({refreshData:k}),{style:t,getPopupContainer:o,myValue:s,selectChange:T,options:i,filterOption:c,loading:x,resultValue:l}}}),o1="",a1="";function Ic(e,n,t,o,r,i){const s=a.resolveComponent("a-select-option"),l=a.resolveComponent("a-select");return a.openBlock(),a.createElementBlock("div",{class:"ecan-select",style:a.normalizeStyle(e.style)},[a.createVNode(l,{class:"select",value:e.resultValue,"onUpdate:value":n[0]||(n[0]=f=>e.resultValue=f),placeholder:e.placeholder,showSearch:"",allowClear:e.isAllowClear,mode:e.mode,getPopupContainer:e.getPopupContainer,fieldNames:e.dataFieldNames,maxTagCount:e.maxTagCount,filterOption:e.filterOption,loading:e.loading,autoClearSearchValue:e.autoClearSearchValue,onChange:e.selectChange,style:a.normalizeStyle({fontSize:e.optionFontSize})},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.options,(f,c)=>(a.openBlock(),a.createBlock(s,{key:c,value:f.value,label:f.label,style:a.normalizeStyle({fontSize:e.optionFontSize})},null,8,["value","label","style"]))),128))]),_:1},8,["value","placeholder","allowClear","mode","getPopupContainer","fieldNames","maxTagCount","filterOption","loading","autoClearSearchValue","onChange","style"])],4)}const ki=ce(se(Rc,[["render",Ic],["__scopeId","data-v-cbaee0f7"]])),No={...me,name:"树形下拉框选择器",keyName:"树形下拉框选择器",width:"120px",height:"33px",type:"ecanTreeSelect",multiple:!1,data:[{label:"选项一",value:"1",children:[{label:"子选项一",value:"1-1"},{label:"子选项二",value:"1-2"}]},{label:"选项二",value:"2"},{label:"选项三",value:"3"}],value:"",dataFieldNames:{label:"label",value:"value",children:"children"},maxTagCount:3,placeholder:"请选择",treeCheckable:!1,treeCheckStrictly:!1,selectFirstOption:!1},Mo=de(No),Ti=["selectChange","refreshData"],Oc={name:"EcanTreeSelect",components:{ATreeSelect:ne.TreeSelect},props:{...Mo},setup(e){const n=ue(e),t=a.ref(e.data),o=(u,g)=>{const m=e.dataFieldNames,w=m.label,T=m.value;let y;const p=g[w],b=g[T];return p!=null?y=p:b!=null&&(y=b),(y==null?void 0:y.toLowerCase().indexOf(u==null?void 0:u.toLowerCase()))>=0},r=a.ref();a.watch(()=>[e.multiple,e.value,e.treeCheckable,e.selectFirstOption],()=>{const{multiple:u,value:g,selectFirstOption:m}=e;u?g?r.value=g.split(","):m&&(r.value=[a.unref(t)[0]]):g?r.value=g:m&&(r.value=a.unref(t)[0])},{immediate:!0});const i=a.ref(!1),s=Oe(e),l=async()=>{var u,g;if(e.dataType==="request"){i.value=!0;try{const m=await s();t.value=((g=(u=m==null?void 0:m.data)==null?void 0:u.data)==null?void 0:g.rows)||[];const w=a.unref(t)[0];e.value===""&&w!=null&&(r.value=w[e.dataFieldNames.value])}catch(m){console.error(m)}finally{i.value=!1}}},{getGlobalModel:f,setGlobalModel:c}=a.inject(Ce,{getGlobalModel:u=>{},setGlobalModel:(u,g)=>{}});c(e.id,{type:e.type,value:r});const x=be(e)("selectChange",()=>{const u=e.id,g=f(u);c(u,{...g,RECORD:r})});ke(e,{selectChange:x,refreshData:l});const{setRequest:h}=a.inject(_e,{setRequest:({id:u,sortNum:g,requestFn:m})=>{}});return h({id:e.id,requestFn:l,sortNum:e.reque}),{style:n,treeData:t,filterTreeNode:o,myValue:r,loading:i,selectChange:x}}},i1="",l1="";function Lc(e,n,t,o,r,i){const s=a.resolveComponent("a-tree-select");return a.openBlock(),a.createElementBlock("div",{class:"ecan-tree-select",style:a.normalizeStyle(o.style)},[a.createVNode(s,{class:"tree-select",value:o.myValue,"onUpdate:value":n[0]||(n[0]=l=>o.myValue=l),allowClear:"",showSearch:"",loading:o.loading,fieldNames:e.dataFieldNames,treeData:o.treeData,maxTagCount:e.maxTagCount,multiple:e.multiple,treeCheckable:e.treeCheckable,filterTreeNode:o.filterTreeNode,placeholder:e.placeholder,onChange:o.selectChange},null,8,["value","loading","fieldNames","treeData","maxTagCount","multiple","treeCheckable","filterTreeNode","placeholder","onChange"])],4)}const Ei=ce(se(Oc,[["render",Lc],["__scopeId","data-v-37236421"]])),zo={...me,width:"260px",height:"32px",id:"",left:"0px",top:"0px",name:"单选框",keyName:"单选框",rotate:"",type:"ecanRadio",value:[],data:[{label:"选项一",value:"1",checked:!0},{label:"选项二",value:"2"},{label:"选项三",value:"3"}],optionType:"default",graphicConfig:{}},Fo=de(zo),Bi=["checkboxChange","click"],Nc=a.defineComponent({name:"EcanRadio",components:{ARadioGroup:ne.RadioGroup,ARadioButton:ne.RadioButton,ARadio:ne.Radio},props:{...Fo},setup(e,{expose:n}){const t=ue(e),o=a.ref([]),r=a.ref(""),i=T=>{const y=e.value;let p=[];T.forEach(b=>{b.checked&&p.push(b.value)}),typeof y=="string"&&y!==""?p=p.concat(y.split(",")):Array.isArray(y)&&(p=p.concat(y)),o.value=T,r.value=p[0]||""};a.watch(()=>[e.data,e.value],([T])=>{i(T)},{immediate:!0,deep:!0});const s=Oe(e),l=async()=>{var p,b;if(e.dataType!=="request")return;const T=await s(),y=((b=(p=T==null?void 0:T.data)==null?void 0:p.data)==null?void 0:b.rows)||[];i(y)},{getGlobalModel:f,setGlobalModel:c}=a.inject(Ce,{getGlobalModel:T=>{},setGlobalModel:(T,y)=>{}});c(e.id,{type:e.type,value:r});const d=be(e),x=d("checkboxChange",()=>{const T=f(e.id);c(e.id,{...T,RECORD:r})}),h=T=>{r.value=T,d("click",()=>{const y=f(e.id);c(e.id,{...y,RECORD:r})})()};a.watch(r,()=>{x()});const u=Ke(e),g=async()=>{var T;try{const y=await u(),{data:p}=(y==null?void 0:y.data)||{};if(p){const k=(((T=y==null?void 0:y.data)==null?void 0:T.data)??[]).map(v=>({label:v.label,value:v.value}));i(k)}else i([])}catch(y){console.error(y)}},m=()=>{switch(e.dataType){case"indicator":g();break;case"request":l();break}},{setRequest:w}=a.inject(_e,{setRequest:({id:T,sortNum:y,requestFn:p})=>{}});return typeof w=="function"&&w({id:e.id,requestFn:m,sortNum:e.requestSort}),n({refreshData:m}),{myOption:o,style:t,myValue:r,onClickButton:h}}}),c1="";function Mc(e,n,t,o,r,i){const s=a.resolveComponent("a-radio"),l=a.resolveComponent("a-radio-button"),f=a.resolveComponent("a-radio-group");return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["ecan-radio",e.optionType]),style:a.normalizeStyle(e.style)},[a.createVNode(f,{value:e.myValue,"onUpdate:value":n[0]||(n[0]=c=>e.myValue=c)},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.myOption,c=>(a.openBlock(),a.createElementBlock(a.Fragment,{key:c.value},[e.optionType==="default"?(a.openBlock(),a.createBlock(s,{key:0,checked:c.checked,value:c.value},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(c.label),1)]),_:2},1032,["checked","value"])):e.optionType==="button"?(a.openBlock(),a.createBlock(l,{key:1,checked:c.checked,value:c.value,onClick:d=>e.onClickButton(c.value)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(c.label),1)]),_:2},1032,["checked","value","onClick"])):a.createCommentVNode("",!0)],64))),128))]),_:1},8,["value"])],6)}const _i=ce(se(Nc,[["render",Mc]])),Po={...me,id:"",name:"饼图",keyName:"饼图",type:"ecanPie",width:"400px",height:"400px",top:"",left:"",rotate:"",data:[{name:"名称一",value:335},{name:"名称二",value:310},{name:"名称三",value:234}],titleText:"",titleSubtext:"",titleLeft:"",colors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],backgroundColor:"",tooltipShow:!0,toolboxDownloadShow:!0,toolboxDataZoomShow:!0,toolboxInfoShow:!0,tooltipTextStyleColor:"",tooltipTrigger:"item",tooltipFormatter:"{marker} {b} {c} ({d}%)",legendShow:!0,legendTextStyleColor:"#333",legendOrient:"vertical",legendTop:"top",legendLeft:"left",innerRadius:"0%",outerRadius:"60%",centerLeft:"50%",centerTop:"50%",minAngle:0,labelShow:!0,labelColor:"#333",labelWidth:100,labelOverflow:"none",isUseLabelColors:!1,labelFontSize:12,labelPosition:"outside",labelFormatter:"{b}\\n{d}%",labelLineShow:!0,labelLineLength:10,labelLineLength2:15,roseType:"",valueTypeDataFieldNames:{name:"name",value:"value",type:"type"},dataFieldConfigType:"value",gridContainLabel:!0,gridTop:"10%",gridBottom:"10%",gridLeft:"5%",gridRight:"5%",graphicConfig:{},toolboxShow:!1,toolboxOrient:"horizontal",toolboxItemSize:16,toolboxItemGap:8,toolboxLeft:"right",toolboxTop:"top",toolboxIconStyleBorderColor:"#666",toolboxDownloadUrl:"",toolboxInfoText:"当前无说明信息",legendItemGap:10,legendItemWidth:25,legendItemHeight:14,legendFormatter:"{name}",legendFontSize:"12px",graphicType:"ecanPie"},Ho=de(Po),Di=["click","refreshData","resetRecord"],Dt=async e=>{var f;const n=await Xe.post(e,{},{responseType:"blob"}),{data:t,headers:o}=n,r=o["content-disposition"].replace(/\w+;filename=(.*)/,"$1"),i=new Blob([t]),s=document.createElement("a"),l=window.URL.createObjectURL(i);s.href=l,s.download=decodeURI(r),s.style.display="none",document.body.appendChild(s),s.click(),(f=s.parentNode)==null||f.removeChild(s),window.URL.revokeObjectURL(l)},qo={id:"",type:"ecanModal",title:"",titleFontSize:"14px",titleColor:"",width:"1000px",height:"800px",originalWidth:"1920px",originalHeight:"1080px",backgroundColor:"#fff",backgroundImage:"",backgroundSize:"100% 100%",keyName:"弹窗",componentList:[],fullModal:!1,destroyOnClose:!0,position:"default"},Vo=de(qo),Ri=["showModal"];function Ii(e){var o,r;const{componentList:n,containerMap:t}=e;if((o=Object.keys(t))!=null&&o.length){for(const i in t){const s=n.find(l=>l.id===i);if(s&&(Wr(s,"parentId")||(s.parentId="",s.sourceLeft=s.left,s.sourceTop=s.top),(r=t[i][0])!=null&&r.length))for(const l of t[i][0]){const f=n.find(c=>c.id===l);f&&(f.parentId=i,f.sourceLeft=f.left,f.sourceTop=f.top,f.left=parseFloat(f.left)-parseFloat(s.sourceLeft||s.left)+"px",f.top=parseFloat(f.top)-parseFloat(s.sourceTop||s.top)+"px")}}for(const i of n){const s=document.body.clientWidth;if(i.parentId===""&&i.type==="ecanBorder")i.sourceWidth=parseFloat(i.width),i.height=(s/(i.sourceWidth/parseFloat(i.height))).toFixed(2)+"px",i.width="100%",i.position="relative",i.top="auto",i.left="auto";else{const l=n.find(f=>f.id===i.parentId);if((l==null?void 0:l.parentId)===""){const f=l.sourceWidth||parseFloat(l.width),c=s/f;i.scale=c,i.top=parseFloat(i.top)*c-parseFloat(i.height)*(1-c)/2+"px",i.left=parseFloat(i.left)*c-parseFloat(i.width)*(1-c)/2+"px"}}i.type==="ecanModal"&&(i.parentId="",i.fullModal=!0)}return zc(n)}return n}function zc(e){const t=e.filter(o=>o.parentId==="");if(t!=null&&t.length){const o=Ge.cloneDeep(t).map(r=>({...r,sourceTop:parseFloat(r.sourceTop),sourceLeft:parseFloat(r.sourceLeft)}));for(let r=0;r<o.length-1;r++)for(let i=0;i<o.length-r-1;i++){let s=!1;if((o[i].sourceTop-o[i+1].sourceTop>50||Math.abs(o[i+1].sourceTop-o[i].sourceTop)<=50&&o[i].sourceLeft>o[i+1].sourceLeft)&&(s=!0),s){const l=o[i];o[i]=o[i+1],o[i+1]=l}}for(const r of o){const i=e.findIndex(s=>s.id===r.id);i!==-1&&e.splice(i,1)}return[...o,...e]}return e}const Fc=a.defineComponent({name:"Render",props:{component:{type:Object,default:()=>{}}},setup(e,{emit:n}){n("ready",e.component.id)}});function Pc(e,n,t,o,r,i){return e.component.parentId?(a.openBlock(),a.createBlock(a.Teleport,{key:0,to:"#container_"+e.component.parentId},[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(e.component.type),a.mergeProps({style:{scale:e.component.scale}},e.component),null,16,["style"]))],8,["to"])):(a.openBlock(),a.createBlock(a.resolveDynamicComponent(e.component.type),a.normalizeProps(a.mergeProps({key:1},e.component)),null,16))}const Hc=ce(se(Fc,[["render",Pc]])),qc=a.defineComponent({name:"EcanModal",components:{AModal:ne.Modal,CloseOutlined:_l,Render:Hc},props:{...Vo},setup(e,{emit:n}){const t=a.ref([]),o=a.inject("isMobile",!1),r=a.inject("getContainerMap",()=>{}),i=()=>document.getElementById("ProviderConfig")||document.body,s=a.computed(()=>{const M=e.position;return{verticalAlign:{default:"",top:"top",center:"middle",bottom:"bottom"}[M]}}),l=e.fullModal?"1920px":e.width,f=e.fullModal?"1080px":e.height,c=e.originalWidth,d=e.originalHeight,x=a.ref("80%"),h=a.ref(0),u=a.ref(),g=a.ref(0),m=a.ref({}),w=ue(e),T=a.ref({}),y=a.ref(!1),p=a.ref();let b;const k=()=>{u.value=parseFloat(l)/parseFloat(c);const M=parseFloat(f)/parseFloat(d),Z=document.body.offsetWidth,$=document.body.offsetHeight;h.value=Z*a.unref(u),g.value=$*M,x.value=`${a.unref(u)*100}%`,m.value={width:`${a.unref(h)}px`,height:`${a.unref(g)}px`},T.value={...a.unref(w),backgroundImage:mt(e.backgroundImage,!0)},o?T.value={...T.value,width:"100%",height:"100%"}:T.value={...T.value,transform:`scale(${a.unref(h)/parseFloat(l)},${a.unref(g)/parseFloat(f)})`,width:l,height:f}},v=Ge.debounce(()=>{k()},100),C=()=>{const M=window.MutationObserver;b=new M(v),b.observe(document.body,{attributes:!0,attributeFilter:["style"],attributeOldValue:!0})},A=()=>{b&&(b.disconnect(),b.takeRecords(),b=null)},_=a.ref(!1),{touchRequest:S}=a.inject(_e,{touchRequest:()=>{}}),E=()=>{o&&(document.documentElement.style.overflow="hidden"),_.value=!0},R=()=>{n("close"),o&&(document.documentElement.style.overflow="hidden auto",t.value=[]),_.value=!1},B=()=>{R()},P=()=>{R()},{setModalModel:q,pushUseModalIds:F,popUseModalIds:H}=a.inject(Pa,{pushUseModalIds:M=>{},popUseModalIds:()=>{},setModalModel:(M,Z)=>{}}),D=a.computed(()=>{if(o){const M=Ge.cloneDeep(e.componentList),Z=r();return Ii({componentList:M,containerMap:Z})}else return e.componentList}),I=()=>{const M=e.id;let Z=[];const $=e.componentList;Array.isArray($)&&(Z=$.map(K=>K.id),q(M,[...new Set(Z)]))};a.watch(()=>_.value,async M=>{M?(y.value=!1,F(e.id),I(),await a.nextTick(()=>{k(),window.addEventListener("resize",v),C(),y.value=!0}),S()):(H(),window.removeEventListener("resize",v),A())});const z=a.computed(()=>a.unref(u)>=1),O=a.computed(()=>e.fullModal),L=a.computed(()=>{let M="ecan-modal";return a.unref(z)&&(M+=" ecan-full-width-modal"),a.unref(O)&&(M+=" ecan-full-modal"),M});return ke(e,{showModal:E}),{modalRef:p,containStyle:m,contentStyle:T,getContainer:i,modalStyle:s,modalWith:x,isFullModal:O,style:w,visible:_,showModal:E,onOk:B,onCancel:P,isFullWidth:z,wrapClassName:L,ready:y,usedComponentList:D,isMobile:o,readyIds:t,hasOwn:Wr,onComponentReady:M=>{t.value.push(M)}}}}),u1="",h1="";function Vc(e,n,t,o,r,i){const s=a.resolveComponent("close-outlined"),l=a.resolveComponent("render"),f=a.resolveComponent("a-modal");return a.openBlock(),a.createBlock(f,{getContainer:e.getContainer,wrapClassName:e.wrapClassName,centered:"",visible:e.visible,footer:null,width:e.isFullModal||e.isFullWidth?"100%":e.modalWith,destroyOnClose:e.destroyOnClose,style:a.normalizeStyle(e.modalStyle),closable:!1,onOk:e.onOk,onCancel:e.onCancel,ref:"modalRef",id:"container_"+e.id},{default:a.withCtx(()=>[a.createElementVNode("div",{class:"contain",ref:"containRef",style:a.normalizeStyle(e.containStyle)},[e.ready?(a.openBlock(),a.createElementBlock("div",{key:0,class:"content",style:a.normalizeStyle(e.contentStyle)},[a.createElementVNode("div",{class:"header-bar",style:a.normalizeStyle({backgroundColor:e.backgroundColor,padding:"20px 30px",height:e.isMobile?"62px":""})},[e.title?(a.openBlock(),a.createElementBlock("div",{key:0,class:"ant-modal-title",style:a.normalizeStyle({fontSize:e.titleFontSize,color:e.titleColor})},a.toDisplayString(e.title),5)):a.createCommentVNode("",!0),a.createVNode(s,{class:"close-icon",onClick:e.onCancel},null,8,["onClick"])],4),e.usedComponentList.length?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(e.isMobile?"mobile-wrap":"")},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.usedComponentList,(c,d)=>(a.openBlock(),a.createElementBlock(a.Fragment,{key:c.id+d},[e.isMobile?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[e.hasOwn(c,"parentId")&&(e.readyIds.includes(c.parentId)||c.parentId==="")?(a.openBlock(),a.createBlock(l,{key:0,component:c,onReady:e.onComponentReady},null,8,["component","onReady"])):a.createCommentVNode("",!0)],64)):(a.openBlock(),a.createBlock(a.resolveDynamicComponent(c.type),a.normalizeProps(a.mergeProps({key:1},c)),null,16))],64))),128))],2)):a.renderSlot(e.$slots,"default",{key:1},void 0,!0)],4)):a.createCommentVNode("",!0)],4)]),_:3},8,["getContainer","wrapClassName","visible","width","destroyOnClose","style","onOk","onCancel","id"])}const ct=ce(se(qc,[["render",Vc],["__scopeId","data-v-680c3901"]]));Pe.use([ut.CanvasRenderer,Qe.PieChart,ge.TitleComponent,ge.ToolboxComponent,ge.TooltipComponent,ge.LegendComponent]);const jc=a.defineComponent({name:"EcanPie",props:{...Ho},components:{Spin:pt,Echarts:ot,EcanModal:ct},setup(e,{expose:n}){const t=a.ref(!1),o=ue(e),r=a.ref([]),i=a.ref(),s=a.ref({}),l=a.computed(()=>{let{data:_=[]}=a.unref(r)[0]||{};if(Array.isArray(e.colors)){const S=e.isUseLabelColors,E=e.colors;_=_.map((R,B)=>({label:S?{color:E[B]}:{},...R}))}return{toolbox:{show:e.toolboxShow,left:e.toolboxLeft,top:e.toolboxTop,itemSize:e.toolboxItemSize,itemGap:e.toolboxItemGap,feature:{myDownload:{show:e.toolboxDownloadShow,title:"数据下载",icon:"path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",onclick(){Dt(e.toolboxDownloadUrl)}},myDataZoom:{show:t.value?!1:e.toolboxDataZoomShow,title:"放大",icon:"path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",onclick(){var S;t.value=!0,(S=i.value)==null||S.showModal()}},myInfo:{show:e.toolboxInfoShow,title:"说明信息",icon:"path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",onclick(){ne.Modal.info({title:"说明信息",content:e.toolboxInfoText})}}}},title:{text:e.titleText,subtext:e.titleSubtext,left:"center"},grid:{top:e.gridTop,bottom:e.gridBottom,left:e.gridLeft,right:e.gridRight,containLabel:e.gridContainLabel},tooltip:{show:e.tooltipShow,trigger:e.tooltipTrigger,formatter:S=>{const{marker:E,seriesName:R,name:B,value:P,percent:q,data:F}=S||{};return Se(e.tooltipFormatter,{textData:{marker:E,name:B,value:P,percent:q,a:R,b:B,c:P,d:q,...F}},{useNewline:!0,useSpace:!0})},textStyle:{color:e.tooltipTextStyleColor}},legend:a.unref(s),color:e.colors,series:[{data:_,type:"pie",radius:[e.innerRadius,e.outerRadius],center:[e.centerLeft,e.centerTop],roseType:e.roseType,avoidLabelOverlap:!1,minAngle:e.minAngle,label:{show:e.labelPosition!=="center"&&e.labelShow,color:e.labelColor,fontSize:t.value?Ze:e.labelFontSize,position:e.labelPosition,formatter:Ws(e.labelFormatter),width:e.labelWidth,overflow:e.labelOverflow},labelLine:{show:e.labelLineShow,length:e.labelLineLength,length2:e.labelLineLength2},emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"},label:{}}}]}}),f=()=>{s.value={show:e.legendShow,orient:e.legendOrient,top:e.legendTop,left:e.legendLeft,align:"left",textStyle:{color:e.legendTextStyleColor,fontSize:t.value?Ze:e.legendFontSize},itemHeight:e.legendItemHeight,itemWidth:e.legendItemWidth,itemGap:e.legendItemGap,formatter:_=>{console.log("name",_);const{data:S}=r.value[0]||{};let E;if(S){const R=S.find(B=>B.name===_);R&&(E=R.value)}return Se(e.legendFormatter,{textData:{name:_,value:E}},{useNewline:!1,useSpace:!1})}}},c=()=>{t.value=!1},{getGlobalModel:d,setGlobalModel:x}=a.inject(Ce,{getGlobalModel:_=>{},setGlobalModel:(_,S)=>{}}),{pageMode:h}=a.inject(Ie,{pageMode:"normal"}),u=(_=[],S)=>{const{dataset:E}=bt(_,S);r.value=E},g=(_=[],S)=>{const E=bt(_,S);r.value=E.dataset};a.watch(()=>e.data,_=>{(e.dataType==="static"||a.unref(h)==="design")&&u(_)},{immediate:!0,deep:!0}),a.watch(()=>[e.legendShow,e.legendOrient,e.legendTop,e.legendLeft,e.legendTextStyleColor,e.labelFontSize,e.legendItemHeight,e.legendItemWidth,e.legendItemGap,e.legendFormatter,e.legendFontSize],()=>{f()},{immediate:!0});const m=a.ref(!1),w=Oe(e),T=async()=>{var _,S;if(e.dataType==="request")try{m.value=!0;const E=await w();u((S=(_=E==null?void 0:E.data)==null?void 0:_.data)==null?void 0:S.rows,e.valueTypeDataFieldNames)}catch(E){console.error(E)}finally{m.value=!1}},p=be(e)("click",_=>{const S=d(e.id);x(e.id,{...S,RECORD:_==null?void 0:_.data})}),b=Ke(e),k=async()=>{var _;try{m.value=!0;const S=await b(),{data:E}=S.data||{};if(E){const{columns:R=[],rows:B=[]}=((_=S==null?void 0:S.data)==null?void 0:_.data)??{};let P=[];if(R.length>0){const q=R[0],F=R[1];P=B.map(H=>({name:H[q],value:isNaN(H[F])?0:H[F]||0}))}g(P)}}catch(S){console.error(S)}finally{m.value=!1}},v=()=>{switch(e.dataType){case"indicator":k();break;case"request":T();break}};ke(e,{resetRecord:()=>{const _=e.id,S=d(_);x(_,{...S,RECORD:""})},refreshData:v,click:p}),n({refreshData:v});const{setRequest:A}=a.inject(_e,{setRequest:_=>{}});return typeof A=="function"&&A({id:e.id,requestFn:v,sortNum:e.requestSort}),{option:l,style:o,click:p,onClose:c,loading:m,ecanModal:i}}}),m1="";function Gc(e,n,t,o,r,i){const s=a.resolveComponent("echarts"),l=a.resolveComponent("spin"),f=a.resolveComponent("ecan-modal");return a.openBlock(),a.createElementBlock("div",{style:a.normalizeStyle(e.style)},[a.createVNode(l,{spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,autoresize:"",onClick:e.click},null,8,["option","onClick"])]),_:1},8,["spinning"]),a.createVNode(f,{width:"1920px",height:"1080px",ref:"ecanModal",onClose:e.onClose},{default:a.withCtx(()=>[a.createVNode(l,{class:"spin-wrap",spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,"update-options":{notMerge:!0},autoresize:""},null,8,["option"])]),_:1},8,["spinning"])]),_:1},8,["onClose"])],4)}const Oi=ce(se(jc,[["render",Gc]])),jo={...me,id:"",name:"折线图",keyName:"折线图",type:"ecanLine",width:"400px",height:"400px",top:"",left:"",rotate:"",data:[{name:"名称一",value:235,type:"类型一"},{name:"名称二",value:280,type:"类型一"},{name:"名称三",value:230,type:"类型一"},{name:"名称四",value:335,type:"类型一"}],titleText:"",titleSubtext:"",titleLeft:"",legendShow:!0,legendOrient:"horizontal",legendTop:"top",legendLeft:"center",colors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],symbolSize:4,lineStyleWidth:2,smooth:!1,xAxisLabelWidth:void 0,xAxisLabelRotate:0,xAxisLabelOverflow:"none",xAxisLabelInterval:0,xAxisSplitLineShow:!0,xAxisSplitAreaShow:!1,xAxisSplitLineInterval:0,xAxisSplitLineStyleColor:"#333",xAxisLabelColor:"#333",xAxisLineShow:!0,xAxisLineStyleColor:"#333",xAxisTickShow:!0,xAxisLabelFormatter:"{value}",xAxisMinInterval:0,yAxisMinInterval:0,yAxisSplitLineShow:!0,yAxisSplitAreaShow:!1,yAxisSplitLineStyleColor:"#333",yAxisLabelColor:"#333",yAxisLineStyleColor:"#333",yAxisLineAlwaysDisplay:!1,yAxisLabelFormatter:"{value}",gridContainLabel:!0,gridTop:"10%",gridBottom:"10%",gridLeft:"5%",gridRight:"5%",valueTypeDataFieldNames:{name:"name",value:"value",type:"type"},keyTypeDataFieldNames:{name:"name",types:[]},dataFieldConfigType:"value",graphicConfig:{},tooltipShow:!0,tooltipFormatter:"{marker} {a} {c}",toolboxShow:!1,toolboxDownloadShow:!0,toolboxDataZoomShow:!0,toolboxInfoShow:!0,toolboxOrient:"horizontal",toolboxItemSize:16,toolboxItemGap:8,toolboxLeft:"right",toolboxTop:"top",toolboxIconStyleBorderColor:"#666",toolboxDownloadUrl:"",toolboxInfoText:"当前无说明信息",areaStyleOpacity:0,areaGradientShow:!1,areaGradientColor:"",isBoundaryGap:!0,yAxisLabelShow:!0,yAxisSplitLineType:"solid",legendItemGap:10,legendItemWidth:25,legendItemHeight:14,legendType:"",shadowColor:"",shadowBlur:0,shadowOffsetY:0,shadowOffsetX:0,legendFontSize:"12px",xAxisLabelFontSize:"12px",yAxisLabelFontSize:"12px",graphicType:"ecanLine"},Go=de(jo),Li=["click","refreshData","resetRecord"];Pe.use([ut.CanvasRenderer,Qe.LineChart,ge.ToolboxComponent,ge.TitleComponent,ge.LegendComponent]);const Uc=a.defineComponent({name:"EcanLine",props:{...Go},components:{Spin:pt,Echarts:ot,EcanModal:ct},setup(e,{expose:n}){const t=a.ref(),o=a.ref(!1),r=ue(e),i=a.ref([]),s=a.ref([]),l=a.ref(),f=a.computed(()=>o.value?Ze:12),c=a.ref({});let d;const x=a.ref([]),h=a.computed(()=>{const P=e.xAxisLabelFormatter,q=e.yAxisLabelFormatter;return{toolbox:{show:e.toolboxShow,left:e.toolboxLeft,top:e.toolboxTop,itemSize:e.toolboxItemSize,itemGap:e.toolboxItemGap,feature:{myDownload:{show:e.toolboxDownloadShow,title:"数据下载",icon:"path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",onclick(){Dt(e.toolboxDownloadUrl)}},myDataZoom:{show:o.value?!1:e.toolboxDataZoomShow,title:"放大",icon:"path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",onclick(){var F;o.value=!0,(F=l.value)==null||F.showModal()}},myInfo:{show:e.toolboxInfoShow,title:"说明信息",icon:"path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",onclick(){ne.Modal.info({title:"说明信息",content:e.toolboxInfoText})}}}},title:{text:e.titleText,subText:e.titleSubtext,left:"center"},grid:{top:e.gridTop,bottom:e.gridBottom,left:e.gridLeft,right:e.gridRight,containLabel:e.gridContainLabel},color:e.colors,tooltip:{trigger:"axis",textStyle:{fontSize:f.value},show:e.tooltipShow,formatter:F=>{var z;const H=F.length;let D="",I=e.tooltipFormatter;d=(z=F[0])==null?void 0:z.data,I===""&&(I="{marker} {a} {c}");for(let O=0;O<H;O++){const{marker:L,seriesName:N,name:M,value:Z,data:$}=F[O]||{};O===0&&(D+=`${M}<br/>`),D+=Se(I,{textData:{marker:L,name:M,value:Z,a:N,b:M,c:Z||0,...$}},{useNewline:!0,useSpace:!0}),D+="<br/>"}return D}},xAxis:{type:"category",boundaryGap:e.isBoundaryGap,data:a.unref(s).map(F=>{let H={};return F&&typeof F=="object"?H={...F}:H={value:F},H}),minInterval:e.xAxisMinInterval,splitLine:{show:e.xAxisSplitLineShow,lineStyle:{color:e.xAxisSplitLineStyleColor},interval:e.xAxisSplitLineInterval},splitArea:{show:e.xAxisSplitAreaShow},axisLabel:{color:e.xAxisLabelColor,interval:e.xAxisLabelInterval||0,rotate:e.xAxisLabelRotate,width:e.xAxisLabelWidth,overflow:e.xAxisLabelOverflow,fontSize:e.xAxisLabelFontSize,formatter(F){return typeof F=="string"&&F[0]==="0"&&!isNaN(+F)&&(F=(+F).toString()),tt(P,F)}},axisLine:{show:e.xAxisLineShow,lineStyle:{color:e.xAxisLineStyleColor}},axisTick:{show:e.xAxisTickShow}},yAxis:{type:"value",minInterval:e.yAxisMinInterval,splitLine:{show:e.yAxisSplitLineShow,lineStyle:{color:e.yAxisSplitLineStyleColor,type:e.yAxisSplitLineType}},splitArea:{show:e.yAxisSplitAreaShow},axisLabel:{show:e.yAxisLabelShow,fontSize:e.yAxisLabelFontSize,color:e.yAxisLabelColor,formatter(F){return tt(q,F)}},axisLine:{show:e.yAxisLineAlwaysDisplay,lineStyle:{color:e.yAxisLineStyleColor}}},legend:{show:e.legendShow,orient:e.legendOrient,top:e.legendTop,left:e.legendLeft,textStyle:{fontSize:o.value?Ze:e.legendFontSize},itemHeight:e.legendItemHeight,itemWidth:e.legendItemWidth,itemGap:e.legendItemGap,data:a.unref(x).map(F=>({name:F.name,icon:e.legendType}))},series:a.unref(i)}}),u=()=>{o.value=!1},{getGlobalModel:g,setGlobalModel:m}=a.inject(Ce,{getGlobalModel:P=>{},setGlobalModel:(P,q)=>{}}),{pageMode:w}=a.inject(Ie,{pageMode:"normal"}),T=(P=[],q=!1)=>{let F;if(e.dataFieldConfigType==="key"){const z=q?e.keyTypeDataFieldNames:null;F=st(P,z)}else if(e.dataFieldConfigType==="value"){const z=q?e.valueTypeDataFieldNames:null;F=bt(P,z)}s.value=F.dimensions,x.value=F.dataset;const H=F.dataset,D=[],I=H.length;for(let z=0;z<I;z++){const O={};e.shadowColor&&(O.shadowColor=e.shadowColor,O.shadowBlur=e.shadowBlur,O.shadowOffsetY=e.shadowOffsetY,O.shadowOffsetX=e.shadowOffsetX),D.push({type:"line",...H[z],symbolSize:e.symbolSize,smooth:e.smooth,areaStyle:{color:e.areaGradientShow?{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:e.colors[z]},{offset:1,color:e.areaGradientColor||"transparent"}],global:!1}:e.colors[z],opacity:e.areaStyleOpacity},lineStyle:{width:e.lineStyleWidth,...O}})}i.value=D},y=(P=[],q,F=!1)=>{const D=st(P,F?q:null);s.value=D.dimensions,x.value=D.dataset;const I=D.dataset,z=[],O=I.length;for(let L=0;L<O;L++){const N={};e.shadowColor&&(N.shadowColor=e.shadowColor,N.shadowBlur=e.shadowBlur,N.shadowOffsetY=e.shadowOffsetY,N.shadowOffsetX=e.shadowOffsetX),z.push({type:"line",...I[L],symbolSize:e.symbolSize,smooth:e.smooth,areaStyle:{color:e.areaGradientShow?{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:e.colors[L]},{offset:1,color:e.areaGradientColor||"transparent"}],global:!1}:e.colors[L],opacity:e.areaStyleOpacity},lineStyle:{width:e.lineStyleWidth,...N}})}i.value=z};a.watch(()=>[e.data,e.symbolSize,e.smooth,e.lineStyleWidth,e.areaStyleOpacity,e.areaGradientShow,e.areaGradientColor,e.shadowColor,e.shadowBlur,e.shadowOffsetY,e.shadowOffsetX,e.legendFontSize],([P])=>{(e.dataType==="static"||a.unref(w)==="design")&&T(P)},{immediate:!0,deep:!0});const p=a.ref(!1),b=Oe(e),k=async()=>{var P,q;if(e.dataType==="request")try{p.value=!0;const F=await b();T((q=(P=F==null?void 0:F.data)==null?void 0:P.data)==null?void 0:q.rows,!0)}catch(F){console.error(F)}finally{p.value=!1}},C=be(e)("click",P=>{const q=g(e.id);m(e.id,{...q,RECORD:e.tooltipShow?d:P.data})}),A=P=>{t.value.chart.containPixel("grid",[P.offsetX,P.offsetY])&&C()};e.tooltipShow?c.value["zr:click"]=A:c.value.click=C;const _=Ke(e),S=async()=>{var P;try{p.value=!0;const q=await _(),{columns:F=[],rows:H=[]}=((P=q==null?void 0:q.data)==null?void 0:P.data)??{};let D;F.length>0&&(D={name:F[0],types:F.slice(1).map(I=>({label:I,value:I}))}),y(H,D,!0)}catch(q){console.error(q)}finally{p.value=!1}},E=()=>{switch(e.dataType){case"indicator":S();break;case"request":k();break}};ke(e,{refreshData:E,resetRecord:()=>{const P=e.id,q=g(P);m(P,{...q,RECORD:""})},click:C});const{setRequest:B}=a.inject(_e,{setRequest:P=>{}});return typeof B=="function"&&B({id:e.id,requestFn:E,sortNum:e.requestSort}),n({refreshData:E}),{option:h,style:r,click:C,loading:p,onClose:u,ecanModal:l,eventObj:c,echartRef:t}}}),y1="";function Wc(e,n,t,o,r,i){const s=a.resolveComponent("echarts"),l=a.resolveComponent("spin"),f=a.resolveComponent("ecan-modal");return a.openBlock(),a.createElementBlock("div",{style:a.normalizeStyle(e.style)},[a.createVNode(l,{spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,a.mergeProps({ref:"echartRef",option:e.option,autoresize:""},a.toHandlers(e.eventObj)),null,16,["option"])]),_:1},8,["spinning"]),a.createVNode(f,{width:"1920px",height:"1080px",ref:"ecanModal",onClose:e.onClose},{default:a.withCtx(()=>[a.createVNode(l,{class:"spin-wrap",spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,"update-options":{notMerge:!0},autoresize:""},null,8,["option"])]),_:1},8,["spinning"])]),_:1},8,["onClose"])],4)}const Ni=ce(se(Uc,[["render",Wc]])),Uo={...me,id:"",name:"柱状图",keyName:"柱状图",type:"ecanBar",width:"400px",height:"400px",top:"",left:"",rotate:"",xAxisLabelFormatter:"{value}",yAxisLabelFormatter:"{value}",yAxisLineAlwaysDisplay:!1,data:[{name:"名称一",value:335,type:"类型一"},{name:"名称二",value:310,type:"类型一"},{name:"名称三",value:310,type:"类型一"}],titleText:"",titleSubtext:"",colors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],legendShow:!0,legendTextStyleColor:"#333",legendOrient:"horizontal",legendTop:"top",legendLeft:"center",tooltipShow:!0,tooltipTextStyleColor:"",tooltipFormatter:"{marker} {a} {c}",xAxisSplitLineShow:!0,xAxisSplitLineInterval:0,xAxisSplitAreaShow:!1,xAxisSplitLineStyleColor:"#333",xAxisLabelInterval:0,xAxisLabelColor:"#333",xAxisLabelWidth:void 0,xAxisLabelRotate:0,xAxisLabelOverflow:"none",xAxisLineShow:!0,xAxisLineStyleColor:"#333",xAxisTickShow:!0,xAxisMinInterval:0,yAxisMinInterval:0,yAxisLabelWidth:void 0,yAxisLabelRotate:0,yAxisLabelOverflow:"none",yAxisSplitLineShow:!0,yAxisSplitAreaShow:!1,yAxisSplitLineStyleColor:"#333",yAxisLabelColor:"#333",yAxisLineStyleColor:"#333",valueTypeDataFieldNames:{name:"name",value:"value",type:"type"},keyTypeDataFieldNames:{name:"name",types:[]},dataFieldConfigType:"value",barWidth:"40%",gridContainLabel:!0,gridTop:"10%",gridBottom:"10%",gridLeft:"5%",gridRight:"5%",graphicConfig:{},toolboxShow:!1,toolboxOrient:"horizontal",toolboxItemSize:16,toolboxItemGap:8,toolboxLeft:"right",toolboxTop:"top",toolboxIconStyleBorderColor:"#666",toolboxDownloadUrl:"",toolboxInfoText:"当前无说明信息",isUseHorizontalAxis:!1,axisInverse:!1,xAxisInverse:!1,yAxisInverse:!1,isStack:!1,labelShow:!1,labelFontSize:"12px",labelPosition:"inside",labelColor:"",labelWidth:100,labelOverflow:"none",labelFormatter:"{c}",toolboxLocation:!1,toolboxDownloadShow:!0,toolboxDataZoomShow:!0,toolboxInfoShow:!0,gradientShow:!1,gradientColors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientOffset:1,barBorderRadius:"",yAxisLabelShow:!0,yAxisSplitLineType:"solid",xAxisSplitLineType:"solid",legendItemGap:10,legendItemWidth:25,legendItemHeight:14,showBarBackground:!1,legendType:"",legendFontSize:"12px",xAxisLabelFontSize:"12px",yAxisLabelFontSize:"12px",graphicType:"ecanBar"},Wo=de(Uo),Mi=["refreshData","click","resetRecord"];Pe.use([ut.CanvasRenderer,Qe.BarChart,ge.TitleComponent,ge.LegendComponent,ge.DatasetComponent,ge.ToolboxComponent]);const $c=a.defineComponent({name:"EcanBar",props:{...Wo},components:{Spin:pt,Echarts:ot,EcanModal:ct,AModal:ne.Modal},setup(e,{expose:n}){const t=a.ref(),o=a.ref(!1),r=a.ref(!1),i=a.ref(null),s=a.ref([]),l=ue(e),f=a.ref([]),c=a.ref(),d=a.computed(()=>o.value?Ze:12),x=a.computed(()=>{const{gradientShow:D,gradientColors:I,gradientOffset:z,barBorderRadius:O}=e,L=a.unref(f),N=L.length,M=[];for(let Z=0;Z<N;Z++){const $={...L[Z],type:"bar",barWidth:e.barWidth,showBackground:e.showBarBackground};if(e.isStack&&($.stack="stack"),$.label={show:e.labelShow,fontSize:e.labelFontSize,position:e.labelPosition,color:e.labelColor,width:e.labelWidth,overflow:e.labelOverflow,formatter:K=>{let Y="",ae=e.labelFormatter;ae===""&&(ae="{c}");const{seriesName:fe,name:Te,value:Ee,data:xe}=K||{};return Y+=Se(ae,{textData:{name:Te,value:Ee,a:fe,b:Te,c:Ee||0,...xe}},{useNewline:!0,useSpace:!0}),Y}},$.itemStyle={},D&&($.itemStyle={color:{x:e.isUseHorizontalAxis?1:0,y:0,x2:0,y2:e.isUseHorizontalAxis?0:1,colorStops:[{offset:0,color:e.colors[Z]},{offset:z,color:I[Z]},{offset:1,color:I[Z]}]}}),O){const K=O.split(",");if(K!=null&&K.length){const Y=[];for(const ae of K){const fe=parseFloat(ae);isNaN(fe)||Y.push(fe)}$.itemStyle.borderRadius=Y}}M.push($)}return M}),h=a.ref([]),u=a.ref(!1),g=a.computed(()=>{const D=e.yAxisLabelFormatter,I=e.xAxisLabelFormatter;return{toolbox:{show:e.toolboxShow,left:e.toolboxLeft,top:e.toolboxTop,itemSize:e.toolboxItemSize,itemGap:e.toolboxItemGap,feature:{myLocation:{show:o.value?!1:e.toolboxLocation,title:"快速定位",icon:"path://M512 512m-80 0a80 80 0 1 0 160 0 80 80 0 1 0-160 0Z, M960 480h-33.632C910.752 276.16 747.84 113.248 544 97.632V64a32 32 0 1 0-64 0v33.632C276.16 113.248 113.248 276.16 97.632 480H64a32 32 0 0 0 0 64h33.632C113.248 747.84 276.16 910.752 480 926.368V960a32 32 0 1 0 64 0v-33.632C747.84 910.752 910.752 747.84 926.368 544H960a32 32 0 1 0 0-64zM544 862.368V800a32 32 0 1 0-64 0v62.368C311.424 847.104 176.896 712.576 161.632 544H224a32 32 0 1 0 0-64H161.632C176.896 311.424 311.424 176.896 480 161.632V224a32 32 0 0 0 64 0V161.632c168.576 15.296 303.104 149.792 318.368 318.368H800a32 32 0 1 0 0 64h62.368c-15.264 168.576-149.792 303.104-318.368 318.368z",onclick(){r.value=!0;const z=t.value.chart.getOption(),{xAxis:O}=z||{};O&&O.length&&(s.value=O[0].data)}},myDownload:{show:e.toolboxDownloadShow,title:"数据下载",icon:"path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",onclick(){Dt(e.toolboxDownloadUrl)}},myDataZoom:{show:o.value?!1:e.toolboxDataZoomShow,title:"放大",icon:"path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",onclick(){var z;o.value=!0,(z=c.value)==null||z.showModal()}},myInfo:{show:e.toolboxInfoShow,title:"说明信息",icon:"path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",onclick(){ne.Modal.info({title:"说明信息",content:e.toolboxInfoText})}}}},title:{text:e.titleText,subtext:e.titleSubtext,left:"center"},grid:{top:e.gridTop,bottom:e.gridBottom,left:e.gridLeft,right:e.gridRight,containLabel:e.gridContainLabel},color:e.colors,tooltip:{trigger:"axis",show:e.tooltipShow,formatter:z=>{const O=z.length;let L="",N=e.tooltipFormatter;N===""&&(N="{marker} {a} {c}");for(let M=0;M<O;M++){const{marker:Z,seriesName:$,name:K,value:Y,data:ae}=z[M]||{};M===0&&(L+=`${K}<br/>`),L+=Se(N,{textData:{marker:Z,name:K,value:Y,a:$,b:K,c:Y||0,...ae}},{useNewline:!0,useSpace:!0}),L+="<br/>"}return L},textStyle:{color:e.tooltipTextStyleColor,fontSize:d.value}},legend:{show:e.legendShow,orient:e.legendOrient,top:e.legendTop,left:e.legendLeft,textStyle:{color:e.legendTextStyleColor,fontSize:o.value?Ze:e.legendFontSize},itemHeight:e.legendItemHeight,itemWidth:e.legendItemWidth,itemGap:e.legendItemGap,data:a.unref(f).map((z,O)=>({name:z.name,itemStyle:{color:e.colors[O]},icon:e.legendType}))},xAxis:{type:e.isUseHorizontalAxis?"value":"category",data:e.isUseHorizontalAxis?null:a.unref(p),inverse:e.isUseHorizontalAxis?e.xAxisInverse:e.axisInverse,minInterval:e.xAxisMinInterval,splitLine:{show:e.xAxisSplitLineShow,lineStyle:{color:e.xAxisSplitLineStyleColor,type:e.xAxisSplitLineType},interval:e.xAxisSplitLineInterval},splitArea:{show:e.xAxisSplitAreaShow},axisLabel:{color:e.xAxisLabelColor,interval:e.xAxisLabelInterval||0,rotate:e.xAxisLabelRotate,width:e.xAxisLabelWidth,overflow:e.xAxisLabelOverflow,fontSize:e.xAxisLabelFontSize,formatter(z){return typeof z=="string"&&z[0]==="0"&&!isNaN(+z)&&(z=(+z).toString()),tt(I,z)}},axisLine:{show:e.xAxisLineShow,lineStyle:{color:e.xAxisLineStyleColor}},axisTick:{show:e.xAxisTickShow}},yAxis:{type:e.isUseHorizontalAxis?"category":"value",data:e.isUseHorizontalAxis?a.unref(h):null,inverse:e.isUseHorizontalAxis?e.axisInverse:e.yAxisInverse,minInterval:e.yAxisMinInterval,splitLine:{show:e.yAxisSplitLineShow,lineStyle:{color:e.yAxisSplitLineStyleColor,type:e.yAxisSplitLineType}},splitArea:{show:e.yAxisSplitAreaShow},axisLabel:{show:e.yAxisLabelShow,fontSize:e.yAxisLabelFontSize,color:e.yAxisLabelColor,rotate:e.yAxisLabelRotate,width:e.yAxisLabelWidth,overflow:e.yAxisLabelOverflow,formatter(z){return tt(D,z)}},axisLine:{show:e.yAxisLineAlwaysDisplay,lineStyle:{color:e.yAxisLineStyleColor}}},series:a.unref(x)}}),{pageMode:m}=a.inject(Ie,{pageMode:"normal"}),w=()=>{o.value=!1},T=(D=[],I=!1)=>{let z={};if(e.dataFieldConfigType==="key"){const O=I?e.keyTypeDataFieldNames:null;z=st(D,O)}else if(e.dataFieldConfigType==="value"){const O=I?e.valueTypeDataFieldNames:null;z=bt(D,O)}f.value=z.dataset,h.value=z.dimensions},y=(D=[],I,z=!1)=>{const L=st(D,z?I:null);f.value=L.dataset,h.value=L.dimensions},p=a.computed(()=>a.unref(h).map(D=>{let I={};return D&&typeof D=="object"?I={...D}:I={value:D},I}));a.watch(()=>[e.data,e.labelFormatter],([D])=>{(e.dataType==="static"||a.unref(m)==="design")&&T(D)},{immediate:!0,deep:!0});const b=Oe(e),k=async()=>{var D,I;try{u.value=!0;const z=await b();T((I=(D=z==null?void 0:z.data)==null?void 0:D.data)==null?void 0:I.rows,!0)}catch(z){console.error(z)}finally{u.value=!1}},v=Ke(e),C=async()=>{var D;try{u.value=!0;const I=await v(),{columns:z=[],rows:O=[]}=((D=I==null?void 0:I.data)==null?void 0:D.data)??{};let L;z.length>0&&(L={name:z[0],types:z.slice(1).map(N=>({label:N,value:N}))}),y(O,L,!0)}catch(I){console.error(I)}finally{u.value=!1}},A=()=>{switch(e.dataType){case"indicator":C();break;case"request":k();break}},_=(D,I)=>!!a.unref(s)[I.value].value.includes(D),S=async()=>{r.value=!1;const D=t.value.chart.getOption();for(let I=0;I<7;I++)await E(D,I)},E=(D,I)=>new Promise(z=>{setTimeout(()=>{const{series:O,color:L,xAxis:N}=D,M=t.value.chart,{splitArea:Z={}}=N[0]||{};O.forEach(($,K)=>{const Y=$.data;let ae="";I%2?ae=L[K]+"a8":ae=L[K],Y[i.value].itemStyle={color:ae}}),I%2?(Z.show=!0,Z.areaStyle.color=a.unref(s).map(($,K)=>K===i.value?"#ff003b26":"")):Z.show=!1,M.setOption({series:O,xAxis:N}),z()},200)});n({refreshData:A});const R=be(e),{getGlobalModel:B,setGlobalModel:P}=a.inject(Ce,{getGlobalModel:D=>{},setGlobalModel:(D,I)=>{}}),q=R("click",D=>{const I=B(e.id);P(e.id,{...I,RECORD:D.data})}),{setRequest:F}=a.inject(_e,{setRequest:D=>{}});return typeof F=="function"&&F({id:e.id,requestFn:A,sortNum:e.requestSort}),ke(e,{refreshData:A,click:q,resetRecord:()=>{const D=e.id,I=B(D);P(D,{...I,RECORD:""})}}),{option:g,style:l,refreshData:A,click:q,loading:u,onClose:w,ecanModal:c,echartRef:t,handleLocationOk:S,onFilterOption:_,locationVisible:r,locationValue:i,locationNames:s}}}),b1="",v1="",Zc=e=>(a.pushScopeId("data-v-45f69833"),e=e(),a.popScopeId(),e),Yc={class:"location-wrap"},Kc=Zc(()=>a.createElementVNode("div",{class:"location-text"},"选择分类:",-1));function Xc(e,n,t,o,r,i){const s=a.resolveComponent("echarts"),l=a.resolveComponent("spin"),f=a.resolveComponent("ecan-modal"),c=a.resolveComponent("a-select-option"),d=a.resolveComponent("a-select"),x=a.resolveComponent("a-modal");return a.openBlock(),a.createElementBlock("div",{class:"ecan-bar",style:a.normalizeStyle(e.style)},[a.createVNode(l,{spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{ref:"echartRef",option:e.option,"update-options":{notMerge:!0},autoresize:"",onClick:e.click},null,8,["option","onClick"])]),_:1},8,["spinning"]),a.createVNode(f,{width:"1920px",height:"1080px",ref:"ecanModal",onClose:e.onClose},{default:a.withCtx(()=>[a.createVNode(l,{class:"spin-wrap",spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,"update-options":{notMerge:!0},autoresize:""},null,8,["option"])]),_:1},8,["spinning"])]),_:1},8,["onClose"]),a.createVNode(x,{visible:e.locationVisible,"onUpdate:visible":n[1]||(n[1]=h=>e.locationVisible=h),title:"快速定位",onOk:e.handleLocationOk},{default:a.withCtx(()=>[a.createElementVNode("div",Yc,[Kc,a.createVNode(d,{value:e.locationValue,"onUpdate:value":n[0]||(n[0]=h=>e.locationValue=h),style:{width:"100%"},placeholder:"请选择","show-search":"","filter-option":e.onFilterOption},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.locationNames,(h,u)=>(a.openBlock(),a.createBlock(c,{key:u,value:u},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(h.value),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value","filter-option"])])]),_:1},8,["visible","onOk"])],4)}const zi=ce(se($c,[["render",Xc],["__scopeId","data-v-45f69833"]])),$o={...me,id:"",name:"散点图",keyName:"散点图",type:"ecanScatter",width:"400px",height:"400px",top:"",left:"",rotate:"",data:[{name:233,value:335},{name:556,value:310},{name:56,value:234}],titleText:"",titleSubtext:"",tooltipShow:!0,tooltipTrigger:"item",tooltipFormatter:"{marker} {b} {c}",legendShow:!1,legendOrient:"horizontal",legendTop:"top",legendLeft:"center",colors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],symbolSize:10,xAxisSplitLineShow:!0,xAxisSplitAreaShow:!1,xAxisSplitLineInterval:0,xAxisSplitLineStyleColor:"#333",xAxisLineStyleColor:"#333",xAxisTickShow:!0,xAxisLabelColor:"#333",xAxisLabelOverflow:"none",xAxisLabelInterval:0,xAxisLabelWidth:void 0,xAxisLabelRotate:0,xAxisLabelFormatter:"{value}",yAxisSplitLineShow:!0,yAxisSplitAreaShow:!1,yAxisSplitLineStyleColor:"#333",yAxisLabelColor:"#333",yAxisLineStyleColor:"#333",yAxisLineAlwaysDisplay:!1,yAxisLabelFormatter:"{value}",dataFieldNames:{name:"name",value:"value"},gridContainLabel:!0,gridTop:"10%",gridBottom:"10%",gridLeft:"5%",gridRight:"5%",graphicConfig:{},toolboxShow:!1,toolboxDownloadShow:!0,toolboxDataZoomShow:!0,toolboxInfoShow:!0,toolboxOrient:"horizontal",toolboxItemSize:16,toolboxItemGap:8,toolboxLeft:"right",toolboxTop:"top",toolboxIconStyleBorderColor:"#666",toolboxDownloadUrl:"",toolboxInfoText:"当前无说明信息",yAxisLabelShow:!0,yAxisSplitLineType:"solid",xAxisLabelFontSize:"12px",yAxisLabelFontSize:"12px",graphicType:"ecanScatter"},Zo=de($o),Fi=["click","refreshData","resetRecord"];Pe.use([ut.CanvasRenderer,Qe.ScatterChart,ge.ToolboxComponent,ge.TitleComponent,ge.TooltipComponent,ge.LegendComponent]);const Qc=a.defineComponent({name:"EcanScatter",props:{...Zo},components:{Spin:pt,Echarts:ot,EcanModal:ct},setup(e){const n=a.ref(!1),t=ue(e),o=a.ref([]),r=a.ref(),i=a.computed(()=>n.value?Ze:12),s=a.computed(()=>{const b=e.xAxisLabelFormatter,k=e.yAxisLabelFormatter;return{toolbox:{show:e.toolboxShow,left:e.toolboxLeft,top:e.toolboxTop,itemSize:e.toolboxItemSize,itemGap:e.toolboxItemGap,feature:{myDownload:{show:e.toolboxDownloadShow,title:"数据下载",icon:"path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",onclick(){Dt(e.toolboxDownloadUrl)}},myDataZoom:{show:n.value?!1:e.toolboxDataZoomShow,title:"放大",icon:"path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",onclick(){var v;n.value=!0,(v=r.value)==null||v.showModal()}},myInfo:{show:e.toolboxInfoShow,title:"说明信息",icon:"path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",onclick(){ne.Modal.info({title:"说明信息",content:e.toolboxInfoText})}}}},title:{text:e.titleText,subtext:e.titleSubtext,left:"center"},grid:{top:e.gridTop,bottom:e.gridBottom,left:e.gridLeft,right:e.gridRight,containLabel:e.gridContainLabel},color:e.colors,xAxis:{splitLine:{show:e.xAxisSplitLineShow,lineStyle:{color:e.xAxisSplitLineStyleColor},interval:e.xAxisSplitLineInterval},splitArea:{show:e.xAxisSplitAreaShow},axisLabel:{fontSize:e.xAxisLabelFontSize,color:e.xAxisLabelColor,interval:e.xAxisLabelInterval||0,rotate:e.xAxisLabelRotate,width:e.xAxisLabelWidth,overflow:e.xAxisLabelOverflow,formatter(v){return typeof v=="string"&&v[0]==="0"&&!isNaN(+v)&&(v=(+v).toString()),tt(b,v)}},axisLine:{lineStyle:{color:e.xAxisLineStyleColor}},axisTick:{show:e.xAxisTickShow}},yAxis:{splitLine:{show:e.yAxisSplitLineShow,lineStyle:{color:e.yAxisSplitLineStyleColor,type:e.yAxisSplitLineType}},splitArea:{show:e.yAxisSplitAreaShow},axisLabel:{show:e.yAxisLabelShow,fontSize:e.yAxisLabelFontSize,color:e.yAxisLabelColor,formatter(v){return tt(k,v)}},axisLine:{show:e.yAxisLineAlwaysDisplay,lineStyle:{color:e.yAxisLineStyleColor}}},tooltip:{show:e.tooltipShow,trigger:e.tooltipTrigger,formatter(v){var R;const{marker:C,seriesName:A}=v,_=((R=v==null?void 0:v.data)==null?void 0:R.record)??{},{name:S,value:E}=_;return Se(e.tooltipFormatter,{textData:{marker:C,seriesName:A,a:A,b:S,c:E,..._}})},axisPointer:{type:"cross"},textStyle:{fontSize:i.value}},legend:{show:e.legendShow,orient:e.legendOrient,top:e.legendTop,left:e.legendLeft,textStyle:{fontSize:i.value}},series:[{data:a.unref(o),type:"scatter",symbolSize:e.symbolSize}]}}),{getGlobalModel:l,setGlobalModel:f}=a.inject(Ce,{getGlobalModel:b=>{},setGlobalModel:(b,k)=>{}}),{pageMode:c}=a.inject(Ie,{pageMode:"normal"}),d=(b=[],k)=>{const{name:v="name",value:C="value"}=k||{};o.value=b.map(A=>({value:[A[v],A[C]],record:A}))};a.watch(()=>e.data,b=>{(e.dataType==="static"||a.unref(c)==="design")&&d(b)},{immediate:!0,deep:!0});const x=a.ref(!1),h=Oe(e),u=async()=>{var b,k;if(e.dataType==="request"){x.value=!0;try{const v=await h();d((k=(b=v==null?void 0:v.data)==null?void 0:b.data)==null?void 0:k.rows,e.dataFieldNames)}catch(v){console.error(v)}finally{x.value=!1}}},g=()=>{n.value=!1},w=be(e)("click",b=>{const k=e.id,v=l(k);f(k,{...v,RECORD:b==null?void 0:b.data})});ke(e,{refreshData:()=>{u()},click:w,resetRecord:()=>{const b=e.id,k=l(b);f(b,{...k,RECORD:""})}});const{setRequest:p}=a.inject(_e,{setRequest:b=>{}});return typeof p=="function"&&p({id:e.id,requestFn:u,sortNum:e.requestSort}),{option:s,style:t,click:w,loading:x,onClose:g,ecanModal:r}}}),w1="";function Jc(e,n,t,o,r,i){const s=a.resolveComponent("echarts"),l=a.resolveComponent("spin"),f=a.resolveComponent("ecan-modal");return a.openBlock(),a.createElementBlock("div",{style:a.normalizeStyle(e.style)},[a.createVNode(l,{spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,autoresize:"",onClick:e.click},null,8,["option","onClick"])]),_:1},8,["spinning"]),a.createVNode(f,{width:"1920px",height:"1080px",ref:"ecanModal",onClose:e.onClose},{default:a.withCtx(()=>[a.createVNode(l,{class:"spin-wrap",spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,"update-options":{notMerge:!0},autoresize:""},null,8,["option"])]),_:1},8,["spinning"])]),_:1},8,["onClose"])],4)}const Pi=ce(se(Qc,[["render",Jc]])),Yo={...me,id:"",name:"自定义图表",keyName:"自定义图表",type:"ecanCustomGraph",width:"400px",height:"400px",option:{},optionCode:"",graphicType:"ecanCustomGraph"},Ko=de(Yo),ef=a.defineComponent({name:"EcanCustomGraph",props:{...Ko},components:{Echarts:ot},setup(e){const n=ue(e),t=a.ref();return a.watch(()=>e.optionCode,o=>{try{const r=eval;t.value=r(o)}catch(r){console.error(r)}},{immediate:!0}),{style:n,myOption:t,echarts:S0}}});function tf(e,n,t,o,r,i){const s=a.resolveComponent("echarts");return a.openBlock(),a.createElementBlock("div",{style:a.normalizeStyle(e.style)},[a.createVNode(s,{option:e.myOption,"update-options":{notMerge:!0},autoresize:""},null,8,["option"])],4)}const Hi=ce(se(ef,[["render",tf]])),Xo={...me,id:"",name:"组合图表",keyName:"组合图表",type:"ecanComboGraph",width:"400px",height:"400px",data:[{name:"名称一",value:335,type:"类型一"},{name:"名称二",value:410,type:"类型一"},{name:"名称三",value:210,type:"类型一"},{name:"名称一",value:510,type:"类型二"},{name:"名称二",value:731,type:"类型二"},{name:"名称三",value:910,type:"类型二"}],titleText:"",titleSubtext:"",colors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],legendShow:!0,legendTextStyleColor:"#333",legendOrient:"horizontal",legendTop:"top",legendLeft:"center",tooltipShow:!0,tooltipTextStyleColor:"",tooltipTrigger:"item",tooltipFormatter:"{marker} {a} {c}",xAxisLabelInterval:0,xAxisSplitLineShow:!0,xAxisSplitAreaShow:!1,xAxisSplitLineInterval:0,xAxisLabelRotate:0,xAxisLabelOverflow:"none",xAxisLabelWidth:void 0,xAxisSplitLineStyleColor:"#333",xAxisLabelColor:"#333",xAxisLineShow:!0,xAxisLineStyleColor:"#333",xAxisTickShow:!0,xAxisMinInterval:0,xAxisLabelFormatter:"{value}",yAxisLabelFormatter:"{value}",yAxisMinInterval:0,yAxisSplitLineShow:!0,yAxisSplitAreaShow:!1,yAxisSplitLineStyleColor:"#333",yAxisLabelColor:"#333",yAxisLineStyleColor:"#333",yAxisLineAlwaysDisplay:!1,valueTypeDataFieldNames:{name:"name",value:"value",type:"type"},keyTypeDataFieldNames:{name:"name",types:[]},dataFieldConfigType:"value",seriesTypes:[{type:"bar",axisIndex:0},{type:"line",axisIndex:0}],yAxis:[{axisLabelFormatter:"{value}"},{axisLabelFormatter:"{value}"}],gridContainLabel:!0,gridTop:"10%",gridBottom:"10%",gridLeft:"5%",gridRight:"5%",graphicConfig:{},toolboxShow:!1,toolboxLocation:!1,toolboxDownloadShow:!0,toolboxDataZoomShow:!0,toolboxInfoShow:!0,toolboxOrient:"horizontal",toolboxItemSize:16,toolboxItemGap:8,toolboxLeft:"right",toolboxTop:"top",toolboxIconStyleBorderColor:"#666",toolboxDownloadUrl:"",toolboxInfoText:"当前无说明信息",areaStyleOpacity:0,symbolSize:4,lineStyleWidth:2,smooth:!1,barWidth:"40%",barBorderRadius:"",areaGradientShow:!1,areaGradientColor:"",yAxisLabelShow:!0,yAxisSplitLineType:"solid",gradientShow:!1,gradientColors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientOffset:1,legendType:"",legendItemGap:10,legendItemWidth:25,legendItemHeight:14,shadowColor:"",shadowBlur:0,shadowOffsetY:0,shadowOffsetX:0,legendFontSize:"12px",xAxisLabelFontSize:"12px",yAxisLabelFontSize:"12px",graphicType:"ecanComboGraph"},Qo=de(Xo),qi=["refreshData","click","resetRecord"];Pe.use([ut.CanvasRenderer,Qe.BarChart,Qe.LineChart,ge.TitleComponent,ge.LegendComponent,ge.DatasetComponent,ge.ToolboxComponent]);const nf=a.defineComponent({name:"EcanComboGraph",props:{...Qo},components:{Spin:pt,Echarts:ot,EcanModal:ct,AModal:ne.Modal},setup(e,{expose:n}){const t=a.ref(),o=a.ref(!1),r=a.ref(!1),i=a.ref(null),s=a.ref([]),l=ue(e),f=a.ref([]),c=a.ref([]),d=a.ref(),x=a.ref([]),h=a.computed(()=>o.value?Ze:12),u=a.computed(()=>({title:{text:e.titleText,subtext:e.titleSubtext,left:"center"},toolbox:{show:e.toolboxShow,left:e.toolboxLeft,top:e.toolboxTop,itemSize:e.toolboxItemSize,itemGap:e.toolboxItemGap,feature:{myLocation:{show:o.value?!1:e.toolboxLocation,title:"快速定位",icon:"path://M512 512m-80 0a80 80 0 1 0 160 0 80 80 0 1 0-160 0Z, M960 480h-33.632C910.752 276.16 747.84 113.248 544 97.632V64a32 32 0 1 0-64 0v33.632C276.16 113.248 113.248 276.16 97.632 480H64a32 32 0 0 0 0 64h33.632C113.248 747.84 276.16 910.752 480 926.368V960a32 32 0 1 0 64 0v-33.632C747.84 910.752 910.752 747.84 926.368 544H960a32 32 0 1 0 0-64zM544 862.368V800a32 32 0 1 0-64 0v62.368C311.424 847.104 176.896 712.576 161.632 544H224a32 32 0 1 0 0-64H161.632C176.896 311.424 311.424 176.896 480 161.632V224a32 32 0 0 0 64 0V161.632c168.576 15.296 303.104 149.792 318.368 318.368H800a32 32 0 1 0 0 64h62.368c-15.264 168.576-149.792 303.104-318.368 318.368z",onclick(){r.value=!0;const D=t.value.chart.getOption(),{xAxis:I}=D||{};I&&I.length&&(s.value=I[0].data)}},myDownload:{show:e.toolboxDownloadShow,title:"数据下载",icon:"path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",onclick(){Dt(e.toolboxDownloadUrl)}},myDataZoom:{show:o.value?!1:e.toolboxDataZoomShow,title:"放大",icon:"path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",onclick(){var D;o.value=!0,(D=d.value)==null||D.showModal()}},myInfo:{show:e.toolboxInfoShow,title:"说明信息",icon:"path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",onclick(){ne.Modal.info({title:"说明信息",content:e.toolboxInfoText})}}}},grid:{top:e.gridTop,bottom:e.gridBottom,left:e.gridLeft,right:e.gridRight,containLabel:e.gridContainLabel},color:e.colors,legend:{show:e.legendShow,orient:e.legendOrient,top:e.legendTop,left:e.legendLeft,textStyle:{color:e.legendTextStyleColor,fontSize:o.value?Ze:e.legendFontSize},itemHeight:e.legendItemHeight,itemWidth:e.legendItemWidth,itemGap:e.legendItemGap,data:a.unref(x).map((D,I)=>({name:D.name,itemStyle:{color:e.colors[I]},icon:e.legendType}))},tooltip:{trigger:"axis",show:e.tooltipShow,formatter:D=>{const I=D.length;let z="",O=e.tooltipFormatter;O===""&&(O="{marker} {a} {c}");const L=e.seriesTypes;for(let N=0;N<I;N++){const M=L[N],{tooltipFormatter:Z}=M||{},{marker:$,seriesName:K,name:Y,value:ae,data:fe}=D[N]||{};N===0&&(z+=`${Y}<br/>`),z+=Se(Z||O,{textData:{marker:$,name:Y,value:ae,seriesName:K,a:K,b:Y,c:ae||0,...fe}},{useNewline:!0,useSpace:!0}),z+="<br/>"}return z},textStyle:{color:e.tooltipTextStyleColor,fontSize:h.value}},xAxis:{minInterval:e.xAxisMinInterval,type:"category",data:a.unref(c).map(D=>{let I={};return D&&typeof D=="object"?I={...D}:I={value:D},I}),splitLine:{show:e.xAxisSplitLineShow,lineStyle:{color:e.xAxisSplitLineStyleColor},interval:e.xAxisSplitLineInterval},splitArea:{show:e.xAxisSplitAreaShow},axisLabel:{color:e.xAxisLabelColor,interval:e.xAxisLabelInterval||0,rotate:e.xAxisLabelRotate,width:e.xAxisLabelWidth,overflow:e.xAxisLabelOverflow,fontSize:e.xAxisLabelFontSize,formatter(D){return typeof D=="string"&&D[0]==="0"&&!isNaN(+D)&&(D=(+D).toString()),tt(e.xAxisLabelFormatter,D)}},axisLine:{show:e.xAxisLineShow,lineStyle:{color:e.xAxisLineStyleColor}},axisTick:{show:e.xAxisTickShow}},yAxis:a.unref(y),series:a.unref(f)})),{pageMode:g}=a.inject(Ie,{pageMode:"normal"}),m=()=>{o.value=!1},w=(D=[],I=!1)=>{let z;if(e.dataFieldConfigType==="key"){const Z=I?e.keyTypeDataFieldNames:null;z=st(D,Z)}else if(e.dataFieldConfigType==="value"){const Z=I?e.valueTypeDataFieldNames:null;z=bt(D,Z)}c.value=z.dimensions;const O=z.dataset;x.value=z.dataset;const L=[],N=O.length,M=e.seriesTypes;for(let Z=0;Z<N;Z++){const $=M[Z],{type:K,axisIndex:Y}=$||{};let ae={type:K,yAxisIndex:Y,...O[Z]};if(K==="line"){const fe={};e.shadowColor&&(fe.shadowColor=e.shadowColor,fe.shadowBlur=e.shadowBlur,fe.shadowOffsetY=e.shadowOffsetY,fe.shadowOffsetX=e.shadowOffsetX),ae={...ae,symbolSize:e.symbolSize,smooth:e.smooth,itemStyle:{color:e.colors[Z]},areaStyle:{color:e.areaGradientShow?{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:e.colors[Z]},{offset:1,color:e.areaGradientColor||"transparent"}],global:!1}:e.colors[Z],opacity:e.areaStyleOpacity},lineStyle:{width:e.lineStyleWidth,...fe}}}if(K==="bar"){const{gradientShow:fe,gradientColors:Te,gradientOffset:Ee}=e,xe={};if(e.barBorderRadius){const he=e.barBorderRadius.split(",");if(he!=null&&he.length){const Le=[];for(const Ve of he){const Ne=parseFloat(Ve);isNaN(Ne)||Le.push(Ne)}xe.borderRadius=Le}}fe&&(xe.color={x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:e.colors[Z]},{offset:Ee,color:Te[Z]},{offset:1,color:Te[Z]}]}),ae={...ae,barWidth:e.barWidth,itemStyle:xe}}L.push(ae)}f.value=L},T=(D=[],I,z=!1)=>{const L=st(D,z?I:null);c.value=L.dimensions;const N=L.dataset;x.value=L.dataset;const M=[],Z=N.length,$=e.seriesTypes;for(let K=0;K<Z;K++){const Y=$[K];M.push({type:Y==null?void 0:Y.type,yAxisIndex:Y==null?void 0:Y.axisIndex,...N[K]})}f.value=M};a.watch(()=>[e.data,e.seriesTypes,e.symbolSize,e.smooth,e.areaStyleOpacity,e.lineStyleWidth,e.barWidth,e.barBorderRadius,e.areaGradientShow,e.areaGradientColor,e.gradientShow,e.gradientColors,e.gradientOffset,e.shadowColor,e.shadowBlur,e.shadowOffsetY,e.shadowOffsetX,e.legendFontSize,e.xAxisLabelFormatter],([D])=>{(e.dataType==="static"||a.unref(g)==="design")&&w(D)},{immediate:!0,deep:!0});const y=a.computed(()=>{const D=e.yAxis;return D==null?void 0:D.map(I=>({type:"value",minInterval:e.yAxisMinInterval,splitLine:{show:e.yAxisSplitLineShow,lineStyle:{color:e.yAxisSplitLineStyleColor,type:e.yAxisSplitLineType}},splitArea:{show:e.yAxisSplitAreaShow},axisLabel:{show:e.yAxisLabelShow,fontSize:e.yAxisLabelFontSize,color:e.yAxisLabelColor,formatter(z){return tt(I.axisLabelFormatter,z)}},axisLine:{show:e.yAxisLineAlwaysDisplay,lineStyle:{color:e.yAxisLineStyleColor}}}))}),p=a.ref(!1),b=Oe(e),k=async()=>{var D,I;if(e.dataType==="request")try{p.value=!0;const z=await b();w((I=(D=z==null?void 0:z.data)==null?void 0:D.data)==null?void 0:I.rows,!0)}catch(z){console.error(z)}finally{p.value=!1}},v=Ke(e),C=async()=>{var D;try{p.value=!0;const I=await v(),{columns:z=[],rows:O=[]}=((D=I==null?void 0:I.data)==null?void 0:D.data)??{};let L;z.length>0&&(L={name:z[0],types:z.slice(1).map(N=>({label:N,value:N}))}),T(O,L,!0)}catch(I){console.error(I)}finally{p.value=!1}},A=()=>{switch(e.dataType){case"indicator":C();break;case"request":k();break}},_=(D,I)=>!!a.unref(s)[I.value].value.includes(D),S=async()=>{r.value=!1;const D=t.value.chart.getOption();for(let I=0;I<7;I++)await E(D,I)},E=(D,I)=>new Promise(z=>{setTimeout(()=>{const{series:O,color:L,xAxis:N}=D,M=t.value.chart,{splitArea:Z={}}=N[0]||{};O.forEach(($,K)=>{const Y=$.data;let ae="";I%2?ae=L[K]+"a8":ae=L[K],Y[i.value].itemStyle={color:ae}}),I%2?(Z.show=!0,Z.areaStyle.color=a.unref(s).map(($,K)=>K===i.value?"#ff003b26":"")):Z.show=!1,M.setOption({series:O,xAxis:N}),z()},200)});n({refreshData:A});const R=be(e),{getGlobalModel:B,setGlobalModel:P}=a.inject(Ce,{getGlobalModel:D=>{},setGlobalModel:(D,I)=>{}}),q=R("click",D=>{const I=B(e.id);P(e.id,{...I,RECORD:D==null?void 0:D.data})}),{setRequest:F}=a.inject(_e,{setRequest:D=>{}});return typeof F=="function"&&F({id:e.id,requestFn:A,sortNum:e.requestSort}),ke(e,{resetRecord:()=>{const D=e.id,I=B(D);P(D,{...I,RECORD:""})},refreshData:A,click:q}),{style:l,option:u,click:q,loading:p,onClose:m,ecanModal:d,echartRef:t,handleLocationOk:S,onFilterOption:_,locationVisible:r,locationValue:i,locationNames:s}}}),k1="",T1="",of=e=>(a.pushScopeId("data-v-cb9f8c75"),e=e(),a.popScopeId(),e),af={class:"location-wrap"},rf=of(()=>a.createElementVNode("div",{class:"location-text"},"选择分类:",-1));function lf(e,n,t,o,r,i){const s=a.resolveComponent("echarts"),l=a.resolveComponent("spin"),f=a.resolveComponent("ecan-modal"),c=a.resolveComponent("a-select-option"),d=a.resolveComponent("a-select"),x=a.resolveComponent("a-modal");return a.openBlock(),a.createElementBlock("div",{style:a.normalizeStyle(e.style)},[a.createVNode(l,{spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{ref:"echartRef",option:e.option,"update-options":{notMerge:!0},autoresize:"",onClick:e.click},null,8,["option","onClick"])]),_:1},8,["spinning"]),a.createVNode(f,{width:"1920px",height:"1080px",ref:"ecanModal",onClose:e.onClose},{default:a.withCtx(()=>[a.createVNode(l,{class:"spin-wrap",spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,"update-options":{notMerge:!0},autoresize:"",onClick:e.click},null,8,["option","onClick"])]),_:1},8,["spinning"])]),_:1},8,["onClose"]),a.createVNode(x,{visible:e.locationVisible,"onUpdate:visible":n[1]||(n[1]=h=>e.locationVisible=h),title:"快速定位",onOk:e.handleLocationOk},{default:a.withCtx(()=>[a.createElementVNode("div",af,[rf,a.createVNode(d,{value:e.locationValue,"onUpdate:value":n[0]||(n[0]=h=>e.locationValue=h),style:{width:"100%"},placeholder:"请选择","show-search":"","filter-option":e.onFilterOption},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.locationNames,(h,u)=>(a.openBlock(),a.createBlock(c,{key:u,value:u},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(h.value),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value","filter-option"])])]),_:1},8,["visible","onOk"])],4)}const Vi=ce(se(nf,[["render",lf],["__scopeId","data-v-cb9f8c75"]])),Jo={...me,id:"",name:"雷达图",keyName:"雷达图",type:"ecanRadar",width:"400px",height:"400px",top:"",left:"",rotate:"",data:[{name:"名称一",value:235,type:"类型一"},{name:"名称二",value:280,type:"类型一"},{name:"名称三",value:230,type:"类型一"},{name:"名称四",value:335,type:"类型一"},{name:"名称五",value:435,type:"类型一"},{name:"名称六",value:215,type:"类型一"}],titleText:"",titleSubtext:"",legendShow:!0,legendOrient:"horizontal",legendTop:"top",legendLeft:"center",colors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],valueTypeDataFieldNames:{name:"name",value:"value",type:"type"},keyTypeDataFieldNames:{name:"name",types:[]},dataFieldConfigType:"value",tooltipShow:!0,tooltipFormatter:"{marker} {a} {c}",toolboxShow:!1,toolboxDownloadShow:!0,toolboxDataZoomShow:!0,toolboxInfoShow:!0,toolboxOrient:"horizontal",toolboxItemSize:16,toolboxItemGap:8,toolboxLeft:"right",toolboxTop:"top",toolboxIconStyleBorderColor:"#666",toolboxDownloadUrl:"",toolboxInfoText:"当前无说明信息",areaStyleOpacity:0,legendItemGap:10,legendItemWidth:25,legendItemHeight:14,legendType:"",lineStyleWidth:2,symbolSize:4,labelShow:!1,labelFontSize:"12px",labelPosition:"inside",labelColor:"",labelWidth:100,labelOverflow:"none",axisNameColor:"",legendFontSize:"12px",graphicConfig:{},graphicType:"ecanRadar"},ea=de(Jo),ji=["refreshData","click","resetRecord"];Pe.use([ut.CanvasRenderer,Qe.RadarChart,ge.ToolboxComponent,ge.TitleComponent,ge.LegendComponent]);const sf=a.defineComponent({name:"EcanRadar",props:{...ea},components:{Spin:pt,Echarts:ot,EcanModal:ct},setup(e,{expose:n}){const t=a.ref(),o=a.ref(!1),r=ue(e),i=a.ref([]),s=a.ref(),l=a.computed(()=>o.value?Ze:12),f=a.ref({});let c;const d=a.ref([]),x=a.ref(e.valueTypeDataFieldNames.name),h=a.computed(()=>{const F=a.unref(d),H=F.length,D=[];for(let I=0;I<H;I++){const{name:z,data:O=[]}=F[I],L=[{name:z,value:O.map(M=>M.value)}],N={type:"radar",name:z,data:L,areaStyle:{color:e.colors[I],opacity:e.areaStyleOpacity},tooltip:{trigger:"item"},symbolSize:e.symbolSize,lineStyle:{width:e.lineStyleWidth},label:{show:e.labelShow,fontSize:e.labelFontSize,position:e.labelPosition,color:e.labelColor,width:e.labelWidth,overflow:e.labelOverflow}};D.push(N)}return D}),u=a.computed(()=>{var z,O;const F=[],H={},D=a.unref(d),I=D.length;for(let L=0;L<I;L++){const{data:N=[]}=D[L];if(N!=null&&N.length)for(let M=0;M<N.length;M++)H[N[M][x.value]]?H[N[M][x.value]].push(N[M].value):H[N[M][x.value]]=[N[M].value]}if((z=i.value)!=null&&z.length)for(const L of i.value)F.push({name:L,max:(O=H[L])!=null&&O.length?Math.max(...H[L])*1.2:0});return F}),g=a.computed(()=>({toolbox:{show:e.toolboxShow,left:e.toolboxLeft,top:e.toolboxTop,itemSize:e.toolboxItemSize,itemGap:e.toolboxItemGap,feature:{myDownload:{show:e.toolboxDownloadShow,title:"数据下载",icon:"path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",onclick(){Dt(e.toolboxDownloadUrl)}},myDataZoom:{show:o.value?!1:e.toolboxDataZoomShow,title:"放大",icon:"path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",onclick(){var F;o.value=!0,(F=s.value)==null||F.showModal()}},myInfo:{show:e.toolboxInfoShow,title:"说明信息",icon:"path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",onclick(){ne.Modal.info({title:"说明信息",content:e.toolboxInfoText})}}}},title:{text:e.titleText,subText:e.titleSubtext,left:"center"},color:e.colors,tooltip:{trigger:"axis",textStyle:{fontSize:l.value},show:e.tooltipShow,formatter:F=>{var I;let H="",D=e.tooltipFormatter;c=(I=F[0])==null?void 0:I.data,D===""&&(D="{marker} {a} {c}");for(let z=0;z<a.unref(u).length;z++){const O=a.unref(u)[z],{marker:L,seriesName:N,value:M}=F||{};z===0&&N&&(H+=`${N}<br/>`),H+=Se(D,{textData:{marker:L,name:O.name,value:M[z],a:O.name,b:O.name,c:M[z]||0,type:N}},{useNewline:!0,useSpace:!0}),H+="<br/>"}return H}},radar:{indicator:a.unref(u),axisName:{color:e.axisNameColor}},legend:{show:e.legendShow,orient:e.legendOrient,top:e.legendTop,left:e.legendLeft,textStyle:{fontSize:o.value?Ze:e.legendFontSize},itemHeight:e.legendItemHeight,itemWidth:e.legendItemWidth,itemGap:e.legendItemGap,data:a.unref(d).map(F=>({name:F.name,icon:e.legendType}))},series:a.unref(h)})),m=()=>{o.value=!1},{getGlobalModel:w,setGlobalModel:T}=a.inject(Ce,{getGlobalModel:F=>{},setGlobalModel:(F,H)=>{}}),{pageMode:y}=a.inject(Ie,{pageMode:"normal"}),p=(F=[],H=!1)=>{let D;if(e.dataFieldConfigType==="key"){const I=H?e.keyTypeDataFieldNames:null;D=st(F,I)}else if(e.dataFieldConfigType==="value"){const I=H?e.valueTypeDataFieldNames:null;D=bt(F,I)}i.value=D.dimensions,d.value=D.dataset},b=(F=[],H,D=!1)=>{const z=st(F,D?H:null);i.value=z.dimensions,d.value=z.dataset};a.watch(()=>[e.data,e.areaStyleOpacity,e.legendFontSize],([F])=>{(e.dataType==="static"||a.unref(y)==="design")&&p(F)},{immediate:!0,deep:!0});const k=a.ref(!1),v=Oe(e),C=async()=>{var F,H;if(e.dataType==="request")try{k.value=!0;const D=await v();p((H=(F=D==null?void 0:D.data)==null?void 0:F.data)==null?void 0:H.rows,!0)}catch(D){console.error(D)}finally{k.value=!1}},_=be(e)("click",F=>{const H=w(e.id);T(e.id,{...H,RECORD:e.tooltipShow?c:F.data})}),S=F=>{t.value.chart.containPixel("grid",[F.offsetX,F.offsetY])&&_()};e.tooltipShow?f.value["zr:click"]=S:f.value.click=_;const E=Ke(e),R=async()=>{var F;try{k.value=!0;const H=await E(),{columns:D=[],rows:I=[]}=((F=H==null?void 0:H.data)==null?void 0:F.data)??{};let z;D.length>0&&(x.value=D[0],z={name:D[0],types:D.slice(1).map(O=>({label:O,value:O}))}),b(I,z,!0)}catch(H){console.error(H)}finally{k.value=!1}},B=()=>{switch(e.dataType){case"indicator":R();break;case"request":C();break}};ke(e,{refreshData:B,resetRecord:()=>{const F=e.id,H=w(F);T(F,{...H,RECORD:""})},click:_});const{setRequest:q}=a.inject(_e,{setRequest:F=>{}});return typeof q=="function"&&q({id:e.id,requestFn:B,sortNum:e.requestSort}),n({refreshData:B}),{option:g,style:r,click:_,loading:k,onClose:m,ecanModal:s,eventObj:f,echartRef:t}}}),B1="";function cf(e,n,t,o,r,i){const s=a.resolveComponent("echarts"),l=a.resolveComponent("spin"),f=a.resolveComponent("ecan-modal");return a.openBlock(),a.createElementBlock("div",{style:a.normalizeStyle(e.style)},[a.createVNode(l,{spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,a.mergeProps({ref:"echartRef",option:e.option,autoresize:""},a.toHandlers(e.eventObj)),null,16,["option"])]),_:1},8,["spinning"]),a.createVNode(f,{width:"1920px",height:"1080px",ref:"ecanModal",onClose:e.onClose},{default:a.withCtx(()=>[a.createVNode(l,{class:"spin-wrap",spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,"update-options":{notMerge:!0},autoresize:""},null,8,["option"])]),_:1},8,["spinning"])]),_:1},8,["onClose"])],4)}const Gi=ce(se(sf,[["render",cf]])),ff="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAAcCAMAAACH42siAAAAZlBMVEUAAABBltJCldJCldFEk89BltJCltFBldI/lMBKndtmb9pCltN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/Q8AHFBEZEepw79cXpr+2u88QjZAQ8AQMARuMQIDHfXU0ecfAnDfYoBRbytvMMAnzx6ffeUW227dGwKGgCGwIxAYkOtjYRYBngv/ciqAXARwf7Z8/NiPdgQ6NkhDwBAwBG4DBPr8C/n8vwLiP0YbZV914txH3l6a/sVtYLeZYAgYAobAjkFgk6P+4JPPNM5tNF8AhsMlFN7ME/7ouYXZ8zsGGRuoIWAIGAK3CQIVR71/9vk9Ixl+G6D8J7b8Ko+2//zss0+t3iY2mxmGgCFgCOwoBCqO+n2PvXBHnrZ/DMAfEBQQYP7ModNPwNxcPV3bjgLJBmsIGAKGwK1EYNPSh+yXdmn6BiB9ZXlp9vO30jjr2xAwBAwBQ6DHX3HdM72w79TijPyLjR2GgCFgCBgCtxiB/weD2jMQWbgYrgAAAABJRU5ErkJggg==",ta={...me,name:"边框",keyName:"边框",type:"ecanBorder",width:"300px",height:"300px",zIndex:0,fontSize:"16px",fontFamily:"",fontWeight:700,title:"标题",mode:"no-title",borderColor:"#eee",borderRadius:"5",borderStyle:"solid",borderWidth:"2px",backgroundColor:"#ffffff",useBorderModify:!1,textShadow:"",data:{},gradientShow:!0,gradientColor:"",gradientOffset:1,gradientAngle:"180deg",titleMode:"type-1"},na=de(ta),Ui=["click"],gf=a.defineComponent({name:"EcanBorder",props:{...na},setup(e){const n=ue(e,["background"]),t=a.computed(()=>{const{gradientShow:g,gradientColor:m,gradientOffset:w,gradientAngle:T,backgroundColor:y}=e;return g&&m?{backgroundImage:`linear-gradient(${T}, ${y}, ${m} ${w*100}%)`}:{}}),o=a.computed(()=>{const{events:g}=e;let m={};return g!=null&&g.length&&g.find(T=>T.emit==="showModal")&&(m={cursor:"pointer"}),m}),{theme:r}=a.inject(Ie,{theme:"light"}),i=a.computed(()=>{let g="";switch(e.titleMode){case"type-2":g="2";break}return g}),s=a.computed(()=>new URL(Object.assign({"../../assets/border-title-decoration-left.png":ff,"../../assets/border-title-decoration-left2.png":df})[`../../assets/border-title-decoration-left${i.value}.png`],self.location).href),l=a.computed(()=>new URL(Object.assign({"../../assets/border-title-decoration-right.png":uf,"../../assets/border-title-decoration-right2.png":hf})[`../../assets/border-title-decoration-right${i.value}.png`],self.location).href),f=a.computed(()=>({width:"100%",height:"100%"})),c=a.computed(()=>{const{borderRadius:g}=e,m=[],w={};if(g){const T=g.split(",");for(const y of T)(+y||+y==0)&&m.push(+y+"px")}return m!=null&&m.length&&(w.borderRadius=m.join(" ")),w}),x=be(e)("click",()=>{}),h=a.ref([]);a.watch(()=>e.data,g=>{h.value=g},{immediate:!0,deep:!0}),ke(e,{click:x});const{setGlobalModel:u}=a.inject(Ce,{setGlobalModel:(g,m)=>{}});return u(e.id,{type:e.type,value:h}),{style:n,gradientStyle:t,click:x,borderStyle:f,theme:r,borderRadiusStyle:c,titleLeftIcon:s,titleRightIcon:l,cursorStyle:o}}}),D1="",ft=e=>(a.pushScopeId("data-v-a6ae5d6a"),e=e(),a.popScopeId(),e),mf=["id"],xf=ft(()=>a.createElementVNode("div",{class:"top-left border-item"},null,-1)),yf=ft(()=>a.createElementVNode("div",{class:"top-right border-item"},null,-1)),pf=ft(()=>a.createElementVNode("div",{class:"bottom-left border-item"},null,-1)),bf=ft(()=>a.createElementVNode("div",{class:"bottom-right border-item"},null,-1)),vf={class:"title-item"},Sf=["src"],wf={class:"title"},Cf=["src"],Af=ft(()=>a.createElementVNode("div",{class:"top-left border-item"},null,-1)),kf=ft(()=>a.createElementVNode("div",{class:"top-right border-item"},null,-1)),Tf=ft(()=>a.createElementVNode("div",{class:"bottom-left border-item"},null,-1)),Ef=ft(()=>a.createElementVNode("div",{class:"bottom-right border-item"},null,-1)),Bf={key:2,class:"left-title"},_f={class:"title"};function Df(e,n,t,o,r,i){return a.openBlock(),a.createElementBlock("div",{class:"ecan-border",style:a.normalizeStyle({...e.style,...e.gradientStyle,...e.borderRadiusStyle,...e.cursorStyle}),onClick:n[0]||(n[0]=(...s)=>e.click&&e.click(...s)),id:"container_"+e.id},[e.mode==="no-title"?(a.openBlock(),a.createElementBlock("div",{key:0,class:"no-title",style:a.normalizeStyle(e.borderStyle)},[e.useBorderModify?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[xf,yf,pf,bf],64)):a.createCommentVNode("",!0)],4)):a.createCommentVNode("",!0),e.mode==="top-title"?(a.openBlock(),a.createElementBlock("div",{key:1,class:"top-title",style:a.normalizeStyle(e.borderStyle)},[a.createElementVNode("div",{class:a.normalizeClass(["title-item-wrapper",e.titleMode])},[a.createElementVNode("div",vf,[a.createElementVNode("img",{class:a.normalizeClass(["title-decoration",e.titleMode]),src:e.titleLeftIcon},null,10,Sf),a.createElementVNode("div",wf,a.toDisplayString(e.title),1),a.createElementVNode("img",{class:a.normalizeClass(["title-decoration",e.titleMode]),src:e.titleRightIcon},null,10,Cf)])],2),Af,kf,Tf,Ef],4)):a.createCommentVNode("",!0),e.mode==="left-title"?(a.openBlock(),a.createElementBlock("div",Bf,[a.createElementVNode("div",_f,[a.createElementVNode("span",null,a.toDisplayString(e.title),1)])])):a.createCommentVNode("",!0)],12,mf)}const Wi=ce(se(gf,[["render",Df],["__scopeId","data-v-a6ae5d6a"]])),oa={...me,tabHorizontalPadding:"0px",type:"ecanTabs",name:"标签页",keyName:"标签页",width:"500px",height:"400px",tabFontSize:"14px",backgroundColor:"#ffffff",activeTabColor:"#1890ff",tabBackgroundImage:"",activeTabBackgroundImage:"",tabColor:"#333",tabBarGutter:"24px",tabFontWeight:400,value:"",activeKey:0,autoSwitch:!1,autoSwitchInterval:5,contains:[],tabFlexDirection:"row",data:[{title:"标签1"},{title:"标签2"},{title:"标签3"}],tabAlignItems:"flex-start",tabJustifyContent:"flex-start",tabType:"tabs"},aa=de(oa),$i=["tabChange"],Rf=a.defineComponent({name:"EcanTabs",props:{...aa},components:{ASelect:ne.Select,ASelectOption:ne.SelectOption},setup(e){const n=ue(e),t=a.ref(0);a.watch(()=>e.activeKey,u=>{t.value=u},{immediate:!0});const{pageMode:o}=a.inject(Ie,{pageMode:"normal"});let r=null;const i=()=>{const u=Array.isArray(a.unref(s))?a.unref(s).length-1:0;e.autoSwitch&&u>0&&(r=setInterval(()=>{const g=a.unref(t)+1;g<=u?t.value=g:t.value=0,l.value=a.unref(s)[a.unref(t)],x()},e.autoSwitchInterval*1e3))};a.onMounted(()=>{a.unref(o)!=="design"&&i()}),a.onBeforeUnmount(()=>{clearInterval(r)});const s=a.ref([]),l=a.ref({});a.watch(()=>e.data,u=>{s.value=u,l.value=Array.isArray(u)&&u.length>0?u[0]:{}},{immediate:!0,deep:!0});const f=u=>t.value===u,c=be(e),{setGlobalModel:d}=a.inject(Ce,{setGlobalModel:(u,g)=>{}});d(e.id,{value:l,activeKey:t});const{emitRefreshPage:x}=a.inject(Nt,{emitRefreshPage:()=>{}}),h=c("tabChange",(u,g)=>{g!==a.unref(t)&&(l.value=u,t.value=g,x())});return ke(e,{tabChange:h}),{style:n,activeKey:t,isActive:f,tabChange:h,myData:s,useImagePath:mt}}}),I1="",If=["id"],Of=["onClick"];function Lf(e,n,t,o,r,i){const s=a.resolveComponent("a-select-option"),l=a.resolveComponent("a-select");return a.openBlock(),a.createElementBlock("div",{class:"ecan-tabs",style:a.normalizeStyle(e.style),id:"container_"+e.id},[a.createElementVNode("div",{class:"tabs-header",style:a.normalizeStyle({fontSize:e.tabFontSize,alignItems:e.tabAlignItems,justifyContent:e.tabJustifyContent,flexDirection:e.tabFlexDirection})},[e.tabType==="tabs"?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(e.myData,(f,c)=>(a.openBlock(),a.createElementBlock("div",{class:"tab",style:a.normalizeStyle({padding:`5px ${e.tabHorizontalPadding}`,color:e.isActive(c)?e.activeTabColor:e.tabColor,backgroundImage:e.isActive(c)?e.useImagePath(e.activeTabBackgroundImage,!0):e.useImagePath(e.tabBackgroundImage,!0),marginRight:e.tabFlexDirection==="row"?e.tabBarGutter:null,marginBottom:e.tabFlexDirection==="column"?e.tabBarGutter:null,fontWeight:e.tabFontWeight}),key:c,onClick:a.withModifiers(d=>e.tabChange(f,c),["prevent","stop"])},[a.createElementVNode("div",{class:"tab-inner",style:a.normalizeStyle({borderBottom:!e.activeTabBackgroundImage&&!e.tabBackgroundImage?`1px solid ${e.isActive(c)?e.activeTabColor:"transparent"}`:""})},a.toDisplayString(f.title),5)],12,Of))),128)):e.tabType==="select"?(a.openBlock(),a.createBlock(l,{key:1,value:e.activeKey,style:{width:"120px"}},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.myData,(f,c)=>(a.openBlock(),a.createBlock(s,{key:c,value:c,onClick:d=>e.tabChange(f,c)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(f.title),1)]),_:2},1032,["value","onClick"]))),128))]),_:1},8,["value"])):a.createCommentVNode("",!0)],4)],12,If)}const Zi=ce(se(Rf,[["render",Lf],["__scopeId","data-v-d3cb500d"]])),ra={...me,name:"图片",keyName:"图片",type:"ecanImage",width:"300px",height:"300px",imgUrl:"",target:"self",href:"",linkPage:"",data:{}},ia=de(ra),Yi=["click"],Nf=a.defineComponent({name:"EcanImage",props:{...ia},setup(e){const n=ue(e),t=a.computed(()=>mt(e.imgUrl)),{pageMode:o}=a.inject(Ie,{pageMode:"normal"}),{getGlobalModel:r,setGlobalModel:i}=a.inject(Ce,{getGlobalModel:f=>{},setGlobalModel:(f,c)=>{}}),l=be(e)("click",()=>{const f=r(e.id);if(i(e.id,{...f,RECORD:e.data||{}}),setTimeout(()=>{i(e.id,{...f,RECORD:{}})},0),!e.linkPage&&!e.href)return;const c=e.linkPage||"",d=$r(a.unref(o),c),x=e.href;let h=x||d;h=Se(h);const u=e.target;u&&(u!=="event"?window.open(h,"_"+u):window.parent.postMessage({type:"openPage",url:x},"*"))});return ke(e,{click:l}),{style:n,myImgUrl:t,onClick:l}}}),L1="",Mf=["src"];function zf(e,n,t,o,r,i){return e.myImgUrl!==""?(a.openBlock(),a.createElementBlock("img",{key:0,style:a.normalizeStyle(e.style),src:e.myImgUrl,onClick:n[0]||(n[0]=(...s)=>e.onClick&&e.onClick(...s))},null,12,Mf)):(a.openBlock(),a.createElementBlock("div",{key:1,class:"image-placeholder",style:a.normalizeStyle(e.style)}," 请上传图片 ",4))}const Ki=ce(se(Nf,[["render",zf],["__scopeId","data-v-3665dde7"]])),la={...me,name:"网页",keyName:"网页",type:"ecanIframe",width:"300px",height:"300px",link:"",linkType:"web"},sa=de(la),Ff=a.defineComponent({name:"EcanIframe",props:{...sa},setup(e){const n=ue(e),{contextRequestUrl:t}=a.inject(Ie,{contextRequestUrl:""}),o=a.computed(()=>{let r=Se(e.link);if(e.linkType==="erd"&&r!=null){let i=a.unref(t);i[i.length-1]==="/"?i+="erdReport":i+="/erdReport",r=`${Hl||i}?_t=0&uid=${r}`}return r});return{style:n,myLink:o}}}),M1="",Pf=["src"];function Hf(e,n,t,o,r,i){return e.myLink?(a.openBlock(),a.createElementBlock("iframe",{key:0,src:e.myLink,style:a.normalizeStyle(e.style)},null,12,Pf)):(a.openBlock(),a.createElementBlock("div",{key:1,class:"iframe-placeholder",style:a.normalizeStyle(e.style)}," 请填写网页链接 ",4))}const Xi=ce(se(Ff,[["render",Hf],["__scopeId","data-v-19bc100c"]])),ca={...me,zIndex:2,name:"表格",keyName:"表格",type:"ecanTable",width:"400px",height:"240px",bordered:!1,headerFontSize:"14px",fontSize:"14px",isUseSeq:!1,size:"default",headerFontWeight:400,isUseExport:!1,fontWeight:400,columnsFixedNum:0,scrollX:0,paginationShow:!0,isReverse:!1,simple:!1,pageSizeShow:!1,cellBackgroundColor:"",headerBackgroundColor:"",borderColor:"",paginationPosition:"bottomRight",paginationPageSize:10,isUseAction:!1,clickHighlight:!1,filterDropdownHeight:"200px",actionList:[{title:"",href:"",target:"",color:""}],actionColumnWidth:100,columns:[{title:"姓名",dataIndex:"name"},{title:"年龄",dataIndex:"age"},{title:"住址",dataIndex:"address"}],data:[{name:"小明",age:32,address:"福州软件园"},{name:"小红",age:25,address:"福州软件园"}],graphicConfig:{},stripedShow:!1,stripedColor:"#fafafa",isGroupTable:!1,seqWidth:"10%",isSummaryFixed:!1,isPageBottom:!1,isShowTotal:!1},fa=de(ca),Qi=["click","refreshData","resetRecord","exportTableData"],da=a.defineComponent({name:"EcanTable",components:{Skeleton:jt,AButton:ne.Button,AInput:ne.Input,ACheckboxGroup:ne.CheckboxGroup,ATable:ne.Table,ATableSummary:ne.TableSummary,ATableSummaryRow:ne.TableSummaryRow,ATableSummaryCell:ne.TableSummaryCell},props:{...fa},setup(e,{expose:n}){const t=a.ref(!1),o=Ge.cloneDeep(e.columns),r=a.ref(),i=a.ref(!1),s=ue(e),l=a.ref([]),f=a.computed(()=>e.scrollX),c=a.ref(0),d=()=>{let G=0;switch(e.size){case"small":G=50;break;case"middle":G=53;break;default:G=65;break}return G};a.watchEffect(()=>{var G;(G=l.value)!=null&&G.length&&e.height&&a.nextTick(()=>{let U=parseFloat(e.height);const W=document.querySelector(`#ecanTable-${e.id} .ant-table-tbody`),X=document.querySelector(`#ecanTable-${e.id} thead.ant-table-thead`),Q=document.querySelector(`#ecanTable-${e.id} .ant-table-summary`);let ee=0;if(X&&(U-=(X==null?void 0:X.clientHeight)||0),Q&&e.isSummaryFixed&&(ee=(Q==null?void 0:Q.clientHeight)||0,U-=ee),e.paginationShow){let J=0;J=d(),J&&(U-=J)}(W==null?void 0:W.clientHeight)>U?c.value=U:c.value=0,a.nextTick(()=>{if(ee){const J=document.querySelector(`#ecanTable-${e.id} .ant-table-summary`),ie=(J==null?void 0:J.clientHeight)||0;ee!==ie&&a.unref(c)&&(c.value=U+ee-ie)}})})});const x=a.ref([]),h=a.ref([]),u=a.ref([]),g=a.ref(0),m=a.ref(1),w=a.ref(e.paginationPageSize||10),T=a.reactive([]),y=(G=[])=>{if(Array.isArray(G)&&G.length>0){const U=G.length,W=e.columnsFixedNum;e.dataType==="indicator"&&(o!=null&&o.length)&&G.forEach((X,Q)=>{if(o[Q])for(const ee in o[Q])["dataIndex","title"].includes(ee)||(X[ee]=o[Q][ee])});for(let X=0;X<U;X++){const Q=G[X];X<W?Q.fixed="left":Q.fixed=!1;const{cellAlign:ee="center",cellColor:J,dataIndex:ie,title:ye,tableFilter:pe,headerCellAlign:Fe,headerCellColor:Re}=Q;pe&&(T.push(ie),Q.filterOptionsInputValue="",Q.filterCheckboxGroupValue=[],Q.customFilterDropdown=!0,Q.onFilter=(Be,zt)=>zt[ie].toString().toLowerCase().includes(Be.toLowerCase())),Q.customHeaderCell=()=>({style:{display:"table-cell",verticalAlign:"middle",fontSize:e.headerFontSize,fontWeight:e.headerFontWeight,textAlign:Fe||"center",color:Re,borderBottomColor:e.borderColor}}),Q.customCell=(Be,zt)=>({style:{textAlign:ee,color:J,backgroundColor:e.cellBackgroundColor,borderBottomColor:e.borderColor},class:{highlight:a.unref(O)===zt&&e.clickHighlight},onClick:q("click",()=>{const Ft=e.id,nn=F(Ft);Be={dataIndex:ie,title:ye,...Be},H(Ft,{...nn,RECORD:Be})})}),Array.isArray(Q.children)&&y(Q.children)}}},p=(G=[])=>(e.isUseSeq&&G.unshift({title:"序号",dataIndex:"SEQ",align:"center",width:e.seqWidth}),e.isUseAction&&G.push({title:"操作",dataIndex:"ACTION",width:e.actionColumnWidth}),y(G),G);a.watch(w,()=>{m.value=1,N(!1)}),a.watch(r,G=>{i.value=!!G}),a.watch(()=>[e.columns,e.isUseSeq,e.seqWidth,e.isUseAction,e.columnsFixedNum,e.actionColumnWidth,e.cellBackgroundColor,e.borderColor,e.stripedColor],()=>{x.value=p(Ge.cloneDeep(e.columns))},{immediate:!0,deep:!0}),a.watch(()=>[e.data,e.dataType],([G,U])=>{U==="static"&&(h.value=G)},{immediate:!0});const b=a.ref({}),k=G=>{if(Array.isArray(G)){const U=G.length,W=T,X=W.length,Q={};for(let J=0;J<U;J++){const ie=G[J];for(let ye=0;ye<X;ye++){const pe=W[ye];if(Q[pe])Q[pe].add(ie[pe]);else{const Fe=new Set;Fe.add(ie[pe]),Q[pe]=Fe}}}const ee={};for(const J in Q)if(Object.prototype.hasOwnProperty.call(Q,J)){const ie=Q[J],ye=Array.from(ie);ee[J]=ye.map(pe=>({label:pe,value:pe}))}b.value=ee}};a.watch(()=>[e.isReverse,x.value,h.value],()=>{const G=a.unref(x),U=a.unref(h);if(k(U),e.isReverse){const{columns:W,dataSource:X}=v(Ge.cloneDeep(G),Ge.cloneDeep(U));u.value=W,l.value=X}else u.value=G,l.value=U},{immediate:!0});const v=(G,U)=>{const W=G[0],X=[{title:W.title,dataIndex:"col0",key:"col0",align:"center"}];for(let ee=0;ee<U.length;ee++){const J=U[ee],ie="col"+(ee+1);X.push({title:J[W.dataIndex],dataIndex:ie,key:ie,align:"center"})}const Q=[];for(let ee=1;ee<G.length;ee++){const J=G[ee],ie={col0:J.title};for(let ye=0;ye<U.length;ye++){const pe=U[ye];ie[`col${ye+1}`]=pe[J.dataIndex]}Q.push(ie)}return{columns:X,dataSource:Q}},C=a.ref(""),A=Oe(e),_=async(G=!0,U={})=>{var W;try{G&&(t.value=!0),a.unref(C)&&(U.orderCondition=a.unref(C)),e.paginationShow&&(U={pageNum:a.unref(m),pageSize:a.unref(w)||"10",layer:"1",...U});const X=await A(U),{rows:Q=[],total:ee=0}=((W=X==null?void 0:X.data)==null?void 0:W.data)||{};if(g.value=ee,Array.isArray(Q)&&(h.value=Q),window.config.routerBaseURL.includes("1523545080925487106")){const{requestParams:J=[]}=e,ie=J.find(ye=>ye.key==="dataSqlId");if((ie==null?void 0:ie.value)==="xt_jxzebg"){const ye=Q.filter(pe=>!pe.绩效总额).map(pe=>pe.ORG_NAME);ye!=null&&ye.length&&a.nextTick(()=>{ne.notification.warning({message:"提示",description:`当前时段${ye.join("、")}绩效数据为空`,duration:3})})}}}catch(X){console.error(X)}finally{t.value=!1}},S=({current:G},U,W)=>{if(m.value=G,W&&Object.keys(W).length>0){const{field:X,order:Q}=W,J={ascend:"asc",descend:"desc"}[Q];X!=null&&J!=null&&(C.value=X+" "+J)}N(!1)},E=a.computed(()=>{const G=e.simple,U=[e.paginationPosition],W={};return e.isShowTotal&&(W.showTotal=X=>`共 ${X} 条数据`),e.paginationShow&&{simple:G,position:U,total:a.unref(g),current:a.unref(m),pageSize:a.unref(w)||"10",showSizeChanger:!1,...W}}),R=G=>+G==1?"是":+G==0?"否":G,B=(G,U)=>{const{format:W,retentiondigit:X,customFormatter:Q}=U;if(W==null||W==="")return G;const ee={money:so,percentage:en,contrast:en,boolean:R,decimals:Zs,custom:Ys};return W==="decimals"?ee[W](G,X)||"":W==="custom"?ee[W](G,Q)||"":ee[W](G)||""},P=(G,U)=>{const W=parseFloat(G+"");if(U!=="contrast")return"";switch(!0){case W>=0:return"goUp";case W<0:return"goDown"}},q=be(e),{getGlobalModel:F,setGlobalModel:H}=a.inject(Ce,{getGlobalModel:G=>{},setGlobalModel:(G,U)=>{}}),D=(G=[],U=[])=>{const W=G.map(X=>({title:X,dataIndex:X,key:X}));x.value=p(W),h.value=U},I=Ke(e),z=async(G=!0)=>{var U,W,X,Q;try{G&&(t.value=!0);const ee=a.unref(C).split(" "),J=await I({sort:{order:ee[1],field:ee[0]}});D((W=(U=J==null?void 0:J.data)==null?void 0:U.data)==null?void 0:W.columns,(Q=(X=J==null?void 0:J.data)==null?void 0:X.data)==null?void 0:Q.rows)}catch(ee){console.error(ee)}finally{t.value=!1}},O=a.ref(-1),L=(G,U)=>({onClick:q("rowClick",()=>{const W=e.id,X=F(W);H(W,{...X,RECORD:G}),O.value=U})}),N=(G=!0)=>{switch(e.dataType){case"request":_(G);break;case"indicator":z(G);break}},M=()=>{const G=e.id,U=F(G);H(G,{...U,RECORD:""})},Z=a.computed(()=>{const G=a.unref(u),U=[];let W=0;for(let ee=0;ee<G.length;ee++){const J=G[ee],{isCalcTotal:ie}=J;e.isUseSeq&&ee===0?U.push({...J,total:"小计"}):ie?(U.push({...J,index:ee,total:0}),W++):U.push({...J})}if(W===0)return[];const X=a.unref(l),Q=$(U);for(let ee=0;ee<Q.length;ee++){const J=Q[ee];let ie=0;const{isCalcTotal:ye,dataIndex:pe}=J;if(ye===!0){for(let Fe=0;Fe<X.length;Fe++){const Be=+X[Fe][pe];isNaN(Be)||(ie=new b0.Big(ie).add(Be).toNumber())}J.total=ie}}return Q});function $(G){var W;const U=[];for(const X of G)(W=X.children)!=null&&W.length?U.push(...$(X.children)):U.push(X);return U}const{setRequest:K}=a.inject(_e,{setRequest:G=>{}});typeof K=="function"&&K({id:e.id,requestFn:N,sortNum:e.requestSort}),n({refreshData:N});const Y=(G="",U)=>Se(G,U),ae=G=>{if(G!=="event")return{self:"_self",blank:"_blank"}[G]},fe=(G,U="")=>{G==="event"&&window.parent.postMessage({type:"openPage",url:U},"*")},Te=(G,U)=>{G(U.filterCheckboxGroupValue)},Ee=(G,U)=>{G({confirm:!0}),U.filterOptionsInputValue="",U.filterCheckboxGroupValue=[]},xe=()=>{},he=G=>{const U=G.dataIndex;if(typeof U=="string"){let W=a.unref(b)[U];const X=a.unref(G.filterOptionsInputValue).trim();return Array.isArray(W)?(W=W.filter(Q=>typeof Q.label=="string"?Q.label.toLowerCase().includes(X.toLowerCase()):!0),W):[]}return[]},Le=async()=>{var pe,Fe;const G="EXPORT_KEY";ne.message.loading({key:G,content:"正在导出...",duration:0});let U=[];if(e.dataType==="static")U=e.data;else if(e.dataType==="request"){const Re={layer:"1"};a.unref(C)&&(Re.orderCondition=a.unref(C));const Be=await A(Re);U=((Fe=(pe=Be==null?void 0:Be.data)==null?void 0:pe.data)==null?void 0:Fe.rows)||{}}const W=a.unref(u),X=[],Q=[];W==null||W.forEach(Re=>{X.push(Re.dataIndex),Q.push(Re.title)});const ee=U.map(Re=>Ge.pick(Re,X)),J=Rt.utils.book_new(),ie=Rt.utils.aoa_to_sheet([Q]),ye=Rt.utils.sheet_add_json(ie,ee,{skipHeader:!0,origin:"A2"});Rt.utils.book_append_sheet(J,ye,"sheet"),Rt.writeFile(J,"表格数据.xlsx"),ne.message.success({key:G,content:"导出成功"})},Ve=(G,U=2)=>{const W=+G*100;return isNaN(W)||W<=0?0:W>=100?100:W.toFixed(U)};ke(e,{resetRecord:M,refreshData:N,exportTableData:Le});const Ne=a.computed(()=>e.headerBackgroundColor||"#fafafa"),Me=(G,U)=>{let W=null;return e.stripedShow&&(W=U%2===1?"table-striped":null),W},nt=a.computed(()=>{let G=0;const{height:U,isPageBottom:W}=e;return W&&U&&(G=parseFloat(U)-d()),G?G+"px":"100%"});return{x:f,y:c,style:s,customRow:L,pagination:E,formatFn:B,contrastClass:P,tableChange:S,summaryList:Z,loading:t,onTouchHrefEvent:fe,handleHref:Y,handleHrefTarget:ae,useRowIndex:O,tableColumns:u,tableDataSource:l,useFilterOptions:he,useSetSelectedKeys:Te,onResetFilter:Ee,onSearchFilterOptions:xe,exportTableData:Le,handleProgressText:Ve,pageSizeVisible:i,pageSize:w,tableRef:r,headerBgColor:Ne,rowClassName:Me,tableHeight:nt}}}),Ji=()=>{a.useCssVars(e=>({"1c638fd3":e.headerBgColor,"34851aaa":e.stripedColor}))},e0=da.setup;da.setup=e0?(e,n)=>(Ji(),e0(e,n)):Ji;const F1="",P1="",qf=["id"],Vf={key:0,class:"table-tool"},jf=a.createTextVNode("导出数据"),Gf=a.createTextVNode(" 搜索 "),Uf=a.createTextVNode(" 重置 "),Wf={key:0},$f={key:1,class:"action-list"},Zf=["href","target","onClick"],Yf={key:2,class:"progress-cell"},Kf={class:"ant-pagination-options-quick-jumper"},Xf=a.createTextVNode(" 条 / 页 ");function Qf(e,n,t,o,r,i){const s=a.resolveComponent("a-button"),l=a.resolveComponent("a-input"),f=a.resolveComponent("a-checkbox-group"),c=a.resolveComponent("a-table-summary-cell"),d=a.resolveComponent("a-table-summary-row"),x=a.resolveComponent("a-table-summary"),h=a.resolveComponent("a-table"),u=a.resolveComponent("skeleton");return a.openBlock(),a.createElementBlock("div",{class:"ecan-table",id:"ecanTable-"+e.id,style:a.normalizeStyle(e.style)},[a.createVNode(u,{loading:e.loading},{default:a.withCtx(()=>{var g;return[e.isUseExport?(a.openBlock(),a.createElementBlock("div",Vf,[a.createVNode(s,{class:"export-button",onClick:e.exportTableData},{default:a.withCtx(()=>[jf]),_:1},8,["onClick"])])):a.createCommentVNode("",!0),a.createVNode(h,{ref:"tableRef",class:"table",style:a.normalizeStyle({height:e.tableHeight}),columns:e.tableColumns,"data-source":e.tableDataSource,bordered:e.bordered,size:e.size,customRow:e.customRow,scroll:e.y?{x:e.x,y:e.y}:{},pagination:e.pagination,"row-class-name":e.rowClassName,onChange:e.tableChange},{customFilterDropdown:a.withCtx(({column:m,selectedKeys:w,setSelectedKeys:T,confirm:y,clearFilters:p})=>[a.createElementVNode("div",{class:"ecan-table-filter",style:a.normalizeStyle({height:e.filterDropdownHeight})},[a.createVNode(l,{value:m.filterOptionsInputValue,"onUpdate:value":b=>m.filterOptionsInputValue=b,placeholder:"请输入关键字",class:"filter-input",onChange:e.onSearchFilterOptions},null,8,["value","onUpdate:value","onChange"]),a.createVNode(f,{value:m.filterCheckboxGroupValue,"onUpdate:value":b=>m.filterCheckboxGroupValue=b,class:"filter-checkbox",options:e.useFilterOptions(m),onChange:b=>e.useSetSelectedKeys(T,m)},null,8,["value","onUpdate:value","options","onChange"]),a.createElementVNode("div",null,[a.createVNode(s,{type:"primary",size:"small",style:{width:"90px","margin-right":"8px"},onClick:()=>y()},{default:a.withCtx(()=>[Gf]),_:2},1032,["onClick"]),a.createVNode(s,{size:"small",style:{width:"90px"},onClick:a.withModifiers(b=>e.onResetFilter(p,m),["stop"])},{default:a.withCtx(()=>[Uf]),_:2},1032,["onClick"])])],4)]),bodyCell:a.withCtx(({column:m,index:w,text:T,record:y})=>[m.dataIndex==="SEQ"?(a.openBlock(),a.createElementBlock("span",Wf,a.toDisplayString(w+1),1)):m.dataIndex==="ACTION"?(a.openBlock(),a.createElementBlock("div",$f,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.actionList,(p,b)=>(a.openBlock(),a.createElementBlock("div",{class:"action",key:b},[a.createElementVNode("a",{href:e.handleHref(p.href,y),target:e.handleHrefTarget(p.target),style:a.normalizeStyle({color:p.color,fontSize:e.fontSize,fontWeight:e.fontWeight}),onClick:k=>e.onTouchHrefEvent(p.target,e.handleHref(p.href,y))},a.toDisplayString(p.title),13,Zf)]))),128))])):m.format==="progress"?(a.openBlock(),a.createElementBlock("div",Yf,[a.createElementVNode("div",{class:"progress",style:a.normalizeStyle({background:m.progressColor||"#1890ff",height:m.progressWidth||"18px",width:`${e.handleProgressText(T,m.progressTextDecimalPlaces)}%`})},null,4),a.createElementVNode("div",{class:"progress-text",style:a.normalizeStyle({color:+e.handleProgressText(T)<100?m.progressTextColor||"#333":m.progressFinishedTextColor||"#fff"})},a.toDisplayString(e.handleProgressText(T,m.progressTextDecimalPlaces))+"% ",5)])):(a.openBlock(),a.createElementBlock("div",{key:3,class:a.normalizeClass([e.contrastClass(T,m.format)]),style:a.normalizeStyle({fontSize:e.fontSize,fontWeight:e.fontWeight})},a.toDisplayString(m.format!=null?e.formatFn(T,m):T),7))]),summary:a.withCtx(()=>[e.summaryList.length>0?(a.openBlock(),a.createBlock(x,{key:0,fixed:e.isSummaryFixed},{default:a.withCtx(()=>[a.createVNode(d,null,{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.summaryList,(m,w)=>(a.openBlock(),a.createBlock(c,{key:w,index:w,style:a.normalizeStyle({backgroundColor:e.cellBackgroundColor,textAlign:m.cellAlign||"center",color:m.cellColor,borderBottomColor:e.borderColor})},{default:a.withCtx(()=>[a.createElementVNode("div",{class:a.normalizeClass([e.contrastClass(m.total,m.format)]),style:a.normalizeStyle({fontSize:e.fontSize,fontWeight:e.fontWeight})},a.toDisplayString((m.format!=null||m.format!=="")&&e.formatFn(m.total,m)),7)]),_:2},1032,["index","style"]))),128))]),_:1})]),_:1},8,["fixed"])):a.createCommentVNode("",!0)]),_:1},8,["style","columns","data-source","bordered","size","customRow","scroll","pagination","row-class-name","onChange"]),(g=e.tableDataSource)!=null&&g.length&&!e.simple&&e.pageSizeShow&&e.pageSizeVisible?(a.openBlock(),a.createBlock(a.Teleport,{key:1,to:"#ecanTable-"+e.id+" .ant-pagination"},[a.createElementVNode("div",Kf,[a.withDirectives(a.createElementVNode("input",{type:"text","onUpdate:modelValue":n[0]||(n[0]=m=>e.pageSize=m)},null,512),[[a.vModelText,e.pageSize]]),Xf])],8,["to"])):a.createCommentVNode("",!0)]}),_:1},8,["loading"])],12,qf)}const t0=ce(se(da,[["render",Qf],["__scopeId","data-v-d409167a"]])),ua={...me,mapJson:null,data:[],name:"地图",keyName:"地图",type:"ecanMap",width:"400px",height:"400px",backgroundImage:"",backgroundImageRepeat:"no-repeat",geoBackgroundImage:"",geoBackgroundImageRepeat:"no-repeat",symbolImage:"",symbolWidth:10,symbolHeight:10,itemStyleColor:"#11BFDA",labelFontSize:14,labelShow:!0,geoLabelShow:!0,geoLabelColor:"#000",geoZoom:1,geoRoam:!1,geoCenter:"",geoLabelFontSize:12,labelColor:"",labelFormatter:"{b}",geoItemStyleAreaColor:"#eee",geoItemStyleBorderColor:"#000",geoItemStyleBorderWidth:1,geoItemStyleShadowColor:"",geoItemStyleShadowOffsetX:0,geoItemStyleShadowOffsetY:0,geoItemStyleShadowBlur:0,geoEmphasisDisabled:!1,geoEmphasisLabelColor:"#fff",geoEmphasisItemStyleAreaColor:"#f00",geoEmphasisItemStyleBorderColor:"#000",tooltipShow:!0,tooltipTextStyleColor:"",tooltipFormatter:"{name}:{value}",tooltipRequestData:{requestUrl:"",requestMethod:"get",requestParams:[]},tooltipBackgroundColor:"#fff"},ha=de(ua),n0=["click"];Pe.use([ut.CanvasRenderer,Qe.MapChart,Qe.ScatterChart,ge.VisualMapComponent,ge.TooltipComponent,ge.GraphicComponent]);const Jf=a.defineComponent({name:"EcanMap",components:{Echarts:ot},props:{...ha},setup(e){const n=Oe(e),t=Oe({...e.tooltipRequestData,requestHeaders:{}}),o=a.ref(),r=a.ref(""),i=a.ref(""),s=ue(e,["backgroundImage"]),l=a.ref(),f=a.computed(()=>mt(e.geoBackgroundImage)),c=a.computed(()=>mt(e.backgroundImage)),d=a.computed(()=>e.geoBackgroundImage?{image:a.unref(l),repeat:e.geoBackgroundImageRepeat}:e.geoItemStyleAreaColor),x=a.computed(()=>{const B=e.symbolImage;return e.symbolImage?"image://"+mt(B):"circle"}),h=B=>{let P=e.tooltipFormatter;const q=P.match(/\{(.+?)\}/g);if(q==null||q.length===0)return P;for(let F=0;F<q.length;F++){const H=q[F];let D=H.slice(1,-1).trim();const I=/[\u4e00-\u9fa5a-z-_A-Z0-9]*/g,z=D.match(I);for(let O=0;O<z.length;O++){const L=z[O],N=B[L];N!=null&&(D=D.replace(L,N))}P=P.replace(H,D)}return P.split(`
118
118
  `)},u=a.ref(!1),g=a.ref("");let m=new AbortController;const w=(B,P)=>{const q=m.signal;u.value=!0,r.value=B,t({name:B,signal:q}).then(F=>{var H,D;if(F){const I=((D=(H=F==null?void 0:F.data)==null?void 0:H.data)==null?void 0:D.rows)||[];let z="";for(const O of I){const L=h(O)||[];if(L!=null&&L.length)for(const N of L)z+=`<div style="word-break: break-all;white-space: normal;">${N}</div>`}z=`<div style="max-width:200px;">${z}</div>`,i.value=z,P(a.unref(g),z)}else q.aborted?i.value="Loading":i.value=B,P(a.unref(g),i.value);u.value=!1})},T=a.computed(()=>{const B=e.geoCenter;let P;return typeof B=="string"&&B!==""&&(P=B.split(",")),{tooltip:{show:!0},graphic:[{type:"image",style:{width:parseFloat(e.width),height:parseFloat(e.height),image:a.unref(c)},top:"center"}],geo:{zoom:e.geoZoom,roam:e.geoRoam,center:P,map:`map-${e.id}`,tooltip:{show:e.tooltipShow,trigger:"item",backgroundColor:e.tooltipBackgroundColor,borderColor:"transparent",textStyle:{color:e.tooltipTextStyleColor},formatter:(q,F,H)=>{g.value=F;const{name:D=""}=q,{requestUrl:I}=e.tooltipRequestData;if(!I)return D;if(a.unref(u))a.unref(r)!==D&&(m.abort(),m=new AbortController);else{if(a.unref(r)===D)return a.unref(i);w(D,H)}return"Loading"}},label:{show:e.geoLabelShow,color:e.geoLabelColor,fontSize:e.geoLabelFontSize},itemStyle:{areaColor:a.unref(d),borderColor:e.geoItemStyleBorderColor,borderWidth:e.geoItemStyleBorderWidth,shadowColor:e.geoItemStyleShadowColor,shadowBlur:e.geoItemStyleShadowBlur,shadowOffsetX:e.geoItemStyleShadowOffsetX,shadowOffsetY:e.geoItemStyleShadowOffsetY},emphasis:{disabled:e.geoEmphasisDisabled,label:{color:e.geoEmphasisLabelColor},itemStyle:{areaColor:e.geoEmphasisItemStyleAreaColor,borderColor:e.geoEmphasisItemStyleBorderColor}}},series:[{type:"scatter",coordinateSystem:"geo",itemStyle:{color:e.itemStyleColor},symbol:a.unref(x),symbolSize:[e.symbolWidth,e.symbolHeight],label:{show:e.labelShow,fontSize:e.labelFontSize,formatter:e.labelFormatter,color:e.labelColor},tooltip:{show:e.tooltipShow,textStyle:{color:e.tooltipTextStyleColor}},data:e.data}]}}),y=a.ref(!1),p=async()=>{var q;y.value=!1;const B=e.mapJson,P=`map-${e.id}`;if(B!=null&&B.path){const F=await Xe(((q=window==null?void 0:window.config)==null?void 0:q.uploadPath)+B.path);Pe.registerMap(P,(F==null?void 0:F.data)||{})}else Pe.registerMap(P,{});y.value=!0};a.watch(()=>e.mapJson,()=>{p()},{immediate:!0,deep:!0});const b=async()=>{var B,P;if(e.dataType==="request"){y.value=!1;try{const q=await n(),F=((P=(B=q==null?void 0:q.data)==null?void 0:B.data)==null?void 0:P.rows)||{},H=`map-${e.id}`;if(F!=null&&F.path){const D=await Xe(F.path);Pe.registerMap(H,(D==null?void 0:D.data)||{})}else Pe.registerMap(H,{})}catch(q){console.error(q)}finally{y.value=!0}}},k=()=>{switch(e.dataType){case"request":b();break}},{getGlobalModel:v,setGlobalModel:C}=a.inject(Ce,{getGlobalModel:B=>{},setGlobalModel:(B,P)=>{}}),_=be(e)("click",()=>{const B=v(e.id);C(e.id,{...B,RECORD:a.unref(o)})});ke(e,{refreshData:k});const{setRequest:S}=a.inject(_e,{setRequest:B=>{}});return typeof S=="function"&&S({id:e.id,requestFn:k,sortNum:e.requestSort}),{option:T,style:s,isLoadedData:y,geoBackgroundImageRef:l,myGeoBackgroundImage:f,customClick:()=>{a.unref(o)&&_()},onMouseOver:(B={})=>{B.componentType==="geo"&&B.region?o.value=B.region:o.value=null}}}}),q1="",ed=["src"];function td(e,n,t,o,r,i){const s=a.resolveComponent("echarts");return a.openBlock(),a.createElementBlock("div",{class:"ecan-map",style:a.normalizeStyle(e.style)},[e.isLoadedData?(a.openBlock(),a.createBlock(s,{key:0,option:e.option,"update-options":{notMerge:!0},autoresize:"","onZr:click":e.customClick,onMouseover:e.onMouseOver},null,8,["option","onZr:click","onMouseover"])):a.createCommentVNode("",!0),a.withDirectives(a.createElementVNode("img",{ref:"geoBackgroundImageRef",src:e.myGeoBackgroundImage},null,8,ed),[[a.vShow,!1]])],4)}const o0=ce(se(Jf,[["render",td],["__scopeId","data-v-10f150ac"]])),a0=Object.freeze(Object.defineProperty({__proto__:null,EcanBar:zi,EcanBorder:Wi,EcanButton:Si,EcanCheckbox:Ci,EcanComboGraph:Vi,EcanCustomGraph:Hi,EcanDatePicker:gi,EcanIframe:Xi,EcanImage:Ki,EcanInput:fi,EcanLine:Ni,EcanList:ii,EcanMap:o0,EcanModal:ct,EcanPageConfig:Zr,EcanPie:Oi,EcanProportion:si,EcanProviderConfig:Yr,EcanRadar:Gi,EcanRadio:_i,EcanRangePicker:bi,EcanScatter:Pi,EcanScrollText:ni,EcanSelect:ki,EcanTable:t0,EcanTabs:Zi,EcanText:ti,EcanTimeDisplay:ai,EcanTreeSelect:Ei,barComponentProps:Wo,barEvents:Mi,barProps:Uo,borderComponentProps:na,borderEvents:Ui,borderProps:ta,buttonComponentProps:Do,buttonEvents:vi,buttonProps:_o,checkboxComponentProps:Io,checkboxEvents:wi,checkboxProps:Ro,comboGraphComponentProps:Qo,comboGraphEvents:qi,comboGraphProps:Xo,customGraphComponentProps:Ko,customGraphProps:Yo,datePickerComponentProps:Ao,datePickerEvents:di,datePickerProps:Co,iframeComponentProps:sa,iframeProps:la,imageComponentProps:ia,imageEvents:Yi,imageProps:ra,inputComponentProps:wo,inputEvents:ci,inputProps:So,lineComponentProps:Go,lineEvents:Li,lineProps:jo,listComponentProps:po,listEvents:ri,listProps:yo,mapComponentProps:ha,mapEvents:n0,mapProps:ua,modalComponentProps:Vo,modalEvents:Ri,modalProps:qo,pageConfig:yn,pageConfigComponentProps:pn,pieComponentProps:Ho,pieEvents:Di,pieProps:Po,proportionComponentProps:vo,proportionEvents:li,proportionProps:bo,providerConfig:co,providerConfigComponentProps:fo,radarComponentProps:ea,radarEvents:ji,radarProps:Jo,radioComponentProps:Fo,radioEvents:Bi,radioProps:zo,rangePickerComponentProps:Eo,rangePickerEvents:mi,rangePickerProps:To,scatterComponentProps:Zo,scatterEvents:Fi,scatterProps:$o,selectComponentProps:Lo,selectEvents:Ai,selectProps:Oo,tableComponentProps:fa,tableEvents:Qi,tableProps:ca,tabsComponentProps:aa,tabsEvents:$i,tabsProps:oa,textComponentProps:ho,textEvents:Kr,textProps:uo,timeDisplayComponentProps:xo,timeDisplayEvents:oi,timeDisplayProps:mo,treeSelectComponentProps:Mo,treeSelectEvents:Ti,treeSelectProps:No},Symbol.toStringTag,{value:"Module"})),nd={install:e=>{Object.keys(a0).forEach(n=>{const t=a0[n];t.install&&e.use(t)})}};V.EcanBar=zi,V.EcanBorder=Wi,V.EcanButton=Si,V.EcanCheckbox=Ci,V.EcanComboGraph=Vi,V.EcanCustomGraph=Hi,V.EcanDatePicker=gi,V.EcanIframe=Xi,V.EcanImage=Ki,V.EcanInput=fi,V.EcanLine=Ni,V.EcanList=ii,V.EcanMap=o0,V.EcanModal=ct,V.EcanPageConfig=Zr,V.EcanPie=Oi,V.EcanProportion=si,V.EcanProviderConfig=Yr,V.EcanRadar=Gi,V.EcanRadio=_i,V.EcanRangePicker=bi,V.EcanScatter=Pi,V.EcanScrollText=ni,V.EcanSelect=ki,V.EcanTable=t0,V.EcanTabs=Zi,V.EcanText=ti,V.EcanTimeDisplay=ai,V.EcanTreeSelect=Ei,V.barComponentProps=Wo,V.barEvents=Mi,V.barProps=Uo,V.borderComponentProps=na,V.borderEvents=Ui,V.borderProps=ta,V.buttonComponentProps=Do,V.buttonEvents=vi,V.buttonProps=_o,V.checkboxComponentProps=Io,V.checkboxEvents=wi,V.checkboxProps=Ro,V.comboGraphComponentProps=Qo,V.comboGraphEvents=qi,V.comboGraphProps=Xo,V.compatibleMobileList=Ii,V.customGraphComponentProps=Ko,V.customGraphProps=Yo,V.datePickerComponentProps=Ao,V.datePickerEvents=di,V.datePickerProps=Co,V.default=nd,V.iframeComponentProps=sa,V.iframeProps=la,V.imageComponentProps=ia,V.imageEvents=Yi,V.imageProps=ra,V.inputComponentProps=wo,V.inputEvents=ci,V.inputProps=So,V.lineComponentProps=Go,V.lineEvents=Li,V.lineProps=jo,V.listComponentProps=po,V.listEvents=ri,V.listProps=yo,V.mapComponentProps=ha,V.mapEvents=n0,V.mapProps=ua,V.modalComponentProps=Vo,V.modalEvents=Ri,V.modalProps=qo,V.pageConfig=yn,V.pageConfigComponentProps=pn,V.pieComponentProps=Ho,V.pieEvents=Di,V.pieProps=Po,V.proportionComponentProps=vo,V.proportionEvents=li,V.proportionProps=bo,V.providerConfig=co,V.providerConfigComponentProps=fo,V.radarComponentProps=ea,V.radarEvents=ji,V.radarProps=Jo,V.radioComponentProps=Fo,V.radioEvents=Bi,V.radioProps=zo,V.rangePickerComponentProps=Eo,V.rangePickerEvents=mi,V.rangePickerProps=To,V.scatterComponentProps=Zo,V.scatterEvents=Fi,V.scatterProps=$o,V.selectComponentProps=Lo,V.selectEvents=Ai,V.selectProps=Oo,V.tableComponentProps=fa,V.tableEvents=Qi,V.tableProps=ca,V.tabsComponentProps=aa,V.tabsEvents=$i,V.tabsProps=oa,V.textComponentProps=ho,V.textEvents=Kr,V.textProps=uo,V.timeDisplayComponentProps=xo,V.timeDisplayEvents=oi,V.timeDisplayProps=mo,V.treeSelectComponentProps=Mo,V.treeSelectEvents=Ti,V.treeSelectProps=No,Object.defineProperties(V,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
119
119
  //# sourceMappingURL=index.umd.js.map