n8n-editor-ui 1.74.2 → 1.75.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BGMvcLGD.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BhRv3Xk0.js} +1 -1
  2. package/dist/assets/{AuthView-Ith__0eD.js → AuthView-vL9vjCvD.js} +2 -2
  3. package/dist/assets/{CanvasChat-Cw5o-PL2.js → CanvasChat-B69VJDcA.js} +4 -4
  4. package/dist/assets/{CanvasControls-Dheiiatx.js → CanvasControls-DhhKk7yf.js} +1 -1
  5. package/dist/assets/{ChangePasswordView-C9X9utGh.js → ChangePasswordView-D8y2rYLl.js} +3 -3
  6. package/dist/assets/CollectionParameter-djLQ8MUO.js +4 -0
  7. package/dist/assets/{ConcurrentExecutionsHeader-wCeutH_v.js → ConcurrentExecutionsHeader-Dv0s5rxY.js} +19 -14
  8. package/dist/assets/{CredentialsView-DRWQyccW.css → CredentialsView-BAqjGrNq.css} +8 -11
  9. package/dist/assets/{CredentialsView-Dpr3-OkZ.js → CredentialsView-Dp0fVbpZ.js} +67 -21
  10. package/dist/assets/{ErrorView-B1TH07lB.js → ErrorView-a6qq4rkt.js} +1 -1
  11. package/dist/assets/{ExecutionsView-C0P3HAAt.css → ExecutionsView-CB1tvZfo.css} +2 -2
  12. package/dist/assets/{ExecutionsView-C_UlKyFu.js → ExecutionsView-CpILe_1o.js} +9 -7
  13. package/dist/assets/{FileSaver.min-88clUB_D.js → FileSaver.min-C1QTiJmy.js} +1 -1
  14. package/dist/assets/{FixedCollectionParameter-DTYEPKy4.js → FixedCollectionParameter-kphzKyyy.js} +1 -1
  15. package/dist/assets/{ForgotMyPasswordView-DnIE_RiG.js → ForgotMyPasswordView-DzUekqel.js} +3 -3
  16. package/dist/assets/{Logo-btkcAM5k.js → Logo-B-pFOUGc.js} +1 -1
  17. package/dist/assets/{MainHeader-DJNxnDOh.js → MainHeader-C6S60KwG.js} +9 -9
  18. package/dist/assets/{MainSidebar-CGrrReO5.js → MainSidebar-CJ-OKhK-.js} +85 -44
  19. package/dist/assets/{NodeCreation-BUVYJ4XY.js → NodeCreation-CNcty5fl.js} +4 -4
  20. package/dist/assets/{NodeCreator-DqEE-h1z.js → NodeCreator-DAW2sX8p.js} +5 -5
  21. package/dist/assets/{NodeViewSwitcher-UPCWvuIo.css → NodeViewSwitcher-CB1zkjni.css} +2 -2
  22. package/dist/assets/{NodeViewSwitcher-uwFaqmg2.js → NodeViewSwitcher-mtWBt9cw.js} +70 -42
  23. package/dist/assets/{ProjectCardBadge-C_VCQBSB.js → ProjectCardBadge-DcWhzEr6.js} +15 -2
  24. package/dist/assets/{ProjectHeader-Zo2p1bQj.js → ProjectHeader-D2FCquSr.js} +1 -1
  25. package/dist/assets/{ProjectSettings-BKn7INyl.js → ProjectSettings-CDg4IQw7.js} +3 -4
  26. package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-5btRGEDZ.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-BPBen7Li.js} +1 -1
  27. package/dist/assets/{ResourcesListLayout-Dw1dU1aW.css → ResourcesListLayout-CJC-YvjD.css} +6 -6
  28. package/dist/assets/{ResourcesListLayout-CBkeotXe.js → ResourcesListLayout-DWASP6Vp.js} +21 -6
  29. package/dist/assets/{RunDataJson-B0B3UZhX.js → RunDataJson-CFNeORgR.js} +15 -15
  30. package/dist/assets/{RunDataJsonActions-lokoSwWv.js → RunDataJsonActions-COFXneND.js} +2 -2
  31. package/dist/assets/{RunDataSearch-DeaEJ_PR.js → RunDataSearch-D9UDSGjR.js} +1 -1
  32. package/dist/assets/{RunDataTable-CubJ5XeK.js → RunDataTable-C3flt0dy.js} +2 -2
  33. package/dist/assets/{SamlOnboarding-BmYDL6AZ.js → SamlOnboarding-CWM-8qu7.js} +3 -3
  34. package/dist/assets/{SettingsApiView-wOuH6MPH.js → SettingsApiView-Bl6jvpWQ.js} +1 -1
  35. package/dist/assets/{SettingsCommunityNodesView-DeHEHNMb.js → SettingsCommunityNodesView-5Dl4EOzd.js} +4 -4
  36. package/dist/assets/{SettingsExternalSecrets-BAly7jkM.js → SettingsExternalSecrets-DljwCjwW.js} +1 -1
  37. package/dist/assets/{SettingsLdapView-_XJkZbx0.js → SettingsLdapView-5kgLPxB7.js} +1 -1
  38. package/dist/assets/{SettingsLogStreamingView-CFPWPH8k.js → SettingsLogStreamingView-CsB-E4Kv.js} +1 -1
  39. package/dist/assets/{SettingsPersonalView-BgfrFrxF.js → SettingsPersonalView-B0vJNuPt.js} +1 -1
  40. package/dist/assets/{SettingsSourceControl-CMQpBZVJ.js → SettingsSourceControl-B7SGpzBu.js} +1 -1
  41. package/dist/assets/{SettingsSso-CFjQzvfi.js → SettingsSso-pDsu2lsS.js} +1 -1
  42. package/dist/assets/{SettingsUsageAndPlan-hPndd_qg.js → SettingsUsageAndPlan-B83lunzH.js} +1 -1
  43. package/dist/assets/{SettingsUsersView-BE7PAhME.js → SettingsUsersView-DPM5R_9p.js} +1 -1
  44. package/dist/assets/{SettingsView-lVVHauXb.js → SettingsView-NF_8zzqr.js} +1 -1
  45. package/dist/assets/{SetupView-BpI2wx9t.js → SetupView-Dzehb2sC.js} +3 -3
  46. package/dist/assets/{SetupWorkflowCredentialsButton-CthxlUc6.js → SetupWorkflowCredentialsButton-Bhx7c9Lu.js} +1 -1
  47. package/dist/assets/{SetupWorkflowFromTemplateView-DuD0OWrG.js → SetupWorkflowFromTemplateView-DaP6_l4S.js} +3 -3
  48. package/dist/assets/{SigninView-Dw3STYQp.js → SigninView-BLyXzN0c.js} +3 -3
  49. package/dist/assets/{SignoutView-CcjDrZVV.js → SignoutView-BsaJctbQ.js} +1 -1
  50. package/dist/assets/{SignupView-DypBR2Ul.js → SignupView-m53hHk3y.js} +3 -3
  51. package/dist/assets/{TemplateDetails-826pCBOD.js → TemplateDetails-CWR4kXyf.js} +1 -1
  52. package/dist/assets/{TemplateList-C6e_TGqt.js → TemplateList-DLQxEmgt.js} +1 -1
  53. package/dist/assets/{TemplatesCollectionView-Bq_1oupE.js → TemplatesCollectionView-CobxDh9v.js} +5 -5
  54. package/dist/assets/{TemplatesSearchView-DQTo0xcT.js → TemplatesSearchView-CDW7EH1p.js} +3 -3
  55. package/dist/assets/{TemplatesView--VCUy56k.js → TemplatesView-DJCodjB-.js} +1 -1
  56. package/dist/assets/{TemplatesWorkflowView-BN3UH513.js → TemplatesWorkflowView-DOlLEzEa.js} +5 -5
  57. package/dist/assets/{TestDefinitionEditView-DMspOHKm.js → TestDefinitionEditView-Cuphh86f.js} +271 -225
  58. package/dist/assets/{TestDefinitionEditView-DM4tV2LS.css → TestDefinitionEditView-FI1GVbhl.css} +123 -93
  59. package/dist/assets/{TestDefinitionListView-BwTh8Q7I.js → TestDefinitionListView-Dgq9dXJL.js} +65 -17
  60. package/dist/assets/{TestDefinitionListView-BD5_O4Fx.css → TestDefinitionListView-GsFM1AF9.css} +15 -9
  61. package/dist/assets/TestDefinitionRootView-DU-JMBSH.js +36 -0
  62. package/dist/assets/TestDefinitionRootView-K8b6hMi2.css +128 -0
  63. package/dist/assets/{VariablesView-BGpmEtzx.js → VariablesView-CaGkZXjl.js} +2 -2
  64. package/dist/assets/{WorkerView-DY2IWbT1.js → WorkerView-CbqToUTB.js} +5 -5
  65. package/dist/assets/{WorkflowActivator-A59hqJh4.js → WorkflowActivator-BaM6Tydw.js} +35 -3
  66. package/dist/assets/{WorkflowActivator-DQhm5t0U.css → WorkflowActivator-brtYjIty.css} +2 -2
  67. package/dist/assets/{WorkflowExecutionsInfoAccordion-tL2lYb8k.js → WorkflowExecutionsInfoAccordion-6kKOPXK7.js} +1 -1
  68. package/dist/assets/{WorkflowExecutionsLandingPage-xKhvNdu7.js → WorkflowExecutionsLandingPage-Cqq5FeZE.js} +2 -2
  69. package/dist/assets/{WorkflowExecutionsPreview-D9TgCSGx.js → WorkflowExecutionsPreview-D1cSllVi.js} +5 -5
  70. package/dist/assets/{WorkflowExecutionsView-DEqJNNDZ.css → WorkflowExecutionsView-BUHtKz5M.css} +2 -2
  71. package/dist/assets/{WorkflowExecutionsView-BdUlHXeH.js → WorkflowExecutionsView-qTFEWbeC.js} +9 -7
  72. package/dist/assets/{WorkflowHistory-KjDPphBi.js → WorkflowHistory-De54-QkN.js} +3 -3
  73. package/dist/assets/{WorkflowOnboardingView-Dew3hR7B.js → WorkflowOnboardingView-p6cAElRZ.js} +1 -1
  74. package/dist/assets/{WorkflowPreview-4IdAGoz-.js → WorkflowPreview-CKK96lnJ.js} +1 -1
  75. package/dist/assets/{WorkflowsView-DgeULUYw.js → WorkflowsView-D5G530AX.js} +7 -19
  76. package/dist/assets/{easyAiWorkflowUtils-BmP_7cYe.js → easyAiWorkflowUtils-eykvtlKm.js} +1 -1
  77. package/dist/assets/{index-h-73ZEd2.js → index-CWcTt6jd.js} +6493 -1873
  78. package/dist/assets/{index-CW4BqETs.css → index-DXFsvbJ_.css} +266 -96
  79. package/dist/assets/{pushConnection.store-C98bYxrQ.js → pushConnection.store-CTrZ_kO6.js} +1 -1
  80. package/dist/assets/{templateActions-YPCMxdFp.js → templateActions-B712CNo3.js} +1 -1
  81. package/dist/assets/{useBugReporting-DVwqBWOX.js → useBugReporting-BxDqzvRW.js} +1 -1
  82. package/dist/assets/{useCanvasOperations-Byu1Z5ea.css → useCanvasOperations-BSKKylIT.css} +4 -4
  83. package/dist/assets/{useCanvasOperations-D_Wo5FDT.js → useCanvasOperations-DTx4vbp_.js} +68 -42
  84. package/dist/assets/{useExecutionDebugging-CmJjm9QX.js → useExecutionDebugging-DjYGtT4w.js} +1 -1
  85. package/dist/assets/{useExecutionHelpers-DHiZGyNZ.js → useExecutionHelpers-DcyS3__o.js} +1 -1
  86. package/dist/assets/{useNodeViewVersionSwitcher-B-eORoKK.js → useNodeViewVersionSwitcher-CXU1PYlK.js} +1 -1
  87. package/dist/assets/{usePinnedData-BtLR7SnZ.js → usePinnedData-C5NRkSpx.js} +1 -1
  88. package/dist/assets/{usePushConnection-D4gL8NOB.js → usePushConnection-CGv57TM5.js} +40 -12
  89. package/dist/assets/{useRunWorkflow-DQ7CDbn4.js → useRunWorkflow-C_vazd74.js} +4 -8
  90. package/dist/assets/{useWorkflowActivate-sPEqe3p1.js → useWorkflowActivate-Dxi5zSSs.js} +1 -1
  91. package/dist/index.html +2 -2
  92. package/package.json +1 -1
  93. package/dist/assets/CollectionParameter-Fn_BuiDh.js +0 -4
@@ -0,0 +1,128 @@
1
+ /* BEM support Func
2
+ -------------------------- */
3
+ /* Transition
4
+ -------------------------- */
5
+ /* Color
6
+ -------------------------- */
7
+ /* Link
8
+ -------------------------- */
9
+ /* Border
10
+ -------------------------- */
11
+ /* Outline
12
+ -------------------------- */
13
+ /* Box shadow
14
+ -------------------------- */
15
+ /* Fill
16
+ -------------------------- */
17
+ /* Typography
18
+ -------------------------- */
19
+ /* z-index
20
+ -------------------------- */
21
+ /* Disable base
22
+ -------------------------- */
23
+ /* Icon
24
+ -------------------------- */
25
+ /* Checkbox
26
+ -------------------------- */
27
+ /* Radio
28
+ -------------------------- */
29
+ /* Select
30
+ -------------------------- */
31
+ /* Alert
32
+ -------------------------- */
33
+ /* MessageBox
34
+ -------------------------- */
35
+ /* Message
36
+ -------------------------- */
37
+ /* Notification
38
+ -------------------------- */
39
+ /* Input
40
+ -------------------------- */
41
+ /* Cascader
42
+ -------------------------- */
43
+ /* Group
44
+ -------------------------- */
45
+ /* Tab
46
+ -------------------------- */
47
+ /* Button
48
+ -------------------------- */
49
+ /* cascader
50
+ -------------------------- */
51
+ /* Switch
52
+ -------------------------- */
53
+ /* Dialog
54
+ -------------------------- */
55
+ /* Table
56
+ -------------------------- */
57
+ /* Pagination
58
+ -------------------------- */
59
+ /* Popup
60
+ -------------------------- */
61
+ /* Popover
62
+ -------------------------- */
63
+ /* Tooltip
64
+ -------------------------- */
65
+ /* Tag
66
+ -------------------------- */
67
+ /* Tree
68
+ -------------------------- */
69
+ /* Dropdown
70
+ -------------------------- */
71
+ /* Badge
72
+ -------------------------- */
73
+ /* Card
74
+ --------------------------*/
75
+ /* Slider
76
+ --------------------------*/
77
+ /* Steps
78
+ --------------------------*/
79
+ /* Menu
80
+ --------------------------*/
81
+ /* Rate
82
+ --------------------------*/
83
+ /* DatePicker
84
+ --------------------------*/
85
+ /* Loading
86
+ --------------------------*/
87
+ /* Scrollbar
88
+ --------------------------*/
89
+ /* Carousel
90
+ --------------------------*/
91
+ /* Collapse
92
+ --------------------------*/
93
+ /* Transfer
94
+ --------------------------*/
95
+ /* Header
96
+ --------------------------*/
97
+ /* Footer
98
+ --------------------------*/
99
+ /* Main
100
+ --------------------------*/
101
+ /* Timeline
102
+ --------------------------*/
103
+ /* Backtop
104
+ --------------------------*/
105
+ /* Link
106
+ --------------------------*/
107
+ /* Calendar
108
+ --------------------------*/
109
+ /* Form
110
+ -------------------------- */
111
+ /* Avatar
112
+ --------------------------*/
113
+ /* Break-point
114
+ --------------------------*/
115
+ /* Break-points
116
+ -------------------------- */
117
+ /* Scrollbar
118
+ -------------------------- */
119
+ /* Placeholder
120
+ -------------------------- */
121
+ /* BEM
122
+ -------------------------- */
123
+ ._evaluationsView_qv3lh_123 {
124
+ width: 100%;
125
+ height: 100%;
126
+ margin: auto;
127
+ padding: var(--spacing-xl) var(--spacing-l);
128
+ }
@@ -1,5 +1,5 @@
1
- import { d as defineComponent, b5 as useClipboard, a as useToast, p as useSettingsStore, u as useUsersStore, q as computed, r as ref, o as onMounted, H as watch, c as openBlock, h as createElementBlock, j as createBaseVNode, t as toDisplayString, e as createBlock, l as unref, i as createVNode, w as withCtx, k as createTextVNode, n as normalizeClass, f as createCommentVNode, g as useI18n, y as nextTick, m as resolveComponent, am as getResourcePermissions, a8 as EnterpriseEditionFeature, _ as _export_sfc, dI as useEnvironmentsStore, K as useUIStore, a0 as useSourceControlStore, a3 as useDocumentTitle, a5 as usePageRedirectionHelper, ax as onBeforeMount, x as onBeforeUnmount, aR as createSlots, fL as uid, ae as MODAL_CONFIRM, ak as useTelemetry, al as useMessage } from "./index-h-73ZEd2.js";
2
- import { R as ResourcesListLayout } from "./ResourcesListLayout-CBkeotXe.js";
1
+ import { d as defineComponent, b7 as useClipboard, a as useToast, p as useSettingsStore, u as useUsersStore, q as computed, r as ref, o as onMounted, H as watch, c as openBlock, h as createElementBlock, j as createBaseVNode, t as toDisplayString, e as createBlock, l as unref, i as createVNode, w as withCtx, k as createTextVNode, n as normalizeClass, f as createCommentVNode, g as useI18n, y as nextTick, m as resolveComponent, am as getResourcePermissions, a8 as EnterpriseEditionFeature, _ as _export_sfc, dK as useEnvironmentsStore, K as useUIStore, a0 as useSourceControlStore, a3 as useDocumentTitle, a5 as usePageRedirectionHelper, ax as onBeforeMount, x as onBeforeUnmount, aT as createSlots, fN as uid, ae as MODAL_CONFIRM, ak as useTelemetry, al as useMessage } from "./index-CWcTt6jd.js";
2
+ import { R as ResourcesListLayout } from "./ResourcesListLayout-DWASP6Vp.js";
3
3
  const _hoisted_1$1 = { class: "variables-key-column" };
4
4
  const _hoisted_2$1 = { key: 0 };
5
5
  const _hoisted_3 = { class: "variables-value-column" };
@@ -1,8 +1,8 @@
1
- import { _ as _sfc_main$7 } from "./PushConnectionTracker.vue_vue_type_script_setup_true_lang-5btRGEDZ.js";
2
- import { d as defineComponent, r as ref, m as resolveComponent, c as openBlock, h as createElementBlock, j as createBaseVNode, i as createVNode, w as withCtx, s as renderSlot, n as normalizeClass, f as createCommentVNode, _ as _export_sfc, e as createBlock, k as createTextVNode, t as toDisplayString, l as unref, F as Fragment, A as renderList, g as useI18n, b5 as useClipboard, a as useToast, hE as Chart, q as computed, aK as sortByProperty, o as onMounted, x as onBeforeUnmount, b as useRouter, a3 as useDocumentTitle, Z as useRootStore, ax as onBeforeMount, ak as useTelemetry, p as useSettingsStore, a5 as usePageRedirectionHelper } from "./index-h-73ZEd2.js";
3
- import { a as useOrchestrationStore, W as WORKER_HISTORY_LENGTH, u as usePushConnection } from "./usePushConnection-D4gL8NOB.js";
4
- import { u as usePushConnectionStore } from "./pushConnection.store-C98bYxrQ.js";
5
- import "./easyAiWorkflowUtils-BmP_7cYe.js";
1
+ import { _ as _sfc_main$7 } from "./PushConnectionTracker.vue_vue_type_script_setup_true_lang-BPBen7Li.js";
2
+ import { d as defineComponent, r as ref, m as resolveComponent, c as openBlock, h as createElementBlock, j as createBaseVNode, i as createVNode, w as withCtx, s as renderSlot, n as normalizeClass, f as createCommentVNode, _ as _export_sfc, e as createBlock, k as createTextVNode, t as toDisplayString, l as unref, F as Fragment, A as renderList, g as useI18n, b7 as useClipboard, a as useToast, hI as Chart, q as computed, aM as sortByProperty, o as onMounted, x as onBeforeUnmount, b as useRouter, a3 as useDocumentTitle, Z as useRootStore, ax as onBeforeMount, ak as useTelemetry, p as useSettingsStore, a5 as usePageRedirectionHelper } from "./index-CWcTt6jd.js";
3
+ import { a as useOrchestrationStore, W as WORKER_HISTORY_LENGTH, u as usePushConnection } from "./usePushConnection-CGv57TM5.js";
4
+ import { u as usePushConnectionStore } from "./pushConnection.store-CTrZ_kO6.js";
5
+ import "./easyAiWorkflowUtils-eykvtlKm.js";
6
6
  function averageWorkerLoadFromLoads(loads) {
7
7
  return loads.reduce((prev, curr) => prev + curr, 0) / loads.length;
8
8
  }
@@ -1,5 +1,5 @@
1
- import { d as defineComponent, c as openBlock, h as createElementBlock, k as createTextVNode, t as toDisplayString, l as unref, j as createBaseVNode, g as useI18n, a as useToast, T as useWorkflowsStore, q as computed, e as createBlock, w as withCtx, n as normalizeClass, i as createVNode, ay as withDirectives, f as createCommentVNode, aq as h, m as resolveComponent, cO as resolveDirective, f$ as getActivatableTriggerNodes, g0 as EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE, X as PLACEHOLDER_EMPTY_WORKFLOW_ID, _ as _export_sfc } from "./index-h-73ZEd2.js";
2
- import { u as useWorkflowActivate } from "./useWorkflowActivate-sPEqe3p1.js";
1
+ import { d as defineComponent, c as openBlock, h as createElementBlock, k as createTextVNode, t as toDisplayString, l as unref, j as createBaseVNode, g as useI18n, a as useToast, T as useWorkflowsStore, bS as useCredentialsStore, q as computed, H as watch, e as createBlock, w as withCtx, n as normalizeClass, i as createVNode, ay as withDirectives, f as createCommentVNode, aq as h, m as resolveComponent, cQ as resolveDirective, g3 as getActivatableTriggerNodes, g4 as EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE, X as PLACEHOLDER_EMPTY_WORKFLOW_ID, bT as OPEN_AI_API_CREDENTIAL_TYPE, _ as _export_sfc } from "./index-CWcTt6jd.js";
2
+ import { u as useWorkflowActivate } from "./useWorkflowActivate-Dxi5zSSs.js";
3
3
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
4
4
  __name: "WorkflowActivationErrorMessage",
5
5
  props: {
@@ -36,6 +36,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
36
36
  const workflowActivate = useWorkflowActivate();
37
37
  const i18n = useI18n();
38
38
  const workflowsStore = useWorkflowsStore();
39
+ const credentialsStore = useCredentialsStore();
39
40
  const isWorkflowActive = computed(() => {
40
41
  const activeWorkflows = workflowsStore.activeWorkflows;
41
42
  return activeWorkflows.includes(props.workflowId);
@@ -74,6 +75,24 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
74
75
  }
75
76
  return false;
76
77
  });
78
+ function findManagedOpenAiCredentialId(usedCredentials) {
79
+ return Object.keys(usedCredentials).find((credentialId) => {
80
+ const credential = credentialsStore.state.credentials[credentialId];
81
+ return credential.isManaged && credential.type === OPEN_AI_API_CREDENTIAL_TYPE;
82
+ });
83
+ }
84
+ function hasActiveNodeUsingCredential(nodes, credentialId) {
85
+ return nodes.some(
86
+ (node) => node?.credentials?.[OPEN_AI_API_CREDENTIAL_TYPE]?.id === credentialId && !node.disabled
87
+ );
88
+ }
89
+ const shouldShowFreeAiCreditsWarning = computed(() => {
90
+ const usedCredentials = workflowsStore?.usedCredentials;
91
+ if (!usedCredentials) return false;
92
+ const managedOpenAiCredentialId = findManagedOpenAiCredentialId(usedCredentials);
93
+ if (!managedOpenAiCredentialId) return false;
94
+ return hasActiveNodeUsingCredential(workflowsStore.allNodes, managedOpenAiCredentialId);
95
+ });
77
96
  async function activeChanged(newActiveState) {
78
97
  return await workflowActivate.updateWorkflowActivation(props.workflowId, newActiveState);
79
98
  }
@@ -102,6 +121,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
102
121
  duration: 0
103
122
  });
104
123
  }
124
+ watch(
125
+ () => props.workflowActive,
126
+ (workflowActive) => {
127
+ if (workflowActive && shouldShowFreeAiCreditsWarning.value) {
128
+ showMessage({
129
+ title: i18n.baseText("freeAi.credits.showWarning.workflow.activation.title"),
130
+ message: i18n.baseText("freeAi.credits.showWarning.workflow.activation.description"),
131
+ type: "warning",
132
+ duration: 0
133
+ });
134
+ }
135
+ }
136
+ );
105
137
  return (_ctx, _cache) => {
106
138
  const _component_n8n_text = resolveComponent("n8n-text");
107
139
  const _component_el_switch = resolveComponent("el-switch");
@@ -187,7 +219,7 @@ const style0 = {
187
219
  const cssModules = {
188
220
  "$style": style0
189
221
  };
190
- const WorkflowActivator = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-51ab63b3"]]);
222
+ const WorkflowActivator = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-b174d9dc"]]);
191
223
  export {
192
224
  WorkflowActivator as W
193
225
  };
@@ -248,12 +248,12 @@
248
248
  -------------------------- */
249
249
  /* BEM
250
250
  -------------------------- */
251
- .workflow-activator[data-v-51ab63b3] {
251
+ .workflow-activator[data-v-b174d9dc] {
252
252
  display: inline-flex;
253
253
  flex-wrap: nowrap;
254
254
  align-items: center;
255
255
  }
256
- .could-not-be-started[data-v-51ab63b3] {
256
+ .could-not-be-started[data-v-b174d9dc] {
257
257
  display: inline-block;
258
258
  color: var(--color-text-danger);
259
259
  margin-left: 0.5em;
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, b as useRouter, a4 as useWorkflowHelpers, p as useSettingsStore, K as useUIStore, T as useWorkflowsStore, a2 as useNpsSurveyStore, r as ref, q as computed, H as watch, o as onMounted, c as openBlock, e as createBlock, w as withCtx, j as createBaseVNode, k as createTextVNode, t as toDisplayString, l as unref, i as createVNode, I as withModifiers, n as normalizeClass, g as useI18n, ag as WORKFLOW_SETTINGS_MODAL_KEY, m as resolveComponent, b$ as deepCopy, X as PLACEHOLDER_EMPTY_WORKFLOW_ID, _ as _export_sfc } from "./index-h-73ZEd2.js";
1
+ import { d as defineComponent, b as useRouter, a4 as useWorkflowHelpers, p as useSettingsStore, K as useUIStore, T as useWorkflowsStore, a2 as useNpsSurveyStore, r as ref, q as computed, H as watch, o as onMounted, c as openBlock, e as createBlock, w as withCtx, j as createBaseVNode, k as createTextVNode, t as toDisplayString, l as unref, i as createVNode, I as withModifiers, n as normalizeClass, g as useI18n, ag as WORKFLOW_SETTINGS_MODAL_KEY, m as resolveComponent, c1 as deepCopy, X as PLACEHOLDER_EMPTY_WORKFLOW_ID, _ as _export_sfc } from "./index-CWcTt6jd.js";
2
2
  const _hoisted_1 = { class: "mt-2xs" };
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "WorkflowExecutionsInfoAccordion",
@@ -1,5 +1,5 @@
1
- import { d as defineComponent, b as useRouter, U as useRoute, K as useUIStore, T as useWorkflowsStore, q as computed, c as openBlock, h as createElementBlock, n as normalizeClass, i as createVNode, w as withCtx, k as createTextVNode, t as toDisplayString, l as unref, f as createCommentVNode, g as useI18n, X as PLACEHOLDER_EMPTY_WORKFLOW_ID, V as VIEWS, m as resolveComponent, _ as _export_sfc } from "./index-h-73ZEd2.js";
2
- import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-tL2lYb8k.js";
1
+ import { d as defineComponent, b as useRouter, U as useRoute, K as useUIStore, T as useWorkflowsStore, q as computed, c as openBlock, h as createElementBlock, n as normalizeClass, i as createVNode, w as withCtx, k as createTextVNode, t as toDisplayString, l as unref, f as createCommentVNode, g as useI18n, X as PLACEHOLDER_EMPTY_WORKFLOW_ID, V as VIEWS, m as resolveComponent, _ as _export_sfc } from "./index-CWcTt6jd.js";
2
+ import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-6kKOPXK7.js";
3
3
  const _hoisted_1 = {
4
4
  key: 0,
5
5
  "data-test-id": "workflow-execution-no-trigger-content"
@@ -1,8 +1,8 @@
1
- import { d as defineComponent, m as resolveComponent, c as openBlock, h as createElementBlock, i as createVNode, n as normalizeClass, _ as _export_sfc, au as useExecutionsStore, a as useToast, r as ref, q as computed, cO as resolveDirective, j as createBaseVNode, t as toDisplayString, l as unref, e as createBlock, F as Fragment, A as renderList, w as withCtx, k as createTextVNode, ay as withDirectives, g as useI18n, C as createEventBus, U as useRoute, T as useWorkflowsStore, p as useSettingsStore, f as createCommentVNode, V as VIEWS, f2 as ElDropdown, ae as MODAL_CONFIRM, al as useMessage, am as getResourcePermissions, a8 as EnterpriseEditionFeature } from "./index-h-73ZEd2.js";
2
- import { u as useExecutionDebugging } from "./useExecutionDebugging-CmJjm9QX.js";
3
- import { _ as _sfc_main$3 } from "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BGMvcLGD.js";
4
- import { W as WorkflowPreview } from "./WorkflowPreview-4IdAGoz-.js";
5
- import { u as useExecutionHelpers } from "./useExecutionHelpers-DHiZGyNZ.js";
1
+ import { d as defineComponent, m as resolveComponent, c as openBlock, h as createElementBlock, i as createVNode, n as normalizeClass, _ as _export_sfc, au as useExecutionsStore, a as useToast, r as ref, q as computed, cQ as resolveDirective, j as createBaseVNode, t as toDisplayString, l as unref, e as createBlock, F as Fragment, A as renderList, w as withCtx, k as createTextVNode, ay as withDirectives, g as useI18n, C as createEventBus, U as useRoute, T as useWorkflowsStore, p as useSettingsStore, f as createCommentVNode, V as VIEWS, f4 as ElDropdown, ae as MODAL_CONFIRM, al as useMessage, am as getResourcePermissions, a8 as EnterpriseEditionFeature } from "./index-CWcTt6jd.js";
2
+ import { u as useExecutionDebugging } from "./useExecutionDebugging-DjYGtT4w.js";
3
+ import { _ as _sfc_main$3 } from "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BhRv3Xk0.js";
4
+ import { W as WorkflowPreview } from "./WorkflowPreview-CKK96lnJ.js";
5
+ import { u as useExecutionHelpers } from "./useExecutionHelpers-DcyS3__o.js";
6
6
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
7
7
  __name: "VoteButtons",
8
8
  props: {
@@ -529,11 +529,11 @@
529
529
  -------------------------- */
530
530
  /* BEM
531
531
  -------------------------- */
532
- .executions-sidebar[data-v-731aa3bd] .el-skeleton__item {
532
+ .executions-sidebar[data-v-7968a119] .el-skeleton__item {
533
533
  height: 60px;
534
534
  border-radius: 0;
535
535
  }
536
- [data-v-731aa3bd] .el-checkbox {
536
+ [data-v-7968a119] .el-checkbox {
537
537
  display: flex;
538
538
  align-items: center;
539
539
  }/* BEM support Func
@@ -1,8 +1,8 @@
1
- import { d as defineComponent, U as useRoute, T as useWorkflowsStore, p as useSettingsStore, q as computed, o as onMounted, c as openBlock, h as createElementBlock, i as createVNode, w as withCtx, j as createBaseVNode, e as createBlock, k as createTextVNode, t as toDisplayString, l as unref, n as normalizeClass, f as createCommentVNode, V as VIEWS, g as useI18n, m as resolveComponent, a8 as EnterpriseEditionFeature, _ as _export_sfc, b as useRouter, au as useExecutionsStore, a5 as usePageRedirectionHelper, r as ref, H as watch, F as Fragment, A as renderList, e$ as TransitionGroup, f0 as isComponentPublicInstance, am as getResourcePermissions, a4 as useWorkflowHelpers, eR as onBeforeRouteLeave, dK as getNodeViewTab, ao as MAIN_HEADER_TABS, bn as useNodeTypesStore, a as useToast, J as useDebounce, bo as useNodeHelpers, x as onBeforeUnmount, X as PLACEHOLDER_EMPTY_WORKFLOW_ID, f1 as NO_NETWORK_ERROR_CODE, ak as useTelemetry, eM as NEW_WORKFLOW_ID } from "./index-h-73ZEd2.js";
2
- import { _ as _sfc_main$4, C as ConcurrentExecutionsHeader, E as ExecutionsFilter } from "./ConcurrentExecutionsHeader-wCeutH_v.js";
3
- import { u as useExecutionHelpers, t as toDayMonth, a as toTime } from "./useExecutionHelpers-DHiZGyNZ.js";
4
- import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-tL2lYb8k.js";
5
- import "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BGMvcLGD.js";
1
+ import { d as defineComponent, U as useRoute, T as useWorkflowsStore, p as useSettingsStore, q as computed, o as onMounted, c as openBlock, h as createElementBlock, i as createVNode, w as withCtx, j as createBaseVNode, e as createBlock, k as createTextVNode, t as toDisplayString, l as unref, n as normalizeClass, f as createCommentVNode, V as VIEWS, g as useI18n, m as resolveComponent, a8 as EnterpriseEditionFeature, _ as _export_sfc, b as useRouter, au as useExecutionsStore, a5 as usePageRedirectionHelper, r as ref, H as watch, F as Fragment, A as renderList, f1 as TransitionGroup, f2 as isComponentPublicInstance, am as getResourcePermissions, a4 as useWorkflowHelpers, eT as onBeforeRouteLeave, dM as getNodeViewTab, ao as MAIN_HEADER_TABS, bp as useNodeTypesStore, a as useToast, J as useDebounce, bq as useNodeHelpers, x as onBeforeUnmount, X as PLACEHOLDER_EMPTY_WORKFLOW_ID, f3 as NO_NETWORK_ERROR_CODE, ak as useTelemetry, eO as NEW_WORKFLOW_ID } from "./index-CWcTt6jd.js";
2
+ import { _ as _sfc_main$4, C as ConcurrentExecutionsHeader, E as ExecutionsFilter } from "./ConcurrentExecutionsHeader-Dv0s5rxY.js";
3
+ import { u as useExecutionHelpers, t as toDayMonth, a as toTime } from "./useExecutionHelpers-DcyS3__o.js";
4
+ import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-6kKOPXK7.js";
5
+ import "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BhRv3Xk0.js";
6
6
  const _hoisted_1$1 = { key: 2 };
7
7
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
8
8
  __name: "WorkflowExecutionsCard",
@@ -310,7 +310,9 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
310
310
  const executionListRef = ref(null);
311
311
  const workflowPermissions = computed(() => getResourcePermissions(props.workflow?.scopes).workflow);
312
312
  const runningExecutionsCount = computed(() => {
313
- return props.executions.filter((execution) => execution.status === "running").length;
313
+ return props.executions.filter(
314
+ (execution) => execution.status === "running" && ["webhook", "trigger"].includes(execution.mode)
315
+ ).length;
314
316
  });
315
317
  watch(
316
318
  () => route,
@@ -540,7 +542,7 @@ const style0$1 = {
540
542
  const cssModules$1 = {
541
543
  "$style": style0$1
542
544
  };
543
- const WorkflowExecutionsSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__cssModules", cssModules$1], ["__scopeId", "data-v-731aa3bd"]]);
545
+ const WorkflowExecutionsSidebar = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__cssModules", cssModules$1], ["__scopeId", "data-v-7968a119"]]);
544
546
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
545
547
  __name: "WorkflowExecutionsList",
546
548
  props: {
@@ -1,6 +1,6 @@
1
- import { d as defineComponent, r as ref, q as computed, o as onMounted, c as openBlock, h as createElementBlock, s as renderSlot, j as createBaseVNode, t as toDisplayString, i as createVNode, w as withCtx, k as createTextVNode, e as createBlock, l as unref, f as createCommentVNode, n as normalizeClass, I as withModifiers, g as useI18n, m as resolveComponent, ge as dateformat, _ as _export_sfc, F as Fragment, A as renderList, aG as get, R as defineStore, Z as useRootStore, p as useSettingsStore, T as useWorkflowsStore, fG as getNewWorkflow, U as useRoute, b as useRouter, a as useToast, a5 as usePageRedirectionHelper, K as useUIStore, ax as onBeforeMount, V as VIEWS, bm as watchEffect, fP as telemetry, am as getResourcePermissions, aq as h, hF as WORKFLOW_HISTORY_VERSION_RESTORE } from "./index-h-73ZEd2.js";
2
- import { W as WorkflowPreview } from "./WorkflowPreview-4IdAGoz-.js";
3
- import { F as FileSaver_minExports } from "./FileSaver.min-88clUB_D.js";
1
+ import { d as defineComponent, r as ref, q as computed, o as onMounted, c as openBlock, h as createElementBlock, s as renderSlot, j as createBaseVNode, t as toDisplayString, i as createVNode, w as withCtx, k as createTextVNode, e as createBlock, l as unref, f as createCommentVNode, n as normalizeClass, I as withModifiers, g as useI18n, m as resolveComponent, gi as dateformat, _ as _export_sfc, F as Fragment, A as renderList, aI as get, R as defineStore, Z as useRootStore, p as useSettingsStore, T as useWorkflowsStore, fI as getNewWorkflow, U as useRoute, b as useRouter, a as useToast, a5 as usePageRedirectionHelper, K as useUIStore, ax as onBeforeMount, V as VIEWS, bo as watchEffect, fR as telemetry, am as getResourcePermissions, aq as h, hJ as WORKFLOW_HISTORY_VERSION_RESTORE } from "./index-CWcTt6jd.js";
2
+ import { W as WorkflowPreview } from "./WorkflowPreview-CKK96lnJ.js";
3
+ import { F as FileSaver_minExports } from "./FileSaver.min-C1QTiJmy.js";
4
4
  const _hoisted_1$2 = ["datetime"];
5
5
  const _hoisted_2$1 = ["value"];
6
6
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, aD as useLoadingService, aL as useTemplatesStore, T as useWorkflowsStore, b as useRouter, U as useRoute, o as onMounted, V as VIEWS, c as openBlock, h as createElementBlock, hG as SAMPLE_SUBWORKFLOW_WORKFLOW, hH as NEW_SAMPLE_WORKFLOW_CREATED_CHANNEL, g as useI18n } from "./index-h-73ZEd2.js";
1
+ import { d as defineComponent, aD as useLoadingService, aN as useTemplatesStore, T as useWorkflowsStore, b as useRouter, U as useRoute, o as onMounted, V as VIEWS, c as openBlock, h as createElementBlock, hK as SAMPLE_SUBWORKFLOW_WORKFLOW, hL as NEW_SAMPLE_WORKFLOW_CREATED_CHANNEL, g as useI18n } from "./index-CWcTt6jd.js";
2
2
  const _sfc_main = /* @__PURE__ */ defineComponent({
3
3
  __name: "WorkflowOnboardingView",
4
4
  setup(__props) {
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, a as useToast, au as useExecutionsStore, r as ref, q as computed, o as onMounted, x as onBeforeUnmount, H as watch, c as openBlock, h as createElementBlock, n as normalizeClass, i as createVNode, f as createCommentVNode, j as createBaseVNode, m as resolveComponent, g as useI18n, _ as _export_sfc } from "./index-h-73ZEd2.js";
1
+ import { d as defineComponent, a as useToast, au as useExecutionsStore, r as ref, q as computed, o as onMounted, x as onBeforeUnmount, H as watch, c as openBlock, h as createElementBlock, n as normalizeClass, i as createVNode, f as createCommentVNode, j as createBaseVNode, m as resolveComponent, g as useI18n, _ as _export_sfc } from "./index-CWcTt6jd.js";
2
2
  const _hoisted_1 = ["src"];
3
3
  const _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  __name: "WorkflowPreview",
@@ -1,22 +1,10 @@
1
- import { R as ResourcesListLayout } from "./ResourcesListLayout-CBkeotXe.js";
2
- import { hO as arrayMap, hP as getAllKeysIn, hQ as baseIteratee, hR as basePickBy, d as defineComponent, a as useToast, b as useRouter, p as useSettingsStore, K as useUIStore, u as useUsersStore, T as useWorkflowsStore, a1 as useProjectsStore, q as computed, am as getResourcePermissions, ge as dateformat, m as resolveComponent, c as openBlock, e as createBlock, w as withCtx, i as createVNode, n as normalizeClass, k as createTextVNode, t as toDisplayString, l as unref, f as createCommentVNode, j as createBaseVNode, I as withModifiers, hS as ResourceType, ay as withDirectives, fy as _sfc_main$2, az as vShow, h as createElementBlock, g as useI18n, V as VIEWS, ab as WORKFLOW_SHARE_MODAL_KEY, aj as DUPLICATE_MODAL_KEY, ae as MODAL_CONFIRM, hT as PROJECT_MOVE_RESOURCE_MODAL, al as useMessage, ak as useTelemetry, _ as _export_sfc, U as useRoute, a0 as useSourceControlStore, av as usePostHog, D as useTagsStore, a3 as useDocumentTitle, r as ref, a8 as EnterpriseEditionFeature, hU as EASY_AI_WORKFLOW_EXPERIMENT, H as watch, o as onMounted, hV as N8nIcon, fC as N8nHeading, ch as N8nText, hW as N8nCard, hX as N8nInputLabel, a7 as _sfc_main$3, ct as N8nSelect, F as Fragment, A as renderList, cA as _sfc_main$4, bS as AI_CREDITS_EXPERIMENT } from "./index-h-73ZEd2.js";
3
- import { W as WorkflowActivator } from "./WorkflowActivator-A59hqJh4.js";
4
- import { P as ProjectCardBadge } from "./ProjectCardBadge-C_VCQBSB.js";
5
- import { P as ProjectHeader } from "./ProjectHeader-Zo2p1bQj.js";
6
- import { g as getEasyAiWorkflowJson } from "./easyAiWorkflowUtils-BmP_7cYe.js";
7
- import "./useWorkflowActivate-sPEqe3p1.js";
8
- function pickBy(object, predicate) {
9
- if (object == null) {
10
- return {};
11
- }
12
- var props = arrayMap(getAllKeysIn(object), function(prop) {
13
- return [prop];
14
- });
15
- predicate = baseIteratee(predicate);
16
- return basePickBy(object, props, function(value, path) {
17
- return predicate(value, path[0]);
18
- });
19
- }
1
+ import { R as ResourcesListLayout } from "./ResourcesListLayout-DWASP6Vp.js";
2
+ import { d as defineComponent, a as useToast, b as useRouter, p as useSettingsStore, K as useUIStore, u as useUsersStore, T as useWorkflowsStore, a1 as useProjectsStore, q as computed, am as getResourcePermissions, gi as dateformat, m as resolveComponent, c as openBlock, e as createBlock, w as withCtx, i as createVNode, n as normalizeClass, k as createTextVNode, t as toDisplayString, l as unref, f as createCommentVNode, j as createBaseVNode, I as withModifiers, hT as ResourceType, ay as withDirectives, fA as _sfc_main$2, az as vShow, h as createElementBlock, g as useI18n, V as VIEWS, ab as WORKFLOW_SHARE_MODAL_KEY, aj as DUPLICATE_MODAL_KEY, ae as MODAL_CONFIRM, hU as PROJECT_MOVE_RESOURCE_MODAL, al as useMessage, ak as useTelemetry, _ as _export_sfc, U as useRoute, a0 as useSourceControlStore, av as usePostHog, D as useTagsStore, a3 as useDocumentTitle, r as ref, a8 as EnterpriseEditionFeature, hV as EASY_AI_WORKFLOW_EXPERIMENT, H as watch, o as onMounted, hW as N8nIcon, fE as N8nHeading, cj as N8nText, hX as N8nCard, hY as N8nInputLabel, a7 as _sfc_main$3, cv as N8nSelect, F as Fragment, A as renderList, cC as _sfc_main$4, bU as AI_CREDITS_EXPERIMENT } from "./index-CWcTt6jd.js";
3
+ import { W as WorkflowActivator } from "./WorkflowActivator-BaM6Tydw.js";
4
+ import { P as ProjectCardBadge, p as pickBy } from "./ProjectCardBadge-DcWhzEr6.js";
5
+ import { P as ProjectHeader } from "./ProjectHeader-D2FCquSr.js";
6
+ import { g as getEasyAiWorkflowJson } from "./easyAiWorkflowUtils-eykvtlKm.js";
7
+ import "./useWorkflowActivate-Dxi5zSSs.js";
20
8
  const _hoisted_1$1 = { key: 0 };
21
9
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
22
10
  __name: "WorkflowCard",
@@ -1,4 +1,4 @@
1
- import { bg as NodeConnectionType } from "./index-h-73ZEd2.js";
1
+ import { bi as NodeConnectionType } from "./index-CWcTt6jd.js";
2
2
  const getEasyAiWorkflowJson = ({
3
3
  isInstanceInAiFreeCreditsExperiment,
4
4
  withOpenAiFreeCredits