n8n-editor-ui
Version:
Workflow Editor UI for n8n
2 lines • 1.72 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.16.1"}}catch(e){}}(),System.register(["./vue.runtime.esm-bundler-legacy-BW6xDdqj.js","./core-legacy-VD8c7QJ-.js","./insights.constants-legacy-DtPF8E1N.js","./smartDecimal-legacy-BR48v4M7.js","./dist-legacy-Cb1zKq2x.js","./chartjs.utils-legacy-DIImFE2r.js"],(function(e,t){var a,n,s,l,d,i,o,f,u,r,c;return{setters:[function(e){a=e.$,n=e.N,s=e.S,l=e.Wt,d=e.w},function(e){i=e.at,o=e.l},function(e){f=e.t},function(e){u=e.t},function(e){r=e.t},function(e){c=e.t}],execute:function(){try{t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},(y=(new t.Error).stack)&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[y]="f4de655b-6ff8-4c50-a9d1-fc8b2de8e53a",t._sentryDebugIdIdentifier="sentry-dbid-f4de655b-6ff8-4c50-a9d1-fc8b2de8e53a")}catch(t){}var t,y;e("default",n({__name:"InsightsChartFailed",props:{data:{},type:{},granularity:{},startDate:{},endDate:{}},setup(e){const t=e,n=i(),y=o("--color--primary",document.body),g=s((()=>c({plugins:{tooltip:{callbacks:{label:e=>`${e.dataset.label??""} ${u(e.parsed.y)}`}}}}))),b=s((()=>{const e=[],a=[];for(const n of t.data)e.push(f[t.granularity](n.date)),a.push(n.values.failed);return{labels:e,datasets:[{label:n.baseText("insights.chart.failed"),data:a,backgroundColor:y.value}]}}));return(e,t)=>(a(),d(l(r),{"data-test-id":"insights-chart-failed",data:b.value,options:g.value},null,8,["data","options"]))}}))}}}));
//# sourceMappingURL=InsightsChartFailed-legacy-2yh3G8m7.js.map