n8n-editor-ui 1.90.1 → 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-ChThynSJ.js → AnimatedSpinner-CtKKeDrz.js} +1 -1
- package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-WGp2Kuen.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DR6h_xsK.js} +1 -1
- package/dist/assets/{AuthView-Dlhn_SQ-.js → AuthView-mKkzBRxh.js} +2 -2
- package/dist/assets/{CanvasChatSwitch-BuBg7TJP.js → CanvasChatSwitch-Bu2VD2kp.js} +24 -12
- package/dist/assets/{ChangePasswordView-BKYXOoDf.js → ChangePasswordView-D5UI1v-J.js} +3 -3
- package/dist/assets/CollectionParameter-BeCTpZ-q.js +4 -0
- package/dist/assets/{CredentialsView-BNWIgrLb.js → CredentialsView-B78eNJO5.js} +10 -9
- package/dist/assets/{DemoFooter-DR6r_2qR.js → DemoFooter-DP26HpCu.js} +8 -8
- package/dist/assets/{ErrorView-Bu8Mt5FH.js → ErrorView-C3fvEdCg.js} +1 -1
- package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-DvtOOOhh.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-BBpwYdHY.js} +2 -2
- package/dist/assets/{ExecutionsView-C0WZAIi0.js → ExecutionsView-BvlDZwIs.js} +11 -10
- package/dist/assets/{FileSaver.min-Cm0u4qyc.js → FileSaver.min-BzAtcQXX.js} +1 -1
- package/dist/assets/{FixedCollectionParameter-KmRZtBiP.js → FixedCollectionParameter-CS5zXMAh.js} +1 -1
- package/dist/assets/{ForgotMyPasswordView-GH7SqEFu.js → ForgotMyPasswordView-CVQ7pcIG.js} +3 -3
- package/dist/assets/{InsightsChartAverageRuntime-SeBUN06R.js → InsightsChartAverageRuntime-Boh0SMb3.js} +7 -6
- package/dist/assets/{InsightsChartFailed-TYjH8LwV.js → InsightsChartFailed-IZ-KYOU9.js} +7 -6
- package/dist/assets/{InsightsChartFailureRate-D41Jv-6v.js → InsightsChartFailureRate-2fWw3p0L.js} +7 -6
- package/dist/assets/{InsightsChartTimeSaved-TLPDAmPx.js → InsightsChartTimeSaved-B2pLVys1.js} +7 -6
- package/dist/assets/{InsightsChartTotal-CaKTe2mv.js → InsightsChartTotal-2QD4wPLR.js} +7 -6
- package/dist/assets/{InsightsDashboard-DPVczYm3.css → InsightsDashboard-Bx4vx9gz.css} +16 -0
- package/dist/assets/InsightsDashboard-CbiFbJ8w.js +372 -0
- package/dist/assets/{InsightsPaywall-Z4Y0nO-i.js → InsightsPaywall-5d-cSdiS.js} +1 -1
- package/dist/assets/{InsightsSummary-FixbpmPJ.css → InsightsSummary-CdlaUpAt.css} +25 -25
- package/dist/assets/{InsightsSummary-DzYli0Pu.js → InsightsSummary-gldDQ9rg.js} +16 -17
- package/dist/assets/{InsightsTableWorkflows-CUHAG57c.js → InsightsTableWorkflows-_eTCUNCX.js} +2 -2
- package/dist/assets/{Logo-Dxp4M9dy.js → Logo-Dl2xVRIu.js} +1 -1
- package/dist/assets/{LogsPanel-zIrTNE6j.js → LogsPanel-JnYirDqa.js} +520 -436
- package/dist/assets/{LogsPanel-DmPMCt9w.css → LogsPanel-mTaFEGk_.css} +208 -98
- package/dist/assets/{MainHeader-D4cIIoUA.js → MainHeader-Bk29pgmL.js} +122 -295
- package/dist/assets/MainHeader-CEPLiR-5.css +1044 -0
- package/dist/assets/{MainSidebar-BtW-9UPT.js → MainSidebar-BM5ku_wM.js} +11 -11
- package/dist/assets/{MainSidebar-CKMiDGvH.css → MainSidebar-zZpP3qQ0.css} +13 -12
- package/dist/assets/{NodeCreation-thD32mA1.js → NodeCreation-BEjdAYc_.js} +4 -4
- package/dist/assets/{NodeCreator-B4mHaU45.js → NodeCreator-cEUgbAI9.js} +14 -4
- package/dist/assets/{NodeDetailsView-cO3Ci9jH.js → NodeDetailsView-D4O9dKTA.js} +93 -68
- package/dist/assets/{NodeDetailsView-CGgV4Pn_.css → NodeDetailsView-DsFLtbxi.css} +20 -20
- package/dist/assets/{NodeView-E5b1ClVD.js → NodeView-DDSOUm8E.js} +152 -34
- package/dist/assets/{ProjectCardBadge-LnLKqSK-.js → ProjectCardBadge-BNn2hiMe.js} +1 -1
- package/dist/assets/{ProjectHeader-DC02ZuZ0.js → ProjectHeader-CaEZ2OPj.js} +1 -1
- package/dist/assets/{ProjectSettings-Zr1UOp7s.js → ProjectSettings-otA8E-yW.js} +2 -2
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-CM7WIpD3.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-C3JbZMCk.js} +1 -1
- package/dist/assets/{ResourcesListLayout-DTsuHdYx.js → ResourcesListLayout-1d9Ic6VX.js} +2 -2
- package/dist/assets/{ResourcesListLayout-CglK2dXR.css → ResourcesListLayout-CtGME7aU.css} +8 -8
- package/dist/assets/{RunData-DepHcD2K.css → RunData-BjlZgIyx.css} +102 -73
- package/dist/assets/{RunData-Ds-U68nr.js → RunData-Bx47sNQp.js} +690 -398
- package/dist/assets/{RunDataAi-BF2gZZGr.css → RunDataAi-D9VLFXIf.css} +10 -51
- package/dist/assets/{RunDataAi-DdK11EHU.js → RunDataAi-DOac7nwD.js} +27 -310
- package/dist/assets/{RunDataJson-Txw0lqay.css → RunDataJson-BH9HLoGC.css} +12 -8
- package/dist/assets/{RunDataJson-B2WU5od1.js → RunDataJson-Pev6yNEV.js} +20 -14
- package/dist/assets/{RunDataJsonActions-DqZ2X1yJ.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-CQsyZvGK.js → RunDataSearch-C8orcAlP.js} +1 -1
- package/dist/assets/{RunDataTable-DyUvXWfl.css → RunDataTable-CUxj7dHx.css} +47 -39
- package/dist/assets/{RunDataTable-BO0R4JT_.js → RunDataTable-oi_l8dhA.js} +41 -30
- package/dist/assets/{SamlOnboarding-CmwMX5y2.js → SamlOnboarding-CT5J6dx0.js} +3 -3
- package/dist/assets/{SettingsApiView-D6uBbi9-.js → SettingsApiView-CupjcI9v.js} +1 -1
- package/dist/assets/{SettingsCommunityNodesView-CJODtx_K.js → SettingsCommunityNodesView-B5K2VLyJ.js} +4 -4
- package/dist/assets/{SettingsExternalSecrets-CVk14P_P.js → SettingsExternalSecrets-BidJCf_t.js} +1 -1
- package/dist/assets/{SettingsLdapView-pg71FErj.js → SettingsLdapView-Cva6akhW.js} +1 -1
- package/dist/assets/{SettingsLogStreamingView-DUOI3Xb9.js → SettingsLogStreamingView-Cy-rAKUO.js} +1 -1
- package/dist/assets/{SettingsPersonalView-BFnOmBPC.js → SettingsPersonalView-ZJ1Syok2.js} +14 -13
- package/dist/assets/{SettingsSourceControl-BUNmxcvB.js → SettingsSourceControl-CMtqqlkO.js} +1 -1
- package/dist/assets/{SettingsSso-Dx8Qw_2Z.js → SettingsSso-Bi3OpykL.js} +1 -1
- package/dist/assets/{SettingsUsageAndPlan-DTk86tXU.js → SettingsUsageAndPlan-C5TbwZhP.js} +1 -1
- package/dist/assets/{SettingsUsersView-BviXcl30.js → SettingsUsersView-BHuP5k0A.js} +1 -1
- package/dist/assets/{SettingsView-fzPdUijx.js → SettingsView-DPIIqaKN.js} +1 -1
- package/dist/assets/{SetupView-DUTx1JXK.js → SetupView-C4V9j6sh.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-fApxCGHh.js → SetupWorkflowCredentialsButton-BZ9ILQUp.js} +1 -1
- package/dist/assets/{SetupWorkflowFromTemplateView-C5t9fEKF.js → SetupWorkflowFromTemplateView-3uV3zSU2.js} +3 -3
- package/dist/assets/{SigninView-BRVoXQRW.js → SigninView-DWZHdCjG.js} +3 -3
- package/dist/assets/{SignoutView-Duh6wb4Y.js → SignoutView-DbduXAir.js} +1 -1
- package/dist/assets/{SignupView-DMkpTtjs.js → SignupView-DWq6VACk.js} +3 -3
- package/dist/assets/{TemplateDetails-Df9_jph6.js → TemplateDetails-BckqE6GK.js} +1 -1
- package/dist/assets/{TemplateList-qSnJvw0K.js → TemplateList-Bw0JeBMP.js} +1 -1
- package/dist/assets/{TemplatesCollectionView--ccYXaCo.js → TemplatesCollectionView-CAKT-mpV.js} +5 -5
- package/dist/assets/{TemplatesSearchView-D1YgHKld.js → TemplatesSearchView-I2a5us58.js} +3 -3
- package/dist/assets/{TemplatesView-B9CwObHN.js → TemplatesView-6EwGFFJK.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-DtLpUF59.js → TemplatesWorkflowView-C8xYMhwu.js} +5 -5
- package/dist/assets/{TestDefinitionEditView-DFcBlKnN.js → TestDefinitionEditView-CNd3Cuzq.js} +8 -8
- package/dist/assets/{TestDefinitionListView-C_mbolTO.js → TestDefinitionListView-BwTWIaAM.js} +1 -1
- package/dist/assets/{TestDefinitionNewView-CvyM6TLE.js → TestDefinitionNewView-BQas0_G1.js} +2 -2
- package/dist/assets/{TestDefinitionRootView-BXzJY0cY.js → TestDefinitionRootView-D971MFye.js} +1 -1
- package/dist/assets/{VariablesView-BHFJj5IU.js → VariablesView-DcBBuFxh.js} +3 -3
- package/dist/assets/{WorkerView-CgIksFjP.js → WorkerView-DSgBNIeb.js} +6 -6
- package/dist/assets/WorkflowActivator-CPCbgb_n.js +776 -0
- package/dist/assets/{MainHeader-CWA2JfVJ.css → WorkflowActivator-DAyH7N29.css} +74 -434
- package/dist/assets/{WorkflowExecutionsInfoAccordion-BcBLZ_Ul.js → WorkflowExecutionsInfoAccordion-Bc6vzAZu.js} +1 -1
- package/dist/assets/{WorkflowExecutionsLandingPage-B9ByHnbR.js → WorkflowExecutionsLandingPage-BPPS4V9i.js} +2 -2
- package/dist/assets/{WorkflowExecutionsPreview-DCE7TYLh.js → WorkflowExecutionsPreview-Bbb5MB8Z.js} +6 -6
- package/dist/assets/{WorkflowExecutionsView-DFoBpdS7.js → WorkflowExecutionsView-Pz-7iHJY.js} +11 -9
- package/dist/assets/{WorkflowHistory-DolmPUM2.js → WorkflowHistory-Czo9IuI6.js} +4 -4
- package/dist/assets/{WorkflowOnboardingView-DQW48M8_.js → WorkflowOnboardingView-B8DdkfJ5.js} +1 -1
- package/dist/assets/{WorkflowPreview-BFR6V9SO.js → WorkflowPreview-eVlO1itk.js} +1 -1
- package/dist/assets/{WorkflowsView-CsM69PSv.css → WorkflowsView-B2_HJCJ5.css} +28 -162
- package/dist/assets/{WorkflowsView-B-feKuLZ.js → WorkflowsView-Cr2D0vym.js} +124 -217
- package/dist/assets/{chartjs.utils-BcXTJ2Te.js → chartjs.utils-Dk1WO3Mr.js} +2 -2
- package/dist/assets/{dateFormatter-CZI1kGYK.js → dateFormatter-C8N5khiG.js} +5 -5
- package/dist/assets/{easyAiWorkflowUtils-ChToD_Yl.js → easyAiWorkflowUtils-CLqHnasO.js} +1 -1
- package/dist/assets/{global-link-actions-OGaZVwsw.js → global-link-actions-BvoZh8u9.js} +1 -1
- package/dist/assets/{import-curl-CAszzwx1.js → import-curl-BpxkGYMX.js} +1 -1
- package/dist/assets/{index-BpdkKRP4.js → index-B6eunbxp.js} +14227 -11881
- package/dist/assets/{index-7WdERzqm.js → index-Br8T1Gn6.js} +1 -1
- package/dist/assets/{index-C5OXOcIJ.css → index-DCpy4nCU.css} +6147 -4061
- package/dist/assets/{pickBy-mYqFOFbh.js → pickBy-8Urz9lDY.js} +1 -1
- package/dist/assets/{templateActions-BX9arLbc.js → templateActions-DzjysjbQ.js} +1 -1
- package/dist/assets/{useBeforeUnload-K7nQ15Rk.js → useBeforeUnload-DxrN8vOO.js} +1 -1
- package/dist/assets/{useCanvasMapping-D_UPCxYX.js → useCanvasMapping-C2BQB9QB.js} +270 -112
- package/dist/assets/{useCanvasMapping-C--wac6H.css → useCanvasMapping-cuXLM-h-.css} +185 -4
- package/dist/assets/{useCanvasOperations-D6VFiC3b.js → useCanvasOperations-DaP5jKbH.js} +4 -3
- package/dist/assets/{useClearExecutionButtonVisible-D_0O6f0X.js → useClearExecutionButtonVisible-BV-jMf2m.js} +2 -2
- package/dist/assets/{useExecutionDebugging-BNMaKOh7.js → useExecutionDebugging-0pPCimcw.js} +1 -1
- package/dist/assets/{useExecutionHelpers-DN5HqPqY.js → useExecutionHelpers-DIvhViMz.js} +2 -2
- package/dist/assets/{useImportCurlCommand-BSL596XF.js → useImportCurlCommand-BWf4R83s.js} +19 -10
- package/dist/assets/usePushConnection-Pobjq0U9.js +632 -0
- package/dist/assets/{useTestDefinitionForm-CIhrxyve.js → useTestDefinitionForm-BA3IS_2B.js} +1 -1
- package/dist/assets/{useWorkflowActivate-pZ62ib_C.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/vite.config.mts +15 -1
- package/dist/assets/CollectionParameter-CQXiWluX.js +0 -4
- package/dist/assets/InsightsDashboard-o3JS9fjz.js +0 -178
- package/dist/assets/WorkflowActivator-BX59FxTZ.css +0 -260
- package/dist/assets/WorkflowActivator-O6i5XAk2.js +0 -231
- package/dist/assets/usePushConnection-BdV7ILvK.js +0 -535
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { d as defineComponent, r as ref, q as computed, h as resolveComponent, i as createElementBlock, g as openBlock, n as normalizeClass, k as createBaseVNode, j as createVNode,
|
|
2
|
-
import { i as importCurlEventBus } from "./import-curl-
|
|
3
|
-
import { R as RunData } from "./RunData-
|
|
4
|
-
import { b as convertToDisplayDateComponents } from "./dateFormatter-
|
|
5
|
-
import { R as RunDataAi } from "./RunDataAi-
|
|
6
|
-
import { u as useWorkflowActivate } from "./useWorkflowActivate-
|
|
7
|
-
import "./FileSaver.min-
|
|
8
|
-
import "./useExecutionHelpers-
|
|
9
|
-
import "./
|
|
1
|
+
import { d as defineComponent, r as ref, q as computed, h as resolveComponent, i as createElementBlock, g as openBlock, n as normalizeClass, k as createBaseVNode, j as createVNode, bC as _sfc_main$g, w as withCtx, bd as withKeys, b2 as withModifiers, l as createTextVNode, t as toDisplayString, m as unref, c as useI18n, e as createBlock, f as createCommentVNode, z as nextTick, _ as _export_sfc, as as useNDVStore, Q as useWorkflowsStore, dT as isCommunityPackageName, cM as NPM_PACKAGE_DOCS_BASE_URL, hS as BUILTIN_NODES_DOCS_URL, cO as COMMUNITY_NODES_INSTALLATION_DOCS_URL, aP as useExternalHooks, ag as useTelemetry, bm as NodeConnectionTypes, b as useRouter, bf as useClipboard, a5 as useWorkflowHelpers, a as useToast, hT as OPEN_URL_PANEL_TRIGGER_NODE_TYPES, hU as PRODUCTION_ONLY_TRIGGER_NODE_TYPES, fz as MCP_TRIGGER_NODE_TYPE, fq as FORM_TRIGGER_NODE_TYPE, bk as CHAT_TRIGGER_NODE_TYPE, X as watch, F as Fragment, D as renderList, aQ as onClickOutside, aq as h, hV as toRef, hW as tryOnScopeDispose, hX as toValue, hY as isIOS, hZ as noop, h_ as isObject, h$ as isClient, bz as useNodeTypesStore, bA as useNodeHelpers, G as useDebounce, B as normalizeStyle, gf as TitledList, bw as getNodeInputs, i0 as SWITCH_NODE_TYPE, ep as isEqual, i1 as captureException, p as useSettingsStore, au as usePostHog, bR as useCredentialsStore, u as useUsersStore, a1 as useProjectsStore, dI as OPEN_AI_API_CREDENTIAL_TYPE, i2 as AI_CREDITS_EXPERIMENT, bU as useHistoryStore, ab as ProjectTypes, bx as getConnectionTypes, o as onMounted, bH as ndvEventBus, y as onBeforeUnmount, i3 as _sfc_main$h, i4 as CUSTOM_NODES_DOCS_URL, aA as withDirectives, aB as vShow, hs as _sfc_main$i, i5 as NodeCredentials, bo as get, fQ as getNodeParameters, cl as deepCopy, i6 as set, i7 as unset, fF as RenameNodeCommand, hr as isINodePropertyCollectionList, i8 as isINodePropertiesList, i9 as isINodePropertyOptionsList, ia as displayParameter, h7 as Draggable, bM as useThrottleFn, H as useUIStore, fU as useSlots, ib as MAIN_NODE_PANEL_WIDTH, aJ as useStorage, ic as LOCAL_STORAGE_MAIN_PANEL_RELATIVE_WIDTH, x as renderSlot, cm as resolveDirective, dq as InfoTip, cR as storeToRefs, gj as useNodeDirtiness, d_ as useNodeType, bq as usePinnedData, gg as CanvasNodeDirtiness, aV as createSlots, be as N8nText, id as waitingNodeTooltip, bG as N8nRadioButtons, ek as isPresent, ie as truncate, gY as createStaticVNode, bY as START_NODE_TYPE, fn as MANUAL_TRIGGER_NODE_TYPE, ig as CRON_NODE_TYPE, ih as INTERVAL_NODE_TYPE, by as getNodeOutputs, ii as uniqBy, b6 as resolveDynamicComponent, aR as N8nTooltip, bE as N8nIcon, ij as isTriggerPanelObject, dz as getTriggerNodeServiceName, fi as WEBHOOK_NODE_TYPE, dt as CopyInput, C as createEventBus, gi as Transition, V as VIEWS, ak as WORKFLOW_SETTINGS_MODAL_KEY, g8 as useDeviceSupport, ik as EXECUTABLE_TRIGGER_NODE_TYPES, ay as STICKY_NODE_TYPE, il as BASE_NODE_SURVEY_URL, aa as EnterpriseEditionFeature, e6 as dataPinningEventBus, bJ as useStyles, im as APP_MODALS_ELEMENT_ID, ai as useMessage, aj as MODAL_CONFIRM, b_ as jsonParse } from "./index-B6eunbxp.js";
|
|
2
|
+
import { i as importCurlEventBus } from "./import-curl-BpxkGYMX.js";
|
|
3
|
+
import { R as RunData } from "./RunData-Bx47sNQp.js";
|
|
4
|
+
import { b as convertToDisplayDateComponents } from "./dateFormatter-C8N5khiG.js";
|
|
5
|
+
import { R as RunDataAi } from "./RunDataAi-DOac7nwD.js";
|
|
6
|
+
import { u as useWorkflowActivate } from "./useWorkflowActivate-DFqvrpj6.js";
|
|
7
|
+
import "./FileSaver.min-BzAtcQXX.js";
|
|
8
|
+
import "./useExecutionHelpers-DIvhViMz.js";
|
|
9
|
+
import "./RunDataParsedAiContent-D6MNLmT3.js";
|
|
10
|
+
import "./useCanvasOperations-DaP5jKbH.js";
|
|
10
11
|
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
11
12
|
__name: "NodeTitle",
|
|
12
13
|
props: {
|
|
@@ -776,7 +777,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
776
777
|
const matchedNodeType = nodeTypesStore.getNodeType(node2.type);
|
|
777
778
|
if (matchedNodeType) {
|
|
778
779
|
const issues = nodeHelpers.getNodeIssues(matchedNodeType, node2, workflow.value);
|
|
779
|
-
const stringifiedIssues = issues ? nodeIssuesToString(issues, node2) : "";
|
|
780
|
+
const stringifiedIssues = issues ? nodeHelpers.nodeIssuesToString(issues, node2) : "";
|
|
780
781
|
return { node: node2, nodeType: matchedNodeType, issues: stringifiedIssues };
|
|
781
782
|
}
|
|
782
783
|
}
|
|
@@ -1281,6 +1282,9 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
1281
1282
|
);
|
|
1282
1283
|
const node2 = computed(() => ndvStore.activeNode);
|
|
1283
1284
|
const isTriggerNode = computed(() => !!node2.value && nodeTypesStore.isTriggerNode(node2.value.type));
|
|
1285
|
+
const isNodesAsToolNode = computed(
|
|
1286
|
+
() => !!node2.value && nodeTypesStore.isNodesAsToolNode(node2.value.type)
|
|
1287
|
+
);
|
|
1284
1288
|
const isExecutable = computed(() => {
|
|
1285
1289
|
if (props.nodeType && node2.value) {
|
|
1286
1290
|
const workflowNode = currentWorkflowInstance.value.getNode(node2.value.name);
|
|
@@ -1290,7 +1294,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
1290
1294
|
props.nodeType
|
|
1291
1295
|
);
|
|
1292
1296
|
const inputNames = getConnectionTypes(inputs);
|
|
1293
|
-
if (!inputNames.includes(NodeConnectionTypes.Main) && !isTriggerNode.value) {
|
|
1297
|
+
if (!inputNames.includes(NodeConnectionTypes.Main) && !isNodesAsToolNode.value && !isTriggerNode.value) {
|
|
1294
1298
|
return false;
|
|
1295
1299
|
}
|
|
1296
1300
|
}
|
|
@@ -2132,7 +2136,7 @@ const style0$8 = {
|
|
|
2132
2136
|
const cssModules$9 = {
|
|
2133
2137
|
"$style": style0$8
|
|
2134
2138
|
};
|
|
2135
|
-
const NodeSettings = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__cssModules", cssModules$9], ["__scopeId", "data-v-
|
|
2139
|
+
const NodeSettings = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__cssModules", cssModules$9], ["__scopeId", "data-v-3636ca77"]]);
|
|
2136
2140
|
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
2137
2141
|
__name: "PanelDragButton",
|
|
2138
2142
|
props: {
|
|
@@ -2858,9 +2862,10 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
2858
2862
|
pushRef: {},
|
|
2859
2863
|
blockUI: { type: Boolean, default: false },
|
|
2860
2864
|
isProductionExecutionPreview: { type: Boolean, default: false },
|
|
2861
|
-
isPaneActive: { type: Boolean, default: false }
|
|
2865
|
+
isPaneActive: { type: Boolean, default: false },
|
|
2866
|
+
displayMode: {}
|
|
2862
2867
|
},
|
|
2863
|
-
emits: ["linkRun", "unlinkRun", "runChange", "activatePane", "tableMounted", "itemHover", "search", "openSettings"],
|
|
2868
|
+
emits: ["linkRun", "unlinkRun", "runChange", "activatePane", "tableMounted", "itemHover", "search", "openSettings", "displayModeChange"],
|
|
2864
2869
|
setup(__props, { emit: __emit }) {
|
|
2865
2870
|
const OUTPUT_TYPE = {
|
|
2866
2871
|
REGULAR: "regular",
|
|
@@ -2871,7 +2876,6 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
2871
2876
|
const ndvStore = useNDVStore();
|
|
2872
2877
|
const nodeTypesStore = useNodeTypesStore();
|
|
2873
2878
|
const workflowsStore = useWorkflowsStore();
|
|
2874
|
-
const uiStore = useUIStore();
|
|
2875
2879
|
const telemetry = useTelemetry();
|
|
2876
2880
|
const i18n = useI18n();
|
|
2877
2881
|
const { activeNode } = storeToRefs(ndvStore);
|
|
@@ -2882,7 +2886,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
2882
2886
|
});
|
|
2883
2887
|
const pinnedData = usePinnedData(activeNode, {
|
|
2884
2888
|
runIndex: props.runIndex,
|
|
2885
|
-
displayMode:
|
|
2889
|
+
displayMode: props.displayMode
|
|
2886
2890
|
});
|
|
2887
2891
|
const outputMode = ref(OUTPUT_TYPE.REGULAR);
|
|
2888
2892
|
const outputTypes = ref([
|
|
@@ -2918,7 +2922,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
2918
2922
|
const isNodeRunning = computed(() => {
|
|
2919
2923
|
return workflowRunning.value && !!node2.value && workflowsStore.isNodeExecuting(node2.value.name);
|
|
2920
2924
|
});
|
|
2921
|
-
const workflowRunning = computed(() =>
|
|
2925
|
+
const workflowRunning = computed(() => workflowsStore.isWorkflowRunning);
|
|
2922
2926
|
const workflowExecution = computed(() => {
|
|
2923
2927
|
return workflowsStore.getWorkflowExecution;
|
|
2924
2928
|
});
|
|
@@ -3074,13 +3078,16 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3074
3078
|
"pane-type": "output",
|
|
3075
3079
|
"data-output-type": outputMode.value,
|
|
3076
3080
|
"callout-message": allToolsWereUnusedNotice.value,
|
|
3081
|
+
"display-mode": _ctx.displayMode,
|
|
3082
|
+
"disable-ai-content": true,
|
|
3077
3083
|
onActivatePane: activatePane,
|
|
3078
3084
|
onRunChange: onRunIndexChange,
|
|
3079
3085
|
onLinkRun,
|
|
3080
3086
|
onUnlinkRun,
|
|
3081
3087
|
onTableMounted: _cache[1] || (_cache[1] = ($event) => emit("tableMounted", $event)),
|
|
3082
3088
|
onItemHover: _cache[2] || (_cache[2] = ($event) => emit("itemHover", $event)),
|
|
3083
|
-
onSearch: _cache[3] || (_cache[3] = ($event) => emit("search", $event))
|
|
3089
|
+
onSearch: _cache[3] || (_cache[3] = ($event) => emit("search", $event)),
|
|
3090
|
+
onDisplayModeChange: _cache[4] || (_cache[4] = ($event) => emit("displayModeChange", $event))
|
|
3084
3091
|
}, createSlots({
|
|
3085
3092
|
header: withCtx(() => [
|
|
3086
3093
|
createBaseVNode("div", {
|
|
@@ -3132,7 +3139,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3132
3139
|
key: 0,
|
|
3133
3140
|
onClick: insertTestData
|
|
3134
3141
|
}, [
|
|
3135
|
-
_cache[
|
|
3142
|
+
_cache[5] || (_cache[5] = createBaseVNode("br", null, null, -1)),
|
|
3136
3143
|
createTextVNode(" " + toDisplayString(unref(i18n).baseText("generic.or")) + " ", 1),
|
|
3137
3144
|
createVNode(unref(N8nText), {
|
|
3138
3145
|
tag: "a",
|
|
@@ -3156,7 +3163,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3156
3163
|
color: "text-dark",
|
|
3157
3164
|
size: "large"
|
|
3158
3165
|
}, {
|
|
3159
|
-
default: withCtx(() => _cache[
|
|
3166
|
+
default: withCtx(() => _cache[6] || (_cache[6] = [
|
|
3160
3167
|
createTextVNode("Waiting for input")
|
|
3161
3168
|
])),
|
|
3162
3169
|
_: 1
|
|
@@ -3228,7 +3235,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3228
3235
|
]),
|
|
3229
3236
|
key: "1"
|
|
3230
3237
|
} : void 0
|
|
3231
|
-
]), 1032, ["class", "node", "workflow", "run-index", "linked-runs", "can-link-runs", "too-much-data-title", "no-data-in-branch-message", "is-executing", "executing-message", "push-ref", "block-u-i", "is-production-execution-preview", "is-pane-active", "hide-pagination", "data-output-type", "callout-message"]);
|
|
3238
|
+
]), 1032, ["class", "node", "workflow", "run-index", "linked-runs", "can-link-runs", "too-much-data-title", "no-data-in-branch-message", "is-executing", "executing-message", "push-ref", "block-u-i", "is-production-execution-preview", "is-pane-active", "hide-pagination", "data-output-type", "callout-message", "display-mode"]);
|
|
3232
3239
|
};
|
|
3233
3240
|
}
|
|
3234
3241
|
});
|
|
@@ -3273,7 +3280,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3273
3280
|
return nodeTypesStore.getNodeType(node2.type, node2.typeVersion);
|
|
3274
3281
|
});
|
|
3275
3282
|
const inputNodes = computed(
|
|
3276
|
-
() => props.nodes
|
|
3283
|
+
() => props.nodes?.map((node2) => {
|
|
3277
3284
|
const fullNode = workflowsStore.getNodeByName(node2.name);
|
|
3278
3285
|
if (!fullNode) return null;
|
|
3279
3286
|
return {
|
|
@@ -3281,7 +3288,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3281
3288
|
type: nodeTypesStore.getNodeType(fullNode.type, fullNode.typeVersion),
|
|
3282
3289
|
depth: node2.depth
|
|
3283
3290
|
};
|
|
3284
|
-
}).filter(isPresent)
|
|
3291
|
+
}).filter(isPresent) ?? []
|
|
3285
3292
|
);
|
|
3286
3293
|
const activeNode = computed(() => ndvStore.activeNode);
|
|
3287
3294
|
const activeNodeType = computed(() => {
|
|
@@ -3428,9 +3435,10 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
3428
3435
|
linkedRuns: { type: Boolean },
|
|
3429
3436
|
readOnly: { type: Boolean, default: false },
|
|
3430
3437
|
isProductionExecutionPreview: { type: Boolean, default: false },
|
|
3431
|
-
isPaneActive: { type: Boolean, default: false }
|
|
3438
|
+
isPaneActive: { type: Boolean, default: false },
|
|
3439
|
+
displayMode: {}
|
|
3432
3440
|
},
|
|
3433
|
-
emits: ["itemHover", "tableMounted", "linkRun", "unlinkRun", "runChange", "search", "changeInputNode", "execute", "activatePane"],
|
|
3441
|
+
emits: ["itemHover", "tableMounted", "linkRun", "unlinkRun", "runChange", "search", "changeInputNode", "execute", "activatePane", "displayModeChange"],
|
|
3434
3442
|
setup(__props, { emit: __emit }) {
|
|
3435
3443
|
const props = __props;
|
|
3436
3444
|
const emit = __emit;
|
|
@@ -3446,7 +3454,6 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
3446
3454
|
const nodeTypesStore = useNodeTypesStore();
|
|
3447
3455
|
const ndvStore = useNDVStore();
|
|
3448
3456
|
const workflowsStore = useWorkflowsStore();
|
|
3449
|
-
const uiStore = useUIStore();
|
|
3450
3457
|
const {
|
|
3451
3458
|
activeNode,
|
|
3452
3459
|
focusedMappableInput,
|
|
@@ -3495,7 +3502,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
3495
3502
|
return true;
|
|
3496
3503
|
});
|
|
3497
3504
|
const isExecutingPrevious = computed(() => {
|
|
3498
|
-
if (!
|
|
3505
|
+
if (!workflowsStore.isWorkflowRunning) {
|
|
3499
3506
|
return false;
|
|
3500
3507
|
}
|
|
3501
3508
|
const triggeredNode = workflowsStore.executedNode;
|
|
@@ -3510,7 +3517,6 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
3510
3517
|
}
|
|
3511
3518
|
return false;
|
|
3512
3519
|
});
|
|
3513
|
-
const workflowRunning = computed(() => uiStore.isActionActive.workflowRunning);
|
|
3514
3520
|
const rootNodesParents = computed(() => {
|
|
3515
3521
|
if (!rootNode.value) return [];
|
|
3516
3522
|
return props.workflow.getParentNodesByDepth(rootNode.value);
|
|
@@ -3661,15 +3667,18 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
3661
3667
|
"distance-from-active": currentNodeDepth.value,
|
|
3662
3668
|
"is-production-execution-preview": _ctx.isProductionExecutionPreview,
|
|
3663
3669
|
"is-pane-active": _ctx.isPaneActive,
|
|
3670
|
+
"display-mode": _ctx.displayMode,
|
|
3664
3671
|
"pane-type": "input",
|
|
3665
3672
|
"data-test-id": "ndv-input-panel",
|
|
3673
|
+
"disable-ai-content": true,
|
|
3666
3674
|
onActivatePane: activatePane,
|
|
3667
3675
|
onItemHover,
|
|
3668
3676
|
onLinkRun,
|
|
3669
3677
|
onUnlinkRun,
|
|
3670
3678
|
onRunChange: onRunIndexChange,
|
|
3671
3679
|
onTableMounted,
|
|
3672
|
-
onSearch
|
|
3680
|
+
onSearch,
|
|
3681
|
+
onDisplayModeChange: _cache[1] || (_cache[1] = ($event) => emit("displayModeChange", $event))
|
|
3673
3682
|
}, createSlots({
|
|
3674
3683
|
header: withCtx(() => [
|
|
3675
3684
|
createBaseVNode("div", {
|
|
@@ -3836,7 +3845,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
3836
3845
|
color: "text-dark",
|
|
3837
3846
|
size: "large"
|
|
3838
3847
|
}, {
|
|
3839
|
-
default: withCtx(() => _cache[
|
|
3848
|
+
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
3840
3849
|
createTextVNode("Waiting for input")
|
|
3841
3850
|
])),
|
|
3842
3851
|
_: 1
|
|
@@ -3887,7 +3896,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
3887
3896
|
name: "before-data",
|
|
3888
3897
|
fn: withCtx(() => [
|
|
3889
3898
|
(openBlock(), createBlock(resolveDynamicComponent("style"), null, {
|
|
3890
|
-
default: withCtx(() => _cache[
|
|
3899
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
3891
3900
|
createTextVNode("button.linkRun { display: none }")
|
|
3892
3901
|
])),
|
|
3893
3902
|
_: 1
|
|
@@ -3905,7 +3914,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
3905
3914
|
]),
|
|
3906
3915
|
key: "0"
|
|
3907
3916
|
} : void 0
|
|
3908
|
-
]), 1032, ["class", "node", "nodes", "workflow", "run-index", "linked-runs", "can-link-runs", "too-much-data-title", "no-data-in-branch-message", "is-executing", "executing-message", "push-ref", "override-outputs", "mapping-enabled", "distance-from-active", "is-production-execution-preview", "is-pane-active"]);
|
|
3917
|
+
]), 1032, ["class", "node", "nodes", "workflow", "run-index", "linked-runs", "can-link-runs", "too-much-data-title", "no-data-in-branch-message", "is-executing", "executing-message", "push-ref", "override-outputs", "mapping-enabled", "distance-from-active", "is-production-execution-preview", "is-pane-active", "display-mode"]);
|
|
3909
3918
|
};
|
|
3910
3919
|
}
|
|
3911
3920
|
});
|
|
@@ -4039,9 +4048,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
4039
4048
|
const executedNode = workflowsStore.executedNode;
|
|
4040
4049
|
return !!node2.value && !node2.value.disabled && isWebhookBasedNode.value && waitingOnWebhook && (!executedNode || executedNode === props.nodeName);
|
|
4041
4050
|
});
|
|
4042
|
-
const workflowRunning = computed(() =>
|
|
4043
|
-
return uiStore.isActionActive.workflowRunning;
|
|
4044
|
-
});
|
|
4051
|
+
const workflowRunning = computed(() => workflowsStore.isWorkflowRunning);
|
|
4045
4052
|
const isActivelyPolling = computed(() => {
|
|
4046
4053
|
const triggeredNode = workflowsStore.executedNode;
|
|
4047
4054
|
return workflowRunning.value && isPollingNode.value && props.nodeName === triggeredNode;
|
|
@@ -4414,7 +4421,7 @@ const style0 = {
|
|
|
4414
4421
|
const cssModules$1 = {
|
|
4415
4422
|
"$style": style0
|
|
4416
4423
|
};
|
|
4417
|
-
const TriggerPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__cssModules", cssModules$1], ["__scopeId", "data-v-
|
|
4424
|
+
const TriggerPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__cssModules", cssModules$1], ["__scopeId", "data-v-d43aa3b1"]]);
|
|
4418
4425
|
const _hoisted_1 = {
|
|
4419
4426
|
key: 0,
|
|
4420
4427
|
ref: "container",
|
|
@@ -4441,7 +4448,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4441
4448
|
const pinnedData = usePinnedData(activeNode);
|
|
4442
4449
|
const workflowActivate = useWorkflowActivate();
|
|
4443
4450
|
const nodeTypesStore = useNodeTypesStore();
|
|
4444
|
-
const uiStore = useUIStore();
|
|
4445
4451
|
const workflowsStore = useWorkflowsStore();
|
|
4446
4452
|
const settingsStore = useSettingsStore();
|
|
4447
4453
|
const deviceSupport = useDeviceSupport();
|
|
@@ -4452,9 +4458,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4452
4458
|
const settingsEventBus = createEventBus();
|
|
4453
4459
|
const redrawRequired = ref(false);
|
|
4454
4460
|
const runInputIndex = ref(-1);
|
|
4455
|
-
const runOutputIndex =
|
|
4456
|
-
const isLinkingEnabled = ref(true);
|
|
4461
|
+
const runOutputIndex = computed(() => ndvStore.output.run ?? -1);
|
|
4457
4462
|
const selectedInput = ref();
|
|
4463
|
+
const isLinkingEnabled = ref(true);
|
|
4458
4464
|
const triggerWaitingWarningEnabled = ref(false);
|
|
4459
4465
|
const isDragging = ref(false);
|
|
4460
4466
|
const mainPanelPosition = ref(0);
|
|
@@ -4471,9 +4477,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4471
4477
|
}
|
|
4472
4478
|
return null;
|
|
4473
4479
|
});
|
|
4474
|
-
const workflowRunning = computed(() => uiStore.isActionActive.workflowRunning);
|
|
4475
4480
|
const showTriggerWaitingWarning = computed(
|
|
4476
|
-
() => triggerWaitingWarningEnabled.value && !!activeNodeType.value && !activeNodeType.value.group.includes("trigger") &&
|
|
4481
|
+
() => triggerWaitingWarningEnabled.value && !!activeNodeType.value && !activeNodeType.value.group.includes("trigger") && workflowsStore.isWorkflowRunning && workflowsStore.executionWaitingForWebhook
|
|
4477
4482
|
);
|
|
4478
4483
|
const workflowRunData = computed(() => {
|
|
4479
4484
|
if (workflowExecution.value === null) {
|
|
@@ -4487,18 +4492,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4487
4492
|
});
|
|
4488
4493
|
const parentNodes = computed(() => {
|
|
4489
4494
|
if (activeNode.value) {
|
|
4490
|
-
return props.workflowObject.getParentNodesByDepth(activeNode.value.name, 1)
|
|
4491
|
-
} else {
|
|
4492
|
-
return [];
|
|
4495
|
+
return props.workflowObject.getParentNodesByDepth(activeNode.value.name, 1);
|
|
4493
4496
|
}
|
|
4497
|
+
return [];
|
|
4494
4498
|
});
|
|
4495
4499
|
const parentNode = computed(() => {
|
|
4496
|
-
for (const
|
|
4497
|
-
if (workflowsStore?.pinnedWorkflowData?.[
|
|
4498
|
-
return
|
|
4500
|
+
for (const parent of parentNodes.value) {
|
|
4501
|
+
if (workflowsStore?.pinnedWorkflowData?.[parent.name]) {
|
|
4502
|
+
return parent;
|
|
4499
4503
|
}
|
|
4500
|
-
if (workflowRunData.value?.[
|
|
4501
|
-
return
|
|
4504
|
+
if (workflowRunData.value?.[parent.name]) {
|
|
4505
|
+
return parent;
|
|
4502
4506
|
}
|
|
4503
4507
|
}
|
|
4504
4508
|
return parentNodes.value[0];
|
|
@@ -4517,7 +4521,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4517
4521
|
)?.[0];
|
|
4518
4522
|
return connectedOutputNode;
|
|
4519
4523
|
}
|
|
4520
|
-
return selectedInput.value
|
|
4524
|
+
return selectedInput.value ?? parentNode.value?.name;
|
|
4521
4525
|
});
|
|
4522
4526
|
const inputNode = computed(() => {
|
|
4523
4527
|
if (inputNodeName.value) {
|
|
@@ -4593,12 +4597,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4593
4597
|
}
|
|
4594
4598
|
return 0;
|
|
4595
4599
|
});
|
|
4600
|
+
const connectedCurrentNodeOutputs = computed(() => {
|
|
4601
|
+
return parentNodes.value.find(({ name }) => name === inputNodeName.value)?.indicies;
|
|
4602
|
+
});
|
|
4596
4603
|
const inputRun = computed(() => {
|
|
4597
4604
|
if (isLinkingEnabled.value && maxOutputRun.value === maxInputRun.value) {
|
|
4598
4605
|
return outputRun.value;
|
|
4599
4606
|
}
|
|
4600
|
-
|
|
4601
|
-
|
|
4607
|
+
const currentInputNodeName = inputNodeName.value;
|
|
4608
|
+
if (runInputIndex.value === -1 && currentInputNodeName) {
|
|
4609
|
+
return connectedCurrentNodeOutputs.value?.map(
|
|
4610
|
+
(outputIndex) => nodeHelpers.getLastRunIndexWithData(currentInputNodeName, outputIndex)
|
|
4611
|
+
).find((runIndex) => runIndex !== -1) ?? maxInputRun.value;
|
|
4602
4612
|
}
|
|
4603
4613
|
return Math.min(runInputIndex.value, maxInputRun.value);
|
|
4604
4614
|
});
|
|
@@ -4613,9 +4623,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4613
4623
|
return `${BASE_NODE_SURVEY_URL}${activeNodeType.value.name}`;
|
|
4614
4624
|
});
|
|
4615
4625
|
const outputPanelEditMode = computed(() => ndvStore.outputPanelEditMode);
|
|
4616
|
-
const isWorkflowRunning = computed(() => uiStore.isActionActive.workflowRunning);
|
|
4617
4626
|
const isExecutionWaitingForWebhook = computed(() => workflowsStore.executionWaitingForWebhook);
|
|
4618
|
-
const blockUi = computed(
|
|
4627
|
+
const blockUi = computed(
|
|
4628
|
+
() => workflowsStore.isWorkflowRunning || isExecutionWaitingForWebhook.value
|
|
4629
|
+
);
|
|
4619
4630
|
const foreignCredentials = computed(() => {
|
|
4620
4631
|
const credentials = activeNode.value?.credentials;
|
|
4621
4632
|
const usedCredentials = workflowsStore.usedCredentials;
|
|
@@ -4630,6 +4641,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4630
4641
|
return foreignCredentialsArray;
|
|
4631
4642
|
});
|
|
4632
4643
|
const hasForeignCredential = computed(() => foreignCredentials.value.length > 0);
|
|
4644
|
+
const inputPanelDisplayMode = computed(() => ndvStore.inputPanelDisplayMode);
|
|
4645
|
+
const outputPanelDisplayMode = computed(() => ndvStore.outputPanelDisplayMode);
|
|
4633
4646
|
const setIsTooltipVisible = ({ isTooltipVisible }) => {
|
|
4634
4647
|
pinDataDiscoveryTooltipVisible.value = isTooltipVisible;
|
|
4635
4648
|
};
|
|
@@ -4722,7 +4735,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4722
4735
|
};
|
|
4723
4736
|
const onNodeExecute = () => {
|
|
4724
4737
|
setTimeout(() => {
|
|
4725
|
-
if (!activeNode.value || !
|
|
4738
|
+
if (!activeNode.value || !workflowsStore.isWorkflowRunning) {
|
|
4726
4739
|
return;
|
|
4727
4740
|
}
|
|
4728
4741
|
triggerWaitingWarningEnabled.value = true;
|
|
@@ -4740,7 +4753,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4740
4753
|
});
|
|
4741
4754
|
};
|
|
4742
4755
|
const onLinkRunToInput = () => {
|
|
4743
|
-
|
|
4756
|
+
ndvStore.setOutputRunIndex(runInputIndex.value);
|
|
4744
4757
|
isLinkingEnabled.value = true;
|
|
4745
4758
|
trackLinking("input");
|
|
4746
4759
|
};
|
|
@@ -4801,13 +4814,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4801
4814
|
});
|
|
4802
4815
|
};
|
|
4803
4816
|
const onRunOutputIndexChange = (run) => {
|
|
4804
|
-
|
|
4817
|
+
ndvStore.setOutputRunIndex(run);
|
|
4805
4818
|
trackRunChange(run, "output");
|
|
4806
4819
|
};
|
|
4807
4820
|
const onRunInputIndexChange = (run) => {
|
|
4808
4821
|
runInputIndex.value = run;
|
|
4809
4822
|
if (linked.value) {
|
|
4810
|
-
|
|
4823
|
+
ndvStore.setOutputRunIndex(run);
|
|
4811
4824
|
}
|
|
4812
4825
|
trackRunChange(run, "input");
|
|
4813
4826
|
};
|
|
@@ -4846,6 +4859,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4846
4859
|
const unregisterKeyboardListener = () => {
|
|
4847
4860
|
document.removeEventListener("keydown", onKeyDown, true);
|
|
4848
4861
|
};
|
|
4862
|
+
const setSelectedInput = (value) => {
|
|
4863
|
+
selectedInput.value = value;
|
|
4864
|
+
};
|
|
4865
|
+
const handleChangeDisplayMode = (pane, mode) => {
|
|
4866
|
+
ndvStore.setPanelDisplayMode({ pane, mode });
|
|
4867
|
+
};
|
|
4849
4868
|
watch(
|
|
4850
4869
|
activeNode,
|
|
4851
4870
|
(node2, oldNode) => {
|
|
@@ -4856,7 +4875,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4856
4875
|
}
|
|
4857
4876
|
if (node2 && node2.name !== oldNode?.name && !isActiveStickyNode.value) {
|
|
4858
4877
|
runInputIndex.value = -1;
|
|
4859
|
-
|
|
4878
|
+
ndvStore.setOutputRunIndex(-1);
|
|
4860
4879
|
isLinkingEnabled.value = true;
|
|
4861
4880
|
selectedInput.value = void 0;
|
|
4862
4881
|
triggerWaitingWarningEnabled.value = false;
|
|
@@ -4883,8 +4902,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4883
4902
|
parameters_pane_position: mainPanelPosition.value,
|
|
4884
4903
|
input_first_connector_runs: maxInputRun.value,
|
|
4885
4904
|
output_first_connector_runs: maxOutputRun.value,
|
|
4886
|
-
selected_view_inputs: isTriggerNode.value ? "trigger" :
|
|
4887
|
-
selected_view_outputs:
|
|
4905
|
+
selected_view_inputs: isTriggerNode.value ? "trigger" : inputPanelDisplayMode.value,
|
|
4906
|
+
selected_view_outputs: outputPanelDisplayMode.value,
|
|
4888
4907
|
input_connectors: parentNodes.value.length,
|
|
4889
4908
|
output_connectors: outgoingConnections?.main?.length,
|
|
4890
4909
|
input_displayed_run_index: inputRun.value,
|
|
@@ -4903,7 +4922,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4903
4922
|
{ immediate: true }
|
|
4904
4923
|
);
|
|
4905
4924
|
watch(maxOutputRun, () => {
|
|
4906
|
-
|
|
4925
|
+
ndvStore.setOutputRunIndex(-1);
|
|
4907
4926
|
});
|
|
4908
4927
|
watch(maxInputRun, () => {
|
|
4909
4928
|
runInputIndex.value = -1;
|
|
@@ -4920,9 +4939,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
4920
4939
|
});
|
|
4921
4940
|
onMounted(() => {
|
|
4922
4941
|
dataPinningEventBus.on("data-pinning-discovery", setIsTooltipVisible);
|
|
4942
|
+
ndvEventBus.on("updateInputNodeName", setSelectedInput);
|
|
4923
4943
|
});
|
|
4924
4944
|
onBeforeUnmount(() => {
|
|
4925
4945
|
dataPinningEventBus.off("data-pinning-discovery", setIsTooltipVisible);
|
|
4946
|
+
ndvEventBus.off("updateInputNodeName", setSelectedInput);
|
|
4926
4947
|
unregisterKeyboardListener();
|
|
4927
4948
|
});
|
|
4928
4949
|
return (_ctx, _cache) => {
|
|
@@ -5012,15 +5033,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
5012
5033
|
"block-u-i": blockUi.value && isTriggerNode.value && !isExecutableTriggerNode.value,
|
|
5013
5034
|
"is-production-execution-preview": _ctx.isProductionExecutionPreview,
|
|
5014
5035
|
"is-pane-active": isOutputPaneActive.value,
|
|
5036
|
+
"display-mode": outputPanelDisplayMode.value,
|
|
5015
5037
|
onActivatePane: activateOutputPane,
|
|
5016
5038
|
onLinkRun: onLinkRunToOutput,
|
|
5017
|
-
onUnlinkRun: _cache[
|
|
5039
|
+
onUnlinkRun: _cache[2] || (_cache[2] = () => onUnlinkRun("output")),
|
|
5018
5040
|
onRunChange: onRunOutputIndexChange,
|
|
5019
5041
|
onOpenSettings: openSettings,
|
|
5020
5042
|
onTableMounted: onOutputTableMounted,
|
|
5021
5043
|
onItemHover: onOutputItemHover,
|
|
5022
|
-
onSearch
|
|
5023
|
-
|
|
5044
|
+
onSearch,
|
|
5045
|
+
onDisplayModeChange: _cache[3] || (_cache[3] = ($event) => handleChangeDisplayMode("output", $event))
|
|
5046
|
+
}, null, 8, ["workflow", "can-link-runs", "run-index", "linked-runs", "push-ref", "is-read-only", "block-u-i", "is-production-execution-preview", "is-pane-active", "display-mode"])
|
|
5024
5047
|
]),
|
|
5025
5048
|
main: withCtx(() => [
|
|
5026
5049
|
createVNode(NodeSettings, {
|
|
@@ -5036,7 +5059,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
5036
5059
|
onValueChanged: valueChanged,
|
|
5037
5060
|
onExecute: onNodeExecute,
|
|
5038
5061
|
onStopExecution,
|
|
5039
|
-
onRedrawRequired: _cache[
|
|
5062
|
+
onRedrawRequired: _cache[4] || (_cache[4] = ($event) => redrawRequired.value = true),
|
|
5040
5063
|
onActivate: onWorkflowActivate,
|
|
5041
5064
|
onSwitchSelectedNode,
|
|
5042
5065
|
onOpenConnectionNodeCreator
|
|
@@ -5073,6 +5096,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
5073
5096
|
"read-only": _ctx.readOnly || hasForeignCredential.value,
|
|
5074
5097
|
"is-production-execution-preview": _ctx.isProductionExecutionPreview,
|
|
5075
5098
|
"is-pane-active": isInputPaneActive.value,
|
|
5099
|
+
"display-mode": inputPanelDisplayMode.value,
|
|
5076
5100
|
onActivatePane: activateInputPane,
|
|
5077
5101
|
onLinkRun: onLinkRunToInput,
|
|
5078
5102
|
onUnlinkRun: _cache[0] || (_cache[0] = () => onUnlinkRun("input")),
|
|
@@ -5082,8 +5106,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
5082
5106
|
onExecute: onNodeExecute,
|
|
5083
5107
|
onTableMounted: onInputTableMounted,
|
|
5084
5108
|
onItemHover: onInputItemHover,
|
|
5085
|
-
onSearch
|
|
5086
|
-
|
|
5109
|
+
onSearch,
|
|
5110
|
+
onDisplayModeChange: _cache[1] || (_cache[1] = ($event) => handleChangeDisplayMode("input", $event))
|
|
5111
|
+
}, null, 8, ["workflow", "can-link-runs", "run-index", "linked-runs", "current-node-name", "push-ref", "read-only", "is-production-execution-preview", "is-pane-active", "display-mode"])) : createCommentVNode("", true)
|
|
5087
5112
|
]),
|
|
5088
5113
|
key: "0"
|
|
5089
5114
|
} : void 0
|
|
@@ -1006,7 +1006,7 @@
|
|
|
1006
1006
|
-------------------------- */
|
|
1007
1007
|
/* BEM
|
|
1008
1008
|
-------------------------- */
|
|
1009
|
-
.node-settings[data-v-
|
|
1009
|
+
.node-settings[data-v-3636ca77] {
|
|
1010
1010
|
display: flex;
|
|
1011
1011
|
flex-direction: column;
|
|
1012
1012
|
overflow: hidden;
|
|
@@ -1014,19 +1014,19 @@
|
|
|
1014
1014
|
height: 100%;
|
|
1015
1015
|
width: 100%;
|
|
1016
1016
|
}
|
|
1017
|
-
.node-settings .no-parameters[data-v-
|
|
1017
|
+
.node-settings .no-parameters[data-v-3636ca77] {
|
|
1018
1018
|
margin-top: var(--spacing-xs);
|
|
1019
1019
|
}
|
|
1020
|
-
.node-settings .header-side-menu[data-v-
|
|
1020
|
+
.node-settings .header-side-menu[data-v-3636ca77] {
|
|
1021
1021
|
padding: var(--spacing-s) var(--spacing-s) var(--spacing-s) var(--spacing-s);
|
|
1022
1022
|
font-size: var(--font-size-l);
|
|
1023
1023
|
display: flex;
|
|
1024
1024
|
justify-content: space-between;
|
|
1025
1025
|
}
|
|
1026
|
-
.node-settings .header-side-menu .node-name[data-v-
|
|
1026
|
+
.node-settings .header-side-menu .node-name[data-v-3636ca77] {
|
|
1027
1027
|
padding-top: var(--spacing-5xs);
|
|
1028
1028
|
}
|
|
1029
|
-
.node-settings .node-is-not-valid[data-v-
|
|
1029
|
+
.node-settings .node-is-not-valid[data-v-3636ca77] {
|
|
1030
1030
|
height: 75%;
|
|
1031
1031
|
padding: 10px;
|
|
1032
1032
|
display: flex;
|
|
@@ -1036,54 +1036,54 @@
|
|
|
1036
1036
|
text-align: center;
|
|
1037
1037
|
line-height: var(--font-line-height-regular);
|
|
1038
1038
|
}
|
|
1039
|
-
.node-settings .node-parameters-wrapper[data-v-
|
|
1039
|
+
.node-settings .node-parameters-wrapper[data-v-3636ca77] {
|
|
1040
1040
|
overflow-y: auto;
|
|
1041
1041
|
padding: 0 var(--spacing-m) var(--spacing-l) var(--spacing-m);
|
|
1042
1042
|
flex-grow: 1;
|
|
1043
1043
|
}
|
|
1044
|
-
.node-settings.dragging[data-v-
|
|
1044
|
+
.node-settings.dragging[data-v-3636ca77] {
|
|
1045
1045
|
border-color: var(--color-primary);
|
|
1046
1046
|
box-shadow: 0px 6px 16px rgba(255, 74, 51, 0.15);
|
|
1047
1047
|
}
|
|
1048
|
-
.parameter-content[data-v-
|
|
1048
|
+
.parameter-content[data-v-3636ca77] {
|
|
1049
1049
|
font-size: 0.9em;
|
|
1050
1050
|
margin-right: -15px;
|
|
1051
1051
|
margin-left: -15px;
|
|
1052
1052
|
}
|
|
1053
|
-
.parameter-content input[data-v-
|
|
1053
|
+
.parameter-content input[data-v-3636ca77] {
|
|
1054
1054
|
width: calc(100% - 35px);
|
|
1055
1055
|
padding: 5px;
|
|
1056
1056
|
}
|
|
1057
|
-
.parameter-content select[data-v-
|
|
1057
|
+
.parameter-content select[data-v-3636ca77] {
|
|
1058
1058
|
width: calc(100% - 20px);
|
|
1059
1059
|
padding: 5px;
|
|
1060
1060
|
}
|
|
1061
|
-
.parameter-content[data-v-
|
|
1061
|
+
.parameter-content[data-v-3636ca77]:before {
|
|
1062
1062
|
display: table;
|
|
1063
1063
|
content: " ";
|
|
1064
1064
|
position: relative;
|
|
1065
1065
|
box-sizing: border-box;
|
|
1066
1066
|
clear: both;
|
|
1067
1067
|
}
|
|
1068
|
-
.parameter-wrapper[data-v-
|
|
1068
|
+
.parameter-wrapper[data-v-3636ca77] {
|
|
1069
1069
|
padding: 0 1em;
|
|
1070
1070
|
}
|
|
1071
|
-
.color-reset-button-wrapper[data-v-
|
|
1071
|
+
.color-reset-button-wrapper[data-v-3636ca77] {
|
|
1072
1072
|
position: relative;
|
|
1073
1073
|
}
|
|
1074
|
-
.color-reset-button[data-v-
|
|
1074
|
+
.color-reset-button[data-v-3636ca77] {
|
|
1075
1075
|
position: absolute;
|
|
1076
1076
|
right: 7px;
|
|
1077
1077
|
top: -25px;
|
|
1078
1078
|
}
|
|
1079
|
-
.node-version[data-v-
|
|
1079
|
+
.node-version[data-v-3636ca77] {
|
|
1080
1080
|
border-top: var(--border-base);
|
|
1081
1081
|
font-size: var(--font-size-xs);
|
|
1082
1082
|
font-size: var(--font-size-2xs);
|
|
1083
1083
|
padding: var(--spacing-xs) 0 var(--spacing-2xs) 0;
|
|
1084
1084
|
color: var(--color-text-light);
|
|
1085
1085
|
}
|
|
1086
|
-
.parameter-value input.expression[data-v-
|
|
1086
|
+
.parameter-value input.expression[data-v-3636ca77] {
|
|
1087
1087
|
border-style: dashed;
|
|
1088
1088
|
border-color: #ff9600;
|
|
1089
1089
|
display: inline-block;
|
|
@@ -2576,12 +2576,12 @@
|
|
|
2576
2576
|
-------------------------- */
|
|
2577
2577
|
/* BEM
|
|
2578
2578
|
-------------------------- */
|
|
2579
|
-
.fade-enter-active[data-v-
|
|
2580
|
-
.fade-leave-active[data-v-
|
|
2579
|
+
.fade-enter-active[data-v-d43aa3b1],
|
|
2580
|
+
.fade-leave-active[data-v-d43aa3b1] {
|
|
2581
2581
|
transition: opacity 200ms;
|
|
2582
2582
|
}
|
|
2583
|
-
.fade-enter[data-v-
|
|
2584
|
-
.fade-leave-to[data-v-
|
|
2583
|
+
.fade-enter[data-v-d43aa3b1],
|
|
2584
|
+
.fade-leave-to[data-v-d43aa3b1] {
|
|
2585
2585
|
opacity: 0;
|
|
2586
2586
|
}/* BEM support Func
|
|
2587
2587
|
-------------------------- */
|