ray-template/assets/index-8aa18a3f.js
XiaoDaiGua-Ray d0f7646704 v4.1.8
2023-08-20 14:56:32 +08:00

2 lines
18 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{c as Ze,t as He}from"./lodash-es@4.17.21-b7de4195.js";import{s as qe}from"./pinia@2.1.4_typescript@5.0.2_vue@3.3.4-ab93b4ec.js";import{e as Ge,g as O,h as D,o as Xe,i as Je,j as Ke}from"./index-673f2769.js";import{c as Qe}from"./@vueuse_core@9.1.0_vue@3.3.4-3ed9a412.js";import{u as S,r as Ye,i as Ie,a as eo,b as oo,c as to,d as ao,e as ro,f as lo,g as io,h as so,j as co,k as no,l as uo,m as ho,n as bo,o as mo,p as fo,q as yo,s as po}from"./echarts@5.4.0-771a2ecd.js";import{k as j,A as go,m as w,v as So,f as Co,n as wo,t as xo,b as o,p as i}from"./@vue_runtime-core@3.3.4-073fad6e.js";import{k as f,h as Ao,v as ko}from"./@vue_reactivity@3.3.4-2b3a1c4e.js";import{V as $o,$ as x,g as vo,P as R,f as _}from"./naive-ui@2.34.4_vue@3.3.4-8a777692.js";import"./vue-demi@0.14.5_vue@3.3.4-71ba0ef2.js";import"./vue-router@4.2.4_vue@3.3.4-e93fe26b.js";import"./vue-i18n@9.2.2_vue@3.3.4-61e8862b.js";import"./@intlify_shared@9.2.2-e4047ebf.js";import"./@intlify_core-base@9.2.2-777854c2.js";import"./@intlify_message-compiler@9.2.2-8a818441.js";import"./@intlify_devtools-if@9.2.2-c61c979f.js";import"./dayjs@1.11.7-0fed7618.js";import"./@babel_runtime@7.22.6-47b11949.js";import"./@vue_runtime-dom@3.3.4-d86573ec.js";import"./@vue_shared@3.3.4-896c5ecf.js";import"./screenfull@6.0.2-b3e6dc1f.js";import"./pinia-plugin-persistedstate@3.1.0_pinia@2.1.4-4f3b1591.js";import"./clipboard@2.0.11-3174d29e.js";import"./date-fns@2.30.0-1707c6fa.js";import"./vueuc@0.4.51_vue@3.3.4-6588b5bd.js";import"./evtd@0.2.4-b614532e.js";import"./seemly@0.3.6-dc6f1e91.js";import"./@css-render_vue3-ssr@0.15.12_vue@3.3.4-24369cc5.js";import"./vooks@0.2.12_vue@3.3.4-59877c34.js";import"./vdirs@0.1.8_vue@3.3.4-4519c5fd.js";import"./@juggle_resize-observer@3.4.0-41516555.js";import"./css-render@0.15.12-57b1a53f.js";import"./@emotion_hash@0.8.0-8a8e73f6.js";import"./treemate@0.3.11-25c27bff.js";import"./date-fns-tz@1.3.8_date-fns@2.30.0-f45fcfa5.js";import"./async-validator@4.2.5-dee29e8b.js";import"./@css-render_plugin-bem@0.15.12_css-render@0.15.12-9dde7ffe.js";import"./@vueuse_shared@9.1.0_vue@3.3.4-e5bccb39.js";import"./zrender@5.4.0-c4155122.js";import"./tslib@2.3.0-54e39b60.js";const z=["#fc97af","#87f7cf","#f7f494","#72ccff","#f7c5a0","#d4a4eb","#d2f5a6","#76f2f2"],P="rgba(41,52,65,1)",M={},V={textStyle:{color:"#ffffff"},subtextStyle:{color:"#dddddd"}},U={itemStyle:{borderWidth:"4"},lineStyle:{width:"3"},symbolSize:"0",symbol:"circle",smooth:!0},N={itemStyle:{borderWidth:"4"},lineStyle:{width:"3"},symbolSize:"0",symbol:"circle",smooth:!0},Z={itemStyle:{barBorderWidth:0,barBorderColor:"#ccc"}},H={itemStyle:{borderWidth:0,borderColor:"#ccc"}},q={itemStyle:{borderWidth:0,borderColor:"#ccc"}},G={itemStyle:{borderWidth:0,borderColor:"#ccc"}},X={itemStyle:{borderWidth:0,borderColor:"#ccc"}},J={itemStyle:{borderWidth:0,borderColor:"#ccc"}},K={itemStyle:{borderWidth:0,borderColor:"#ccc"}},Q={itemStyle:{borderWidth:0,borderColor:"#ccc"}},Y={itemStyle:{color:"#fc97af",color0:"transparent",borderColor:"#fc97af",borderColor0:"#87f7cf",borderWidth:"2"}},I={itemStyle:{borderWidth:0,borderColor:"#ccc"},lineStyle:{width:"1",color:"#ffffff"},symbolSize:"0",symbol:"circle",smooth:!0,color:["#fc97af","#87f7cf","#f7f494","#72ccff","#f7c5a0","#d4a4eb","#d2f5a6","#76f2f2"],label:{color:"#293441"}},ee={itemStyle:{areaColor:"#f3f3f3",borderColor:"#999999",borderWidth:.5},label:{color:"#893448"},emphasis:{itemStyle:{areaColor:"rgba(255,178,72,1)",borderColor:"#eb8146",borderWidth:1},label:{color:"rgb(137,52,72)"}}},oe={itemStyle:{areaColor:"#f3f3f3",borderColor:"#999999",borderWidth:.5},label:{color:"#893448"},emphasis:{itemStyle:{areaColor:"rgba(255,178,72,1)",borderColor:"#eb8146",borderWidth:1},label:{color:"rgb(137,52,72)"}}},te={axisLine:{show:!0,lineStyle:{color:"#666666"}},axisTick:{show:!1,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#aaaaaa"},splitLine:{show:!1,lineStyle:{color:["#e6e6e6"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.05)","rgba(200,200,200,0.02)"]}}},ae={axisLine:{show:!0,lineStyle:{color:"#666666"}},axisTick:{show:!1,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#aaaaaa"},splitLine:{show:!1,lineStyle:{color:["#e6e6e6"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.05)","rgba(200,200,200,0.02)"]}}},re={axisLine:{show:!0,lineStyle:{color:"#666666"}},axisTick:{show:!1,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#aaaaaa"},splitLine:{show:!1,lineStyle:{color:["#e6e6e6"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.05)","rgba(200,200,200,0.02)"]}}},le={axisLine:{show:!0,lineStyle:{color:"#666666"}},axisTick:{show:!1,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#aaaaaa"},splitLine:{show:!1,lineStyle:{color:["#e6e6e6"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.05)","rgba(200,200,200,0.02)"]}}},ie={iconStyle:{borderColor:"#999999"},emphasis:{iconStyle:{borderColor:"#666666"}}},se={textStyle:{color:"#999999"}},ce={axisPointer:{lineStyle:{color:"#cccccc",width:1},crossStyle:{color:"#cccccc",width:1}}},ne={lineStyle:{color:"#87f7cf",width:1},itemStyle:{color:"#87f7cf",borderWidth:1},controlStyle:{color:"#87f7cf",borderColor:"#87f7cf",borderWidth:.5},checkpointStyle:{color:"#fc97af",borderColor:"#fc97af"},label:{color:"#87f7cf"},emphasis:{itemStyle:{color:"#f7f494"},controlStyle:{color:"#87f7cf",borderColor:"#87f7cf",borderWidth:.5},label:{color:"#87f7cf"}}},de={color:["#fc97af","#87f7cf"]},ue={backgroundColor:"rgba(255,255,255,0)",dataBackgroundColor:"rgba(114,204,255,1)",fillerColor:"rgba(114,204,255,0.2)",handleColor:"#72ccff",handleSize:"100%",textStyle:{color:"#333333"}},he={label:{color:"#293441"},emphasis:{label:{color:"#293441"}}},Fo={color:z,backgroundColor:P,textStyle:M,title:V,line:U,radar:N,bar:Z,pie:H,scatter:q,boxplot:G,parallel:X,sankey:J,funnel:K,gauge:Q,candlestick:Y,graph:I,map:ee,geo:oe,categoryAxis:te,valueAxis:ae,logAxis:re,timeAxis:le,toolbox:ie,legend:se,tooltip:ce,timeline:ne,visualMap:de,dataZoom:ue,markPoint:he},Wo=Object.freeze(Object.defineProperty({__proto__:null,backgroundColor:P,bar:Z,boxplot:G,candlestick:Y,categoryAxis:te,color:z,dataZoom:ue,default:Fo,funnel:K,gauge:Q,geo:oe,graph:I,legend:se,line:U,logAxis:re,map:ee,markPoint:he,parallel:X,pie:H,radar:N,sankey:J,scatter:q,textStyle:M,timeAxis:le,timeline:ne,title:V,toolbox:ie,tooltip:ce,valueAxis:ae,visualMap:de},Symbol.toStringTag,{value:"Module"})),be=["#2ec7c9","#b6a2de","#5ab1ef","#ffb980","#d87a80","#8d98b3","#e5cf0d","#97b552","#95706d","#dc69aa","#07a2a4","#9a7fd1","#588dd5","#f5994e","#c05050","#59678c","#c9ab00","#7eb00a","#6f5553","#c14089"],me="rgba(0,0,0,0)",fe={},ye={textStyle:{color:"#008acd"},subtextStyle:{color:"#aaaaaa"}},pe={itemStyle:{borderWidth:1},lineStyle:{width:2},symbolSize:3,symbol:"emptyCircle",smooth:!0},ge={itemStyle:{borderWidth:1},lineStyle:{width:2},symbolSize:3,symbol:"emptyCircle",smooth:!0},Se={itemStyle:{barBorderWidth:0,barBorderColor:"#ccc"}},Ce={itemStyle:{borderWidth:0,borderColor:"#ccc"}},we={itemStyle:{borderWidth:0,borderColor:"#ccc"}},xe={itemStyle:{borderWidth:0,borderColor:"#ccc"}},Ae={itemStyle:{borderWidth:0,borderColor:"#ccc"}},ke={itemStyle:{borderWidth:0,borderColor:"#ccc"}},$e={itemStyle:{borderWidth:0,borderColor:"#ccc"}},ve={itemStyle:{borderWidth:0,borderColor:"#ccc"}},Fe={itemStyle:{color:"#d87a80",color0:"#2ec7c9",borderColor:"#d87a80",borderColor0:"#2ec7c9",borderWidth:1}},We={itemStyle:{borderWidth:0,borderColor:"#ccc"},lineStyle:{width:1,color:"#aaa"},symbolSize:3,symbol:"emptyCircle",smooth:!0,color:["#2ec7c9","#b6a2de","#5ab1ef","#ffb980","#d87a80","#8d98b3","#e5cf0d","#97b552","#95706d","#dc69aa","#07a2a4","#9a7fd1","#588dd5","#f5994e","#c05050","#59678c","#c9ab00","#7eb00a","#6f5553","#c14089"],label:{color:"#eee"}},Ee={itemStyle:{areaColor:"#dddddd",borderColor:"#eeeeee",borderWidth:.5},label:{color:"#d87a80"},emphasis:{itemStyle:{areaColor:"rgba(254,153,78,1)",borderColor:"#444",borderWidth:1},label:{color:"rgb(100,0,0)"}}},Te={itemStyle:{areaColor:"#dddddd",borderColor:"#eeeeee",borderWidth:.5},label:{color:"#d87a80"},emphasis:{itemStyle:{areaColor:"rgba(254,153,78,1)",borderColor:"#444",borderWidth:1},label:{color:"rgb(100,0,0)"}}},Be={axisLine:{show:!0,lineStyle:{color:"#008acd"}},axisTick:{show:!0,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#333"},splitLine:{show:!1,lineStyle:{color:["#eee"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},Le={axisLine:{show:!0,lineStyle:{color:"#008acd"}},axisTick:{show:!0,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#333"},splitLine:{show:!0,lineStyle:{color:["#eee"]}},splitArea:{show:!0,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},Oe={axisLine:{show:!0,lineStyle:{color:"#008acd"}},axisTick:{show:!0,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#333"},splitLine:{show:!0,lineStyle:{color:["#eee"]}},splitArea:{show:!0,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},De={axisLine:{show:!0,lineStyle:{color:"#008acd"}},axisTick:{show:!0,lineStyle:{color:"#333"}},axisLabel:{show:!0,color:"#333"},splitLine:{show:!0,lineStyle:{color:["#eee"]}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.3)","rgba(200,200,200,0.3)"]}}},Re={iconStyle:{borderColor:"#2ec7c9"},emphasis:{iconStyle:{borderColor:"#18a4a6"}}},_e={textStyle:{color:"#333333"}},je={axisPointer:{lineStyle:{color:"#008acd",width:"1"},crossStyle:{color:"#008acd",width:"1"}}},ze={lineStyle:{color:"#008acd",width:1},itemStyle:{color:"#008acd",borderWidth:1},controlStyle:{color:"#008acd",borderColor:"#008acd",borderWidth:.5},checkpointStyle:{color:"#2ec7c9",borderColor:"#2ec7c9"},label:{color:"#008acd"},emphasis:{itemStyle:{color:"#a9334c"},controlStyle:{color:"#008acd",borderColor:"#008acd",borderWidth:.5},label:{color:"#008acd"}}},Pe={color:["#5ab1ef","#e0ffff"]},Me={backgroundColor:"rgba(47,69,84,0)",dataBackgroundColor:"#efefff",fillerColor:"rgba(182,162,222,0.2)",handleColor:"#008acd",handleSize:"100%",textStyle:{color:"#333333"}},Ve={label:{color:"#eee"},emphasis:{label:{color:"#eee"}}},Eo={color:be,backgroundColor:me,textStyle:fe,title:ye,line:pe,radar:ge,bar:Se,pie:Ce,scatter:we,boxplot:xe,parallel:Ae,sankey:ke,funnel:$e,gauge:ve,candlestick:Fe,graph:We,map:Ee,geo:Te,categoryAxis:Be,valueAxis:Le,logAxis:Oe,timeAxis:De,toolbox:Re,legend:_e,tooltip:je,timeline:ze,visualMap:Pe,dataZoom:Me,markPoint:Ve},To=Object.freeze(Object.defineProperty({__proto__:null,backgroundColor:me,bar:Se,boxplot:xe,candlestick:Fe,categoryAxis:Be,color:be,dataZoom:Me,default:Eo,funnel:$e,gauge:ve,geo:Te,graph:We,legend:_e,line:pe,logAxis:Oe,map:Ee,markPoint:Ve,parallel:Ae,pie:Ce,radar:ge,sankey:ke,scatter:we,textStyle:fe,timeAxis:De,timeline:ze,title:ye,toolbox:Re,tooltip:je,valueAxis:Le,visualMap:Pe},Symbol.toStringTag,{value:"Module"})),Bo=()=>{const e=Object.assign({"/src/components/RayChart/theme/macarons/macarons-dark.json":Wo,"/src/components/RayChart/theme/macarons/macarons.json":To}),y=/\/([^/]+)\.json$/;return Object.keys(e).reduce((s,u)=>{var b;const h=(b=u.match(y))==null?void 0:b[1];if(h)return s.push({name:h,theme:e[u].default}),s;throw new Error("theme name is not found")},[])},Lo=e=>Object.assign({},{text:"loading",color:"#c23531",textColor:"#000",maskColor:"rgba(255, 255, 255, 0.9)",zlevel:0,fontSize:12,showSpinner:!0,spinnerRadius:10,lineWidth:5,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif"},e),A=j({name:"RayChart",props:{width:{type:String,default:"100%"},height:{type:String,default:"100%"},autoResize:{type:[Boolean,Object],default:!0},canvasRender:{type:Boolean,default:!0},showAria:{type:Boolean,default:!1},options:{type:Object,default:()=>({})},onSuccess:{type:[Function,Array],default:null},onError:{type:[Function,Array],default:null},theme:{type:[String,Object],default:""},autoChangeTheme:{type:Boolean,default:!0},use:{type:Array,default:()=>[]},watchOptions:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},loadingOptions:{type:Object,default:()=>Lo()},observer:{type:Object,default:null},throttleWait:{type:Number,default:500},animation:{type:Boolean,default:!0}},setup(e,{expose:y}){const p=Ge(),{themeValue:s}=qe(p),u=f(),h=f(),b=f();let t,l,n;const{echartTheme:m}=Ke,k=go(()=>({"--ray-chart-width":O(e.width),"--ray-chart-height":O(e.height)})),r=async()=>{var a;S([eo,oo,to,ao,ro,lo,io,so]),S([co,no,uo,ho,bo,mo]),S([fo,yo]),S([po]);try{S((a=e.use)==null?void 0:a.filter(Boolean))}catch{console.error("Error: wrong property and method passed in extend attribute")}},F=a=>{let c=Ze(a);const g=v=>Object.assign({animation:!0},c,v);return e.showAria&&(c=g({aria:{enabled:!0,decal:{show:!0}}})),c},d=(a=m)=>{const c=u.value,g=F(e.options),{height:v,width:Ne}=c.getBoundingClientRect(),{onSuccess:B,onError:L}=e;try{Bo().forEach(C=>{Ye(C.name,C.theme)}),t=Ie(c,a,{width:Ne===0?200:void 0,height:v===0?200:void 0}),b.value=t,g&&t.setOption({}),e.animation&&setTimeout(()=>{g&&(t==null||t.setOption(g))}),B&&D(B,t)}catch(C){L&&D(L),console.error("RayChart render error: ",C)}},W=a=>{if(e.autoChangeTheme){a?d(`${m}-dark`):d();return}e.theme||d()},$=()=>{t&&(t.clear(),t.dispose())},Ue=()=>{t&&t.resize()},E=()=>{if(t!=null&&t.getDom()){console.warn("RayChart mount: There is a chart instance already initialized on the dom. Execution was interrupted");return}e.autoChangeTheme?W(s.value):e.theme?d(`${m}-dark`):d(),e.autoResize&&(l=He(Ue,e.throttleWait),n=Qe(e.observer||h,l),Xe(window,"resize",l))},T=()=>{var a;$(),l&&Je(window,"resize",l),l==null||l.cancel(),(a=n==null?void 0:n.stop)==null||a.call(n)};return w(()=>s.value,a=>{e.autoChangeTheme&&($(),W(a))}),w(()=>e.showAria,()=>{$(),(e.autoChangeTheme||e.theme)&&s.value?d(`${m}-dark`):d()}),w(()=>e.loading,a=>{a?t==null||t.showLoading(e.loadingOptions):t==null||t.hideLoading()}),e.watchOptions&&w(()=>e.options,a=>{const c=F(a);t==null||t.setOption(c)},{deep:!0}),y({echart:b,dispose:T,render:E}),So(async()=>{await r()}),Co(()=>{wo(()=>{E()})}),xo(()=>{T()}),{rayChartRef:u,cssVarsRef:k,rayChartWrapperRef:h}},render(){return o("div",{class:"ray-chart",style:[this.cssVarsRef],ref:"rayChartWrapperRef"},[o("div",{class:"ray-chart__container",ref:"rayChartRef"},null)])}}),gt=j({name:"REchart",setup(){const e=f(),y=f(!1),p=f(!1),s=Ao({loading:!1}),u={legend:{},tooltip:{},xAxis:{type:"category",data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]},yAxis:{type:"value"},series:[{name:"日期",data:[120,200,150,80,70,110,130],type:"bar",showBackground:!0,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)"}},{name:"数量",data:[12,220,250,180,20,10,190],type:"bar",showBackground:!0,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)"}}]},h={title:{text:"Referer of a Website",subtext:"Fake Data",left:"center"},tooltip:{trigger:"item"},legend:{orient:"vertical",left:"left"},series:[{name:"Access From",type:"pie",radius:"50%",data:[{value:1048,name:"Search Engine"},{value:735,name:"Direct"},{value:580,name:"Email"},{value:484,name:"Union Ads"},{value:300,name:"Video Ads"}],emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]},b={title:{text:"Stacked Area Chart"},tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}}},legend:{data:["Email","Union Ads","Video Ads","Direct","Search Engine"]},toolbox:{feature:{saveAsImage:{}}},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",boundaryGap:!1,data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]}],yAxis:[{type:"value"}],series:[{name:"Email",type:"line",stack:"Total",areaStyle:{},emphasis:{focus:"series"},data:[120,132,101,134,90,230,210]},{name:"Union Ads",type:"line",stack:"Total",areaStyle:{},emphasis:{focus:"series"},data:[220,182,191,234,290,330,310]},{name:"Video Ads",type:"line",stack:"Total",areaStyle:{},emphasis:{focus:"series"},data:[150,232,201,154,190,330,410]},{name:"Direct",type:"line",stack:"Total",areaStyle:{},emphasis:{focus:"series"},data:[320,332,301,334,390,330,320]},{name:"Search Engine",type:"line",stack:"Total",label:{show:!0,position:"top"},areaStyle:{},emphasis:{focus:"series"},data:[820,932,901,934,1290,1330,1320]}]},t=r=>{s.loading=r},l=r=>{p.value=r},n=r=>{window.$notification.info({title:"可视化图渲染成功回调函数",content:"可视化图渲染成功, 并且返回了当前可视化图实例",duration:5*1e3}),e.value},m=()=>{var r;(r=e.value)==null||r.render()},k=()=>{var r;(r=e.value)==null||r.dispose()};return{baseOptions:u,baseChartRef:e,chartLoading:y,handleLoadingShow:t,chartAria:p,handleAriaShow:l,handleChartRenderSuccess:n,basePieOptions:h,baseLineOptions:b,...ko(s),mountChart:m,unmountChart:k}},render(){return o("div",{class:"echart"},[o($o,{title:"chart 组件"},{default:()=>[o("ul",null,[o("li",null,[o("h3",null,[i("当未获取到宽高时,组件会默认以 200*200 尺寸填充。")])]),o("li",null,[o("h3",null,[i("默认启用 autoChangeTheme自动监听模板主题变化RayTemplate 独有)")])]),o("li",null,[o("h3",null,[i("默认启用 watchOptions自动监听配置项变化")])]),o("li",null,[o("h3",null,[i("默认启用 animation强制启用渲染过渡动画")])])])]}),o(x,null,{default:()=>[i("强制渲染过渡动画animation")]}),o(vo,{style:["padding: 18px 0"]},{default:()=>[o(R,{onClick:this.mountChart.bind(this)},{default:()=>[i("渲染")]}),o(R,{onClick:this.unmountChart.bind(this)},{default:()=>[i("卸载")]})]}),o("div",{class:"chart--container"},[o(A,{ref:"baseChartRef",autoChangeTheme:!0,options:this.baseLineOptions,showAria:this.chartAria},null)]),o(x,null,{default:()=>[i("不跟随主题切换的暗色主题可视化图")]}),o("div",{class:"chart--container"},[o(A,{autoChangeTheme:!1,theme:"dark",options:this.baseOptions},null)]),o(x,null,{default:()=>[i("加载动画")]}),o(_,{value:this.chartLoading,"onUpdate:value":e=>this.chartLoading=e,onUpdateValue:this.handleLoadingShow.bind(this),style:["padding: 18px 0"]},{checked:()=>"隐藏加载动画",unchecked:()=>"显示加载动画"}),o("div",{class:"chart--container"},[o(A,{loading:this.loading,options:this.baseOptions},null)]),o(x,null,{default:()=>[i("贴画可视化图")]}),o(_,{value:this.chartAria,"onUpdate:value":e=>this.chartAria=e,onUpdateValue:this.handleAriaShow.bind(this),style:["padding: 18px 0"]},{checked:()=>"隐藏贴花",unchecked:()=>"显示贴花"}),o("div",{class:"chart--container"},[o(A,{options:this.baseOptions,showAria:this.chartAria},null)])])}});export{gt as default};