n8n-editor-ui 1.90.1 → 1.91.1

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.
Files changed (119) hide show
  1. package/dist/assets/{AnimatedSpinner-ChThynSJ.js → AnimatedSpinner-BrkRvAXQ.js} +1 -1
  2. package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-WGp2Kuen.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DRamY8Fo.js} +1 -1
  3. package/dist/assets/{AuthView-Dlhn_SQ-.js → AuthView-ehh7NFh5.js} +2 -2
  4. package/dist/assets/{CanvasChatSwitch-BuBg7TJP.js → CanvasChatSwitch-DUBgoMXw.js} +11 -11
  5. package/dist/assets/{ChangePasswordView-BKYXOoDf.js → ChangePasswordView-BLFb7_-o.js} +3 -3
  6. package/dist/assets/CollectionParameter-BaH_a73u.js +4 -0
  7. package/dist/assets/{CredentialsView-BNWIgrLb.js → CredentialsView-1uYUpp0G.js} +10 -9
  8. package/dist/assets/{DemoFooter-DR6r_2qR.js → DemoFooter-CNfkqkRC.js} +8 -8
  9. package/dist/assets/{ErrorView-Bu8Mt5FH.js → ErrorView-CmYweWFA.js} +1 -1
  10. package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-DvtOOOhh.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-DAWTDTON.js} +2 -2
  11. package/dist/assets/{ExecutionsView-C0WZAIi0.js → ExecutionsView-fotg1R4V.js} +11 -10
  12. package/dist/assets/{FileSaver.min-Cm0u4qyc.js → FileSaver.min-CcnqpaV-.js} +1 -1
  13. package/dist/assets/{FixedCollectionParameter-KmRZtBiP.js → FixedCollectionParameter-BYR4RzWw.js} +1 -1
  14. package/dist/assets/{ForgotMyPasswordView-GH7SqEFu.js → ForgotMyPasswordView-CQMKtpr-.js} +3 -3
  15. package/dist/assets/{InsightsChartAverageRuntime-SeBUN06R.js → InsightsChartAverageRuntime-B-9BU5qw.js} +7 -6
  16. package/dist/assets/{InsightsChartFailed-TYjH8LwV.js → InsightsChartFailed-Bd1BlFEm.js} +7 -6
  17. package/dist/assets/{InsightsChartFailureRate-D41Jv-6v.js → InsightsChartFailureRate-DPTCueAp.js} +7 -6
  18. package/dist/assets/{InsightsChartTimeSaved-TLPDAmPx.js → InsightsChartTimeSaved-CSVKB08W.js} +7 -6
  19. package/dist/assets/{InsightsChartTotal-CaKTe2mv.js → InsightsChartTotal-Bxjmisao.js} +7 -6
  20. package/dist/assets/InsightsDashboard-5cOORj5z.js +372 -0
  21. package/dist/assets/{InsightsDashboard-DPVczYm3.css → InsightsDashboard-Bx4vx9gz.css} +16 -0
  22. package/dist/assets/{InsightsPaywall-Z4Y0nO-i.js → InsightsPaywall-Bdo_3Ic_.js} +1 -1
  23. package/dist/assets/{InsightsSummary-FixbpmPJ.css → InsightsSummary-CdlaUpAt.css} +25 -25
  24. package/dist/assets/{InsightsSummary-DzYli0Pu.js → InsightsSummary-DB62HhNM.js} +16 -17
  25. package/dist/assets/{InsightsTableWorkflows-CUHAG57c.js → InsightsTableWorkflows-BEC5Yh0b.js} +2 -2
  26. package/dist/assets/{Logo-Dxp4M9dy.js → Logo-CK8euEWT.js} +1 -1
  27. package/dist/assets/{LogsPanel-zIrTNE6j.js → LogsPanel-CrGEYFLo.js} +480 -364
  28. package/dist/assets/{LogsPanel-DmPMCt9w.css → LogsPanel-DLC2TAqh.css} +203 -97
  29. package/dist/assets/{MainHeader-D4cIIoUA.js → MainHeader-C7XOaZKu.js} +122 -295
  30. package/dist/assets/MainHeader-CEPLiR-5.css +1044 -0
  31. package/dist/assets/{MainSidebar-BtW-9UPT.js → MainSidebar-DD_ugRL3.js} +2 -2
  32. package/dist/assets/{NodeCreation-thD32mA1.js → NodeCreation-S2FoBcnW.js} +4 -4
  33. package/dist/assets/{NodeCreator-B4mHaU45.js → NodeCreator-D6TKVgLu.js} +14 -4
  34. package/dist/assets/{NodeDetailsView-cO3Ci9jH.js → NodeDetailsView-DtvMtBqp.js} +40 -30
  35. package/dist/assets/{NodeView-E5b1ClVD.js → NodeView-BPhaaoWK.js} +135 -30
  36. package/dist/assets/{ProjectCardBadge-LnLKqSK-.js → ProjectCardBadge-C_L_pqWA.js} +1 -1
  37. package/dist/assets/{ProjectHeader-DC02ZuZ0.js → ProjectHeader-C0FZTxjm.js} +1 -1
  38. package/dist/assets/{ProjectSettings-Zr1UOp7s.js → ProjectSettings-DlggJ6Ti.js} +2 -2
  39. package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-CM7WIpD3.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-BNtCDFSj.js} +1 -1
  40. package/dist/assets/{ResourcesListLayout-CglK2dXR.css → ResourcesListLayout-CtGME7aU.css} +8 -8
  41. package/dist/assets/{ResourcesListLayout-DTsuHdYx.js → ResourcesListLayout-HzoSFUaj.js} +2 -2
  42. package/dist/assets/{RunData-DepHcD2K.css → RunData-C9dtm1M2.css} +92 -73
  43. package/dist/assets/{RunData-Ds-U68nr.js → RunData-D8Eax0cQ.js} +319 -221
  44. package/dist/assets/{RunDataAi-DdK11EHU.js → RunDataAi-BUnCQIRN.js} +3 -3
  45. package/dist/assets/{RunDataJson-Txw0lqay.css → RunDataJson-BH9HLoGC.css} +12 -8
  46. package/dist/assets/{RunDataJson-B2WU5od1.js → RunDataJson-DXd3nZxI.js} +20 -14
  47. package/dist/assets/{RunDataJsonActions-DqZ2X1yJ.js → RunDataJsonActions-aivOaol2.js} +1 -1
  48. package/dist/assets/{RunDataSearch-CQsyZvGK.js → RunDataSearch-DJ9BZGTu.js} +1 -1
  49. package/dist/assets/{RunDataTable-DyUvXWfl.css → RunDataTable-CUxj7dHx.css} +47 -39
  50. package/dist/assets/{RunDataTable-BO0R4JT_.js → RunDataTable-vEPCwbcC.js} +41 -30
  51. package/dist/assets/{SamlOnboarding-CmwMX5y2.js → SamlOnboarding--OTxMEws.js} +3 -3
  52. package/dist/assets/{SettingsApiView-D6uBbi9-.js → SettingsApiView-BulxWyyY.js} +1 -1
  53. package/dist/assets/{SettingsCommunityNodesView-CJODtx_K.js → SettingsCommunityNodesView-4wwPXFO2.js} +4 -4
  54. package/dist/assets/{SettingsExternalSecrets-CVk14P_P.js → SettingsExternalSecrets-zt7dxBKK.js} +1 -1
  55. package/dist/assets/{SettingsLdapView-pg71FErj.js → SettingsLdapView-xneO6UIv.js} +1 -1
  56. package/dist/assets/{SettingsLogStreamingView-DUOI3Xb9.js → SettingsLogStreamingView-_h8wUzum.js} +1 -1
  57. package/dist/assets/{SettingsPersonalView-BFnOmBPC.js → SettingsPersonalView-CwYMP4sk.js} +1 -1
  58. package/dist/assets/{SettingsSourceControl-BUNmxcvB.js → SettingsSourceControl-B9Tg93u3.js} +1 -1
  59. package/dist/assets/{SettingsSso-Dx8Qw_2Z.js → SettingsSso-XaL1PzfW.js} +1 -1
  60. package/dist/assets/{SettingsUsageAndPlan-DTk86tXU.js → SettingsUsageAndPlan-Ci15FW81.js} +1 -1
  61. package/dist/assets/{SettingsUsersView-BviXcl30.js → SettingsUsersView-DBJV4vSK.js} +1 -1
  62. package/dist/assets/{SettingsView-fzPdUijx.js → SettingsView-DMzdPF-1.js} +1 -1
  63. package/dist/assets/{SetupView-DUTx1JXK.js → SetupView-BqWgdvDq.js} +3 -3
  64. package/dist/assets/{SetupWorkflowCredentialsButton-fApxCGHh.js → SetupWorkflowCredentialsButton-B2wnuUnF.js} +1 -1
  65. package/dist/assets/{SetupWorkflowFromTemplateView-C5t9fEKF.js → SetupWorkflowFromTemplateView-BwC_wFSc.js} +3 -3
  66. package/dist/assets/{SigninView-BRVoXQRW.js → SigninView-DpTLJJwD.js} +3 -3
  67. package/dist/assets/{SignoutView-Duh6wb4Y.js → SignoutView-dkTtOCo1.js} +1 -1
  68. package/dist/assets/{SignupView-DMkpTtjs.js → SignupView-CJFJJO3L.js} +3 -3
  69. package/dist/assets/{TemplateDetails-Df9_jph6.js → TemplateDetails-84YElIBA.js} +1 -1
  70. package/dist/assets/{TemplateList-qSnJvw0K.js → TemplateList-CGsfKuVA.js} +1 -1
  71. package/dist/assets/{TemplatesCollectionView--ccYXaCo.js → TemplatesCollectionView-2y8KZk0I.js} +5 -5
  72. package/dist/assets/{TemplatesSearchView-D1YgHKld.js → TemplatesSearchView-DgosiOzl.js} +3 -3
  73. package/dist/assets/{TemplatesView-B9CwObHN.js → TemplatesView-CgQSZO4a.js} +1 -1
  74. package/dist/assets/{TemplatesWorkflowView-DtLpUF59.js → TemplatesWorkflowView-2pSUmAbX.js} +5 -5
  75. package/dist/assets/{TestDefinitionEditView-DFcBlKnN.js → TestDefinitionEditView-C26sWE7p.js} +8 -8
  76. package/dist/assets/{TestDefinitionListView-C_mbolTO.js → TestDefinitionListView-Cyl6bsLP.js} +1 -1
  77. package/dist/assets/{TestDefinitionNewView-CvyM6TLE.js → TestDefinitionNewView-CfIZ0atk.js} +2 -2
  78. package/dist/assets/{TestDefinitionRootView-BXzJY0cY.js → TestDefinitionRootView-CYg7HBL-.js} +1 -1
  79. package/dist/assets/{VariablesView-BHFJj5IU.js → VariablesView-BFE9B0_b.js} +3 -3
  80. package/dist/assets/{WorkerView-CgIksFjP.js → WorkerView-BUMCMS_B.js} +6 -6
  81. package/dist/assets/WorkflowActivator-BDLto9c0.js +776 -0
  82. package/dist/assets/{MainHeader-CWA2JfVJ.css → WorkflowActivator-DAyH7N29.css} +74 -434
  83. package/dist/assets/{WorkflowExecutionsInfoAccordion-BcBLZ_Ul.js → WorkflowExecutionsInfoAccordion-manN-WIj.js} +1 -1
  84. package/dist/assets/{WorkflowExecutionsLandingPage-B9ByHnbR.js → WorkflowExecutionsLandingPage-BzGmpGvf.js} +2 -2
  85. package/dist/assets/{WorkflowExecutionsPreview-DCE7TYLh.js → WorkflowExecutionsPreview-CNEV2lom.js} +6 -6
  86. package/dist/assets/{WorkflowExecutionsView-DFoBpdS7.js → WorkflowExecutionsView-WiNvtAmD.js} +7 -7
  87. package/dist/assets/{WorkflowHistory-DolmPUM2.js → WorkflowHistory-6uJJqB4x.js} +4 -4
  88. package/dist/assets/{WorkflowOnboardingView-DQW48M8_.js → WorkflowOnboardingView-CPt_AUR-.js} +1 -1
  89. package/dist/assets/{WorkflowPreview-BFR6V9SO.js → WorkflowPreview-CHUEX6H6.js} +1 -1
  90. package/dist/assets/{WorkflowsView-CsM69PSv.css → WorkflowsView-B2_HJCJ5.css} +28 -162
  91. package/dist/assets/{WorkflowsView-B-feKuLZ.js → WorkflowsView-DbGBRbfc.js} +123 -216
  92. package/dist/assets/{chartjs.utils-BcXTJ2Te.js → chartjs.utils-C--HONKb.js} +2 -2
  93. package/dist/assets/{dateFormatter-CZI1kGYK.js → dateFormatter-DbKqmK4w.js} +5 -5
  94. package/dist/assets/{easyAiWorkflowUtils-ChToD_Yl.js → easyAiWorkflowUtils-BWgfZ0am.js} +1 -1
  95. package/dist/assets/{global-link-actions-OGaZVwsw.js → global-link-actions-COf-9vBh.js} +1 -1
  96. package/dist/assets/{import-curl-CAszzwx1.js → import-curl-BiXaU2jk.js} +1 -1
  97. package/dist/assets/{index-7WdERzqm.js → index-B6xE9gZ1.js} +1 -1
  98. package/dist/assets/{index-BpdkKRP4.js → index-BLAboPd2.js} +14034 -12086
  99. package/dist/assets/{index-C5OXOcIJ.css → index-sq5ggyEC.css} +6265 -4303
  100. package/dist/assets/{pickBy-mYqFOFbh.js → pickBy-gZHb6vZ2.js} +1 -1
  101. package/dist/assets/{templateActions-BX9arLbc.js → templateActions-DCx74tPa.js} +1 -1
  102. package/dist/assets/{useBeforeUnload-K7nQ15Rk.js → useBeforeUnload-DbfysOS-.js} +1 -1
  103. package/dist/assets/{useCanvasMapping-D_UPCxYX.js → useCanvasMapping-CSuq_dYj.js} +251 -96
  104. package/dist/assets/{useCanvasMapping-C--wac6H.css → useCanvasMapping-cuXLM-h-.css} +185 -4
  105. package/dist/assets/{useCanvasOperations-D6VFiC3b.js → useCanvasOperations-C0pQBHW3.js} +3 -2
  106. package/dist/assets/{useClearExecutionButtonVisible-D_0O6f0X.js → useClearExecutionButtonVisible-Cvfxw8xC.js} +2 -2
  107. package/dist/assets/{useExecutionDebugging-BNMaKOh7.js → useExecutionDebugging-D2H5O6fT.js} +1 -1
  108. package/dist/assets/{useExecutionHelpers-DN5HqPqY.js → useExecutionHelpers-C--m0pTQ.js} +2 -2
  109. package/dist/assets/{useImportCurlCommand-BSL596XF.js → useImportCurlCommand-XFn6Ezp2.js} +2 -2
  110. package/dist/assets/{usePushConnection-BdV7ILvK.js → usePushConnection-x0iF1Axz.js} +5 -3
  111. package/dist/assets/{useTestDefinitionForm-CIhrxyve.js → useTestDefinitionForm-2YP-8pAN.js} +1 -1
  112. package/dist/assets/{useWorkflowActivate-pZ62ib_C.js → useWorkflowActivate-CvmIpy5T.js} +1 -1
  113. package/dist/index.html +2 -2
  114. package/package.json +1 -1
  115. package/vite.config.mts +15 -1
  116. package/dist/assets/CollectionParameter-CQXiWluX.js +0 -4
  117. package/dist/assets/InsightsDashboard-o3JS9fjz.js +0 -178
  118. package/dist/assets/WorkflowActivator-BX59FxTZ.css +0 -260
  119. package/dist/assets/WorkflowActivator-O6i5XAk2.js +0 -231
@@ -1,7 +1,7 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/RunDataTable-BO0R4JT_.js","assets/index-BpdkKRP4.js","assets/index-C5OXOcIJ.css","assets/useExecutionHelpers-DN5HqPqY.js","assets/dateFormatter-CZI1kGYK.js","assets/RunDataTable-DyUvXWfl.css","assets/RunDataJson-B2WU5od1.js","assets/FileSaver.min-Cm0u4qyc.js","assets/RunDataJson-Txw0lqay.css","assets/RunDataSearch-CQsyZvGK.js","assets/RunDataSearch-R6qtl0Jf.css"])))=>i.map(i=>d[i]);
2
- import { dB as hasKey, cl as getDefaultExportFromCjs, dC as AGENT_LANGCHAIN_NODE_TYPE, d as defineComponent, be as useClipboard, a as useToast, dD as useAIAssistantHelpers, by as useNodeTypesStore, au as useNDVStore, a1 as useRootStore, dl as useAssistantStore, L as useUIStore, q as computed, dE as MAX_DISPLAY_DATA_SIZE, dF as isCommunityPackageName, c as useI18n, h as resolveComponent, cc as resolveDirective, i as createElementBlock, g as openBlock, k as createBaseVNode, f as createCommentVNode, aC as withDirectives, t as toDisplayString, j as createVNode, m as unref, dG as InlineAskAssistantButton, w as withCtx, l as createTextVNode, F as Fragment, D as renderList, dH as NEW_ASSISTANT_SESSION_MODAL, ci as sanitizeHtml, bd as N8nText, J as withModifiers, n as normalizeClass, _ as _export_sfc, dI as requireVue, dJ as sanitizeHtml$1, dK as sanitizeHtmlExports, r as ref, U as useWorkflowsStore, o as onMounted, bV as jsonParse, e as createBlock, bz as useNodeHelpers, aS as N8nTooltip, aU as _sfc_main$a, aT as N8nLink, bF as N8nRadioButtons, aW as createSlots, bD as N8nIcon, bl as NodeConnectionTypes, a3 as useSourceControlStore, du as useSchemaPreviewStore, aw as usePostHog, W as useRoute, bJ as toRef, bp as usePinnedData, dL as useNodeType, cH as storeToRefs, dM as TRIMMED_TASK_DATA_CONNECTIONS_KEY, dN as executionDataToJson, dO as NODE_TYPES_EXCLUDED_FROM_OUTPUT_NAME_APPEND, dP as CORE_NODES_CATEGORY, dQ as SCHEMA_PREVIEW_EXPERIMENT, dR as computedAsync, I as watch, ai as useTelemetry, y as onBeforeUnmount, aL as useStorage, dS as LOCAL_STORAGE_PIN_DATA_DISCOVERY_NDV_FLAG, dT as dataPinningEventBus, dU as LOCAL_STORAGE_PIN_DATA_DISCOVERY_CANVAS_FLAG, dV as searchInObject, bw as getConnectionTypes, dW as isObject, dX as MAX_DISPLAY_DATA_SIZE_SCHEMA_VIEW, dY as HTML_NODE_TYPE, x as renderSlot, b$ as N8nCallout, dZ as DATA_PINNING_DOCS_URL, aD as vShow, bZ as Suspense, b_ as defineAsyncComponent, b4 as normalizeProps, b7 as mergeProps, bf as N8nButton, d_ as _sfc_main$b, d$ as N8nSelect, e0 as N8nTabs, b5 as guardReactiveProps, e1 as _sfc_main$c, e2 as JsonEditor, e3 as DATA_EDITING_DOCS_URL, df as InfoTip, e4 as N8nBlockUi, aq as __vitePreload, e5 as isPresent, bx as getNodeOutputs, e6 as getNodeHints, e7 as getGenericHints, e8 as clearJsonKey, e9 as TEST_PIN_DATA, aR as useExternalHooks, ea as isEmpty, eb as isEqual } from "./index-BpdkKRP4.js";
3
- import { F as FileSaver_minExports } from "./FileSaver.min-Cm0u4qyc.js";
4
- import { u as useExecutionHelpers } from "./useExecutionHelpers-DN5HqPqY.js";
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/RunDataTable-vEPCwbcC.js","assets/index-BLAboPd2.js","assets/index-sq5ggyEC.css","assets/useExecutionHelpers-C--m0pTQ.js","assets/dateFormatter-DbKqmK4w.js","assets/RunDataTable-CUxj7dHx.css","assets/RunDataJson-DXd3nZxI.js","assets/FileSaver.min-CcnqpaV-.js","assets/RunDataJson-BH9HLoGC.css","assets/RunDataSearch-DJ9BZGTu.js","assets/RunDataSearch-R6qtl0Jf.css"])))=>i.map(i=>d[i]);
2
+ import { dI as hasKey, cq as getDefaultExportFromCjs, dJ as AGENT_LANGCHAIN_NODE_TYPE, b1 as isRef, dK as isReactive, dL as isProxy, da as toRaw, d as defineComponent, bf as useClipboard, a as useToast, dM as useAIAssistantHelpers, bz as useNodeTypesStore, as as useNDVStore, Z as useRootStore, dr as useAssistantStore, H as useUIStore, q as computed, dN as MAX_DISPLAY_DATA_SIZE, dO as isCommunityPackageName, c as useI18n, h as resolveComponent, ch as resolveDirective, i as createElementBlock, g as openBlock, k as createBaseVNode, f as createCommentVNode, aA as withDirectives, t as toDisplayString, j as createVNode, m as unref, dP as InlineAskAssistantButton, w as withCtx, aT as _sfc_main$b, l as createTextVNode, F as Fragment, D as renderList, dQ as NEW_ASSISTANT_SESSION_MODAL, cn as sanitizeHtml, be as N8nText, b2 as withModifiers, n as normalizeClass, _ as _export_sfc, dR as requireVue, dS as sanitizeHtml$1, dT as sanitizeHtmlExports, r as ref, Q as useWorkflowsStore, o as onMounted, bZ as jsonParse, e as createBlock, bA as useNodeHelpers, aR as N8nTooltip, aS as N8nLink, bG as N8nRadioButtons, aV as createSlots, bE as N8nIcon, bm as NodeConnectionTypes, a0 as useSourceControlStore, dz as useSchemaPreviewStore, au as usePostHog, R as useRoute, bN as toRef, bq as usePinnedData, dU as useNodeType, cM as storeToRefs, dV as TRIMMED_TASK_DATA_CONNECTIONS_KEY, dW as executionDataToJson, dX as NODE_TYPES_EXCLUDED_FROM_OUTPUT_NAME_APPEND, dY as CORE_NODES_CATEGORY, dZ as SCHEMA_PREVIEW_EXPERIMENT, d_ as computedAsync, X as watch, bH as ndvEventBus, ag as useTelemetry, y as onBeforeUnmount, aJ as useStorage, d$ as LOCAL_STORAGE_PIN_DATA_DISCOVERY_NDV_FLAG, e0 as dataPinningEventBus, e1 as LOCAL_STORAGE_PIN_DATA_DISCOVERY_CANVAS_FLAG, e2 as searchInObject, bx as getConnectionTypes, e3 as isObject, e4 as MAX_DISPLAY_DATA_SIZE_SCHEMA_VIEW, e5 as HTML_NODE_TYPE, x as renderSlot, c3 as N8nCallout, e6 as DATA_PINNING_DOCS_URL, aB as vShow, c1 as Suspense, c2 as defineAsyncComponent, b4 as normalizeProps, b7 as mergeProps, bg as N8nButton, e7 as _sfc_main$c, e8 as N8nSelect, e9 as N8nTabs, b5 as guardReactiveProps, ea as _sfc_main$d, eb as JsonEditor, ec as DATA_EDITING_DOCS_URL, dk as InfoTip, ed as N8nBlockUi, ao as __vitePreload, ee as isPresent, by as getNodeOutputs, ef as getGenericHints, eg as clearJsonKey, eh as TEST_PIN_DATA, aP as useExternalHooks, ei as isEmpty, ej as isEqual } from "./index-BLAboPd2.js";
3
+ import { F as FileSaver_minExports } from "./FileSaver.min-CcnqpaV-.js";
4
+ import { u as useExecutionHelpers } from "./useExecutionHelpers-C--m0pTQ.js";
5
5
  function responseHasSubworkflowData(response) {
6
6
  return ["executionId", "workflowId"].every(
7
7
  (x) => hasKey(response, x) && typeof response[x] === "string"
@@ -1696,6 +1696,62 @@ function getConsumedTokens(outputRun) {
1696
1696
  );
1697
1697
  return tokenUsage;
1698
1698
  }
1699
+ function formatTokenUsageCount(usage, field) {
1700
+ const count = field === "total" ? usage.totalTokens : field === "completion" ? usage.completionTokens : usage.promptTokens;
1701
+ return usage.isEstimate ? `~${count}` : count.toLocaleString();
1702
+ }
1703
+ function getConsumedTokensV2(task) {
1704
+ if (!task.data) {
1705
+ return emptyTokenUsageData;
1706
+ }
1707
+ const tokenUsage = Object.values(task.data).flat().flat().reduce((acc, curr) => {
1708
+ const tokenUsageData = curr?.json?.tokenUsage ?? curr?.json?.tokenUsageEstimate;
1709
+ if (!tokenUsageData) return acc;
1710
+ return addTokenUsageData(acc, {
1711
+ ...tokenUsageData,
1712
+ isEstimate: !!curr?.json.tokenUsageEstimate
1713
+ });
1714
+ }, emptyTokenUsageData);
1715
+ return tokenUsage;
1716
+ }
1717
+ function createNodeV2(parent, node, currentDepth, runIndex, runData, children = []) {
1718
+ return {
1719
+ parent,
1720
+ node,
1721
+ id: `${node.name}:${runIndex}`,
1722
+ depth: currentDepth,
1723
+ runIndex,
1724
+ runData,
1725
+ children,
1726
+ consumedTokens: getConsumedTokensV2(runData)
1727
+ };
1728
+ }
1729
+ function getTreeNodeDataV2(nodeName, runData, workflow, data, runIndex) {
1730
+ const node = workflow.getNode(nodeName);
1731
+ return node ? getTreeNodeDataRecV2(void 0, node, runData, 0, workflow, data, runIndex) : [];
1732
+ }
1733
+ function getTreeNodeDataRecV2(parent, node, runData, currentDepth, workflow, data, runIndex) {
1734
+ const connectedSubNodes = workflow.getParentNodes(node.name, "ALL_NON_MAIN", 1);
1735
+ const treeNode = createNodeV2(parent, node, currentDepth, runIndex ?? 0, runData);
1736
+ const children = connectedSubNodes.flatMap(
1737
+ (subNodeName) => (data[subNodeName] ?? []).flatMap((t, index) => {
1738
+ if (runIndex !== void 0 && index !== runIndex) {
1739
+ return [];
1740
+ }
1741
+ const subNode = workflow.getNode(subNodeName);
1742
+ return subNode ? getTreeNodeDataRecV2(treeNode, subNode, t, currentDepth + 1, workflow, data, index) : [];
1743
+ })
1744
+ ).sort((a, b) => {
1745
+ if (a.runData.executionIndex !== void 0 && b.runData.executionIndex !== void 0) {
1746
+ return a.runData.executionIndex - b.runData.executionIndex;
1747
+ }
1748
+ const aTime = a.runData.startTime ?? 0;
1749
+ const bTime = b.runData.startTime ?? 0;
1750
+ return aTime - bTime;
1751
+ });
1752
+ treeNode.children = children;
1753
+ return [treeNode];
1754
+ }
1699
1755
  function getTotalConsumedTokens(...usage) {
1700
1756
  return usage.reduce(addTokenUsageData, emptyTokenUsageData);
1701
1757
  }
@@ -1705,33 +1761,21 @@ function getSubtreeTotalConsumedTokens(treeNode) {
1705
1761
  ...treeNode.children.map(getSubtreeTotalConsumedTokens)
1706
1762
  );
1707
1763
  }
1708
- function formatTokenUsageCount(usage, field) {
1709
- const count = field === "total" ? usage.totalTokens : field === "completion" ? usage.completionTokens : usage.promptTokens;
1710
- return usage.isEstimate ? `~${count}` : count.toLocaleString();
1711
- }
1712
- function findLogEntryToAutoSelect(tree, nodesByName, runData) {
1713
- return findLogEntryToAutoSelectRec(tree, nodesByName, runData, 0);
1714
- }
1715
- function findLogEntryToAutoSelectRec(tree, nodesByName, runData, depth) {
1716
- for (const entry of tree) {
1717
- const taskData = runData[entry.node]?.[entry.runIndex];
1764
+ function findLogEntryToAutoSelectRec(data, subTree, depth) {
1765
+ for (const entry of subTree) {
1766
+ const taskData = data.data?.resultData.runData[entry.node.name]?.[entry.runIndex];
1718
1767
  if (taskData?.error) {
1719
1768
  return entry;
1720
1769
  }
1721
- const childAutoSelect = findLogEntryToAutoSelectRec(
1722
- entry.children,
1723
- nodesByName,
1724
- runData,
1725
- depth + 1
1726
- );
1770
+ const childAutoSelect = findLogEntryToAutoSelectRec(data, entry.children, depth + 1);
1727
1771
  if (childAutoSelect) {
1728
1772
  return childAutoSelect;
1729
1773
  }
1730
- if (nodesByName[entry.node]?.type === AGENT_LANGCHAIN_NODE_TYPE) {
1774
+ if (data.workflowData.nodes.find((n) => n.name === entry.node.name)?.type === AGENT_LANGCHAIN_NODE_TYPE) {
1731
1775
  return entry;
1732
1776
  }
1733
1777
  }
1734
- return depth === 0 ? tree[0] : void 0;
1778
+ return depth === 0 ? subTree[0] : void 0;
1735
1779
  }
1736
1780
  function createLogEntries(workflow, runData) {
1737
1781
  const runs = Object.entries(runData).filter(([nodeName]) => workflow.getChildNodes(nodeName, "ALL_NON_MAIN").length === 0).flatMap(
@@ -1744,27 +1788,46 @@ function createLogEntries(workflow, runData) {
1744
1788
  });
1745
1789
  return runs.flatMap(({ nodeName, runIndex, task }) => {
1746
1790
  if (workflow.getParentNodes(nodeName, "ALL_NON_MAIN").length > 0) {
1747
- return getTreeNodeData(
1748
- nodeName,
1749
- workflow,
1750
- createAiData(nodeName, workflow, (node) => runData[node] ?? []),
1751
- void 0
1752
- );
1791
+ return getTreeNodeDataV2(nodeName, task, workflow, runData, void 0);
1753
1792
  }
1754
- return getTreeNodeData(
1755
- nodeName,
1756
- workflow,
1757
- [
1758
- {
1759
- data: getReferencedData(task, false)[0],
1760
- node: nodeName,
1761
- runIndex
1762
- }
1763
- ],
1764
- runIndex
1765
- );
1793
+ return getTreeNodeDataV2(nodeName, task, workflow, runData, runIndex);
1766
1794
  });
1767
1795
  }
1796
+ function includesLogEntry(log, logs) {
1797
+ return logs.some(
1798
+ (l) => l.node.name === log.node.name && log.runIndex === l.runIndex || includesLogEntry(log, l.children)
1799
+ );
1800
+ }
1801
+ function findSelectedLogEntry(state, execution) {
1802
+ return state.type === "initial" || state.workflowId !== execution?.workflowData.id || state.type === "selected" && !includesLogEntry(state.data, execution.tree) ? execution ? findLogEntryToAutoSelectRec(execution, execution.tree, 0) : void 0 : state.type === "none" ? void 0 : state.data;
1803
+ }
1804
+ function deepToRaw(sourceObj) {
1805
+ const objectIterator = (input) => {
1806
+ if (Array.isArray(input)) {
1807
+ return input.map((item) => objectIterator(item));
1808
+ }
1809
+ if (isRef(input) || isReactive(input) || isProxy(input)) {
1810
+ return objectIterator(toRaw(input));
1811
+ }
1812
+ if (input !== null && typeof input === "object" && Object.getPrototypeOf(input) === Object.prototype) {
1813
+ return Object.keys(input).reduce((acc, key) => {
1814
+ acc[key] = objectIterator(input[key]);
1815
+ return acc;
1816
+ }, {});
1817
+ }
1818
+ return input;
1819
+ };
1820
+ return objectIterator(sourceObj);
1821
+ }
1822
+ function flattenLogEntries(entries, collapsedEntryIds, ret = []) {
1823
+ for (const entry of entries) {
1824
+ ret.push(entry);
1825
+ if (!collapsedEntryIds[entry.id]) {
1826
+ flattenLogEntries(entry.children, collapsedEntryIds, ret);
1827
+ }
1828
+ }
1829
+ return ret;
1830
+ }
1768
1831
  const _hoisted_1$8 = { class: "node-error-view" };
1769
1832
  const _hoisted_2$4 = { class: "node-error-view__header" };
1770
1833
  const _hoisted_3$3 = {
@@ -1886,7 +1949,7 @@ const _hoisted_60 = {
1886
1949
  };
1887
1950
  const _hoisted_61 = { class: "node-error-view__details-label" };
1888
1951
  const _hoisted_62 = { class: "node-error-view__details-value" };
1889
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
1952
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
1890
1953
  __name: "NodeErrorView",
1891
1954
  props: {
1892
1955
  error: {},
@@ -2188,7 +2251,6 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
2188
2251
  }
2189
2252
  return (_ctx, _cache) => {
2190
2253
  const _component_n8n_button = resolveComponent("n8n-button");
2191
- const _component_n8n_icon_button = resolveComponent("n8n-icon-button");
2192
2254
  const _component_n8n_tooltip = resolveComponent("n8n-tooltip");
2193
2255
  const _component_font_awesome_icon = resolveComponent("font-awesome-icon");
2194
2256
  const _directive_n8n_html = resolveDirective("n8n-html");
@@ -2227,11 +2289,11 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
2227
2289
  }, {
2228
2290
  default: withCtx(() => [
2229
2291
  createBaseVNode("div", _hoisted_10, [
2230
- createVNode(_component_n8n_icon_button, {
2292
+ createVNode(unref(_sfc_main$b), {
2231
2293
  icon: "copy",
2232
2294
  type: "secondary",
2233
2295
  size: "mini",
2234
- text: "true",
2296
+ text: true,
2235
2297
  "transparent-background": "transparent",
2236
2298
  onClick: copyErrorDetails
2237
2299
  })
@@ -2376,7 +2438,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
2376
2438
  };
2377
2439
  }
2378
2440
  });
2379
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2441
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
2380
2442
  __name: "ConsumedTokensDetails",
2381
2443
  props: {
2382
2444
  consumedTokens: {}
@@ -2417,7 +2479,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2417
2479
  }
2418
2480
  });
2419
2481
  const _hoisted_1$7 = ["href"];
2420
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
2482
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
2421
2483
  __name: "ViewSubExecution",
2422
2484
  props: {
2423
2485
  taskMetadata: {},
@@ -2474,7 +2536,7 @@ const style0$4 = {
2474
2536
  const cssModules$4 = {
2475
2537
  "$style": style0$4
2476
2538
  };
2477
- const ViewSubExecution = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__cssModules", cssModules$4]]);
2539
+ const ViewSubExecution = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__cssModules", cssModules$4]]);
2478
2540
  var vueJsonPretty$1 = { exports: {} };
2479
2541
  var vueJsonPretty = vueJsonPretty$1.exports;
2480
2542
  var hasRequiredVueJsonPretty;
@@ -2827,7 +2889,7 @@ const sanitizeOptions = {
2827
2889
  head: ""
2828
2890
  }
2829
2891
  };
2830
- const _sfc_main$6 = {
2892
+ const _sfc_main$7 = {
2831
2893
  name: "RunDataHtml",
2832
2894
  props: {
2833
2895
  inputHtml: {
@@ -2848,7 +2910,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
2848
2910
  srcdoc: $options.sanitizedHtml
2849
2911
  }, null, 8, _hoisted_1$6);
2850
2912
  }
2851
- const RunDataHtml = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render]]);
2913
+ const RunDataHtml = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render]]);
2852
2914
  const RunDataHtml$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2853
2915
  __proto__: null,
2854
2916
  default: RunDataHtml
@@ -2870,7 +2932,7 @@ const _hoisted_6$1 = {
2870
2932
  const _hoisted_7$1 = ["src", "type"];
2871
2933
  const _hoisted_8$1 = ["src"];
2872
2934
  const _hoisted_9$1 = ["src"];
2873
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2935
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
2874
2936
  __name: "BinaryDataDisplayEmbed",
2875
2937
  props: {
2876
2938
  binaryData: {}
@@ -2949,7 +3011,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2949
3011
  });
2950
3012
  const _hoisted_1$4 = { class: "binary-data-window-wrapper" };
2951
3013
  const _hoisted_2$2 = { key: 0 };
2952
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
3014
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
2953
3015
  __name: "BinaryDataDisplay",
2954
3016
  props: {
2955
3017
  displayData: {},
@@ -3008,7 +3070,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
3008
3070
  onClick: withModifiers(closeWindow, ["stop"])
3009
3071
  }, null, 8, ["title", "label"]),
3010
3072
  createBaseVNode("div", _hoisted_1$4, [
3011
- !binaryData.value ? (openBlock(), createElementBlock("div", _hoisted_2$2, toDisplayString(unref(i18n).baseText("binaryDataDisplay.noDataFoundToDisplay")), 1)) : (openBlock(), createBlock(_sfc_main$5, {
3073
+ !binaryData.value ? (openBlock(), createElementBlock("div", _hoisted_2$2, toDisplayString(unref(i18n).baseText("binaryDataDisplay.noDataFoundToDisplay")), 1)) : (openBlock(), createBlock(_sfc_main$6, {
3012
3074
  key: 1,
3013
3075
  "binary-data": binaryData.value
3014
3076
  }, null, 8, ["binary-data"]))
@@ -3022,7 +3084,7 @@ const _hoisted_2$1 = { key: 1 };
3022
3084
  const _hoisted_3$1 = { key: 2 };
3023
3085
  const _hoisted_4$1 = { key: 0 };
3024
3086
  const _hoisted_5$1 = { key: 1 };
3025
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3087
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
3026
3088
  __name: "RunDataPinButton",
3027
3089
  props: {
3028
3090
  tooltipContentsVisibility: {},
@@ -3071,7 +3133,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3071
3133
  ]))
3072
3134
  ]),
3073
3135
  default: withCtx(() => [
3074
- createVNode(unref(_sfc_main$a), {
3136
+ createVNode(unref(_sfc_main$b), {
3075
3137
  class: normalizeClass(_ctx.$style.pinDataButton),
3076
3138
  type: "tertiary",
3077
3139
  active: props.pinnedData.hasData.value,
@@ -3093,23 +3155,22 @@ const style0$3 = {
3093
3155
  const cssModules$3 = {
3094
3156
  "$style": style0$3
3095
3157
  };
3096
- const RunDataPinButton = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__cssModules", cssModules$3]]);
3158
+ const RunDataPinButton = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__cssModules", cssModules$3]]);
3097
3159
  const _hoisted_1$2 = { key: 0 };
3098
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3160
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
3099
3161
  __name: "RunDataItemCount",
3100
3162
  props: {
3101
3163
  dataCount: {},
3102
3164
  unfilteredDataCount: {},
3103
3165
  subExecutionsCount: { default: 0 },
3104
- search: {},
3105
- muted: { type: Boolean }
3166
+ search: {}
3106
3167
  },
3107
3168
  setup(__props) {
3108
3169
  const i18n = useI18n();
3109
3170
  return (_ctx, _cache) => {
3110
3171
  return _ctx.search ? (openBlock(), createBlock(unref(N8nText), {
3111
3172
  key: 0,
3112
- class: normalizeClass([_ctx.$style.itemsText, _ctx.muted ? _ctx.$style.muted : ""])
3173
+ class: normalizeClass(_ctx.$style.itemsText)
3113
3174
  }, {
3114
3175
  default: withCtx(() => [
3115
3176
  createTextVNode(toDisplayString(unref(i18n).baseText("ndv.search.items", {
@@ -3120,7 +3181,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3120
3181
  _: 1
3121
3182
  }, 8, ["class"])) : (openBlock(), createBlock(unref(N8nText), {
3122
3183
  key: 1,
3123
- class: normalizeClass([_ctx.$style.itemsText, _ctx.muted ? _ctx.$style.muted : ""])
3184
+ class: normalizeClass(_ctx.$style.itemsText)
3124
3185
  }, {
3125
3186
  default: withCtx(() => [
3126
3187
  createBaseVNode("span", null, toDisplayString(unref(i18n).baseText("ndv.output.items", {
@@ -3137,18 +3198,16 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3137
3198
  };
3138
3199
  }
3139
3200
  });
3140
- const itemsText = "_itemsText_1p5xj_123";
3141
- const muted = "_muted_1p5xj_130";
3201
+ const itemsText = "_itemsText_1e7yn_123";
3142
3202
  const style0$2 = {
3143
- itemsText,
3144
- muted
3203
+ itemsText
3145
3204
  };
3146
3205
  const cssModules$2 = {
3147
3206
  "$style": style0$2
3148
3207
  };
3149
- const RunDataItemCount = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__cssModules", cssModules$2]]);
3208
+ const RunDataItemCount = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__cssModules", cssModules$2]]);
3150
3209
  const _hoisted_1$1 = { key: 5 };
3151
- const _sfc_main$1 = /* @__PURE__ */ defineComponent({
3210
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3152
3211
  __name: "RunDataDisplayModeSelect",
3153
3212
  props: {
3154
3213
  compact: { type: Boolean },
@@ -3180,6 +3239,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
3180
3239
  "model-value": _ctx.value,
3181
3240
  options: options.value,
3182
3241
  "data-test-id": "ndv-run-data-display-mode",
3242
+ size: _ctx.compact ? "small-medium" : "medium",
3243
+ "square-buttons": _ctx.compact,
3183
3244
  "onUpdate:modelValue": _cache[0] || (_cache[0] = (selected) => emit("change", selected))
3184
3245
  }, createSlots({ _: 2 }, [
3185
3246
  _ctx.compact ? {
@@ -3188,44 +3249,103 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
3188
3249
  option.value === "table" ? (openBlock(), createBlock(unref(N8nIcon), {
3189
3250
  key: 0,
3190
3251
  icon: "table",
3191
- size: "small",
3192
- class: normalizeClass(_ctx.$style.icon)
3193
- }, null, 8, ["class"])) : option.value === "json" ? (openBlock(), createBlock(unref(N8nIcon), {
3252
+ size: "small"
3253
+ })) : option.value === "json" ? (openBlock(), createBlock(unref(N8nIcon), {
3194
3254
  key: 1,
3195
3255
  icon: "json",
3196
- size: "small",
3197
- class: normalizeClass(_ctx.$style.icon)
3198
- }, null, 8, ["class"])) : option.value === "binary" ? (openBlock(), createBlock(unref(N8nIcon), {
3256
+ size: "small"
3257
+ })) : option.value === "binary" ? (openBlock(), createBlock(unref(N8nIcon), {
3199
3258
  key: 2,
3200
3259
  icon: "binary",
3201
- size: "small",
3202
- class: normalizeClass(_ctx.$style.icon)
3203
- }, null, 8, ["class"])) : option.value === "schema" ? (openBlock(), createBlock(unref(N8nIcon), {
3260
+ size: "small"
3261
+ })) : option.value === "schema" ? (openBlock(), createBlock(unref(N8nIcon), {
3204
3262
  key: 3,
3205
3263
  icon: "schema",
3206
- size: "small",
3207
- class: normalizeClass(_ctx.$style.icon)
3208
- }, null, 8, ["class"])) : option.value === "html" ? (openBlock(), createBlock(unref(N8nIcon), {
3264
+ size: "small"
3265
+ })) : option.value === "html" ? (openBlock(), createBlock(unref(N8nIcon), {
3209
3266
  key: 4,
3210
3267
  icon: "html",
3211
- size: "small",
3212
- class: normalizeClass(_ctx.$style.icon)
3213
- }, null, 8, ["class"])) : (openBlock(), createElementBlock("span", _hoisted_1$1, toDisplayString(option.label), 1))
3268
+ size: "small"
3269
+ })) : (openBlock(), createElementBlock("span", _hoisted_1$1, toDisplayString(option.label), 1))
3214
3270
  ]),
3215
3271
  key: "0"
3216
3272
  } : void 0
3217
- ]), 1032, ["model-value", "options"]);
3273
+ ]), 1032, ["model-value", "options", "size", "square-buttons"]);
3274
+ };
3275
+ }
3276
+ });
3277
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
3278
+ __name: "RunDataPaginationBar",
3279
+ props: {
3280
+ pageSize: {},
3281
+ total: {},
3282
+ currentPage: {}
3283
+ },
3284
+ emits: ["update:current-page", "update:page-size"],
3285
+ setup(__props, { emit: __emit }) {
3286
+ const emit = __emit;
3287
+ const i18n = useI18n();
3288
+ const pageSizes = [1, 10, 25, 50, 100];
3289
+ return (_ctx, _cache) => {
3290
+ const _component_el_pagination = resolveComponent("el-pagination");
3291
+ const _component_N8nOption = resolveComponent("N8nOption");
3292
+ const _component_N8nSelect = resolveComponent("N8nSelect");
3293
+ return openBlock(), createElementBlock("div", {
3294
+ class: normalizeClass(_ctx.$style.pagination),
3295
+ "data-test-id": "ndv-data-pagination"
3296
+ }, [
3297
+ createVNode(_component_el_pagination, {
3298
+ background: "",
3299
+ "hide-on-single-page": true,
3300
+ "current-page": _ctx.currentPage,
3301
+ "pager-count": 5,
3302
+ "page-size": _ctx.pageSize,
3303
+ layout: "prev, pager, next",
3304
+ total: _ctx.total,
3305
+ "onUpdate:currentPage": _cache[0] || (_cache[0] = (value) => emit("update:current-page", value))
3306
+ }, null, 8, ["current-page", "page-size", "total"]),
3307
+ createBaseVNode("div", {
3308
+ class: normalizeClass(_ctx.$style.pageSizeSelector)
3309
+ }, [
3310
+ createVNode(_component_N8nSelect, {
3311
+ size: "mini",
3312
+ "model-value": _ctx.pageSize,
3313
+ teleported: "",
3314
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = (value) => emit("update:page-size", value))
3315
+ }, {
3316
+ prepend: withCtx(() => [
3317
+ createTextVNode(toDisplayString(unref(i18n).baseText("ndv.output.pageSize")), 1)
3318
+ ]),
3319
+ default: withCtx(() => [
3320
+ (openBlock(), createElementBlock(Fragment, null, renderList(pageSizes, (size) => {
3321
+ return createVNode(_component_N8nOption, {
3322
+ key: size,
3323
+ label: size,
3324
+ value: size
3325
+ }, null, 8, ["label", "value"]);
3326
+ }), 64)),
3327
+ createVNode(_component_N8nOption, {
3328
+ label: unref(i18n).baseText("ndv.output.all"),
3329
+ value: _ctx.total
3330
+ }, null, 8, ["label", "value"])
3331
+ ]),
3332
+ _: 1
3333
+ }, 8, ["model-value"])
3334
+ ], 2)
3335
+ ], 2);
3218
3336
  };
3219
3337
  }
3220
3338
  });
3221
- const icon = "_icon_1xx9c_123";
3339
+ const pagination = "_pagination_1hlvz_123";
3340
+ const pageSizeSelector = "_pageSizeSelector_1hlvz_134";
3222
3341
  const style0$1 = {
3223
- icon
3342
+ pagination,
3343
+ pageSizeSelector
3224
3344
  };
3225
3345
  const cssModules$1 = {
3226
3346
  "$style": style0$1
3227
3347
  };
3228
- const RunDataDisplayModeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__cssModules", cssModules$1]]);
3348
+ const RunDataPaginationBar = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__cssModules", cssModules$1]]);
3229
3349
  const _hoisted_1 = {
3230
3350
  key: 0,
3231
3351
  class: "ml-4xs"
@@ -3242,6 +3362,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
3242
3362
  __name: "RunData",
3243
3363
  props: {
3244
3364
  workflow: {},
3365
+ workflowExecution: { default: void 0 },
3245
3366
  runIndex: {},
3246
3367
  tooMuchDataTitle: {},
3247
3368
  executingMessage: {},
@@ -3265,24 +3386,25 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
3265
3386
  disableEdit: { type: Boolean, default: false },
3266
3387
  disablePin: { type: Boolean, default: false },
3267
3388
  compact: { type: Boolean, default: false },
3268
- tableHeaderBgColor: { default: "base" }
3389
+ tableHeaderBgColor: { default: "base" },
3390
+ disableHoverHighlight: { type: Boolean, default: false }
3269
3391
  },
3270
3392
  emits: ["search", "runChange", "itemHover", "linkRun", "unlinkRun", "activatePane", "tableMounted"],
3271
3393
  setup(__props, { expose: __expose, emit: __emit }) {
3272
3394
  const LazyRunDataTable = defineAsyncComponent(
3273
- async () => await __vitePreload(() => import("./RunDataTable-BO0R4JT_.js"), true ? __vite__mapDeps([0,1,2,3,4,5]) : void 0)
3395
+ async () => await __vitePreload(() => import("./RunDataTable-vEPCwbcC.js"), true ? __vite__mapDeps([0,1,2,3,4,5]) : void 0)
3274
3396
  );
3275
3397
  const LazyRunDataJson = defineAsyncComponent(
3276
- async () => await __vitePreload(() => import("./RunDataJson-B2WU5od1.js"), true ? __vite__mapDeps([6,1,2,7,3,4,8]) : void 0)
3398
+ async () => await __vitePreload(() => import("./RunDataJson-DXd3nZxI.js"), true ? __vite__mapDeps([6,1,2,7,3,4,8]) : void 0)
3277
3399
  );
3278
3400
  const LazyRunDataSchema = defineAsyncComponent(
3279
- async () => await __vitePreload(() => import("./index-BpdkKRP4.js").then((n) => n.is), true ? __vite__mapDeps([1,2]) : void 0)
3401
+ async () => await __vitePreload(() => import("./index-BLAboPd2.js").then((n) => n.iA), true ? __vite__mapDeps([1,2]) : void 0)
3280
3402
  );
3281
3403
  const LazyRunDataHtml = defineAsyncComponent(
3282
3404
  async () => await __vitePreload(() => Promise.resolve().then(() => RunDataHtml$1), true ? void 0 : void 0)
3283
3405
  );
3284
3406
  const LazyRunDataSearch = defineAsyncComponent(
3285
- async () => await __vitePreload(() => import("./RunDataSearch-CQsyZvGK.js"), true ? __vite__mapDeps([9,1,2,10]) : void 0)
3407
+ async () => await __vitePreload(() => import("./RunDataSearch-DJ9BZGTu.js"), true ? __vite__mapDeps([9,1,2,10]) : void 0)
3286
3408
  );
3287
3409
  const props = __props;
3288
3410
  const emit = __emit;
@@ -3295,7 +3417,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
3295
3417
  const binaryDataDisplayData = ref(null);
3296
3418
  const currentPage = ref(1);
3297
3419
  const pageSize = ref(10);
3298
- const pageSizes = [1, 10, 25, 50, 100];
3299
3420
  const pinDataDiscoveryTooltipVisible = ref(false);
3300
3421
  const isControlledPinDataTooltip = ref(false);
3301
3422
  const search2 = ref("");
@@ -3336,9 +3457,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
3336
3457
  });
3337
3458
  const isSchemaView = computed(() => displayMode.value === "schema");
3338
3459
  const isSearchInSchemaView = computed(() => isSchemaView.value && !!search2.value);
3339
- const displaysMultipleNodes = computed(
3340
- () => isSchemaView.value && props.paneType === "input" && props.nodes.length > 0
3341
- );
3460
+ const hasMultipleInputNodes = computed(() => props.paneType === "input" && props.nodes.length > 0);
3461
+ const displaysMultipleNodes = computed(() => isSchemaView.value && hasMultipleInputNodes.value);
3342
3462
  const isTriggerNode = computed(() => !!node.value && nodeTypesStore.isTriggerNode(node.value.type));
3343
3463
  const canPinData = computed(
3344
3464
  () => !!node.value && pinnedData.canPinNode(false, currentOutputIndex.value) && !isPaneTypeInput.value && pinnedData.isValidNodeType.value && !(binaryData.value && binaryData.value.length > 0)
@@ -3385,12 +3505,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
3385
3505
  }
3386
3506
  return [];
3387
3507
  });
3388
- const workflowExecution = computed(() => workflowsStore.getWorkflowExecution);
3508
+ const workflowExecution = computed(
3509
+ () => props.workflowExecution ?? workflowsStore.getWorkflowExecution ?? void 0
3510
+ );
3389
3511
  const workflowRunData = computed(() => {
3390
- if (workflowExecution.value === null) {
3512
+ if (workflowExecution.value === void 0) {
3391
3513
  return null;
3392
3514
  }
3393
- const executionData = workflowExecution.value.data;
3515
+ const executionData = workflowExecution.value?.data;
3394
3516
  if (executionData?.resultData) {
3395
3517
  return executionData.resultData.runData;
3396
3518
  }
@@ -3498,7 +3620,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
3498
3620
  const isPaneTypeOutput = computed(() => props.paneType === "output");
3499
3621
  const readOnlyEnv = computed(() => sourceControlStore.preferences.branchReadOnly);
3500
3622
  const showIOSearch = computed(
3501
- () => hasNodeRun.value && !hasRunError.value && unfilteredInputData.value.length > 0
3623
+ () => hasNodeRun.value && !hasRunError.value && (unfilteredInputData.value.length > 0 || displaysMultipleNodes.value)
3502
3624
  );
3503
3625
  const inputSelectLocation = computed(() => {
3504
3626
  if (isSchemaView.value) return "none";
@@ -3510,7 +3632,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
3510
3632
  return "items";
3511
3633
  });
3512
3634
  const showIoSearchNoMatchContent = computed(
3513
- () => hasNodeRun.value && !inputData.value.length && !!search2.value
3635
+ () => hasNodeRun.value && !inputData.value.length && !!search2.value && !displaysMultipleNodes.value
3514
3636
  );
3515
3637
  const parentNodeOutputData = computed(() => {
3516
3638
  const parentNode = props.workflow.getParentNodesByDepth(node.value?.name ?? "")[0];
@@ -3568,7 +3690,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
3568
3690
  if (!node.value) {
3569
3691
  return false;
3570
3692
  }
3571
- const taskData = nodeHelpers.getNodeTaskData(node.value, props.runIndex);
3693
+ const taskData = nodeHelpers.getNodeTaskData(node.value.name, props.runIndex);
3572
3694
  return Boolean(taskData?.inputOverride);
3573
3695
  });
3574
3696
  const isSchemaPreviewEnabled = computed(
@@ -3598,9 +3720,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
3598
3720
  search: search2.value,
3599
3721
  dataCount: dataCount.value,
3600
3722
  unfilteredDataCount: unfilteredDataCount.value,
3601
- subExecutionsCount: activeTaskMetadata.value?.subExecutionsCount,
3602
- muted: props.compact || props.paneType === "input" && maxRunIndex.value === 0
3723
+ subExecutionsCount: activeTaskMetadata.value?.subExecutionsCount
3603
3724
  }));
3725
+ function setInputBranchIndex(value) {
3726
+ if (props.paneType === "input") {
3727
+ outputIndex.value = value;
3728
+ }
3729
+ }
3604
3730
  watch(node, (newNode, prevNode) => {
3605
3731
  if (newNode?.id === prevNode?.id) return;
3606
3732
  init();
@@ -3649,6 +3775,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
3649
3775
  });
3650
3776
  onMounted(() => {
3651
3777
  init();
3778
+ ndvEventBus.on("setInputBranchIndex", setInputBranchIndex);
3652
3779
  if (!isPaneTypeInput.value) {
3653
3780
  showPinDataDiscoveryTooltip(jsonData.value);
3654
3781
  }
@@ -3681,6 +3808,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
3681
3808
  });
3682
3809
  onBeforeUnmount(() => {
3683
3810
  hidePinDataDiscoveryTooltip();
3811
+ ndvEventBus.off("setInputBranchIndex", setInputBranchIndex);
3684
3812
  });
3685
3813
  function getResolvedNodeOutputs() {
3686
3814
  if (node.value && nodeType.value) {
@@ -3713,12 +3841,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
3713
3841
  }
3714
3842
  return true;
3715
3843
  }
3716
- function getNodeHints$1() {
3844
+ function getNodeHints() {
3717
3845
  try {
3718
3846
  if (node.value && nodeType.value) {
3719
3847
  const workflowNode = props.workflow.getNode(node.value.name);
3720
3848
  if (workflowNode) {
3721
- const nodeHints = getNodeHints(props.workflow, workflowNode, nodeType.value, {
3849
+ const nodeHints = nodeHelpers.getNodeHints(props.workflow, workflowNode, nodeType.value, {
3722
3850
  runExecutionData: workflowExecution.value?.data ?? null,
3723
3851
  runIndex: props.runIndex,
3724
3852
  connectionInputData: parentNodeOutputData.value
@@ -4000,7 +4128,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4000
4128
  runIndex,
4001
4129
  outputIndex2,
4002
4130
  props.paneType,
4003
- connectionType2
4131
+ connectionType2,
4132
+ workflowExecution.value
4004
4133
  );
4005
4134
  }
4006
4135
  if (inputData2.length === 0 || !Array.isArray(inputData2)) {
@@ -4170,7 +4299,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4170
4299
  __expose({ enterEditMode });
4171
4300
  return (_ctx, _cache) => {
4172
4301
  const _component_i18n_t = resolveComponent("i18n-t");
4173
- const _component_el_pagination = resolveComponent("el-pagination");
4174
4302
  const _directive_n8n_html = resolveDirective("n8n-html");
4175
4303
  return openBlock(), createElementBlock("div", {
4176
4304
  class: normalizeClass(["run-data", _ctx.$style.container, props.compact ? _ctx.$style.compact : ""]),
@@ -4218,7 +4346,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4218
4346
  ]),
4219
4347
  _: 1
4220
4348
  }, 8, ["class"])) : createCommentVNode("", true),
4221
- binaryDataDisplayData.value ? (openBlock(), createBlock(_sfc_main$4, {
4349
+ binaryDataDisplayData.value ? (openBlock(), createBlock(_sfc_main$5, {
4222
4350
  key: 1,
4223
4351
  "window-visible": binaryDataDisplayVisible.value,
4224
4352
  "display-data": binaryDataDisplayData.value,
@@ -4227,7 +4355,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4227
4355
  createBaseVNode("div", {
4228
4356
  class: normalizeClass(_ctx.$style.header)
4229
4357
  }, [
4230
- renderSlot(_ctx.$slots, "header", {}, void 0, true),
4358
+ createBaseVNode("div", {
4359
+ class: normalizeClass(_ctx.$style.title)
4360
+ }, [
4361
+ renderSlot(_ctx.$slots, "header", {}, void 0, true)
4362
+ ], 2),
4231
4363
  withDirectives(createBaseVNode("div", {
4232
4364
  class: normalizeClass(_ctx.$style.displayModes),
4233
4365
  "data-test-id": "run-data-pane-header",
@@ -4249,7 +4381,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4249
4381
  ]),
4250
4382
  _: 1
4251
4383
  })),
4252
- withDirectives(createVNode(RunDataDisplayModeSelect, {
4384
+ withDirectives(createVNode(_sfc_main$2, {
4253
4385
  class: normalizeClass(_ctx.$style.displayModeSelect),
4254
4386
  compact: props.compact,
4255
4387
  value: displayMode.value,
@@ -4260,11 +4392,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4260
4392
  }, null, 8, ["class", "compact", "value", "has-binary-data", "pane-type", "node-generates-html"]), [
4261
4393
  [
4262
4394
  vShow,
4263
- unref(hasPreviewSchema) || hasNodeRun.value && (inputData.value.length || binaryData.value.length || search2.value) && !editMode2.value.enabled
4395
+ unref(hasPreviewSchema) || hasNodeRun.value && (inputData.value.length || binaryData.value.length || search2.value || hasMultipleInputNodes.value) && !editMode2.value.enabled
4264
4396
  ]
4265
4397
  ]),
4266
4398
  props.compact ? (openBlock(), createBlock(RunDataItemCount, normalizeProps(mergeProps({ key: 0 }, itemsCountProps.value)), null, 16)) : createCommentVNode("", true),
4267
- !props.disableEdit && canPinData.value && !isReadOnlyRoute.value && !readOnlyEnv.value ? withDirectives((openBlock(), createBlock(unref(_sfc_main$a), {
4399
+ !props.disableEdit && canPinData.value && !isReadOnlyRoute.value && !readOnlyEnv.value ? withDirectives((openBlock(), createBlock(unref(_sfc_main$b), {
4268
4400
  key: 1,
4269
4401
  title: unref(i18n).baseText("runData.editOutput"),
4270
4402
  circle: false,
@@ -4338,7 +4470,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4338
4470
  ]),
4339
4471
  default: withCtx(() => [
4340
4472
  (openBlock(true), createElementBlock(Fragment, null, renderList(maxRunIndex.value + 1, (option) => {
4341
- return openBlock(), createBlock(unref(_sfc_main$b), {
4473
+ return openBlock(), createBlock(unref(_sfc_main$c), {
4342
4474
  key: option,
4343
4475
  label: getRunLabel(option),
4344
4476
  value: option - 1
@@ -4355,7 +4487,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4355
4487
  createTextVNode(toDisplayString(unref(i18n).baseText(_ctx.linkedRuns ? "runData.unlinking.hint" : "runData.linking.hint")), 1)
4356
4488
  ]),
4357
4489
  default: withCtx(() => [
4358
- createVNode(unref(_sfc_main$a), {
4490
+ createVNode(unref(_sfc_main$b), {
4359
4491
  icon: _ctx.linkedRuns ? "unlink" : "link",
4360
4492
  class: normalizeClass(["linkRun", _ctx.linkedRuns ? "linked" : ""]),
4361
4493
  text: "",
@@ -4396,7 +4528,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4396
4528
  _: 3
4397
4529
  })
4398
4530
  ], 2)) : createCommentVNode("", true),
4399
- (openBlock(true), createElementBlock(Fragment, null, renderList(getNodeHints$1(), (hint) => {
4531
+ (openBlock(true), createElementBlock(Fragment, null, renderList(getNodeHints(), (hint) => {
4400
4532
  return openBlock(), createBlock(unref(N8nCallout), {
4401
4533
  key: hint.message,
4402
4534
  class: normalizeClass(_ctx.$style.hintCallout),
@@ -4426,6 +4558,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4426
4558
  class: normalizeClass(_ctx.$style.tabs)
4427
4559
  }, [
4428
4560
  createVNode(unref(N8nTabs), {
4561
+ size: "small",
4429
4562
  "model-value": currentOutputIndex.value,
4430
4563
  options: branches.value,
4431
4564
  "onUpdate:modelValue": onBranchChange
@@ -4460,7 +4593,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4460
4593
  createBaseVNode("div", {
4461
4594
  class: normalizeClass(_ctx.$style.spinner)
4462
4595
  }, [
4463
- createVNode(unref(_sfc_main$c), { type: "ring" })
4596
+ createVNode(unref(_sfc_main$d), { type: "ring" })
4464
4597
  ], 2),
4465
4598
  createVNode(unref(N8nText), null, {
4466
4599
  default: withCtx(() => [
@@ -4507,7 +4640,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4507
4640
  key: 2,
4508
4641
  class: normalizeClass(_ctx.$style.stretchVertically)
4509
4642
  }, [
4510
- createVNode(_sfc_main$9, {
4643
+ createVNode(_sfc_main$a, {
4511
4644
  error: subworkflowExecutionError.value,
4512
4645
  class: normalizeClass(_ctx.$style.errorDisplay)
4513
4646
  }, null, 8, ["error", "class"])
@@ -4546,7 +4679,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4546
4679
  createBaseVNode("div", {
4547
4680
  class: normalizeClass(_ctx.$style.spinner)
4548
4681
  }, [
4549
- createVNode(unref(_sfc_main$c), { type: "ring" })
4682
+ createVNode(unref(_sfc_main$d), { type: "ring" })
4550
4683
  ], 2),
4551
4684
  createVNode(unref(N8nText), {
4552
4685
  color: "text-dark",
@@ -4600,19 +4733,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4600
4733
  ]),
4601
4734
  _: 1
4602
4735
  }, 8, ["class"])) : _ctx.$slots["content"] ? (openBlock(), createElementBlock("div", _hoisted_2, [
4603
- workflowRunErrorAsNodeError.value ? (openBlock(), createBlock(_sfc_main$9, {
4736
+ workflowRunErrorAsNodeError.value ? (openBlock(), createBlock(_sfc_main$a, {
4604
4737
  key: 0,
4605
4738
  error: workflowRunErrorAsNodeError.value,
4606
4739
  class: normalizeClass(_ctx.$style.inlineError),
4607
4740
  compact: ""
4608
4741
  }, null, 8, ["error", "class"])) : createCommentVNode("", true),
4609
4742
  renderSlot(_ctx.$slots, "content", {}, void 0, true)
4610
- ])) : workflowRunErrorAsNodeError.value ? (openBlock(), createBlock(_sfc_main$9, {
4743
+ ])) : workflowRunErrorAsNodeError.value ? (openBlock(), createBlock(_sfc_main$a, {
4611
4744
  key: 2,
4612
4745
  error: workflowRunErrorAsNodeError.value,
4613
4746
  class: normalizeClass(_ctx.$style.dataDisplay)
4614
4747
  }, null, 8, ["error", "class"])) : createCommentVNode("", true)
4615
- ], 2)) : hasNodeRun.value && (!unfilteredDataCount.value || search2.value && !dataCount.value) && branches.value.length > 1 ? (openBlock(), createElementBlock("div", {
4748
+ ], 2)) : hasNodeRun.value && (!unfilteredDataCount.value || search2.value && !dataCount.value) && !displaysMultipleNodes.value && branches.value.length > 1 ? (openBlock(), createElementBlock("div", {
4616
4749
  key: 10,
4617
4750
  class: normalizeClass(_ctx.$style.center)
4618
4751
  }, [
@@ -4649,7 +4782,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4649
4782
  ]),
4650
4783
  _: 1
4651
4784
  }))
4652
- ], 2)) : hasNodeRun.value && !inputData.value.length && !search2.value ? (openBlock(), createElementBlock("div", {
4785
+ ], 2)) : hasNodeRun.value && !inputData.value.length && !displaysMultipleNodes.value && !search2.value ? (openBlock(), createElementBlock("div", {
4653
4786
  key: 11,
4654
4787
  class: normalizeClass(_ctx.$style.center)
4655
4788
  }, [
@@ -4751,10 +4884,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4751
4884
  "has-default-hover-state": _ctx.paneType === "input" && !search2.value,
4752
4885
  search: search2.value,
4753
4886
  "header-bg-color": _ctx.tableHeaderBgColor,
4887
+ compact: props.compact,
4888
+ "disable-hover-highlight": props.disableHoverHighlight,
4754
4889
  onMounted: _cache[8] || (_cache[8] = ($event) => emit("tableMounted", $event)),
4755
4890
  onActiveRowChanged: onItemHover,
4756
4891
  onDisplayModeChange
4757
- }, null, 8, ["node", "input-data", "mapping-enabled", "distance-from-active", "run-index", "page-offset", "total-runs", "has-default-hover-state", "search", "header-bg-color"])
4892
+ }, null, 8, ["node", "input-data", "mapping-enabled", "distance-from-active", "run-index", "page-offset", "total-runs", "has-default-hover-state", "search", "header-bg-color", "compact", "disable-hover-highlight"])
4758
4893
  ]),
4759
4894
  _: 1
4760
4895
  })) : hasNodeRun.value && displayMode.value === "json" && node.value ? (openBlock(), createBlock(Suspense, { key: 17 }, {
@@ -4770,8 +4905,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4770
4905
  "run-index": _ctx.runIndex,
4771
4906
  "output-index": currentOutputIndex.value,
4772
4907
  "total-runs": maxRunIndex.value,
4773
- search: search2.value
4774
- }, null, 8, ["pane-type", "edit-mode", "push-ref", "node", "input-data", "mapping-enabled", "distance-from-active", "run-index", "output-index", "total-runs", "search"])
4908
+ search: search2.value,
4909
+ compact: props.compact
4910
+ }, null, 8, ["pane-type", "edit-mode", "push-ref", "node", "input-data", "mapping-enabled", "distance-from-active", "run-index", "output-index", "total-runs", "search", "compact"])
4775
4911
  ]),
4776
4912
  _: 1
4777
4913
  })) : hasNodeRun.value && isPaneTypeOutput.value && displayMode.value === "html" ? (openBlock(), createBlock(Suspense, { key: 18 }, {
@@ -4788,13 +4924,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4788
4924
  data: jsonData.value,
4789
4925
  "pane-type": _ctx.paneType,
4790
4926
  "connection-type": connectionType.value,
4791
- "run-index": _ctx.runIndex,
4792
4927
  "output-index": currentOutputIndex.value,
4793
- "total-runs": maxRunIndex.value,
4794
4928
  search: search2.value,
4795
4929
  class: normalizeClass(_ctx.$style.schema),
4930
+ compact: props.compact,
4796
4931
  "onClear:search": onSearchClear
4797
- }, null, 8, ["nodes", "mapping-enabled", "node", "data", "pane-type", "connection-type", "run-index", "output-index", "total-runs", "search", "class"])
4932
+ }, null, 8, ["nodes", "mapping-enabled", "node", "data", "pane-type", "connection-type", "output-index", "search", "class", "compact"])
4798
4933
  ]),
4799
4934
  _: 1
4800
4935
  })) : displayMode.value === "binary" && binaryData.value.length === 0 ? (openBlock(), createElementBlock("div", {
@@ -4948,50 +5083,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4948
5083
  renderSlot(_ctx.$slots, "node-not-run", {}, void 0, true)
4949
5084
  ], 2)) : createCommentVNode("", true)
4950
5085
  ], 2),
4951
- _ctx.hidePagination === false && hasNodeRun.value && !hasRunError.value && displayMode.value !== "binary" && dataCount.value > pageSize.value && !isSchemaView.value && !isArtificialRecoveredEventItem.value ? withDirectives((openBlock(), createElementBlock("div", {
5086
+ _ctx.hidePagination === false && hasNodeRun.value && !hasRunError.value && displayMode.value !== "binary" && dataCount.value > pageSize.value && !isSchemaView.value && !isArtificialRecoveredEventItem.value ? withDirectives((openBlock(), createBlock(RunDataPaginationBar, {
4952
5087
  key: 8,
4953
- class: normalizeClass(_ctx.$style.pagination),
4954
- "data-test-id": "ndv-data-pagination"
4955
- }, [
4956
- createVNode(_component_el_pagination, {
4957
- background: "",
4958
- "hide-on-single-page": true,
4959
- "current-page": currentPage.value,
4960
- "pager-count": 5,
4961
- "page-size": pageSize.value,
4962
- layout: "prev, pager, next",
4963
- total: dataCount.value,
4964
- "onUpdate:currentPage": onCurrentPageChange
4965
- }, null, 8, ["current-page", "page-size", "total"]),
4966
- createBaseVNode("div", {
4967
- class: normalizeClass(_ctx.$style.pageSizeSelector)
4968
- }, [
4969
- createVNode(unref(N8nSelect), {
4970
- size: "mini",
4971
- "model-value": pageSize.value,
4972
- teleported: "",
4973
- "onUpdate:modelValue": onPageSizeChange
4974
- }, {
4975
- prepend: withCtx(() => [
4976
- createTextVNode(toDisplayString(unref(i18n).baseText("ndv.output.pageSize")), 1)
4977
- ]),
4978
- default: withCtx(() => [
4979
- (openBlock(), createElementBlock(Fragment, null, renderList(pageSizes, (size) => {
4980
- return createVNode(unref(_sfc_main$b), {
4981
- key: size,
4982
- label: size,
4983
- value: size
4984
- }, null, 8, ["label", "value"]);
4985
- }), 64)),
4986
- createVNode(unref(_sfc_main$b), {
4987
- label: unref(i18n).baseText("ndv.output.all"),
4988
- value: dataCount.value
4989
- }, null, 8, ["label", "value"])
4990
- ]),
4991
- _: 1
4992
- }, 8, ["model-value"])
4993
- ], 2)
4994
- ], 2)), [
5088
+ "current-page": currentPage.value,
5089
+ "page-size": pageSize.value,
5090
+ total: dataCount.value,
5091
+ "onUpdate:currentPage": onCurrentPageChange,
5092
+ "onUpdate:pageSize": onPageSizeChange
5093
+ }, null, 8, ["current-page", "page-size", "total"])), [
4995
5094
  [vShow, !editMode2.value.enabled]
4996
5095
  ]) : createCommentVNode("", true),
4997
5096
  createVNode(unref(N8nBlockUi), {
@@ -5002,44 +5101,43 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
5002
5101
  };
5003
5102
  }
5004
5103
  });
5005
- const infoIcon = "_infoIcon_12zhg_123";
5006
- const center = "_center_12zhg_127";
5007
- const container = "_container_12zhg_141";
5008
- const pinnedDataCallout = "_pinnedDataCallout_12zhg_149";
5009
- const header = "_header_12zhg_157";
5010
- const compact = "_compact_12zhg_168";
5011
- const dataContainer = "_dataContainer_12zhg_176";
5012
- const dataDisplay = "_dataDisplay_12zhg_185";
5013
- const inlineError = "_inlineError_12zhg_197";
5014
- const outputs = "_outputs_12zhg_204";
5015
- const tabs = "_tabs_12zhg_213";
5016
- const itemsCount = "_itemsCount_12zhg_221";
5017
- const inputSelect = "_inputSelect_12zhg_231";
5018
- const runSelector = "_runSelector_12zhg_237";
5019
- const runSelectorInner = "_runSelectorInner_12zhg_250";
5020
- const runSelectorSelect = "_runSelectorSelect_12zhg_256";
5021
- const search = "_search_12zhg_260";
5022
- const pagination = "_pagination_12zhg_264";
5023
- const pageSizeSelector = "_pageSizeSelector_12zhg_274";
5024
- const binaryIndex = "_binaryIndex_12zhg_280";
5025
- const binaryRow = "_binaryRow_12zhg_297";
5026
- const binaryCell = "_binaryCell_12zhg_302";
5027
- const binaryHeader = "_binaryHeader_12zhg_314";
5028
- const binaryButtonContainer = "_binaryButtonContainer_12zhg_323";
5029
- const binaryValue = "_binaryValue_12zhg_334";
5030
- const displayModes = "_displayModes_12zhg_339";
5031
- const tooltipContain = "_tooltipContain_12zhg_347";
5032
- const spinner = "_spinner_12zhg_351";
5033
- const editMode = "_editMode_12zhg_362";
5034
- const editModeBody = "_editModeBody_12zhg_371";
5035
- const editModeFooter = "_editModeFooter_12zhg_378";
5036
- const editModeFooterInfotip = "_editModeFooterInfotip_12zhg_388";
5037
- const editModeActions = "_editModeActions_12zhg_394";
5038
- const stretchVertically = "_stretchVertically_12zhg_401";
5039
- const uiBlocker = "_uiBlocker_12zhg_405";
5040
- const hintCallout = "_hintCallout_12zhg_410";
5041
- const schema = "_schema_12zhg_416";
5042
- const displayModeSelect = "_displayModeSelect_12zhg_421";
5104
+ const infoIcon = "_infoIcon_f5ono_123";
5105
+ const center = "_center_f5ono_127";
5106
+ const container = "_container_f5ono_141";
5107
+ const pinnedDataCallout = "_pinnedDataCallout_f5ono_149";
5108
+ const header = "_header_f5ono_157";
5109
+ const compact = "_compact_f5ono_169";
5110
+ const dataContainer = "_dataContainer_f5ono_181";
5111
+ const dataDisplay = "_dataDisplay_f5ono_187";
5112
+ const inlineError = "_inlineError_f5ono_202";
5113
+ const outputs = "_outputs_f5ono_209";
5114
+ const tabs = "_tabs_f5ono_224";
5115
+ const itemsCount = "_itemsCount_f5ono_232";
5116
+ const inputSelect = "_inputSelect_f5ono_242";
5117
+ const runSelector = "_runSelector_f5ono_248";
5118
+ const runSelectorInner = "_runSelectorInner_f5ono_261";
5119
+ const runSelectorSelect = "_runSelectorSelect_f5ono_267";
5120
+ const search = "_search_f5ono_271";
5121
+ const binaryIndex = "_binaryIndex_f5ono_275";
5122
+ const binaryRow = "_binaryRow_f5ono_292";
5123
+ const binaryCell = "_binaryCell_f5ono_297";
5124
+ const binaryHeader = "_binaryHeader_f5ono_309";
5125
+ const binaryButtonContainer = "_binaryButtonContainer_f5ono_318";
5126
+ const binaryValue = "_binaryValue_f5ono_329";
5127
+ const displayModes = "_displayModes_f5ono_334";
5128
+ const tooltipContain = "_tooltipContain_f5ono_346";
5129
+ const spinner = "_spinner_f5ono_350";
5130
+ const editMode = "_editMode_f5ono_361";
5131
+ const editModeBody = "_editModeBody_f5ono_370";
5132
+ const editModeFooter = "_editModeFooter_f5ono_377";
5133
+ const editModeFooterInfotip = "_editModeFooterInfotip_f5ono_387";
5134
+ const editModeActions = "_editModeActions_f5ono_393";
5135
+ const stretchVertically = "_stretchVertically_f5ono_400";
5136
+ const uiBlocker = "_uiBlocker_f5ono_404";
5137
+ const hintCallout = "_hintCallout_f5ono_409";
5138
+ const schema = "_schema_f5ono_418";
5139
+ const displayModeSelect = "_displayModeSelect_f5ono_423";
5140
+ const title = "_title_f5ono_434";
5043
5141
  const style0 = {
5044
5142
  infoIcon,
5045
5143
  center,
@@ -5048,7 +5146,6 @@ const style0 = {
5048
5146
  header,
5049
5147
  compact,
5050
5148
  dataContainer,
5051
- "actions-group": "_actions-group_12zhg_181",
5052
5149
  dataDisplay,
5053
5150
  inlineError,
5054
5151
  outputs,
@@ -5059,8 +5156,6 @@ const style0 = {
5059
5156
  runSelectorInner,
5060
5157
  runSelectorSelect,
5061
5158
  search,
5062
- pagination,
5063
- pageSizeSelector,
5064
5159
  binaryIndex,
5065
5160
  binaryRow,
5066
5161
  binaryCell,
@@ -5079,26 +5174,29 @@ const style0 = {
5079
5174
  uiBlocker,
5080
5175
  hintCallout,
5081
5176
  schema,
5082
- displayModeSelect
5177
+ displayModeSelect,
5178
+ title
5083
5179
  };
5084
5180
  const cssModules = {
5085
5181
  "$style": style0
5086
5182
  };
5087
- const RunData = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-97a8af0b"]]);
5183
+ const RunData = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-5b056086"]]);
5088
5184
  export {
5089
5185
  HighlightJS as H,
5090
5186
  RunData as R,
5091
5187
  ViewSubExecution as V,
5092
- _sfc_main$8 as _,
5188
+ _sfc_main$9 as _,
5093
5189
  getTotalConsumedTokens as a,
5094
- findLogEntryToAutoSelect as b,
5190
+ flattenLogEntries as b,
5095
5191
  createLogEntries as c,
5096
- _sfc_main$9 as d,
5097
- getConsumedTokens as e,
5192
+ deepToRaw as d,
5193
+ findSelectedLogEntry as e,
5098
5194
  formatTokenUsageCount as f,
5099
5195
  getSubtreeTotalConsumedTokens as g,
5100
- createAiData as h,
5101
- getTreeNodeData as i,
5102
- getReferencedData as j,
5103
- VueJsonPretty as k
5196
+ _sfc_main$a as h,
5197
+ getConsumedTokens as i,
5198
+ createAiData as j,
5199
+ getTreeNodeData as k,
5200
+ getReferencedData as l,
5201
+ VueJsonPretty as m
5104
5202
  };