n8n-editor-ui 1.74.1 → 1.75.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.
- package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-CRv-7oGl.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-CGrVAIIO.js} +1 -1
- package/dist/assets/{AuthView-DiVCkmJO.js → AuthView-ilZ0xRQe.js} +2 -2
- package/dist/assets/{CanvasChat-BMwaSHw5.js → CanvasChat-B3m7qTtB.js} +4 -4
- package/dist/assets/{CanvasControls-B3S4M5tk.js → CanvasControls-laNSmWAd.js} +1 -1
- package/dist/assets/{ChangePasswordView-DMNxdEvW.js → ChangePasswordView-DGXlOlVn.js} +3 -3
- package/dist/assets/CollectionParameter-CS9E8rhZ.js +4 -0
- package/dist/assets/{ConcurrentExecutionsHeader-Cz1SdK5W.js → ConcurrentExecutionsHeader-CDIlj36E.js} +19 -14
- package/dist/assets/{CredentialsView-DRWQyccW.css → CredentialsView-BAqjGrNq.css} +8 -11
- package/dist/assets/{CredentialsView-BdvSQS_L.js → CredentialsView-BqjdkWhh.js} +67 -21
- package/dist/assets/{ErrorView-pJv59Fp1.js → ErrorView--I-VVLk9.js} +1 -1
- package/dist/assets/{ExecutionsView-DizYSIgZ.js → ExecutionsView-BiSV7J9a.js} +9 -7
- package/dist/assets/{ExecutionsView-C0P3HAAt.css → ExecutionsView-CB1tvZfo.css} +2 -2
- package/dist/assets/{FileSaver.min-CYFZIcxk.js → FileSaver.min-LAx9vEXw.js} +1 -1
- package/dist/assets/{FixedCollectionParameter-C-azlgUa.js → FixedCollectionParameter-ByX4uXQc.js} +1 -1
- package/dist/assets/{ForgotMyPasswordView-DLg1bxUi.js → ForgotMyPasswordView-C-tewPwi.js} +3 -3
- package/dist/assets/{Logo-DN8dwlbz.js → Logo-CyDV6IUz.js} +1 -1
- package/dist/assets/{MainHeader-Dj7ade30.js → MainHeader-nG1530RP.js} +9 -9
- package/dist/assets/{MainSidebar-DlNj8GJy.js → MainSidebar-CF4s-Ouk.js} +85 -44
- package/dist/assets/{NodeCreation-ZBewl4bk.js → NodeCreation-De8juZ9k.js} +4 -4
- package/dist/assets/{NodeCreator-DdQP0uVg.js → NodeCreator-Cra3o41k.js} +5 -5
- package/dist/assets/{NodeViewSwitcher-Bdg8qofd.js → NodeViewSwitcher-BE3EzD3h.js} +70 -42
- package/dist/assets/{NodeViewSwitcher-UPCWvuIo.css → NodeViewSwitcher-CB1zkjni.css} +2 -2
- package/dist/assets/{ProjectCardBadge-pbI58Ond.js → ProjectCardBadge-CYEfBgU2.js} +15 -2
- package/dist/assets/{ProjectHeader-D7XYidpZ.js → ProjectHeader-DUhyXx1P.js} +1 -1
- package/dist/assets/{ProjectSettings-CXSvZq_1.js → ProjectSettings-DmPZa04c.js} +3 -4
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-B8guxlKC.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-C0Zr49w5.js} +1 -1
- package/dist/assets/{ResourcesListLayout-BhSNEyun.js → ResourcesListLayout-BF7yHXTU.js} +21 -6
- package/dist/assets/{ResourcesListLayout-Dw1dU1aW.css → ResourcesListLayout-CJC-YvjD.css} +6 -6
- package/dist/assets/{RunDataJson-DyoK2r6Z.js → RunDataJson-D6kl_yU3.js} +15 -15
- package/dist/assets/{RunDataJsonActions-DmM5PsDX.js → RunDataJsonActions-CBSKVOkR.js} +2 -2
- package/dist/assets/{RunDataSearch-B9xsocwZ.js → RunDataSearch-C8ri_W9l.js} +1 -1
- package/dist/assets/{RunDataTable-iUS0fcZW.js → RunDataTable-fDrhEtER.js} +2 -2
- package/dist/assets/{SamlOnboarding-c9rXuzta.js → SamlOnboarding-B9rLeJiC.js} +3 -3
- package/dist/assets/{SettingsApiView-BbA8em4X.js → SettingsApiView-DYA_Z_Bm.js} +1 -1
- package/dist/assets/{SettingsCommunityNodesView-BUA0OLqR.js → SettingsCommunityNodesView-DWF5X20Q.js} +4 -4
- package/dist/assets/{SettingsExternalSecrets-Bp4-QTpk.js → SettingsExternalSecrets-D56h6u5r.js} +1 -1
- package/dist/assets/{SettingsLdapView-DAraUZwU.js → SettingsLdapView-tZze_vXh.js} +1 -1
- package/dist/assets/{SettingsLogStreamingView-DTgMc-WZ.js → SettingsLogStreamingView-Bw3FugIn.js} +1 -1
- package/dist/assets/{SettingsPersonalView-BDWzpO2x.js → SettingsPersonalView-BRXa1jDG.js} +1 -1
- package/dist/assets/{SettingsSourceControl-Dr974WK5.js → SettingsSourceControl-BBn_qSA4.js} +1 -1
- package/dist/assets/{SettingsSso-BxAzGPEO.js → SettingsSso-BJCIqJoE.js} +1 -1
- package/dist/assets/{SettingsUsageAndPlan-DXkQcpTq.js → SettingsUsageAndPlan-BLxfFlk9.js} +1 -1
- package/dist/assets/{SettingsUsersView-ioxWjgmR.js → SettingsUsersView-DgquKogH.js} +1 -1
- package/dist/assets/{SettingsView-B_btgRH4.js → SettingsView-geSqtBi5.js} +1 -1
- package/dist/assets/{SetupView-r9ZPGr7D.js → SetupView-BUnzDsGx.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-BQTw1Lni.js → SetupWorkflowCredentialsButton-OMbE5FVR.js} +1 -1
- package/dist/assets/{SetupWorkflowFromTemplateView-ChO-yyKZ.js → SetupWorkflowFromTemplateView-CDUDJkOD.js} +3 -3
- package/dist/assets/{SigninView-D7_W1amk.js → SigninView-BM3kNgaO.js} +3 -3
- package/dist/assets/{SignoutView-BvPOsQQ0.js → SignoutView-CpD96iu3.js} +1 -1
- package/dist/assets/{SignupView-Bf0vYlCQ.js → SignupView-BHirfE85.js} +3 -3
- package/dist/assets/{TemplateDetails-D-RiAVQD.js → TemplateDetails-CnvXukVX.js} +1 -1
- package/dist/assets/{TemplateList-DeJfbzYl.js → TemplateList-oSLDmMo9.js} +1 -1
- package/dist/assets/{TemplatesCollectionView-uSsfhIa9.js → TemplatesCollectionView-CoK7iBJV.js} +5 -5
- package/dist/assets/{TemplatesSearchView-DBbTV_xi.js → TemplatesSearchView-Cu2hXp49.js} +3 -3
- package/dist/assets/{TemplatesView-Qt03GfQO.js → TemplatesView-B0NINzN-.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-CLplrMA6.js → TemplatesWorkflowView-BQngHyNE.js} +5 -5
- package/dist/assets/{TestDefinitionEditView-CEfQepq8.js → TestDefinitionEditView-DQ1n3kAQ.js} +271 -225
- package/dist/assets/{TestDefinitionEditView-DM4tV2LS.css → TestDefinitionEditView-FI1GVbhl.css} +123 -93
- package/dist/assets/{TestDefinitionListView-6hn-gG-H.js → TestDefinitionListView-BnnmuS88.js} +65 -17
- package/dist/assets/{TestDefinitionListView-BD5_O4Fx.css → TestDefinitionListView-GsFM1AF9.css} +15 -9
- package/dist/assets/TestDefinitionRootView-D0gG8g0k.js +36 -0
- package/dist/assets/TestDefinitionRootView-K8b6hMi2.css +128 -0
- package/dist/assets/{VariablesView-BrXojLhD.js → VariablesView-CkD1CK7k.js} +2 -2
- package/dist/assets/{WorkerView-DwULN80E.js → WorkerView-Bm_msQwI.js} +5 -5
- package/dist/assets/{WorkflowActivator-Dm9xwqOB.js → WorkflowActivator-B5QyeA7d.js} +35 -3
- package/dist/assets/{WorkflowActivator-DQhm5t0U.css → WorkflowActivator-brtYjIty.css} +2 -2
- package/dist/assets/{WorkflowExecutionsInfoAccordion-B-Z0pyld.js → WorkflowExecutionsInfoAccordion-BYRGFbed.js} +1 -1
- package/dist/assets/{WorkflowExecutionsLandingPage-HJBYlJAc.js → WorkflowExecutionsLandingPage-DuWFInNH.js} +2 -2
- package/dist/assets/{WorkflowExecutionsPreview-nYDpKm_b.js → WorkflowExecutionsPreview-Bwo_dPzH.js} +5 -5
- package/dist/assets/{WorkflowExecutionsView-Chvs3FQ3.js → WorkflowExecutionsView-9Bir7Ax7.js} +9 -7
- package/dist/assets/{WorkflowExecutionsView-DEqJNNDZ.css → WorkflowExecutionsView-BUHtKz5M.css} +2 -2
- package/dist/assets/{WorkflowHistory-6MCJq0xa.js → WorkflowHistory-Cu1-T0_R.js} +3 -3
- package/dist/assets/{WorkflowOnboardingView-7WiSlKOU.js → WorkflowOnboardingView-D_PW4z5K.js} +1 -1
- package/dist/assets/{WorkflowPreview-Dw2NtUVX.js → WorkflowPreview-DMBM5zJ7.js} +1 -1
- package/dist/assets/{WorkflowsView-DXnpDXEX.js → WorkflowsView-DTJQfqt9.js} +7 -19
- package/dist/assets/{easyAiWorkflowUtils-BTWwHsY8.js → easyAiWorkflowUtils-oy6hZxJE.js} +1 -1
- package/dist/assets/{index-D0W-rAl_.js → index-DVhaXv7m.js} +6493 -1873
- package/dist/assets/{index-B7TFhNa2.css → index-DuAsyBNI.css} +266 -96
- package/dist/assets/{pushConnection.store-SZWXnCKb.js → pushConnection.store-nnc6AEL8.js} +1 -1
- package/dist/assets/{templateActions-DDtJe_-b.js → templateActions-BjByEL0H.js} +1 -1
- package/dist/assets/{useBugReporting-BGxycXGV.js → useBugReporting-Cgoz2JMv.js} +1 -1
- package/dist/assets/{useCanvasOperations-Byu1Z5ea.css → useCanvasOperations-BSKKylIT.css} +4 -4
- package/dist/assets/{useCanvasOperations-BsWyQUek.js → useCanvasOperations-CZCbgXks.js} +68 -42
- package/dist/assets/{useExecutionDebugging-CB_jUGyC.js → useExecutionDebugging-Czm5h-sB.js} +1 -1
- package/dist/assets/{useExecutionHelpers-COwnTHmy.js → useExecutionHelpers-qeNSBls3.js} +1 -1
- package/dist/assets/{useNodeViewVersionSwitcher-C8AkOtTL.js → useNodeViewVersionSwitcher-Z6V-jW5s.js} +1 -1
- package/dist/assets/{usePinnedData-872bXiu-.js → usePinnedData-9d5rr-Ll.js} +1 -1
- package/dist/assets/{usePushConnection-CXpJRez7.js → usePushConnection-C5MO_Lyn.js} +40 -12
- package/dist/assets/{useRunWorkflow-u9KNHrnZ.js → useRunWorkflow-BeM5B2jX.js} +4 -8
- package/dist/assets/{useWorkflowActivate-D8Du1iYk.js → useWorkflowActivate-CAW-Lrw6.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +1 -1
- package/dist/assets/CollectionParameter-Cmdh94LV.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,
|
|
2
|
-
import { R as ResourcesListLayout } from "./ResourcesListLayout-
|
|
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-DVhaXv7m.js";
|
|
2
|
+
import { R as ResourcesListLayout } from "./ResourcesListLayout-BF7yHXTU.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-
|
|
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,
|
|
3
|
-
import { a as useOrchestrationStore, W as WORKER_HISTORY_LENGTH, u as usePushConnection } from "./usePushConnection-
|
|
4
|
-
import { u as usePushConnectionStore } from "./pushConnection.store-
|
|
5
|
-
import "./easyAiWorkflowUtils-
|
|
1
|
+
import { _ as _sfc_main$7 } from "./PushConnectionTracker.vue_vue_type_script_setup_true_lang-C0Zr49w5.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-DVhaXv7m.js";
|
|
3
|
+
import { a as useOrchestrationStore, W as WORKER_HISTORY_LENGTH, u as usePushConnection } from "./usePushConnection-C5MO_Lyn.js";
|
|
4
|
+
import { u as usePushConnectionStore } from "./pushConnection.store-nnc6AEL8.js";
|
|
5
|
+
import "./easyAiWorkflowUtils-oy6hZxJE.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,
|
|
2
|
-
import { u as useWorkflowActivate } from "./useWorkflowActivate-
|
|
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-DVhaXv7m.js";
|
|
2
|
+
import { u as useWorkflowActivate } from "./useWorkflowActivate-CAW-Lrw6.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-
|
|
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-
|
|
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-
|
|
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,
|
|
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-DVhaXv7m.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-
|
|
2
|
-
import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-
|
|
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-DVhaXv7m.js";
|
|
2
|
+
import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-BYRGFbed.js";
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
key: 0,
|
|
5
5
|
"data-test-id": "workflow-execution-no-trigger-content"
|
package/dist/assets/{WorkflowExecutionsPreview-nYDpKm_b.js → WorkflowExecutionsPreview-Bwo_dPzH.js}
RENAMED
|
@@ -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,
|
|
2
|
-
import { u as useExecutionDebugging } from "./useExecutionDebugging-
|
|
3
|
-
import { _ as _sfc_main$3 } from "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { W as WorkflowPreview } from "./WorkflowPreview-
|
|
5
|
-
import { u as useExecutionHelpers } from "./useExecutionHelpers-
|
|
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-DVhaXv7m.js";
|
|
2
|
+
import { u as useExecutionDebugging } from "./useExecutionDebugging-Czm5h-sB.js";
|
|
3
|
+
import { _ as _sfc_main$3 } from "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-CGrVAIIO.js";
|
|
4
|
+
import { W as WorkflowPreview } from "./WorkflowPreview-DMBM5zJ7.js";
|
|
5
|
+
import { u as useExecutionHelpers } from "./useExecutionHelpers-qeNSBls3.js";
|
|
6
6
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "VoteButtons",
|
|
8
8
|
props: {
|
package/dist/assets/{WorkflowExecutionsView-Chvs3FQ3.js → WorkflowExecutionsView-9Bir7Ax7.js}
RENAMED
|
@@ -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,
|
|
2
|
-
import { _ as _sfc_main$4, C as ConcurrentExecutionsHeader, E as ExecutionsFilter } from "./ConcurrentExecutionsHeader-
|
|
3
|
-
import { u as useExecutionHelpers, t as toDayMonth, a as toTime } from "./useExecutionHelpers-
|
|
4
|
-
import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-
|
|
5
|
-
import "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-
|
|
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-DVhaXv7m.js";
|
|
2
|
+
import { _ as _sfc_main$4, C as ConcurrentExecutionsHeader, E as ExecutionsFilter } from "./ConcurrentExecutionsHeader-CDIlj36E.js";
|
|
3
|
+
import { u as useExecutionHelpers, t as toDayMonth, a as toTime } from "./useExecutionHelpers-qeNSBls3.js";
|
|
4
|
+
import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-BYRGFbed.js";
|
|
5
|
+
import "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-CGrVAIIO.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(
|
|
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-
|
|
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: {
|
package/dist/assets/{WorkflowExecutionsView-DEqJNNDZ.css → WorkflowExecutionsView-BUHtKz5M.css}
RENAMED
|
@@ -529,11 +529,11 @@
|
|
|
529
529
|
-------------------------- */
|
|
530
530
|
/* BEM
|
|
531
531
|
-------------------------- */
|
|
532
|
-
.executions-sidebar[data-v-
|
|
532
|
+
.executions-sidebar[data-v-7968a119] .el-skeleton__item {
|
|
533
533
|
height: 60px;
|
|
534
534
|
border-radius: 0;
|
|
535
535
|
}
|
|
536
|
-
[data-v-
|
|
536
|
+
[data-v-7968a119] .el-checkbox {
|
|
537
537
|
display: flex;
|
|
538
538
|
align-items: center;
|
|
539
539
|
}/* BEM support Func
|
|
@@ -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,
|
|
2
|
-
import { W as WorkflowPreview } from "./WorkflowPreview-
|
|
3
|
-
import { F as FileSaver_minExports } from "./FileSaver.min-
|
|
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-DVhaXv7m.js";
|
|
2
|
+
import { W as WorkflowPreview } from "./WorkflowPreview-DMBM5zJ7.js";
|
|
3
|
+
import { F as FileSaver_minExports } from "./FileSaver.min-LAx9vEXw.js";
|
|
4
4
|
const _hoisted_1$2 = ["datetime"];
|
|
5
5
|
const _hoisted_2$1 = ["value"];
|
|
6
6
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
package/dist/assets/{WorkflowOnboardingView-7WiSlKOU.js → WorkflowOnboardingView-D_PW4z5K.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, aD as useLoadingService,
|
|
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-DVhaXv7m.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-
|
|
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-DVhaXv7m.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-
|
|
2
|
-
import {
|
|
3
|
-
import { W as WorkflowActivator } from "./WorkflowActivator-
|
|
4
|
-
import { P as ProjectCardBadge } from "./ProjectCardBadge-
|
|
5
|
-
import { P as ProjectHeader } from "./ProjectHeader-
|
|
6
|
-
import { g as getEasyAiWorkflowJson } from "./easyAiWorkflowUtils-
|
|
7
|
-
import "./useWorkflowActivate-
|
|
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-BF7yHXTU.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-DVhaXv7m.js";
|
|
3
|
+
import { W as WorkflowActivator } from "./WorkflowActivator-B5QyeA7d.js";
|
|
4
|
+
import { P as ProjectCardBadge, p as pickBy } from "./ProjectCardBadge-CYEfBgU2.js";
|
|
5
|
+
import { P as ProjectHeader } from "./ProjectHeader-DUhyXx1P.js";
|
|
6
|
+
import { g as getEasyAiWorkflowJson } from "./easyAiWorkflowUtils-oy6hZxJE.js";
|
|
7
|
+
import "./useWorkflowActivate-CAW-Lrw6.js";
|
|
20
8
|
const _hoisted_1$1 = { key: 0 };
|
|
21
9
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
22
10
|
__name: "WorkflowCard",
|