n8n-editor-ui
Version:
Workflow Editor UI for n8n
2 lines • 1.94 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","./smartDecimal-legacy-B7pUJK8p.js","./dist-legacy-CCfDmF7R.js","./chartjs.utils-legacy-CcjxxyS2.js"],(function(e,t){var a,n,s,l,i,d,o,u,r,c,f,y,g;return{setters:[function(e){a=e.$,n=e.N,s=e.S,l=e.Wt,i=e.w},function(e){d=e.C,o=e.bt},function(e){},function(e){},function(e){u=e.a,r=e.t},function(e){c=e.s},function(e){f=e.t},function(e){y=e.t},function(e){g=e.t}],execute:function(){try{t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},(b=(new t.Error).stack)&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[b]="d5252b9d-c7a9-4193-9ae8-0e22f628dd5b",t._sentryDebugIdIdentifier="sentry-dbid-d5252b9d-c7a9-4193-9ae8-0e22f628dd5b")}catch(t){}var t,b;e("default",n({__name:"InsightsChartFailureRate",props:{data:{},type:{},granularity:{},startDate:{},endDate:{}},setup(e){const t=e,n=o(),b=d("--color--primary",document.body),p=s((()=>g({plugins:{tooltip:{callbacks:{label:e=>`${e.dataset.label??""} ${f(e.parsed.y)}${u[t.type](e.parsed.y)}`}}}}))),h=s((()=>{const e=[],a=[];for(const n of t.data)e.push(r[t.granularity](n.date)),a.push(c(n.values.failureRate));return{labels:e,datasets:[{label:n.baseText("insights.banner.title.failureRate"),data:a,backgroundColor:b.value}]}}));return(e,t)=>(a(),i(l(y),{"data-test-id":"insights-chart-failure-rate",data:h.value,options:p.value},null,8,["data","options"]))}}))}}}));
//# sourceMappingURL=InsightsChartFailureRate-legacy-DJ91YsBU.js.map