n8n-editor-ui 1.63.2 → 1.64.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 (137) hide show
  1. package/dist/assets/{AnnotationTagsDropdown.ee-BrHzX0gM.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-D3L0Zqex.js} +2 -3
  2. package/dist/assets/{AuthView-DBTpAWBR.js → AuthView-Bc_d9TU4.js} +3 -6
  3. package/dist/assets/{AuthView-BnHKMYu_.css → AuthView-Cnr31xHM.css} +6 -5
  4. package/dist/assets/{CanvasControls-DJjSv7Wo.js → CanvasControls-BZZ5xUA4.js} +1 -31
  5. package/dist/assets/{ChangePasswordView-4HfufusV.js → ChangePasswordView-BmKDYqVl.js} +2 -32
  6. package/dist/assets/CollectionParameter-CZX6_SwN.js +4 -0
  7. package/dist/assets/{CredentialsView-ChVc0kqb.js → CredentialsView-BERKB9pX.js} +5 -35
  8. package/dist/assets/{ErrorView-C3MNpu-h.js → ErrorView-CGHYke1h.js} +1 -31
  9. package/dist/assets/{ExecutionsFilter-C71cMIbt.js → ExecutionsFilter-DgmpIaxp.js} +2 -5
  10. package/dist/assets/{ExecutionsView-CyfD2AaP.js → ExecutionsView-BVJE03N7.js} +18 -54
  11. package/dist/assets/{file-saver-Dbfm4l4I.js → FileSaver.min-vFM8HBH6.js} +5 -12
  12. package/dist/assets/{FixedCollectionParameter-DjS7zdm4.js → FixedCollectionParameter-Cu1pUHaU.js} +1 -32
  13. package/dist/assets/{ForgotMyPasswordView-BThu5AzW.js → ForgotMyPasswordView-CA1z31op.js} +2 -32
  14. package/dist/assets/{MainHeader-BonioYN5.js → MainHeader-lphq3_C7.js} +8 -47
  15. package/dist/assets/{MainSidebar-NOlas3VF.js → MainSidebar-CkmsLAKw.js} +5 -44
  16. package/dist/assets/{NodeCreation-ByUlHR8c.js → NodeCreation-CDKKeIJl.js} +4 -7
  17. package/dist/assets/{NodeCreator-DE9FRbnS.js → NodeCreator-vrcCon6T.js} +20 -64
  18. package/dist/assets/{NodeViewSwitcher-D7fdLnF1.js → NodeViewSwitcher-CebfwLIC.js} +17198 -4326
  19. package/dist/assets/{NodeViewSwitcher-BMWd0Gm9.css → NodeViewSwitcher-DFIa0RPL.css} +136 -135
  20. package/dist/assets/{ProjectCardBadge-f4baniz3.js → ProjectCardBadge.vue_vue_type_script_setup_true_lang-FPZVaoxg.js} +1 -12
  21. package/dist/assets/{ProjectSettings-CeJUMGSQ.js → ProjectSettings-CGPWNP7C.js} +6 -38
  22. package/dist/assets/{ProjectTabs-dq7a740r.js → ProjectTabs-D-UxAFWq.js} +1 -3
  23. package/dist/assets/{PushConnectionTracker-Bs_UzKPJ.js → PushConnectionTracker-dMPKSiLd.js} +1 -4
  24. package/dist/assets/{ResourcesListLayout-B1XBsMRy.js → ResourcesListLayout-BmEYzLen.js} +2 -7
  25. package/dist/assets/{RunDataAi-DdGO06st.js → RunDataAi-iy_LiKYx.js} +51 -13
  26. package/dist/assets/{RunDataJson-DTKvzLZz.js → RunDataJson-30CwTvxp.js} +11 -34
  27. package/dist/assets/{jsonpath--XXuA3UN.js → RunDataJsonActions-DM8Iegu4.js} +272 -73
  28. package/dist/assets/{RunDataSearch-CW0connN.js → RunDataSearch-BBZyQz1l.js} +1 -31
  29. package/dist/assets/{RunDataTable-C-mEq2dD.js → RunDataTable-DlYCaRmD.js} +43 -70
  30. package/dist/assets/{SamlOnboarding-BfsNvcA1.js → SamlOnboarding-YPyqQAED.js} +2 -32
  31. package/dist/assets/{SettingsApiView--aIfdlDF.js → SettingsApiView-DM8-r2vC.js} +11 -42
  32. package/dist/assets/{SettingsCommunityNodesView-DdyT-sgu.js → SettingsCommunityNodesView-CKUSvNJA.js} +3 -35
  33. package/dist/assets/{SettingsExternalSecrets-DTMX68vp.js → SettingsExternalSecrets-rn0Uon3J.js} +2 -32
  34. package/dist/assets/SettingsFakeDoorView-DRt2eUs1.js +44 -0
  35. package/dist/assets/{humanize-duration-DdvB4QXM.js → SettingsLdapView-BkNvZbuP.js} +827 -12
  36. package/dist/assets/{SettingsLogStreamingView-lQvw760T.js → SettingsLogStreamingView-DJgGrIQ1.js} +1 -31
  37. package/dist/assets/{SettingsPersonalView-2vlxeSgj.js → SettingsPersonalView-B2bLHSrL.js} +1 -31
  38. package/dist/assets/{SettingsSourceControl-1Z-AF1Yv.js → SettingsSourceControl-B_iPYBUX.js} +4 -35
  39. package/dist/assets/{SettingsSso-Bp82V4Mw.js → SettingsSso-Bo8ktz1t.js} +1 -31
  40. package/dist/assets/{SettingsUsageAndPlan-CDXY25ax.js → SettingsUsageAndPlan-C9jiEOqE.js} +1 -32
  41. package/dist/assets/{SettingsUsersView-3sIYeb4A.js → SettingsUsersView-Do-E2R-M.js} +1 -31
  42. package/dist/assets/{SettingsView-BNNArsIx.js → SettingsView-DK-_ao4_.js} +25 -34
  43. package/dist/assets/{SetupView-pspJi2at.js → SetupView-ZFKQKIJD.js} +2 -32
  44. package/dist/assets/{SetupWorkflowCredentialsButton-SC5-MI0D.js → SetupWorkflowCredentialsButton-BaMJBfk2.js} +1 -31
  45. package/dist/assets/{SetupWorkflowFromTemplateView-CU3grpvN.js → SetupWorkflowFromTemplateView-BvmNbGYh.js} +3 -33
  46. package/dist/assets/{SigninView-CZdE2LU3.js → SigninView-k_FnQgNC.js} +2 -32
  47. package/dist/assets/SignoutView-DTgJmCun.js +27 -0
  48. package/dist/assets/{SignupView-BPlt_Lbh.js → SignupView-GFIqKxQ1.js} +2 -32
  49. package/dist/assets/{TemplateDetails-CdRKYWL6.js → TemplateDetails-CrE5d8Z2.js} +1 -4
  50. package/dist/assets/{TemplateList-BYq50eQG.js → TemplateList-DugVXLa6.js} +1 -3
  51. package/dist/assets/{TemplatesCollectionView-D-N6pD00.js → TemplatesCollectionView-BulzRTVk.js} +5 -35
  52. package/dist/assets/{TemplatesSearchView-CaRL_LUd.js → TemplatesSearchView--aU9JJ_A.js} +738 -41
  53. package/dist/assets/{TemplatesSearchView-BYNWZYGm.css → TemplatesSearchView-BiokbeYf.css} +94 -1
  54. package/dist/assets/{TemplatesView-C5HnqMFU.js → TemplatesView-VxuSLtRB.js} +1 -3
  55. package/dist/assets/{TemplatesWorkflowView-XV_mNcau.js → TemplatesWorkflowView-DEOmoGFU.js} +5 -35
  56. package/dist/assets/{VariablesView-CDacoelY.js → VariablesView-D0qaiG35.js} +2 -33
  57. package/dist/assets/{WorkerView-DciBUDzM.js → WorkerView-BQWPVPCG.js} +159 -43
  58. package/dist/assets/{WorkflowActivator-GHyUbwAO.js → WorkflowActivator-CFE8HnEQ.js} +3 -7
  59. package/dist/assets/{WorkflowExecutionsInfoAccordion-Dez7kHwM.js → WorkflowExecutionsInfoAccordion-j1oBChRL.js} +1 -3
  60. package/dist/assets/{WorkflowExecutionsLandingPage-j7sS9stL.js → WorkflowExecutionsLandingPage-7PqoziUe.js} +2 -32
  61. package/dist/assets/{WorkflowExecutionsPreview-DLogApYK.js → WorkflowExecutionsPreview-BCKc44DY.js} +10 -42
  62. package/dist/assets/{WorkflowExecutionsView-CZ0E-5CZ.js → WorkflowExecutionsView-De-rqjwc.js} +6 -37
  63. package/dist/assets/{WorkflowHistory-D6BLJ_QX.js → WorkflowHistory-BQHDI-k-.js} +8 -45
  64. package/dist/assets/{WorkflowOnboardingView-7Z0s7yrd.js → WorkflowOnboardingView-B3aKS1PJ.js} +1 -31
  65. package/dist/assets/{WorkflowPreview-C2zFAYYi.js → WorkflowPreview-jblZXN9D.js} +1 -3
  66. package/dist/assets/{WorkflowsView-CLNYtnzv.js → WorkflowsView-DQqwovww.js} +19 -37
  67. package/dist/assets/cloud-ChkMgrsu.js +37 -0
  68. package/dist/assets/{dateFormatter-B-oph3V5.js → dateFormatter-BOFH7hQn.js} +1 -1
  69. package/dist/assets/index-B5Li9oNe.js +331713 -0
  70. package/dist/assets/{index-B5Pl_Rdy.css → index-BGyoJ6bM.css} +3941 -8
  71. package/dist/assets/{pushConnection.store-C38m0a4q.js → pushConnection.store-Cp0wdk-m.js} +3 -3
  72. package/dist/assets/{templateActions-BDzt5tYG.js → templateActions-DbRugCSY.js} +1 -1
  73. package/dist/assets/{useBeforeUnload-DAuWtScP.js → useBeforeUnload-HSb2Wsej.js} +1 -2
  74. package/dist/assets/{useExecutionDebugging-DjezN4ny.js → useExecutionDebugging-Czs7eCHy.js} +1 -2
  75. package/dist/assets/{usePushConnection-C-AngCFB.js → usePushConnection-CLr2QrgA.js} +12 -17
  76. package/dist/assets/{useWorkflowActivate-CgGEceEs.js → useWorkflowActivate-D9OoUkBo.js} +1 -2
  77. package/dist/index.html +2 -33
  78. package/package.json +1 -1
  79. package/vite.config.mts +0 -41
  80. package/dist/assets/@jsplumb/browser-ui-D3WTv2iL.js +0 -5431
  81. package/dist/assets/@jsplumb/common-Cn2WooAp.js +0 -142
  82. package/dist/assets/@jsplumb/connector-bezier-BsoOTqok.js +0 -1019
  83. package/dist/assets/@jsplumb/core-DLCSr9D4.js +0 -7317
  84. package/dist/assets/@jsplumb/util-DggqnqQo.js +0 -936
  85. package/dist/assets/@lezer/common-Bs5t-XhT.js +0 -1988
  86. package/dist/assets/@n8n/api-types-Clq_Leox.js +0 -1
  87. package/dist/assets/@n8n/codemirror-lang-Bizw8G99.js +0 -20928
  88. package/dist/assets/@n8n/codemirror-lang-sql-C9sfSTUi.js +0 -14443
  89. package/dist/assets/@n8n/permissions-BxSXRD9U.js +0 -52
  90. package/dist/assets/@sentry/vue-By9cUXYj.js +0 -23618
  91. package/dist/assets/@vue-flow/background-B1J8rodd.js +0 -123
  92. package/dist/assets/@vue-flow/controls-B4bXJQnK.js +0 -204
  93. package/dist/assets/@vue-flow/core-tETEFGtP.js +0 -9818
  94. package/dist/assets/@vue-flow/minimap-CGW7BbeH.js +0 -2951
  95. package/dist/assets/@vue-flow/node-resizer-C7hxX6Ea.js +0 -1398
  96. package/dist/assets/@vueuse/core-BTO0AmLR.js +0 -8894
  97. package/dist/assets/RunDataJsonActions-0J53luAF.js +0 -270
  98. package/dist/assets/SettingsFakeDoorView-CpouiCJM.js +0 -74
  99. package/dist/assets/SettingsLdapView-DtUi0T-K.js +0 -746
  100. package/dist/assets/SignoutView-DN2qdM5U.js +0 -57
  101. package/dist/assets/aws-secrets-manager-NwVFybsa.svg +0 -18
  102. package/dist/assets/axios-BW6T4tHC.js +0 -2403
  103. package/dist/assets/azure-key-vault-DTTl_IR7.svg +0 -23
  104. package/dist/assets/bowser-CDCHPFWD.js +0 -1931
  105. package/dist/assets/change-case-Dux1iW35.js +0 -137
  106. package/dist/assets/chart.js-BYpPl_l4.js +0 -14318
  107. package/dist/assets/cloud-DJUTi_f-.js +0 -95
  108. package/dist/assets/codemirror-lang-html-n8n-BElKE4vf.js +0 -2498
  109. package/dist/assets/dateformat-BevCJF2z.js +0 -208
  110. package/dist/assets/email-providers-Brdpqw-Z.js +0 -1
  111. package/dist/assets/esprima-next-DUEu30kB.js +0 -6712
  112. package/dist/assets/fast-json-stable-stringify-D9R5x91P.js +0 -55
  113. package/dist/assets/flatted-BLlNkUR-.js +0 -76
  114. package/dist/assets/gcp-secrets-manager-BcK0Zj6Y.svg +0 -9
  115. package/dist/assets/hashicorp-5zlHdJCj.webp +0 -0
  116. package/dist/assets/highlight.js-Brdpqw-Z.js +0 -1
  117. package/dist/assets/index-DOjaKjUd.js +0 -87778
  118. package/dist/assets/infisical-Db7VXgLp.webp +0 -0
  119. package/dist/assets/lodash-es-DCRmYdQ5.js +0 -6061
  120. package/dist/assets/luxon-N8mghSWH.js +0 -6159
  121. package/dist/assets/n8n-C6KBCWah.css +0 -4973
  122. package/dist/assets/n8n-o-6nV4eX.js +0 -163925
  123. package/dist/assets/pinia-BWzoPyXU.js +0 -1650
  124. package/dist/assets/prettier-eWLVZldr.js +0 -2294
  125. package/dist/assets/qrcode.vue-BavVPFUM.js +0 -1132
  126. package/dist/assets/timeago.js-CgQus8nl.js +0 -116
  127. package/dist/assets/useUserHelpers-nsswfS_i.js +0 -27
  128. package/dist/assets/uuid-DRDfXVM2.js +0 -542
  129. package/dist/assets/v3-infinite-loading-CHlSsXAy.js +0 -114
  130. package/dist/assets/vendor-D8YCjNHu.js +0 -14463
  131. package/dist/assets/vue-agile-B2NGbzqY.css +0 -93
  132. package/dist/assets/vue-agile-Busf3nxn.js +0 -727
  133. package/dist/assets/vue-chartjs-DBNEiLG-.js +0 -203
  134. package/dist/assets/vue-i18n-CeifA_Nk.js +0 -5329
  135. package/dist/assets/vue-json-pretty-DHS8nWi_.js +0 -340
  136. package/dist/assets/vue3-touch-events-DVOgU3fI.js +0 -301
  137. package/dist/assets/xss-Brdpqw-Z.js +0 -1
@@ -1,31 +1,15 @@
1
- import { g as getDefaultExportFromCjs, c as commonjsGlobal } from "./n8n-o-6nV4eX.js";
1
+ import { dT as getDefaultExportFromCjs, dS as commonjsGlobal, d as defineComponent, jg as nonExistingJsonPath, ap as useNDVStore, dl as useNodeHelpers, d9 as useClipboard, ej as storeToRefs, d0 as usePinnedData, a as useToast, e0 as mapStores, a0 as useSourceControlStore, T as useWorkflowsStore, cZ as useNodeTypesStore, ec as clearJsonKey, e4 as executionDataToJson, jq as convertPath, g as useI18n, _ as _export_sfc, l as resolveComponent, c as openBlock, h as createElementBlock, e as createBlock, w as withCtx, i as createVNode, k as createTextVNode, t as toDisplayString, j as createBaseVNode, n as normalizeClass } from "./index-B5Li9oNe.js";
2
2
  function commonjsRequire(path) {
3
3
  throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
4
4
  }
5
- var jsonpath$1 = { exports: {} };
5
+ var jsonpath = { exports: {} };
6
6
  /*! jsonpath 1.1.1 */
7
- var jsonpath = jsonpath$1.exports;
8
7
  (function(module, exports) {
9
8
  (function(f) {
10
- if (true) {
9
+ {
11
10
  module.exports = f();
12
- } else if (false) {
13
- (void 0)([], f);
14
- } else {
15
- var g;
16
- if (typeof window !== "undefined") {
17
- g = window;
18
- } else if (typeof commonjsGlobal !== "undefined") {
19
- g = commonjsGlobal;
20
- } else if (typeof self !== "undefined") {
21
- g = self;
22
- } else {
23
- g = this;
24
- }
25
- g.jsonpath = f();
26
11
  }
27
12
  })(function() {
28
- var define2, module2, exports2;
29
13
  return function e(t, n, r) {
30
14
  function s(o2, u) {
31
15
  if (!n[o2]) {
@@ -49,16 +33,12 @@ var jsonpath = jsonpath$1.exports;
49
33
  return s;
50
34
  }({ "./aesprim": [function(require2, module3, exports3) {
51
35
  (function(root, factory) {
52
- "use strict";
53
- if (typeof define2 === "function" && define2.amd) {
54
- define2(["exports"], factory);
55
- } else if (typeof exports3 !== "undefined") {
36
+ if (typeof exports3 !== "undefined") {
56
37
  factory(exports3);
57
38
  } else {
58
39
  factory(root.esprima = {});
59
40
  }
60
41
  })(this, function(exports4) {
61
- "use strict";
62
42
  var Token, TokenName, FnExprTokens, Syntax, PropertyKind, Messages, Regex, SyntaxTreeDelegate, source, strict, index, lineNumber, lineStart, length, delegate, lookahead, state, extra;
63
43
  Token = {
64
44
  BooleanLiteral: 1,
@@ -316,7 +296,7 @@ var jsonpath = jsonpath$1.exports;
316
296
  }
317
297
  }
318
298
  function addComment(type, value, start, end, loc) {
319
- var comment, attacher;
299
+ var comment;
320
300
  assert(typeof start === "number", "Comment must have valid position");
321
301
  if (state.lastCommentStart >= start) {
322
302
  return;
@@ -565,17 +545,29 @@ var jsonpath = jsonpath$1.exports;
565
545
  function scanPunctuator() {
566
546
  var start = index, code = source.charCodeAt(index), code2, ch1 = source[index], ch2, ch3, ch4;
567
547
  switch (code) {
548
+ // Check for most common single-character punctuators.
568
549
  case 46:
550
+ // . dot
569
551
  case 40:
552
+ // ( open bracket
570
553
  case 41:
554
+ // ) close bracket
571
555
  case 59:
556
+ // ; semicolon
572
557
  case 44:
558
+ // , comma
573
559
  case 123:
560
+ // { open curly brace
574
561
  case 125:
562
+ // } close curly brace
575
563
  case 91:
564
+ // [
576
565
  case 93:
566
+ // ]
577
567
  case 58:
568
+ // :
578
569
  case 63:
570
+ // ?
579
571
  case 126:
580
572
  ++index;
581
573
  if (extra.tokenize) {
@@ -598,14 +590,23 @@ var jsonpath = jsonpath$1.exports;
598
590
  if (code2 === 61) {
599
591
  switch (code) {
600
592
  case 43:
593
+ // +
601
594
  case 45:
595
+ // -
602
596
  case 47:
597
+ // /
603
598
  case 60:
599
+ // <
604
600
  case 62:
601
+ // >
605
602
  case 94:
603
+ // ^
606
604
  case 124:
605
+ // |
607
606
  case 37:
607
+ // %
608
608
  case 38:
609
+ // &
609
610
  case 42:
610
611
  index += 2;
611
612
  return {
@@ -617,6 +618,7 @@ var jsonpath = jsonpath$1.exports;
617
618
  end: index
618
619
  };
619
620
  case 33:
621
+ // !
620
622
  case 61:
621
623
  index += 2;
622
624
  if (source.charCodeAt(index) === 61) {
@@ -975,7 +977,7 @@ var jsonpath = jsonpath$1.exports;
975
977
  };
976
978
  }
977
979
  function scanRegExp() {
978
- var start, body, flags, pattern, value;
980
+ var start, body, flags, value;
979
981
  lookahead = null;
980
982
  skipComment();
981
983
  start = index;
@@ -1115,7 +1117,7 @@ var jsonpath = jsonpath$1.exports;
1115
1117
  return scanPunctuator();
1116
1118
  }
1117
1119
  function collectToken() {
1118
- var loc, token, range, value;
1120
+ var loc, token, value;
1119
1121
  skipComment();
1120
1122
  loc = {
1121
1123
  start: {
@@ -2002,8 +2004,6 @@ var jsonpath = jsonpath$1.exports;
2002
2004
  case "%":
2003
2005
  prec = 11;
2004
2006
  break;
2005
- default:
2006
- break;
2007
2007
  }
2008
2008
  return prec;
2009
2009
  }
@@ -2494,8 +2494,6 @@ var jsonpath = jsonpath$1.exports;
2494
2494
  return delegate.markEnd(parseEmptyStatement(), startToken);
2495
2495
  case "(":
2496
2496
  return delegate.markEnd(parseExpressionStatement(), startToken);
2497
- default:
2498
- break;
2499
2497
  }
2500
2498
  }
2501
2499
  if (type === Token.Keyword) {
@@ -2528,8 +2526,6 @@ var jsonpath = jsonpath$1.exports;
2528
2526
  return delegate.markEnd(parseWhileStatement(), startToken);
2529
2527
  case "with":
2530
2528
  return delegate.markEnd(parseWithStatement(), startToken);
2531
- default:
2532
- break;
2533
2529
  }
2534
2530
  }
2535
2531
  expr = parseExpression();
@@ -2971,21 +2967,17 @@ var jsonpath = jsonpath$1.exports;
2971
2967
  yy.ast.set({ expression: { type: "root", value: $$[$0] } });
2972
2968
  yy.ast.unshift();
2973
2969
  return yy.ast.yield();
2974
- break;
2975
2970
  case 2:
2976
2971
  yy.ast.set({ expression: { type: "root", value: $$[$0 - 1] } });
2977
2972
  yy.ast.unshift();
2978
2973
  return yy.ast.yield();
2979
- break;
2980
2974
  case 3:
2981
2975
  yy.ast.unshift();
2982
2976
  return yy.ast.yield();
2983
- break;
2984
2977
  case 4:
2985
2978
  yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $$[$0 - 1] } });
2986
2979
  yy.ast.unshift();
2987
2980
  return yy.ast.yield();
2988
- break;
2989
2981
  case 5:
2990
2982
  break;
2991
2983
  case 6:
@@ -3088,7 +3080,7 @@ var jsonpath = jsonpath$1.exports;
3088
3080
  }
3089
3081
  },
3090
3082
  parse: function parse(input) {
3091
- var self2 = this, stack = [0], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, recovering = 0, TERROR = 2, EOF = 1;
3083
+ var self2 = this, stack = [0], vstack = [null], lstack = [], table = this.table, yytext = "", yylineno = 0, yyleng = 0, TERROR = 2, EOF = 1;
3092
3084
  var args = lstack.slice.call(arguments, 1);
3093
3085
  this.lexer.setInput(input);
3094
3086
  this.lexer.yy = this.yy;
@@ -3105,11 +3097,6 @@ var jsonpath = jsonpath$1.exports;
3105
3097
  } else {
3106
3098
  this.parseError = Object.getPrototypeOf(this).parseError;
3107
3099
  }
3108
- function popStack(n) {
3109
- stack.length = stack.length - 2 * n;
3110
- vstack.length = vstack.length - n;
3111
- lstack.length = lstack.length - n;
3112
- }
3113
3100
  function lex() {
3114
3101
  var token;
3115
3102
  token = self2.lexer.lex() || EOF;
@@ -3118,7 +3105,7 @@ var jsonpath = jsonpath$1.exports;
3118
3105
  }
3119
3106
  return token;
3120
3107
  }
3121
- var symbol, preErrorSymbol, state, action, a, r, yyval = {}, p, len, newState, expected;
3108
+ var symbol, state, action, r, yyval = {}, p, len, newState, expected;
3122
3109
  while (true) {
3123
3110
  state = stack[stack.length - 1];
3124
3111
  if (this.defaultActions[state]) {
@@ -3160,17 +3147,11 @@ var jsonpath = jsonpath$1.exports;
3160
3147
  lstack.push(this.lexer.yylloc);
3161
3148
  stack.push(action[1]);
3162
3149
  symbol = null;
3163
- if (!preErrorSymbol) {
3150
+ {
3164
3151
  yyleng = this.lexer.yyleng;
3165
3152
  yytext = this.lexer.yytext;
3166
3153
  yylineno = this.lexer.yylineno;
3167
3154
  yyloc = this.lexer.yylloc;
3168
- if (recovering > 0) {
3169
- recovering--;
3170
- }
3171
- } else {
3172
- symbol = preErrorSymbol;
3173
- preErrorSymbol = null;
3174
3155
  }
3175
3156
  break;
3176
3157
  case 2:
@@ -3526,52 +3507,37 @@ var jsonpath = jsonpath$1.exports;
3526
3507
  },
3527
3508
  options: {},
3528
3509
  performAction: function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {
3529
- var YYSTATE = YY_START;
3530
3510
  switch ($avoiding_name_collisions) {
3531
3511
  case 0:
3532
3512
  return 4;
3533
- break;
3534
3513
  case 1:
3535
3514
  return 14;
3536
- break;
3537
3515
  case 2:
3538
3516
  return 12;
3539
- break;
3540
3517
  case 3:
3541
3518
  return 15;
3542
- break;
3543
3519
  case 4:
3544
3520
  return 16;
3545
- break;
3546
3521
  case 5:
3547
3522
  return 22;
3548
- break;
3549
3523
  case 6:
3550
3524
  return 24;
3551
- break;
3552
3525
  case 7:
3553
3526
  return 28;
3554
- break;
3555
3527
  case 8:
3556
3528
  return 30;
3557
- break;
3558
3529
  case 9:
3559
3530
  return 18;
3560
- break;
3561
3531
  case 10:
3562
3532
  yy_.yytext = yy_.yytext.substr(1, yy_.yyleng - 2);
3563
3533
  return 32;
3564
- break;
3565
3534
  case 11:
3566
3535
  yy_.yytext = yy_.yytext.substr(1, yy_.yyleng - 2);
3567
3536
  return 33;
3568
- break;
3569
3537
  case 12:
3570
3538
  return 17;
3571
- break;
3572
3539
  case 13:
3573
3540
  return 31;
3574
- break;
3575
3541
  }
3576
3542
  },
3577
3543
  rules: [/^(?:\$)/, /^(?:\.\.)/, /^(?:\.)/, /^(?:\*)/, /^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/, /^(?:\[)/, /^(?:\])/, /^(?:,)/, /^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/, /^(?:(-?(?:0|[1-9][0-9]*)))/, /^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/, /^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/, /^(?:\(.+?\)(?=\]))/, /^(?:\?\(.+?\)(?=\]))/],
@@ -3956,7 +3922,7 @@ var jsonpath = jsonpath$1.exports;
3956
3922
  assert.ok(obj instanceof Object, "obj needs to be an object");
3957
3923
  assert.ok(string, "we need a path");
3958
3924
  var node = this.nodes(obj, string)[0];
3959
- var key = node.path.pop();
3925
+ node.path.pop();
3960
3926
  return this.value(obj, node.path);
3961
3927
  };
3962
3928
  JSONPath.prototype.apply = function(obj, string, fn) {
@@ -4712,10 +4678,8 @@ var jsonpath = jsonpath$1.exports;
4712
4678
  return name + ": " + str;
4713
4679
  }
4714
4680
  function reduceToSingleString(output, base, braces) {
4715
- var numLinesEst = 0;
4716
4681
  var length = output.reduce(function(prev, cur) {
4717
- numLinesEst++;
4718
- if (cur.indexOf("\n") >= 0) numLinesEst++;
4682
+ if (cur.indexOf("\n") >= 0) ;
4719
4683
  return prev + cur.replace(/\u001b\[\d\d?m/g, "").length + 1;
4720
4684
  }, 0);
4721
4685
  if (length > 60) {
@@ -5332,9 +5296,244 @@ var jsonpath = jsonpath$1.exports;
5332
5296
  module3.exports = require2("./lib/index");
5333
5297
  }, { "./lib/index": 5 }] }, {}, ["jsonpath"])("jsonpath");
5334
5298
  });
5335
- })(jsonpath$1, jsonpath$1.exports);
5336
- var jsonpathExports = jsonpath$1.exports;
5299
+ })(jsonpath);
5300
+ var jsonpathExports = jsonpath.exports;
5337
5301
  const jp = /* @__PURE__ */ getDefaultExportFromCjs(jsonpathExports);
5302
+ const _sfc_main = defineComponent({
5303
+ name: "RunDataJsonActions",
5304
+ props: {
5305
+ node: {
5306
+ type: Object,
5307
+ required: true
5308
+ },
5309
+ paneType: {
5310
+ type: String
5311
+ },
5312
+ pushRef: {
5313
+ type: String
5314
+ },
5315
+ currentOutputIndex: {
5316
+ type: Number
5317
+ },
5318
+ runIndex: {
5319
+ type: Number
5320
+ },
5321
+ displayMode: {
5322
+ type: String
5323
+ },
5324
+ distanceFromActive: {
5325
+ type: Number
5326
+ },
5327
+ selectedJsonPath: {
5328
+ type: String,
5329
+ default: nonExistingJsonPath
5330
+ },
5331
+ jsonData: {
5332
+ type: Array,
5333
+ required: true
5334
+ }
5335
+ },
5336
+ setup() {
5337
+ const ndvStore = useNDVStore();
5338
+ const i18n = useI18n();
5339
+ const nodeHelpers = useNodeHelpers();
5340
+ const clipboard = useClipboard();
5341
+ const { activeNode } = storeToRefs(ndvStore);
5342
+ const pinnedData = usePinnedData(activeNode);
5343
+ return {
5344
+ i18n,
5345
+ nodeHelpers,
5346
+ clipboard,
5347
+ pinnedData,
5348
+ ...useToast()
5349
+ };
5350
+ },
5351
+ computed: {
5352
+ ...mapStores(useNodeTypesStore, useNDVStore, useWorkflowsStore, useSourceControlStore),
5353
+ isReadOnlyRoute() {
5354
+ var _a, _b;
5355
+ return ((_b = (_a = this.$route) == null ? void 0 : _a.meta) == null ? void 0 : _b.readOnlyCanvas) === true;
5356
+ },
5357
+ activeNode() {
5358
+ return this.ndvStore.activeNode;
5359
+ },
5360
+ noSelection() {
5361
+ return this.selectedJsonPath === nonExistingJsonPath;
5362
+ },
5363
+ normalisedJsonPath() {
5364
+ return this.noSelection ? '[""]' : this.selectedJsonPath;
5365
+ }
5366
+ },
5367
+ methods: {
5368
+ getJsonValue() {
5369
+ let selectedValue = jp.query(this.jsonData, `$${this.normalisedJsonPath}`)[0];
5370
+ if (this.noSelection) {
5371
+ const inExecutionsFrame = window !== window.parent && window.parent.location.pathname.includes("/executions");
5372
+ if (this.pinnedData.hasData.value && !inExecutionsFrame) {
5373
+ selectedValue = clearJsonKey(this.pinnedData.data.value);
5374
+ } else {
5375
+ selectedValue = executionDataToJson(
5376
+ this.nodeHelpers.getNodeInputData(this.node, this.runIndex, this.currentOutputIndex)
5377
+ );
5378
+ }
5379
+ }
5380
+ let value = "";
5381
+ if (typeof selectedValue === "object") {
5382
+ value = JSON.stringify(selectedValue, null, 2);
5383
+ } else {
5384
+ value = selectedValue.toString();
5385
+ }
5386
+ return value;
5387
+ },
5388
+ getJsonItemPath() {
5389
+ const newPath = convertPath(this.normalisedJsonPath);
5390
+ let startPath = "";
5391
+ let path = "";
5392
+ const pathParts = newPath.split("]");
5393
+ const index = pathParts[0].slice(1);
5394
+ path = pathParts.slice(1).join("]");
5395
+ startPath = `$item(${index}).$node["${this.node.name}"].json`;
5396
+ return { path, startPath };
5397
+ },
5398
+ getJsonParameterPath() {
5399
+ const newPath = convertPath(this.normalisedJsonPath);
5400
+ const path = newPath.split("]").slice(1).join("]");
5401
+ let startPath = `$node["${this.node.name}"].json`;
5402
+ if (this.distanceFromActive === 1) {
5403
+ startPath = "$json";
5404
+ }
5405
+ return { path, startPath };
5406
+ },
5407
+ handleCopyClick(commandData) {
5408
+ var _a;
5409
+ let value;
5410
+ if (commandData.command === "value") {
5411
+ value = this.getJsonValue();
5412
+ this.showToast({
5413
+ title: this.i18n.baseText("runData.copyValue.toast"),
5414
+ message: "",
5415
+ type: "success",
5416
+ duration: 2e3
5417
+ });
5418
+ } else {
5419
+ let startPath = "";
5420
+ let path = "";
5421
+ if (commandData.command === "itemPath") {
5422
+ const jsonItemPath = this.getJsonItemPath();
5423
+ startPath = jsonItemPath.startPath;
5424
+ path = jsonItemPath.path;
5425
+ this.showToast({
5426
+ title: this.i18n.baseText("runData.copyItemPath.toast"),
5427
+ message: "",
5428
+ type: "success",
5429
+ duration: 2e3
5430
+ });
5431
+ } else if (commandData.command === "parameterPath") {
5432
+ const jsonParameterPath = this.getJsonParameterPath();
5433
+ startPath = jsonParameterPath.startPath;
5434
+ path = jsonParameterPath.path;
5435
+ this.showToast({
5436
+ title: this.i18n.baseText("runData.copyParameterPath.toast"),
5437
+ message: "",
5438
+ type: "success",
5439
+ duration: 2e3
5440
+ });
5441
+ }
5442
+ if (!path.startsWith("[") && !path.startsWith(".") && path) {
5443
+ path += ".";
5444
+ }
5445
+ value = `{{ ${startPath + path} }}`;
5446
+ }
5447
+ const copyType = {
5448
+ value: "selection",
5449
+ itemPath: "item_path",
5450
+ parameterPath: "parameter_path"
5451
+ }[commandData.command];
5452
+ this.$telemetry.track("User copied ndv data", {
5453
+ node_type: (_a = this.activeNode) == null ? void 0 : _a.type,
5454
+ push_ref: this.pushRef,
5455
+ run_index: this.runIndex,
5456
+ view: "json",
5457
+ copy_type: copyType,
5458
+ workflow_id: this.workflowsStore.workflowId,
5459
+ pane: this.paneType,
5460
+ in_execution_log: this.isReadOnlyRoute
5461
+ });
5462
+ void this.clipboard.copy(value);
5463
+ }
5464
+ }
5465
+ });
5466
+ const actionsGroup = "_actionsGroup_wlnwy_1";
5467
+ const style0 = {
5468
+ actionsGroup
5469
+ };
5470
+ const _hoisted_1 = { class: "el-dropdown-link" };
5471
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
5472
+ const _component_n8n_icon_button = resolveComponent("n8n-icon-button");
5473
+ const _component_el_dropdown_item = resolveComponent("el-dropdown-item");
5474
+ const _component_el_dropdown_menu = resolveComponent("el-dropdown-menu");
5475
+ const _component_el_dropdown = resolveComponent("el-dropdown");
5476
+ return openBlock(), createElementBlock("div", {
5477
+ class: normalizeClass(_ctx.$style.actionsGroup)
5478
+ }, [
5479
+ _ctx.noSelection ? (openBlock(), createBlock(_component_n8n_icon_button, {
5480
+ key: 0,
5481
+ title: _ctx.i18n.baseText("runData.copyToClipboard"),
5482
+ icon: "copy",
5483
+ type: "tertiary",
5484
+ circle: false,
5485
+ onClick: _cache[0] || (_cache[0] = ($event) => _ctx.handleCopyClick({ command: "value" }))
5486
+ }, null, 8, ["title"])) : (openBlock(), createBlock(_component_el_dropdown, {
5487
+ key: 1,
5488
+ trigger: "click",
5489
+ onCommand: _ctx.handleCopyClick
5490
+ }, {
5491
+ dropdown: withCtx(() => [
5492
+ createVNode(_component_el_dropdown_menu, null, {
5493
+ default: withCtx(() => [
5494
+ createVNode(_component_el_dropdown_item, { command: { command: "value" } }, {
5495
+ default: withCtx(() => [
5496
+ createTextVNode(toDisplayString(_ctx.i18n.baseText("runData.copyValue")), 1)
5497
+ ]),
5498
+ _: 1
5499
+ }),
5500
+ createVNode(_component_el_dropdown_item, {
5501
+ command: { command: "itemPath" },
5502
+ divided: ""
5503
+ }, {
5504
+ default: withCtx(() => [
5505
+ createTextVNode(toDisplayString(_ctx.i18n.baseText("runData.copyItemPath")), 1)
5506
+ ]),
5507
+ _: 1
5508
+ }),
5509
+ createVNode(_component_el_dropdown_item, { command: { command: "parameterPath" } }, {
5510
+ default: withCtx(() => [
5511
+ createTextVNode(toDisplayString(_ctx.i18n.baseText("runData.copyParameterPath")), 1)
5512
+ ]),
5513
+ _: 1
5514
+ })
5515
+ ]),
5516
+ _: 1
5517
+ })
5518
+ ]),
5519
+ default: withCtx(() => [
5520
+ createBaseVNode("span", _hoisted_1, [
5521
+ createVNode(_component_n8n_icon_button, {
5522
+ title: _ctx.i18n.baseText("runData.copyToClipboard"),
5523
+ icon: "copy",
5524
+ type: "tertiary",
5525
+ circle: false
5526
+ }, null, 8, ["title"])
5527
+ ])
5528
+ ]),
5529
+ _: 1
5530
+ }, 8, ["onCommand"]))
5531
+ ], 2);
5532
+ }
5533
+ const cssModules = {
5534
+ "$style": style0
5535
+ };
5536
+ const RunDataJsonActions = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__cssModules", cssModules]]);
5338
5537
  export {
5339
- jp as j
5538
+ RunDataJsonActions as default
5340
5539
  };
@@ -1,34 +1,4 @@
1
- import { I as defineComponent, r as ref, f as computed, q as onMounted, x as onUnmounted, b as watch, an as resolveComponent, J as openBlock, V as createBlock, a3 as withCtx, a8 as createVNode, _ as normalizeClass, $ as normalizeStyle } from "./vendor-D8YCjNHu.js";
2
- import { e as useDebounce, b as useI18n } from "./index-DOjaKjUd.js";
3
- import { _ as _export_sfc } from "./n8n-o-6nV4eX.js";
4
- import "./@sentry/vue-By9cUXYj.js";
5
- import "./axios-BW6T4tHC.js";
6
- import "./flatted-BLlNkUR-.js";
7
- import "./pinia-BWzoPyXU.js";
8
- import "./bowser-CDCHPFWD.js";
9
- import "./@vueuse/core-BTO0AmLR.js";
10
- import "./lodash-es-DCRmYdQ5.js";
11
- import "./uuid-DRDfXVM2.js";
12
- import "./dateformat-BevCJF2z.js";
13
- import "./vue-i18n-CeifA_Nk.js";
14
- import "./@n8n/permissions-BxSXRD9U.js";
15
- import "./luxon-N8mghSWH.js";
16
- import "./@jsplumb/util-DggqnqQo.js";
17
- import "./@jsplumb/core-DLCSr9D4.js";
18
- import "./@jsplumb/common-Cn2WooAp.js";
19
- import "./@jsplumb/connector-bezier-BsoOTqok.js";
20
- import "./@jsplumb/browser-ui-D3WTv2iL.js";
21
- import "./@n8n/codemirror-lang-Bizw8G99.js";
22
- import "./@lezer/common-Bs5t-XhT.js";
23
- import "./@n8n/codemirror-lang-sql-C9sfSTUi.js";
24
- import "./prettier-eWLVZldr.js";
25
- import "./codemirror-lang-html-n8n-BElKE4vf.js";
26
- import "./esprima-next-DUEu30kB.js";
27
- import "./fast-json-stable-stringify-D9R5x91P.js";
28
- import "./timeago.js-CgQus8nl.js";
29
- import "./qrcode.vue-BavVPFUM.js";
30
- import "./vue3-touch-events-DVOgU3fI.js";
31
- import "./chart.js-BYpPl_l4.js";
1
+ import { d as defineComponent, J as useDebounce, r as ref, p as computed, o as onMounted, bZ as onUnmounted, H as watch, l as resolveComponent, c as openBlock, e as createBlock, w as withCtx, i as createVNode, n as normalizeClass, B as normalizeStyle, g as useI18n, _ as _export_sfc } from "./index-B5Li9oNe.js";
32
2
  const COLLAPSED_WIDTH = "30px";
33
3
  const OPEN_WIDTH = "204px";
34
4
  const OPEN_MIN_WIDTH = "120px";