n8n-editor-ui 1.98.1 → 1.99.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/{AnimatedSpinner-BiugD1ff.js → AnimatedSpinner-DBpZ0Yu1.js} +1 -1
- package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BChDakRF.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DosAuCu3.js} +1 -1
- package/dist/assets/{AuthView-D3YwZZ3s.js → AuthView-BiOFaV2S.js} +7 -3
- package/dist/assets/{ChangePasswordView-CItQkQJg.js → ChangePasswordView-mtQwZyOO.js} +3 -3
- package/dist/assets/CollectionParameter-c94uS8bu.js +4 -0
- package/dist/assets/{CredentialsView-DyMOfI6f.js → CredentialsView-DQNwlIXT.js} +22 -13
- package/dist/assets/{DemoFooter-Dy9DQTdo.js → DemoFooter-BwAxjuTl.js} +6 -6
- package/dist/assets/EntityNotFound-CBu7H3J_.css +10 -0
- package/dist/assets/EntityNotFound-ZFryE1o_.js +95 -0
- package/dist/assets/EntityUnAuthorised-BwDthxJU.css +10 -0
- package/dist/assets/EntityUnAuthorised-CKWCBHud.js +72 -0
- package/dist/assets/{ErrorView-BC6y15Eg.js → ErrorView-BY6sewiA.js} +1 -1
- package/dist/assets/{EvaluationsRootView-BbnDfLFy.js → EvaluationsRootView-xOuJQWay.js} +1 -1
- package/dist/assets/{EvaluationsView-Qz7rd_By.js → EvaluationsView-BROhBSOp.js} +3 -3
- package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-mrrUdf3t.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-D9G_v1Ab.js} +2 -2
- package/dist/assets/{ExecutionsView-AgniDaEH.js → ExecutionsView-CbnzvSxS.js} +8 -8
- package/dist/assets/{FileSaver.min-BUciI8xL.js → FileSaver.min-DfMUUVIo.js} +1 -1
- package/dist/assets/{FixedCollectionParameter-NPVvBV3e.js → FixedCollectionParameter-9OU9Hss8.js} +1 -1
- package/dist/assets/{ForgotMyPasswordView-BKsk9OLH.js → ForgotMyPasswordView-BeBiaa7k.js} +3 -3
- package/dist/assets/{InsightsChartAverageRuntime-Dg7z0rOa.js → InsightsChartAverageRuntime-BoOlfupR.js} +4 -4
- package/dist/assets/{InsightsChartFailed-i4tYyVRH.js → InsightsChartFailed-EkxSJRC_.js} +4 -4
- package/dist/assets/{InsightsChartFailureRate-BcWGne0C.js → InsightsChartFailureRate-DILuKQgW.js} +4 -4
- package/dist/assets/{InsightsChartTimeSaved-DugTjxnw.js → InsightsChartTimeSaved-B8zQ-H8f.js} +4 -4
- package/dist/assets/{InsightsChartTotal-DTB7kNLU.js → InsightsChartTotal-CYSe4Yf4.js} +4 -4
- package/dist/assets/{InsightsDashboard-By8MKK7g.js → InsightsDashboard-CBcgJvYC.js} +11 -11
- package/dist/assets/{InsightsPaywall-BX7wpP8k.js → InsightsPaywall-Bjz5a_10.js} +1 -1
- package/dist/assets/{InsightsSummary-DBfE_9FW.js → InsightsSummary-GXzzw2Bl.js} +1 -1
- package/dist/assets/{InsightsTableWorkflows-Dqy8IF2I.js → InsightsTableWorkflows-DkgxvIv4.js} +2 -2
- package/dist/assets/{Logo-BT-1ZjZS.js → Logo-CHeW0pXf.js} +1 -1
- package/dist/assets/{LogsPanel-nh_D5duX.css → LogsPanel-BkEQ0mgk.css} +1 -0
- package/dist/assets/{LogsPanel-CvLCi2ll.js → LogsPanel-D9HhJ7ms.js} +38 -23
- package/dist/assets/{MainHeader-DptCjd0U.js → MainHeader-obfyYKSJ.js} +8 -9
- package/dist/assets/{MainSidebar-BdESTvVI.js → MainSidebar-CEQGuBhs.js} +2 -2
- package/dist/assets/{NodeCreation-CNH2xciY.js → NodeCreation-DPp19Ka9.js} +37 -5
- package/dist/assets/{NodeCreator-Cp8Apzva.css → NodeCreator-B1jJcOYT.css} +126 -0
- package/dist/assets/{NodeCreator-Bgs-It2X.js → NodeCreator-nnCPbD1c.js} +134 -76
- package/dist/assets/{NodeDetailsView-DQ4I8u72.js → NodeDetailsView-DNJ33kVZ.js} +12 -13
- package/dist/assets/{NodeView-i5dNh-Et.js → NodeView-5Dx7iByY.js} +48 -14
- package/dist/assets/{NodeView-Duifly4c.css → NodeView-Cpu1z_ye.css} +16 -16
- package/dist/assets/{ProjectCardBadge-CpBBeiGZ.js → ProjectCardBadge-BWKFpStx.js} +1 -1
- package/dist/assets/{ProjectHeader-BsBpG-Mj.css → ProjectHeader-B5uv4DKo.css} +24 -6
- package/dist/assets/{ProjectHeader-CK7zlcmF.js → ProjectHeader-fFNmvvkD.js} +91 -24
- package/dist/assets/{ProjectSettings-B8_C-09-.js → ProjectSettings-DoNg30_j.js} +41 -16
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-XrUyHArT.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-CI5PGbAh.js} +1 -1
- package/dist/assets/{ResourcesListLayout-BRxlSl_6.js → ResourcesListLayout-BU62R_hh.js} +2 -2
- package/dist/assets/{RunData-D6YmSB6p.js → RunData-CeKn3olP.js} +11 -10
- package/dist/assets/{RunDataJson-BtfKusCo.js → RunDataJson-C_rW7mc7.js} +6 -6
- package/dist/assets/{RunDataJsonActions-CglQIRT9.js → RunDataJsonActions-DRAOfb9H.js} +1 -1
- package/dist/assets/{RunDataParsedAiContent-DPcEKWtn.js → RunDataParsedAiContent-DXoyZ0Lo.js} +4 -4
- package/dist/assets/{RunDataSearch-CIKPqFBd.js → RunDataSearch-C4MgXtFK.js} +1 -1
- package/dist/assets/{RunDataTable-jsoKHQg5.js → RunDataTable-DSs4rVYS.js} +2 -2
- package/dist/assets/{SamlOnboarding-DmXYxVe5.js → SamlOnboarding-lKrgxGB0.js} +7 -7
- package/dist/assets/{SettingsApiView-Bv94CWU3.js → SettingsApiView-C6KULaro.js} +1 -1
- package/dist/assets/{SettingsCommunityNodesView-CI8V-SCE.js → SettingsCommunityNodesView-CyDP25oX.js} +3 -4
- package/dist/assets/{SettingsExternalSecrets-HCqXt9HG.js → SettingsExternalSecrets-BZf4KEM4.js} +1 -1
- package/dist/assets/{SettingsLdapView-B3yMhNoR.js → SettingsLdapView-DZLtSs77.js} +8 -7
- package/dist/assets/{SettingsLogStreamingView-CyDcg7pK.js → SettingsLogStreamingView-CUwQjHKl.js} +1 -1
- package/dist/assets/{SettingsPersonalView-Cjb8Yd0L.js → SettingsPersonalView-Cp7H3KfM.js} +6 -4
- package/dist/assets/{SettingsSourceControl-B4lNTCoc.js → SettingsSourceControl-B0qExx0z.js} +1 -1
- package/dist/assets/{SettingsSso-DyrGnPdA.css → SettingsSso-D4HKPLvV.css} +10 -13
- package/dist/assets/SettingsSso-DuBpfB81.js +496 -0
- package/dist/assets/{SettingsUsageAndPlan-CfHv2SML.js → SettingsUsageAndPlan-Xyw8eMqN.js} +1 -1
- package/dist/assets/{SettingsUsersView-D4szdW0Y.js → SettingsUsersView-Db12aUQP.js} +3 -3
- package/dist/assets/{SettingsView-BCs3728S.js → SettingsView-BYuw6sXO.js} +1 -1
- package/dist/assets/{SetupView-PB2fxBCd.js → SetupView-cDcX6bMh.js} +4 -5
- package/dist/assets/{SetupWorkflowCredentialsButton-DgTQe_yd.js → SetupWorkflowCredentialsButton-B87oaiGh.js} +1 -1
- package/dist/assets/{SetupWorkflowFromTemplateView-7pQX4cNJ.js → SetupWorkflowFromTemplateView-DfDdLi-i.js} +3 -3
- package/dist/assets/{SigninView-BqgxybCQ.js → SigninView-Dqmccr9v.js} +6 -5
- package/dist/assets/{SignoutView-CTKn8Q77.js → SignoutView-xmtpMMVt.js} +1 -1
- package/dist/assets/{SignupView-D8_otRzJ.js → SignupView-imMHiv-n.js} +4 -5
- package/dist/assets/{TemplateDetails-H2-eQcx6.js → TemplateDetails-67i7kfJq.js} +1 -1
- package/dist/assets/{TemplateList-CRgrPugd.js → TemplateList-BsUj3ieO.js} +1 -1
- package/dist/assets/{TemplatesCollectionView-CNoC5FGF.js → TemplatesCollectionView-D0_oPDB3.js} +5 -5
- package/dist/assets/{TemplatesSearchView-BDiwWkwZ.js → TemplatesSearchView-4ryz7-XG.js} +3 -3
- package/dist/assets/{TemplatesView-GnPEf_mW.js → TemplatesView-ByYt4Ep8.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-7E6jyqpd.js → TemplatesWorkflowView-DxiKHsgJ.js} +5 -5
- package/dist/assets/{VariablesView-6sWI8yGj.js → VariablesView-B8wkOWyp.js} +4 -4
- package/dist/assets/{WorkerView-Mvump-QA.js → WorkerView-CAiaTkll.js} +5 -6
- package/dist/assets/{WorkflowActivator-BaxuVQDl.js → WorkflowActivator-CErBRTtp.js} +2 -2
- package/dist/assets/{WorkflowExecutionsInfoAccordion-DM72fu7i.js → WorkflowExecutionsInfoAccordion-BjT3fJFQ.js} +1 -1
- package/dist/assets/{WorkflowExecutionsLandingPage-DX4kL6pX.js → WorkflowExecutionsLandingPage-CrTI4sZL.js} +2 -2
- package/dist/assets/{WorkflowExecutionsPreview-BgpOEXPG.css → WorkflowExecutionsPreview-Bk3NJMZf.css} +9 -9
- package/dist/assets/{WorkflowExecutionsPreview-C2vE7SHl.js → WorkflowExecutionsPreview-i0p45Sej.js} +9 -9
- package/dist/assets/{WorkflowExecutionsView-CTxicDMq.js → WorkflowExecutionsView-CV9YDOwL.js} +5 -5
- package/dist/assets/{WorkflowHistory-CD-Fhy8m.js → WorkflowHistory-BIwUopWh.js} +3 -3
- package/dist/assets/{WorkflowOnboardingView-DWzhpMMj.js → WorkflowOnboardingView-BfxIhcjn.js} +1 -1
- package/dist/assets/{WorkflowPreview-A5nTeLz1.js → WorkflowPreview-kynBnKdp.js} +1 -1
- package/dist/assets/{WorkflowsView-meCWhW8Y.css → WorkflowsView-ipf8KKwB.css} +21 -16
- package/dist/assets/{WorkflowsView-DCmyKz3u.js → WorkflowsView-mZNl15yj.js} +26 -23
- package/dist/assets/{canvas-viI6yjxT.js → canvas-BstTJOpX.js} +1 -1
- package/dist/assets/{chartjs.utils-DVxFoTPh.js → chartjs.utils-C3jZQPP3.js} +2 -2
- package/dist/assets/{en-BcWgUFsO.js → en-gSl4aEB-.js} +18 -2
- package/dist/assets/{global-link-actions-B10zAHg8.js → global-link-actions-CW1V4kFI.js} +1 -1
- package/dist/assets/{import-curl-B1dF12h6.js → import-curl-CF2r_L9J.js} +1 -1
- package/dist/assets/{index-B-xWz5mo.css → index-C1XlnjOl.css} +103 -70
- package/dist/assets/{index-BNKFpYX3.js → index-CQa0Jv2S.js} +1 -1
- package/dist/assets/{index--ag0tEQM.js → index-Q8IZ0Cou.js} +31613 -30742
- package/dist/assets/{pickBy-Bnnxgs5-.js → pickBy-Biy2pl7T.js} +1 -1
- package/dist/assets/{templateActions-CXnj7CA4.js → templateActions-DaSXNJXL.js} +1 -1
- package/dist/assets/{useBeforeUnload-CZLqOCP0.js → useBeforeUnload-C71vlfPw.js} +1 -1
- package/dist/assets/{useExecutionDebugging-CoJa-NM6.js → useExecutionDebugging-DbaExLsv.js} +1 -1
- package/dist/assets/{useExecutionHelpers-97Ddzif0.js → useExecutionHelpers-A5rsPx0e.js} +1 -1
- package/dist/assets/{useImportCurlCommand-t6LpQGpC.js → useImportCurlCommand-oVnUvrp_.js} +2 -2
- package/dist/assets/{useProjectPages-C95x1s47.js → useProjectPages-DV4j_y25.js} +6 -2
- package/dist/assets/{usePushConnection-C1qgSYjB.js → usePushConnection-CAxPjJ8k.js} +2 -3
- package/dist/assets/{useWorkflowActivate-E5Lz7Bjd.js → useWorkflowActivate-BTOkypU2.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +1 -1
- package/dist/assets/CollectionParameter-Bm8EojJq.js +0 -4
- package/dist/assets/SettingsSso-CTy78phb.js +0 -327
- package/dist/assets/easyAiWorkflowUtils-CWag2afn.js +0 -132
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as _sfc_main$i, H as HighlightJS, V as VueMarkdown, R as RunData } from "./RunData-
|
|
3
|
-
import { c as canvasEventBus } from "./canvas-
|
|
4
|
-
import "./FileSaver.min-
|
|
5
|
-
import "./useExecutionHelpers-
|
|
1
|
+
import { b4 as isArrayLike, b5 as isArray, b6 as isBuffer, b7 as isTypedArray, b8 as isArguments, b9 as getTag, ba as isPrototype, bb as baseKeys, bc as addTokenUsageData, bd as emptyTokenUsageData, be as isChatNode, bf as NodeConnectionTypes, bg as v4, bh as get, bi as isRef, bj as isReactive, bk as isProxy, bl as toRaw, bm as AGENT_LANGCHAIN_NODE_TYPE, bn as MANUAL_CHAT_TRIGGER_NODE_TYPE, bo as CHAT_TRIGGER_NODE_TYPE, a as useToast, r as ref, x as computed, c as useI18n$1, bp as usePinnedData, ao as useMessage, ap as MODAL_CONFIRM, T as useWorkflowsStore, bq as useLogsStore, b as useRouter, br as useNodeHelpers, bs as useRunWorkflow, V as VIEWS, bt as chatEventBus, $ as watch, bu as provide, d as defineComponent, i as createElementBlock, g as openBlock, n as normalizeClass, j as createVNode, k as createBaseVNode, m as unref, p as N8nText, w as withCtx, A as renderSlot, l as createTextVNode, t as toDisplayString, _ as _export_sfc, U as useRoute, a3 as useSourceControlStore, bv as useCanvasOperations, bw as useNodeTypesStore, bx as START_NODE_TYPE, e as createBlock, f as createCommentVNode, aZ as N8nTooltip, by as formatTokenUsageCount, bz as getDefaultExportFromCjs, bA as requireUpperFirst, ag as useTemplateRef, bB as useTimestamp, bC as toTime, bD as toDayMonth, bE as withModifiers, F as Fragment, G as renderList, D as normalizeStyle, bF as _sfc_main$j, bG as I18nT, bH as N8nIcon, a$ as _sfc_main$k, q as N8nButton, B as nextTick, bI as useVirtualList, bJ as toRef, bK as mergeProps, bL as N8nRadioButtons, bM as inject, bN as toRefs, o as onMounted, bO as normalizeProps, bP as guardReactiveProps, bQ as resolveDynamicComponent, bR as markdownLink, bS as useFileDialog, bT as onUnmounted, aI as withDirectives, bU as vModelText, bV as withKeys, h as resolveComponent, bW as useClipboard, b1 as createSlots, aA as useNDVStore, bX as resolveDirective, a_ as N8nLink, bY as waitingNodeTooltip, aD as useLocalStorage, bZ as LOG_DETAILS_PANEL_STATE, b_ as KeyboardShortcutTooltip, b$ as N8nResizeWrapper, c0 as useStyles, c1 as N8nActionDropdown, c2 as Workflow, c3 as useThrottleFn, c4 as parse, J as useUIStore, a2 as useCanvasStore, am as useTelemetry, z as onBeforeUnmount, c5 as useProvideTooltipAppendTo, c6 as IsInPiPWindowSymbol, c7 as LOGS_PANEL_STATE, c8 as LOCAL_STORAGE_PANEL_HEIGHT, c9 as LOCAL_STORAGE_OVERVIEW_PANEL_WIDTH, ca as LOCAL_STORAGE_PANEL_WIDTH, cb as ndvEventBus } from "./index-Q8IZ0Cou.js";
|
|
2
|
+
import { p as parseErrorMetadata, _ as _sfc_main$i, H as HighlightJS, V as VueMarkdown, R as RunData } from "./RunData-CeKn3olP.js";
|
|
3
|
+
import { c as canvasEventBus } from "./canvas-BstTJOpX.js";
|
|
4
|
+
import "./FileSaver.min-DfMUUVIo.js";
|
|
5
|
+
import "./useExecutionHelpers-A5rsPx0e.js";
|
|
6
6
|
const TOOL_EXECUTOR_NODE_NAME = "PartialExecutionToolExecutor";
|
|
7
7
|
var mapTag = "[object Map]", setTag = "[object Set]";
|
|
8
8
|
var objectProto = Object.prototype;
|
|
@@ -58,12 +58,11 @@ function createNode(node, context, runIndex, runData, children = []) {
|
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
60
|
function getChildNodes(treeNode, node, runIndex, context) {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
const
|
|
64
|
-
const
|
|
65
|
-
|
|
66
|
-
if (!workflow || !subWorkflowRunData || !executionId) {
|
|
61
|
+
const subExecutionLocator = findSubExecutionLocator(treeNode);
|
|
62
|
+
if (subExecutionLocator !== void 0) {
|
|
63
|
+
const workflow = context.workflows[subExecutionLocator.workflowId];
|
|
64
|
+
const subWorkflowRunData = context.subWorkflowData[subExecutionLocator.executionId];
|
|
65
|
+
if (!workflow || !subWorkflowRunData) {
|
|
67
66
|
return [];
|
|
68
67
|
}
|
|
69
68
|
return createLogTreeRec({
|
|
@@ -71,12 +70,12 @@ function getChildNodes(treeNode, node, runIndex, context) {
|
|
|
71
70
|
parent: treeNode,
|
|
72
71
|
depth: context.depth + 1,
|
|
73
72
|
workflow,
|
|
74
|
-
executionId,
|
|
73
|
+
executionId: subExecutionLocator.executionId,
|
|
75
74
|
data: subWorkflowRunData
|
|
76
75
|
});
|
|
77
76
|
}
|
|
78
77
|
const connectedSubNodes = context.workflow.getParentNodes(node.name, "ALL_NON_MAIN", 1);
|
|
79
|
-
const isExecutionRoot = treeNode
|
|
78
|
+
const isExecutionRoot = !isSubNodeLog(treeNode);
|
|
80
79
|
function isMatchedSource(source) {
|
|
81
80
|
return (source?.previousNode === node.name || isPlaceholderLog(treeNode) && source?.previousNode === TOOL_EXECUTOR_NODE_NAME) && (runIndex === void 0 || source.previousNodeRun === runIndex);
|
|
82
81
|
}
|
|
@@ -297,7 +296,14 @@ function mergeStartData(startData, response) {
|
|
|
297
296
|
};
|
|
298
297
|
}
|
|
299
298
|
function hasSubExecution(entry) {
|
|
300
|
-
return
|
|
299
|
+
return findSubExecutionLocator(entry) !== void 0;
|
|
300
|
+
}
|
|
301
|
+
function findSubExecutionLocator(entry) {
|
|
302
|
+
const metadata = entry.runData?.metadata?.subExecution;
|
|
303
|
+
if (metadata) {
|
|
304
|
+
return { workflowId: metadata.workflowId, executionId: metadata.executionId };
|
|
305
|
+
}
|
|
306
|
+
return parseErrorMetadata(entry.runData?.error)?.subExecution;
|
|
301
307
|
}
|
|
302
308
|
function getDepth(entry) {
|
|
303
309
|
let depth = 0;
|
|
@@ -384,6 +390,9 @@ function restoreChatHistory(workflowExecutionData, emptyText2) {
|
|
|
384
390
|
);
|
|
385
391
|
return [...userMessage ? [userMessage] : [], ...botMessage ? [botMessage] : []];
|
|
386
392
|
}
|
|
393
|
+
function isSubNodeLog(logEntry) {
|
|
394
|
+
return logEntry.parent !== void 0 && logEntry.parent.executionId === logEntry.executionId;
|
|
395
|
+
}
|
|
387
396
|
function isPlaceholderLog(treeNode) {
|
|
388
397
|
return treeNode.runData === void 0;
|
|
389
398
|
}
|
|
@@ -830,9 +839,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
830
839
|
const subtreeConsumedTokens = computed(
|
|
831
840
|
() => props.shouldShowTokenCountColumn ? getSubtreeTotalConsumedTokens(props.data, false) : void 0
|
|
832
841
|
);
|
|
833
|
-
const hasChildren = computed(
|
|
834
|
-
() => props.data.children.length > 0 || !!props.data.runData?.metadata?.subExecution
|
|
835
|
-
);
|
|
842
|
+
const hasChildren = computed(() => props.data.children.length > 0 || hasSubExecution(props.data));
|
|
836
843
|
function isLastChild(level) {
|
|
837
844
|
let parent = props.data.parent;
|
|
838
845
|
let data = props.data;
|
|
@@ -5383,19 +5390,18 @@ function useLogsExecutionData() {
|
|
|
5383
5390
|
nodeHelpers.updateNodesExecutionIssues();
|
|
5384
5391
|
}
|
|
5385
5392
|
async function loadSubExecution(logEntry) {
|
|
5386
|
-
const
|
|
5387
|
-
|
|
5388
|
-
if (!execData.value?.data || !executionId || !workflowId) {
|
|
5393
|
+
const locator = findSubExecutionLocator(logEntry);
|
|
5394
|
+
if (!execData.value?.data || locator === void 0) {
|
|
5389
5395
|
return;
|
|
5390
5396
|
}
|
|
5391
5397
|
try {
|
|
5392
|
-
const subExecution = await workflowsStore.fetchExecutionDataById(executionId);
|
|
5398
|
+
const subExecution = await workflowsStore.fetchExecutionDataById(locator.executionId);
|
|
5393
5399
|
const data = subExecution?.data ? parse(subExecution.data) : void 0;
|
|
5394
5400
|
if (!data || !subExecution) {
|
|
5395
5401
|
throw Error("Data is missing");
|
|
5396
5402
|
}
|
|
5397
|
-
subWorkflowExecData.value[executionId] = data;
|
|
5398
|
-
subWorkflows.value[workflowId] = new Workflow({
|
|
5403
|
+
subWorkflowExecData.value[locator.executionId] = data;
|
|
5404
|
+
subWorkflows.value[locator.workflowId] = new Workflow({
|
|
5399
5405
|
...subExecution.workflowData,
|
|
5400
5406
|
nodeTypes: workflowsStore.getNodeTypes()
|
|
5401
5407
|
});
|
|
@@ -5478,6 +5484,15 @@ function useLogsSelection(execution, tree2, flatLogEntries, toggleExpand) {
|
|
|
5478
5484
|
manualLogEntrySelection.value = { type: "selected", id: nextEntry.id };
|
|
5479
5485
|
syncSelectionToCanvasIfEnabled(nextEntry);
|
|
5480
5486
|
}
|
|
5487
|
+
watch(
|
|
5488
|
+
selected2,
|
|
5489
|
+
(sel) => {
|
|
5490
|
+
if (sel) {
|
|
5491
|
+
logsStore.setSubNodeSelected(isSubNodeLog(sel));
|
|
5492
|
+
}
|
|
5493
|
+
},
|
|
5494
|
+
{ immediate: true }
|
|
5495
|
+
);
|
|
5481
5496
|
watch(
|
|
5482
5497
|
[() => uiStore.lastSelectedNode, () => logsStore.isLogSelectionSyncedWithCanvas],
|
|
5483
5498
|
([selectedOnCanvas, shouldSync]) => {
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { d as defineComponent,
|
|
2
|
-
import { _ as __unplugin_components_0, W as WorkflowActivator } from "./WorkflowActivator-
|
|
3
|
-
import { _ as _sfc_main$b } from "./PushConnectionTracker.vue_vue_type_script_setup_true_lang-
|
|
4
|
-
import { u as useBeforeUnload } from "./useBeforeUnload-
|
|
5
|
-
import { F as FileSaver_minExports } from "./FileSaver.min-
|
|
6
|
-
import { u as usePushConnection } from "./usePushConnection-
|
|
7
|
-
import "./useWorkflowActivate-
|
|
8
|
-
import "./
|
|
9
|
-
import "./global-link-actions-B10zAHg8.js";
|
|
1
|
+
import { d as defineComponent, y as MAIN_HEADER_TABS, h as resolveComponent, i as createElementBlock, f as createCommentVNode, g as openBlock, n as normalizeClass, j as createVNode, _ as _export_sfc, r as ref, z as onBeforeUnmount, o as onMounted, A as renderSlot, B as nextTick, x as computed, C as debounce, e as createBlock, m as unref, D as normalizeStyle, E as createEventBus, w as withCtx, k as createBaseVNode, F as Fragment, G as renderList, l as createTextVNode, t as toDisplayString, H as useTagsStore, I as useDebounce, J as useUIStore, K as BREAKPOINT_SM, L as BREAKPOINT_XL, O as BREAKPOINT_LG, P as BREAKPOINT_MD, Q as getBannerRowHeight, V as VIEWS, c as useI18n, R as defineStore, S as usePushConnectionStore, T as useWorkflowsStore, u as useUsersStore, U as useRoute, W as PLACEHOLDER_EMPTY_WORKFLOW_ID, X as STORES, Y as TIME, Z as useDocumentVisibility, $ as watch, a0 as useCssModule, a1 as useRootStore, a2 as useCanvasStore, v as useSettingsStore, a3 as useSourceControlStore, a4 as useProjectsStore, a5 as useFoldersStore, a6 as useNpsSurveyStore, b as useRouter, a as useToast, a7 as useDocumentTitle, a8 as useWorkflowSaving, a9 as useWorkflowHelpers, aa as usePageRedirectionHelper, ab as getResourcePermissions, ac as WORKFLOW_MENU_ACTIONS, ad as hasPermission, ae as EnterpriseEditionFeature, af as ProjectTypes, ag as useTemplateRef, ah as InlineRename, ai as MAX_WORKFLOW_NAME_LENGTH, aj as _sfc_main$a, ak as SaveButton, al as WORKFLOW_SHARE_MODAL_KEY, am as useTelemetry, an as nodeViewEventBus, ao as useMessage, ap as MODAL_CONFIRM, aq as WORKFLOW_SETTINGS_MODAL_KEY, ar as SOURCE_CONTROL_PUSH_MODAL_KEY, as as IMPORT_WORKFLOW_URL_MODAL_KEY, at as DUPLICATE_MODAL_KEY, au as ResourceType, av as PROJECT_MOVE_RESOURCE_MODAL, aw as __vitePreload, ax as hyphenate, ay as h, az as hasOwn, aA as useNDVStore, aB as useExecutionsStore, aC as usePostHog, aD as useLocalStorage, aE as LOCAL_STORAGE_HIDE_GITHUB_STAR_BUTTON, aF as WORKFLOW_EVALUATION_EXPERIMENT, aG as STICKY_NODE_TYPE, aH as onBeforeMount, aI as withDirectives, aJ as vShow, aK as N8N_MAIN_GITHUB_REPO_URL } from "./index-Q8IZ0Cou.js";
|
|
2
|
+
import { _ as __unplugin_components_0, W as WorkflowActivator } from "./WorkflowActivator-CErBRTtp.js";
|
|
3
|
+
import { _ as _sfc_main$b } from "./PushConnectionTracker.vue_vue_type_script_setup_true_lang-CI5PGbAh.js";
|
|
4
|
+
import { u as useBeforeUnload } from "./useBeforeUnload-C71vlfPw.js";
|
|
5
|
+
import { F as FileSaver_minExports } from "./FileSaver.min-DfMUUVIo.js";
|
|
6
|
+
import { u as usePushConnection } from "./usePushConnection-CAxPjJ8k.js";
|
|
7
|
+
import "./useWorkflowActivate-BTOkypU2.js";
|
|
8
|
+
import "./global-link-actions-CW1V4kFI.js";
|
|
10
9
|
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
11
10
|
__name: "TabBar",
|
|
12
11
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { L as Logo } from "./Logo-
|
|
1
|
+
import { aL as get, d as defineComponent, aM as useLoadingService, J as useUIStore, a3 as useSourceControlStore, a4 as useProjectsStore, a as useToast, r as ref, x as computed, ad as hasPermission, ab as getResourcePermissions, h as resolveComponent, i as createElementBlock, f as createCommentVNode, g as openBlock, D as normalizeStyle, n as normalizeClass, m as unref, k as createBaseVNode, j as createVNode, l as createTextVNode, t as toDisplayString, w as withCtx, c as useI18n, E as createEventBus, ar as SOURCE_CONTROL_PUSH_MODAL_KEY, aN as notifyUserAboutPullWorkFolderOutcome, aO as sourceControlEventBus, aP as SOURCE_CONTROL_PULL_MODAL_KEY, _ as _export_sfc, R as defineStore, aQ as useCloudPlanStore, a1 as useRootStore, aR as useStorage, aS as DateTime, X as STORES, am as useTelemetry, v as useSettingsStore, b as useRouter, aT as sortByProperty, V as VIEWS, aa as usePageRedirectionHelper, e as createBlock, F as Fragment, G as renderList, aU as useDebugInfo, aV as useTemplatesStore, u as useUsersStore, aW as useVersionsStore, T as useWorkflowsStore, I as useDebounce, U as useRoute, o as onMounted, aX as useExternalHooks, B as nextTick, z as onBeforeUnmount, aY as onClickOutside, aZ as N8nTooltip, a_ as N8nLink, a$ as _sfc_main$5, b0 as N8nNavigationDropdown, b1 as createSlots, b2 as VERSIONS_MODAL_KEY, b3 as ABOUT_MODAL_KEY } from "./index-Q8IZ0Cou.js";
|
|
2
|
+
import { L as Logo } from "./Logo-CHeW0pXf.js";
|
|
3
3
|
async function getBecomeCreatorCta(context) {
|
|
4
4
|
const response = await get(context.baseUrl, "/cta/become-creator");
|
|
5
5
|
return response;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/NodeCreator-
|
|
2
|
-
import {
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/NodeCreator-nnCPbD1c.js","assets/index-Q8IZ0Cou.js","assets/index-C1XlnjOl.css","assets/NodeCreator-B1jJcOYT.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { dx as useNodeCreatorStore, bw as useNodeTypesStore, x as computed, c as useI18n, T as useWorkflowsStore, hr as MANUAL_TRIGGER_NODE_TYPE, hs as CHAIN_LLM_LANGCHAIN_NODE_TYPE, bf as NodeConnectionTypes, bo as CHAT_TRIGGER_NODE_TYPE, ht as OPEN_AI_NODE_MESSAGE_ASSISTANT_TYPE, hu as OPEN_AI_NODE_TYPE, hv as SPLIT_IN_BATCHES_NODE_TYPE, hw as NO_OP_NODE_TYPE, hx as WEBHOOK_NODE_TYPE, hy as SCHEDULE_TRIGGER_NODE_TYPE, hz as transformNodeType, aX as useExternalHooks, a2 as useCanvasStore, hA as AI_CATEGORY_LANGUAGE_MODELS, hB as QA_CHAIN_NODE_TYPE, hC as AGENT_NODE_TYPE, hD as BASIC_CHAIN_NODE_TYPE, hE as OPEN_AI_ASSISTANT_NODE_TYPE, aG as STICKY_NODE_TYPE, hF as sortNodeCreateElements, hG as TRIGGER_NODE_CREATOR_VIEW, dy as NODE_CREATOR_OPEN_SOURCES, d as defineComponent, J as useUIStore, r as ref, c3 as useThrottleFn, o as onMounted, z as onBeforeUnmount, h as resolveComponent, i as createElementBlock, g as openBlock, f as createCommentVNode, e as createBlock, n as normalizeClass, k as createBaseVNode, j as createVNode, w as withCtx, m as unref, b_ as KeyboardShortcutTooltip, ec as defineAsyncComponent, dH as Suspense, F as Fragment, aw as __vitePreload, hH as getMidCanvasPosition, hI as DEFAULT_STICKY_WIDTH, hJ as DEFAULT_STICKY_HEIGHT, _ as _export_sfc } from "./index-Q8IZ0Cou.js";
|
|
3
3
|
const useActions = () => {
|
|
4
4
|
const nodeCreatorStore = useNodeCreatorStore();
|
|
5
5
|
const nodeTypesStore = useNodeTypesStore();
|
|
@@ -93,6 +93,36 @@ const useActions = () => {
|
|
|
93
93
|
value: { ...actionItem.values, ...displayConditions }
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
|
+
function actionDataToNodeTypeSelectedPayload(actionData) {
|
|
97
|
+
const result = {
|
|
98
|
+
type: actionData.key
|
|
99
|
+
};
|
|
100
|
+
if (typeof actionData.value.resource === "string" || typeof actionData.value.operation === "string") {
|
|
101
|
+
result.parameters = {};
|
|
102
|
+
if (typeof actionData.value.resource === "string") {
|
|
103
|
+
result.parameters.resource = actionData.value.resource;
|
|
104
|
+
}
|
|
105
|
+
if (typeof actionData.value.operation === "string") {
|
|
106
|
+
result.parameters.operation = actionData.value.operation;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
return result;
|
|
110
|
+
}
|
|
111
|
+
function nodeCreateElementToNodeTypeSelectedPayload(actionData) {
|
|
112
|
+
const result = {
|
|
113
|
+
type: actionData.key
|
|
114
|
+
};
|
|
115
|
+
if (typeof actionData.resource === "string" || typeof actionData.operation === "string") {
|
|
116
|
+
result.parameters = {};
|
|
117
|
+
if (typeof actionData.resource === "string") {
|
|
118
|
+
result.parameters.resource = actionData.resource;
|
|
119
|
+
}
|
|
120
|
+
if (typeof actionData.operation === "string") {
|
|
121
|
+
result.parameters.operation = actionData.operation;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
return result;
|
|
125
|
+
}
|
|
96
126
|
function shouldConnectWithExistingTrigger(addedNodes) {
|
|
97
127
|
if (addedNodes.length === 2) {
|
|
98
128
|
const isTriggerNode = useNodeTypesStore().isTriggerNode(addedNodes[0].type);
|
|
@@ -224,6 +254,8 @@ const useActions = () => {
|
|
|
224
254
|
}
|
|
225
255
|
return {
|
|
226
256
|
actionsCategoryLocales,
|
|
257
|
+
actionDataToNodeTypeSelectedPayload,
|
|
258
|
+
nodeCreateElementToNodeTypeSelectedPayload,
|
|
227
259
|
getPlaceholderTriggerActions,
|
|
228
260
|
parseCategoryActions,
|
|
229
261
|
getAddedNodesAndConnections,
|
|
@@ -240,7 +272,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
240
272
|
emits: ["addNodes", "toggleNodeCreator"],
|
|
241
273
|
setup(__props, { emit: __emit }) {
|
|
242
274
|
const LazyNodeCreator = defineAsyncComponent(
|
|
243
|
-
async () => await __vitePreload(() => import("./NodeCreator-
|
|
275
|
+
async () => await __vitePreload(() => import("./NodeCreator-nnCPbD1c.js"), true ? __vite__mapDeps([0,1,2,3]) : void 0)
|
|
244
276
|
);
|
|
245
277
|
const props = __props;
|
|
246
278
|
const emit = __emit;
|
|
@@ -279,8 +311,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
279
311
|
emit("toggleNodeCreator", { createNodeActive: false, hasAddedNodes });
|
|
280
312
|
}
|
|
281
313
|
}
|
|
282
|
-
function nodeTypeSelected(
|
|
283
|
-
emit("addNodes", getAddedNodesAndConnections(
|
|
314
|
+
function nodeTypeSelected(value) {
|
|
315
|
+
emit("addNodes", getAddedNodesAndConnections(value));
|
|
284
316
|
closeNodeCreator(true);
|
|
285
317
|
}
|
|
286
318
|
function setWrapperRect() {
|
|
@@ -1685,6 +1685,132 @@
|
|
|
1685
1685
|
--------------------------*/
|
|
1686
1686
|
/* Break-point
|
|
1687
1687
|
--------------------------*/
|
|
1688
|
+
/* Break-points
|
|
1689
|
+
-------------------------- */
|
|
1690
|
+
/* Scrollbar
|
|
1691
|
+
-------------------------- */
|
|
1692
|
+
/* Placeholder
|
|
1693
|
+
-------------------------- */
|
|
1694
|
+
/* BEM
|
|
1695
|
+
-------------------------- */
|
|
1696
|
+
._creatorOpenTemplate_1igyu_123 {
|
|
1697
|
+
--action-arrow-color: var(--color-text-light);
|
|
1698
|
+
margin-left: var(--spacing-s);
|
|
1699
|
+
margin-right: var(--spacing-xs);
|
|
1700
|
+
}/* BEM support Func
|
|
1701
|
+
-------------------------- */
|
|
1702
|
+
/* Transition
|
|
1703
|
+
-------------------------- */
|
|
1704
|
+
/* Color
|
|
1705
|
+
-------------------------- */
|
|
1706
|
+
/* Link
|
|
1707
|
+
-------------------------- */
|
|
1708
|
+
/* Border
|
|
1709
|
+
-------------------------- */
|
|
1710
|
+
/* Outline
|
|
1711
|
+
-------------------------- */
|
|
1712
|
+
/* Box shadow
|
|
1713
|
+
-------------------------- */
|
|
1714
|
+
/* Fill
|
|
1715
|
+
-------------------------- */
|
|
1716
|
+
/* Typography
|
|
1717
|
+
-------------------------- */
|
|
1718
|
+
/* z-index
|
|
1719
|
+
-------------------------- */
|
|
1720
|
+
/* Disable base
|
|
1721
|
+
-------------------------- */
|
|
1722
|
+
/* Icon
|
|
1723
|
+
-------------------------- */
|
|
1724
|
+
/* Checkbox
|
|
1725
|
+
-------------------------- */
|
|
1726
|
+
/* Radio
|
|
1727
|
+
-------------------------- */
|
|
1728
|
+
/* Select
|
|
1729
|
+
-------------------------- */
|
|
1730
|
+
/* Alert
|
|
1731
|
+
-------------------------- */
|
|
1732
|
+
/* MessageBox
|
|
1733
|
+
-------------------------- */
|
|
1734
|
+
/* Message
|
|
1735
|
+
-------------------------- */
|
|
1736
|
+
/* Notification
|
|
1737
|
+
-------------------------- */
|
|
1738
|
+
/* Input
|
|
1739
|
+
-------------------------- */
|
|
1740
|
+
/* Cascader
|
|
1741
|
+
-------------------------- */
|
|
1742
|
+
/* Group
|
|
1743
|
+
-------------------------- */
|
|
1744
|
+
/* Tab
|
|
1745
|
+
-------------------------- */
|
|
1746
|
+
/* Button
|
|
1747
|
+
-------------------------- */
|
|
1748
|
+
/* cascader
|
|
1749
|
+
-------------------------- */
|
|
1750
|
+
/* Switch
|
|
1751
|
+
-------------------------- */
|
|
1752
|
+
/* Dialog
|
|
1753
|
+
-------------------------- */
|
|
1754
|
+
/* Table
|
|
1755
|
+
-------------------------- */
|
|
1756
|
+
/* Pagination
|
|
1757
|
+
-------------------------- */
|
|
1758
|
+
/* Popup
|
|
1759
|
+
-------------------------- */
|
|
1760
|
+
/* Popover
|
|
1761
|
+
-------------------------- */
|
|
1762
|
+
/* Tooltip
|
|
1763
|
+
-------------------------- */
|
|
1764
|
+
/* Tag
|
|
1765
|
+
-------------------------- */
|
|
1766
|
+
/* Tree
|
|
1767
|
+
-------------------------- */
|
|
1768
|
+
/* Dropdown
|
|
1769
|
+
-------------------------- */
|
|
1770
|
+
/* Badge
|
|
1771
|
+
-------------------------- */
|
|
1772
|
+
/* Card
|
|
1773
|
+
--------------------------*/
|
|
1774
|
+
/* Slider
|
|
1775
|
+
--------------------------*/
|
|
1776
|
+
/* Steps
|
|
1777
|
+
--------------------------*/
|
|
1778
|
+
/* Menu
|
|
1779
|
+
--------------------------*/
|
|
1780
|
+
/* Rate
|
|
1781
|
+
--------------------------*/
|
|
1782
|
+
/* DatePicker
|
|
1783
|
+
--------------------------*/
|
|
1784
|
+
/* Loading
|
|
1785
|
+
--------------------------*/
|
|
1786
|
+
/* Scrollbar
|
|
1787
|
+
--------------------------*/
|
|
1788
|
+
/* Carousel
|
|
1789
|
+
--------------------------*/
|
|
1790
|
+
/* Collapse
|
|
1791
|
+
--------------------------*/
|
|
1792
|
+
/* Transfer
|
|
1793
|
+
--------------------------*/
|
|
1794
|
+
/* Header
|
|
1795
|
+
--------------------------*/
|
|
1796
|
+
/* Footer
|
|
1797
|
+
--------------------------*/
|
|
1798
|
+
/* Main
|
|
1799
|
+
--------------------------*/
|
|
1800
|
+
/* Timeline
|
|
1801
|
+
--------------------------*/
|
|
1802
|
+
/* Backtop
|
|
1803
|
+
--------------------------*/
|
|
1804
|
+
/* Link
|
|
1805
|
+
--------------------------*/
|
|
1806
|
+
/* Calendar
|
|
1807
|
+
--------------------------*/
|
|
1808
|
+
/* Form
|
|
1809
|
+
-------------------------- */
|
|
1810
|
+
/* Avatar
|
|
1811
|
+
--------------------------*/
|
|
1812
|
+
/* Break-point
|
|
1813
|
+
--------------------------*/
|
|
1688
1814
|
/* Break-points
|
|
1689
1815
|
-------------------------- */
|
|
1690
1816
|
/* Scrollbar
|