n8n-editor-ui 1.66.0 → 1.68.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 (110) hide show
  1. package/dist/assets/{AuthView-31vu0x_3.js → AuthView-C7b2xzS9.js} +17 -19
  2. package/dist/assets/CanvasChat-DKeWqqZz.css +730 -0
  3. package/dist/assets/CanvasChat-QctJb8ta.js +4166 -0
  4. package/dist/assets/{CanvasControls-DkT1iClJ.js → CanvasControls-raoYims4.js} +1 -1
  5. package/dist/assets/{ChangePasswordView-DkhZAh4j.js → ChangePasswordView-BBju88Nm.js} +2 -2
  6. package/dist/assets/CollectionParameter-DNJAimAt.js +4 -0
  7. package/dist/assets/{CredentialsView-Du-lMwPW.js → CredentialsView-BfYXjOVw.js} +11 -10
  8. package/dist/assets/{ErrorView-CROJIl1H.js → ErrorView-BhPrjw7c.js} +1 -1
  9. package/dist/assets/{ExecutionsFilter-BecTg03r.css → ExecutionsTime-DVxRt-Pz.css} +6 -6
  10. package/dist/assets/{ExecutionsFilter-132FKb5o.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-Ba-at9rw.js} +43 -43
  11. package/dist/assets/{ExecutionsView-B41cgHPD.js → ExecutionsView-Dcw07XZ-.js} +26 -31
  12. package/dist/assets/{ExecutionsView-Dfy6JMwb.css → ExecutionsView-DlxsqdiC.css} +44 -38
  13. package/dist/assets/{FileSaver.min-B3lWZPMp.js → FileSaver.min-CKlTVpWB.js} +1 -1
  14. package/dist/assets/FixedCollectionParameter-CkI6mCZG.js +334 -0
  15. package/dist/assets/{FixedCollectionParameter-fI2wTyfY.css → FixedCollectionParameter-DzOGMEdq.css} +10 -10
  16. package/dist/assets/{ForgotMyPasswordView-DKrE7dUn.js → ForgotMyPasswordView--eKPrTSW.js} +4 -3
  17. package/dist/assets/{MainHeader-CW31WCmm.js → MainHeader-Btek9DoL.js} +195 -118
  18. package/dist/assets/{MainHeader-Bc5G9_Uq.css → MainHeader-DJdd17Nh.css} +36 -11
  19. package/dist/assets/{MainSidebar-cNW0UJBC.css → MainSidebar-BRYJRpOA.css} +2 -2
  20. package/dist/assets/{MainSidebar-Dny90RtO.js → MainSidebar-CRjg4yDv.js} +7 -13
  21. package/dist/assets/{NodeCreation-BqSkxffS.js → NodeCreation-CDpNw3BL.js} +14 -11
  22. package/dist/assets/{NodeCreator-CoqcSKC-.js → NodeCreator-DPpQXLHf.js} +79 -65
  23. package/dist/assets/{NodeViewSwitcher-C1Gp-jKb.js → NodeViewSwitcher-CNfOOUof.js} +2891 -2905
  24. package/dist/assets/{NodeViewSwitcher-B8VPj4Rs.css → NodeViewSwitcher-DuVIKqpm.css} +185 -184
  25. package/dist/assets/{ProjectCardBadge-kHyKG50e.js → ProjectCardBadge-DzaTsr93.js} +1 -1
  26. package/dist/assets/{ResourceListHeader-DgE1VPUF.css → ProjectHeader-09VQWBZH.css} +5 -3
  27. package/dist/assets/ProjectHeader-wdvHJxbT.js +196 -0
  28. package/dist/assets/{ProjectSettings-BohhQ-z6.js → ProjectSettings-B6j0VJK5.js} +7 -36
  29. package/dist/assets/PushConnectionTracker.vue_vue_type_script_setup_true_lang-ByoMju5L.js +39 -0
  30. package/dist/assets/ResourcesListLayout-9Vpyt6Ec.js +662 -0
  31. package/dist/assets/{ResourcesListLayout-Bw99IFlO.css → ResourcesListLayout-CuA8O7do.css} +8 -8
  32. package/dist/assets/{RunDataJson-CUsbBWaI.js → RunDataJson-sPhT7c2h.js} +12 -12
  33. package/dist/assets/{RunDataJsonActions-Bnn0o9WH.js → RunDataJsonActions-DiMvLis_.js} +128 -159
  34. package/dist/assets/{RunDataSearch-BiygytJ8.js → RunDataSearch-CF_rpBKx.js} +2 -2
  35. package/dist/assets/RunDataTable-T52TXUHR.js +564 -0
  36. package/dist/assets/{SamlOnboarding-BXYS2fQg.js → SamlOnboarding-BCn53xtf.js} +2 -2
  37. package/dist/assets/SettingsApiView-DumvK072.js +227 -0
  38. package/dist/assets/{SettingsCommunityNodesView-BjakfOB1.js → SettingsCommunityNodesView-Db787Jar.js} +185 -195
  39. package/dist/assets/{SettingsExternalSecrets-BGIt9OQy.js → SettingsExternalSecrets-DKB2o2Dq.js} +3 -3
  40. package/dist/assets/{SettingsLdapView-DBY4YyYE.js → SettingsLdapView-BoKoCT5V.js} +3 -3
  41. package/dist/assets/SettingsLogStreamingView-BGX39Unz.js +500 -0
  42. package/dist/assets/{SettingsPersonalView-CgzznKXi.js → SettingsPersonalView-fTCeSJfu.js} +1 -1
  43. package/dist/assets/{SettingsSourceControl-DNWFyNrX.js → SettingsSourceControl-_G83P363.js} +3 -3
  44. package/dist/assets/{SettingsSso-B8oke872.js → SettingsSso-Bn48qAiX.js} +3 -3
  45. package/dist/assets/{SettingsUsageAndPlan-BUUYApK_.js → SettingsUsageAndPlan-DZkS0RP4.js} +4 -3
  46. package/dist/assets/{SettingsUsageAndPlan-P6SS2mWq.css → SettingsUsageAndPlan-vijI-va0.css} +3 -3
  47. package/dist/assets/{SettingsUsersView-DyuP8V6k.js → SettingsUsersView-BUh2iKEW.js} +4 -3
  48. package/dist/assets/{SettingsView-CD83Adan.js → SettingsView-D_S4x7XG.js} +2 -30
  49. package/dist/assets/{SetupView-C8XYMj2N.js → SetupView-BenKVU0l.js} +2 -2
  50. package/dist/assets/{SetupWorkflowCredentialsButton-u1qhjj5K.js → SetupWorkflowCredentialsButton-DKr9ZPLE.js} +1 -1
  51. package/dist/assets/{SetupWorkflowFromTemplateView-DdxqCGcl.js → SetupWorkflowFromTemplateView-Ce1R_CDh.js} +3 -3
  52. package/dist/assets/{SigninView-CGQ20O_c.js → SigninView-xl5aJqka.js} +4 -3
  53. package/dist/assets/{SignoutView-BZwBBglt.js → SignoutView-Bscz6u1Y.js} +1 -1
  54. package/dist/assets/{SignupView-BCT6dhhZ.js → SignupView-CZN8EhJV.js} +4 -3
  55. package/dist/assets/TemplateDetails-BAQ3vBNJ.js +179 -0
  56. package/dist/assets/TemplateList-DD7sqnpI.js +371 -0
  57. package/dist/assets/{TemplatesCollectionView-BxBSljqH.js → TemplatesCollectionView-CG3ZoY8i.js} +10 -10
  58. package/dist/assets/{TemplatesSearchView-kFcPH-ZH.js → TemplatesSearchView-22jrqI8X.js} +530 -577
  59. package/dist/assets/{TemplatesView-TPTpSdeD.js → TemplatesView-BZFc4hZ1.js} +32 -37
  60. package/dist/assets/{TemplatesWorkflowView-8NdGLWj7.js → TemplatesWorkflowView-DkXtdhUJ.js} +5 -5
  61. package/dist/assets/{VariablesView-CHXdt5-z.css → VariablesView-BPKo50HJ.css} +18 -18
  62. package/dist/assets/{VariablesView-C1NxBxBQ.js → VariablesView-DHu4ZoMN.js} +5 -5
  63. package/dist/assets/WorkerView-BfxdQiAc.js +148 -0
  64. package/dist/assets/WorkerView-Dm0b18Mh.css +22 -0
  65. package/dist/assets/{WorkflowActivator-CalsATsI.js → WorkflowActivator-CvdQVEtW.js} +2 -2
  66. package/dist/assets/{WorkflowExecutionsInfoAccordion-rUnvuY-5.js → WorkflowExecutionsInfoAccordion-D2GFnpq1.js} +1 -1
  67. package/dist/assets/{WorkflowExecutionsLandingPage-C4K7kfqv.js → WorkflowExecutionsLandingPage-D2bvAsxg.js} +2 -2
  68. package/dist/assets/{WorkflowExecutionsPreview-BO31AO7v.js → WorkflowExecutionsPreview-D6WBsbAG.js} +5 -5
  69. package/dist/assets/{WorkflowExecutionsView-B8x2-iOd.css → WorkflowExecutionsView-CZKkPKqJ.css} +9 -1
  70. package/dist/assets/{WorkflowExecutionsView-B-5zbx_n.js → WorkflowExecutionsView-DI6r5OvZ.js} +6 -6
  71. package/dist/assets/{WorkflowHistory-uvlFDwTJ.js → WorkflowHistory-Dc1f2Tsn.js} +5 -4
  72. package/dist/assets/{WorkflowOnboardingView-B869wGVb.js → WorkflowOnboardingView-DyxvWfZ7.js} +1 -1
  73. package/dist/assets/{WorkflowPreview-BlzWpiO1.js → WorkflowPreview-hC6wSe-Y.js} +1 -1
  74. package/dist/assets/{WorkflowsView-IdgMnIZY.js → WorkflowsView-SIDgO47b.js} +10 -10
  75. package/dist/assets/buttons.esm-BOkmSohe.js +477 -0
  76. package/dist/assets/{dateFormatter-BCrxaIdG.js → dateFormatter-BRi2wSZ-.js} +1 -1
  77. package/dist/assets/{index-QAq8Sa9R.js → index-40I5DMGP.js} +196843 -202970
  78. package/dist/assets/{index-DaeOVPzE.css → index-Dr3zFZlC.css} +136 -594
  79. package/dist/assets/{pushConnection.store-Cdssd0uJ.js → pushConnection.store-w_WxpOeH.js} +1 -1
  80. package/dist/assets/{templateActions-ClPy1BRa.js → templateActions-D4EHdA9n.js} +1 -1
  81. package/dist/assets/{useBugReporting-Bvr7bSQt.js → useBugReporting-CFOQlQpP.js} +1 -1
  82. package/dist/assets/{useExecutionDebugging-CwyVwJqO.js → useExecutionDebugging-LQQWXhPj.js} +3 -2
  83. package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-CYMqjryg.js → useExecutionHelpers-CXGl_HIp.js} +55 -55
  84. package/dist/assets/{useNodeViewVersionSwitcher-BPNKvsXw.js → useNodeViewVersionSwitcher-BLo5Qp-N.js} +1 -1
  85. package/dist/assets/{usePushConnection-DDXmzoG8.js → usePushConnection-B5ija5f5.js} +9 -10
  86. package/dist/assets/{RunDataAi-x30tU8-0.css → useRunWorkflow-DH7ZzA8t.css} +97 -57
  87. package/dist/assets/useRunWorkflow-MrEKURG4.js +3710 -0
  88. package/dist/assets/{useWorkflowActivate-DKPQP7qy.js → useWorkflowActivate-CKedJlgZ.js} +1 -1
  89. package/dist/index.html +3 -2
  90. package/index.html +1 -0
  91. package/package.json +1 -1
  92. package/vite.config.mts +1 -17
  93. package/dist/assets/CollectionParameter-BDKfoIMJ.js +0 -4
  94. package/dist/assets/FixedCollectionParameter-DXh-j7zB.js +0 -355
  95. package/dist/assets/ProjectTabs-D-87NPFl.js +0 -88
  96. package/dist/assets/ProjectTabs-DjoIePoM.css +0 -3
  97. package/dist/assets/PushConnectionTracker-Bhnghrmf.js +0 -38
  98. package/dist/assets/ResourceListHeader-Bs6GLg32.js +0 -66
  99. package/dist/assets/ResourcesListLayout-ByBNP70B.js +0 -800
  100. package/dist/assets/RunDataAi-CYTNyRq_.js +0 -1539
  101. package/dist/assets/RunDataTable--RIqj8DU.js +0 -608
  102. package/dist/assets/SettingsApiView-DoibCiLo.js +0 -255
  103. package/dist/assets/SettingsFakeDoorView-DpKZ4qWG.css +0 -14
  104. package/dist/assets/SettingsFakeDoorView-DwXDXgon.js +0 -44
  105. package/dist/assets/SettingsLogStreamingView-DHQWns6I.js +0 -519
  106. package/dist/assets/TemplateDetails-BsLVCpdi.js +0 -199
  107. package/dist/assets/TemplateList-Bn7ePHhc.js +0 -433
  108. package/dist/assets/WorkerView-Bj1cvzLg.js +0 -825
  109. package/dist/assets/WorkerView-C_d54L0W.css +0 -181
  110. package/dist/assets/cloud-B6bxVT9F.js +0 -37
@@ -1,4 +1,4 @@
1
- import { v as createEventBus, R as defineStore, S as STORES, Z as useRootStore, m as useSettingsStore, p as computed, r as ref, W as TIME } from "./index-QAq8Sa9R.js";
1
+ import { C as createEventBus, R as defineStore, S as STORES, Z as useRootStore, m as useSettingsStore, p as computed, r as ref, W as TIME } from "./index-40I5DMGP.js";
2
2
  const globalLinkActionsEventBus = createEventBus();
3
3
  const usePushConnectionStore = defineStore(STORES.PUSH, () => {
4
4
  const rootStore = useRootStore();
@@ -1,4 +1,4 @@
1
- import { h$ as TEMPLATE_CREDENTIAL_SETUP_EXPERIMENT, eO as assert, V as VIEWS, gd as tryToParseNumber, i4 as doesNodeHaveCredentialsToFill, i5 as getNewWorkflow, i6 as replaceAllTemplateNodeCredentials, gc as getFixedNodesList } from "./index-QAq8Sa9R.js";
1
+ import { iE as TEMPLATE_CREDENTIAL_SETUP_EXPERIMENT, fg as assert, V as VIEWS, gz as tryToParseNumber, iI as doesNodeHaveCredentialsToFill, iJ as getNewWorkflow, iK as replaceAllTemplateNodeCredentials, gy as getFixedNodesList } from "./index-40I5DMGP.js";
2
2
  async function createWorkflowFromTemplate(opts) {
3
3
  const { credentialOverrides, nodeTypeProvider, rootStore, template, workflowsStore } = opts;
4
4
  const workflowData = await getNewWorkflow(rootStore.restApiContext, { name: template.name });
@@ -1,4 +1,4 @@
1
- import { hp as useDebugInfo } from "./index-QAq8Sa9R.js";
1
+ import { hL as useDebugInfo } from "./index-40I5DMGP.js";
2
2
  const BASE_FORUM_URL = "https://github.com/n8n-io/n8n/issues/new?labels=bug-report";
3
3
  const REPORT_TEMPLATE = `
4
4
  <!-- Please follow the template below. Skip the questions that are not relevant to you. -->
@@ -1,4 +1,4 @@
1
- import { b as useRouter, a as useToast, T as useWorkflowsStore, m as useSettingsStore, K as useUIStore, p as computed, a7 as EnterpriseEditionFeature, bt as h, hg as sanitizeHtml, ad as MODAL_CONFIRM, V as VIEWS, Z as useRootStore, ht as isFullExecutionResponse, hu as DEBUG_PAYWALL_MODAL_KEY, aj as useTelemetry, g as useI18n, ak as useMessage } from "./index-QAq8Sa9R.js";
1
+ import { b as useRouter, a as useToast, T as useWorkflowsStore, m as useSettingsStore, K as useUIStore, a5 as usePageRedirectionHelper, p as computed, a8 as EnterpriseEditionFeature, aq as h, hC as sanitizeHtml, ae as MODAL_CONFIRM, V as VIEWS, Z as useRootStore, i5 as isFullExecutionResponse, i6 as DEBUG_PAYWALL_MODAL_KEY, ak as useTelemetry, g as useI18n, al as useMessage } from "./index-40I5DMGP.js";
2
2
  const useExecutionDebugging = () => {
3
3
  const telemetry = useTelemetry();
4
4
  const router = useRouter();
@@ -8,6 +8,7 @@ const useExecutionDebugging = () => {
8
8
  const workflowsStore = useWorkflowsStore();
9
9
  const settingsStore = useSettingsStore();
10
10
  const uiStore = useUIStore();
11
+ const pageRedirectionHelper = usePageRedirectionHelper();
11
12
  const isDebugEnabled = computed(
12
13
  () => settingsStore.isEnterpriseFeatureEnabled[EnterpriseEditionFeature.DebugInEditor]
13
14
  );
@@ -108,7 +109,7 @@ const useExecutionDebugging = () => {
108
109
  title: i18n.baseText(uiStore.contextBasedTranslationKeys.feature.unavailable.title),
109
110
  footerButtonAction: () => {
110
111
  uiStore.closeModal(DEBUG_PAYWALL_MODAL_KEY);
111
- void uiStore.goToUpgrade("debug", "upgrade-debug");
112
+ void pageRedirectionHelper.goToUpgrade("debug", "upgrade-debug");
112
113
  }
113
114
  }
114
115
  });
@@ -1,5 +1,58 @@
1
- import { b as convertToDisplayDate } from "./dateFormatter-BCrxaIdG.js";
2
- import { g as useI18n, d as defineComponent, ic as useAnnotationTagsStore, K as useUIStore, p as computed, c as openBlock, e as createBlock, id as ANNOTATION_TAGS_MANAGER_MODAL_KEY, ie as _sfc_main$1 } from "./index-QAq8Sa9R.js";
1
+ import { d as defineComponent, j4 as useAnnotationTagsStore, K as useUIStore, p as computed, c as openBlock, e as createBlock, j5 as ANNOTATION_TAGS_MANAGER_MODAL_KEY, j6 as _sfc_main$1, g as useI18n } from "./index-40I5DMGP.js";
2
+ import { b as convertToDisplayDate } from "./dateFormatter-BRi2wSZ-.js";
3
+ const _sfc_main = /* @__PURE__ */ defineComponent({
4
+ __name: "AnnotationTagsDropdown.ee",
5
+ props: {
6
+ placeholder: { default: "" },
7
+ modelValue: { default: () => [] },
8
+ createEnabled: { type: Boolean, default: false },
9
+ eventBus: { default: null }
10
+ },
11
+ emits: ["update:modelValue", "esc", "blur"],
12
+ setup(__props, { emit: __emit }) {
13
+ const props = __props;
14
+ const emit = __emit;
15
+ const tagsStore = useAnnotationTagsStore();
16
+ const uiStore = useUIStore();
17
+ const selectedTags = computed({
18
+ get: () => props.modelValue,
19
+ set: (value) => emit("update:modelValue", value)
20
+ });
21
+ const allTags = computed(() => tagsStore.allTags);
22
+ const isLoading = computed(() => tagsStore.isLoading);
23
+ const tagsById = computed(() => tagsStore.tagsById);
24
+ async function createTag(name) {
25
+ return await tagsStore.create(name);
26
+ }
27
+ function handleManageTags() {
28
+ uiStore.openModal(ANNOTATION_TAGS_MANAGER_MODAL_KEY);
29
+ }
30
+ function handleEsc() {
31
+ emit("esc");
32
+ }
33
+ function handleBlur() {
34
+ emit("blur");
35
+ }
36
+ void tagsStore.fetchAll();
37
+ return (_ctx, _cache) => {
38
+ const _component_TagsDropdown = _sfc_main$1;
39
+ return openBlock(), createBlock(_component_TagsDropdown, {
40
+ modelValue: selectedTags.value,
41
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectedTags.value = $event),
42
+ placeholder: _ctx.placeholder,
43
+ "create-enabled": _ctx.createEnabled,
44
+ "event-bus": _ctx.eventBus,
45
+ "all-tags": allTags.value,
46
+ "is-loading": isLoading.value,
47
+ "tags-by-id": tagsById.value,
48
+ "create-tag": createTag,
49
+ onManageTags: handleManageTags,
50
+ onEsc: handleEsc,
51
+ onBlur: handleBlur
52
+ }, null, 8, ["modelValue", "placeholder", "create-enabled", "event-bus", "all-tags", "is-loading", "tags-by-id"]);
53
+ };
54
+ }
55
+ });
3
56
  function useExecutionHelpers() {
4
57
  const i18n = useI18n();
5
58
  function getUIDetails(execution) {
@@ -56,59 +109,6 @@ function useExecutionHelpers() {
56
109
  isExecutionRetriable
57
110
  };
58
111
  }
59
- const _sfc_main = /* @__PURE__ */ defineComponent({
60
- __name: "AnnotationTagsDropdown.ee",
61
- props: {
62
- placeholder: { default: "" },
63
- modelValue: { default: () => [] },
64
- createEnabled: { type: Boolean, default: false },
65
- eventBus: { default: null }
66
- },
67
- emits: ["update:modelValue", "esc", "blur"],
68
- setup(__props, { emit: __emit }) {
69
- const props = __props;
70
- const emit = __emit;
71
- const tagsStore = useAnnotationTagsStore();
72
- const uiStore = useUIStore();
73
- const selectedTags = computed({
74
- get: () => props.modelValue,
75
- set: (value) => emit("update:modelValue", value)
76
- });
77
- const allTags = computed(() => tagsStore.allTags);
78
- const isLoading = computed(() => tagsStore.isLoading);
79
- const tagsById = computed(() => tagsStore.tagsById);
80
- async function createTag(name) {
81
- return await tagsStore.create(name);
82
- }
83
- function handleManageTags() {
84
- uiStore.openModal(ANNOTATION_TAGS_MANAGER_MODAL_KEY);
85
- }
86
- function handleEsc() {
87
- emit("esc");
88
- }
89
- function handleBlur() {
90
- emit("blur");
91
- }
92
- void tagsStore.fetchAll();
93
- return (_ctx, _cache) => {
94
- const _component_TagsDropdown = _sfc_main$1;
95
- return openBlock(), createBlock(_component_TagsDropdown, {
96
- modelValue: selectedTags.value,
97
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectedTags.value = $event),
98
- placeholder: _ctx.placeholder,
99
- "create-enabled": _ctx.createEnabled,
100
- "event-bus": _ctx.eventBus,
101
- "all-tags": allTags.value,
102
- "is-loading": isLoading.value,
103
- "tags-by-id": tagsById.value,
104
- "create-tag": createTag,
105
- onManageTags: handleManageTags,
106
- onEsc: handleEsc,
107
- onBlur: handleBlur
108
- }, null, 8, ["modelValue", "placeholder", "create-enabled", "event-bus", "all-tags", "is-loading", "tags-by-id"]);
109
- };
110
- }
111
- });
112
112
  export {
113
113
  _sfc_main as _,
114
114
  useExecutionHelpers as u
@@ -1,4 +1,4 @@
1
- import { K as useUIStore, $ as useCanvasStore, r as ref, p as computed, V as VIEWS, g as useI18n, ao as useNDVStore, T as useWorkflowsStore, m as useSettingsStore, hn as refDebounced, ho as useLocalStorage, aj as useTelemetry } from "./index-QAq8Sa9R.js";
1
+ import { K as useUIStore, $ as useCanvasStore, r as ref, p as computed, V as VIEWS, g as useI18n, at as useNDVStore, T as useWorkflowsStore, m as useSettingsStore, hJ as refDebounced, hK as useLocalStorage, ak as useTelemetry } from "./index-40I5DMGP.js";
2
2
  function useBeforeUnload({ route }) {
3
3
  const uiStore = useUIStore();
4
4
  const canvasStore = useCanvasStore();
@@ -1,5 +1,5 @@
1
- import { im as makeRestApiRequest, R as defineStore, Z as useRootStore, d as defineComponent, c as openBlock, h as createElementBlock, k as createTextVNode, t as toDisplayString, j as createBaseVNode, A as unref, g as useI18n, a4 as useWorkflowHelpers, dl as useNodeHelpers, a as useToast, dt as useCredentialsStore, cZ as useNodeTypesStore, m as useSettingsStore, K as useUIStore, T as useWorkflowsStore, io as useAssistantStore, r as ref, ip as parse, iq as codeNodeEditorEventBus, af as WORKFLOW_SETTINGS_MODAL_KEY, ga as generateNodesGraph, bt as h, er as getTriggerNodeServiceName, aF as useExternalHooks, aj as useTelemetry } from "./index-QAq8Sa9R.js";
2
- import { u as usePushConnectionStore, g as globalLinkActionsEventBus } from "./pushConnection.store-Cdssd0uJ.js";
1
+ import { iY as makeRestApiRequest, R as defineStore, Z as useRootStore, d as defineComponent, c as openBlock, h as createElementBlock, k as createTextVNode, t as toDisplayString, j as createBaseVNode, A as unref, g as useI18n, a4 as useWorkflowHelpers, bg as useNodeHelpers, a as useToast, dS as useCredentialsStore, bf as useNodeTypesStore, m as useSettingsStore, K as useUIStore, T as useWorkflowsStore, hP as useAssistantStore, r as ref, iZ as parse, i_ as codeNodeEditorEventBus, ag as WORKFLOW_SETTINGS_MODAL_KEY, gw as generateNodesGraph, aq as h, eV as getTriggerNodeServiceName, aK as useExternalHooks, ak as useTelemetry } from "./index-40I5DMGP.js";
2
+ import { u as usePushConnectionStore, g as globalLinkActionsEventBus } from "./pushConnection.store-w_WxpOeH.js";
3
3
  const GET_STATUS_ENDPOINT = "/orchestration/worker/status";
4
4
  const sendGetWorkerStatus = async (context) => {
5
5
  await makeRestApiRequest(context, "POST", GET_STATUS_ENDPOINT);
@@ -138,7 +138,7 @@ function usePushConnection({ router }) {
138
138
  }
139
139
  }
140
140
  async function pushMessageReceived(receivedData, isRetry) {
141
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B;
141
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _A, _B, _C, _D, _E, _F, _G;
142
142
  const retryAttempts = 5;
143
143
  if (receivedData.type === "sendWorkerStatusMessage") {
144
144
  const pushData = receivedData.data;
@@ -238,7 +238,7 @@ function usePushConnection({ router }) {
238
238
  const activeRunData = (_l = (_k = (_j = workflowsStore.workflowExecutionData) == null ? void 0 : _j.data) == null ? void 0 : _k.resultData) == null ? void 0 : _l.runData;
239
239
  if (activeRunData) {
240
240
  for (const key of Object.keys(activeRunData)) {
241
- if (((_s = (_r = (_q = (_p = (_o = (_n = (_m = pushData.data.data.resultData.runData[key]) == null ? void 0 : _m[0]) == null ? void 0 : _n.data) == null ? void 0 : _o.main) == null ? void 0 : _p[0]) == null ? void 0 : _q[0]) == null ? void 0 : _r.json) == null ? void 0 : _s.isArtificialRecoveredEventItem) === true && activeRunData[key].length > 0)
241
+ if (((_w = (_v = (_u = (_t = (_s = (_r = (_q = (_p = (_o = (_n = (_m = pushData.data) == null ? void 0 : _m.data) == null ? void 0 : _n.resultData) == null ? void 0 : _o.runData) == null ? void 0 : _p[key]) == null ? void 0 : _q[0]) == null ? void 0 : _r.data) == null ? void 0 : _s.main) == null ? void 0 : _t[0]) == null ? void 0 : _u[0]) == null ? void 0 : _v.json) == null ? void 0 : _w.isArtificialRecoveredEventItem) === true && activeRunData[key].length > 0)
242
242
  pushData.data.data.resultData.runData[key] = activeRunData[key];
243
243
  }
244
244
  }
@@ -265,7 +265,7 @@ function usePushConnection({ router }) {
265
265
  }
266
266
  );
267
267
  }
268
- const lineNumber = (_v = (_u = (_t = runDataExecuted == null ? void 0 : runDataExecuted.data) == null ? void 0 : _t.resultData) == null ? void 0 : _u.error) == null ? void 0 : _v.lineNumber;
268
+ const lineNumber = (_z = (_y = (_x = runDataExecuted == null ? void 0 : runDataExecuted.data) == null ? void 0 : _x.resultData) == null ? void 0 : _y.error) == null ? void 0 : _z.lineNumber;
269
269
  codeNodeEditorEventBus.emit("highlightLine", lineNumber ?? "final");
270
270
  const workflow = workflowHelpers.getCurrentWorkflow();
271
271
  if (runDataExecuted.waitTill !== void 0) {
@@ -284,7 +284,7 @@ function usePushConnection({ router }) {
284
284
  workflowHelpers.setDocumentTitle(workflow.name, "IDLE");
285
285
  } else if (runDataExecuted.finished !== true) {
286
286
  workflowHelpers.setDocumentTitle(workflow.name, "ERROR");
287
- if (((_w = runDataExecuted.data.resultData.error) == null ? void 0 : _w.name) === "ExpressionError" && runDataExecuted.data.resultData.error.context.functionality === "pairedItem") {
287
+ if (((_A = runDataExecuted.data.resultData.error) == null ? void 0 : _A.name) === "ExpressionError" && runDataExecuted.data.resultData.error.functionality === "pairedItem") {
288
288
  const error = runDataExecuted.data.resultData.error;
289
289
  void workflowHelpers.getWorkflowDataToSave().then((workflowData) => {
290
290
  const eventData = {
@@ -317,7 +317,7 @@ function usePushConnection({ router }) {
317
317
  });
318
318
  });
319
319
  }
320
- if (((_x = runDataExecuted.data.resultData.error) == null ? void 0 : _x.name) === "SubworkflowOperationError") {
320
+ if (((_B = runDataExecuted.data.resultData.error) == null ? void 0 : _B.name) === "SubworkflowOperationError") {
321
321
  const error = runDataExecuted.data.resultData.error;
322
322
  workflowsStore.subWorkflowExecutionError = error;
323
323
  toast.showMessage({
@@ -326,7 +326,7 @@ function usePushConnection({ router }) {
326
326
  type: "error",
327
327
  duration: 0
328
328
  });
329
- } else if (((_y = runDataExecuted.data.resultData.error) == null ? void 0 : _y.name) === "NodeOperationError" && runDataExecuted.data.resultData.error.functionality === "configuration-node") {
329
+ } else if ((((_C = runDataExecuted.data.resultData.error) == null ? void 0 : _C.name) === "NodeOperationError" || ((_D = runDataExecuted.data.resultData.error) == null ? void 0 : _D.name) === "NodeApiError") && runDataExecuted.data.resultData.error.functionality === "configuration-node") {
330
330
  let title;
331
331
  const nodeError = runDataExecuted.data.resultData.error;
332
332
  if (nodeError.node.name) {
@@ -371,7 +371,7 @@ function usePushConnection({ router }) {
371
371
  if (execution == null ? void 0 : execution.executedNode) {
372
372
  const node = workflowsStore.getNodeByName(execution.executedNode);
373
373
  const nodeType = node && nodeTypesStore.getNodeType(node.type, node.typeVersion);
374
- const nodeOutput = execution && execution.executedNode && ((_B = (_A = (_z = execution.data) == null ? void 0 : _z.resultData) == null ? void 0 : _A.runData) == null ? void 0 : _B[execution.executedNode]);
374
+ const nodeOutput = execution && execution.executedNode && ((_G = (_F = (_E = execution.data) == null ? void 0 : _E.resultData) == null ? void 0 : _F.runData) == null ? void 0 : _G[execution.executedNode]);
375
375
  if ((nodeType == null ? void 0 : nodeType.polling) && !nodeOutput) {
376
376
  toast.showMessage({
377
377
  title: i18n.baseText("pushConnection.pollingNode.dataNotFound", {
@@ -506,7 +506,6 @@ function usePushConnection({ router }) {
506
506
  };
507
507
  }
508
508
  export {
509
- WORKER_HISTORY_LENGTH as W,
510
509
  useOrchestrationStore as a,
511
510
  usePushConnection as u
512
511
  };
@@ -47,9 +47,17 @@
47
47
  padding: var(--spacing-5xs);
48
48
  border-radius: var(--border-radius-base);
49
49
  }
50
- .node-error-view__assistant-button {
50
+ .node-error-view__button {
51
51
  margin-left: var(--spacing-s);
52
52
  margin-bottom: var(--spacing-xs);
53
+ -webkit-box-orient: horizontal;
54
+ -webkit-box-direction: reverse;
55
+ -ms-flex-direction: row-reverse;
56
+ flex-direction: row-reverse;
57
+ }
58
+ .node-error-view__button span {
59
+ margin-right: var(--spacing-5xs);
60
+ margin-left: var(--spacing-5xs);
53
61
  }
54
62
  .node-error-view__debugging {
55
63
  font-size: var(--font-size-s);
@@ -184,32 +192,32 @@
184
192
  white-space: normal;
185
193
  word-wrap: break-word;
186
194
  }
187
- .node-error-view__assistant-button {
195
+ .node-error-view__button {
188
196
  margin-top: var(--spacing-xs);
189
- }._copyToClipboard_vdvnc_1 {
197
+ }._copyToClipboard_1htnj_1 {
190
198
  position: absolute;
191
199
  right: var(--spacing-s);
192
200
  top: var(--spacing-s);
193
201
  }
194
- ._rawContent_vdvnc_7 {
202
+ ._rawContent_1htnj_7 {
195
203
  position: relative;
196
204
  }
197
- ._markdown_vdvnc_11 {
205
+ ._markdown_1htnj_11 {
198
206
  white-space: pre-wrap;
199
207
  }
200
- ._markdown_vdvnc_11 h1 {
201
- font-size: var(--font-size-xl);
208
+ ._markdown_1htnj_11 h1 {
209
+ font-size: var(--font-size-l);
202
210
  line-height: var(--font-line-height-xloose);
203
211
  }
204
- ._markdown_vdvnc_11 h2 {
205
- font-size: var(--font-size-l);
212
+ ._markdown_1htnj_11 h2 {
213
+ font-size: var(--font-size-m);
206
214
  line-height: var(--font-line-height-loose);
207
215
  }
208
- ._markdown_vdvnc_11 h3 {
209
- font-size: var(--font-size-m);
216
+ ._markdown_1htnj_11 h3 {
217
+ font-size: var(--font-size-s);
210
218
  line-height: var(--font-line-height-regular);
211
219
  }
212
- ._markdown_vdvnc_11 pre {
220
+ ._markdown_1htnj_11 pre {
213
221
  background: var(--chat--message--pre--background);
214
222
  border-radius: var(--border-radius-base);
215
223
  line-height: var(--font-line-height-xloose);
@@ -217,35 +225,40 @@
217
225
  font-size: var(--font-size-s);
218
226
  white-space: pre-wrap;
219
227
  }
220
- ._contentText_vdvnc_35 {
228
+ ._contentText_1htnj_35 {
221
229
  padding-top: var(--spacing-s);
222
- font-size: var(--font-size-xs);
230
+ padding-left: var(--spacing-m);
231
+ font-size: var(--font-size-s);
223
232
  }
224
- ._block_vdvnc_40 {
225
- border: 1px solid var(--color-foreground-base);
226
- background: var(--color-background-xlight);
227
- padding: var(--spacing-xs);
228
- border-radius: 4px;
229
- margin-bottom: var(--spacing-2xs);
233
+ ._block_1htnj_41 {
234
+ padding: 0 0 var(--spacing-2xs) var(--spacing-2xs);
235
+ background: var(--color-foreground-light);
236
+ margin-top: var(--spacing-xl);
237
+ border-radius: var(--border-radius-base);
230
238
  }
231
- ._blockContent_vdvnc_48 {
239
+ :root ._blockContent_1htnj_48 {
232
240
  height: 0;
233
241
  overflow: hidden;
234
242
  }
235
- ._blockContent_vdvnc_48._blockContentExpanded_vdvnc_52 {
243
+ :root ._blockContent_1htnj_48._blockContentExpanded_1htnj_52 {
236
244
  height: auto;
237
245
  }
238
- ._runText_vdvnc_56 {
239
- line-height: var(--font-line-height-regular);
246
+ ._runText_1htnj_56 {
247
+ line-height: var(--font-line-height-xloose);
240
248
  white-space: pre-line;
241
249
  }
242
- ._rawSwitch_vdvnc_61 {
250
+ ._rawSwitch_1htnj_61 {
251
+ opacity: 0;
252
+ height: -webkit-fit-content;
253
+ height: -moz-fit-content;
254
+ height: fit-content;
243
255
  margin-left: auto;
256
+ margin-right: var(--spacing-2xs);
244
257
  }
245
- ._rawSwitch_vdvnc_61 * {
246
- font-size: var(--font-size-2xs);
258
+ ._block_1htnj_41:hover ._rawSwitch_1htnj_61 {
259
+ opacity: 1;
247
260
  }
248
- ._blockHeader_vdvnc_68 {
261
+ ._blockHeader_1htnj_71 {
249
262
  display: -webkit-box;
250
263
  display: -ms-flexbox;
251
264
  display: flex;
@@ -253,25 +266,31 @@
253
266
  cursor: pointer;
254
267
  /* This hack is needed to make the whole surface of header clickable */
255
268
  margin: calc(-1 * var(--spacing-xs));
256
- padding: var(--spacing-xs);
269
+ padding: var(--spacing-2xs) var(--spacing-xs);
270
+ -webkit-box-align: center;
271
+ -ms-flex-align: center;
272
+ align-items: center;
257
273
  }
258
- ._blockHeader_vdvnc_68 * {
274
+ ._blockHeader_1htnj_71 * {
259
275
  -webkit-user-select: none;
260
276
  -moz-user-select: none;
261
277
  -ms-user-select: none;
262
278
  user-select: none;
263
279
  }
264
- ._blockTitle_vdvnc_80 {
265
- font-size: var(--font-size-2xs);
280
+ ._blockTitle_1htnj_84 {
281
+ font-size: var(--font-size-s);
266
282
  color: var(--color-text-dark);
283
+ margin: 0;
284
+ padding-bottom: var(--spacing-4xs);
267
285
  }
268
- ._blockToggle_vdvnc_85 {
286
+ ._blockToggle_1htnj_91 {
269
287
  border: none;
270
288
  background: none;
271
289
  padding: 0;
272
290
  color: var(--color-text-base);
291
+ margin-top: calc(-1 * var(--spacing-3xs));
273
292
  }
274
- ._error_vdvnc_92 {
293
+ ._error_1htnj_99 {
275
294
  padding: var(--spacing-s) 0;
276
295
  }
277
296
  ._container_dypaw_2 {
@@ -338,14 +357,14 @@
338
357
  align-items: center;
339
358
  gap: var(--spacing-3xs);
340
359
  }
341
- ._treeToggle_z0rh6_1 {
360
+ ._treeToggle_bn98i_1 {
342
361
  border: none;
343
362
  background-color: transparent;
344
363
  padding: 0 var(--spacing-3xs);
345
364
  margin: 0 calc(-1 * var(--spacing-3xs));
346
365
  cursor: pointer;
347
366
  }
348
- ._leafLabel_z0rh6_9 {
367
+ ._leafLabel_bn98i_9 {
349
368
  display: -webkit-box;
350
369
  display: -ms-flexbox;
351
370
  display: flex;
@@ -354,41 +373,53 @@
354
373
  align-items: center;
355
374
  gap: var(--spacing-3xs);
356
375
  }
357
- ._empty_z0rh6_15 {
376
+ ._noData_bn98i_15 {
377
+ display: -webkit-box;
378
+ display: -ms-flexbox;
379
+ display: flex;
380
+ -webkit-box-align: center;
381
+ -ms-flex-align: center;
382
+ align-items: center;
383
+ -webkit-box-pack: center;
384
+ -ms-flex-pack: center;
385
+ justify-content: center;
386
+ width: 100%;
387
+ color: var(--color-text-light);
388
+ }
389
+ ._empty_bn98i_23 {
358
390
  padding: var(--spacing-l);
359
391
  }
360
- ._title_z0rh6_19 {
392
+ ._title_bn98i_27 {
361
393
  font-size: var(--font-size-s);
362
394
  margin-bottom: var(--spacing-xs);
363
395
  }
364
- ._tree_z0rh6_1 {
396
+ ._tree_bn98i_1 {
365
397
  -ms-flex-negative: 0;
366
398
  flex-shrink: 0;
367
- min-width: 12.8rem;
399
+ min-width: 8rem;
368
400
  height: 100%;
369
- border-right: 1px solid var(--color-foreground-base);
370
401
  padding-right: var(--spacing-xs);
371
402
  padding-left: var(--spacing-2xs);
372
403
  }
373
- ._tree_z0rh6_1._slim_z0rh6_32 {
404
+ ._tree_bn98i_1._slim_bn98i_39 {
374
405
  min-width: auto;
375
406
  }
376
- ._runData_z0rh6_36 {
407
+ ._runData_bn98i_43 {
377
408
  width: 100%;
378
409
  height: 100%;
379
410
  overflow: auto;
380
411
  }
381
- ._container_z0rh6_42 {
412
+ ._container_bn98i_49 {
382
413
  height: 100%;
383
414
  padding: 0 var(--spacing-xs);
384
415
  display: -webkit-box;
385
416
  display: -ms-flexbox;
386
417
  display: flex;
387
418
  }
388
- ._container_z0rh6_42 .el-tree > .el-tree-node {
419
+ ._container_bn98i_49 .el-tree > .el-tree-node {
389
420
  position: relative;
390
421
  }
391
- ._container_z0rh6_42 .el-tree > .el-tree-node:after {
422
+ ._container_bn98i_49 .el-tree > .el-tree-node:after {
392
423
  content: "";
393
424
  position: absolute;
394
425
  top: 2rem;
@@ -397,19 +428,24 @@
397
428
  width: 0.125rem;
398
429
  background-color: var(--color-foreground-base);
399
430
  }
400
- ._container_z0rh6_42 .el-tree-node__expand-icon {
431
+ ._container_bn98i_49 .el-tree-node__expand-icon {
401
432
  display: none;
402
433
  }
403
- ._container_z0rh6_42 .el-tree {
434
+ ._container_bn98i_49 .el-tree {
404
435
  margin-left: calc(-1 * var(--spacing-xs));
405
436
  }
406
- ._container_z0rh6_42 .el-tree-node__content {
437
+ ._container_bn98i_49 .el-tree-node__content {
407
438
  margin-left: var(--spacing-xs);
408
439
  }
409
- ._isSelected_z0rh6_69 {
440
+ ._nodeIcon_bn98i_76 {
441
+ padding: var(--spacing-3xs) var(--spacing-3xs);
442
+ border-radius: var(--border-radius-base);
443
+ margin-right: var(--spacing-4xs);
444
+ }
445
+ ._isSelected_bn98i_82 ._nodeIcon_bn98i_76 {
410
446
  background-color: var(--color-foreground-base);
411
447
  }
412
- ._treeNode_z0rh6_73 {
448
+ ._treeNode_bn98i_86 {
413
449
  display: -webkit-inline-box;
414
450
  display: -ms-inline-flexbox;
415
451
  display: inline-flex;
@@ -417,20 +453,23 @@
417
453
  -webkit-box-align: center;
418
454
  -ms-flex-align: center;
419
455
  align-items: center;
420
- gap: var(--spacing-3xs);
421
- padding: var(--spacing-4xs) var(--spacing-3xs);
422
- font-size: var(--font-size-xs);
456
+ padding-right: var(--spacing-3xs);
457
+ margin: var(--spacing-4xs) 0;
458
+ font-size: var(--font-size-2xs);
423
459
  color: var(--color-text-dark);
424
460
  margin-bottom: var(--spacing-3xs);
425
461
  cursor: pointer;
426
462
  }
427
- ._treeNode_z0rh6_73:hover {
463
+ ._treeNode_bn98i_86._isSelected_bn98i_82 {
464
+ font-weight: var(--font-weight-bold);
465
+ }
466
+ ._treeNode_bn98i_86:hover {
428
467
  background-color: var(--color-foreground-base);
429
468
  }
430
- ._treeNode_z0rh6_73[data-tree-depth="0"] {
469
+ ._treeNode_bn98i_86[data-tree-depth="0"] {
431
470
  margin-left: calc(-1 * var(--spacing-2xs));
432
471
  }
433
- ._treeNode_z0rh6_73:after {
472
+ ._treeNode_bn98i_86:after {
434
473
  content: "";
435
474
  position: absolute;
436
475
  margin: auto;
@@ -438,4 +477,5 @@
438
477
  height: 0.125rem;
439
478
  left: 0.75rem;
440
479
  width: calc(var(--item-depth) * 0.625rem);
480
+ margin-top: var(--spacing-3xs);
441
481
  }