n8n-editor-ui 1.78.0 → 1.79.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 (95) hide show
  1. package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-eVUE5od5.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DWFDE-uq.js} +1 -1
  2. package/dist/assets/{AuthView-D1tEXMXA.js → AuthView-BWy2AXVx.js} +2 -2
  3. package/dist/assets/{CanvasChat-BLb-TUbz.js → CanvasChat-BsICzNGY.js} +5 -4
  4. package/dist/assets/{CanvasControls-BN3S3-fQ.js → CanvasControls-BYFrPavs.js} +1 -1
  5. package/dist/assets/{ChangePasswordView-V1JTrEew.js → ChangePasswordView-CCLiIUKZ.js} +3 -3
  6. package/dist/assets/CollectionParameter-B3ZH0i1M.js +4 -0
  7. package/dist/assets/{ConcurrentExecutionsHeader-BNA8q-8c.js → ConcurrentExecutionsHeader-B2EowTfB.js} +2 -2
  8. package/dist/assets/{CredentialsView-AQksN2m1.js → CredentialsView-D432ux-I.js} +4 -4
  9. package/dist/assets/{ErrorView-CLT4S_BD.js → ErrorView-9_LZzUF-.js} +1 -1
  10. package/dist/assets/{ExecutionsView-qI0J-9KP.js → ExecutionsView-BIxxUIkR.js} +5 -5
  11. package/dist/assets/{FileSaver.min-B-zoCBIE.js → FileSaver.min-B1V6jKo8.js} +1 -1
  12. package/dist/assets/{FixedCollectionParameter-DQeeV-mE.js → FixedCollectionParameter-YMjaDcrW.js} +1 -1
  13. package/dist/assets/{ForgotMyPasswordView-BYvqdrhp.js → ForgotMyPasswordView-BOt01WDb.js} +3 -3
  14. package/dist/assets/{Logo-CmkNIoey.js → Logo-DCNJYrds.js} +1 -1
  15. package/dist/assets/{MainHeader-rUYFpqrO.js → MainHeader-KzaLIjdh.js} +10 -9
  16. package/dist/assets/{MainSidebar-Djaxwdmm.css → MainSidebar-BQVC8zBU.css} +13 -13
  17. package/dist/assets/{MainSidebar-B9_KVa79.js → MainSidebar-DOmlVdj3.js} +10 -10
  18. package/dist/assets/{NodeCreation-CWLKVrNb.js → NodeCreation-DY007rCJ.js} +4 -4
  19. package/dist/assets/{NodeCreator-CzIIkTTW.js → NodeCreator-DOXRU1eU.js} +5 -4
  20. package/dist/assets/{NodeViewSwitcher-Det3o0gl.css → NodeViewSwitcher-9WCdidKb.css} +23 -23
  21. package/dist/assets/{NodeViewSwitcher-BUNM0KZ6.js → NodeViewSwitcher-mdZWG63-.js} +75 -61
  22. package/dist/assets/{ProjectCardBadge-BbA_Exq8.js → ProjectCardBadge-ncOmPQT3.js} +1 -1
  23. package/dist/assets/{ProjectHeader-DlgpDOwX.js → ProjectHeader-B2g2JlKl.js} +1 -1
  24. package/dist/assets/{ProjectSettings-DqEtmmAS.js → ProjectSettings-AKqh1FtB.js} +2 -2
  25. package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-DL91BcV8.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-Dl-7_27h.js} +7 -4
  26. package/dist/assets/{ResourcesListLayout-D2ZxA1Uw.js → ResourcesListLayout-ByR63gYP.js} +1 -1
  27. package/dist/assets/{useRunWorkflow-B-O5w0ED.js → RunDataAi-ccnApOYE.js} +4 -320
  28. package/dist/assets/{RunDataJson-UkDmIQKn.js → RunDataJson-BKSpe5ct.js} +16 -14
  29. package/dist/assets/{RunDataJsonActions-BqDvrghZ.js → RunDataJsonActions-2mr7NT2e.js} +4 -5
  30. package/dist/assets/{RunDataSearch-UNQ4_4vM.js → RunDataSearch-Cr7Vco2g.js} +1 -1
  31. package/dist/assets/{RunDataTable-BdbNPKnU.js → RunDataTable-Di4ZRdsP.js} +2 -2
  32. package/dist/assets/{SamlOnboarding-Rzkh3AGB.js → SamlOnboarding-C6A4K5y_.js} +3 -3
  33. package/dist/assets/{SettingsApiView-C27ofqQf.js → SettingsApiView-lxJDg42B.js} +1 -1
  34. package/dist/assets/{SettingsCommunityNodesView-CWp_YPSH.js → SettingsCommunityNodesView-YkXQrq1A.js} +5 -4
  35. package/dist/assets/{SettingsExternalSecrets-BytZbZef.js → SettingsExternalSecrets-Cyrb1_mA.js} +1 -1
  36. package/dist/assets/{SettingsLdapView-DvNozRM0.js → SettingsLdapView-BiBAQFE3.js} +1 -1
  37. package/dist/assets/{SettingsLogStreamingView-C4Y3N6rF.js → SettingsLogStreamingView-B1xZpAcm.js} +1 -1
  38. package/dist/assets/{SettingsPersonalView--Z9y3dtC.js → SettingsPersonalView-D0iryycz.js} +1 -1
  39. package/dist/assets/{SettingsSourceControl-BElByx3w.js → SettingsSourceControl-B3SU8Cq3.js} +1 -1
  40. package/dist/assets/{SettingsSso-DUOhZeok.js → SettingsSso-DX4TKTsQ.js} +1 -1
  41. package/dist/assets/{SettingsUsageAndPlan-DTw2vCOM.js → SettingsUsageAndPlan-DawDrfF4.js} +1 -1
  42. package/dist/assets/{SettingsUsersView-B2lC671-.js → SettingsUsersView-BQWBJqPE.js} +1 -1
  43. package/dist/assets/{SettingsView-tGXgBeZb.js → SettingsView-BNDKNELZ.js} +1 -1
  44. package/dist/assets/{SetupView-BB-PMekL.js → SetupView-C4Eo3Exo.js} +3 -3
  45. package/dist/assets/{SetupWorkflowCredentialsButton-B7i_jYti.js → SetupWorkflowCredentialsButton-D5_n7ODz.js} +1 -1
  46. package/dist/assets/{SetupWorkflowFromTemplateView-Co52TGFE.js → SetupWorkflowFromTemplateView-BhrvXdVP.js} +3 -3
  47. package/dist/assets/{SigninView-B8lcx39e.js → SigninView-Hl7bzZyS.js} +3 -3
  48. package/dist/assets/{SignoutView-CamkX68g.js → SignoutView-BTZ7B2eU.js} +1 -1
  49. package/dist/assets/{SignupView-D9e7FiEj.js → SignupView-BzD--VKr.js} +3 -3
  50. package/dist/assets/{TemplateDetails-C0RPBtYu.js → TemplateDetails-CE4hKdqt.js} +1 -1
  51. package/dist/assets/{TemplateList-B6jscn2o.js → TemplateList-C40kkbIk.js} +1 -1
  52. package/dist/assets/{TemplatesCollectionView-9fi4vQ1-.js → TemplatesCollectionView-qnbaiTtg.js} +5 -5
  53. package/dist/assets/{TemplatesSearchView-VlRyjuTl.js → TemplatesSearchView-CxGzeepB.js} +3 -3
  54. package/dist/assets/{TemplatesView-CgQelQ-w.js → TemplatesView-CLnu-Vk0.js} +1 -1
  55. package/dist/assets/{TemplatesWorkflowView-BhhfuZZ9.js → TemplatesWorkflowView-DSUDCqLB.js} +5 -5
  56. package/dist/assets/{TestDefinitionEditView-Cv4ImQQb.js → TestDefinitionEditView-Cr91OHJq.js} +4 -3
  57. package/dist/assets/{TestDefinitionListView-CywmtGBZ.js → TestDefinitionListView-CHtb_wVa.js} +1 -1
  58. package/dist/assets/{TestDefinitionRootView-BhZESeJD.js → TestDefinitionRootView-qwBGRGcA.js} +1 -1
  59. package/dist/assets/{VariablesView-B_Ju8Kay.js → VariablesView-DbieMKqP.js} +2 -2
  60. package/dist/assets/{WorkerView-Lif0hJie.js → WorkerView-CGoEdLP1.js} +6 -5
  61. package/dist/assets/{WorkflowActivator-Bv0WPJm3.js → WorkflowActivator-DDV__yRf.js} +2 -2
  62. package/dist/assets/{WorkflowExecutionsInfoAccordion-DitIU6bv.js → WorkflowExecutionsInfoAccordion-BtuCDilo.js} +1 -1
  63. package/dist/assets/{WorkflowExecutionsLandingPage-vuyCAPrk.js → WorkflowExecutionsLandingPage-BY-k0RSJ.js} +2 -2
  64. package/dist/assets/{WorkflowExecutionsPreview-DN_WSVD_.js → WorkflowExecutionsPreview-CyaPgz0p.js} +5 -5
  65. package/dist/assets/{WorkflowExecutionsView-BhFMyj3l.js → WorkflowExecutionsView-BiJSnqfz.js} +5 -5
  66. package/dist/assets/{WorkflowHistory-XSHcXPVZ.js → WorkflowHistory-DPFTyd0-.js} +3 -3
  67. package/dist/assets/{WorkflowOnboardingView-DdujIOw8.js → WorkflowOnboardingView-CvM7VnUz.js} +1 -1
  68. package/dist/assets/{WorkflowPreview-YDi-9g3Y.js → WorkflowPreview-AXxLG6z_.js} +1 -1
  69. package/dist/assets/{WorkflowsView-BLTTQnV3.js → WorkflowsView-CJfwV6KM.js} +7 -7
  70. package/dist/assets/_commonjs-dynamic-modules-TGKdzP3c.js +6 -0
  71. package/dist/assets/{easyAiWorkflowUtils-WSNP3eeS.js → easyAiWorkflowUtils-Bgzcbe9I.js} +2 -2
  72. package/dist/assets/global-link-actions-ilTTGVxi.js +5 -0
  73. package/dist/assets/import-curl-BmGzfSSE.js +5 -0
  74. package/dist/assets/{index-BwoviwZU.js → index-DCrfHAqy.js} +1818 -1741
  75. package/dist/assets/{index-DFFkAkMx.css → index-xKO0gQfI.css} +23 -19
  76. package/dist/assets/pushConnection.store-BfRLeHNn.js +238 -0
  77. package/dist/assets/{templateActions-CDiqnge9.js → templateActions-B1TLkU9O.js} +1 -1
  78. package/dist/assets/{useBeforeUnload-BQCxN-bM.js → useBeforeUnload-QUAV6NNZ.js} +1 -1
  79. package/dist/assets/{useCanvasOperations-DQSiUE8i.js → useCanvasMapping-B7TPBzRe.js} +3362 -3174
  80. package/dist/assets/{useCanvasOperations-CKa4_bqL.css → useCanvasMapping-DeC609A4.css} +213 -160
  81. package/dist/assets/{useExecutionDebugging-BlSzHQ7f.js → useExecutionDebugging-Cgdyxfi_.js} +1 -1
  82. package/dist/assets/{useExecutionHelpers-DpNwTiuj.js → useExecutionHelpers-CN4pMvuh.js} +1 -1
  83. package/dist/assets/useImportCurlCommand-D-HLU11j.js +9055 -0
  84. package/dist/assets/{usePushConnection-ioPocbvz.js → usePushConnection-DNb5nQKO.js} +4 -3
  85. package/dist/assets/useRunWorkflow-DTE_Nd7p.js +616 -0
  86. package/dist/assets/{useWorkflowActivate-CbVB4JlR.js → useWorkflowActivate-FRUHj-WT.js} +1 -1
  87. package/dist/index.html +2 -2
  88. package/dist/tree-sitter-bash.wasm +0 -0
  89. package/dist/tree-sitter.wasm +0 -0
  90. package/package.json +1 -1
  91. package/vite.config.mts +14 -1
  92. package/dist/assets/CollectionParameter-C28x26Fy.js +0 -4
  93. package/dist/assets/pushConnection.store-BlMyXexG.js +0 -117
  94. package/dist/assets/usePinnedData-E0jv55-6.js +0 -274
  95. /package/dist/assets/{useRunWorkflow-DWoFsQdi.css → RunDataAi-DWoFsQdi.css} +0 -0
@@ -1,6 +1,6 @@
1
- import { ce as getDefaultExportFromCjs, d as defineComponent, b6 as useClipboard, a as useToast, eW as useAIAssistantHelpers, bo as useNodeTypesStore, as as useNDVStore, Z as useRootStore, eX as useAssistantStore, K as useUIStore, q as computed, c as openBlock, h as createElementBlock, j as createBaseVNode, t as toDisplayString, ax as withDirectives, f as createCommentVNode, i as createVNode, l as unref, eY as InlineAskAssistantButton, w as withCtx, k as createTextVNode, F as Fragment, A as renderList, g as useI18n, cp as MAX_DISPLAY_DATA_SIZE, bs as isCommunityPackageName, eZ as NEW_ASSISTANT_SESSION_MODAL, m as resolveComponent, cT as resolveDirective, e_ as sanitizeHtml, bh as NodeConnectionType, e$ as isObjectEmpty, r as ref, o as onMounted, n as normalizeClass, e as createBlock, b1 as VueMarkdown, _ as _export_sfc, T as useWorkflowsStore, br as _sfc_main$4, I as withModifiers, H as watch, B as normalizeStyle, f0 as ElTree, bp as useNodeHelpers, a4 as useWorkflowHelpers, at as useExecutionsStore, b7 as CHAT_TRIGGER_NODE_TYPE, bj as get, f1 as SINGLE_WEBHOOK_TRIGGERS, p as useSettingsStore, f2 as displayForm, aT as useExternalHooks, cL as isEmpty } from "./index-BwoviwZU.js";
2
- import { c as capitalize } from "./usePinnedData-E0jv55-6.js";
3
- import { u as useExecutionHelpers } from "./useExecutionHelpers-DpNwTiuj.js";
1
+ import { ce as getDefaultExportFromCjs, d as defineComponent, b6 as useClipboard, a as useToast, eW as useAIAssistantHelpers, bo as useNodeTypesStore, as as useNDVStore, Z as useRootStore, eX as useAssistantStore, K as useUIStore, q as computed, c as openBlock, h as createElementBlock, j as createBaseVNode, t as toDisplayString, ax as withDirectives, f as createCommentVNode, i as createVNode, l as unref, eY as InlineAskAssistantButton, w as withCtx, k as createTextVNode, F as Fragment, A as renderList, g as useI18n, cp as MAX_DISPLAY_DATA_SIZE, bt as isCommunityPackageName, eZ as NEW_ASSISTANT_SESSION_MODAL, m as resolveComponent, cT as resolveDirective, e_ as sanitizeHtml, bh as NodeConnectionType, e$ as isObjectEmpty, r as ref, o as onMounted, n as normalizeClass, e as createBlock, b1 as VueMarkdown, _ as _export_sfc, T as useWorkflowsStore, bs as _sfc_main$4, I as withModifiers, H as watch, B as normalizeStyle, f0 as ElTree } from "./index-DCrfHAqy.js";
2
+ import { c as capitalize } from "./useRunWorkflow-DTE_Nd7p.js";
3
+ import { u as useExecutionHelpers } from "./useExecutionHelpers-CN4pMvuh.js";
4
4
  var core;
5
5
  var hasRequiredCore;
6
6
  function requireCore() {
@@ -3023,324 +3023,8 @@ const cssModules = {
3023
3023
  "$style": style0
3024
3024
  };
3025
3025
  const RunDataAi = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
3026
- const getDirtyNodeNames = (runData2, getParametersLastUpdate) => {
3027
- const dirtyNodeNames = Object.entries(runData2).reduce((acc, [nodeName, tasks]) => {
3028
- if (!tasks.length) return acc;
3029
- const updatedAt = getParametersLastUpdate(nodeName) ?? 0;
3030
- if (updatedAt > tasks[0].startTime) {
3031
- acc.push(nodeName);
3032
- }
3033
- return acc;
3034
- }, []);
3035
- return dirtyNodeNames.length ? dirtyNodeNames : void 0;
3036
- };
3037
- function useRunWorkflow(useRunWorkflowOpts) {
3038
- const nodeHelpers = useNodeHelpers();
3039
- const workflowHelpers = useWorkflowHelpers({ router: useRunWorkflowOpts.router });
3040
- const i18n = useI18n();
3041
- const toast = useToast();
3042
- const rootStore = useRootStore();
3043
- const uiStore = useUIStore();
3044
- const workflowsStore = useWorkflowsStore();
3045
- const executionsStore = useExecutionsStore();
3046
- async function runWorkflowApi(runData2) {
3047
- if (!rootStore.pushConnectionActive) {
3048
- throw new Error(i18n.baseText("workflowRun.noActiveConnectionToTheServer"));
3049
- }
3050
- workflowsStore.subWorkflowExecutionError = null;
3051
- uiStore.addActiveAction("workflowRunning");
3052
- let response;
3053
- try {
3054
- response = await workflowsStore.runWorkflow(runData2);
3055
- } catch (error2) {
3056
- uiStore.removeActiveAction("workflowRunning");
3057
- throw error2;
3058
- }
3059
- if (response.executionId !== void 0) {
3060
- workflowsStore.activeExecutionId = response.executionId;
3061
- }
3062
- if (response.waitingForWebhook === true && useWorkflowsStore().nodesIssuesExist) {
3063
- uiStore.removeActiveAction("workflowRunning");
3064
- throw new Error(i18n.baseText("workflowRun.showError.resolveOutstandingIssues"));
3065
- }
3066
- if (response.waitingForWebhook === true) {
3067
- workflowsStore.executionWaitingForWebhook = true;
3068
- }
3069
- return response;
3070
- }
3071
- async function runWorkflow(options) {
3072
- const workflow = workflowHelpers.getCurrentWorkflow();
3073
- if (uiStore.isActionActive["workflowRunning"]) {
3074
- return;
3075
- }
3076
- toast.clearAllStickyNotifications();
3077
- try {
3078
- let directParentNodes = [];
3079
- if (options.destinationNode !== void 0) {
3080
- directParentNodes = workflow.getParentNodes(
3081
- options.destinationNode,
3082
- NodeConnectionType.Main,
3083
- -1
3084
- );
3085
- }
3086
- const runData2 = workflowsStore.getWorkflowRunData;
3087
- if (workflowsStore.isNewWorkflow) {
3088
- await workflowHelpers.saveCurrentWorkflow();
3089
- }
3090
- const workflowData = await workflowHelpers.getWorkflowDataToSave();
3091
- const consolidatedData = consolidateRunDataAndStartNodes(
3092
- directParentNodes,
3093
- runData2,
3094
- workflowData.pinData,
3095
- workflow
3096
- );
3097
- const { startNodeNames } = consolidatedData;
3098
- const destinationNodeType = options.destinationNode ? workflowsStore.getNodeByName(options.destinationNode)?.type : "";
3099
- let { runData: newRunData } = consolidatedData;
3100
- let executedNode;
3101
- let triggerToStartFrom;
3102
- if (startNodeNames.length === 0 && "destinationNode" in options && options.destinationNode !== void 0) {
3103
- executedNode = options.destinationNode;
3104
- startNodeNames.push(options.destinationNode);
3105
- } else if (options.triggerNode && options.nodeData) {
3106
- startNodeNames.push(
3107
- ...workflow.getChildNodes(options.triggerNode, NodeConnectionType.Main, 1)
3108
- );
3109
- newRunData = { [options.triggerNode]: [options.nodeData] };
3110
- executedNode = options.triggerNode;
3111
- }
3112
- if (options.triggerNode && options.nodeData) {
3113
- triggerToStartFrom = {
3114
- name: options.triggerNode,
3115
- data: options.nodeData
3116
- };
3117
- }
3118
- if (options.destinationNode && (workflowsStore.checkIfNodeHasChatParent(options.destinationNode) || destinationNodeType === CHAT_TRIGGER_NODE_TYPE) && options.source !== "RunData.ManualChatMessage") {
3119
- const startNode = workflow.getStartNode(options.destinationNode);
3120
- if (startNode && startNode.type === CHAT_TRIGGER_NODE_TYPE) {
3121
- const chatHasInputData = nodeHelpers.getNodeInputData(startNode, 0, 0, "input")?.length > 0;
3122
- const chatHasPinData = !!workflowData.pinData?.[startNode.name];
3123
- if (!chatHasInputData && !chatHasPinData) {
3124
- workflowsStore.chatPartialExecutionDestinationNode = options.destinationNode;
3125
- workflowsStore.setPanelOpen("chat", true);
3126
- return;
3127
- }
3128
- }
3129
- }
3130
- const triggers = workflowData.nodes.filter(
3131
- (node) => node.type.toLowerCase().includes("trigger") && !node.disabled
3132
- );
3133
- if (!options.destinationNode && options.source !== "RunData.ManualChatMessage" && workflowData.nodes.some((node) => node.type === CHAT_TRIGGER_NODE_TYPE)) {
3134
- const otherTriggers = triggers.filter((node) => node.type !== CHAT_TRIGGER_NODE_TYPE);
3135
- if (otherTriggers.length) {
3136
- const chatTriggerNode = workflowData.nodes.find(
3137
- (node) => node.type === CHAT_TRIGGER_NODE_TYPE
3138
- );
3139
- if (chatTriggerNode) {
3140
- chatTriggerNode.disabled = true;
3141
- }
3142
- }
3143
- }
3144
- const startNodes = startNodeNames.map((name) => {
3145
- let sourceData = get(runData2, [name, 0, "source", 0], null);
3146
- if (sourceData === null) {
3147
- const parentNodes = workflow.getParentNodes(name, NodeConnectionType.Main, 1);
3148
- const executeData = workflowHelpers.executeData(
3149
- parentNodes,
3150
- name,
3151
- NodeConnectionType.Main,
3152
- 0
3153
- );
3154
- sourceData = get(executeData, ["source", NodeConnectionType.Main, 0], null);
3155
- }
3156
- return {
3157
- name,
3158
- sourceData
3159
- };
3160
- });
3161
- const singleWebhookTrigger = triggers.find(
3162
- (node) => SINGLE_WEBHOOK_TRIGGERS.includes(node.type)
3163
- );
3164
- if (singleWebhookTrigger && workflowsStore.isWorkflowActive && !workflowData.pinData?.[singleWebhookTrigger.name]) {
3165
- toast.showMessage({
3166
- title: i18n.baseText("workflowRun.showError.deactivate"),
3167
- message: i18n.baseText("workflowRun.showError.productionActive", {
3168
- interpolate: { nodeName: singleWebhookTrigger.name }
3169
- }),
3170
- type: "error"
3171
- });
3172
- return void 0;
3173
- }
3174
- const isPartialExecution = options.destinationNode !== void 0;
3175
- const settingsStore = useSettingsStore();
3176
- const version = settingsStore.partialExecutionVersion;
3177
- const startRunData = {
3178
- workflowData,
3179
- // With the new partial execution version the backend decides what run
3180
- // data to use and what to ignore.
3181
- runData: !isPartialExecution ? (
3182
- // if it's a full execution we don't want to send any run data
3183
- void 0
3184
- ) : version === 2 ? (
3185
- // With the new partial execution version the backend decides
3186
- //what run data to use and what to ignore.
3187
- runData2 ?? void 0
3188
- ) : (
3189
- // for v0 we send the run data the FE constructed
3190
- newRunData
3191
- ),
3192
- startNodes,
3193
- triggerToStartFrom
3194
- };
3195
- if ("destinationNode" in options) {
3196
- startRunData.destinationNode = options.destinationNode;
3197
- }
3198
- if (startRunData.runData) {
3199
- startRunData.dirtyNodeNames = getDirtyNodeNames(
3200
- startRunData.runData,
3201
- workflowsStore.getParametersLastUpdate
3202
- );
3203
- }
3204
- const executionData = {
3205
- id: "__IN_PROGRESS__",
3206
- finished: false,
3207
- mode: "manual",
3208
- status: "running",
3209
- createdAt: /* @__PURE__ */ new Date(),
3210
- startedAt: /* @__PURE__ */ new Date(),
3211
- stoppedAt: void 0,
3212
- workflowId: workflow.id,
3213
- executedNode,
3214
- data: {
3215
- resultData: {
3216
- runData: startRunData.runData ?? {},
3217
- pinData: workflowData.pinData,
3218
- workflowData
3219
- }
3220
- },
3221
- workflowData: {
3222
- id: workflowsStore.workflowId,
3223
- name: workflowData.name,
3224
- active: workflowData.active,
3225
- createdAt: 0,
3226
- updatedAt: 0,
3227
- ...workflowData
3228
- }
3229
- };
3230
- workflowsStore.setWorkflowExecutionData(executionData);
3231
- nodeHelpers.updateNodesExecutionIssues();
3232
- workflowHelpers.setDocumentTitle(workflow.name, "EXECUTING");
3233
- const runWorkflowApiResponse = await runWorkflowApi(startRunData);
3234
- const pinData = workflowData.pinData ?? {};
3235
- const getTestUrl = /* @__PURE__ */ (() => {
3236
- return (node) => {
3237
- const path = node.parameters.path || node.parameters.options?.path || node.webhookId;
3238
- return `${rootStore.formTestUrl}/${path}`;
3239
- };
3240
- })();
3241
- try {
3242
- displayForm({
3243
- nodes: workflowData.nodes,
3244
- runData: workflowsStore.getWorkflowExecution?.data?.resultData?.runData,
3245
- destinationNode: options.destinationNode,
3246
- pinData,
3247
- directParentNodes,
3248
- source: options.source,
3249
- getTestUrl
3250
- });
3251
- } catch (error2) {
3252
- }
3253
- await useExternalHooks().run("workflowRun.runWorkflow", {
3254
- nodeName: options.destinationNode,
3255
- source: options.source
3256
- });
3257
- return runWorkflowApiResponse;
3258
- } catch (error2) {
3259
- workflowHelpers.setDocumentTitle(workflow.name, "ERROR");
3260
- toast.showError(error2, i18n.baseText("workflowRun.showError.title"));
3261
- return void 0;
3262
- }
3263
- }
3264
- function consolidateRunDataAndStartNodes(directParentNodes, runData2, pinData, workflow) {
3265
- const startNodeNames = /* @__PURE__ */ new Set();
3266
- let newRunData;
3267
- if (runData2 !== null && Object.keys(runData2).length !== 0) {
3268
- newRunData = {};
3269
- for (const directParentNode of directParentNodes) {
3270
- const parentNodes = workflow.getParentNodes(directParentNode, NodeConnectionType.Main);
3271
- if (workflow.nodes[directParentNode].disabled) continue;
3272
- parentNodes.push(directParentNode);
3273
- for (const parentNode of parentNodes) {
3274
- if (!runData2[parentNode]?.length && !pinData?.[parentNode]?.length || runData2[parentNode]?.[0]?.error !== void 0) {
3275
- startNodeNames.add(parentNode);
3276
- break;
3277
- }
3278
- if (runData2[parentNode] && !runData2[parentNode]?.[0]?.error) {
3279
- newRunData[parentNode] = runData2[parentNode]?.slice(0, 1);
3280
- }
3281
- }
3282
- }
3283
- if (isEmpty(newRunData)) {
3284
- newRunData = void 0;
3285
- }
3286
- }
3287
- return { runData: newRunData, startNodeNames: [...startNodeNames] };
3288
- }
3289
- async function stopCurrentExecution() {
3290
- const executionId = workflowsStore.activeExecutionId;
3291
- if (executionId === null) {
3292
- return;
3293
- }
3294
- try {
3295
- await executionsStore.stopCurrentExecution(executionId);
3296
- } catch (error2) {
3297
- const execution = await workflowsStore.getExecution(executionId);
3298
- if (execution === void 0) {
3299
- toast.showMessage({
3300
- title: i18n.baseText("nodeView.showMessage.stopExecutionCatch.unsaved.title"),
3301
- message: i18n.baseText("nodeView.showMessage.stopExecutionCatch.unsaved.message"),
3302
- type: "success"
3303
- });
3304
- } else if (execution?.finished) {
3305
- const executedData = {
3306
- data: execution.data,
3307
- finished: execution.finished,
3308
- mode: execution.mode,
3309
- startedAt: execution.startedAt,
3310
- stoppedAt: execution.stoppedAt
3311
- };
3312
- workflowsStore.setWorkflowExecutionData(executedData);
3313
- toast.showMessage({
3314
- title: i18n.baseText("nodeView.showMessage.stopExecutionCatch.title"),
3315
- message: i18n.baseText("nodeView.showMessage.stopExecutionCatch.message"),
3316
- type: "success"
3317
- });
3318
- } else {
3319
- toast.showError(error2, i18n.baseText("nodeView.showError.stopExecution.title"));
3320
- }
3321
- } finally {
3322
- workflowsStore.markExecutionAsStopped();
3323
- }
3324
- }
3325
- async function stopWaitingForWebhook() {
3326
- try {
3327
- await workflowsStore.removeTestWebhook(workflowsStore.workflowId);
3328
- } catch (error2) {
3329
- toast.showError(error2, i18n.baseText("nodeView.showError.stopWaitingForWebhook.title"));
3330
- return;
3331
- }
3332
- }
3333
- return {
3334
- consolidateRunDataAndStartNodes,
3335
- runWorkflow,
3336
- runWorkflowApi,
3337
- stopCurrentExecution,
3338
- stopWaitingForWebhook
3339
- };
3340
- }
3341
3026
  export {
3342
3027
  HighlightJS as H,
3343
3028
  RunDataAi as R,
3344
- _sfc_main$3 as _,
3345
- useRunWorkflow as u
3029
+ _sfc_main$3 as _
3346
3030
  };
@@ -1,16 +1,18 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/RunDataJsonActions-BqDvrghZ.js","assets/index-BwoviwZU.js","assets/index-DFFkAkMx.css","assets/usePinnedData-E0jv55-6.js","assets/RunDataJsonActions-DrgwFS0W.css"])))=>i.map(i=>d[i]);
2
- import { d as defineComponent, as as useNDVStore, r as ref, iE as nonExistingJsonPath, iF as useElementSize, q as computed, cG as executionDataToJson, c as openBlock, h as createElementBlock, e as createBlock, w as withCtx, l as unref, f as createCommentVNode, ct as Suspense, i as createVNode, iz as MappingPill, iA as TextWithHighlights, n as normalizeClass, c8 as Draggable, cE as defineAsyncComponent, ar as __vitePreload, v as shorten, iD as getMappedExpression, dq as isString, aT as useExternalHooks, aj as useTelemetry, _ as _export_sfc } from "./index-BwoviwZU.js";
3
- import { V as VueJsonPretty } from "./NodeViewSwitcher-BUNM0KZ6.js";
4
- import "./useCanvasOperations-DQSiUE8i.js";
5
- import "./usePinnedData-E0jv55-6.js";
6
- import "./useRunWorkflow-B-O5w0ED.js";
7
- import "./useExecutionHelpers-DpNwTiuj.js";
8
- import "./FileSaver.min-B-zoCBIE.js";
9
- import "./useWorkflowActivate-CbVB4JlR.js";
10
- import "./pushConnection.store-BlMyXexG.js";
11
- import "./useExecutionDebugging-BlSzHQ7f.js";
12
- import "./useBeforeUnload-BQCxN-bM.js";
13
- import "./easyAiWorkflowUtils-WSNP3eeS.js";
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/RunDataJsonActions-2mr7NT2e.js","assets/index-DCrfHAqy.js","assets/index-xKO0gQfI.css","assets/_commonjs-dynamic-modules-TGKdzP3c.js","assets/useRunWorkflow-DTE_Nd7p.js","assets/pushConnection.store-BfRLeHNn.js","assets/RunDataJsonActions-DrgwFS0W.css"])))=>i.map(i=>d[i]);
2
+ import { d as defineComponent, as as useNDVStore, r as ref, iK as nonExistingJsonPath, iL as useElementSize, q as computed, cG as executionDataToJson, c as openBlock, h as createElementBlock, e as createBlock, w as withCtx, l as unref, f as createCommentVNode, ct as Suspense, i as createVNode, iF as MappingPill, iG as TextWithHighlights, n as normalizeClass, c8 as Draggable, cE as defineAsyncComponent, ar as __vitePreload, v as shorten, iJ as getMappedExpression, dq as isString, aT as useExternalHooks, aj as useTelemetry, _ as _export_sfc } from "./index-DCrfHAqy.js";
3
+ import { V as VueJsonPretty } from "./NodeViewSwitcher-mdZWG63-.js";
4
+ import "./useCanvasMapping-B7TPBzRe.js";
5
+ import "./useRunWorkflow-DTE_Nd7p.js";
6
+ import "./pushConnection.store-BfRLeHNn.js";
7
+ import "./import-curl-BmGzfSSE.js";
8
+ import "./FileSaver.min-B1V6jKo8.js";
9
+ import "./RunDataAi-ccnApOYE.js";
10
+ import "./useExecutionHelpers-CN4pMvuh.js";
11
+ import "./useWorkflowActivate-FRUHj-WT.js";
12
+ import "./global-link-actions-ilTTGVxi.js";
13
+ import "./useExecutionDebugging-Cgdyxfi_.js";
14
+ import "./useBeforeUnload-QUAV6NNZ.js";
15
+ import "./easyAiWorkflowUtils-Bgzcbe9I.js";
14
16
  const _sfc_main = /* @__PURE__ */ defineComponent({
15
17
  __name: "RunDataJson",
16
18
  props: {
@@ -27,7 +29,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
27
29
  },
28
30
  setup(__props) {
29
31
  const LazyRunDataJsonActions = defineAsyncComponent(
30
- async () => await __vitePreload(() => import("./RunDataJsonActions-BqDvrghZ.js"), true ? __vite__mapDeps([0,1,2,3,4]) : void 0)
32
+ async () => await __vitePreload(() => import("./RunDataJsonActions-2mr7NT2e.js"), true ? __vite__mapDeps([0,1,2,3,4,5,6]) : void 0)
31
33
  );
32
34
  const props = __props;
33
35
  const ndvStore = useNDVStore();
@@ -1,8 +1,7 @@
1
- import { gf as commonjsGlobal, ce as getDefaultExportFromCjs, d as defineComponent, iE as nonExistingJsonPath, as as useNDVStore, T as useWorkflowsStore, bp as useNodeHelpers, b6 as useClipboard, a as useToast, U as useRoute, q as computed, m as resolveComponent, c as openBlock, h as createElementBlock, e as createBlock, l as unref, w as withCtx, i as createVNode, k as createTextVNode, t as toDisplayString, j as createBaseVNode, n as normalizeClass, g as useI18n, aj as useTelemetry, cQ as clearJsonKey, cG as executionDataToJson, iP as convertPath, _ as _export_sfc } from "./index-BwoviwZU.js";
2
- import { u as usePinnedData } from "./usePinnedData-E0jv55-6.js";
3
- function commonjsRequire(path) {
4
- throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
5
- }
1
+ import { ge as commonjsGlobal, ce as getDefaultExportFromCjs, d as defineComponent, iK as nonExistingJsonPath, as as useNDVStore, T as useWorkflowsStore, bp as useNodeHelpers, b6 as useClipboard, a as useToast, U as useRoute, q as computed, m as resolveComponent, c as openBlock, h as createElementBlock, e as createBlock, l as unref, w as withCtx, i as createVNode, k as createTextVNode, t as toDisplayString, j as createBaseVNode, n as normalizeClass, g as useI18n, aj as useTelemetry, cQ as clearJsonKey, cG as executionDataToJson, iV as convertPath, _ as _export_sfc } from "./index-DCrfHAqy.js";
2
+ import { c as commonjsRequire } from "./_commonjs-dynamic-modules-TGKdzP3c.js";
3
+ import { u as usePinnedData } from "./useRunWorkflow-DTE_Nd7p.js";
4
+ import "./pushConnection.store-BfRLeHNn.js";
6
5
  var jsonpath = { exports: {} };
7
6
  /*! jsonpath 1.1.1 */
8
7
  var hasRequiredJsonpath;
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, J as useDebounce, r as ref, q as computed, o as onMounted, b4 as onUnmounted, H as watch, m as resolveComponent, c as openBlock, e as createBlock, w as withCtx, i as createVNode, n as normalizeClass, B as normalizeStyle, g as useI18n, _ as _export_sfc } from "./index-BwoviwZU.js";
1
+ import { d as defineComponent, J as useDebounce, r as ref, q as computed, o as onMounted, b4 as onUnmounted, H as watch, m as resolveComponent, c as openBlock, e as createBlock, w as withCtx, i as createVNode, n as normalizeClass, B as normalizeStyle, g as useI18n, _ as _export_sfc } from "./index-DCrfHAqy.js";
2
2
  const COLLAPSED_WIDTH = "30px";
3
3
  const OPEN_WIDTH = "204px";
4
4
  const OPEN_MIN_WIDTH = "120px";
@@ -1,5 +1,5 @@
1
- import { d as defineComponent, r as ref, as as useNDVStore, T as useWorkflowsStore, cl as storeToRefs, q as computed, o as onMounted, H as watch, m as resolveComponent, c as openBlock, h as createElementBlock, n as normalizeClass, j as createBaseVNode, f as createCommentVNode, F as Fragment, A as renderList, i as createVNode, w as withCtx, ax as withDirectives, e as createBlock, l as unref, aQ as _sfc_main$1, ay as vShow, aP as N8nTooltip, k as createTextVNode, t as toDisplayString, cB as InfoTip, c8 as Draggable, iz as MappingPill, v as shorten, iA as TextWithHighlights, iB as Tree, g as useI18n, iC as getPairedItemId, iD as getMappedExpression, aT as useExternalHooks, aj as useTelemetry, _ as _export_sfc } from "./index-BwoviwZU.js";
2
- import { u as useExecutionHelpers } from "./useExecutionHelpers-DpNwTiuj.js";
1
+ import { d as defineComponent, r as ref, as as useNDVStore, T as useWorkflowsStore, cl as storeToRefs, q as computed, o as onMounted, H as watch, m as resolveComponent, c as openBlock, h as createElementBlock, n as normalizeClass, j as createBaseVNode, f as createCommentVNode, F as Fragment, A as renderList, i as createVNode, w as withCtx, ax as withDirectives, e as createBlock, l as unref, aQ as _sfc_main$1, ay as vShow, aP as N8nTooltip, k as createTextVNode, t as toDisplayString, cB as InfoTip, c8 as Draggable, iF as MappingPill, v as shorten, iG as TextWithHighlights, iH as Tree, g as useI18n, iI as getPairedItemId, iJ as getMappedExpression, aT as useExternalHooks, aj as useTelemetry, _ as _export_sfc } from "./index-DCrfHAqy.js";
2
+ import { u as useExecutionHelpers } from "./useExecutionHelpers-CN4pMvuh.js";
3
3
  const _imports_0 = "/%7B%7BBASE_PATH%7D%7D/static/data-mapping-gif.gif";
4
4
  const _hoisted_1 = ["data-row"];
5
5
  const _hoisted_2 = ["data-row"];
@@ -1,6 +1,6 @@
1
- import { d as defineComponent, b as useRouter, a as useToast, fm as useSSOStore, r as ref, dC as reactive, c as openBlock, e as createBlock, g as useI18n, V as VIEWS } from "./index-BwoviwZU.js";
2
- import { A as AuthView } from "./AuthView-D1tEXMXA.js";
3
- import "./Logo-CmkNIoey.js";
1
+ import { d as defineComponent, b as useRouter, a as useToast, fk as useSSOStore, r as ref, dC as reactive, c as openBlock, e as createBlock, g as useI18n, V as VIEWS } from "./index-DCrfHAqy.js";
2
+ import { A as AuthView } from "./AuthView-BWy2AXVx.js";
3
+ import "./Logo-DCNJYrds.js";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "SamlOnboarding",
6
6
  setup(__props) {
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, r as ref, m as resolveComponent, c as openBlock, e as createBlock, w as withCtx, j as createBaseVNode, i as createVNode, n as normalizeClass, k as createTextVNode, t as toDisplayString, h as createElementBlock, f as createCommentVNode, aJ as DateTime, g as useI18n, _ as _export_sfc, p as useSettingsStore, K as useUIStore, aH as useCloudPlanStore, a as useToast, a3 as useDocumentTitle, a5 as usePageRedirectionHelper, fs as useApiKeysStore, cl as storeToRefs, o as onMounted, l as unref, F as Fragment, A as renderList, ft as API_KEY_CREATE_OR_EDIT_MODAL_KEY, aj as useTelemetry, ae as MODAL_CONFIRM, ak as useMessage } from "./index-BwoviwZU.js";
1
+ import { d as defineComponent, r as ref, m as resolveComponent, c as openBlock, e as createBlock, w as withCtx, j as createBaseVNode, i as createVNode, n as normalizeClass, k as createTextVNode, t as toDisplayString, h as createElementBlock, f as createCommentVNode, aJ as DateTime, g as useI18n, _ as _export_sfc, p as useSettingsStore, K as useUIStore, aH as useCloudPlanStore, a as useToast, a3 as useDocumentTitle, a5 as usePageRedirectionHelper, fq as useApiKeysStore, cl as storeToRefs, o as onMounted, l as unref, F as Fragment, A as renderList, fr as API_KEY_CREATE_OR_EDIT_MODAL_KEY, aj as useTelemetry, ae as MODAL_CONFIRM, ak as useMessage } from "./index-DCrfHAqy.js";
2
2
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
3
3
  __name: "ApiKeyCard",
4
4
  props: {
@@ -1,7 +1,8 @@
1
- import { d as defineComponent, K as useUIStore, fp as COMMUNITY_PACKAGE_MANAGE_ACTIONS, m as resolveComponent, c as openBlock, h as createElementBlock, n as normalizeClass, i as createVNode, j as createBaseVNode, w as withCtx, k as createTextVNode, t as toDisplayString, l as unref, F as Fragment, A as renderList, f as createCommentVNode, e as createBlock, g as useI18n, bt as NPM_PACKAGE_DOCS_BASE_URL, aj as useTelemetry, _ as _export_sfc, r as ref, b as useRouter, a as useToast, a3 as useDocumentTitle, fq as useCommunityNodesStore, q as computed, aw as onBeforeMount, o as onMounted, x as onBeforeUnmount, fr as COMMUNITY_PACKAGE_INSTALL_MODAL_KEY, aT as useExternalHooks, bv as COMMUNITY_NODES_INSTALLATION_DOCS_URL } from "./index-BwoviwZU.js";
2
- import { u as usePushConnection } from "./usePushConnection-ioPocbvz.js";
3
- import { u as usePushConnectionStore } from "./pushConnection.store-BlMyXexG.js";
4
- import "./easyAiWorkflowUtils-WSNP3eeS.js";
1
+ import { d as defineComponent, K as useUIStore, fn as COMMUNITY_PACKAGE_MANAGE_ACTIONS, m as resolveComponent, c as openBlock, h as createElementBlock, n as normalizeClass, i as createVNode, j as createBaseVNode, w as withCtx, k as createTextVNode, t as toDisplayString, l as unref, F as Fragment, A as renderList, f as createCommentVNode, e as createBlock, g as useI18n, bu as NPM_PACKAGE_DOCS_BASE_URL, aj as useTelemetry, _ as _export_sfc, r as ref, b as useRouter, a as useToast, a3 as useDocumentTitle, fo as useCommunityNodesStore, q as computed, aw as onBeforeMount, o as onMounted, x as onBeforeUnmount, fp as COMMUNITY_PACKAGE_INSTALL_MODAL_KEY, aT as useExternalHooks, bw as COMMUNITY_NODES_INSTALLATION_DOCS_URL } from "./index-DCrfHAqy.js";
2
+ import { u as usePushConnection } from "./usePushConnection-DNb5nQKO.js";
3
+ import { u as usePushConnectionStore } from "./pushConnection.store-BfRLeHNn.js";
4
+ import "./global-link-actions-ilTTGVxi.js";
5
+ import "./easyAiWorkflowUtils-Bgzcbe9I.js";
5
6
  const _hoisted_1 = { key: 0 };
6
7
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
7
8
  __name: "CommunityPackageCard",
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, dK as useExternalSecretsStore, K as useUIStore, a as useToast, ck as toRef, q as computed, g2 as useExternalSecretsProvider, aJ as DateTime, g3 as isDateObject, o as onMounted, m as resolveComponent, c as openBlock, e as createBlock, w as withCtx, j as createBaseVNode, n as normalizeClass, i as createVNode, g4 as _sfc_main$2, k as createTextVNode, t as toDisplayString, l as unref, f as createCommentVNode, h as createElementBlock, g5 as ExternalSecretsProviderConnectionSwitch, g as useI18n, y as nextTick, g6 as EXTERNAL_SECRETS_PROVIDER_MODAL_KEY, _ as _export_sfc, a3 as useDocumentTitle, a5 as usePageRedirectionHelper, F as Fragment, A as renderList } from "./index-BwoviwZU.js";
1
+ import { d as defineComponent, dK as useExternalSecretsStore, K as useUIStore, a as useToast, ck as toRef, q as computed, g0 as useExternalSecretsProvider, aJ as DateTime, g1 as isDateObject, o as onMounted, m as resolveComponent, c as openBlock, e as createBlock, w as withCtx, j as createBaseVNode, n as normalizeClass, i as createVNode, g2 as _sfc_main$2, k as createTextVNode, t as toDisplayString, l as unref, f as createCommentVNode, h as createElementBlock, g3 as ExternalSecretsProviderConnectionSwitch, g as useI18n, y as nextTick, g4 as EXTERNAL_SECRETS_PROVIDER_MODAL_KEY, _ as _export_sfc, a3 as useDocumentTitle, a5 as usePageRedirectionHelper, F as Fragment, A as renderList } from "./index-DCrfHAqy.js";
2
2
  const _hoisted_1$1 = { key: 0 };
3
3
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
4
4
  __name: "ExternalSecretsProviderCard.ee",
@@ -1,4 +1,4 @@
1
- import { ce as getDefaultExportFromCjs, r as ref, aY as toRefs, o as onMounted, b4 as onUnmounted, c as openBlock, h as createElementBlock, s as renderSlot, i as createVNode, f as createCommentVNode, j as createBaseVNode, t as toDisplayString, H as watch, y as nextTick, fa as pushScopeId, fb as popScopeId, d as defineComponent, a as useToast, a3 as useDocumentTitle, a5 as usePageRedirectionHelper, p as useSettingsStore, q as computed, w as withCtx, k as createTextVNode, l as unref, n as normalizeClass, ax as withDirectives, e as createBlock, fc as ElTableColumn, fd as ElTable, g as useI18n, fe as createFormEventBus, ae as MODAL_CONFIRM, m as resolveComponent, cT as resolveDirective, ak as useMessage, ff as capitalizeFirstLetter, fg as convertToDisplayDate, _ as _export_sfc } from "./index-BwoviwZU.js";
1
+ import { ce as getDefaultExportFromCjs, r as ref, aY as toRefs, o as onMounted, b4 as onUnmounted, c as openBlock, h as createElementBlock, s as renderSlot, i as createVNode, f as createCommentVNode, j as createBaseVNode, t as toDisplayString, H as watch, y as nextTick, f8 as pushScopeId, f9 as popScopeId, d as defineComponent, a as useToast, a3 as useDocumentTitle, a5 as usePageRedirectionHelper, p as useSettingsStore, q as computed, w as withCtx, k as createTextVNode, l as unref, n as normalizeClass, ax as withDirectives, e as createBlock, fa as ElTableColumn, fb as ElTable, g as useI18n, fc as createFormEventBus, ae as MODAL_CONFIRM, m as resolveComponent, cT as resolveDirective, ak as useMessage, fd as capitalizeFirstLetter, fe as convertToDisplayDate, _ as _export_sfc } from "./index-DCrfHAqy.js";
2
2
  var humanizeDuration$1 = { exports: {} };
3
3
  var hasRequiredHumanizeDuration;
4
4
  function requireHumanizeDuration() {
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, c0 as deepCopy, fu as defaultMessageEventBusDestinationOptions, fv as useLogStreamingStore, r as ref, o as onMounted, aw as onBeforeMount, q as computed, ds as assert, m as resolveComponent, c as openBlock, e as createBlock, w as withCtx, j as createBaseVNode, i as createVNode, n as normalizeClass, k as createTextVNode, t as toDisplayString, l as unref, g as useI18n, ae as MODAL_CONFIRM, ak as useMessage, _ as _export_sfc, p as useSettingsStore, T as useWorkflowsStore, K as useUIStore, bR as useCredentialsStore, a3 as useDocumentTitle, a5 as usePageRedirectionHelper, h as createElementBlock, F as Fragment, f as createCommentVNode, ax as withDirectives, A as renderList, C as createEventBus, bk as v4, y as nextTick, fw as LOG_STREAM_MODAL_KEY, cT as resolveDirective, a8 as EnterpriseEditionFeature, am as hasPermission, d9 as getCurrentInstance } from "./index-BwoviwZU.js";
1
+ import { d as defineComponent, c0 as deepCopy, fs as defaultMessageEventBusDestinationOptions, ft as useLogStreamingStore, r as ref, o as onMounted, aw as onBeforeMount, q as computed, ds as assert, m as resolveComponent, c as openBlock, e as createBlock, w as withCtx, j as createBaseVNode, i as createVNode, n as normalizeClass, k as createTextVNode, t as toDisplayString, l as unref, g as useI18n, ae as MODAL_CONFIRM, ak as useMessage, _ as _export_sfc, p as useSettingsStore, T as useWorkflowsStore, K as useUIStore, bS as useCredentialsStore, a3 as useDocumentTitle, a5 as usePageRedirectionHelper, h as createElementBlock, F as Fragment, f as createCommentVNode, ax as withDirectives, A as renderList, C as createEventBus, bk as v4, y as nextTick, fu as LOG_STREAM_MODAL_KEY, cT as resolveDirective, a8 as EnterpriseEditionFeature, am as hasPermission, d9 as getCurrentInstance } from "./index-DCrfHAqy.js";
2
2
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
3
3
  __name: "EventDestinationCard.ee",
4
4
  props: {
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, a as useToast, a3 as useDocumentTitle, r as ref, K as useUIStore, u as useUsersStore, p as useSettingsStore, q as computed, o as onMounted, x as onBeforeUnmount, fh as promptMfaCodeBus, c as openBlock, h as createElementBlock, j as createBaseVNode, i as createVNode, w as withCtx, k as createTextVNode, t as toDisplayString, l as unref, n as normalizeClass, f as createCommentVNode, e as createBlock, fi as MFA_DOCS_URL, F as Fragment, A as renderList, g as useI18n, fe as createFormEventBus, fj as PROMPT_MFA_CODE_MODAL_KEY, fk as CHANGE_PASSWORD_MODAL_KEY, fl as MFA_SETUP_MODAL_KEY, m as resolveComponent, _ as _export_sfc } from "./index-BwoviwZU.js";
1
+ import { d as defineComponent, a as useToast, a3 as useDocumentTitle, r as ref, K as useUIStore, u as useUsersStore, p as useSettingsStore, q as computed, o as onMounted, x as onBeforeUnmount, ff as promptMfaCodeBus, c as openBlock, h as createElementBlock, j as createBaseVNode, i as createVNode, w as withCtx, k as createTextVNode, t as toDisplayString, l as unref, n as normalizeClass, f as createCommentVNode, e as createBlock, fg as MFA_DOCS_URL, F as Fragment, A as renderList, g as useI18n, fc as createFormEventBus, fh as PROMPT_MFA_CODE_MODAL_KEY, fi as CHANGE_PASSWORD_MODAL_KEY, fj as MFA_SETUP_MODAL_KEY, m as resolveComponent, _ as _export_sfc } from "./index-DCrfHAqy.js";
2
2
  const _hoisted_1 = { class: "mb-s" };
3
3
  const _hoisted_2 = { "data-test-id": "personal-data-form" };
4
4
  const _hoisted_3 = { key: 0 };
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, a0 as useSourceControlStore, a5 as usePageRedirectionHelper, a as useToast, a3 as useDocumentTitle, aC as useLoadingService, r as ref, q as computed, o as onMounted, dC as reactive, c as openBlock, h as createElementBlock, i as createVNode, w as withCtx, k as createTextVNode, t as toDisplayString, l as unref, j as createBaseVNode, n as normalizeClass, e as createBlock, f as createCommentVNode, d0 as CopyInput, g as useI18n, ae as MODAL_CONFIRM, m as resolveComponent, ak as useMessage, _ as _export_sfc } from "./index-BwoviwZU.js";
1
+ import { d as defineComponent, a0 as useSourceControlStore, a5 as usePageRedirectionHelper, a as useToast, a3 as useDocumentTitle, aC as useLoadingService, r as ref, q as computed, o as onMounted, dC as reactive, c as openBlock, h as createElementBlock, i as createVNode, w as withCtx, k as createTextVNode, t as toDisplayString, l as unref, j as createBaseVNode, n as normalizeClass, e as createBlock, f as createCommentVNode, d0 as CopyInput, g as useI18n, ae as MODAL_CONFIRM, m as resolveComponent, ak as useMessage, _ as _export_sfc } from "./index-DCrfHAqy.js";
2
2
  const _hoisted_1 = {
3
3
  key: 0,
4
4
  "data-test-id": "source-control-content-licensed"
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, Z as useRootStore, fm as useSSOStore, a as useToast, a3 as useDocumentTitle, a5 as usePageRedirectionHelper, q as computed, r as ref, o as onMounted, c as openBlock, h as createElementBlock, i as createVNode, w as withCtx, k as createTextVNode, t as toDisplayString, l as unref, j as createBaseVNode, e as createBlock, n as normalizeClass, f as createCommentVNode, d0 as CopyInput, ax as withDirectives, ay as vShow, g as useI18n, m as resolveComponent, aj as useTelemetry, ak as useMessage, _ as _export_sfc } from "./index-BwoviwZU.js";
1
+ import { d as defineComponent, Z as useRootStore, fk as useSSOStore, a as useToast, a3 as useDocumentTitle, a5 as usePageRedirectionHelper, q as computed, r as ref, o as onMounted, c as openBlock, h as createElementBlock, i as createVNode, w as withCtx, k as createTextVNode, t as toDisplayString, l as unref, j as createBaseVNode, e as createBlock, n as normalizeClass, f as createCommentVNode, d0 as CopyInput, ax as withDirectives, ay as vShow, g as useI18n, m as resolveComponent, aj as useTelemetry, ak as useMessage, _ as _export_sfc } from "./index-DCrfHAqy.js";
2
2
  const _hoisted_1 = { class: "pb-3xl" };
3
3
  const _hoisted_2 = {
4
4
  href: "https://docs.n8n.io/user-management/saml/",
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, fZ as useUsageStore, U as useRoute, b as useRouter, K as useUIStore, u as useUsersStore, a as useToast, a3 as useDocumentTitle, a5 as usePageRedirectionHelper, r as ref, q as computed, o as onMounted, f_ as i18n, c as openBlock, h as createElementBlock, i as createVNode, w as withCtx, k as createTextVNode, t as toDisplayString, l as unref, n as normalizeClass, e as createBlock, f as createCommentVNode, j as createBaseVNode, B as normalizeStyle, cB as InfoTip, I as withModifiers, f$ as COMMUNITY_PLUS_ENROLLMENT_MODAL, m as resolveComponent, am as hasPermission, al as getResourcePermissions, g0 as telemetry, _ as _export_sfc } from "./index-BwoviwZU.js";
1
+ import { d as defineComponent, fX as useUsageStore, U as useRoute, b as useRouter, K as useUIStore, u as useUsersStore, a as useToast, a3 as useDocumentTitle, a5 as usePageRedirectionHelper, r as ref, q as computed, o as onMounted, fY as i18n, c as openBlock, h as createElementBlock, i as createVNode, w as withCtx, k as createTextVNode, t as toDisplayString, l as unref, n as normalizeClass, e as createBlock, f as createCommentVNode, j as createBaseVNode, B as normalizeStyle, cB as InfoTip, I as withModifiers, fZ as COMMUNITY_PLUS_ENROLLMENT_MODAL, m as resolveComponent, am as hasPermission, al as getResourcePermissions, f_ as telemetry, _ as _export_sfc } from "./index-DCrfHAqy.js";
2
2
  const _hoisted_1 = { class: "settings-usage-and-plan" };
3
3
  const _hoisted_2 = { key: 0 };
4
4
  const _hoisted_3 = { key: 0 };
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, b6 as useClipboard, a as useToast, p as useSettingsStore, K as useUIStore, u as useUsersStore, fm as useSSOStore, a3 as useDocumentTitle, a5 as usePageRedirectionHelper, q as computed, o as onMounted, c as openBlock, h as createElementBlock, j as createBaseVNode, i as createVNode, w as withCtx, k as createTextVNode, t as toDisplayString, l as unref, n as normalizeClass, f as createCommentVNode, e as createBlock, F as Fragment, A as renderList, g as useI18n, fn as INVITE_USER_MODAL_KEY, m as resolveComponent, am as hasPermission, a8 as EnterpriseEditionFeature, fo as ROLE, _ as _export_sfc } from "./index-BwoviwZU.js";
1
+ import { d as defineComponent, b6 as useClipboard, a as useToast, p as useSettingsStore, K as useUIStore, u as useUsersStore, fk as useSSOStore, a3 as useDocumentTitle, a5 as usePageRedirectionHelper, q as computed, o as onMounted, c as openBlock, h as createElementBlock, j as createBaseVNode, i as createVNode, w as withCtx, k as createTextVNode, t as toDisplayString, l as unref, n as normalizeClass, f as createCommentVNode, e as createBlock, F as Fragment, A as renderList, g as useI18n, fl as INVITE_USER_MODAL_KEY, m as resolveComponent, am as hasPermission, a8 as EnterpriseEditionFeature, fm as ROLE, _ as _export_sfc } from "./index-DCrfHAqy.js";
2
2
  const _sfc_main = /* @__PURE__ */ defineComponent({
3
3
  __name: "SettingsUsersView",
4
4
  setup(__props) {
@@ -1,4 +1,4 @@
1
- import { am as hasPermission, d as defineComponent, b as useRouter, U as useRoute, Z as useRootStore, p as useSettingsStore, K as useUIStore, q as computed, c as openBlock, h as createElementBlock, i as createVNode, w as withCtx, j as createBaseVNode, k as createTextVNode, t as toDisplayString, l as unref, n as normalizeClass, aV as ABOUT_MODAL_KEY, g as useI18n, m as resolveComponent, V as VIEWS, _ as _export_sfc, r as ref, o as onMounted, a$ as mergeProps, f9 as isRouteLocationRaw } from "./index-BwoviwZU.js";
1
+ import { am as hasPermission, d as defineComponent, b as useRouter, U as useRoute, Z as useRootStore, p as useSettingsStore, K as useUIStore, q as computed, c as openBlock, h as createElementBlock, i as createVNode, w as withCtx, j as createBaseVNode, k as createTextVNode, t as toDisplayString, l as unref, n as normalizeClass, aV as ABOUT_MODAL_KEY, g as useI18n, m as resolveComponent, V as VIEWS, _ as _export_sfc, r as ref, o as onMounted, a$ as mergeProps, f7 as isRouteLocationRaw } from "./index-DCrfHAqy.js";
2
2
  function useUserHelpers(router, route) {
3
3
  const canUserAccessRouteByName = (name) => {
4
4
  const resolvedRoute = router.resolve({ name });
@@ -1,6 +1,6 @@
1
- import { d as defineComponent, p as useSettingsStore, K as useUIStore, u as useUsersStore, a as useToast, b as useRouter, r as ref, dC as reactive, c as openBlock, e as createBlock, g as useI18n, V as VIEWS } from "./index-BwoviwZU.js";
2
- import { A as AuthView } from "./AuthView-D1tEXMXA.js";
3
- import "./Logo-CmkNIoey.js";
1
+ import { d as defineComponent, p as useSettingsStore, K as useUIStore, u as useUsersStore, a as useToast, b as useRouter, r as ref, dC as reactive, c as openBlock, e as createBlock, g as useI18n, V as VIEWS } from "./index-DCrfHAqy.js";
2
+ import { A as AuthView } from "./AuthView-BWy2AXVx.js";
3
+ import "./Logo-DCNJYrds.js";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "SetupView",
6
6
  setup(__props) {
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, T as useWorkflowsStore, bo as useNodeTypesStore, K as useUIStore, au as usePostHog, q as computed, ix as doesNodeHaveAllCredentialsFilled, fG as TEMPLATE_CREDENTIAL_SETUP_EXPERIMENT, H as watch, x as onBeforeUnmount, iy as SETUP_CREDENTIALS_MODAL_KEY, m as resolveComponent, c as openBlock, e as createBlock, l as unref, f as createCommentVNode, g as useI18n } from "./index-BwoviwZU.js";
1
+ import { d as defineComponent, T as useWorkflowsStore, bo as useNodeTypesStore, K as useUIStore, au as usePostHog, q as computed, iD as doesNodeHaveAllCredentialsFilled, fE as TEMPLATE_CREDENTIAL_SETUP_EXPERIMENT, H as watch, x as onBeforeUnmount, iE as SETUP_CREDENTIALS_MODAL_KEY, m as resolveComponent, c as openBlock, e as createBlock, l as unref, f as createCommentVNode, g as useI18n } from "./index-DCrfHAqy.js";
2
2
  const _sfc_main = /* @__PURE__ */ defineComponent({
3
3
  __name: "SetupWorkflowCredentialsButton",
4
4
  setup(__props) {
@@ -1,6 +1,6 @@
1
- import { R as defineStore, r as ref, aM as useTemplatesStore, bo as useNodeTypesStore, bR as useCredentialsStore, Z as useRootStore, T as useWorkflowsStore, q as computed, fF as useCredentialSetupState, V as VIEWS, dV as tryToParseNumber, aT as useExternalHooks, aj as useTelemetry, d as defineComponent, au as usePostHog, U as useRoute, b as useRouter, H as watch, aw as onBeforeMount, fG as TEMPLATE_CREDENTIAL_SETUP_EXPERIMENT, o as onMounted, c as openBlock, e as createBlock, w as withCtx, l as unref, fH as N8nHeading, k as createTextVNode, t as toDisplayString, j as createBaseVNode, n as normalizeClass, fI as AppsRequiringCredsNotice, h as createElementBlock, F as Fragment, A as renderList, i as createVNode, aO as N8nLink, g as useI18n, m as resolveComponent, fJ as SetupTemplateFormStep, _ as _export_sfc } from "./index-BwoviwZU.js";
2
- import { c as createWorkflowFromTemplate } from "./templateActions-CDiqnge9.js";
3
- import { T as TemplatesView } from "./TemplatesView-CgQelQ-w.js";
1
+ import { R as defineStore, r as ref, aM as useTemplatesStore, bo as useNodeTypesStore, bS as useCredentialsStore, Z as useRootStore, T as useWorkflowsStore, q as computed, fD as useCredentialSetupState, V as VIEWS, dV as tryToParseNumber, aT as useExternalHooks, aj as useTelemetry, d as defineComponent, au as usePostHog, U as useRoute, b as useRouter, H as watch, aw as onBeforeMount, fE as TEMPLATE_CREDENTIAL_SETUP_EXPERIMENT, o as onMounted, c as openBlock, e as createBlock, w as withCtx, l as unref, fF as N8nHeading, k as createTextVNode, t as toDisplayString, j as createBaseVNode, n as normalizeClass, fG as AppsRequiringCredsNotice, h as createElementBlock, F as Fragment, A as renderList, i as createVNode, aO as N8nLink, g as useI18n, m as resolveComponent, fH as SetupTemplateFormStep, _ as _export_sfc } from "./index-DCrfHAqy.js";
2
+ import { c as createWorkflowFromTemplate } from "./templateActions-B1TLkU9O.js";
3
+ import { T as TemplatesView } from "./TemplatesView-CLnu-Vk0.js";
4
4
  const useSetupTemplateStore = defineStore("setupTemplate", () => {
5
5
  const templateId = ref("");
6
6
  const isLoading = ref(true);
@@ -1,6 +1,6 @@
1
- import { d as defineComponent, r as ref, fx as toRefs, p as useSettingsStore, o as onMounted, c as openBlock, h as createElementBlock, i as createVNode, l as unref, w as withCtx, j as createBaseVNode, k as createTextVNode, t as toDisplayString, n as normalizeClass, e as createBlock, f as createCommentVNode, g as useI18n, fy as MFA_FORM, m as resolveComponent, fz as mfaEventBus, M as MFA_AUTHENTICATION_CODE_INPUT_MAX_LENGTH, fA as MFA_AUTHENTICATION_RECOVERY_CODE_INPUT_MAX_LENGTH, _ as _export_sfc, u as useUsersStore, aH as useCloudPlanStore, U as useRoute, b as useRouter, a as useToast, q as computed, dC as reactive, V as VIEWS, fB as MFA_AUTHENTICATION_REQUIRED_ERROR_CODE, aj as useTelemetry } from "./index-BwoviwZU.js";
2
- import { A as AuthView } from "./AuthView-D1tEXMXA.js";
3
- import { L as Logo } from "./Logo-CmkNIoey.js";
1
+ import { d as defineComponent, r as ref, fv as toRefs, p as useSettingsStore, o as onMounted, c as openBlock, h as createElementBlock, i as createVNode, l as unref, w as withCtx, j as createBaseVNode, k as createTextVNode, t as toDisplayString, n as normalizeClass, e as createBlock, f as createCommentVNode, g as useI18n, fw as MFA_FORM, m as resolveComponent, fx as mfaEventBus, M as MFA_AUTHENTICATION_CODE_INPUT_MAX_LENGTH, fy as MFA_AUTHENTICATION_RECOVERY_CODE_INPUT_MAX_LENGTH, _ as _export_sfc, u as useUsersStore, aH as useCloudPlanStore, U as useRoute, b as useRouter, a as useToast, q as computed, dC as reactive, V as VIEWS, fz as MFA_AUTHENTICATION_REQUIRED_ERROR_CODE, aj as useTelemetry } from "./index-DCrfHAqy.js";
2
+ import { A as AuthView } from "./AuthView-BWy2AXVx.js";
3
+ import { L as Logo } from "./Logo-DCNJYrds.js";
4
4
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
5
5
  __name: "MfaView",
6
6
  props: {
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, u as useUsersStore, a as useToast, b as useRouter, o as onMounted, c as openBlock, h as createElementBlock, V as VIEWS, g as useI18n } from "./index-BwoviwZU.js";
1
+ import { d as defineComponent, u as useUsersStore, a as useToast, b as useRouter, o as onMounted, c as openBlock, h as createElementBlock, V as VIEWS, g as useI18n } from "./index-DCrfHAqy.js";
2
2
  const _sfc_main = /* @__PURE__ */ defineComponent({
3
3
  __name: "SignoutView",
4
4
  setup(__props) {
@@ -1,6 +1,6 @@
1
- import { A as AuthView } from "./AuthView-D1tEXMXA.js";
2
- import { d as defineComponent, K as useUIStore, u as useUsersStore, a as useToast, b as useRouter, U as useRoute, r as ref, q as computed, o as onMounted, V as VIEWS, c as openBlock, e as createBlock, g as useI18n } from "./index-BwoviwZU.js";
3
- import "./Logo-CmkNIoey.js";
1
+ import { A as AuthView } from "./AuthView-BWy2AXVx.js";
2
+ import { d as defineComponent, K as useUIStore, u as useUsersStore, a as useToast, b as useRouter, U as useRoute, r as ref, q as computed, o as onMounted, V as VIEWS, c as openBlock, e as createBlock, g as useI18n } from "./index-DCrfHAqy.js";
3
+ import "./Logo-DCNJYrds.js";
4
4
  const _sfc_main = /* @__PURE__ */ defineComponent({
5
5
  __name: "SignupView",
6
6
  setup(__props) {
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, c as openBlock, h as createElementBlock, j as createBaseVNode, i as createVNode, w as withCtx, k as createTextVNode, t as toDisplayString, n as normalizeClass, s as renderSlot, m as resolveComponent, _ as _export_sfc, b as useRouter, aM as useTemplatesStore, e as createBlock, F as Fragment, A as renderList, l as unref, fC as filterTemplateNodes, f as createCommentVNode, fD as _sfc_main$2, fE as abbreviateNumber, g as useI18n, br as _sfc_main$3 } from "./index-BwoviwZU.js";
1
+ import { d as defineComponent, c as openBlock, h as createElementBlock, j as createBaseVNode, i as createVNode, w as withCtx, k as createTextVNode, t as toDisplayString, n as normalizeClass, s as renderSlot, m as resolveComponent, _ as _export_sfc, b as useRouter, aM as useTemplatesStore, e as createBlock, F as Fragment, A as renderList, l as unref, fA as filterTemplateNodes, f as createCommentVNode, fB as _sfc_main$2, fC as abbreviateNumber, g as useI18n, bs as _sfc_main$3 } from "./index-DCrfHAqy.js";
2
2
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
3
3
  __name: "TemplateDetailsBlock",
4
4
  props: {
@@ -1,4 +1,4 @@
1
- import { d as defineComponent, q as computed, fC as filterTemplateNodes, c as openBlock, h as createElementBlock, F as Fragment, A as renderList, n as normalizeClass, i as createVNode, br as _sfc_main$3, t as toDisplayString, f as createCommentVNode, _ as _export_sfc, m as resolveComponent, w as withCtx, k as createTextVNode, l as unref, fE as abbreviateNumber, fD as _sfc_main$4, e as createBlock, I as withModifiers, g as useI18n, r as ref, o as onMounted, x as onBeforeUnmount, j as createBaseVNode } from "./index-BwoviwZU.js";
1
+ import { d as defineComponent, q as computed, fA as filterTemplateNodes, c as openBlock, h as createElementBlock, F as Fragment, A as renderList, n as normalizeClass, i as createVNode, bs as _sfc_main$3, t as toDisplayString, f as createCommentVNode, _ as _export_sfc, m as resolveComponent, w as withCtx, k as createTextVNode, l as unref, fC as abbreviateNumber, fB as _sfc_main$4, e as createBlock, I as withModifiers, g as useI18n, r as ref, o as onMounted, x as onBeforeUnmount, j as createBaseVNode } from "./index-DCrfHAqy.js";
2
2
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3
3
  __name: "NodeList",
4
4
  props: {