ray-template/assets/index-74f99ee0.js
XiaoDaiGua-Ray 41906ca83f build
2023-09-22 22:21:17 +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 Re,t as je}from"./lodash-es@4.17.21-a64fa61b.js";import{e as _e,g as F,h as T,o as ze,i as Me,j as Pe}from"./index-f0e321ba.js";import{c as Ue}from"./@vueuse_core@9.13.0_vue@3.3.4-7e6f7ed6.js";import{u as y,r as He,i as Ze,a as qe,b as Ge,c as Xe,d as Je,e as Ke,f as Qe,g as Ye,h as Ie,j as et,k as tt,l as ot,m as at,n as rt,o as lt,p as it,q as ct,s as st}from"./echarts@5.4.3-e7579fe3.js";import{d as E}from"./dayjs@1.11.9-208bf754.js";import"./screenfull@6.0.2-b3e6dc1f.js";import"./pinia-plugin-persistedstate@3.2.0_pinia@2.1.6-02097300.js";import"./clipboard@2.0.11-3371ee7a.js";import"./awesome-qr@2.1.5-rc.0-423f5ed7.js";import"./canvas@2.11.2-f05bd587.js";import"./js-binary-schema-parser@2.0.3-9e47f7a8.js";import"./@vueuse_shared@9.13.0_vue@3.3.4-b2a32b41.js";import"./zrender@5.4.4-1ae8819b.js";import"./tslib@2.3.0-54e39b60.js";const $=["#fc97af","#87f7cf","#f7f494","#72ccff","#f7c5a0","#d4a4eb","#d2f5a6","#76f2f2"],W="rgba(41,52,65,1)",B={},O={textStyle:{color:"#ffffff"},subtextStyle:{color:"#dddddd"}},L={itemStyle:{borderWidth:"4"},lineStyle:{width:"3"},symbolSize:"0",symbol:"circle",smooth:!0},D={itemStyle:{borderWidth:"4"},lineStyle:{width:"3"},symbolSize:"0",symbol:"circle",smooth:!0},R={itemStyle:{barBorderWidth:0,barBorderColor:"#ccc"}},j={itemStyle:{borderWidth:0,borderColor:"#ccc"}},_={itemStyle:{borderWidth:0,borderColor:"#ccc"}},z={itemStyle:{borderWidth:0,borderColor:"#ccc"}},M={itemStyle:{borderWidth:0,borderColor:"#ccc"}},P={itemStyle:{borderWidth:0,borderColor:"#ccc"}},U={itemStyle:{borderWidth:0,borderColor:"#ccc"}},H={itemStyle:{borderWidth:0,borderColor:"#ccc"}},Z={itemStyle:{color:"#fc97af",color0:"transparent",borderColor:"#fc97af",borderColor0:"#87f7cf",borderWidth:"2"}},q={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"}},G={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)"}}},X={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)"}}},J={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)"]}}},K={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)"]}}},Q={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)"]}}},Y={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)"]}}},I={iconStyle:{borderColor:"#999999"},emphasis:{iconStyle:{borderColor:"#666666"}}},ee={textStyle:{color:"#999999"}},te={axisPointer:{lineStyle:{color:"#cccccc",width:1},crossStyle:{color:"#cccccc",width:1}}},oe={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"}}},ae={color:["#fc97af","#87f7cf"]},re={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"}},le={label:{color:"#293441"},emphasis:{label:{color:"#293441"}}},nt={color:$,backgroundColor:W,textStyle:B,title:O,line:L,radar:D,bar:R,pie:j,scatter:_,boxplot:z,parallel:M,sankey:P,funnel:U,gauge:H,candlestick:Z,graph:q,map:G,geo:X,categoryAxis:J,valueAxis:K,logAxis:Q,timeAxis:Y,toolbox:I,legend:ee,tooltip:te,timeline:oe,visualMap:ae,dataZoom:re,markPoint:le},dt=Object.freeze(Object.defineProperty({__proto__:null,backgroundColor:W,bar:R,boxplot:z,candlestick:Z,categoryAxis:J,color:$,dataZoom:re,default:nt,funnel:U,gauge:H,geo:X,graph:q,legend:ee,line:L,logAxis:Q,map:G,markPoint:le,parallel:M,pie:j,radar:D,sankey:P,scatter:_,textStyle:B,timeAxis:Y,timeline:oe,title:O,toolbox:I,tooltip:te,valueAxis:K,visualMap:ae},Symbol.toStringTag,{value:"Module"})),ie=["#2ec7c9","#b6a2de","#5ab1ef","#ffb980","#d87a80","#8d98b3","#e5cf0d","#97b552","#95706d","#dc69aa","#07a2a4","#9a7fd1","#588dd5","#f5994e","#c05050","#59678c","#c9ab00","#7eb00a","#6f5553","#c14089"],ce="rgba(0,0,0,0)",se={},ne={textStyle:{color:"#008acd"},subtextStyle:{color:"#aaaaaa"}},de={itemStyle:{borderWidth:1},lineStyle:{width:2},symbolSize:3,symbol:"emptyCircle",smooth:!0},ue={itemStyle:{borderWidth:1},lineStyle:{width:2},symbolSize:3,symbol:"emptyCircle",smooth:!0},he={itemStyle:{barBorderWidth:0,barBorderColor:"#ccc"}},be={itemStyle:{borderWidth:0,borderColor:"#ccc"}},fe={itemStyle:{borderWidth:0,borderColor:"#ccc"}},me={itemStyle:{borderWidth:0,borderColor:"#ccc"}},ye={itemStyle:{borderWidth:0,borderColor:"#ccc"}},pe={itemStyle:{borderWidth:0,borderColor:"#ccc"}},ge={itemStyle:{borderWidth:0,borderColor:"#ccc"}},Se={itemStyle:{borderWidth:0,borderColor:"#ccc"}},Ce={itemStyle:{color:"#d87a80",color0:"#2ec7c9",borderColor:"#d87a80",borderColor0:"#2ec7c9",borderWidth:1}},Ve={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"}},xe={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)"}}},we={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)"}}},Ae={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)"]}}},ke={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)"]}}},ve={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)"]}}},Ne={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)"]}}},Fe={iconStyle:{borderColor:"#2ec7c9"},emphasis:{iconStyle:{borderColor:"#18a4a6"}}},Te={textStyle:{color:"#333333"}},Ee={axisPointer:{lineStyle:{color:"#008acd",width:"1"},crossStyle:{color:"#008acd",width:"1"}}},$e={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"}}},We={color:["#5ab1ef","#e0ffff"]},Be={backgroundColor:"rgba(47,69,84,0)",dataBackgroundColor:"#efefff",fillerColor:"rgba(182,162,222,0.2)",handleColor:"#008acd",handleSize:"100%",textStyle:{color:"#333333"}},Oe={label:{color:"#eee"},emphasis:{label:{color:"#eee"}}},ut={color:ie,backgroundColor:ce,textStyle:se,title:ne,line:de,radar:ue,bar:he,pie:be,scatter:fe,boxplot:me,parallel:ye,sankey:pe,funnel:ge,gauge:Se,candlestick:Ce,graph:Ve,map:xe,geo:we,categoryAxis:Ae,valueAxis:ke,logAxis:ve,timeAxis:Ne,toolbox:Fe,legend:Te,tooltip:Ee,timeline:$e,visualMap:We,dataZoom:Be,markPoint:Oe},ht=Object.freeze(Object.defineProperty({__proto__:null,backgroundColor:ce,bar:he,boxplot:me,candlestick:Ce,categoryAxis:Ae,color:ie,dataZoom:Be,default:ut,funnel:ge,gauge:Se,geo:we,graph:Ve,legend:Te,line:de,logAxis:ve,map:xe,markPoint:Oe,parallel:ye,pie:be,radar:ue,sankey:pe,scatter:fe,textStyle:se,timeAxis:Ne,timeline:$e,title:ne,toolbox:Fe,tooltip:Ee,valueAxis:ke,visualMap:We},Symbol.toStringTag,{value:"Module"})),bt=()=>{const e=Object.assign({"/src/components/RChart/theme/macarons/macarons-dark.json":dt,"/src/components/RChart/theme/macarons/macarons.json":ht}),f=/\/([^/]+)\.json$/;return Object.keys(e).reduce((i,d)=>{var r;const u=(r=d.match(f))==null?void 0:r[1];if(u)return i.push({name:u,theme:e[d].default}),i;throw new Error("theme name is not found")},[])},ft=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),g=Vue.defineComponent({name:"RChart",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:()=>ft()},observer:{type:Object,default:null},throttleWait:{type:Number,default:500},animation:{type:Boolean,default:!0},setChartOptions:{type:Object,default:()=>({})}},setup(e,{expose:f}){const m=_e(),{themeValue:i}=Pinia.storeToRefs(m),d=Vue.ref(),u=Vue.ref(),r=Vue.ref();let t,l,s;const{echartTheme:b}=Pe,S=Vue.computed(()=>({"--ray-chart-width":F(e.width),"--ray-chart-height":F(e.height)})),C=async()=>{var o;y([qe,Ge,Xe,Je,Ke,Qe,Ye,Ie]),y([et,tt,ot,at,rt,lt]),y([it,ct]),y([st]);try{y((o=e.use)==null?void 0:o.filter(Boolean))}catch{console.error("register chart Core error: wrong property and method passed in extend attribute")}},a=o=>{let c=Re(o);const h=x=>Object.assign({animation:!0},c,x);return e.showAria&&(c=h({aria:{enabled:!0,decal:{show:!0}}})),c},n=(o=b)=>{const c=d.value,h=a(e.options),{height:x,width:De}=c.getBoundingClientRect(),{onSuccess:v,onError:N}=e;try{bt().forEach(p=>{He(p.name,p.theme)}),t=Ze(c,o,{width:De===0?200:void 0,height:x===0?200:void 0}),r.value=t,h&&t.setOption({}),e.animation&&setTimeout(()=>{h&&(t==null||t.setOption(h))}),v&&T(v,t)}catch(p){N&&T(N),console.error("RChart render error: ",p)}},w=o=>{if(e.autoChangeTheme){o?n(`${b}-dark`):n();return}e.theme||n()},V=()=>{t&&(t.clear(),t.dispose())},Le=()=>{t&&t.resize()},A=()=>{if(t!=null&&t.getDom()){console.warn("RChart mount: There is a chart instance already initialized on the dom. Execution was interrupted");return}e.autoChangeTheme?w(i.value):e.theme?n(`${b}-dark`):n(),e.autoResize&&(l=je(Le,e.throttleWait),s=Ue(e.observer||u,l),ze(window,"resize",l))},k=()=>{var o;V(),l&&Me(window,"resize",l),l==null||l.cancel(),(o=s==null?void 0:s.stop)==null||o.call(s)};return Vue.watch(()=>i.value,o=>{e.autoChangeTheme&&(V(),w(o))}),Vue.watch(()=>e.showAria,()=>{V(),(e.autoChangeTheme||e.theme)&&i.value?n(`${b}-dark`):n()}),Vue.watch(()=>e.loading,o=>{o?t==null||t.showLoading(e.loadingOptions):t==null||t.hideLoading()}),Vue.watch(()=>e.options,o=>{if(e.watchOptions){const c=a(o),h=Object.assign({},e.setChartOptions,{notMerge:!1,lazyUpdate:!0,silent:!1,replaceMerge:[]});t==null||t.setOption(c,h)}},{deep:!0}),f({echart:r,dispose:k,render:A}),Vue.onBeforeMount(async()=>{await C()}),Vue.onMounted(()=>{Vue.nextTick(()=>{A()})}),Vue.onBeforeUnmount(()=>{k()}),{rayChartRef:d,cssVarsRef:S,rayChartWrapperRef:u}},render(){return Vue.createVNode("div",{class:"ray-chart",style:[this.cssVarsRef],ref:"rayChartWrapperRef"},[Vue.createVNode("div",{class:"ray-chart__container",ref:"rayChartRef"},null)])}}),Tt=Vue.defineComponent({name:"REchart",setup(){const e=Vue.ref(),f=Vue.ref(!1),m=Vue.ref(!1),i=Vue.reactive({loading:!1}),d={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)"}}]},u={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)"}}}]},r=Vue.ref({title:{text:E().valueOf()},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=a=>{i.loading=a},l=a=>{m.value=a},s=a=>{window.$notification.info({title:"可视化图渲染成功回调函数",content:"可视化图渲染成功, 并且返回了当前可视化图实例",duration:5*1e3}),e.value},b=()=>{var a;(a=e.value)==null||a.render()},S=()=>{var a;(a=e.value)==null||a.dispose()},C=()=>{r.value.title.text=E().valueOf();const a=()=>Math.floor((Math.random()+1)*100);r.value.series[0].data=new Array(7).fill(0).map(()=>a()),r.value.series[1].data=new Array(7).fill(0).map(()=>a())};return{baseOptions:d,baseChartRef:e,chartLoading:f,handleLoadingShow:t,chartAria:m,handleAriaShow:l,handleChartRenderSuccess:s,basePieOptions:u,baseLineOptions:r,...Vue.toRefs(i),mountChart:b,unmountChart:S,handleUpdateTitle:C}},render(){return Vue.createVNode("div",{class:"echart"},[Vue.createVNode(naive.NCard,{title:"chart 组件"},{default:()=>[Vue.createVNode("ul",null,[Vue.createVNode("li",null,[Vue.createVNode("h3",null,[Vue.createTextVNode("当未获取到宽高时,组件会默认以 200*200 尺寸填充。")])]),Vue.createVNode("li",null,[Vue.createVNode("h3",null,[Vue.createTextVNode("默认启用 autoChangeTheme自动监听模板主题变化RayTemplate 独有)")])]),Vue.createVNode("li",null,[Vue.createVNode("h3",null,[Vue.createTextVNode("默认启用 watchOptions自动监听配置项变化")])]),Vue.createVNode("li",null,[Vue.createVNode("h3",null,[Vue.createTextVNode("默认启用 animation强制启用渲染过渡动画")])]),Vue.createVNode("li",null,[Vue.createVNode("h3",null,[Vue.createTextVNode("配置 setChartOptions 属性,可以定制化合并模式")])])])]}),Vue.createVNode(naive.NH2,null,{default:()=>[Vue.createTextVNode("强制渲染过渡动画animation")]}),Vue.createVNode(naive.NSpace,{style:["padding: 18px 0"]},{default:()=>[Vue.createVNode(naive.NButton,{onClick:this.mountChart.bind(this)},{default:()=>[Vue.createTextVNode("渲染")]}),Vue.createVNode(naive.NButton,{onClick:this.unmountChart.bind(this)},{default:()=>[Vue.createTextVNode("卸载")]}),Vue.createVNode(naive.NButton,{onClick:this.handleUpdateTitle.bind(this)},{default:()=>[Vue.createTextVNode("更新配置项")]})]}),Vue.createVNode("div",{class:"chart--container"},[Vue.createVNode(g,{ref:"baseChartRef",autoChangeTheme:!0,options:this.baseLineOptions,showAria:this.chartAria},null)]),Vue.createVNode(naive.NH2,null,{default:()=>[Vue.createTextVNode("不跟随主题切换的暗色主题可视化图")]}),Vue.createVNode("div",{class:"chart--container"},[Vue.createVNode(g,{autoChangeTheme:!1,theme:"dark",options:this.baseOptions},null)]),Vue.createVNode(naive.NH2,null,{default:()=>[Vue.createTextVNode("加载动画")]}),Vue.createVNode(naive.NSwitch,{value:this.chartLoading,"onUpdate:value":e=>this.chartLoading=e,onUpdateValue:this.handleLoadingShow.bind(this),style:["padding: 18px 0"]},{checked:()=>"隐藏加载动画",unchecked:()=>"显示加载动画"}),Vue.createVNode("div",{class:"chart--container"},[Vue.createVNode(g,{loading:this.loading,options:this.baseOptions},null)]),Vue.createVNode(naive.NH2,null,{default:()=>[Vue.createTextVNode("贴画可视化图")]}),Vue.createVNode(naive.NSwitch,{value:this.chartAria,"onUpdate:value":e=>this.chartAria=e,onUpdateValue:this.handleAriaShow.bind(this),style:["padding: 18px 0"]},{checked:()=>"隐藏贴花",unchecked:()=>"显示贴花"}),Vue.createVNode("div",{class:"chart--container"},[Vue.createVNode(g,{options:this.baseOptions,showAria:this.chartAria},null)])])}});export{Tt as default};