n8n-editor-ui 1.85.2 → 1.87.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.
Files changed (120) hide show
  1. package/dist/assets/AnimatedSpinner-ChSRgyeI.css +39 -0
  2. package/dist/assets/AnimatedSpinner-urWn52iY.js +18 -0
  3. package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-B2Xk-4o2.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DIbgkfAC.js} +1 -1
  4. package/dist/assets/{AuthView-Bhr2Ols-.js → AuthView-DIQI5asI.js} +2 -2
  5. package/dist/assets/{CanvasChatSwitch-BcSDHC-c.css → CanvasChatSwitch-0IWSu8RE.css} +488 -46
  6. package/dist/assets/{CanvasChatSwitch-E9vu2jW8.js → CanvasChatSwitch-BIpZuY-n.js} +697 -214
  7. package/dist/assets/{ChangePasswordView-BzAEcqVw.js → ChangePasswordView-D8Qv0tim.js} +3 -3
  8. package/dist/assets/CollectionParameter-DT1MnS63.js +4 -0
  9. package/dist/assets/{CredentialsView-CZiEXdjH.js → CredentialsView-tJ8-2RrO.js} +8 -8
  10. package/dist/assets/{ErrorView-C1QywuMY.js → ErrorView-CZEZD7LB.js} +1 -1
  11. package/dist/assets/{ExecutionsTime-BOPJEomw.css → ExecutionsTime-DZHUIJjP.css} +6 -6
  12. package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-l5VZIkoy.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-gcknFyjA.js} +23 -20
  13. package/dist/assets/{ExecutionsView-Bo0Nk8lV.js → ExecutionsView-BCfIz8EF.js} +49 -57
  14. package/dist/assets/{ExecutionsView-JCKikuIS.css → ExecutionsView-ByQf9yli.css} +13 -47
  15. package/dist/assets/{FileSaver.min-D3VgyjMF.js → FileSaver.min-Bs2qHlKb.js} +1 -1
  16. package/dist/assets/{FixedCollectionParameter-RpfOY9Ho.js → FixedCollectionParameter-E0LDqNW3.js} +1 -1
  17. package/dist/assets/{ForgotMyPasswordView-DPTddCxG.js → ForgotMyPasswordView-YOnrzvKJ.js} +3 -3
  18. package/dist/assets/InsightsChartAverageRuntime-DWrrriYN.js +61 -0
  19. package/dist/assets/InsightsChartFailed-DRi6JC3m.js +57 -0
  20. package/dist/assets/InsightsChartFailureRate-BdFNsMpg.js +57 -0
  21. package/dist/assets/InsightsChartTimeSaved-C12GZzSQ.js +71 -0
  22. package/dist/assets/InsightsChartTotal-Cn386HO4.js +59 -0
  23. package/dist/assets/InsightsDashboard-BawwZ0Oo.js +154 -0
  24. package/dist/assets/InsightsDashboard-CB4vHnBh.css +152 -0
  25. package/dist/assets/InsightsPaywall-OeXh6LeZ.css +133 -0
  26. package/dist/assets/InsightsPaywall-g3JcqAYL.js +58 -0
  27. package/dist/assets/{useOverview-DcRuPjLJ.css → InsightsSummary-W08OzElS.css} +57 -35
  28. package/dist/assets/InsightsSummary-vMmKUcie.js +185 -0
  29. package/dist/assets/InsightsTableWorkflows-DQQ1vvMz.js +129 -0
  30. package/dist/assets/InsightsTableWorkflows-Us3j4UTO.css +128 -0
  31. package/dist/assets/{Logo-CxllxUni.js → Logo-Vm92axlM.js} +1 -1
  32. package/dist/assets/{MainHeader-9gTxUJIR.js → MainHeader-BUhpvu2K.js} +9 -10
  33. package/dist/assets/{MainSidebar-CRJML8mh.js → MainSidebar-D5P5FSUQ.js} +11 -4
  34. package/dist/assets/{NodeCreation-zoYjBJl6.js → NodeCreation-BgW5u-Bc.js} +4 -4
  35. package/dist/assets/{NodeCreator-D-qBRyBy.js → NodeCreator-CFe2n6vJ.js} +10 -26
  36. package/dist/assets/{NodeDetailsView-C1z3N5z_.css → NodeDetailsView-BT-ro74o.css} +63 -70
  37. package/dist/assets/{NodeDetailsView-C1iBFaC1.js → NodeDetailsView-CmtK-rDD.js} +145 -482
  38. package/dist/assets/{NodeView-Bio-FnnF.js → NodeView-BqaNPfpx.js} +19 -21
  39. package/dist/assets/{ProjectCardBadge-BEflW6oP.js → ProjectCardBadge-BKgtzWr1.js} +69 -36
  40. package/dist/assets/{ProjectCardBadge-C78ap7Rc.css → ProjectCardBadge-t3v64i1e.css} +18 -13
  41. package/dist/assets/{ProjectHeader-DK3_g_D8.js → ProjectHeader-BWVSdavS.js} +33 -7
  42. package/dist/assets/{ProjectHeader-B-a6_GH6.css → ProjectHeader-BsBpG-Mj.css} +7 -7
  43. package/dist/assets/{ProjectSettings-CLMy_-YC.js → ProjectSettings-BL-2-uOg.js} +3 -3
  44. package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-CSazgsi8.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-BL-bMMgn.js} +1 -2
  45. package/dist/assets/{ResourcesListLayout-CBvvL0VM.js → ResourcesListLayout-CozpmfUY.js} +1 -1
  46. package/dist/assets/{RunDataAi-C-tu9GrI.js → RunDataAi-B_EadpzG.js} +188 -94
  47. package/dist/assets/{RunDataAi-CN9FrT9c.css → RunDataAi-CUUDqZRP.css} +128 -0
  48. package/dist/assets/{RunDataJson-ClpS_600.js → RunDataJson-CyNNCtyd.js} +11 -12
  49. package/dist/assets/{RunDataJsonActions-gWW8Qkt_.js → RunDataJsonActions-SQqaiBEP.js} +1 -2
  50. package/dist/assets/{RunDataSearch-Dgv5JYk-.js → RunDataSearch-BF9kshKq.js} +1 -1
  51. package/dist/assets/{RunDataTable-nsOk35pD.js → RunDataTable-DsW7wuc2.js} +10 -8
  52. package/dist/assets/{SamlOnboarding-C5TSdGcx.js → SamlOnboarding-BX7RiRJB.js} +3 -3
  53. package/dist/assets/{SettingsApiView-CzQG1ofR.js → SettingsApiView-CDIPYvaG.js} +1 -1
  54. package/dist/assets/{SettingsCommunityNodesView-D_F3n2NO.js → SettingsCommunityNodesView-BRSEkT73.js} +4 -5
  55. package/dist/assets/{SettingsExternalSecrets-BUgKlMoR.js → SettingsExternalSecrets-D7ASuAnS.js} +1 -1
  56. package/dist/assets/{SettingsLdapView-CAmuVErd.js → SettingsLdapView-DA5fZZ51.js} +1 -1
  57. package/dist/assets/{SettingsLogStreamingView-DLkHrsx5.js → SettingsLogStreamingView-C9qkYvCr.js} +1 -1
  58. package/dist/assets/{SettingsPersonalView-2elwsG0f.js → SettingsPersonalView-BnNOJcvO.js} +2 -2
  59. package/dist/assets/{SettingsSourceControl-BD426GUo.js → SettingsSourceControl--ozL4427.js} +1 -1
  60. package/dist/assets/{SettingsSso-B-7lLoTI.js → SettingsSso-Bfe_HRSr.js} +1 -1
  61. package/dist/assets/{SettingsUsageAndPlan-EUWVJYe2.js → SettingsUsageAndPlan-CzvMNudh.js} +1 -1
  62. package/dist/assets/{SettingsUsersView-C3GbTYvU.js → SettingsUsersView-DGu5ku48.js} +1 -1
  63. package/dist/assets/{SettingsView-DSMM_8SL.js → SettingsView-CvreVxXL.js} +1 -1
  64. package/dist/assets/{SetupView-CexY8Lic.js → SetupView-BJT6GtIA.js} +3 -3
  65. package/dist/assets/{SetupWorkflowCredentialsButton-BpLp754t.js → SetupWorkflowCredentialsButton-BEq2gs_-.js} +2 -4
  66. package/dist/assets/{SetupWorkflowFromTemplateView-CLvS9Kda.js → SetupWorkflowFromTemplateView-F9oCDWX8.js} +3 -12
  67. package/dist/assets/{SigninView-CYkcm3hG.js → SigninView-DyoDtCBc.js} +3 -3
  68. package/dist/assets/{SignoutView-C2HutrZm.js → SignoutView-DclBslYe.js} +1 -1
  69. package/dist/assets/{SignupView-B-o-ka0Z.js → SignupView-BhB0Hhj0.js} +3 -3
  70. package/dist/assets/{TemplateDetails-C20G_lj4.js → TemplateDetails-B3utdyMi.js} +1 -1
  71. package/dist/assets/{TemplateList-DQzcYS6n.js → TemplateList-Bgz1iiiH.js} +1 -1
  72. package/dist/assets/{TemplatesCollectionView-DEEMhmYZ.js → TemplatesCollectionView-CORzb8YZ.js} +7 -9
  73. package/dist/assets/{TemplatesSearchView-S6802uNr.js → TemplatesSearchView-DTuv4-5C.js} +3 -3
  74. package/dist/assets/{TemplatesView-CT7S5O4K.js → TemplatesView-CFV5SVF7.js} +1 -1
  75. package/dist/assets/{TemplatesWorkflowView-BMd9OmqA.js → TemplatesWorkflowView-CQVVdNty.js} +5 -7
  76. package/dist/assets/{TestDefinitionEditView-BXhOuJrU.css → TestDefinitionEditView-Cwkrz308.css} +12 -143
  77. package/dist/assets/{TestDefinitionEditView-5kDGEtaD.js → TestDefinitionEditView-DX6GIeq2.js} +179 -331
  78. package/dist/assets/{TestDefinitionListView-BM-hghAY.js → TestDefinitionListView-CLEkthYQ.js} +1 -1
  79. package/dist/assets/{TestDefinitionNewView-CNN-qAmL.js → TestDefinitionNewView-DWTTqvlN.js} +2 -2
  80. package/dist/assets/{TestDefinitionRootView-S8g84AaK.js → TestDefinitionRootView-D0yLW0V6.js} +1 -1
  81. package/dist/assets/{VariablesView-D90WCfYK.js → VariablesView-Dsr4pqth.js} +3 -3
  82. package/dist/assets/{WorkerView-BHVIRKm_.js → WorkerView-Bbu5wv-g.js} +6 -7
  83. package/dist/assets/{WorkflowActivator-BsceIfln.js → WorkflowActivator-C197X_D6.js} +2 -2
  84. package/dist/assets/{WorkflowExecutionsInfoAccordion-DxGIzmq4.js → WorkflowExecutionsInfoAccordion-CHPlRtMQ.js} +1 -1
  85. package/dist/assets/{WorkflowExecutionsLandingPage-czqJYUnQ.js → WorkflowExecutionsLandingPage-CnvMc3SA.js} +2 -2
  86. package/dist/assets/{WorkflowExecutionsPreview-BzCGXWj0.js → WorkflowExecutionsPreview-CJBM3Awe.js} +24 -256
  87. package/dist/assets/{WorkflowExecutionsPreview-CHu6M3Dh.css → WorkflowExecutionsPreview-D7jTJ8GL.css} +16 -48
  88. package/dist/assets/{WorkflowExecutionsView-syep-_N0.js → WorkflowExecutionsView-BwB6WS6M.js} +11 -17
  89. package/dist/assets/{WorkflowHistory-CmHn_hnX.js → WorkflowHistory-U5a4aYts.js} +4 -4
  90. package/dist/assets/{WorkflowOnboardingView-BmhaZBkH.js → WorkflowOnboardingView-DHUUTLOo.js} +1 -1
  91. package/dist/assets/{WorkflowPreview-BN13256Q.js → WorkflowPreview-D8pwehRe.js} +1 -1
  92. package/dist/assets/{WorkflowsView-r9qJOUEb.css → WorkflowsView-CJB9aI6A.css} +27 -41
  93. package/dist/assets/{WorkflowsView-6qbtftll.js → WorkflowsView-DIh7kqZk.js} +76 -141
  94. package/dist/assets/chartjs.utils-DTEY3u-V.js +193 -0
  95. package/dist/assets/dateFormatter-C7xnNKzY.js +21 -0
  96. package/dist/assets/{easyAiWorkflowUtils-C7LfXIgb.js → easyAiWorkflowUtils-V__OjFo9.js} +1 -1
  97. package/dist/assets/{global-link-actions-znEIb0N4.js → global-link-actions-vGpWr9Uz.js} +1 -1
  98. package/dist/assets/{import-curl-BsKs3fYs.js → import-curl-C6ERUxFe.js} +1 -1
  99. package/dist/assets/{index-Cjz62pAo.js → index-BrjPYODL.js} +3 -1
  100. package/dist/assets/{index-DZljH0cm.js → index-DD7Wuhk5.js} +11407 -5580
  101. package/dist/assets/{index-CgXKy7t-.css → index-DJ205bL0.css} +418 -92
  102. package/dist/assets/{pickBy-DlIFPp_M.js → pickBy-BILEJ4hg.js} +1 -1
  103. package/dist/assets/{templateActions-ClDjWPHA.js → templateActions-M3qRQiV6.js} +2 -7
  104. package/dist/assets/{useBeforeUnload-BFlrxvKb.js → useBeforeUnload-DTsj_abb.js} +1 -1
  105. package/dist/assets/{useCanvasMapping-CJcAsQmx.css → useCanvasMapping-BkGr1HdJ.css} +29 -28
  106. package/dist/assets/{useCanvasMapping-C0PMQVwg.js → useCanvasMapping-DJvMRP2s.js} +71 -56
  107. package/dist/assets/{useCanvasOperations-2Ca5hPmu.js → useCanvasOperations-DCaSrD1N.js} +26 -254
  108. package/dist/assets/{useClearExecutionButtonVisible-D8unhL-H.js → useClearExecutionButtonVisible-CVPKhr9F.js} +2 -2
  109. package/dist/assets/{useExecutionDebugging-MiAgkS54.js → useExecutionDebugging-yY2o_eNc.js} +1 -1
  110. package/dist/assets/{useExecutionHelpers-CgD9G_XU.js → useExecutionHelpers-BVY9xXbG.js} +2 -19
  111. package/dist/assets/{useImportCurlCommand-D6LUnncf.js → useImportCurlCommand-Chewi-_x.js} +2 -2
  112. package/dist/assets/{usePushConnection-DAhrfl2L.js → usePushConnection-9zsAnuvC.js} +13 -6
  113. package/dist/assets/{useTestDefinitionForm-TDiKTq9o.js → useTestDefinitionForm-CCVy0jKP.js} +1 -31
  114. package/dist/assets/{useWorkflowActivate-C_GRAYoC.js → useWorkflowActivate-DeEvbrsK.js} +1 -1
  115. package/dist/index.html +2 -2
  116. package/package.json +1 -1
  117. package/dist/assets/CollectionParameter-XKkHxrwX.js +0 -4
  118. package/dist/assets/pushConnection.store-DHLcz9cC.js +0 -238
  119. package/dist/assets/useOverview-BqIOGpWx.js +0 -161
  120. package/dist/assets/useRunWorkflow-sGIs6NeH.js +0 -521
@@ -1,6 +1,6 @@
1
- import { ce as getDefaultExportFromCjs, d as defineComponent, b8 as useClipboard, a as useToast, dM as useAIAssistantHelpers, bu as useNodeTypesStore, at as useNDVStore, a0 as useRootStore, dl as useAssistantStore, L as useUIStore, q as computed, dN as MAX_DISPLAY_DATA_SIZE, dO as isCommunityPackageName, c as useI18n, h as resolveComponent, c3 as resolveDirective, i as createElementBlock, g as openBlock, k as createBaseVNode, f as createCommentVNode, aB as withDirectives, t as toDisplayString, j as createVNode, m as unref, dP as InlineAskAssistantButton, w as withCtx, l as createTextVNode, F as Fragment, D as renderList, dQ as NEW_ASSISTANT_SESSION_MODAL, cb as sanitizeHtml, be as NodeConnectionTypes, dR as isObjectEmpty, r as ref, o as onMounted, n as normalizeClass, e as createBlock, b3 as VueMarkdown, _ as _export_sfc, T as useWorkflowsStore, cN as _sfc_main$4, J as withModifiers, I as watch, dS as ElTree, B as normalizeStyle } from "./index-DZljH0cm.js";
2
- import { d as capitalize } from "./useCanvasOperations-2Ca5hPmu.js";
3
- import { u as useExecutionHelpers } from "./useExecutionHelpers-CgD9G_XU.js";
1
+ import { cl as getDefaultExportFromCjs, d as defineComponent, ba as useClipboard, a as useToast, dG as useAIAssistantHelpers, bw as useNodeTypesStore, au as useNDVStore, a1 as useRootStore, dr as useAssistantStore, L as useUIStore, q as computed, dH as MAX_DISPLAY_DATA_SIZE, dI 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, dJ as InlineAskAssistantButton, w as withCtx, l as createTextVNode, F as Fragment, D as renderList, dK as NEW_ASSISTANT_SESSION_MODAL, ci as sanitizeHtml, bu as NodeConnectionTypes, dL as isObjectEmpty, r as ref, o as onMounted, n as normalizeClass, e as createBlock, b4 as VueMarkdown, _ as _export_sfc, b9 as N8nText, J as withModifiers, U as useWorkflowsStore, bC as _sfc_main$6, I as watch, bF as ElTree, B as normalizeStyle } from "./index-DD7Wuhk5.js";
2
+ import { d as capitalize } from "./useCanvasOperations-DCaSrD1N.js";
3
+ import { u as useExecutionHelpers } from "./useExecutionHelpers-BVY9xXbG.js";
4
4
  var core;
5
5
  var hasRequiredCore;
6
6
  function requireCore() {
@@ -1541,40 +1541,44 @@ function requireCore() {
1541
1541
  }
1542
1542
  var coreExports = /* @__PURE__ */ requireCore();
1543
1543
  const HighlightJS = /* @__PURE__ */ getDefaultExportFromCjs(coreExports);
1544
- function createNode(nodeName, currentDepth, r, children = []) {
1544
+ function createNode(parent, nodeName, currentDepth, r, children = []) {
1545
1545
  return {
1546
+ parent,
1546
1547
  node: nodeName,
1547
1548
  id: nodeName,
1548
1549
  depth: currentDepth,
1549
1550
  startTime: r?.data?.metadata?.startTime ?? 0,
1550
1551
  runIndex: r?.runIndex ?? 0,
1551
- children
1552
+ children,
1553
+ consumedTokens: getConsumedTokens(r?.data)
1552
1554
  };
1553
1555
  }
1554
1556
  function getTreeNodeData(nodeName, workflow, aiData) {
1555
- return getTreeNodeDataRec(nodeName, 0, workflow, aiData, void 0);
1557
+ return getTreeNodeDataRec(void 0, nodeName, 0, workflow, aiData, void 0);
1556
1558
  }
1557
- function getTreeNodeDataRec(nodeName, currentDepth, workflow, aiData, runIndex) {
1559
+ function getTreeNodeDataRec(parent, nodeName, currentDepth, workflow, aiData, runIndex) {
1558
1560
  const connections = workflow.connectionsByDestinationNode[nodeName];
1559
1561
  const resultData = aiData?.filter(
1560
1562
  (data) => data.node === nodeName && (runIndex === void 0 || runIndex === data.runIndex)
1561
1563
  ) ?? [];
1562
1564
  if (!connections) {
1563
- return resultData.map((d) => createNode(nodeName, currentDepth, d));
1565
+ return resultData.map((d) => createNode(parent, nodeName, currentDepth, d));
1564
1566
  }
1565
1567
  const connectedSubNodes = workflow.getParentNodes(nodeName, "ALL_NON_MAIN", 1);
1568
+ const treeNode2 = createNode(parent, nodeName, currentDepth);
1566
1569
  const children = connectedSubNodes.flatMap((name) => {
1567
1570
  return aiData?.filter(
1568
1571
  (data) => data.node === name && (runIndex === void 0 || data.runIndex === runIndex)
1569
1572
  ).flatMap(
1570
- (data) => getTreeNodeDataRec(name, currentDepth + 1, workflow, aiData, data.runIndex)
1573
+ (data) => getTreeNodeDataRec(treeNode2, name, currentDepth + 1, workflow, aiData, data.runIndex)
1571
1574
  ) ?? [];
1572
1575
  });
1573
1576
  children.sort((a, b) => a.startTime - b.startTime);
1577
+ treeNode2.children = children;
1574
1578
  if (resultData.length) {
1575
- return resultData.map((r) => createNode(nodeName, currentDepth, r, children));
1579
+ return resultData.map((r) => createNode(parent, nodeName, currentDepth, r, children));
1576
1580
  }
1577
- return [createNode(nodeName, currentDepth, void 0, children)];
1581
+ return [treeNode2];
1578
1582
  }
1579
1583
  function createAiData(nodeName, workflow, getWorkflowResultDataByNodeName) {
1580
1584
  const result = [];
@@ -1627,13 +1631,57 @@ function getReferencedData(taskData, withInput, withOutput) {
1627
1631
  }
1628
1632
  return returnData;
1629
1633
  }
1630
- const _hoisted_1$3 = { class: "node-error-view" };
1634
+ const emptyTokenUsageData = {
1635
+ completionTokens: 0,
1636
+ promptTokens: 0,
1637
+ totalTokens: 0,
1638
+ isEstimate: false
1639
+ };
1640
+ function addTokenUsageData(one, another) {
1641
+ return {
1642
+ completionTokens: one.completionTokens + another.completionTokens,
1643
+ promptTokens: one.promptTokens + another.promptTokens,
1644
+ totalTokens: one.totalTokens + another.totalTokens,
1645
+ isEstimate: one.isEstimate || another.isEstimate
1646
+ };
1647
+ }
1648
+ function getConsumedTokens(outputRun) {
1649
+ if (!outputRun?.data) {
1650
+ return emptyTokenUsageData;
1651
+ }
1652
+ const tokenUsage = outputRun.data.reduce(
1653
+ (acc, curr) => {
1654
+ const tokenUsageData = curr.json?.tokenUsage ?? curr.json?.tokenUsageEstimate;
1655
+ if (!tokenUsageData) return acc;
1656
+ return addTokenUsageData(acc, {
1657
+ ...tokenUsageData,
1658
+ isEstimate: !!curr.json.tokenUsageEstimate
1659
+ });
1660
+ },
1661
+ emptyTokenUsageData
1662
+ );
1663
+ return tokenUsage;
1664
+ }
1665
+ function getTotalConsumedTokens(...usage) {
1666
+ return usage.reduce(addTokenUsageData, emptyTokenUsageData);
1667
+ }
1668
+ function getSubtreeTotalConsumedTokens(treeNode2) {
1669
+ return getTotalConsumedTokens(
1670
+ treeNode2.consumedTokens,
1671
+ ...treeNode2.children.map(getSubtreeTotalConsumedTokens)
1672
+ );
1673
+ }
1674
+ function formatTokenUsageCount(usage, field) {
1675
+ const count = field === "total" ? usage.totalTokens : field === "completion" ? usage.completionTokens : usage.promptTokens;
1676
+ return usage.isEstimate ? `~${count}` : count.toLocaleString();
1677
+ }
1678
+ const _hoisted_1$4 = { class: "node-error-view" };
1631
1679
  const _hoisted_2$3 = { class: "node-error-view__header" };
1632
1680
  const _hoisted_3$2 = {
1633
1681
  class: "node-error-view__header-message",
1634
1682
  "data-test-id": "node-error-message"
1635
1683
  };
1636
- const _hoisted_4$1 = {
1684
+ const _hoisted_4 = {
1637
1685
  key: 0,
1638
1686
  "data-test-id": "node-error-description",
1639
1687
  class: "node-error-view__header-description"
@@ -1748,7 +1796,7 @@ const _hoisted_60 = {
1748
1796
  };
1749
1797
  const _hoisted_61 = { class: "node-error-view__details-label" };
1750
1798
  const _hoisted_62 = { class: "node-error-view__details-value" };
1751
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
1799
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
1752
1800
  __name: "NodeErrorView",
1753
1801
  props: {
1754
1802
  error: {},
@@ -2054,12 +2102,12 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
2054
2102
  const _component_n8n_tooltip = resolveComponent("n8n-tooltip");
2055
2103
  const _component_font_awesome_icon = resolveComponent("font-awesome-icon");
2056
2104
  const _directive_n8n_html = resolveDirective("n8n-html");
2057
- return openBlock(), createElementBlock("div", _hoisted_1$3, [
2105
+ return openBlock(), createElementBlock("div", _hoisted_1$4, [
2058
2106
  createBaseVNode("div", _hoisted_2$3, [
2059
2107
  createBaseVNode("div", _hoisted_3$2, [
2060
2108
  createBaseVNode("div", null, toDisplayString(getErrorMessage()), 1)
2061
2109
  ]),
2062
- (_ctx.error.description || _ctx.error.context?.descriptionKey) && !isSubNodeError.value ? withDirectives((openBlock(), createElementBlock("div", _hoisted_4$1, null, 512)), [
2110
+ (_ctx.error.description || _ctx.error.context?.descriptionKey) && !isSubNodeError.value ? withDirectives((openBlock(), createElementBlock("div", _hoisted_4, null, 512)), [
2063
2111
  [_directive_n8n_html, getErrorDescription()]
2064
2112
  ]) : createCommentVNode("", true),
2065
2113
  isSubNodeError.value ? (openBlock(), createElementBlock("div", _hoisted_5, [
@@ -2389,9 +2437,9 @@ const useAiContentParsers = () => {
2389
2437
  parseAiRunData
2390
2438
  };
2391
2439
  };
2392
- const _hoisted_1$2 = ["data-content-type"];
2440
+ const _hoisted_1$3 = ["data-content-type"];
2393
2441
  const _hoisted_2$2 = ["textContent"];
2394
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2442
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
2395
2443
  __name: "AiRunContentBlock",
2396
2444
  props: {
2397
2445
  runData: {},
@@ -2512,7 +2560,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2512
2560
  return (_ctx, _cache) => {
2513
2561
  const _component_font_awesome_icon = resolveComponent("font-awesome-icon");
2514
2562
  const _component_n8n_radio_buttons = resolveComponent("n8n-radio-buttons");
2515
- const _component_NodeErrorView = _sfc_main$3;
2563
+ const _component_NodeErrorView = _sfc_main$5;
2516
2564
  const _component_n8n_icon_button = resolveComponent("n8n-icon-button");
2517
2565
  return openBlock(), createElementBlock("div", {
2518
2566
  class: normalizeClass(_ctx.$style.block)
@@ -2595,7 +2643,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2595
2643
  class: normalizeClass(_ctx.$style.markdown)
2596
2644
  }, null, 8, ["source", "class"])
2597
2645
  ], 2))
2598
- ], 10, _hoisted_1$2);
2646
+ ], 10, _hoisted_1$3);
2599
2647
  }), 128))
2600
2648
  ], 2)
2601
2649
  ], 2);
@@ -2615,7 +2663,7 @@ const blockHeader = "_blockHeader_kaw5r_194";
2615
2663
  const blockTitle = "_blockTitle_kaw5r_207";
2616
2664
  const blockToggle = "_blockToggle_kaw5r_214";
2617
2665
  const error = "_error_kaw5r_222";
2618
- const style0$2 = {
2666
+ const style0$3 = {
2619
2667
  copyToClipboard,
2620
2668
  rawContent,
2621
2669
  markdown,
@@ -2630,14 +2678,112 @@ const style0$2 = {
2630
2678
  blockToggle,
2631
2679
  error
2632
2680
  };
2681
+ const cssModules$3 = {
2682
+ "$style": style0$3
2683
+ };
2684
+ const AiRunContentBlock = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__cssModules", cssModules$3]]);
2685
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
2686
+ __name: "ConsumedTokensDetails",
2687
+ props: {
2688
+ consumedTokens: {}
2689
+ },
2690
+ setup(__props) {
2691
+ const i18n = useI18n();
2692
+ return (_ctx, _cache) => {
2693
+ return openBlock(), createElementBlock("div", null, [
2694
+ createVNode(unref(N8nText), {
2695
+ bold: true,
2696
+ size: "small"
2697
+ }, {
2698
+ default: withCtx(() => [
2699
+ createTextVNode(toDisplayString(unref(i18n).baseText("runData.aiContentBlock.tokens.prompt")) + " " + toDisplayString(unref(i18n).baseText("runData.aiContentBlock.tokens", {
2700
+ interpolate: {
2701
+ count: unref(formatTokenUsageCount)(_ctx.consumedTokens, "prompt")
2702
+ }
2703
+ })), 1)
2704
+ ]),
2705
+ _: 1
2706
+ }),
2707
+ _cache[0] || (_cache[0] = createBaseVNode("br", null, null, -1)),
2708
+ createVNode(unref(N8nText), {
2709
+ bold: true,
2710
+ size: "small"
2711
+ }, {
2712
+ default: withCtx(() => [
2713
+ createTextVNode(toDisplayString(unref(i18n).baseText("runData.aiContentBlock.tokens.completion")) + " " + toDisplayString(unref(i18n).baseText("runData.aiContentBlock.tokens", {
2714
+ interpolate: {
2715
+ count: unref(formatTokenUsageCount)(_ctx.consumedTokens, "completion")
2716
+ }
2717
+ })), 1)
2718
+ ]),
2719
+ _: 1
2720
+ })
2721
+ ]);
2722
+ };
2723
+ }
2724
+ });
2725
+ const _hoisted_1$2 = ["href"];
2726
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
2727
+ __name: "ViewSubExecution",
2728
+ props: {
2729
+ taskMetadata: {},
2730
+ displayMode: {},
2731
+ inline: { type: Boolean, default: false }
2732
+ },
2733
+ setup(__props) {
2734
+ const { trackOpeningRelatedExecution, resolveRelatedExecutionUrl } = useExecutionHelpers();
2735
+ const i18n = useI18n();
2736
+ const props = __props;
2737
+ const hasRelatedExecution = computed(() => {
2738
+ return Boolean(props.taskMetadata.subExecution ?? props.taskMetadata.parentExecution);
2739
+ });
2740
+ function getExecutionLinkLabel(task) {
2741
+ if (task.parentExecution) {
2742
+ return i18n.baseText("runData.openParentExecution", {
2743
+ interpolate: { id: task.parentExecution.executionId }
2744
+ });
2745
+ }
2746
+ if (task.subExecution) {
2747
+ if (props.taskMetadata.subExecutionsCount === 1) {
2748
+ return i18n.baseText("runData.openSubExecutionSingle");
2749
+ } else {
2750
+ return i18n.baseText("runData.openSubExecutionWithId", {
2751
+ interpolate: { id: task.subExecution.executionId }
2752
+ });
2753
+ }
2754
+ }
2755
+ return;
2756
+ }
2757
+ return (_ctx, _cache) => {
2758
+ const _component_N8nIcon = resolveComponent("N8nIcon");
2759
+ return hasRelatedExecution.value ? (openBlock(), createElementBlock("a", {
2760
+ key: 0,
2761
+ class: normalizeClass({ [_ctx.$style.relatedExecutionInfo]: !_ctx.inline }),
2762
+ "data-test-id": "related-execution-link",
2763
+ href: unref(resolveRelatedExecutionUrl)(_ctx.taskMetadata),
2764
+ target: "_blank",
2765
+ onClick: _cache[0] || (_cache[0] = withModifiers(($event) => unref(trackOpeningRelatedExecution)(_ctx.taskMetadata, _ctx.displayMode), ["stop"]))
2766
+ }, [
2767
+ createVNode(_component_N8nIcon, {
2768
+ icon: "external-link-alt",
2769
+ size: "xsmall"
2770
+ }),
2771
+ createTextVNode(" " + toDisplayString(getExecutionLinkLabel(_ctx.taskMetadata)), 1)
2772
+ ], 10, _hoisted_1$2)) : createCommentVNode("", true);
2773
+ };
2774
+ }
2775
+ });
2776
+ const relatedExecutionInfo = "_relatedExecutionInfo_saqms_123";
2777
+ const style0$2 = {
2778
+ relatedExecutionInfo
2779
+ };
2633
2780
  const cssModules$2 = {
2634
2781
  "$style": style0$2
2635
2782
  };
2636
- const AiRunContentBlock = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__cssModules", cssModules$2]]);
2783
+ const ViewSubExecution = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__cssModules", cssModules$2]]);
2637
2784
  const _hoisted_1$1 = { key: 0 };
2638
2785
  const _hoisted_2$1 = { key: 1 };
2639
2786
  const _hoisted_3$1 = { key: 2 };
2640
- const _hoisted_4 = ["href"];
2641
2787
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2642
2788
  __name: "RunDataAiContent",
2643
2789
  props: {
@@ -2648,33 +2794,10 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2648
2794
  const props = __props;
2649
2795
  const nodeTypesStore = useNodeTypesStore();
2650
2796
  const workflowsStore = useWorkflowsStore();
2651
- const { trackOpeningRelatedExecution, resolveRelatedExecutionUrl } = useExecutionHelpers();
2652
2797
  const i18n = useI18n();
2653
2798
  const consumedTokensSum = computed(() => {
2654
- const tokenUsage = outputRun.value?.data?.reduce(
2655
- (acc, curr) => {
2656
- const tokenUsageData = curr.json?.tokenUsage ?? curr.json?.tokenUsageEstimate;
2657
- if (!tokenUsageData) return acc;
2658
- return {
2659
- completionTokens: acc.completionTokens + tokenUsageData.completionTokens,
2660
- promptTokens: acc.promptTokens + tokenUsageData.promptTokens,
2661
- totalTokens: acc.totalTokens + tokenUsageData.totalTokens
2662
- };
2663
- },
2664
- {
2665
- completionTokens: 0,
2666
- promptTokens: 0,
2667
- totalTokens: 0
2668
- }
2669
- );
2670
- return tokenUsage;
2671
- });
2672
- const usingTokensEstimates = computed(() => {
2673
- return outputRun.value?.data?.some((d) => d.json?.tokenUsageEstimate);
2799
+ return getConsumedTokens(outputRun.value);
2674
2800
  });
2675
- function formatTokenUsageCount(count) {
2676
- return usingTokensEstimates.value ? `~${count}` : count.toString();
2677
- }
2678
2801
  function extractRunMeta(run) {
2679
2802
  const uiNode = workflowsStore.getNodeByName(props.inputData.node);
2680
2803
  const nodeType = nodeTypesStore.getNodeType(uiNode?.type ?? "");
@@ -2705,8 +2828,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2705
2828
  });
2706
2829
  return (_ctx, _cache) => {
2707
2830
  const _component_n8n_tooltip = resolveComponent("n8n-tooltip");
2708
- const _component_N8nIcon = resolveComponent("N8nIcon");
2709
- const _component_n8n_text = resolveComponent("n8n-text");
2710
2831
  const _component_n8n_info_tip = resolveComponent("n8n-info-tip");
2711
2832
  return openBlock(), createElementBlock("div", {
2712
2833
  class: normalizeClass(_ctx.$style.container)
@@ -2714,7 +2835,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2714
2835
  createBaseVNode("header", {
2715
2836
  class: normalizeClass(_ctx.$style.header)
2716
2837
  }, [
2717
- runMeta.value?.node ? (openBlock(), createBlock(_sfc_main$4, {
2838
+ runMeta.value?.node ? (openBlock(), createBlock(_sfc_main$6, {
2718
2839
  key: 0,
2719
2840
  class: normalizeClass(_ctx.$style.nodeIcon),
2720
2841
  "node-type": runMeta.value.node,
@@ -2745,18 +2866,12 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2745
2866
  _: 1
2746
2867
  })
2747
2868
  ])) : createCommentVNode("", true),
2748
- runMeta.value?.subExecution ? (openBlock(), createElementBlock("li", _hoisted_3$1, [
2749
- createBaseVNode("a", {
2750
- href: unref(resolveRelatedExecutionUrl)(runMeta.value),
2751
- target: "_blank",
2752
- onClick: _cache[0] || (_cache[0] = withModifiers(($event) => unref(trackOpeningRelatedExecution)(runMeta.value, "ai"), ["stop"]))
2753
- }, [
2754
- createVNode(_component_N8nIcon, {
2755
- icon: "external-link-alt",
2756
- size: "xsmall"
2757
- }),
2758
- createTextVNode(" " + toDisplayString(unref(i18n).baseText("runData.openSubExecutionSingle")), 1)
2759
- ], 8, _hoisted_4)
2869
+ runMeta.value ? (openBlock(), createElementBlock("li", _hoisted_3$1, [
2870
+ createVNode(ViewSubExecution, {
2871
+ "task-metadata": runMeta.value,
2872
+ "display-mode": "ai",
2873
+ inline: true
2874
+ }, null, 8, ["task-metadata"])
2760
2875
  ])) : createCommentVNode("", true),
2761
2876
  (consumedTokensSum.value?.totalTokens ?? 0) > 0 ? (openBlock(), createElementBlock("li", {
2762
2877
  key: 3,
@@ -2764,7 +2879,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2764
2879
  }, [
2765
2880
  createTextVNode(toDisplayString(unref(i18n).baseText("runData.aiContentBlock.tokens", {
2766
2881
  interpolate: {
2767
- count: formatTokenUsageCount(consumedTokensSum.value?.totalTokens ?? 0)
2882
+ count: unref(formatTokenUsageCount)(consumedTokensSum.value, "total")
2768
2883
  }
2769
2884
  })) + " ", 1),
2770
2885
  createVNode(_component_n8n_info_tip, {
@@ -2773,35 +2888,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
2773
2888
  "tooltip-placement": "right"
2774
2889
  }, {
2775
2890
  default: withCtx(() => [
2776
- createBaseVNode("div", null, [
2777
- createVNode(_component_n8n_text, {
2778
- bold: true,
2779
- size: "small"
2780
- }, {
2781
- default: withCtx(() => [
2782
- createTextVNode(toDisplayString(unref(i18n).baseText("runData.aiContentBlock.tokens.prompt")) + " " + toDisplayString(unref(i18n).baseText("runData.aiContentBlock.tokens", {
2783
- interpolate: {
2784
- count: formatTokenUsageCount(consumedTokensSum.value?.promptTokens ?? 0)
2785
- }
2786
- })), 1)
2787
- ]),
2788
- _: 1
2789
- }),
2790
- _cache[1] || (_cache[1] = createBaseVNode("br", null, null, -1)),
2791
- createVNode(_component_n8n_text, {
2792
- bold: true,
2793
- size: "small"
2794
- }, {
2795
- default: withCtx(() => [
2796
- createTextVNode(toDisplayString(unref(i18n).baseText("runData.aiContentBlock.tokens.completion")) + " " + toDisplayString(unref(i18n).baseText("runData.aiContentBlock.tokens", {
2797
- interpolate: {
2798
- count: formatTokenUsageCount(consumedTokensSum.value?.completionTokens ?? 0)
2799
- }
2800
- })), 1)
2801
- ]),
2802
- _: 1
2803
- })
2804
- ])
2891
+ createVNode(_sfc_main$3, { "consumed-tokens": consumedTokensSum.value }, null, 8, ["consumed-tokens"])
2805
2892
  ]),
2806
2893
  _: 1
2807
2894
  })
@@ -2956,7 +3043,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
2956
3043
  createBaseVNode("span", {
2957
3044
  class: normalizeClass(_ctx.$style.leafLabel)
2958
3045
  }, [
2959
- createVNode(_sfc_main$4, {
3046
+ createVNode(_sfc_main$6, {
2960
3047
  "node-type": getNodeType(data.node),
2961
3048
  size: 17,
2962
3049
  class: normalizeClass(_ctx.$style.nodeIcon)
@@ -3045,5 +3132,12 @@ const RunDataAi = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssMo
3045
3132
  export {
3046
3133
  HighlightJS as H,
3047
3134
  RunDataAi as R,
3048
- _sfc_main$3 as _
3135
+ ViewSubExecution as V,
3136
+ _sfc_main$3 as _,
3137
+ getTreeNodeData as a,
3138
+ getTotalConsumedTokens as b,
3139
+ createAiData as c,
3140
+ _sfc_main$5 as d,
3141
+ formatTokenUsageCount as f,
3142
+ getSubtreeTotalConsumedTokens as g
3049
3143
  };
@@ -492,6 +492,134 @@
492
492
  }
493
493
  ._error_kaw5r_222 {
494
494
  padding: var(--spacing-s) 0;
495
+ }/* BEM support Func
496
+ -------------------------- */
497
+ /* Transition
498
+ -------------------------- */
499
+ /* Color
500
+ -------------------------- */
501
+ /* Link
502
+ -------------------------- */
503
+ /* Border
504
+ -------------------------- */
505
+ /* Outline
506
+ -------------------------- */
507
+ /* Box shadow
508
+ -------------------------- */
509
+ /* Fill
510
+ -------------------------- */
511
+ /* Typography
512
+ -------------------------- */
513
+ /* z-index
514
+ -------------------------- */
515
+ /* Disable base
516
+ -------------------------- */
517
+ /* Icon
518
+ -------------------------- */
519
+ /* Checkbox
520
+ -------------------------- */
521
+ /* Radio
522
+ -------------------------- */
523
+ /* Select
524
+ -------------------------- */
525
+ /* Alert
526
+ -------------------------- */
527
+ /* MessageBox
528
+ -------------------------- */
529
+ /* Message
530
+ -------------------------- */
531
+ /* Notification
532
+ -------------------------- */
533
+ /* Input
534
+ -------------------------- */
535
+ /* Cascader
536
+ -------------------------- */
537
+ /* Group
538
+ -------------------------- */
539
+ /* Tab
540
+ -------------------------- */
541
+ /* Button
542
+ -------------------------- */
543
+ /* cascader
544
+ -------------------------- */
545
+ /* Switch
546
+ -------------------------- */
547
+ /* Dialog
548
+ -------------------------- */
549
+ /* Table
550
+ -------------------------- */
551
+ /* Pagination
552
+ -------------------------- */
553
+ /* Popup
554
+ -------------------------- */
555
+ /* Popover
556
+ -------------------------- */
557
+ /* Tooltip
558
+ -------------------------- */
559
+ /* Tag
560
+ -------------------------- */
561
+ /* Tree
562
+ -------------------------- */
563
+ /* Dropdown
564
+ -------------------------- */
565
+ /* Badge
566
+ -------------------------- */
567
+ /* Card
568
+ --------------------------*/
569
+ /* Slider
570
+ --------------------------*/
571
+ /* Steps
572
+ --------------------------*/
573
+ /* Menu
574
+ --------------------------*/
575
+ /* Rate
576
+ --------------------------*/
577
+ /* DatePicker
578
+ --------------------------*/
579
+ /* Loading
580
+ --------------------------*/
581
+ /* Scrollbar
582
+ --------------------------*/
583
+ /* Carousel
584
+ --------------------------*/
585
+ /* Collapse
586
+ --------------------------*/
587
+ /* Transfer
588
+ --------------------------*/
589
+ /* Header
590
+ --------------------------*/
591
+ /* Footer
592
+ --------------------------*/
593
+ /* Main
594
+ --------------------------*/
595
+ /* Timeline
596
+ --------------------------*/
597
+ /* Backtop
598
+ --------------------------*/
599
+ /* Link
600
+ --------------------------*/
601
+ /* Calendar
602
+ --------------------------*/
603
+ /* Form
604
+ -------------------------- */
605
+ /* Avatar
606
+ --------------------------*/
607
+ /* Break-point
608
+ --------------------------*/
609
+ /* Break-points
610
+ -------------------------- */
611
+ /* Scrollbar
612
+ -------------------------- */
613
+ /* Placeholder
614
+ -------------------------- */
615
+ /* BEM
616
+ -------------------------- */
617
+ ._relatedExecutionInfo_saqms_123 {
618
+ font-size: var(--font-size-s);
619
+ margin-left: var(--spacing-3xs);
620
+ }
621
+ ._relatedExecutionInfo_saqms_123 svg {
622
+ padding-bottom: var(--spacing-5xs);
495
623
  }
496
624
  ._container_dypaw_2 {
497
625
  padding: 0 var(--spacing-s) var(--spacing-s);
@@ -1,14 +1,13 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/RunDataJsonActions-gWW8Qkt_.js","assets/index-DZljH0cm.js","assets/index-CgXKy7t-.css","assets/_commonjs-dynamic-modules-TGKdzP3c.js","assets/useCanvasOperations-2Ca5hPmu.js","assets/RunDataJsonActions-DrgwFS0W.css"])))=>i.map(i=>d[i]);
2
- import { d as defineComponent, at as useNDVStore, r as ref, ih as useElementSize, q as computed, hz as executionDataToJson, i as createElementBlock, g as openBlock, e as createBlock, j as createVNode, w as withCtx, f as createCommentVNode, m as unref, bR as defineAsyncComponent, bQ as Suspense, ib as TextWithHighlights, n as normalizeClass, ic as MappingPill, hs as Draggable, ap as __vitePreload, v as shorten, ig as getMappedExpression, ii as isString, ij as nonExistingJsonPath, aQ as useExternalHooks, ah as useTelemetry, _ as _export_sfc } from "./index-DZljH0cm.js";
3
- import { V as VueJsonPretty } from "./NodeDetailsView-C1iBFaC1.js";
4
- import "./useCanvasOperations-2Ca5hPmu.js";
5
- import "./useRunWorkflow-sGIs6NeH.js";
6
- import "./pushConnection.store-DHLcz9cC.js";
7
- import "./import-curl-BsKs3fYs.js";
8
- import "./FileSaver.min-D3VgyjMF.js";
9
- import "./RunDataAi-C-tu9GrI.js";
10
- import "./useExecutionHelpers-CgD9G_XU.js";
11
- import "./useWorkflowActivate-C_GRAYoC.js";
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/RunDataJsonActions-SQqaiBEP.js","assets/index-DD7Wuhk5.js","assets/index-DJ205bL0.css","assets/_commonjs-dynamic-modules-TGKdzP3c.js","assets/RunDataJsonActions-DrgwFS0W.css"])))=>i.map(i=>d[i]);
2
+ import { d as defineComponent, au as useNDVStore, r as ref, ii as useElementSize, q as computed, hw as executionDataToJson, i as createElementBlock, g as openBlock, e as createBlock, j as createVNode, w as withCtx, f as createCommentVNode, m as unref, bZ as defineAsyncComponent, bY as Suspense, ic as TextWithHighlights, n as normalizeClass, id as MappingPill, ho as Draggable, aq as __vitePreload, v as shorten, ih as getMappedExpression, ij as isString, ik as nonExistingJsonPath, aR as useExternalHooks, ai as useTelemetry, _ as _export_sfc } from "./index-DD7Wuhk5.js";
3
+ import { V as VueJsonPretty } from "./NodeDetailsView-CmtK-rDD.js";
4
+ import "./import-curl-C6ERUxFe.js";
5
+ import "./FileSaver.min-Bs2qHlKb.js";
6
+ import "./RunDataAi-B_EadpzG.js";
7
+ import "./useCanvasOperations-DCaSrD1N.js";
8
+ import "./useExecutionHelpers-BVY9xXbG.js";
9
+ import "./dateFormatter-C7xnNKzY.js";
10
+ import "./useWorkflowActivate-DeEvbrsK.js";
12
11
  const _sfc_main = /* @__PURE__ */ defineComponent({
13
12
  __name: "RunDataJson",
14
13
  props: {
@@ -26,7 +25,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
26
25
  },
27
26
  setup(__props) {
28
27
  const LazyRunDataJsonActions = defineAsyncComponent(
29
- async () => await __vitePreload(() => import("./RunDataJsonActions-gWW8Qkt_.js"), true ? __vite__mapDeps([0,1,2,3,4,5]) : void 0)
28
+ async () => await __vitePreload(() => import("./RunDataJsonActions-SQqaiBEP.js"), true ? __vite__mapDeps([0,1,2,3,4]) : void 0)
30
29
  );
31
30
  const props = __props;
32
31
  const ndvStore = useNDVStore();
@@ -1,6 +1,5 @@
1
- import { dz as commonjsGlobal, ce as getDefaultExportFromCjs, d as defineComponent, ij as nonExistingJsonPath, at as useNDVStore, T as useWorkflowsStore, bv as useNodeHelpers, b8 as useClipboard, a as useToast, U as useRoute, q as computed, h as resolveComponent, i as createElementBlock, g as openBlock, e as createBlock, m as unref, c as useI18n, w as withCtx, k as createBaseVNode, j as createVNode, l as createTextVNode, t as toDisplayString, n as normalizeClass, ah as useTelemetry, hR as clearJsonKey, hz as executionDataToJson, ik as convertPath, _ as _export_sfc } from "./index-DZljH0cm.js";
1
+ import { dD as commonjsGlobal, cl as getDefaultExportFromCjs, d as defineComponent, ik as nonExistingJsonPath, au as useNDVStore, U as useWorkflowsStore, bx as useNodeHelpers, ba as useClipboard, bi as usePinnedData, a as useToast, W as useRoute, q as computed, h as resolveComponent, i as createElementBlock, g as openBlock, e as createBlock, m as unref, c as useI18n, w as withCtx, k as createBaseVNode, j as createVNode, l as createTextVNode, t as toDisplayString, n as normalizeClass, ai as useTelemetry, hN as clearJsonKey, hw as executionDataToJson, il as convertPath, _ as _export_sfc } from "./index-DD7Wuhk5.js";
2
2
  import { c as commonjsRequire } from "./_commonjs-dynamic-modules-TGKdzP3c.js";
3
- import { u as usePinnedData } from "./useCanvasOperations-2Ca5hPmu.js";
4
3
  var jsonpath = { exports: {} };
5
4
  /*! jsonpath 1.1.1 */
6
5
  var hasRequiredJsonpath;
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, K as useDebounce, r as ref, q as computed, c as useI18n, o as onMounted, b6 as onUnmounted, I as watch, h as resolveComponent, e as createBlock, g as openBlock, w as withCtx, j as createVNode, n as normalizeClass, B as normalizeStyle, _ as _export_sfc } from "./index-DZljH0cm.js";
1
+ import { d as defineComponent, K as useDebounce, r as ref, q as computed, c as useI18n, o as onMounted, b7 as onUnmounted, I as watch, h as resolveComponent, e as createBlock, g as openBlock, w as withCtx, j as createVNode, n as normalizeClass, B as normalizeStyle, _ as _export_sfc } from "./index-DD7Wuhk5.js";
2
2
  const COLLAPSED_WIDTH = "30px";
3
3
  const OPEN_WIDTH = "204px";
4
4
  const OPEN_MIN_WIDTH = "120px";