n8n-editor-ui 1.91.0 → 1.92.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-fxUUiJkt.js → AnimatedSpinner-CtKKeDrz.js} +1 -1
- package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DaejGlee.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DR6h_xsK.js} +1 -1
- package/dist/assets/{AuthView-C38evMFm.js → AuthView-mKkzBRxh.js} +2 -2
- package/dist/assets/{CanvasChatSwitch-wA9DYH8v.js → CanvasChatSwitch-Bu2VD2kp.js} +22 -10
- package/dist/assets/{ChangePasswordView-BhWZeFH0.js → ChangePasswordView-D5UI1v-J.js} +3 -3
- package/dist/assets/CollectionParameter-BeCTpZ-q.js +4 -0
- package/dist/assets/{CredentialsView-Nqr-i2Pe.js → CredentialsView-B78eNJO5.js} +6 -6
- package/dist/assets/{DemoFooter-BWR2cAp9.js → DemoFooter-DP26HpCu.js} +8 -8
- package/dist/assets/{ErrorView-CS9OEuyr.js → ErrorView-C3fvEdCg.js} +1 -1
- package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-DetKnv65.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-BBpwYdHY.js} +2 -2
- package/dist/assets/{ExecutionsView-C9YWPuDj.js → ExecutionsView-BvlDZwIs.js} +8 -8
- package/dist/assets/{FileSaver.min-DmkzTNV9.js → FileSaver.min-BzAtcQXX.js} +1 -1
- package/dist/assets/{FixedCollectionParameter-B95bmTf5.js → FixedCollectionParameter-CS5zXMAh.js} +1 -1
- package/dist/assets/{ForgotMyPasswordView-qiBahYik.js → ForgotMyPasswordView-CVQ7pcIG.js} +3 -3
- package/dist/assets/{InsightsChartAverageRuntime-Dxhbd0ns.js → InsightsChartAverageRuntime-Boh0SMb3.js} +4 -4
- package/dist/assets/{InsightsChartFailed-BQcqQ0cP.js → InsightsChartFailed-IZ-KYOU9.js} +4 -4
- package/dist/assets/{InsightsChartFailureRate-ByRknnji.js → InsightsChartFailureRate-2fWw3p0L.js} +4 -4
- package/dist/assets/{InsightsChartTimeSaved-DwWd2CE4.js → InsightsChartTimeSaved-B2pLVys1.js} +4 -4
- package/dist/assets/{InsightsChartTotal-ByBJBO5S.js → InsightsChartTotal-2QD4wPLR.js} +4 -4
- package/dist/assets/{InsightsDashboard-Bi1pPMYJ.js → InsightsDashboard-CbiFbJ8w.js} +10 -10
- package/dist/assets/{InsightsPaywall-BHAFddnZ.js → InsightsPaywall-5d-cSdiS.js} +1 -1
- package/dist/assets/{InsightsSummary-BbdmlYGl.js → InsightsSummary-gldDQ9rg.js} +1 -1
- package/dist/assets/{InsightsTableWorkflows-06mtfv-r.js → InsightsTableWorkflows-_eTCUNCX.js} +2 -2
- package/dist/assets/{Logo-YWli2nsX.js → Logo-Dl2xVRIu.js} +1 -1
- package/dist/assets/{LogsPanel-CutVxFbc.js → LogsPanel-JnYirDqa.js} +73 -105
- package/dist/assets/{LogsPanel-DLC2TAqh.css → LogsPanel-mTaFEGk_.css} +38 -34
- package/dist/assets/{MainHeader-DeD-Rq-o.js → MainHeader-Bk29pgmL.js} +9 -9
- package/dist/assets/{MainSidebar-w7XcpgsG.js → MainSidebar-BM5ku_wM.js} +11 -11
- package/dist/assets/{MainSidebar-CKMiDGvH.css → MainSidebar-zZpP3qQ0.css} +13 -12
- package/dist/assets/{NodeCreation-BPVX4AyM.js → NodeCreation-BEjdAYc_.js} +4 -4
- package/dist/assets/{NodeCreator-ORfmLjpf.js → NodeCreator-cEUgbAI9.js} +3 -3
- package/dist/assets/{NodeDetailsView-z4dW5CZA.js → NodeDetailsView-D4O9dKTA.js} +62 -47
- package/dist/assets/{NodeDetailsView-CGgV4Pn_.css → NodeDetailsView-DsFLtbxi.css} +20 -20
- package/dist/assets/{NodeView-DoYUR6zN.js → NodeView-DDSOUm8E.js} +29 -16
- package/dist/assets/{ProjectCardBadge-9gGGsnO4.js → ProjectCardBadge-BNn2hiMe.js} +1 -1
- package/dist/assets/{ProjectHeader-mP1U8azT.js → ProjectHeader-CaEZ2OPj.js} +1 -1
- package/dist/assets/{ProjectSettings-BXv7wHt2.js → ProjectSettings-otA8E-yW.js} +2 -2
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-Cu81u0g8.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-C3JbZMCk.js} +1 -1
- package/dist/assets/{ResourcesListLayout-l12N8elL.js → ResourcesListLayout-1d9Ic6VX.js} +1 -1
- package/dist/assets/{RunData-C9dtm1M2.css → RunData-BjlZgIyx.css} +12 -2
- package/dist/assets/{RunData-DcTRJlPx.js → RunData-Bx47sNQp.js} +383 -189
- package/dist/assets/{RunDataAi-BF2gZZGr.css → RunDataAi-D9VLFXIf.css} +10 -51
- package/dist/assets/{RunDataAi-gSq_Xjqe.js → RunDataAi-DOac7nwD.js} +27 -310
- package/dist/assets/{RunDataJson-ZWzRQWbP.js → RunDataJson-Pev6yNEV.js} +7 -7
- package/dist/assets/{RunDataJsonActions-CLZHKSxo.js → RunDataJsonActions-Co4xgmVq.js} +1 -1
- package/dist/assets/RunDataParsedAiContent-9EEUzCKp.css +176 -0
- package/dist/assets/RunDataParsedAiContent-D6MNLmT3.js +148 -0
- package/dist/assets/{RunDataSearch-DGVT04w4.js → RunDataSearch-C8orcAlP.js} +1 -1
- package/dist/assets/{RunDataTable-DXZeWFoe.js → RunDataTable-oi_l8dhA.js} +3 -3
- package/dist/assets/{SamlOnboarding-oqY0GJU1.js → SamlOnboarding-CT5J6dx0.js} +3 -3
- package/dist/assets/{SettingsApiView-wOjTe5Iz.js → SettingsApiView-CupjcI9v.js} +1 -1
- package/dist/assets/{SettingsCommunityNodesView-BferxshR.js → SettingsCommunityNodesView-B5K2VLyJ.js} +4 -4
- package/dist/assets/{SettingsExternalSecrets-AVAe3pFB.js → SettingsExternalSecrets-BidJCf_t.js} +1 -1
- package/dist/assets/{SettingsLdapView-Dzz0oH8X.js → SettingsLdapView-Cva6akhW.js} +1 -1
- package/dist/assets/{SettingsLogStreamingView-7wK5X84p.js → SettingsLogStreamingView-Cy-rAKUO.js} +1 -1
- package/dist/assets/{SettingsPersonalView-DFJF_V6T.js → SettingsPersonalView-ZJ1Syok2.js} +14 -13
- package/dist/assets/{SettingsSourceControl-CMcBENTO.js → SettingsSourceControl-CMtqqlkO.js} +1 -1
- package/dist/assets/{SettingsSso-Z1Q6NEkd.js → SettingsSso-Bi3OpykL.js} +1 -1
- package/dist/assets/{SettingsUsageAndPlan-CcRKHQ0-.js → SettingsUsageAndPlan-C5TbwZhP.js} +1 -1
- package/dist/assets/{SettingsUsersView-B3WfDCek.js → SettingsUsersView-BHuP5k0A.js} +1 -1
- package/dist/assets/{SettingsView-BlwKUaR5.js → SettingsView-DPIIqaKN.js} +1 -1
- package/dist/assets/{SetupView-D5lrdUoq.js → SetupView-C4V9j6sh.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-Bc6VdFCN.js → SetupWorkflowCredentialsButton-BZ9ILQUp.js} +1 -1
- package/dist/assets/{SetupWorkflowFromTemplateView-CJD5W1WL.js → SetupWorkflowFromTemplateView-3uV3zSU2.js} +3 -3
- package/dist/assets/{SigninView-DH2fyWJ4.js → SigninView-DWZHdCjG.js} +3 -3
- package/dist/assets/{SignoutView-CBkwCdXi.js → SignoutView-DbduXAir.js} +1 -1
- package/dist/assets/{SignupView-BRMhMcBZ.js → SignupView-DWq6VACk.js} +3 -3
- package/dist/assets/{TemplateDetails-D-BdppKN.js → TemplateDetails-BckqE6GK.js} +1 -1
- package/dist/assets/{TemplateList-BnoYTtBt.js → TemplateList-Bw0JeBMP.js} +1 -1
- package/dist/assets/{TemplatesCollectionView-BjJj8lj5.js → TemplatesCollectionView-CAKT-mpV.js} +5 -5
- package/dist/assets/{TemplatesSearchView-EuczA-oB.js → TemplatesSearchView-I2a5us58.js} +3 -3
- package/dist/assets/{TemplatesView-lDM12E7u.js → TemplatesView-6EwGFFJK.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-CvyrJnPM.js → TemplatesWorkflowView-C8xYMhwu.js} +5 -5
- package/dist/assets/{TestDefinitionEditView-D3rNVRaa.js → TestDefinitionEditView-CNd3Cuzq.js} +7 -7
- package/dist/assets/{TestDefinitionListView-m3RGW84j.js → TestDefinitionListView-BwTWIaAM.js} +1 -1
- package/dist/assets/{TestDefinitionNewView-BdBvbajQ.js → TestDefinitionNewView-BQas0_G1.js} +2 -2
- package/dist/assets/{TestDefinitionRootView-DJnT-m57.js → TestDefinitionRootView-D971MFye.js} +1 -1
- package/dist/assets/{VariablesView-C7i_CSj8.js → VariablesView-DcBBuFxh.js} +3 -3
- package/dist/assets/{WorkerView-GWMai3R9.js → WorkerView-DSgBNIeb.js} +6 -6
- package/dist/assets/{WorkflowActivator-SziK5CNk.js → WorkflowActivator-CPCbgb_n.js} +2 -2
- package/dist/assets/{WorkflowExecutionsInfoAccordion-DENHBjmU.js → WorkflowExecutionsInfoAccordion-Bc6vzAZu.js} +1 -1
- package/dist/assets/{WorkflowExecutionsLandingPage-BzDiGWu4.js → WorkflowExecutionsLandingPage-BPPS4V9i.js} +2 -2
- package/dist/assets/{WorkflowExecutionsPreview-DqdkoKXB.js → WorkflowExecutionsPreview-Bbb5MB8Z.js} +6 -6
- package/dist/assets/{WorkflowExecutionsView-AxW7n6yq.js → WorkflowExecutionsView-Pz-7iHJY.js} +11 -9
- package/dist/assets/{WorkflowHistory-BVlsuqfI.js → WorkflowHistory-Czo9IuI6.js} +3 -3
- package/dist/assets/{WorkflowOnboardingView-fOW1AS_n.js → WorkflowOnboardingView-B8DdkfJ5.js} +1 -1
- package/dist/assets/{WorkflowPreview-ChN9npJk.js → WorkflowPreview-eVlO1itk.js} +1 -1
- package/dist/assets/{WorkflowsView-s_WHwcWN.js → WorkflowsView-Cr2D0vym.js} +9 -9
- package/dist/assets/{chartjs.utils-wOlz1LMy.js → chartjs.utils-Dk1WO3Mr.js} +2 -2
- package/dist/assets/{dateFormatter-yaAmYK7_.js → dateFormatter-C8N5khiG.js} +1 -1
- package/dist/assets/{easyAiWorkflowUtils-CVW2fylI.js → easyAiWorkflowUtils-CLqHnasO.js} +1 -1
- package/dist/assets/{global-link-actions-X1_8ARhd.js → global-link-actions-BvoZh8u9.js} +1 -1
- package/dist/assets/{import-curl-DdqJa2Tm.js → import-curl-BpxkGYMX.js} +1 -1
- package/dist/assets/{index-B7FgXPOI.js → index-B6eunbxp.js} +2871 -2467
- package/dist/assets/{index-CK1EcLzg.js → index-Br8T1Gn6.js} +1 -1
- package/dist/assets/{index-sq5ggyEC.css → index-DCpy4nCU.css} +124 -0
- package/dist/assets/{pickBy-s5T-2ufr.js → pickBy-8Urz9lDY.js} +1 -1
- package/dist/assets/{templateActions-sdO4R-bv.js → templateActions-DzjysjbQ.js} +1 -1
- package/dist/assets/{useBeforeUnload-CQPMw1S7.js → useBeforeUnload-DxrN8vOO.js} +1 -1
- package/dist/assets/{useCanvasMapping-DRc556sb.js → useCanvasMapping-C2BQB9QB.js} +21 -18
- package/dist/assets/{useCanvasOperations-B0S86JW0.js → useCanvasOperations-DaP5jKbH.js} +2 -2
- package/dist/assets/{useClearExecutionButtonVisible-C3SJ4iFv.js → useClearExecutionButtonVisible-BV-jMf2m.js} +2 -2
- package/dist/assets/{useExecutionDebugging-CJwhg6O9.js → useExecutionDebugging-0pPCimcw.js} +1 -1
- package/dist/assets/{useExecutionHelpers-BWNgdgwx.js → useExecutionHelpers-DIvhViMz.js} +2 -2
- package/dist/assets/{useImportCurlCommand-DAljDdWP.js → useImportCurlCommand-BWf4R83s.js} +19 -10
- package/dist/assets/usePushConnection-Pobjq0U9.js +632 -0
- package/dist/assets/{useTestDefinitionForm-CLiOMqSh.js → useTestDefinitionForm-BA3IS_2B.js} +1 -1
- package/dist/assets/{useWorkflowActivate-yVdxh8CC.js → useWorkflowActivate-DFqvrpj6.js} +1 -1
- package/dist/assets/useWorkflowSaving-BACesUoL.js +66 -0
- package/dist/index.html +2 -2
- package/package.json +1 -1
- package/dist/assets/CollectionParameter-X0kImkTc.js +0 -4
- package/dist/assets/usePushConnection-BBpCn7jd.js +0 -537
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { b0 as inject, b1 as isRef, i as createElementBlock, g as openBlock, k as createBaseVNode, d as defineComponent, q as computed, j as createVNode, e as createBlock, f as createCommentVNode, m as unref, t as toDisplayString, b2 as withModifiers, _ as _export_sfc, b3 as toRefs, r as ref, o as onMounted, n as normalizeClass, x as renderSlot, b4 as normalizeProps, b5 as guardReactiveProps, b6 as resolveDynamicComponent, b7 as mergeProps, b8 as VueMarkdown, F as Fragment, D as renderList, b9 as markdownLink, ba as useFileDialog, bb as onUnmounted, B as normalizeStyle, aA as withDirectives, bc as vModelText, bd as withKeys, w as withCtx, X as watch, h as resolveComponent, l as createTextVNode, be as N8nText, bf as useClipboard, a as useToast, c as useI18n$1, aR as N8nTooltip, bg as N8nButton, aT as _sfc_main$i, aV as createSlots, aJ as useStorage, a_ as watchEffect, y as onBeforeUnmount, G as useDebounce, bh as provide, bi as useProvideTooltipAppendTo, bj as IsInPiPWindowSymbol, bk as CHAT_TRIGGER_NODE_TYPE, bl as MANUAL_CHAT_TRIGGER_NODE_TYPE, bm as NodeConnectionTypes, bn as v4, bo as get, bp as isEmpty, bq as usePinnedData, ai as useMessage, aj as MODAL_CONFIRM, br as CHAIN_SUMMARIZATION_LANGCHAIN_NODE_TYPE, bs as AI_SUBCATEGORY, bt as AI_CATEGORY_AGENTS, bu as AI_CATEGORY_CHAINS, bv as AI_CODE_NODE_TYPE, bw as getNodeInputs, bx as getConnectionTypes, by as getNodeOutputs, Q as useWorkflowsStore, bz as useNodeTypesStore,
|
|
2
|
-
import { u as useClearExecutionButtonVisible } from "./useClearExecutionButtonVisible-
|
|
3
|
-
import { H as HighlightJS, f as formatTokenUsageCount, _ as _sfc_main$j, g as getSubtreeTotalConsumedTokens, a as getTotalConsumedTokens, b as flattenLogEntries, R as RunData, c as createLogEntries, d as deepToRaw, e as findSelectedLogEntry } from "./RunData-
|
|
4
|
-
import { t as toTime, a as toDayMonth } from "./dateFormatter-
|
|
5
|
-
import { u as upperFirst } from "./useCanvasOperations-
|
|
1
|
+
import { b0 as inject, b1 as isRef, i as createElementBlock, g as openBlock, k as createBaseVNode, d as defineComponent, q as computed, j as createVNode, e as createBlock, f as createCommentVNode, m as unref, t as toDisplayString, b2 as withModifiers, _ as _export_sfc, b3 as toRefs, r as ref, o as onMounted, n as normalizeClass, x as renderSlot, b4 as normalizeProps, b5 as guardReactiveProps, b6 as resolveDynamicComponent, b7 as mergeProps, b8 as VueMarkdown, F as Fragment, D as renderList, b9 as markdownLink, ba as useFileDialog, bb as onUnmounted, B as normalizeStyle, aA as withDirectives, bc as vModelText, bd as withKeys, w as withCtx, X as watch, h as resolveComponent, l as createTextVNode, be as N8nText, bf as useClipboard, a as useToast, c as useI18n$1, aR as N8nTooltip, bg as N8nButton, aT as _sfc_main$i, aV as createSlots, aJ as useStorage, a_ as watchEffect, y as onBeforeUnmount, G as useDebounce, bh as provide, bi as useProvideTooltipAppendTo, bj as IsInPiPWindowSymbol, bk as CHAT_TRIGGER_NODE_TYPE, bl as MANUAL_CHAT_TRIGGER_NODE_TYPE, bm as NodeConnectionTypes, bn as v4, bo as get, bp as isEmpty, bq as usePinnedData, ai as useMessage, aj as MODAL_CONFIRM, br as CHAIN_SUMMARIZATION_LANGCHAIN_NODE_TYPE, bs as AI_SUBCATEGORY, bt as AI_CATEGORY_AGENTS, bu as AI_CATEGORY_CHAINS, bv as AI_CODE_NODE_TYPE, bw as getNodeInputs, bx as getConnectionTypes, by as getNodeOutputs, Q as useWorkflowsStore, bz as useNodeTypesStore, b as useRouter, bA as useNodeHelpers, bB as useRunWorkflow, V as VIEWS, aZ as LOGS_PANEL_STATE, bC as _sfc_main$k, bD as I18nT, bE as N8nIcon, as as useNDVStore, bF as useVirtualList, bG as N8nRadioButtons, ag as useTelemetry, z as nextTick, bH as ndvEventBus, aS as N8nLink, av as useLocalStorage, bI as LOG_DETAILS_CONTENT, aY as useTemplateRef, a$ as N8nResizeWrapper, bJ as useStyles, $ as useCanvasStore, bK as Workflow, bL as IN_PROGRESS_EXECUTION_ID, bM as useThrottleFn } from "./index-B6eunbxp.js";
|
|
2
|
+
import { u as useClearExecutionButtonVisible } from "./useClearExecutionButtonVisible-BV-jMf2m.js";
|
|
3
|
+
import { H as HighlightJS, f as formatTokenUsageCount, _ as _sfc_main$j, g as getSubtreeTotalConsumedTokens, a as getTotalConsumedTokens, b as flattenLogEntries, R as RunData, c as createLogEntries, d as deepToRaw, e as findSelectedLogEntry } from "./RunData-Bx47sNQp.js";
|
|
4
|
+
import { t as toTime, a as toDayMonth } from "./dateFormatter-C8N5khiG.js";
|
|
5
|
+
import { u as upperFirst } from "./useCanvasOperations-DaP5jKbH.js";
|
|
6
6
|
function bash(hljs) {
|
|
7
7
|
const regex = hljs.regex;
|
|
8
8
|
const VAR = {};
|
|
@@ -3396,6 +3396,17 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
3396
3396
|
type: "success"
|
|
3397
3397
|
});
|
|
3398
3398
|
}
|
|
3399
|
+
watch(
|
|
3400
|
+
() => props.isOpen,
|
|
3401
|
+
(isOpen) => {
|
|
3402
|
+
if (isOpen) {
|
|
3403
|
+
setTimeout(() => {
|
|
3404
|
+
chatEventBus.emit("focusInput");
|
|
3405
|
+
}, 0);
|
|
3406
|
+
}
|
|
3407
|
+
},
|
|
3408
|
+
{ immediate: true }
|
|
3409
|
+
);
|
|
3399
3410
|
return (_ctx, _cache) => {
|
|
3400
3411
|
return openBlock(), createElementBlock("div", {
|
|
3401
3412
|
class: normalizeClass(_ctx.$style.chat),
|
|
@@ -3983,16 +3994,9 @@ function useChatMessaging({
|
|
|
3983
3994
|
sendMessage
|
|
3984
3995
|
};
|
|
3985
3996
|
}
|
|
3986
|
-
function useChatTrigger({
|
|
3987
|
-
getNodeByName,
|
|
3988
|
-
getNodeType,
|
|
3989
|
-
canvasNodes,
|
|
3990
|
-
workflow
|
|
3991
|
-
}) {
|
|
3992
|
-
const chatTriggerName = ref(null);
|
|
3993
|
-
const connectedNode = ref(null);
|
|
3997
|
+
function useChatTrigger({ getNodeByName, getNodeType, workflow }) {
|
|
3994
3998
|
const chatTriggerNode = computed(
|
|
3995
|
-
() =>
|
|
3999
|
+
() => Object.values(workflow.value.nodes).find(isChatNode) ?? null
|
|
3996
4000
|
);
|
|
3997
4001
|
const allowFileUploads = computed(() => {
|
|
3998
4002
|
return chatTriggerNode.value?.parameters?.options?.allowFileUploads === true;
|
|
@@ -4000,17 +4004,10 @@ function useChatTrigger({
|
|
|
4000
4004
|
const allowedFilesMimeTypes = computed(() => {
|
|
4001
4005
|
return chatTriggerNode.value?.parameters?.options?.allowedFilesMimeTypes?.toString() ?? "";
|
|
4002
4006
|
});
|
|
4003
|
-
|
|
4004
|
-
const triggerNode = unref(canvasNodes).find(isChatNode);
|
|
4005
|
-
if (!triggerNode) {
|
|
4006
|
-
return;
|
|
4007
|
-
}
|
|
4008
|
-
chatTriggerName.value = triggerNode.name;
|
|
4009
|
-
}
|
|
4010
|
-
function setConnectedNode() {
|
|
4007
|
+
const connectedNode = computed(() => {
|
|
4011
4008
|
const triggerNode = chatTriggerNode.value;
|
|
4012
4009
|
if (!triggerNode) {
|
|
4013
|
-
return;
|
|
4010
|
+
return null;
|
|
4014
4011
|
}
|
|
4015
4012
|
const chatChildren = workflow.value.getChildNodes(triggerNode.name);
|
|
4016
4013
|
const chatRootNode = chatChildren.reverse().map((nodeName) => getNodeByName(nodeName)).filter((n) => n !== null).reverse().find((storeNode) => {
|
|
@@ -4037,42 +4034,29 @@ function useChatTrigger({
|
|
|
4037
4034
|
const result = Boolean(isChatChild && (isAgent || isChain || isCustomChainOrAgent));
|
|
4038
4035
|
return result;
|
|
4039
4036
|
});
|
|
4040
|
-
|
|
4041
|
-
}
|
|
4037
|
+
return chatRootNode ?? null;
|
|
4038
|
+
});
|
|
4042
4039
|
return {
|
|
4043
4040
|
allowFileUploads,
|
|
4044
4041
|
allowedFilesMimeTypes,
|
|
4045
4042
|
chatTriggerNode,
|
|
4046
|
-
connectedNode
|
|
4047
|
-
setChatTriggerNode,
|
|
4048
|
-
setConnectedNode
|
|
4043
|
+
connectedNode
|
|
4049
4044
|
};
|
|
4050
4045
|
}
|
|
4051
|
-
function useChatState(isReadOnly
|
|
4046
|
+
function useChatState(isReadOnly) {
|
|
4052
4047
|
const locale = useI18n$1();
|
|
4053
4048
|
const workflowsStore = useWorkflowsStore();
|
|
4054
4049
|
const nodeTypesStore = useNodeTypesStore();
|
|
4055
|
-
const canvasStore = useCanvasStore();
|
|
4056
4050
|
const router = useRouter();
|
|
4057
4051
|
const nodeHelpers = useNodeHelpers();
|
|
4058
4052
|
const { runWorkflow } = useRunWorkflow({ router });
|
|
4059
4053
|
const messages2 = ref([]);
|
|
4060
4054
|
const currentSessionId = ref(v4().replace(/-/g, ""));
|
|
4061
4055
|
const previousChatMessages = computed(() => workflowsStore.getPastChatMessages);
|
|
4062
|
-
const canvasNodes = computed(() => workflowsStore.allNodes);
|
|
4063
|
-
const allConnections = computed(() => workflowsStore.allConnections);
|
|
4064
4056
|
const logsPanelState = computed(() => workflowsStore.logsPanelState);
|
|
4065
4057
|
const workflow = computed(() => workflowsStore.getCurrentWorkflow());
|
|
4066
|
-
const {
|
|
4067
|
-
chatTriggerNode,
|
|
4068
|
-
connectedNode,
|
|
4069
|
-
allowFileUploads,
|
|
4070
|
-
allowedFilesMimeTypes,
|
|
4071
|
-
setChatTriggerNode,
|
|
4072
|
-
setConnectedNode
|
|
4073
|
-
} = useChatTrigger({
|
|
4058
|
+
const { chatTriggerNode, connectedNode, allowFileUploads, allowedFilesMimeTypes } = useChatTrigger({
|
|
4074
4059
|
workflow,
|
|
4075
|
-
canvasNodes,
|
|
4076
4060
|
getNodeByName: workflowsStore.getNodeByName,
|
|
4077
4061
|
getNodeType: nodeTypesStore.getNodeType
|
|
4078
4062
|
});
|
|
@@ -4128,33 +4112,6 @@ function useChatState(isReadOnly, onWindowResize) {
|
|
|
4128
4112
|
);
|
|
4129
4113
|
provide(ChatSymbol, chatConfig);
|
|
4130
4114
|
provide(ChatOptionsSymbol, chatOptions);
|
|
4131
|
-
watch(
|
|
4132
|
-
() => logsPanelState.value,
|
|
4133
|
-
(state) => {
|
|
4134
|
-
if (state !== LOGS_PANEL_STATE.CLOSED) {
|
|
4135
|
-
setChatTriggerNode();
|
|
4136
|
-
setConnectedNode();
|
|
4137
|
-
setTimeout(() => {
|
|
4138
|
-
onWindowResize?.();
|
|
4139
|
-
chatEventBus.emit("focusInput");
|
|
4140
|
-
}, 0);
|
|
4141
|
-
}
|
|
4142
|
-
},
|
|
4143
|
-
{ immediate: true }
|
|
4144
|
-
);
|
|
4145
|
-
watch(
|
|
4146
|
-
() => allConnections.value,
|
|
4147
|
-
() => {
|
|
4148
|
-
if (canvasStore.isLoading) return;
|
|
4149
|
-
setTimeout(() => {
|
|
4150
|
-
if (!chatTriggerNode.value) {
|
|
4151
|
-
setChatTriggerNode();
|
|
4152
|
-
}
|
|
4153
|
-
setConnectedNode();
|
|
4154
|
-
}, 0);
|
|
4155
|
-
},
|
|
4156
|
-
{ deep: true }
|
|
4157
|
-
);
|
|
4158
4115
|
async function createExecutionPromise() {
|
|
4159
4116
|
return await new Promise((resolve) => {
|
|
4160
4117
|
const resolveIfFinished = (isRunning) => {
|
|
@@ -4435,28 +4392,28 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
4435
4392
|
icon: "exclamation-triangle",
|
|
4436
4393
|
class: normalizeClass(_ctx.$style.compactErrorIcon)
|
|
4437
4394
|
}, null, 8, ["class"])) : createCommentVNode("", true),
|
|
4438
|
-
!_ctx.isCompact || !props.
|
|
4395
|
+
!_ctx.isCompact || !props.latestInfo?.deleted ? (openBlock(), createBlock(unref(_sfc_main$i), {
|
|
4439
4396
|
key: 4,
|
|
4440
4397
|
type: "secondary",
|
|
4398
|
+
size: "medium",
|
|
4399
|
+
icon: "edit",
|
|
4400
|
+
style: { "color": "var(--color-text-base)" },
|
|
4401
|
+
disabled: props.latestInfo?.deleted,
|
|
4402
|
+
class: normalizeClass(_ctx.$style.openNdvButton),
|
|
4403
|
+
"aria-label": unref(locale).baseText("logs.overview.body.open"),
|
|
4404
|
+
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => emit("openNdv", props.data), ["stop"]))
|
|
4405
|
+
}, null, 8, ["disabled", "class", "aria-label"])) : createCommentVNode("", true),
|
|
4406
|
+
!_ctx.isCompact || !props.isReadOnly && !props.latestInfo?.deleted && !props.latestInfo?.disabled ? (openBlock(), createBlock(unref(_sfc_main$i), {
|
|
4407
|
+
key: 5,
|
|
4408
|
+
type: "secondary",
|
|
4441
4409
|
size: "small",
|
|
4442
4410
|
icon: "play",
|
|
4443
4411
|
style: { "color": "var(--color-text-base)" },
|
|
4444
4412
|
"aria-label": unref(locale).baseText("logs.overview.body.run"),
|
|
4445
4413
|
class: normalizeClass([_ctx.$style.partialExecutionButton, props.data.depth > 0 ? _ctx.$style.unavailable : ""]),
|
|
4446
4414
|
disabled: props.latestInfo?.deleted || props.latestInfo?.disabled,
|
|
4447
|
-
onClick: _cache[
|
|
4415
|
+
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => emit("triggerPartialExecution", props.data), ["stop"]))
|
|
4448
4416
|
}, null, 8, ["aria-label", "class", "disabled"])) : createCommentVNode("", true),
|
|
4449
|
-
!_ctx.isCompact || !props.latestInfo?.deleted ? (openBlock(), createBlock(unref(_sfc_main$i), {
|
|
4450
|
-
key: 5,
|
|
4451
|
-
type: "secondary",
|
|
4452
|
-
size: "small",
|
|
4453
|
-
icon: "external-link-alt",
|
|
4454
|
-
style: { "color": "var(--color-text-base)" },
|
|
4455
|
-
disabled: props.latestInfo?.deleted,
|
|
4456
|
-
class: normalizeClass(_ctx.$style.openNdvButton),
|
|
4457
|
-
"aria-label": unref(locale).baseText("logs.overview.body.open"),
|
|
4458
|
-
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => emit("openNdv", props.data), ["stop"]))
|
|
4459
|
-
}, null, 8, ["disabled", "class", "aria-label"])) : createCommentVNode("", true),
|
|
4460
4417
|
!_ctx.isCompact || props.data.children.length > 0 ? (openBlock(), createBlock(unref(N8nButton), {
|
|
4461
4418
|
key: 6,
|
|
4462
4419
|
type: "secondary",
|
|
@@ -4483,25 +4440,25 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
4483
4440
|
};
|
|
4484
4441
|
}
|
|
4485
4442
|
});
|
|
4486
|
-
const container$5 = "
|
|
4487
|
-
const background = "
|
|
4488
|
-
const selected = "
|
|
4489
|
-
const error = "
|
|
4490
|
-
const indent = "
|
|
4491
|
-
const connectorCurved = "
|
|
4492
|
-
const connectorStraight = "
|
|
4493
|
-
const icon$1 = "
|
|
4494
|
-
const name = "
|
|
4495
|
-
const timeTook = "
|
|
4496
|
-
const errorIcon = "
|
|
4497
|
-
const startedAt = "
|
|
4498
|
-
const consumedTokens = "
|
|
4499
|
-
const compactErrorIcon = "
|
|
4500
|
-
const partialExecutionButton = "
|
|
4501
|
-
const openNdvButton = "
|
|
4502
|
-
const compact = "
|
|
4503
|
-
const unavailable = "
|
|
4504
|
-
const toggleButton = "
|
|
4443
|
+
const container$5 = "_container_1ohan_123";
|
|
4444
|
+
const background = "_background_1ohan_138";
|
|
4445
|
+
const selected = "_selected_1ohan_147";
|
|
4446
|
+
const error = "_error_1ohan_153";
|
|
4447
|
+
const indent = "_indent_1ohan_157";
|
|
4448
|
+
const connectorCurved = "_connectorCurved_1ohan_166";
|
|
4449
|
+
const connectorStraight = "_connectorStraight_1ohan_176";
|
|
4450
|
+
const icon$1 = "_icon_1ohan_185";
|
|
4451
|
+
const name = "_name_1ohan_191";
|
|
4452
|
+
const timeTook = "_timeTook_1ohan_197";
|
|
4453
|
+
const errorIcon = "_errorIcon_1ohan_202";
|
|
4454
|
+
const startedAt = "_startedAt_1ohan_207";
|
|
4455
|
+
const consumedTokens = "_consumedTokens_1ohan_213";
|
|
4456
|
+
const compactErrorIcon = "_compactErrorIcon_1ohan_220";
|
|
4457
|
+
const partialExecutionButton = "_partialExecutionButton_1ohan_228";
|
|
4458
|
+
const openNdvButton = "_openNdvButton_1ohan_229";
|
|
4459
|
+
const compact = "_compact_1ohan_220";
|
|
4460
|
+
const unavailable = "_unavailable_1ohan_239";
|
|
4461
|
+
const toggleButton = "_toggleButton_1ohan_247";
|
|
4505
4462
|
const style0$6 = {
|
|
4506
4463
|
container: container$5,
|
|
4507
4464
|
background,
|
|
@@ -4719,9 +4676,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4719
4676
|
class: _ctx.$style.tree
|
|
4720
4677
|
}, unref(virtualList).containerProps), [
|
|
4721
4678
|
createBaseVNode("div", mergeProps(unref(virtualList).wrapperProps.value, { role: "tree" }), [
|
|
4722
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(virtualList).list.value, ({ data }) => {
|
|
4679
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(virtualList).list.value, ({ data, index }) => {
|
|
4723
4680
|
return openBlock(), createBlock(LogsOverviewRow, {
|
|
4724
|
-
key:
|
|
4681
|
+
key: index,
|
|
4725
4682
|
data,
|
|
4726
4683
|
"is-read-only": _ctx.isReadOnly,
|
|
4727
4684
|
"is-selected": data.node.name === _ctx.selected?.node.name && data.runIndex === _ctx.selected?.runIndex,
|
|
@@ -4784,6 +4741,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4784
4741
|
setup(__props) {
|
|
4785
4742
|
const locale = useI18n$1();
|
|
4786
4743
|
const ndvStore = useNDVStore();
|
|
4744
|
+
const displayMode = ref(__props.paneType === "input" ? "schema" : "table");
|
|
4787
4745
|
const isMultipleInput = computed(() => __props.paneType === "input" && __props.logEntry.runData.source.length > 1);
|
|
4788
4746
|
const runDataProps = computed(() => {
|
|
4789
4747
|
if (__props.logEntry.depth > 0 || __props.paneType === "output") {
|
|
@@ -4795,7 +4753,11 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4795
4753
|
return void 0;
|
|
4796
4754
|
}
|
|
4797
4755
|
return {
|
|
4798
|
-
node
|
|
4756
|
+
node: {
|
|
4757
|
+
...node,
|
|
4758
|
+
disabled: false
|
|
4759
|
+
// For RunData component to render data from disabled nodes as well
|
|
4760
|
+
},
|
|
4799
4761
|
runIndex: source.previousNodeRun ?? 0,
|
|
4800
4762
|
overrideOutputs: [source.previousNodeOutput ?? 0]
|
|
4801
4763
|
};
|
|
@@ -4803,6 +4765,9 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4803
4765
|
function handleClickOpenNdv() {
|
|
4804
4766
|
ndvStore.setActiveNodeName(__props.logEntry.node.name);
|
|
4805
4767
|
}
|
|
4768
|
+
function handleChangeDisplayMode(value) {
|
|
4769
|
+
displayMode.value = value;
|
|
4770
|
+
}
|
|
4806
4771
|
return (_ctx, _cache) => {
|
|
4807
4772
|
return runDataProps.value ? (openBlock(), createBlock(RunData, mergeProps({ key: 0 }, runDataProps.value, {
|
|
4808
4773
|
workflow: _ctx.workflow,
|
|
@@ -4816,7 +4781,10 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4816
4781
|
"disable-pin": true,
|
|
4817
4782
|
"disable-edit": true,
|
|
4818
4783
|
"disable-hover-highlight": true,
|
|
4819
|
-
"
|
|
4784
|
+
"display-mode": displayMode.value,
|
|
4785
|
+
"disable-ai-content": _ctx.logEntry.depth === 0,
|
|
4786
|
+
"table-header-bg-color": "light",
|
|
4787
|
+
onDisplayModeChange: handleChangeDisplayMode
|
|
4820
4788
|
}), createSlots({
|
|
4821
4789
|
header: withCtx(() => [
|
|
4822
4790
|
createVNode(unref(N8nText), {
|
|
@@ -4870,7 +4838,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4870
4838
|
]),
|
|
4871
4839
|
key: "1"
|
|
4872
4840
|
} : void 0
|
|
4873
|
-
]), 1040, ["workflow", "workflow-execution", "too-much-data-title", "no-data-in-branch-message", "executing-message", "pane-type"])) : createCommentVNode("", true);
|
|
4841
|
+
]), 1040, ["workflow", "workflow-execution", "too-much-data-title", "no-data-in-branch-message", "executing-message", "pane-type", "display-mode", "disable-ai-content"])) : createCommentVNode("", true);
|
|
4874
4842
|
};
|
|
4875
4843
|
}
|
|
4876
4844
|
});
|
|
@@ -2853,7 +2853,7 @@
|
|
|
2853
2853
|
-------------------------- */
|
|
2854
2854
|
/* BEM
|
|
2855
2855
|
-------------------------- */
|
|
2856
|
-
.
|
|
2856
|
+
._container_1ohan_123 {
|
|
2857
2857
|
display: flex;
|
|
2858
2858
|
align-items: center;
|
|
2859
2859
|
justify-content: stretch;
|
|
@@ -2861,13 +2861,13 @@
|
|
|
2861
2861
|
position: relative;
|
|
2862
2862
|
z-index: 1;
|
|
2863
2863
|
}
|
|
2864
|
-
.
|
|
2864
|
+
._container_1ohan_123 > * {
|
|
2865
2865
|
overflow: hidden;
|
|
2866
2866
|
text-overflow: ellipsis;
|
|
2867
2867
|
white-space: nowrap;
|
|
2868
2868
|
padding: var(--spacing-2xs);
|
|
2869
2869
|
}
|
|
2870
|
-
.
|
|
2870
|
+
._background_1ohan_138 {
|
|
2871
2871
|
position: absolute;
|
|
2872
2872
|
left: calc(var(--indent-depth) * 32px);
|
|
2873
2873
|
top: 0;
|
|
@@ -2876,16 +2876,16 @@
|
|
|
2876
2876
|
border-radius: var(--border-radius-base);
|
|
2877
2877
|
z-index: -1;
|
|
2878
2878
|
}
|
|
2879
|
-
.
|
|
2879
|
+
._selected_1ohan_147 ._background_1ohan_138 {
|
|
2880
2880
|
background-color: var(--color-foreground-base);
|
|
2881
2881
|
}
|
|
2882
|
-
.
|
|
2882
|
+
._container_1ohan_123:hover:not(._selected_1ohan_147) ._background_1ohan_138 {
|
|
2883
2883
|
background-color: var(--color-background-light-base);
|
|
2884
2884
|
}
|
|
2885
|
-
.
|
|
2885
|
+
._selected_1ohan_147:not(:hover)._error_1ohan_153 ._background_1ohan_138 {
|
|
2886
2886
|
background-color: var(--color-danger-tint-2);
|
|
2887
2887
|
}
|
|
2888
|
-
.
|
|
2888
|
+
._indent_1ohan_157 {
|
|
2889
2889
|
flex-grow: 0;
|
|
2890
2890
|
flex-shrink: 0;
|
|
2891
2891
|
width: var(--spacing-xl);
|
|
@@ -2894,7 +2894,7 @@
|
|
|
2894
2894
|
overflow: hidden;
|
|
2895
2895
|
margin-bottom: 0;
|
|
2896
2896
|
}
|
|
2897
|
-
.
|
|
2897
|
+
._indent_1ohan_157._connectorCurved_1ohan_166:before {
|
|
2898
2898
|
content: "";
|
|
2899
2899
|
position: absolute;
|
|
2900
2900
|
left: var(--spacing-s);
|
|
@@ -2904,7 +2904,7 @@
|
|
|
2904
2904
|
height: var(--spacing-l);
|
|
2905
2905
|
border-radius: var(--border-radius-large);
|
|
2906
2906
|
}
|
|
2907
|
-
.
|
|
2907
|
+
._indent_1ohan_157._connectorStraight_1ohan_176:after {
|
|
2908
2908
|
content: "";
|
|
2909
2909
|
position: absolute;
|
|
2910
2910
|
left: var(--spacing-s);
|
|
@@ -2912,82 +2912,86 @@
|
|
|
2912
2912
|
border-left: 2px solid var(--color-canvas-dot);
|
|
2913
2913
|
height: 100%;
|
|
2914
2914
|
}
|
|
2915
|
-
.
|
|
2915
|
+
._icon_1ohan_185 {
|
|
2916
2916
|
margin-left: var(--row-gap-thickness);
|
|
2917
2917
|
flex-grow: 0;
|
|
2918
2918
|
flex-shrink: 0;
|
|
2919
2919
|
}
|
|
2920
|
-
.
|
|
2920
|
+
._name_1ohan_191 {
|
|
2921
2921
|
flex-basis: 0;
|
|
2922
2922
|
flex-grow: 1;
|
|
2923
2923
|
padding-inline-start: 0;
|
|
2924
2924
|
}
|
|
2925
|
-
.
|
|
2925
|
+
._timeTook_1ohan_197 {
|
|
2926
2926
|
flex-grow: 0;
|
|
2927
2927
|
flex-shrink: 0;
|
|
2928
2928
|
width: 20%;
|
|
2929
2929
|
}
|
|
2930
|
-
.
|
|
2930
|
+
._timeTook_1ohan_197 ._errorIcon_1ohan_202 {
|
|
2931
2931
|
margin-right: var(--spacing-4xs);
|
|
2932
2932
|
vertical-align: text-bottom;
|
|
2933
2933
|
}
|
|
2934
|
-
.
|
|
2934
|
+
._startedAt_1ohan_207 {
|
|
2935
2935
|
flex-grow: 0;
|
|
2936
2936
|
flex-shrink: 0;
|
|
2937
2937
|
width: 25%;
|
|
2938
2938
|
}
|
|
2939
|
-
.
|
|
2939
|
+
._consumedTokens_1ohan_213 {
|
|
2940
2940
|
flex-grow: 0;
|
|
2941
2941
|
flex-shrink: 0;
|
|
2942
2942
|
width: 15%;
|
|
2943
2943
|
text-align: right;
|
|
2944
2944
|
}
|
|
2945
|
-
.
|
|
2945
|
+
._compactErrorIcon_1ohan_220 {
|
|
2946
2946
|
flex-grow: 0;
|
|
2947
2947
|
flex-shrink: 0;
|
|
2948
2948
|
}
|
|
2949
|
-
.
|
|
2949
|
+
._container_1ohan_123:hover ._compactErrorIcon_1ohan_220 {
|
|
2950
2950
|
display: none;
|
|
2951
2951
|
}
|
|
2952
|
-
.
|
|
2953
|
-
.
|
|
2952
|
+
._partialExecutionButton_1ohan_228,
|
|
2953
|
+
._openNdvButton_1ohan_229 {
|
|
2954
2954
|
transition: none;
|
|
2955
2955
|
/* By default, take space but keep invisible */
|
|
2956
2956
|
visibility: hidden;
|
|
2957
2957
|
}
|
|
2958
|
-
.
|
|
2959
|
-
.
|
|
2958
|
+
._container_1ohan_123._compact_1ohan_220 ._partialExecutionButton_1ohan_228,
|
|
2959
|
+
._container_1ohan_123._compact_1ohan_220 ._openNdvButton_1ohan_229 {
|
|
2960
2960
|
/* When compact, collapse to save space */
|
|
2961
2961
|
display: none;
|
|
2962
2962
|
}
|
|
2963
|
-
.
|
|
2964
|
-
.
|
|
2963
|
+
._container_1ohan_123:hover ._partialExecutionButton_1ohan_228:not(._unavailable_1ohan_239),
|
|
2964
|
+
._container_1ohan_123:hover ._openNdvButton_1ohan_229:not(._unavailable_1ohan_239) {
|
|
2965
2965
|
visibility: visible;
|
|
2966
2966
|
display: inline-flex;
|
|
2967
2967
|
}
|
|
2968
|
-
.
|
|
2969
|
-
.
|
|
2970
|
-
.
|
|
2968
|
+
._partialExecutionButton_1ohan_228,
|
|
2969
|
+
._openNdvButton_1ohan_229,
|
|
2970
|
+
._toggleButton_1ohan_247 {
|
|
2971
2971
|
flex-grow: 0;
|
|
2972
2972
|
flex-shrink: 0;
|
|
2973
2973
|
border: none;
|
|
2974
2974
|
background: transparent;
|
|
2975
|
-
margin-inline-end: var(--spacing-5xs);
|
|
2976
2975
|
color: var(--color-text-base);
|
|
2977
2976
|
align-items: center;
|
|
2978
2977
|
justify-content: center;
|
|
2979
2978
|
}
|
|
2980
|
-
.
|
|
2981
|
-
.
|
|
2982
|
-
.
|
|
2979
|
+
._partialExecutionButton_1ohan_228:last-child,
|
|
2980
|
+
._openNdvButton_1ohan_229:last-child,
|
|
2981
|
+
._toggleButton_1ohan_247:last-child {
|
|
2982
|
+
margin-inline-end: var(--spacing-5xs);
|
|
2983
|
+
}
|
|
2984
|
+
._partialExecutionButton_1ohan_228:hover,
|
|
2985
|
+
._openNdvButton_1ohan_229:hover,
|
|
2986
|
+
._toggleButton_1ohan_247:hover {
|
|
2983
2987
|
background: transparent;
|
|
2984
2988
|
}
|
|
2985
|
-
.
|
|
2986
|
-
.
|
|
2987
|
-
.
|
|
2989
|
+
._partialExecutionButton_1ohan_228:disabled,
|
|
2990
|
+
._openNdvButton_1ohan_229:disabled,
|
|
2991
|
+
._toggleButton_1ohan_247:disabled {
|
|
2988
2992
|
visibility: hidden !important;
|
|
2989
2993
|
}
|
|
2990
|
-
.
|
|
2994
|
+
._toggleButton_1ohan_247 {
|
|
2991
2995
|
display: inline-flex;
|
|
2992
2996
|
}/* BEM support Func
|
|
2993
2997
|
-------------------------- */
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { d as defineComponent, s 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, q as computed, v as shorten, x as renderSlot, r as ref, y as onBeforeUnmount, o as onMounted, z as nextTick, A as debounce, e as createBlock, m as unref, B as normalizeStyle, C as createEventBus, w as withCtx, k as createBaseVNode, F as Fragment, D as renderList, l as createTextVNode, t as toDisplayString, E as useTagsStore, G as useDebounce, H as useUIStore, I as BREAKPOINT_SM, J as BREAKPOINT_XL, K as BREAKPOINT_LG, L as BREAKPOINT_MD, N as getBannerRowHeight, V as VIEWS, c as useI18n, O as defineStore, P as usePushConnectionStore, Q as useWorkflowsStore, u as useUsersStore, R as useRoute, S as PLACEHOLDER_EMPTY_WORKFLOW_ID, T as STORES, U as TIME, W as useDocumentVisibility, X as watch, Y as useCssModule, Z as useRootStore, $ as useCanvasStore, p as useSettingsStore, a0 as useSourceControlStore, a1 as useProjectsStore, a2 as useFoldersStore, a3 as useNpsSurveyStore, b as useRouter, a as useToast, a4 as useDocumentTitle, a5 as useWorkflowHelpers, a6 as usePageRedirectionHelper, a7 as getResourcePermissions, a8 as WORKFLOW_MENU_ACTIONS, a9 as hasPermission, aa as EnterpriseEditionFeature, ab as ProjectTypes, ac as MAX_WORKFLOW_NAME_LENGTH, ad as _sfc_main$b, ae as SaveButton, af as WORKFLOW_SHARE_MODAL_KEY, ag as useTelemetry, ah as nodeViewEventBus, ai as useMessage, aj as MODAL_CONFIRM, ak as WORKFLOW_SETTINGS_MODAL_KEY, al as SOURCE_CONTROL_PUSH_MODAL_KEY, am as VALID_WORKFLOW_IMPORT_URL_REGEX, an as DUPLICATE_MODAL_KEY, ao as __vitePreload, ap as hyphenate, aq as h, ar as hasOwn, as as useNDVStore, at as useExecutionsStore, au as usePostHog, av as useLocalStorage, aw as LOCAL_STORAGE_HIDE_GITHUB_STAR_BUTTON, ax as WORKFLOW_EVALUATION_EXPERIMENT, ay as STICKY_NODE_TYPE, az as onBeforeMount, aA as withDirectives, aB as vShow, aC as N8N_MAIN_GITHUB_REPO_URL } from "./index-
|
|
2
|
-
import { _ as __unplugin_components_0, I as InlineTextEdit, W as WorkflowActivator } from "./WorkflowActivator-
|
|
3
|
-
import { _ as _sfc_main$c } 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 "./
|
|
1
|
+
import { d as defineComponent, s 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, q as computed, v as shorten, x as renderSlot, r as ref, y as onBeforeUnmount, o as onMounted, z as nextTick, A as debounce, e as createBlock, m as unref, B as normalizeStyle, C as createEventBus, w as withCtx, k as createBaseVNode, F as Fragment, D as renderList, l as createTextVNode, t as toDisplayString, E as useTagsStore, G as useDebounce, H as useUIStore, I as BREAKPOINT_SM, J as BREAKPOINT_XL, K as BREAKPOINT_LG, L as BREAKPOINT_MD, N as getBannerRowHeight, V as VIEWS, c as useI18n, O as defineStore, P as usePushConnectionStore, Q as useWorkflowsStore, u as useUsersStore, R as useRoute, S as PLACEHOLDER_EMPTY_WORKFLOW_ID, T as STORES, U as TIME, W as useDocumentVisibility, X as watch, Y as useCssModule, Z as useRootStore, $ as useCanvasStore, p as useSettingsStore, a0 as useSourceControlStore, a1 as useProjectsStore, a2 as useFoldersStore, a3 as useNpsSurveyStore, b as useRouter, a as useToast, a4 as useDocumentTitle, a5 as useWorkflowHelpers, a6 as usePageRedirectionHelper, a7 as getResourcePermissions, a8 as WORKFLOW_MENU_ACTIONS, a9 as hasPermission, aa as EnterpriseEditionFeature, ab as ProjectTypes, ac as MAX_WORKFLOW_NAME_LENGTH, ad as _sfc_main$b, ae as SaveButton, af as WORKFLOW_SHARE_MODAL_KEY, ag as useTelemetry, ah as nodeViewEventBus, ai as useMessage, aj as MODAL_CONFIRM, ak as WORKFLOW_SETTINGS_MODAL_KEY, al as SOURCE_CONTROL_PUSH_MODAL_KEY, am as VALID_WORKFLOW_IMPORT_URL_REGEX, an as DUPLICATE_MODAL_KEY, ao as __vitePreload, ap as hyphenate, aq as h, ar as hasOwn, as as useNDVStore, at as useExecutionsStore, au as usePostHog, av as useLocalStorage, aw as LOCAL_STORAGE_HIDE_GITHUB_STAR_BUTTON, ax as WORKFLOW_EVALUATION_EXPERIMENT, ay as STICKY_NODE_TYPE, az as onBeforeMount, aA as withDirectives, aB as vShow, aC as N8N_MAIN_GITHUB_REPO_URL } from "./index-B6eunbxp.js";
|
|
2
|
+
import { _ as __unplugin_components_0, I as InlineTextEdit, W as WorkflowActivator } from "./WorkflowActivator-CPCbgb_n.js";
|
|
3
|
+
import { _ as _sfc_main$c } from "./PushConnectionTracker.vue_vue_type_script_setup_true_lang-C3JbZMCk.js";
|
|
4
|
+
import { u as useBeforeUnload } from "./useBeforeUnload-DxrN8vOO.js";
|
|
5
|
+
import { F as FileSaver_minExports } from "./FileSaver.min-BzAtcQXX.js";
|
|
6
|
+
import { u as usePushConnection } from "./usePushConnection-Pobjq0U9.js";
|
|
7
|
+
import "./useWorkflowActivate-DFqvrpj6.js";
|
|
8
|
+
import "./easyAiWorkflowUtils-CLqHnasO.js";
|
|
9
|
+
import "./global-link-actions-BvoZh8u9.js";
|
|
10
10
|
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
11
11
|
__name: "TabBar",
|
|
12
12
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as defineComponent, aD as useLoadingService, H as useUIStore, a0 as useSourceControlStore, a as useToast, r as ref, q as computed, a9 as hasPermission, h as resolveComponent, i as createElementBlock, f as createCommentVNode, g as openBlock, B as normalizeStyle, n as normalizeClass, m as unref, k as createBaseVNode, j as createVNode, l as createTextVNode, t as toDisplayString, e as createBlock, w as withCtx, c as useI18n, C as createEventBus, al as SOURCE_CONTROL_PUSH_MODAL_KEY, aE as notifyUserAboutPullWorkFolderOutcome, aF as sourceControlEventBus, aG as SOURCE_CONTROL_PULL_MODAL_KEY, _ as _export_sfc, aH as get, O as defineStore, aI as useCloudPlanStore, Z as useRootStore, aJ as useStorage, aK as DateTime, T as STORES, ag as useTelemetry, p as useSettingsStore, a1 as useProjectsStore, b as useRouter, aL as sortByProperty, V as VIEWS, a7 as getResourcePermissions, a6 as usePageRedirectionHelper, F as Fragment, D as renderList, aM as useDebugInfo, aN as useTemplatesStore, u as useUsersStore, aO as useVersionsStore, Q as useWorkflowsStore, G as useDebounce, R as useRoute, o as onMounted, aP as useExternalHooks, z as nextTick, y as onBeforeUnmount, aQ as onClickOutside, aR as N8nTooltip, aS as N8nLink, aT as _sfc_main$5, aU as N8nNavigationDropdown, aV as createSlots, aW as VERSIONS_MODAL_KEY, aX as ABOUT_MODAL_KEY } from "./index-
|
|
2
|
-
import { L as Logo } from "./Logo-
|
|
1
|
+
import { d as defineComponent, aD as useLoadingService, H as useUIStore, a0 as useSourceControlStore, a as useToast, r as ref, q as computed, a9 as hasPermission, h as resolveComponent, i as createElementBlock, f as createCommentVNode, g as openBlock, B as normalizeStyle, n as normalizeClass, m as unref, k as createBaseVNode, j as createVNode, l as createTextVNode, t as toDisplayString, e as createBlock, w as withCtx, c as useI18n, C as createEventBus, al as SOURCE_CONTROL_PUSH_MODAL_KEY, aE as notifyUserAboutPullWorkFolderOutcome, aF as sourceControlEventBus, aG as SOURCE_CONTROL_PULL_MODAL_KEY, _ as _export_sfc, aH as get, O as defineStore, aI as useCloudPlanStore, Z as useRootStore, aJ as useStorage, aK as DateTime, T as STORES, ag as useTelemetry, p as useSettingsStore, a1 as useProjectsStore, b as useRouter, aL as sortByProperty, V as VIEWS, a7 as getResourcePermissions, a6 as usePageRedirectionHelper, F as Fragment, D as renderList, aM as useDebugInfo, aN as useTemplatesStore, u as useUsersStore, aO as useVersionsStore, Q as useWorkflowsStore, G as useDebounce, R as useRoute, o as onMounted, aP as useExternalHooks, z as nextTick, y as onBeforeUnmount, aQ as onClickOutside, aR as N8nTooltip, aS as N8nLink, aT as _sfc_main$5, aU as N8nNavigationDropdown, aV as createSlots, aW as VERSIONS_MODAL_KEY, aX as ABOUT_MODAL_KEY } from "./index-B6eunbxp.js";
|
|
2
|
+
import { L as Logo } from "./Logo-Dl2xVRIu.js";
|
|
3
3
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "MainSidebarSourceControl",
|
|
5
5
|
props: {
|
|
@@ -673,7 +673,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
673
673
|
onClick: unref(globalEntityCreation).createProject
|
|
674
674
|
}, {
|
|
675
675
|
default: withCtx(() => [
|
|
676
|
-
|
|
676
|
+
createBaseVNode("span", null, toDisplayString(unref(locale).baseText("projects.menu.addFirstProject")), 1)
|
|
677
677
|
]),
|
|
678
678
|
_: 1
|
|
679
679
|
}, 8, ["class", "disabled", "onClick"])) : createCommentVNode("", true)
|
|
@@ -685,13 +685,13 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
685
685
|
};
|
|
686
686
|
}
|
|
687
687
|
});
|
|
688
|
-
const projects = "
|
|
689
|
-
const plusBtn = "
|
|
690
|
-
const projectItems = "
|
|
691
|
-
const upgradeLink = "
|
|
692
|
-
const collapsed = "
|
|
693
|
-
const projectsLabel = "
|
|
694
|
-
const addFirstProjectBtn = "
|
|
688
|
+
const projects = "_projects_jcrfa_123";
|
|
689
|
+
const plusBtn = "_plusBtn_jcrfa_131";
|
|
690
|
+
const projectItems = "_projectItems_jcrfa_135";
|
|
691
|
+
const upgradeLink = "_upgradeLink_jcrfa_141";
|
|
692
|
+
const collapsed = "_collapsed_jcrfa_146";
|
|
693
|
+
const projectsLabel = "_projectsLabel_jcrfa_150";
|
|
694
|
+
const addFirstProjectBtn = "_addFirstProjectBtn_jcrfa_173";
|
|
695
695
|
const style0$1 = {
|
|
696
696
|
projects,
|
|
697
697
|
plusBtn,
|
|
@@ -704,7 +704,7 @@ const style0$1 = {
|
|
|
704
704
|
const cssModules$1 = {
|
|
705
705
|
"$style": style0$1
|
|
706
706
|
};
|
|
707
|
-
const __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__cssModules", cssModules$1], ["__scopeId", "data-v-
|
|
707
|
+
const __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__cssModules", cssModules$1], ["__scopeId", "data-v-1eaa6fab"]]);
|
|
708
708
|
const BASE_FORUM_URL = "https://github.com/n8n-io/n8n/issues/new?labels=bug-report";
|
|
709
709
|
const REPORT_TEMPLATE = `
|
|
710
710
|
<!-- Please follow the template below. Skip the questions that are not relevant to you. -->
|
|
@@ -574,7 +574,7 @@
|
|
|
574
574
|
-------------------------- */
|
|
575
575
|
/* BEM
|
|
576
576
|
-------------------------- */
|
|
577
|
-
.
|
|
577
|
+
._projects_jcrfa_123 {
|
|
578
578
|
display: grid;
|
|
579
579
|
grid-auto-rows: auto;
|
|
580
580
|
width: 100%;
|
|
@@ -582,22 +582,22 @@
|
|
|
582
582
|
align-items: start;
|
|
583
583
|
gap: var(--spacing-3xs);
|
|
584
584
|
}
|
|
585
|
-
.
|
|
585
|
+
._projects_jcrfa_123:hover ._plusBtn_jcrfa_131 {
|
|
586
586
|
display: block;
|
|
587
587
|
}
|
|
588
|
-
.
|
|
588
|
+
._projectItems_jcrfa_135 {
|
|
589
589
|
height: 100%;
|
|
590
590
|
padding: 0 var(--spacing-xs) var(--spacing-s);
|
|
591
591
|
overflow: auto;
|
|
592
592
|
}
|
|
593
|
-
.
|
|
593
|
+
._upgradeLink_jcrfa_141 {
|
|
594
594
|
color: var(--color-primary);
|
|
595
595
|
cursor: pointer;
|
|
596
596
|
}
|
|
597
|
-
.
|
|
597
|
+
._collapsed_jcrfa_146 {
|
|
598
598
|
text-transform: uppercase;
|
|
599
599
|
}
|
|
600
|
-
.
|
|
600
|
+
._projectsLabel_jcrfa_150 {
|
|
601
601
|
display: flex;
|
|
602
602
|
justify-content: space-between;
|
|
603
603
|
margin: 0 0 var(--spacing-s) var(--spacing-xs);
|
|
@@ -607,24 +607,25 @@
|
|
|
607
607
|
box-sizing: border-box;
|
|
608
608
|
color: var(--color-text-base);
|
|
609
609
|
}
|
|
610
|
-
.
|
|
610
|
+
._projectsLabel_jcrfa_150._collapsed_jcrfa_146 {
|
|
611
611
|
padding: 0;
|
|
612
612
|
margin-left: 0;
|
|
613
613
|
justify-content: center;
|
|
614
614
|
}
|
|
615
|
-
.
|
|
615
|
+
._plusBtn_jcrfa_131 {
|
|
616
616
|
margin: 0;
|
|
617
617
|
padding: 0;
|
|
618
618
|
color: var(--color-text-light);
|
|
619
619
|
display: none;
|
|
620
620
|
}
|
|
621
|
-
.
|
|
621
|
+
._addFirstProjectBtn_jcrfa_173 {
|
|
622
622
|
font-size: var(--font-size-xs);
|
|
623
623
|
padding: var(--spacing-3xs);
|
|
624
624
|
margin: 0 var(--spacing-m) var(--spacing-m);
|
|
625
625
|
}
|
|
626
|
-
.
|
|
626
|
+
._addFirstProjectBtn_jcrfa_173._collapsed_jcrfa_146 > span:last-child {
|
|
627
627
|
display: none;
|
|
628
|
+
margin: 0 var(--spacing-s) var(--spacing-m);
|
|
628
629
|
}/* BEM support Func
|
|
629
630
|
-------------------------- */
|
|
630
631
|
/* Transition
|
|
@@ -747,10 +748,10 @@
|
|
|
747
748
|
-------------------------- */
|
|
748
749
|
/* BEM
|
|
749
750
|
-------------------------- */
|
|
750
|
-
.home[data-v-
|
|
751
|
+
.home[data-v-1eaa6fab] {
|
|
751
752
|
padding: 0 var(--spacing-xs);
|
|
752
753
|
}
|
|
753
|
-
.home[data-v-
|
|
754
|
+
.home[data-v-1eaa6fab] .el-menu-item {
|
|
754
755
|
padding: var(--spacing-m) var(--spacing-xs) !important;
|
|
755
756
|
}/* BEM support Func
|
|
756
757
|
-------------------------- */
|