n8n-editor-ui 1.93.0 → 1.95.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{AnimatedSpinner-hbTZDd93.js → AnimatedSpinner-DlBYfeum.js} +1 -1
- package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-CYzc5StE.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-b_VpBPcV.js} +1 -1
- package/dist/assets/{AuthView-8SLMP0H_.js → AuthView-3BmNl_WD.js} +2 -2
- package/dist/assets/{CanvasChatSwitch-Dt8TgNJg.js → CanvasChatSwitch-C8GVNbZv.js} +16 -18
- package/dist/assets/{ChangePasswordView-DIRyDp89.js → ChangePasswordView-HptU1MSc.js} +3 -3
- package/dist/assets/CollectionParameter-DB_Or-wG.js +4 -0
- package/dist/assets/{CredentialsView-B6-VxAJ6.js → CredentialsView-Dx5hgaaC.js} +7 -7
- package/dist/assets/{DemoFooter-CIHwH5PG.js → DemoFooter-BkSVK4cp.js} +6 -8
- package/dist/assets/{ErrorView-C7i0TZwT.js → ErrorView-HDHwqLgc.js} +1 -1
- package/dist/assets/EvaluationsRootView-B5AhHo41.css +594 -0
- package/dist/assets/EvaluationsRootView-CwzFA39P.js +654 -0
- package/dist/assets/{TestDefinitionListView-Di-Edppe.css → EvaluationsView-6l_Invxt.css} +193 -76
- package/dist/assets/EvaluationsView-Y_Nzp-LP.js +570 -0
- package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang--2G21NNR.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-BioZloew.js} +2 -2
- package/dist/assets/{ExecutionsView-C_YtciAr.js → ExecutionsView-SVk21vMq.js} +18 -18
- package/dist/assets/{FileSaver.min-bgn7Q9Gt.js → FileSaver.min-ZbRn_Jz1.js} +1 -1
- package/dist/assets/{FixedCollectionParameter-BPCJ5aaq.js → FixedCollectionParameter-iCfhPCTX.js} +1 -1
- package/dist/assets/{ForgotMyPasswordView-DyUaGd6Z.js → ForgotMyPasswordView-DID5un7M.js} +3 -3
- package/dist/assets/{InsightsChartAverageRuntime-BB2I2vpV.js → InsightsChartAverageRuntime-Db4OWo7M.js} +4 -4
- package/dist/assets/{InsightsChartFailed-CN_Rl3Bl.js → InsightsChartFailed-DjssZ9vc.js} +4 -4
- package/dist/assets/{InsightsChartFailureRate-CHKlg6tg.js → InsightsChartFailureRate-C4U_fOhA.js} +4 -4
- package/dist/assets/{InsightsChartTimeSaved-Cd05cM8q.js → InsightsChartTimeSaved-DmcamM8z.js} +4 -4
- package/dist/assets/{InsightsChartTotal-ChAO7myf.js → InsightsChartTotal-ywrK30zz.js} +4 -4
- package/dist/assets/{InsightsDashboard-Bx4vx9gz.css → InsightsDashboard-BSrakbzr.css} +42 -8
- package/dist/assets/{InsightsDashboard-BeCfBVUz.js → InsightsDashboard-CM-ieUCq.js} +43 -41
- package/dist/assets/{InsightsPaywall-Chz8CDc3.js → InsightsPaywall-D-bIgmwT.js} +1 -1
- package/dist/assets/InsightsSummary-CwTpu3sa.js +209 -0
- package/dist/assets/{InsightsSummary-CdlaUpAt.css → InsightsSummary-DzGQpM5h.css} +27 -24
- package/dist/assets/{InsightsTableWorkflows-5rpYY7YT.js → InsightsTableWorkflows-CVtm_fGN.js} +5 -6
- package/dist/assets/{InsightsTableWorkflows-Blv_GPUj.css → InsightsTableWorkflows-DfTZQkWL.css} +3 -4
- package/dist/assets/{Logo-DUDCllkm.js → Logo-nyJoHWQJ.js} +1 -1
- package/dist/assets/{LogsPanel-mTaFEGk_.css → LogsPanel-D7j-yJQx.css} +14 -14
- package/dist/assets/{LogsPanel-D9r5AcQH.js → LogsPanel-mX9Nf6VB.js} +457 -360
- package/dist/assets/{MainHeader-DkKOOZ_D.js → MainHeader-DrG-_mAG.js} +35 -25
- package/dist/assets/{MainHeader-CEMGASqv.css → MainHeader-Y95RcfHb.css} +18 -18
- package/dist/assets/{MainSidebar-ZUBIWeXm.js → MainSidebar-BMWCsLJG.js} +2 -2
- package/dist/assets/{NodeCreation-DCfAFuL5.js → NodeCreation-CO1xHNgA.js} +3 -4
- package/dist/assets/{NodeCreator-a0YVv1IE.js → NodeCreator-Bcr66G_2.js} +174 -69
- package/dist/assets/{NodeCreator-D18StsVZ.css → NodeCreator-Cp8Apzva.css} +38 -21
- package/dist/assets/{NodeDetailsView-C5_hVJzj.js → NodeDetailsView-BFW65Lly.js} +42 -19
- package/dist/assets/{NodeDetailsView-pYP-34nS.css → NodeDetailsView-BtWGMS7Y.css} +16 -16
- package/dist/assets/{useCanvasMapping-CTTq6x8X.js → NodeView-4aDk41Oy.js} +3559 -11337
- package/dist/assets/{useCanvasMapping-VtpW_QZA.css → NodeView-U4YkXSfU.css} +309 -6
- package/dist/assets/{ProjectCardBadge-DRlDZx3d.js → ProjectCardBadge-CLVVfcVb.js} +1 -1
- package/dist/assets/{ProjectHeader-DNm605Kk.js → ProjectHeader-DQk1kmw3.js} +2 -2
- package/dist/assets/{ProjectSettings-Dge_6KaR.js → ProjectSettings-BLTHRnTQ.js} +15 -4
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-CUf0LkWR.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-DhLSSpy6.js} +1 -1
- package/dist/assets/{ResourcesListLayout-Bbl-1i4l.js → ResourcesListLayout-BlDcQdXw.js} +2 -2
- package/dist/assets/{RunData-b0RE2JWc.js → RunData-C67Kx3bc.js} +234 -92
- package/dist/assets/{RunData-DQeENuzG.css → RunData-CE5FsU6k.css} +2 -2
- package/dist/assets/{RunDataAi-DnWcCR_0.js → RunDataAi-_rd0qTgN.js} +3 -4
- package/dist/assets/{RunDataJson-CptVuHuA.js → RunDataJson-BP0x4Zdv.js} +6 -7
- package/dist/assets/{RunDataJsonActions-3jjDztw7.js → RunDataJsonActions-Bc0fqS6Y.js} +1 -1
- package/dist/assets/{RunDataParsedAiContent-BbXv-NPD.js → RunDataParsedAiContent-l1979DuT.js} +4 -5
- package/dist/assets/{RunDataSearch-B90wjsDA.js → RunDataSearch-CCGPQjFW.js} +1 -1
- package/dist/assets/{RunDataTable-CpS78GlT.js → RunDataTable-uzdBjxmW.js} +2 -3
- package/dist/assets/{SamlOnboarding-Ch9K5rRW.js → SamlOnboarding-D4xkCaRS.js} +3 -3
- package/dist/assets/{SettingsApiView-9GU5n_rm.js → SettingsApiView-ijuSJs-i.js} +1 -1
- package/dist/assets/{SettingsCommunityNodesView-CPnVRzNX.js → SettingsCommunityNodesView-D3I8P7Ea.js} +4 -4
- package/dist/assets/{SettingsExternalSecrets-D7xTMV9h.js → SettingsExternalSecrets-ndwnYVtu.js} +1 -1
- package/dist/assets/{SettingsLdapView-OfrjGKkt.js → SettingsLdapView-Dzhh3gD4.js} +1 -1
- package/dist/assets/{SettingsLogStreamingView-C_VnOaeX.js → SettingsLogStreamingView-D-Rr-Jph.js} +1 -1
- package/dist/assets/{SettingsPersonalView-Dm24akPV.js → SettingsPersonalView-Cf1cBUw8.js} +1 -1
- package/dist/assets/{SettingsSourceControl-DDCmL82j.js → SettingsSourceControl-BXRyD_N0.js} +1 -1
- package/dist/assets/{SettingsSso-BGGQ0Cpg.js → SettingsSso-DZTsjRCO.js} +1 -1
- package/dist/assets/{SettingsUsageAndPlan-BzO_zdkH.js → SettingsUsageAndPlan-BqY4ptNL.js} +1 -1
- package/dist/assets/{SettingsUsersView-DHQUqhqB.js → SettingsUsersView-eqXFp615.js} +1 -1
- package/dist/assets/{SettingsView-CbtAqjOX.js → SettingsView-CHSTMDKz.js} +1 -1
- package/dist/assets/{SetupView-BME1OE6U.js → SetupView-D6-b4i8i.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-DZr4TCPC.js → SetupWorkflowCredentialsButton-6SWeqGx-.js} +1 -1
- package/dist/assets/{SetupWorkflowFromTemplateView-CPkKEY04.js → SetupWorkflowFromTemplateView-DTZ8dEhY.js} +3 -3
- package/dist/assets/{SigninView-DUeRvOiY.js → SigninView-B3mpecGJ.js} +3 -3
- package/dist/assets/{SignoutView-BC7SBunZ.js → SignoutView-Bq9cEhcZ.js} +1 -1
- package/dist/assets/{SignupView-B5ecYJ2q.js → SignupView-BTyAq-gW.js} +3 -3
- package/dist/assets/{TemplateDetails-DjanZgC1.js → TemplateDetails-Bf7Xg-KJ.js} +1 -1
- package/dist/assets/{TemplateList-8TyNGxY-.js → TemplateList-BmXxTP4v.js} +1 -1
- package/dist/assets/{TemplatesCollectionView-BkH4pJCv.js → TemplatesCollectionView-DKwycT_4.js} +5 -5
- package/dist/assets/{TemplatesSearchView-Bcdhi1SL.js → TemplatesSearchView-ciluP1sL.js} +3 -3
- package/dist/assets/{TemplatesView-De2XB6We.js → TemplatesView-CDdQbnxe.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-BVnwtrMa.js → TemplatesWorkflowView-uQ3eG-nR.js} +5 -5
- package/dist/assets/{VariablesView-BZCvPfan.js → VariablesView-Bve2WEng.js} +4 -4
- package/dist/assets/{WorkerView-CigxqnWi.js → WorkerView-CUyaAqvY.js} +6 -6
- package/dist/assets/{WorkflowActivator-B7jRy4L1.js → WorkflowActivator-DZSvs7Ye.js} +11 -9
- package/dist/assets/{WorkflowExecutionsInfoAccordion-C_ZycbsF.js → WorkflowExecutionsInfoAccordion-DTbkpnyq.js} +1 -1
- package/dist/assets/{WorkflowExecutionsLandingPage-DOqrfKlC.js → WorkflowExecutionsLandingPage-DNc0pN7t.js} +2 -2
- package/dist/assets/{WorkflowExecutionsPreview-B4Cj2gXW.js → WorkflowExecutionsPreview-SdFojcu-.js} +5 -6
- package/dist/assets/{WorkflowExecutionsView-RXfP7zkJ.js → WorkflowExecutionsView-CAbXPlyv.js} +10 -11
- package/dist/assets/{WorkflowHistory-DrXrRwIS.js → WorkflowHistory-BIFuha5h.js} +3 -3
- package/dist/assets/{WorkflowOnboardingView-CXH1vCW2.js → WorkflowOnboardingView-DLRgnF3H.js} +1 -1
- package/dist/assets/{WorkflowPreview-B_MuFEV8.js → WorkflowPreview-DRSvh1f-.js} +1 -1
- package/dist/assets/{WorkflowsView-D90hfJ35.js → WorkflowsView-DOQhvV_X.js} +9 -9
- package/dist/assets/{useClearExecutionButtonVisible-Dwc1_eG9.js → canvas-CdHFQJm7.js} +3 -2
- package/dist/assets/{chartjs.utils-DalQn9bk.js → chartjs.utils-hlpJdzhb.js} +2 -2
- package/dist/assets/{easyAiWorkflowUtils-kgtpBx2h.js → easyAiWorkflowUtils-GnIqpmRr.js} +1 -1
- package/dist/assets/{global-link-actions-CnWOMvqA.js → global-link-actions-CExoAUZJ.js} +1 -1
- package/dist/assets/{import-curl-BvX_O56D.js → import-curl-D2S8-TVc.js} +1 -1
- package/dist/assets/{index-DZ6VpjNj.js → index-BSlk84mz.js} +79639 -67526
- package/dist/assets/{index-yNaoC3fo.css → index-DH8MNLw5.css} +195 -488
- package/dist/assets/{index-Bb2NNknG.js → index-lOeP0Jxq.js} +1 -1
- package/dist/assets/{pickBy-B_HGYyxS.js → pickBy-BoYQMT9v.js} +1 -1
- package/dist/assets/{polyfills-CLZ4X0Ad.js → polyfills-J2x06Gdp.js} +157 -224
- package/dist/assets/{templateActions-DQfZ3ni5.js → templateActions-CAEk7dfj.js} +1 -1
- package/dist/assets/{typescript.worker-BsxN2afA.js → typescript.worker-DIrCbxuR.js} +2 -2
- package/dist/assets/{useBeforeUnload-Cu0LPVWe.js → useBeforeUnload-COWlK6zC.js} +1 -1
- package/dist/assets/{useExecutionDebugging-rc72wLIp.js → useExecutionDebugging-DOtIA9Qr.js} +1 -1
- package/dist/assets/{useExecutionHelpers-DqwMonFW.js → useExecutionHelpers-q1_8c2Pm.js} +2 -3
- package/dist/assets/{useImportCurlCommand-D_onuFvo.js → useImportCurlCommand-CbwqixK0.js} +2 -2
- package/dist/assets/{useProjectPages-e8b03-5_.js → useProjectPages-DlqnxMvy.js} +1 -1
- package/dist/assets/{usePushConnection-wm-7Id6Q.js → usePushConnection-Bysa9RG-.js} +35 -111
- package/dist/assets/{useWorkflowActivate-65xML23U.js → useWorkflowActivate-B1ps647W.js} +1 -1
- package/dist/assets/{useWorkflowSaving-CUel20JA.js → useWorkflowSaving-BVNVyvlZ.js} +1 -1
- package/dist/index.html +3 -3
- package/package.json +1 -1
- package/tsconfig.json +1 -0
- package/vite.config.mts +4 -0
- package/dist/assets/CollectionParameter-Cj4t6-hd.js +0 -4
- package/dist/assets/InsightsSummary-MECenLJQ.js +0 -207
- package/dist/assets/NodeView-Bk9h8GYy.js +0 -1719
- package/dist/assets/NodeView-C3A-bM1O.css +0 -304
- package/dist/assets/TestDefinitionEditView-Cwkrz308.css +0 -1189
- package/dist/assets/TestDefinitionEditView-DjmPnrTk.js +0 -1464
- package/dist/assets/TestDefinitionListView-BL2s_qBZ.js +0 -631
- package/dist/assets/TestDefinitionNewView-B9BqJZST.js +0 -75
- package/dist/assets/TestDefinitionRootView-AlWyxbc0.js +0 -39
- package/dist/assets/TestDefinitionRootView-DFT60fWE.css +0 -126
- package/dist/assets/dateFormatter-BPfJSa6q.js +0 -21
- package/dist/assets/useCanvasOperations-u8oSDa_u.js +0 -2834
- package/dist/assets/useTestDefinitionForm-DlUOnNC0.js +0 -154
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as defineComponent, q as computed,
|
|
2
|
-
import { a as generateLineChartOptions, b as generateLinearGradient } from "./chartjs.utils-
|
|
3
|
-
import { s as smartDecimal } from "./InsightsSummary-
|
|
4
|
-
import { L as Line } from "./index-
|
|
1
|
+
import { d as defineComponent, q as computed, hK as GRANULARITY_DATE_FORMAT_MASK, hQ as transformInsightsAverageRunTime, c as useI18n, e as createBlock, g as openBlock, m as unref, hO as index, hN as INSIGHTS_UNIT_MAPPING } from "./index-BSlk84mz.js";
|
|
2
|
+
import { a as generateLineChartOptions, b as generateLinearGradient } from "./chartjs.utils-hlpJdzhb.js";
|
|
3
|
+
import { s as smartDecimal } from "./InsightsSummary-CwTpu3sa.js";
|
|
4
|
+
import { L as Line } from "./index-lOeP0Jxq.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "InsightsChartAverageRuntime",
|
|
7
7
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as defineComponent,
|
|
2
|
-
import { g as generateBarChartOptions } from "./chartjs.utils-
|
|
3
|
-
import { s as smartDecimal } from "./InsightsSummary-
|
|
4
|
-
import { B as Bar } from "./index-
|
|
1
|
+
import { d as defineComponent, f_ as useCssVar, q as computed, hK as GRANULARITY_DATE_FORMAT_MASK, c as useI18n, e as createBlock, g as openBlock, m as unref } from "./index-BSlk84mz.js";
|
|
2
|
+
import { g as generateBarChartOptions } from "./chartjs.utils-hlpJdzhb.js";
|
|
3
|
+
import { s as smartDecimal } from "./InsightsSummary-CwTpu3sa.js";
|
|
4
|
+
import { B as Bar } from "./index-lOeP0Jxq.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "InsightsChartFailed",
|
|
7
7
|
props: {
|
package/dist/assets/{InsightsChartFailureRate-CHKlg6tg.js → InsightsChartFailureRate-C4U_fOhA.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as defineComponent,
|
|
2
|
-
import { g as generateBarChartOptions } from "./chartjs.utils-
|
|
3
|
-
import { s as smartDecimal } from "./InsightsSummary-
|
|
4
|
-
import { B as Bar } from "./index-
|
|
1
|
+
import { d as defineComponent, f_ as useCssVar, q as computed, hK as GRANULARITY_DATE_FORMAT_MASK, hM as transformInsightsFailureRate, c as useI18n, e as createBlock, g as openBlock, m as unref, hN as INSIGHTS_UNIT_MAPPING } from "./index-BSlk84mz.js";
|
|
2
|
+
import { g as generateBarChartOptions } from "./chartjs.utils-hlpJdzhb.js";
|
|
3
|
+
import { s as smartDecimal } from "./InsightsSummary-CwTpu3sa.js";
|
|
4
|
+
import { B as Bar } from "./index-lOeP0Jxq.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "InsightsChartFailureRate",
|
|
7
7
|
props: {
|
package/dist/assets/{InsightsChartTimeSaved-Cd05cM8q.js → InsightsChartTimeSaved-DmcamM8z.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as defineComponent, q as computed,
|
|
2
|
-
import { a as generateLineChartOptions, b as generateLinearGradient } from "./chartjs.utils-
|
|
3
|
-
import { L as Line } from "./index-
|
|
4
|
-
import "./InsightsSummary-
|
|
1
|
+
import { d as defineComponent, q as computed, hK as GRANULARITY_DATE_FORMAT_MASK, c as useI18n, e as createBlock, g as openBlock, m as unref, hO as index, hP as transformInsightsTimeSaved, hN as INSIGHTS_UNIT_MAPPING } from "./index-BSlk84mz.js";
|
|
2
|
+
import { a as generateLineChartOptions, b as generateLinearGradient } from "./chartjs.utils-hlpJdzhb.js";
|
|
3
|
+
import { L as Line } from "./index-lOeP0Jxq.js";
|
|
4
|
+
import "./InsightsSummary-CwTpu3sa.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "InsightsChartTimeSaved",
|
|
7
7
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as defineComponent,
|
|
2
|
-
import { g as generateBarChartOptions } from "./chartjs.utils-
|
|
3
|
-
import { B as Bar } from "./index-
|
|
4
|
-
import "./InsightsSummary-
|
|
1
|
+
import { d as defineComponent, f_ as useCssVar, q as computed, hK as GRANULARITY_DATE_FORMAT_MASK, c as useI18n, e as createBlock, g as openBlock, m as unref } from "./index-BSlk84mz.js";
|
|
2
|
+
import { g as generateBarChartOptions } from "./chartjs.utils-hlpJdzhb.js";
|
|
3
|
+
import { B as Bar } from "./index-lOeP0Jxq.js";
|
|
4
|
+
import "./InsightsSummary-CwTpu3sa.js";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "InsightsChartTotal",
|
|
7
7
|
props: {
|
|
@@ -136,27 +136,27 @@
|
|
|
136
136
|
-------------------------- */
|
|
137
137
|
/* BEM
|
|
138
138
|
-------------------------- */
|
|
139
|
-
.
|
|
139
|
+
._insightsView_8g4zl_123 {
|
|
140
140
|
flex: 1;
|
|
141
141
|
display: flex;
|
|
142
142
|
flex-direction: column;
|
|
143
143
|
gap: 30px;
|
|
144
144
|
overflow: auto;
|
|
145
145
|
}
|
|
146
|
-
.
|
|
146
|
+
._insightsContainer_8g4zl_131 {
|
|
147
147
|
width: 100%;
|
|
148
148
|
max-width: var(--content-container-width);
|
|
149
149
|
padding: var(--spacing-l) var(--spacing-2xl);
|
|
150
150
|
margin: 0 auto;
|
|
151
151
|
}
|
|
152
|
-
.
|
|
152
|
+
._insightsBanner_8g4zl_138 {
|
|
153
153
|
padding-bottom: 0;
|
|
154
154
|
}
|
|
155
|
-
.
|
|
155
|
+
._insightsBanner_8g4zl_138 ul {
|
|
156
156
|
border-bottom-left-radius: 0;
|
|
157
157
|
border-bottom-right-radius: 0;
|
|
158
158
|
}
|
|
159
|
-
.
|
|
159
|
+
._insightsContent_8g4zl_146 {
|
|
160
160
|
padding: var(--spacing-l) 0;
|
|
161
161
|
border: var(--border-width-base) var(--border-style-base) var(--color-foreground-base);
|
|
162
162
|
border-top: 0;
|
|
@@ -164,18 +164,52 @@
|
|
|
164
164
|
border-bottom-right-radius: 6px;
|
|
165
165
|
background: var(--color-background-xlight);
|
|
166
166
|
}
|
|
167
|
-
.
|
|
167
|
+
._insightsContentWrapper_8g4zl_155 {
|
|
168
|
+
position: relative;
|
|
169
|
+
overflow-x: hidden;
|
|
170
|
+
}
|
|
171
|
+
._insightsChartWrapper_8g4zl_160 {
|
|
172
|
+
position: relative;
|
|
168
173
|
height: 292px;
|
|
169
174
|
padding: 0 var(--spacing-l);
|
|
175
|
+
z-index: 1;
|
|
170
176
|
}
|
|
171
|
-
.
|
|
177
|
+
._insightsTableWrapper_8g4zl_167 {
|
|
178
|
+
position: relative;
|
|
172
179
|
padding: var(--spacing-l) var(--spacing-l) 0;
|
|
180
|
+
z-index: 1;
|
|
173
181
|
}
|
|
174
|
-
.
|
|
182
|
+
._dataLoader_8g4zl_173 {
|
|
183
|
+
position: absolute;
|
|
184
|
+
top: 0;
|
|
185
|
+
left: -100%;
|
|
175
186
|
height: 100%;
|
|
187
|
+
width: 100%;
|
|
176
188
|
display: flex;
|
|
177
189
|
flex-direction: column;
|
|
178
190
|
align-items: center;
|
|
179
191
|
justify-content: center;
|
|
180
192
|
gap: 9px;
|
|
193
|
+
z-index: 2;
|
|
194
|
+
}
|
|
195
|
+
._dataLoader_8g4zl_173._isDataLoading_8g4zl_186 {
|
|
196
|
+
transition: left 0s linear;
|
|
197
|
+
left: 0;
|
|
198
|
+
transition-delay: 0.5s;
|
|
199
|
+
}
|
|
200
|
+
._dataLoader_8g4zl_173 > span {
|
|
201
|
+
position: relative;
|
|
202
|
+
z-index: 2;
|
|
203
|
+
}
|
|
204
|
+
._dataLoader_8g4zl_173::before {
|
|
205
|
+
content: "";
|
|
206
|
+
position: absolute;
|
|
207
|
+
display: block;
|
|
208
|
+
top: 0;
|
|
209
|
+
left: 0;
|
|
210
|
+
width: 100%;
|
|
211
|
+
height: 100%;
|
|
212
|
+
background-color: var(--color-background-xlight);
|
|
213
|
+
opacity: 0.75;
|
|
214
|
+
z-index: 1;
|
|
181
215
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/InsightsPaywall-
|
|
2
|
-
import { d as defineComponent,
|
|
3
|
-
import { I as InsightsSummary } from "./InsightsSummary-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/InsightsPaywall-D-bIgmwT.js","assets/index-BSlk84mz.js","assets/index-DH8MNLw5.css","assets/InsightsPaywall-CE5W3W4m.css","assets/InsightsChartTotal-ywrK30zz.js","assets/chartjs.utils-hlpJdzhb.js","assets/InsightsSummary-CwTpu3sa.js","assets/InsightsSummary-DzGQpM5h.css","assets/index-lOeP0Jxq.js","assets/InsightsChartFailed-DjssZ9vc.js","assets/InsightsChartFailureRate-C4U_fOhA.js","assets/InsightsChartTimeSaved-DmcamM8z.js","assets/InsightsChartAverageRuntime-Db4OWo7M.js","assets/InsightsTableWorkflows-CVtm_fGN.js","assets/InsightsTableWorkflows-DfTZQkWL.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { d as defineComponent, cu as useModel, ga as useInsightsStore, r as ref, gw as UNLICENSED_TIME_RANGE, gi as TIME_RANGE_LABELS, e as createBlock, g as openBlock, w as withCtx, i as createElementBlock, F as Fragment, D as renderList, m as unref, fn as _sfc_main$3, l as createTextVNode, f as createCommentVNode, t as toDisplayString, k as createBaseVNode, fo as N8nSelect, q as computed, c as useI18n, j as createVNode, bf as N8nText, bh as N8nButton, gx as ElDialog, a6 as usePageRedirectionHelper, _ as _export_sfc, dj as defineAsyncComponent, X as watch, o as onMounted, a4 as useDocumentTitle, h as resolveComponent, n as normalizeClass, b7 as resolveDynamicComponent, ao as __vitePreload, ag as useTelemetry, gy as TELEMETRY_TIME_RANGE } from "./index-BSlk84mz.js";
|
|
3
|
+
import { I as InsightsSummary } from "./InsightsSummary-CwTpu3sa.js";
|
|
4
4
|
const _hoisted_1$2 = {
|
|
5
5
|
key: 0,
|
|
6
6
|
width: "16",
|
|
@@ -167,7 +167,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
167
167
|
});
|
|
168
168
|
const InsightsUpgradeModal = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-481d45c1"]]);
|
|
169
169
|
const _hoisted_1 = { class: "mt-s" };
|
|
170
|
-
const _hoisted_2 = { key: 1 };
|
|
171
170
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
172
171
|
__name: "InsightsDashboard",
|
|
173
172
|
props: {
|
|
@@ -175,25 +174,25 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
175
174
|
},
|
|
176
175
|
setup(__props) {
|
|
177
176
|
const InsightsPaywall = defineAsyncComponent(
|
|
178
|
-
async () => await __vitePreload(() => import("./InsightsPaywall-
|
|
177
|
+
async () => await __vitePreload(() => import("./InsightsPaywall-D-bIgmwT.js"), true ? __vite__mapDeps([0,1,2,3]) : void 0)
|
|
179
178
|
);
|
|
180
179
|
const InsightsChartTotal = defineAsyncComponent(
|
|
181
|
-
async () => await __vitePreload(() => import("./InsightsChartTotal-
|
|
180
|
+
async () => await __vitePreload(() => import("./InsightsChartTotal-ywrK30zz.js"), true ? __vite__mapDeps([4,1,2,5,6,7,8]) : void 0)
|
|
182
181
|
);
|
|
183
182
|
const InsightsChartFailed = defineAsyncComponent(
|
|
184
|
-
async () => await __vitePreload(() => import("./InsightsChartFailed-
|
|
183
|
+
async () => await __vitePreload(() => import("./InsightsChartFailed-DjssZ9vc.js"), true ? __vite__mapDeps([9,1,2,5,6,7,8]) : void 0)
|
|
185
184
|
);
|
|
186
185
|
const InsightsChartFailureRate = defineAsyncComponent(
|
|
187
|
-
async () => await __vitePreload(() => import("./InsightsChartFailureRate-
|
|
186
|
+
async () => await __vitePreload(() => import("./InsightsChartFailureRate-C4U_fOhA.js"), true ? __vite__mapDeps([10,1,2,5,6,7,8]) : void 0)
|
|
188
187
|
);
|
|
189
188
|
const InsightsChartTimeSaved = defineAsyncComponent(
|
|
190
|
-
async () => await __vitePreload(() => import("./InsightsChartTimeSaved-
|
|
189
|
+
async () => await __vitePreload(() => import("./InsightsChartTimeSaved-DmcamM8z.js"), true ? __vite__mapDeps([11,1,2,5,6,7,8]) : void 0)
|
|
191
190
|
);
|
|
192
191
|
const InsightsChartAverageRuntime = defineAsyncComponent(
|
|
193
|
-
async () => await __vitePreload(() => import("./InsightsChartAverageRuntime-
|
|
192
|
+
async () => await __vitePreload(() => import("./InsightsChartAverageRuntime-Db4OWo7M.js"), true ? __vite__mapDeps([12,1,2,5,6,7,8]) : void 0)
|
|
194
193
|
);
|
|
195
194
|
const InsightsTableWorkflows = defineAsyncComponent(
|
|
196
|
-
async () => await __vitePreload(() => import("./InsightsTableWorkflows-
|
|
195
|
+
async () => await __vitePreload(() => import("./InsightsTableWorkflows-CVtm_fGN.js"), true ? __vite__mapDeps([13,1,2,6,7,14]) : void 0)
|
|
197
196
|
);
|
|
198
197
|
const props = __props;
|
|
199
198
|
const i18n = useI18n();
|
|
@@ -257,8 +256,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
257
256
|
immediate: true
|
|
258
257
|
}
|
|
259
258
|
);
|
|
259
|
+
onMounted(() => {
|
|
260
|
+
useDocumentTitle().set(i18n.baseText("insights.heading"));
|
|
261
|
+
});
|
|
260
262
|
return (_ctx, _cache) => {
|
|
261
263
|
const _component_N8nHeading = resolveComponent("N8nHeading");
|
|
264
|
+
const _component_N8nSpinner = resolveComponent("N8nSpinner");
|
|
262
265
|
return openBlock(), createElementBlock("div", {
|
|
263
266
|
class: normalizeClass(_ctx.$style.insightsView)
|
|
264
267
|
}, [
|
|
@@ -300,30 +303,25 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
300
303
|
!unref(insightsStore).isDashboardEnabled ? (openBlock(), createBlock(unref(InsightsPaywall), {
|
|
301
304
|
key: 0,
|
|
302
305
|
"data-test-id": "insights-dashboard-unlicensed"
|
|
303
|
-
})) : (openBlock(), createElementBlock("div",
|
|
306
|
+
})) : (openBlock(), createElementBlock("div", {
|
|
307
|
+
key: 1,
|
|
308
|
+
class: normalizeClass(_ctx.$style.insightsContentWrapper)
|
|
309
|
+
}, [
|
|
310
|
+
createBaseVNode("div", {
|
|
311
|
+
class: normalizeClass([
|
|
312
|
+
_ctx.$style.dataLoader,
|
|
313
|
+
{
|
|
314
|
+
[_ctx.$style.isDataLoading]: unref(insightsStore).charts.isLoading || unref(insightsStore).table.isLoading
|
|
315
|
+
}
|
|
316
|
+
])
|
|
317
|
+
}, [
|
|
318
|
+
createVNode(_component_N8nSpinner),
|
|
319
|
+
createBaseVNode("span", null, toDisplayString(unref(i18n).baseText("insights.chart.loading")), 1)
|
|
320
|
+
], 2),
|
|
304
321
|
createBaseVNode("div", {
|
|
305
322
|
class: normalizeClass(_ctx.$style.insightsChartWrapper)
|
|
306
323
|
}, [
|
|
307
|
-
|
|
308
|
-
key: 0,
|
|
309
|
-
class: normalizeClass(_ctx.$style.chartLoader)
|
|
310
|
-
}, [
|
|
311
|
-
_cache[2] || (_cache[2] = createBaseVNode("svg", {
|
|
312
|
-
width: "22",
|
|
313
|
-
height: "22",
|
|
314
|
-
viewBox: "0 0 22 22",
|
|
315
|
-
fill: "none",
|
|
316
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
317
|
-
}, [
|
|
318
|
-
createBaseVNode("path", {
|
|
319
|
-
d: "M21 11C21 16.5228 16.5228 21 11 21C5.47715 21 1 16.5228 1 11C1 5.47715 5.47715 1 11 1C11.6293 1 12.245 1.05813 12.8421 1.16931",
|
|
320
|
-
stroke: "currentColor",
|
|
321
|
-
"stroke-width": "2"
|
|
322
|
-
})
|
|
323
|
-
], -1)),
|
|
324
|
-
createTextVNode(" " + toDisplayString(unref(i18n).baseText("insights.chart.loading")), 1)
|
|
325
|
-
], 2)) : (openBlock(), createBlock(resolveDynamicComponent(chartComponents.value[props.insightType]), {
|
|
326
|
-
key: 1,
|
|
324
|
+
(openBlock(), createBlock(resolveDynamicComponent(chartComponents.value[props.insightType]), {
|
|
327
325
|
type: props.insightType,
|
|
328
326
|
data: unref(insightsStore).charts.state,
|
|
329
327
|
granularity: granularity.value
|
|
@@ -340,28 +338,32 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
340
338
|
"onUpdate:options": fetchPaginatedTableData
|
|
341
339
|
}, null, 8, ["sort-by", "data", "loading"])
|
|
342
340
|
], 2)
|
|
343
|
-
]))
|
|
341
|
+
], 2))
|
|
344
342
|
], 2)
|
|
345
343
|
], 2)
|
|
346
344
|
], 2);
|
|
347
345
|
};
|
|
348
346
|
}
|
|
349
347
|
});
|
|
350
|
-
const insightsView = "
|
|
351
|
-
const insightsContainer = "
|
|
352
|
-
const insightsBanner = "
|
|
353
|
-
const insightsContent = "
|
|
354
|
-
const
|
|
355
|
-
const
|
|
356
|
-
const
|
|
348
|
+
const insightsView = "_insightsView_8g4zl_123";
|
|
349
|
+
const insightsContainer = "_insightsContainer_8g4zl_131";
|
|
350
|
+
const insightsBanner = "_insightsBanner_8g4zl_138";
|
|
351
|
+
const insightsContent = "_insightsContent_8g4zl_146";
|
|
352
|
+
const insightsContentWrapper = "_insightsContentWrapper_8g4zl_155";
|
|
353
|
+
const insightsChartWrapper = "_insightsChartWrapper_8g4zl_160";
|
|
354
|
+
const insightsTableWrapper = "_insightsTableWrapper_8g4zl_167";
|
|
355
|
+
const dataLoader = "_dataLoader_8g4zl_173";
|
|
356
|
+
const isDataLoading = "_isDataLoading_8g4zl_186";
|
|
357
357
|
const style0 = {
|
|
358
358
|
insightsView,
|
|
359
359
|
insightsContainer,
|
|
360
360
|
insightsBanner,
|
|
361
361
|
insightsContent,
|
|
362
|
+
insightsContentWrapper,
|
|
362
363
|
insightsChartWrapper,
|
|
363
364
|
insightsTableWrapper,
|
|
364
|
-
|
|
365
|
+
dataLoader,
|
|
366
|
+
isDataLoading
|
|
365
367
|
};
|
|
366
368
|
const cssModules = {
|
|
367
369
|
"$style": style0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, a6 as usePageRedirectionHelper, h as resolveComponent, i as createElementBlock, g as openBlock, j as createVNode, w as withCtx, l as createTextVNode, t as toDisplayString, m as unref, c as useI18n, n as normalizeClass, _ as _export_sfc } from "./index-
|
|
1
|
+
import { d as defineComponent, a6 as usePageRedirectionHelper, h as resolveComponent, i as createElementBlock, g as openBlock, j as createVNode, w as withCtx, l as createTextVNode, t as toDisplayString, m as unref, c as useI18n, n as normalizeClass, _ as _export_sfc } from "./index-BSlk84mz.js";
|
|
2
2
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
3
3
|
__name: "InsightsPaywall",
|
|
4
4
|
setup(__props) {
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import { d as defineComponent, R as useRoute, Y as useCssModule, q as computed, c as useI18n, V as VIEWS, h as resolveComponent, i as createElementBlock, g as openBlock, k as createBaseVNode, F as Fragment, D as renderList, j as createVNode, w as withCtx, m as unref, l as createTextVNode, t as toDisplayString, n as normalizeClass, gi as TIME_RANGE_LABELS, f as createCommentVNode, gj as INSIGHT_IMPACT_TYPES, ag as useTelemetry, gk as INSIGHTS_UNIT_IMPACT_MAPPING, _ as _export_sfc } from "./index-BSlk84mz.js";
|
|
2
|
+
const smartDecimal = (value, decimals = 2) => {
|
|
3
|
+
if (Number.isInteger(value)) {
|
|
4
|
+
return value;
|
|
5
|
+
}
|
|
6
|
+
if (value.toString().split(".")[1].length <= decimals) {
|
|
7
|
+
return value;
|
|
8
|
+
}
|
|
9
|
+
return Number(value.toFixed(decimals));
|
|
10
|
+
};
|
|
11
|
+
const _hoisted_1 = { "data-test-id": "insights-summary-tabs" };
|
|
12
|
+
const _hoisted_2 = ["data-test-id"];
|
|
13
|
+
const _hoisted_3 = ["href"];
|
|
14
|
+
const _hoisted_4 = { key: 1 };
|
|
15
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
16
|
+
__name: "InsightsSummary",
|
|
17
|
+
props: {
|
|
18
|
+
summary: {},
|
|
19
|
+
timeRange: {},
|
|
20
|
+
loading: { type: Boolean }
|
|
21
|
+
},
|
|
22
|
+
setup(__props) {
|
|
23
|
+
const props = __props;
|
|
24
|
+
const i18n = useI18n();
|
|
25
|
+
const route = useRoute();
|
|
26
|
+
const $style = useCssModule();
|
|
27
|
+
const telemetry = useTelemetry();
|
|
28
|
+
const summaryTitles = computed(() => ({
|
|
29
|
+
total: i18n.baseText("insights.banner.title.total"),
|
|
30
|
+
failed: i18n.baseText("insights.banner.title.failed"),
|
|
31
|
+
failureRate: i18n.baseText("insights.banner.title.failureRate"),
|
|
32
|
+
timeSaved: i18n.baseText("insights.banner.title.timeSaved"),
|
|
33
|
+
averageRunTime: i18n.baseText("insights.banner.title.averageRunTime")
|
|
34
|
+
}));
|
|
35
|
+
const summaryHasNoData = computed(() => {
|
|
36
|
+
const summaryValues = Object.values(props.summary);
|
|
37
|
+
return summaryValues.length > 0 && summaryValues.every((summary) => !summary.value);
|
|
38
|
+
});
|
|
39
|
+
const summaryWithRouteLocations = computed(
|
|
40
|
+
() => props.summary.map((s) => ({
|
|
41
|
+
...s,
|
|
42
|
+
to: { name: VIEWS.INSIGHTS, params: { insightType: s.id }, query: route.query }
|
|
43
|
+
}))
|
|
44
|
+
);
|
|
45
|
+
const getImpactStyle = (id, value) => {
|
|
46
|
+
const impact = INSIGHTS_UNIT_IMPACT_MAPPING[id];
|
|
47
|
+
if (value === 0 || impact === INSIGHT_IMPACT_TYPES.NEUTRAL) {
|
|
48
|
+
return $style.neutral;
|
|
49
|
+
}
|
|
50
|
+
if (impact === INSIGHT_IMPACT_TYPES.POSITIVE) {
|
|
51
|
+
return value > 0 ? $style.positive : $style.negative;
|
|
52
|
+
}
|
|
53
|
+
if (impact === INSIGHT_IMPACT_TYPES.NEGATIVE) {
|
|
54
|
+
return value < 0 ? $style.positive : $style.negative;
|
|
55
|
+
}
|
|
56
|
+
return $style.neutral;
|
|
57
|
+
};
|
|
58
|
+
const trackTabClick = (insightType) => {
|
|
59
|
+
telemetry.track(`User clicked ${summaryTitles.value[insightType]}`, {
|
|
60
|
+
referrer: route.name === VIEWS.INSIGHTS ? "Dashboard" : "Overview"
|
|
61
|
+
});
|
|
62
|
+
};
|
|
63
|
+
return (_ctx, _cache) => {
|
|
64
|
+
const _component_i18n_t = resolveComponent("i18n-t");
|
|
65
|
+
const _component_N8nTooltip = resolveComponent("N8nTooltip");
|
|
66
|
+
const _component_N8nIcon = resolveComponent("N8nIcon");
|
|
67
|
+
const _component_router_link = resolveComponent("router-link");
|
|
68
|
+
return openBlock(), createElementBlock("div", {
|
|
69
|
+
class: normalizeClass(unref($style).insights)
|
|
70
|
+
}, [
|
|
71
|
+
createBaseVNode("ul", _hoisted_1, [
|
|
72
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(summaryWithRouteLocations.value, ({ id, value, deviation, deviationUnit, unit, to }) => {
|
|
73
|
+
return openBlock(), createElementBlock("li", {
|
|
74
|
+
key: id,
|
|
75
|
+
"data-test-id": `insights-summary-tab-${id}`
|
|
76
|
+
}, [
|
|
77
|
+
createVNode(_component_N8nTooltip, {
|
|
78
|
+
placement: "top",
|
|
79
|
+
disabled: !(summaryHasNoData.value && id === "total")
|
|
80
|
+
}, {
|
|
81
|
+
content: withCtx(() => [
|
|
82
|
+
createVNode(_component_i18n_t, { keypath: "insights.banner.noData.tooltip" }, {
|
|
83
|
+
link: withCtx(() => [
|
|
84
|
+
createBaseVNode("a", {
|
|
85
|
+
href: unref(i18n).baseText("insights.banner.noData.tooltip.link.url"),
|
|
86
|
+
target: "_blank"
|
|
87
|
+
}, toDisplayString(unref(i18n).baseText("insights.banner.noData.tooltip.link")), 9, _hoisted_3)
|
|
88
|
+
]),
|
|
89
|
+
_: 1
|
|
90
|
+
})
|
|
91
|
+
]),
|
|
92
|
+
default: withCtx(() => [
|
|
93
|
+
createVNode(_component_router_link, {
|
|
94
|
+
to,
|
|
95
|
+
"exact-active-class": unref($style).activeTab,
|
|
96
|
+
onClick: ($event) => trackTabClick(id)
|
|
97
|
+
}, {
|
|
98
|
+
default: withCtx(() => [
|
|
99
|
+
createBaseVNode("strong", null, [
|
|
100
|
+
createVNode(_component_N8nTooltip, {
|
|
101
|
+
placement: "bottom",
|
|
102
|
+
disabled: id !== "timeSaved"
|
|
103
|
+
}, {
|
|
104
|
+
content: withCtx(() => [
|
|
105
|
+
createTextVNode(toDisplayString(unref(i18n).baseText("insights.banner.title.timeSaved.tooltip")), 1)
|
|
106
|
+
]),
|
|
107
|
+
default: withCtx(() => [
|
|
108
|
+
createTextVNode(" " + toDisplayString(summaryTitles.value[id]), 1)
|
|
109
|
+
]),
|
|
110
|
+
_: 2
|
|
111
|
+
}, 1032, ["disabled"])
|
|
112
|
+
]),
|
|
113
|
+
createBaseVNode("small", {
|
|
114
|
+
class: normalizeClass(unref($style).days)
|
|
115
|
+
}, toDisplayString(unref(TIME_RANGE_LABELS)[_ctx.timeRange]), 3),
|
|
116
|
+
value === 0 && id === "timeSaved" ? (openBlock(), createElementBlock("span", {
|
|
117
|
+
key: 0,
|
|
118
|
+
class: normalizeClass(unref($style).empty)
|
|
119
|
+
}, [
|
|
120
|
+
_cache[0] || (_cache[0] = createBaseVNode("em", null, "--", -1)),
|
|
121
|
+
createBaseVNode("small", null, [
|
|
122
|
+
createVNode(_component_N8nTooltip, { placement: "bottom" }, {
|
|
123
|
+
content: withCtx(() => [
|
|
124
|
+
createVNode(_component_i18n_t, { keypath: "insights.banner.timeSaved.tooltip" }, {
|
|
125
|
+
link: withCtx(() => [
|
|
126
|
+
createTextVNode(toDisplayString(unref(i18n).baseText("insights.banner.timeSaved.tooltip.link.text")), 1)
|
|
127
|
+
]),
|
|
128
|
+
_: 1
|
|
129
|
+
})
|
|
130
|
+
]),
|
|
131
|
+
default: withCtx(() => [
|
|
132
|
+
createVNode(_component_N8nIcon, {
|
|
133
|
+
class: normalizeClass(unref($style).icon),
|
|
134
|
+
icon: "info-circle"
|
|
135
|
+
}, null, 8, ["class"])
|
|
136
|
+
]),
|
|
137
|
+
_: 1
|
|
138
|
+
})
|
|
139
|
+
])
|
|
140
|
+
], 2)) : (openBlock(), createElementBlock("span", _hoisted_4, [
|
|
141
|
+
createBaseVNode("em", null, [
|
|
142
|
+
createTextVNode(toDisplayString(unref(smartDecimal)(value).toLocaleString("en-US")) + " ", 1),
|
|
143
|
+
createBaseVNode("i", null, toDisplayString(unit), 1)
|
|
144
|
+
]),
|
|
145
|
+
deviation !== null ? (openBlock(), createElementBlock("small", {
|
|
146
|
+
key: 0,
|
|
147
|
+
class: normalizeClass(getImpactStyle(id, deviation))
|
|
148
|
+
}, [
|
|
149
|
+
createVNode(_component_N8nIcon, {
|
|
150
|
+
class: normalizeClass([unref($style).icon, getImpactStyle(id, deviation)]),
|
|
151
|
+
icon: deviation === 0 ? "caret-right" : deviation > 0 ? "caret-up" : "caret-down"
|
|
152
|
+
}, null, 8, ["class", "icon"]),
|
|
153
|
+
createVNode(_component_N8nTooltip, {
|
|
154
|
+
placement: "bottom",
|
|
155
|
+
disabled: id !== "failureRate"
|
|
156
|
+
}, {
|
|
157
|
+
content: withCtx(() => [
|
|
158
|
+
createTextVNode(toDisplayString(unref(i18n).baseText("insights.banner.failureRate.deviation.tooltip")), 1)
|
|
159
|
+
]),
|
|
160
|
+
default: withCtx(() => [
|
|
161
|
+
createTextVNode(" " + toDisplayString(unref(smartDecimal)(Math.abs(deviation)).toLocaleString("en-US")) + toDisplayString(deviationUnit), 1)
|
|
162
|
+
]),
|
|
163
|
+
_: 2
|
|
164
|
+
}, 1032, ["disabled"])
|
|
165
|
+
], 2)) : createCommentVNode("", true)
|
|
166
|
+
]))
|
|
167
|
+
]),
|
|
168
|
+
_: 2
|
|
169
|
+
}, 1032, ["to", "exact-active-class", "onClick"])
|
|
170
|
+
]),
|
|
171
|
+
_: 2
|
|
172
|
+
}, 1032, ["disabled"])
|
|
173
|
+
], 8, _hoisted_2);
|
|
174
|
+
}), 128))
|
|
175
|
+
])
|
|
176
|
+
], 2);
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
});
|
|
180
|
+
const insights = "_insights_14hot_123";
|
|
181
|
+
const activeTab = "_activeTab_14hot_161";
|
|
182
|
+
const days = "_days_14hot_174";
|
|
183
|
+
const empty = "_empty_14hot_185";
|
|
184
|
+
const icon = "_icon_14hot_196";
|
|
185
|
+
const noData = "_noData_14hot_228";
|
|
186
|
+
const positive = "_positive_14hot_233";
|
|
187
|
+
const negative = "_negative_14hot_237";
|
|
188
|
+
const neutral = "_neutral_14hot_241";
|
|
189
|
+
const loading = "_loading_14hot_256";
|
|
190
|
+
const style0 = {
|
|
191
|
+
insights,
|
|
192
|
+
activeTab,
|
|
193
|
+
days,
|
|
194
|
+
empty,
|
|
195
|
+
icon,
|
|
196
|
+
noData,
|
|
197
|
+
positive,
|
|
198
|
+
negative,
|
|
199
|
+
neutral,
|
|
200
|
+
loading
|
|
201
|
+
};
|
|
202
|
+
const cssModules = {
|
|
203
|
+
"$style": style0
|
|
204
|
+
};
|
|
205
|
+
const InsightsSummary = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
206
|
+
export {
|
|
207
|
+
InsightsSummary as I,
|
|
208
|
+
smartDecimal as s
|
|
209
|
+
};
|