n8n-editor-ui
Version:
Workflow Editor UI for n8n
2 lines • 2.1 kB
JavaScript
!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"n8n@2.13.4"}}catch(e){}}(),System.register(["./vue.runtime.esm-bundler-legacy-IafOlCW8.js","./_MapCache-legacy-DwgdC8YO.js","./merge-legacy-uu1aGqHK.js","./dateformat-legacy-BxdD_OP7.js","./insights.constants-legacy-CEIQi13p.js","./insights.utils-legacy-uA0D6qm5.js","./chart-legacy-7cEBc73s.js","./smartDecimal-legacy-B7pUJK8p.js","./dist-legacy-CCfDmF7R.js","./chartjs.utils-legacy-CcjxxyS2.js"],(function(e,t){var n,a,s,i,l,o,r,d,u,c,f,g,b,y;return{setters:[function(e){n=e.$,a=e.N,s=e.S,i=e.Wt,l=e.w},function(e){o=e.bt},function(e){},function(e){},function(e){r=e.a,d=e.t},function(e){u=e.o},function(e){c=e.l},function(e){f=e.t},function(e){g=e.r},function(e){b=e.n,y=e.r}],execute:function(){try{t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},(p=(new t.Error).stack)&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[p]="ed8fafd6-d22e-4f18-bb13-d5fba0918c8b",t._sentryDebugIdIdentifier="sentry-dbid-ed8fafd6-d22e-4f18-bb13-d5fba0918c8b")}catch(t){}var t,p;e("default",a({__name:"InsightsChartAverageRuntime",props:{data:{},type:{},granularity:{},startDate:{},endDate:{}},setup(e){const t=e,a=o(),p=s((()=>b({plugins:{tooltip:{callbacks:{label:e=>`${e.dataset.label??""} ${f(e.parsed.y)}${r[t.type](e.parsed.y)}`}}}}))),h=s((()=>{const e=[],n=[];for(const a of t.data){e.push(d[t.granularity](a.date));const s=u(a.values.averageRunTime);n.push(s)}return{labels:e,datasets:[{label:a.baseText("insights.banner.title.averageRunTime"),data:n,cubicInterpolationMode:"monotone",fill:"origin",backgroundColor:e=>y(e.chart.ctx,292),borderColor:"rgba(255, 64, 39, 1)"}]}}));return(e,t)=>(n(),l(i(g),{"data-test-id":"insights-chart-average-runtime",data:h.value,options:p.value,plugins:[i(c)]},null,8,["data","options","plugins"]))}}))}}}));
//# sourceMappingURL=InsightsChartAverageRuntime-legacy-CpqHwg09.js.map