n8n-editor-ui
Version:
Workflow Editor UI for n8n
2 lines • 1.81 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","./smartDecimal-legacy-B7pUJK8p.js","./dist-legacy-CCfDmF7R.js","./chartjs.utils-legacy-CcjxxyS2.js"],(function(e,t){var a,n,s,l,i,d,o,c,u,r,f;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){c=e.t},function(e){u=e.t},function(e){r=e.t},function(e){f=e.t}],execute:function(){try{t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},(g=(new t.Error).stack)&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[g]="d60307ca-00cb-48fa-8094-2c24a226237e",t._sentryDebugIdIdentifier="sentry-dbid-d60307ca-00cb-48fa-8094-2c24a226237e")}catch(t){}var t,g;e("default",n({__name:"InsightsChartFailed",props:{data:{},type:{},granularity:{},startDate:{},endDate:{}},setup(e){const t=e,n=o(),g=d("--color--primary",document.body),y=s((()=>f({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(c[t.granularity](n.date)),a.push(n.values.failed);return{labels:e,datasets:[{label:n.baseText("insights.chart.failed"),data:a,backgroundColor:g.value}]}}));return(e,t)=>(a(),i(l(r),{"data-test-id":"insights-chart-failed",data:b.value,options:y.value},null,8,["data","options"]))}}))}}}));
//# sourceMappingURL=InsightsChartFailed-legacy-B1N-Thga.js.map