n8n-editor-ui 1.90.1 → 1.91.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/dist/assets/{AnimatedSpinner-ChThynSJ.js → AnimatedSpinner-BrkRvAXQ.js} +1 -1
  2. package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-WGp2Kuen.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DRamY8Fo.js} +1 -1
  3. package/dist/assets/{AuthView-Dlhn_SQ-.js → AuthView-ehh7NFh5.js} +2 -2
  4. package/dist/assets/{CanvasChatSwitch-BuBg7TJP.js → CanvasChatSwitch-DUBgoMXw.js} +11 -11
  5. package/dist/assets/{ChangePasswordView-BKYXOoDf.js → ChangePasswordView-BLFb7_-o.js} +3 -3
  6. package/dist/assets/CollectionParameter-BaH_a73u.js +4 -0
  7. package/dist/assets/{CredentialsView-BNWIgrLb.js → CredentialsView-1uYUpp0G.js} +10 -9
  8. package/dist/assets/{DemoFooter-DR6r_2qR.js → DemoFooter-CNfkqkRC.js} +8 -8
  9. package/dist/assets/{ErrorView-Bu8Mt5FH.js → ErrorView-CmYweWFA.js} +1 -1
  10. package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-DvtOOOhh.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-DAWTDTON.js} +2 -2
  11. package/dist/assets/{ExecutionsView-C0WZAIi0.js → ExecutionsView-fotg1R4V.js} +11 -10
  12. package/dist/assets/{FileSaver.min-Cm0u4qyc.js → FileSaver.min-CcnqpaV-.js} +1 -1
  13. package/dist/assets/{FixedCollectionParameter-KmRZtBiP.js → FixedCollectionParameter-BYR4RzWw.js} +1 -1
  14. package/dist/assets/{ForgotMyPasswordView-GH7SqEFu.js → ForgotMyPasswordView-CQMKtpr-.js} +3 -3
  15. package/dist/assets/{InsightsChartAverageRuntime-SeBUN06R.js → InsightsChartAverageRuntime-B-9BU5qw.js} +7 -6
  16. package/dist/assets/{InsightsChartFailed-TYjH8LwV.js → InsightsChartFailed-Bd1BlFEm.js} +7 -6
  17. package/dist/assets/{InsightsChartFailureRate-D41Jv-6v.js → InsightsChartFailureRate-DPTCueAp.js} +7 -6
  18. package/dist/assets/{InsightsChartTimeSaved-TLPDAmPx.js → InsightsChartTimeSaved-CSVKB08W.js} +7 -6
  19. package/dist/assets/{InsightsChartTotal-CaKTe2mv.js → InsightsChartTotal-Bxjmisao.js} +7 -6
  20. package/dist/assets/InsightsDashboard-5cOORj5z.js +372 -0
  21. package/dist/assets/{InsightsDashboard-DPVczYm3.css → InsightsDashboard-Bx4vx9gz.css} +16 -0
  22. package/dist/assets/{InsightsPaywall-Z4Y0nO-i.js → InsightsPaywall-Bdo_3Ic_.js} +1 -1
  23. package/dist/assets/{InsightsSummary-FixbpmPJ.css → InsightsSummary-CdlaUpAt.css} +25 -25
  24. package/dist/assets/{InsightsSummary-DzYli0Pu.js → InsightsSummary-DB62HhNM.js} +16 -17
  25. package/dist/assets/{InsightsTableWorkflows-CUHAG57c.js → InsightsTableWorkflows-BEC5Yh0b.js} +2 -2
  26. package/dist/assets/{Logo-Dxp4M9dy.js → Logo-CK8euEWT.js} +1 -1
  27. package/dist/assets/{LogsPanel-zIrTNE6j.js → LogsPanel-CrGEYFLo.js} +480 -364
  28. package/dist/assets/{LogsPanel-DmPMCt9w.css → LogsPanel-DLC2TAqh.css} +203 -97
  29. package/dist/assets/{MainHeader-D4cIIoUA.js → MainHeader-C7XOaZKu.js} +122 -295
  30. package/dist/assets/MainHeader-CEPLiR-5.css +1044 -0
  31. package/dist/assets/{MainSidebar-BtW-9UPT.js → MainSidebar-DD_ugRL3.js} +2 -2
  32. package/dist/assets/{NodeCreation-thD32mA1.js → NodeCreation-S2FoBcnW.js} +4 -4
  33. package/dist/assets/{NodeCreator-B4mHaU45.js → NodeCreator-D6TKVgLu.js} +14 -4
  34. package/dist/assets/{NodeDetailsView-cO3Ci9jH.js → NodeDetailsView-DtvMtBqp.js} +40 -30
  35. package/dist/assets/{NodeView-E5b1ClVD.js → NodeView-BPhaaoWK.js} +135 -30
  36. package/dist/assets/{ProjectCardBadge-LnLKqSK-.js → ProjectCardBadge-C_L_pqWA.js} +1 -1
  37. package/dist/assets/{ProjectHeader-DC02ZuZ0.js → ProjectHeader-C0FZTxjm.js} +1 -1
  38. package/dist/assets/{ProjectSettings-Zr1UOp7s.js → ProjectSettings-DlggJ6Ti.js} +2 -2
  39. package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-CM7WIpD3.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-BNtCDFSj.js} +1 -1
  40. package/dist/assets/{ResourcesListLayout-CglK2dXR.css → ResourcesListLayout-CtGME7aU.css} +8 -8
  41. package/dist/assets/{ResourcesListLayout-DTsuHdYx.js → ResourcesListLayout-HzoSFUaj.js} +2 -2
  42. package/dist/assets/{RunData-DepHcD2K.css → RunData-C9dtm1M2.css} +92 -73
  43. package/dist/assets/{RunData-Ds-U68nr.js → RunData-D8Eax0cQ.js} +319 -221
  44. package/dist/assets/{RunDataAi-DdK11EHU.js → RunDataAi-BUnCQIRN.js} +3 -3
  45. package/dist/assets/{RunDataJson-Txw0lqay.css → RunDataJson-BH9HLoGC.css} +12 -8
  46. package/dist/assets/{RunDataJson-B2WU5od1.js → RunDataJson-DXd3nZxI.js} +20 -14
  47. package/dist/assets/{RunDataJsonActions-DqZ2X1yJ.js → RunDataJsonActions-aivOaol2.js} +1 -1
  48. package/dist/assets/{RunDataSearch-CQsyZvGK.js → RunDataSearch-DJ9BZGTu.js} +1 -1
  49. package/dist/assets/{RunDataTable-DyUvXWfl.css → RunDataTable-CUxj7dHx.css} +47 -39
  50. package/dist/assets/{RunDataTable-BO0R4JT_.js → RunDataTable-vEPCwbcC.js} +41 -30
  51. package/dist/assets/{SamlOnboarding-CmwMX5y2.js → SamlOnboarding--OTxMEws.js} +3 -3
  52. package/dist/assets/{SettingsApiView-D6uBbi9-.js → SettingsApiView-BulxWyyY.js} +1 -1
  53. package/dist/assets/{SettingsCommunityNodesView-CJODtx_K.js → SettingsCommunityNodesView-4wwPXFO2.js} +4 -4
  54. package/dist/assets/{SettingsExternalSecrets-CVk14P_P.js → SettingsExternalSecrets-zt7dxBKK.js} +1 -1
  55. package/dist/assets/{SettingsLdapView-pg71FErj.js → SettingsLdapView-xneO6UIv.js} +1 -1
  56. package/dist/assets/{SettingsLogStreamingView-DUOI3Xb9.js → SettingsLogStreamingView-_h8wUzum.js} +1 -1
  57. package/dist/assets/{SettingsPersonalView-BFnOmBPC.js → SettingsPersonalView-CwYMP4sk.js} +1 -1
  58. package/dist/assets/{SettingsSourceControl-BUNmxcvB.js → SettingsSourceControl-B9Tg93u3.js} +1 -1
  59. package/dist/assets/{SettingsSso-Dx8Qw_2Z.js → SettingsSso-XaL1PzfW.js} +1 -1
  60. package/dist/assets/{SettingsUsageAndPlan-DTk86tXU.js → SettingsUsageAndPlan-Ci15FW81.js} +1 -1
  61. package/dist/assets/{SettingsUsersView-BviXcl30.js → SettingsUsersView-DBJV4vSK.js} +1 -1
  62. package/dist/assets/{SettingsView-fzPdUijx.js → SettingsView-DMzdPF-1.js} +1 -1
  63. package/dist/assets/{SetupView-DUTx1JXK.js → SetupView-BqWgdvDq.js} +3 -3
  64. package/dist/assets/{SetupWorkflowCredentialsButton-fApxCGHh.js → SetupWorkflowCredentialsButton-B2wnuUnF.js} +1 -1
  65. package/dist/assets/{SetupWorkflowFromTemplateView-C5t9fEKF.js → SetupWorkflowFromTemplateView-BwC_wFSc.js} +3 -3
  66. package/dist/assets/{SigninView-BRVoXQRW.js → SigninView-DpTLJJwD.js} +3 -3
  67. package/dist/assets/{SignoutView-Duh6wb4Y.js → SignoutView-dkTtOCo1.js} +1 -1
  68. package/dist/assets/{SignupView-DMkpTtjs.js → SignupView-CJFJJO3L.js} +3 -3
  69. package/dist/assets/{TemplateDetails-Df9_jph6.js → TemplateDetails-84YElIBA.js} +1 -1
  70. package/dist/assets/{TemplateList-qSnJvw0K.js → TemplateList-CGsfKuVA.js} +1 -1
  71. package/dist/assets/{TemplatesCollectionView--ccYXaCo.js → TemplatesCollectionView-2y8KZk0I.js} +5 -5
  72. package/dist/assets/{TemplatesSearchView-D1YgHKld.js → TemplatesSearchView-DgosiOzl.js} +3 -3
  73. package/dist/assets/{TemplatesView-B9CwObHN.js → TemplatesView-CgQSZO4a.js} +1 -1
  74. package/dist/assets/{TemplatesWorkflowView-DtLpUF59.js → TemplatesWorkflowView-2pSUmAbX.js} +5 -5
  75. package/dist/assets/{TestDefinitionEditView-DFcBlKnN.js → TestDefinitionEditView-C26sWE7p.js} +8 -8
  76. package/dist/assets/{TestDefinitionListView-C_mbolTO.js → TestDefinitionListView-Cyl6bsLP.js} +1 -1
  77. package/dist/assets/{TestDefinitionNewView-CvyM6TLE.js → TestDefinitionNewView-CfIZ0atk.js} +2 -2
  78. package/dist/assets/{TestDefinitionRootView-BXzJY0cY.js → TestDefinitionRootView-CYg7HBL-.js} +1 -1
  79. package/dist/assets/{VariablesView-BHFJj5IU.js → VariablesView-BFE9B0_b.js} +3 -3
  80. package/dist/assets/{WorkerView-CgIksFjP.js → WorkerView-BUMCMS_B.js} +6 -6
  81. package/dist/assets/WorkflowActivator-BDLto9c0.js +776 -0
  82. package/dist/assets/{MainHeader-CWA2JfVJ.css → WorkflowActivator-DAyH7N29.css} +74 -434
  83. package/dist/assets/{WorkflowExecutionsInfoAccordion-BcBLZ_Ul.js → WorkflowExecutionsInfoAccordion-manN-WIj.js} +1 -1
  84. package/dist/assets/{WorkflowExecutionsLandingPage-B9ByHnbR.js → WorkflowExecutionsLandingPage-BzGmpGvf.js} +2 -2
  85. package/dist/assets/{WorkflowExecutionsPreview-DCE7TYLh.js → WorkflowExecutionsPreview-CNEV2lom.js} +6 -6
  86. package/dist/assets/{WorkflowExecutionsView-DFoBpdS7.js → WorkflowExecutionsView-WiNvtAmD.js} +7 -7
  87. package/dist/assets/{WorkflowHistory-DolmPUM2.js → WorkflowHistory-6uJJqB4x.js} +4 -4
  88. package/dist/assets/{WorkflowOnboardingView-DQW48M8_.js → WorkflowOnboardingView-CPt_AUR-.js} +1 -1
  89. package/dist/assets/{WorkflowPreview-BFR6V9SO.js → WorkflowPreview-CHUEX6H6.js} +1 -1
  90. package/dist/assets/{WorkflowsView-CsM69PSv.css → WorkflowsView-B2_HJCJ5.css} +28 -162
  91. package/dist/assets/{WorkflowsView-B-feKuLZ.js → WorkflowsView-DbGBRbfc.js} +123 -216
  92. package/dist/assets/{chartjs.utils-BcXTJ2Te.js → chartjs.utils-C--HONKb.js} +2 -2
  93. package/dist/assets/{dateFormatter-CZI1kGYK.js → dateFormatter-DbKqmK4w.js} +5 -5
  94. package/dist/assets/{easyAiWorkflowUtils-ChToD_Yl.js → easyAiWorkflowUtils-BWgfZ0am.js} +1 -1
  95. package/dist/assets/{global-link-actions-OGaZVwsw.js → global-link-actions-COf-9vBh.js} +1 -1
  96. package/dist/assets/{import-curl-CAszzwx1.js → import-curl-BiXaU2jk.js} +1 -1
  97. package/dist/assets/{index-7WdERzqm.js → index-B6xE9gZ1.js} +1 -1
  98. package/dist/assets/{index-BpdkKRP4.js → index-BLAboPd2.js} +14034 -12086
  99. package/dist/assets/{index-C5OXOcIJ.css → index-sq5ggyEC.css} +6265 -4303
  100. package/dist/assets/{pickBy-mYqFOFbh.js → pickBy-gZHb6vZ2.js} +1 -1
  101. package/dist/assets/{templateActions-BX9arLbc.js → templateActions-DCx74tPa.js} +1 -1
  102. package/dist/assets/{useBeforeUnload-K7nQ15Rk.js → useBeforeUnload-DbfysOS-.js} +1 -1
  103. package/dist/assets/{useCanvasMapping-D_UPCxYX.js → useCanvasMapping-CSuq_dYj.js} +251 -96
  104. package/dist/assets/{useCanvasMapping-C--wac6H.css → useCanvasMapping-cuXLM-h-.css} +185 -4
  105. package/dist/assets/{useCanvasOperations-D6VFiC3b.js → useCanvasOperations-C0pQBHW3.js} +3 -2
  106. package/dist/assets/{useClearExecutionButtonVisible-D_0O6f0X.js → useClearExecutionButtonVisible-Cvfxw8xC.js} +2 -2
  107. package/dist/assets/{useExecutionDebugging-BNMaKOh7.js → useExecutionDebugging-D2H5O6fT.js} +1 -1
  108. package/dist/assets/{useExecutionHelpers-DN5HqPqY.js → useExecutionHelpers-C--m0pTQ.js} +2 -2
  109. package/dist/assets/{useImportCurlCommand-BSL596XF.js → useImportCurlCommand-XFn6Ezp2.js} +2 -2
  110. package/dist/assets/{usePushConnection-BdV7ILvK.js → usePushConnection-x0iF1Axz.js} +5 -3
  111. package/dist/assets/{useTestDefinitionForm-CIhrxyve.js → useTestDefinitionForm-2YP-8pAN.js} +1 -1
  112. package/dist/assets/{useWorkflowActivate-pZ62ib_C.js → useWorkflowActivate-CvmIpy5T.js} +1 -1
  113. package/dist/index.html +2 -2
  114. package/package.json +1 -1
  115. package/vite.config.mts +15 -1
  116. package/dist/assets/CollectionParameter-CQXiWluX.js +0 -4
  117. package/dist/assets/InsightsDashboard-o3JS9fjz.js +0 -178
  118. package/dist/assets/WorkflowActivator-BX59FxTZ.css +0 -260
  119. package/dist/assets/WorkflowActivator-O6i5XAk2.js +0 -231
@@ -1,6 +1,6 @@
1
- import { _ as _export_sfc$1, i as createElementBlock, g as openBlock, k as createBaseVNode, d as defineComponent, fD as getCurrentScope, b1 as inject, fE as effectScope, I as watch, cN as getCurrentInstance, fF as useSlots, bb as onUnmounted, j as createVNode, x as renderSlot, w as withCtx, m as unref, r as ref, fG as useAttrs, f as createCommentVNode, e as createBlock, b7 as mergeProps, F as Fragment, bJ as toRef, fH as Teleport, fI as createPropsRestProxy, q as computed, o as onMounted, n as normalizeClass, bM as reactive, fJ as onScopeDispose, aB as onBeforeMount, D as renderList, B as normalizeStyle, z as nextTick, y as onBeforeUnmount, fK as isMemoSame, t as toDisplayString, b6 as resolveDynamicComponent, l as createTextVNode, b2 as isRef, b3 as toRefs$1, fL as customRef, bg as provide, h as resolveComponent, as as h, fM as toValue$1, fN as markRaw, fO as readonly, c as useI18n, bL as KeyboardShortcutTooltip, bl as NodeConnectionTypes, fP as CanvasKey, a0 as useCssModule, L as useUIStore, by as useNodeTypesStore, U as useWorkflowsStore, a3 as useSourceControlStore, a9 as getResourcePermissions, e5 as isPresent, fQ as getMousePosition$1, aA as STICKY_NODE_TYPE, bp as usePinnedData, fR as NOT_DUPLICATABLE_NODE_TYPES, fS as isExecutable, fT as N8nActionDropdown, cl as getDefaultExportFromCjs, fz as NODE_SIZE, bS as CanvasNodeRenderType, fA as GRID_SIZE, fU as useThrottleFn, fV as useActiveElement, fW as useDeviceSupport, fX as useEventListener$1, fY as onKeyDown, fZ as onKeyUp, a$ as watchEffect, b4 as normalizeProps, aW as createSlots, c1 as isValidNodeConnectionType, c2 as CanvasConnectionMode, f_ as refThrottled, f$ as CanvasNodeKey, g0 as mergeModels, g1 as useModel, bz as useNodeHelpers, g2 as TitledList, aS as N8nTooltip, g3 as CanvasNodeDirtiness, bB as _sfc_main$z, J as withModifiers, aj as nodeViewEventBus, c5 as NODE_CREATOR_OPEN_SOURCES, g4 as CanvasNodeHandleKey, aC as withDirectives, aD as vShow, g5 as Transition$2, b as useRouter, bA as useRunWorkflow, a_ as LOGS_PANEL_STATE, bj as CHAT_TRIGGER_NODE_TYPE, C as createEventBus, eb as isEqual, bZ as Suspense, b5 as guardReactiveProps, g6 as useNodeDirtiness, fj as CUSTOM_API_CALL_KEY, bv as getNodeInputs, bx as getNodeOutputs, ds as getTriggerNodeServiceName, ci as sanitizeHtml, g7 as nodeIssuesToString, g8 as WAIT_NODE_TYPE, er as SEND_AND_WAIT_OPERATION, g9 as FORM_NODE_TYPE, ga as WAIT_INDEFINITELY, gb as SIMULATE_NODE_TYPE, gc as SIMULATE_TRIGGER_NODE_TYPE, gd as getNodeIconSource } from "./index-BpdkKRP4.js";
2
- import { p as parseCanvasConnectionHandleString, a as useNodeCreatorStore, b as useCanvasOperations, i as insertSpacersBetweenEndpoints, c as createCanvasConnectionHandleString, m as mapLegacyEndpointsToCanvasConnectionPort, e as checkOverlap, f as mapLegacyConnectionsToCanvasConnections } from "./useCanvasOperations-D6VFiC3b.js";
3
- const _sfc_main$y = {};
1
+ import { _ as _export_sfc$1, i as createElementBlock, g as openBlock, k as createBaseVNode, d as defineComponent, fM as getCurrentScope, b0 as inject, fN as effectScope, X as watch, cS as getCurrentInstance, fO as useSlots, bb as onUnmounted, j as createVNode, x as renderSlot, w as withCtx, m as unref, r as ref, fP as useAttrs, f as createCommentVNode, e as createBlock, b7 as mergeProps, F as Fragment, bN as toRef, fQ as Teleport, fR as createPropsRestProxy, q as computed, o as onMounted, n as normalizeClass, bQ as reactive, fS as onScopeDispose, az as onBeforeMount, D as renderList, B as normalizeStyle, z as nextTick, y as onBeforeUnmount, fT as isMemoSame, t as toDisplayString, b6 as resolveDynamicComponent, l as createTextVNode, b1 as isRef, b3 as toRefs$1, fU as customRef, bh as provide, h as resolveComponent, aq as h, fV as toValue$1, fW as markRaw, fX as readonly, c as useI18n, bP as KeyboardShortcutTooltip, bm as NodeConnectionTypes, fY as CanvasKey, Y as useCssModule, H as useUIStore, bz as useNodeTypesStore, Q as useWorkflowsStore, a0 as useSourceControlStore, a7 as getResourcePermissions, ee as isPresent, fZ as getMousePosition$1, ay as STICKY_NODE_TYPE, bq as usePinnedData, f_ as NOT_DUPLICATABLE_NODE_TYPES, f$ as isExecutable, bJ as useStyles, g0 as N8nActionDropdown, cq as getDefaultExportFromCjs, fI as NODE_SIZE, ca as CanvasNodeRenderType, fJ as GRID_SIZE, bM as useThrottleFn, g1 as useActiveElement, g2 as useDeviceSupport, g3 as useEventListener$1, g4 as onKeyDown, g5 as onKeyUp, a_ as watchEffect, b4 as normalizeProps, aV as createSlots, c5 as isValidNodeConnectionType, c6 as CanvasConnectionMode, g6 as refThrottled, g7 as CanvasNodeKey, g8 as mergeModels, g9 as useModel, bA as useNodeHelpers, ga as TitledList, aR as N8nTooltip, gb as CanvasNodeDirtiness, bC as _sfc_main$A, b2 as withModifiers, ah as nodeViewEventBus, c9 as NODE_CREATOR_OPEN_SOURCES, bV as useBuilderStore, bd as withKeys, gc as CanvasNodeHandleKey, aA as withDirectives, aB as vShow, gd as Transition$2, b as useRouter, bB as useRunWorkflow, aZ as LOGS_PANEL_STATE, bk as CHAT_TRIGGER_NODE_TYPE, C as createEventBus, ej as isEqual, p as useSettingsStore, c1 as Suspense, b5 as guardReactiveProps, ge as useNodeDirtiness, fs as CUSTOM_API_CALL_KEY, bw as getNodeInputs, by as getNodeOutputs, dx as getTriggerNodeServiceName, cn as sanitizeHtml, gf as WAIT_NODE_TYPE, eA as SEND_AND_WAIT_OPERATION, gg as FORM_NODE_TYPE, gh as WAIT_INDEFINITELY, gi as SIMULATE_NODE_TYPE, gj as SIMULATE_TRIGGER_NODE_TYPE, gk as getNodeIconSource } from "./index-BLAboPd2.js";
2
+ import { p as parseCanvasConnectionHandleString, a as useNodeCreatorStore, b as useCanvasOperations, i as insertSpacersBetweenEndpoints, c as createCanvasConnectionHandleString, m as mapLegacyEndpointsToCanvasConnectionPort, e as checkOverlap, f as mapLegacyConnectionsToCanvasConnections } from "./useCanvasOperations-C0pQBHW3.js";
3
+ const _sfc_main$z = {};
4
4
  const _hoisted_1$d = {
5
5
  xmlns: "http://www.w3.org/2000/svg",
6
6
  viewBox: "0 0 16 16"
@@ -13,7 +13,7 @@ function _sfc_render$1(_ctx, _cache) {
13
13
  }, null, -1)
14
14
  ]));
15
15
  }
16
- const TidyUpIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$y, [["render", _sfc_render$1]]);
16
+ const TidyUpIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$z, [["render", _sfc_render$1]]);
17
17
  function tryOnScopeDispose(fn) {
18
18
  if (getCurrentScope()) {
19
19
  onScopeDispose(fn);
@@ -9576,7 +9576,7 @@ const __default__$g = {
9576
9576
  name: "Panel",
9577
9577
  compatConfig: { MODE: 3 }
9578
9578
  };
9579
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
9579
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
9580
9580
  ...__default__$g,
9581
9581
  props: {
9582
9582
  position: {}
@@ -9677,7 +9677,7 @@ const __default__$4 = {
9677
9677
  name: "Controls",
9678
9678
  compatConfig: { MODE: 3 }
9679
9679
  };
9680
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
9680
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
9681
9681
  ...__default__$4,
9682
9682
  props: {
9683
9683
  showZoom: { type: Boolean, default: true },
@@ -9720,7 +9720,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
9720
9720
  emit("interactionChange", !isInteractive.value);
9721
9721
  }
9722
9722
  return (_ctx, _cache) => {
9723
- return openBlock(), createBlock(unref(_sfc_main$x), {
9723
+ return openBlock(), createBlock(unref(_sfc_main$y), {
9724
9724
  class: "vue-flow__controls",
9725
9725
  position: _ctx.position
9726
9726
  }, {
@@ -9793,7 +9793,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
9793
9793
  };
9794
9794
  }
9795
9795
  });
9796
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
9796
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
9797
9797
  __name: "CanvasControlButtons",
9798
9798
  props: {
9799
9799
  zoom: { default: 1 },
@@ -9823,7 +9823,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
9823
9823
  return (_ctx, _cache) => {
9824
9824
  const _component_N8nIconButton = resolveComponent("N8nIconButton");
9825
9825
  const _component_N8nButton = resolveComponent("N8nButton");
9826
- return openBlock(), createBlock(unref(_sfc_main$w), {
9826
+ return openBlock(), createBlock(unref(_sfc_main$x), {
9827
9827
  "show-zoom": false,
9828
9828
  "show-fit-view": false
9829
9829
  }, {
@@ -9918,13 +9918,13 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
9918
9918
  }
9919
9919
  });
9920
9920
  const iconButton = "_iconButton_fx9xi_123";
9921
- const style0$o = {
9921
+ const style0$p = {
9922
9922
  iconButton
9923
9923
  };
9924
- const cssModules$o = {
9925
- "$style": style0$o
9924
+ const cssModules$p = {
9925
+ "$style": style0$p
9926
9926
  };
9927
- const __unplugin_components_1 = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["__cssModules", cssModules$o]]);
9927
+ const __unplugin_components_1 = /* @__PURE__ */ _export_sfc$1(_sfc_main$w, [["__cssModules", cssModules$p]]);
9928
9928
  const EDGE_PADDING_BOTTOM = 130;
9929
9929
  const EDGE_PADDING_X = 40;
9930
9930
  const EDGE_BORDER_RADIUS = 16;
@@ -9981,7 +9981,7 @@ function injectStrict(key, fallback) {
9981
9981
  function useCanvas() {
9982
9982
  return injectStrict(CanvasKey);
9983
9983
  }
9984
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
9984
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
9985
9985
  __name: "CanvasConnectionLine",
9986
9986
  props: {
9987
9987
  sourceX: {},
@@ -10048,14 +10048,14 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
10048
10048
  });
10049
10049
  const edge$1 = "_edge_cbk94_123";
10050
10050
  const visible = "_visible_cbk94_129";
10051
- const style0$n = {
10051
+ const style0$o = {
10052
10052
  edge: edge$1,
10053
10053
  visible
10054
10054
  };
10055
- const cssModules$n = {
10056
- "$style": style0$n
10055
+ const cssModules$o = {
10056
+ "$style": style0$o
10057
10057
  };
10058
- const __unplugin_components_0$5 = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["__cssModules", cssModules$n]]);
10058
+ const __unplugin_components_0$5 = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["__cssModules", cssModules$o]]);
10059
10059
  const position = ref([0, 0]);
10060
10060
  const isOpen = ref(false);
10061
10061
  const target = ref();
@@ -10262,7 +10262,7 @@ const useContextMenu = (onAction = () => {
10262
10262
  _dispatchAction
10263
10263
  };
10264
10264
  };
10265
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
10265
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
10266
10266
  __name: "ContextMenu",
10267
10267
  emits: ["action"],
10268
10268
  setup(__props, { emit: __emit }) {
@@ -10270,6 +10270,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
10270
10270
  const { position: position2, isOpen: isOpen2, actions: actions2, target: target2 } = contextMenu2;
10271
10271
  const dropdown = ref();
10272
10272
  const emit = __emit;
10273
+ const { APP_Z_INDEXES } = useStyles();
10273
10274
  watch(
10274
10275
  isOpen2,
10275
10276
  () => {
@@ -10300,7 +10301,8 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
10300
10301
  class: normalizeClass(_ctx.$style.contextMenu),
10301
10302
  style: normalizeStyle({
10302
10303
  left: `${unref(position2)[0]}px`,
10303
- top: `${unref(position2)[1]}px`
10304
+ top: `${unref(position2)[1]}px`,
10305
+ zIndex: unref(APP_Z_INDEXES).CONTEXT_MENU
10304
10306
  })
10305
10307
  }, [
10306
10308
  createVNode(unref(N8nActionDropdown), {
@@ -10328,14 +10330,14 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
10328
10330
  });
10329
10331
  const contextMenu = "_contextMenu_12fz3_123";
10330
10332
  const activator = "_activator_12fz3_127";
10331
- const style0$m = {
10333
+ const style0$n = {
10332
10334
  contextMenu,
10333
10335
  activator
10334
10336
  };
10335
- const cssModules$m = {
10336
- "$style": style0$m
10337
+ const cssModules$n = {
10338
+ "$style": style0$n
10337
10339
  };
10338
- const ContextMenu = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["__cssModules", cssModules$m]]);
10340
+ const ContextMenu = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["__cssModules", cssModules$n]]);
10339
10341
  var graph;
10340
10342
  var hasRequiredGraph;
10341
10343
  function requireGraph() {
@@ -16926,7 +16928,7 @@ const __default__$3 = {
16926
16928
  name: "MiniMap",
16927
16929
  compatConfig: { MODE: 3 }
16928
16930
  };
16929
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
16931
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
16930
16932
  ...__default__$3,
16931
16933
  props: {
16932
16934
  nodeColor: { type: [String, Function], default: "#e2e2e2" },
@@ -17089,7 +17091,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17089
17091
  emit("nodeMouseleave", param);
17090
17092
  }
17091
17093
  return (_ctx, _cache) => {
17092
- return openBlock(), createBlock(unref(_sfc_main$x), {
17094
+ return openBlock(), createBlock(unref(_sfc_main$y), {
17093
17095
  position: _ctx.position,
17094
17096
  class: normalizeClass(["vue-flow__minimap", { pannable: _ctx.pannable, zoomable: _ctx.zoomable }])
17095
17097
  }, {
@@ -17149,7 +17151,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17149
17151
  });
17150
17152
  const _hoisted_1$9 = ["id", "x", "y", "width", "height", "patternTransform"];
17151
17153
  const _hoisted_2$5 = ["d", "stroke-width"];
17152
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
17154
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17153
17155
  __name: "CanvasBackgroundStripedPattern",
17154
17156
  props: {
17155
17157
  id: {},
@@ -17179,7 +17181,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
17179
17181
  };
17180
17182
  }
17181
17183
  });
17182
- const CanvasBackgroundStripedPattern = /* @__PURE__ */ _export_sfc$1(_sfc_main$r, [["__scopeId", "data-v-161512f5"]]);
17184
+ const CanvasBackgroundStripedPattern = /* @__PURE__ */ _export_sfc$1(_sfc_main$s, [["__scopeId", "data-v-161512f5"]]);
17183
17185
  var BackgroundVariant = /* @__PURE__ */ ((BackgroundVariant2) => {
17184
17186
  BackgroundVariant2["Lines"] = "lines";
17185
17187
  BackgroundVariant2["Dots"] = "dots";
@@ -17215,7 +17217,7 @@ const __default__$2 = {
17215
17217
  name: "Background",
17216
17218
  compatConfig: { MODE: 3 }
17217
17219
  };
17218
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
17220
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
17219
17221
  ...__default__$2,
17220
17222
  props: {
17221
17223
  id: {},
@@ -17300,7 +17302,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
17300
17302
  };
17301
17303
  }
17302
17304
  });
17303
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
17305
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
17304
17306
  __name: "CanvasBackground",
17305
17307
  props: {
17306
17308
  striped: { type: Boolean },
@@ -17308,7 +17310,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
17308
17310
  },
17309
17311
  setup(__props) {
17310
17312
  return (_ctx, _cache) => {
17311
- return openBlock(), createBlock(unref(_sfc_main$q), {
17313
+ return openBlock(), createBlock(unref(_sfc_main$r), {
17312
17314
  "data-test-id": "canvas-background",
17313
17315
  "pattern-color": "#aaa",
17314
17316
  gap: unref(GRID_SIZE)
@@ -17331,7 +17333,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
17331
17333
  }
17332
17334
  });
17333
17335
  const _hoisted_1$7 = ["id"];
17334
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
17336
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
17335
17337
  __name: "CanvasArrowHeadMarker",
17336
17338
  props: {
17337
17339
  id: {}
@@ -17364,7 +17366,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
17364
17366
  };
17365
17367
  }
17366
17368
  });
17367
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
17369
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
17368
17370
  __name: "CanvasEdgeToolbar",
17369
17371
  props: {
17370
17372
  type: {}
@@ -17415,17 +17417,17 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
17415
17417
  }
17416
17418
  });
17417
17419
  const canvasEdgeToolbar = "_canvasEdgeToolbar_8p9ym_123";
17418
- const style0$l = {
17420
+ const style0$m = {
17419
17421
  canvasEdgeToolbar
17420
17422
  };
17421
- const cssModules$l = {
17422
- "$style": style0$l
17423
+ const cssModules$m = {
17424
+ "$style": style0$m
17423
17425
  };
17424
- const CanvasEdgeToolbar = /* @__PURE__ */ _export_sfc$1(_sfc_main$n, [["__cssModules", cssModules$l]]);
17426
+ const CanvasEdgeToolbar = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["__cssModules", cssModules$m]]);
17425
17427
  const _hoisted_1$6 = ["data-source-node-name", "data-target-node-name"];
17426
17428
  const _hoisted_2$3 = ["data-source-node-name", "data-target-node-name", "data-edge-status"];
17427
17429
  const delayedHoveredTimeout = 300;
17428
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
17430
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
17429
17431
  __name: "CanvasEdge",
17430
17432
  props: {
17431
17433
  id: {},
@@ -17605,15 +17607,15 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
17605
17607
  const edge = "_edge_fyzmo_123";
17606
17608
  const edgeLabelWrapper = "_edgeLabelWrapper_fyzmo_127";
17607
17609
  const edgeLabel = "_edgeLabel_fyzmo_127";
17608
- const style0$k = {
17610
+ const style0$l = {
17609
17611
  edge,
17610
17612
  edgeLabelWrapper,
17611
17613
  edgeLabel
17612
17614
  };
17613
- const cssModules$k = {
17614
- "$style": style0$k
17615
+ const cssModules$l = {
17616
+ "$style": style0$l
17615
17617
  };
17616
- const Edge = /* @__PURE__ */ _export_sfc$1(_sfc_main$m, [["__cssModules", cssModules$k]]);
17618
+ const Edge = /* @__PURE__ */ _export_sfc$1(_sfc_main$n, [["__cssModules", cssModules$l]]);
17617
17619
  function useCanvasNode() {
17618
17620
  const node2 = inject(CanvasNodeKey);
17619
17621
  const data = computed(
@@ -17691,7 +17693,7 @@ function useCanvasNode() {
17691
17693
  }
17692
17694
  const _hoisted_1$5 = ["title"];
17693
17695
  const _hoisted_2$2 = ["onClick"];
17694
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
17696
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
17695
17697
  __name: "CanvasNodeStickyColorSelector",
17696
17698
  props: {
17697
17699
  "visible": { type: Boolean },
@@ -17785,7 +17787,7 @@ const content = "_content_3lp7u_129";
17785
17787
  const color = "_color_3lp7u_136";
17786
17788
  const selected$2 = "_selected_3lp7u_148";
17787
17789
  const option = "_option_3lp7u_173";
17788
- const style0$j = {
17790
+ const style0$k = {
17789
17791
  popover,
17790
17792
  content,
17791
17793
  color,
@@ -17799,11 +17801,11 @@ const style0$j = {
17799
17801
  "sticky-color-7": "_sticky-color-7_3lp7u_169",
17800
17802
  option
17801
17803
  };
17802
- const cssModules$j = {
17803
- "$style": style0$j
17804
+ const cssModules$k = {
17805
+ "$style": style0$k
17804
17806
  };
17805
- const __unplugin_components_0$4 = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["__cssModules", cssModules$j]]);
17806
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
17807
+ const __unplugin_components_0$4 = /* @__PURE__ */ _export_sfc$1(_sfc_main$m, [["__cssModules", cssModules$k]]);
17808
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
17807
17809
  __name: "CanvasNodeToolbar",
17808
17810
  props: {
17809
17811
  readOnly: { type: Boolean }
@@ -17934,16 +17936,16 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
17934
17936
  const canvasNodeToolbar$1 = "_canvasNodeToolbar_104hp_123";
17935
17937
  const canvasNodeToolbarItems = "_canvasNodeToolbarItems_104hp_130";
17936
17938
  const forceVisible = "_forceVisible_104hp_141";
17937
- const style0$i = {
17939
+ const style0$j = {
17938
17940
  canvasNodeToolbar: canvasNodeToolbar$1,
17939
17941
  canvasNodeToolbarItems,
17940
17942
  forceVisible
17941
17943
  };
17942
- const cssModules$i = {
17943
- "$style": style0$i
17944
+ const cssModules$j = {
17945
+ "$style": style0$j
17944
17946
  };
17945
- const CanvasNodeToolbar = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["__cssModules", cssModules$i]]);
17946
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
17947
+ const CanvasNodeToolbar = /* @__PURE__ */ _export_sfc$1(_sfc_main$l, [["__cssModules", cssModules$j]]);
17948
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
17947
17949
  __name: "CanvasNodeDisabledStrikeThrough",
17948
17950
  setup(__props) {
17949
17951
  const $style = useCssModule();
@@ -17965,20 +17967,20 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
17965
17967
  const disabledStrikeThrough = "_disabledStrikeThrough_nl2g7_123";
17966
17968
  const success$2 = "_success_nl2g7_132";
17967
17969
  const warning$2 = "_warning_nl2g7_136";
17968
- const style0$h = {
17970
+ const style0$i = {
17969
17971
  disabledStrikeThrough,
17970
17972
  success: success$2,
17971
17973
  warning: warning$2
17972
17974
  };
17973
- const cssModules$h = {
17974
- "$style": style0$h
17975
+ const cssModules$i = {
17976
+ "$style": style0$i
17975
17977
  };
17976
- const __unplugin_components_3 = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["__cssModules", cssModules$h]]);
17978
+ const __unplugin_components_3 = /* @__PURE__ */ _export_sfc$1(_sfc_main$k, [["__cssModules", cssModules$i]]);
17977
17979
  const _hoisted_1$4 = { key: 1 };
17978
17980
  const _hoisted_2$1 = ["textContent"];
17979
17981
  const _hoisted_3$1 = { key: 3 };
17980
17982
  const _hoisted_4 = { key: 5 };
17981
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
17983
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
17982
17984
  __name: "CanvasNodeStatusIcons",
17983
17985
  setup(__props) {
17984
17986
  const nodeHelpers = useNodeHelpers();
@@ -18106,7 +18108,7 @@ const running$1 = "_running_93vv6_142";
18106
18108
  const issues = "_issues_93vv6_165";
18107
18109
  const count = "_count_93vv6_170";
18108
18110
  const warning$1 = "_warning_93vv6_174";
18109
- const style0$g = {
18111
+ const style0$h = {
18110
18112
  status,
18111
18113
  runData,
18112
18114
  waiting: waiting$1,
@@ -18117,11 +18119,11 @@ const style0$g = {
18117
18119
  count,
18118
18120
  warning: warning$1
18119
18121
  };
18120
- const cssModules$g = {
18121
- "$style": style0$g
18122
+ const cssModules$h = {
18123
+ "$style": style0$h
18122
18124
  };
18123
- const __unplugin_components_2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["__cssModules", cssModules$g]]);
18124
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
18125
+ const __unplugin_components_2 = /* @__PURE__ */ _export_sfc$1(_sfc_main$j, [["__cssModules", cssModules$h]]);
18126
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
18125
18127
  __name: "CanvasNodeTooltip",
18126
18128
  props: {
18127
18129
  visible: { type: Boolean }
@@ -18160,14 +18162,14 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
18160
18162
  });
18161
18163
  const tooltipTrigger = "_tooltipTrigger_dauyi_123";
18162
18164
  const popper = "_popper_dauyi_131";
18163
- const style0$f = {
18165
+ const style0$g = {
18164
18166
  tooltipTrigger,
18165
18167
  popper
18166
18168
  };
18167
- const cssModules$f = {
18168
- "$style": style0$f
18169
+ const cssModules$g = {
18170
+ "$style": style0$g
18169
18171
  };
18170
- const __unplugin_components_0$3 = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["__cssModules", cssModules$f]]);
18172
+ const __unplugin_components_0$3 = /* @__PURE__ */ _export_sfc$1(_sfc_main$i, [["__cssModules", cssModules$g]]);
18171
18173
  function useNodeConnections({
18172
18174
  inputs: inputs2,
18173
18175
  outputs,
@@ -18217,7 +18219,7 @@ function useNodeConnections({
18217
18219
  };
18218
18220
  }
18219
18221
  const _hoisted_1$3 = ["data-test-id"];
18220
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
18222
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
18221
18223
  __name: "CanvasNodeDefault",
18222
18224
  emits: ["open:contextmenu", "activate"],
18223
18225
  setup(__props, { emit: __emit }) {
@@ -18318,7 +18320,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
18318
18320
  }
18319
18321
  return (_ctx, _cache) => {
18320
18322
  const _component_CanvasNodeTooltip = __unplugin_components_0$3;
18321
- const _component_NodeIcon = _sfc_main$z;
18323
+ const _component_NodeIcon = _sfc_main$A;
18322
18324
  const _component_CanvasNodeStatusIcons = __unplugin_components_2;
18323
18325
  const _component_CanvasNodeDisabledStrikeThrough = __unplugin_components_3;
18324
18326
  return openBlock(), createElementBlock("div", {
@@ -18380,7 +18382,7 @@ const disabled = "_disabled_1d2zc_218";
18380
18382
  const running = "_running_1d2zc_221";
18381
18383
  const waiting = "_waiting_1d2zc_225";
18382
18384
  const disabledLabel = "_disabledLabel_1d2zc_242";
18383
- const style0$e = {
18385
+ const style0$f = {
18384
18386
  node,
18385
18387
  trigger: trigger$1,
18386
18388
  configuration,
@@ -18399,10 +18401,10 @@ const style0$e = {
18399
18401
  waiting,
18400
18402
  disabledLabel
18401
18403
  };
18402
- const cssModules$e = {
18403
- "$style": style0$e
18404
+ const cssModules$f = {
18405
+ "$style": style0$f
18404
18406
  };
18405
- const CanvasNodeDefault = /* @__PURE__ */ _export_sfc$1(_sfc_main$g, [["__cssModules", cssModules$e]]);
18407
+ const CanvasNodeDefault = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["__cssModules", cssModules$f]]);
18406
18408
  var xhtml = "http://www.w3.org/1999/xhtml";
18407
18409
  const namespaces = {
18408
18410
  svg: "http://www.w3.org/2000/svg",
@@ -19682,7 +19684,7 @@ const __default__ = {
19682
19684
  compatConfig: { MODE: 3 },
19683
19685
  inheritAttrs: false
19684
19686
  };
19685
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
19687
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
19686
19688
  ...__default__,
19687
19689
  props: {
19688
19690
  nodeId: {},
@@ -19795,7 +19797,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
19795
19797
  };
19796
19798
  }
19797
19799
  });
19798
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
19800
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
19799
19801
  ...{
19800
19802
  inheritAttrs: false
19801
19803
  },
@@ -19852,7 +19854,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
19852
19854
  return (_ctx, _cache) => {
19853
19855
  const _component_N8nSticky = resolveComponent("N8nSticky");
19854
19856
  return openBlock(), createElementBlock(Fragment, null, [
19855
- createVNode(unref(_sfc_main$f), {
19857
+ createVNode(unref(_sfc_main$g), {
19856
19858
  "min-height": 80,
19857
19859
  "min-width": 150,
19858
19860
  height: renderOptions.value.height,
@@ -19881,16 +19883,16 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
19881
19883
  });
19882
19884
  const sticky = "_sticky_1jyj2_123";
19883
19885
  const selected = "_selected_1jyj2_130";
19884
- const style0$d = {
19886
+ const style0$e = {
19885
19887
  sticky,
19886
19888
  selected
19887
19889
  };
19888
- const cssModules$d = {
19889
- "$style": style0$d
19890
+ const cssModules$e = {
19891
+ "$style": style0$e
19890
19892
  };
19891
- const CanvasNodeStickyNote = /* @__PURE__ */ _export_sfc$1(_sfc_main$e, [["__cssModules", cssModules$d]]);
19893
+ const CanvasNodeStickyNote = /* @__PURE__ */ _export_sfc$1(_sfc_main$f, [["__cssModules", cssModules$e]]);
19892
19894
  const _hoisted_1$2 = ["textContent"];
19893
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
19895
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
19894
19896
  __name: "CanvasNodeAddNodes",
19895
19897
  setup(__props) {
19896
19898
  const nodeCreatorStore = useNodeCreatorStore();
@@ -19958,15 +19960,110 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
19958
19960
  const addNodes = "_addNodes_1qfrq_123";
19959
19961
  const button = "_button_1qfrq_131";
19960
19962
  const label$4 = "_label_1qfrq_152";
19961
- const style0$c = {
19963
+ const style0$d = {
19962
19964
  addNodes,
19963
19965
  button,
19964
19966
  label: label$4
19965
19967
  };
19968
+ const cssModules$d = {
19969
+ "$style": style0$d
19970
+ };
19971
+ const CanvasNodeAddNodes = /* @__PURE__ */ _export_sfc$1(_sfc_main$e, [["__cssModules", cssModules$d]]);
19972
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
19973
+ __name: "CanvasNodeAIPrompt",
19974
+ emits: ["delete"],
19975
+ setup(__props, { emit: __emit }) {
19976
+ const emit = __emit;
19977
+ const i18n = useI18n();
19978
+ const { id: id2 } = useCanvasNode();
19979
+ const builderStore = useBuilderStore();
19980
+ const isPromptVisible = ref(true);
19981
+ const isFocused = ref(false);
19982
+ const prompt = ref("");
19983
+ const hasContent = computed(() => prompt.value.trim().length > 0);
19984
+ async function onSubmit() {
19985
+ builderStore.openChat();
19986
+ emit("delete", id2.value);
19987
+ await builderStore.initBuilderChat(prompt.value, "canvas");
19988
+ isPromptVisible.value = false;
19989
+ }
19990
+ return (_ctx, _cache) => {
19991
+ const _component_n8n_input = resolveComponent("n8n-input");
19992
+ const _component_n8n_button = resolveComponent("n8n-button");
19993
+ return isPromptVisible.value ? (openBlock(), createElementBlock("div", {
19994
+ key: 0,
19995
+ class: normalizeClass(_ctx.$style.container),
19996
+ "data-test-id": "canvas-ai-prompt"
19997
+ }, [
19998
+ createBaseVNode("div", {
19999
+ class: normalizeClass([_ctx.$style.promptContainer, { [_ctx.$style.focused]: isFocused.value }])
20000
+ }, [
20001
+ createBaseVNode("form", {
20002
+ class: normalizeClass(_ctx.$style.form),
20003
+ onSubmit: withModifiers(onSubmit, ["prevent"])
20004
+ }, [
20005
+ createVNode(_component_n8n_input, {
20006
+ modelValue: prompt.value,
20007
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => prompt.value = $event),
20008
+ class: normalizeClass(_ctx.$style.form_textarea),
20009
+ type: "textarea",
20010
+ disabled: unref(builderStore).streaming,
20011
+ placeholder: unref(i18n).baseText("aiAssistant.builder.placeholder"),
20012
+ "read-only": false,
20013
+ rows: 15,
20014
+ onFocus: _cache[1] || (_cache[1] = ($event) => isFocused.value = true),
20015
+ onBlur: _cache[2] || (_cache[2] = ($event) => isFocused.value = false),
20016
+ onKeydown: withKeys(withModifiers(onSubmit, ["meta", "stop"]), ["enter"])
20017
+ }, null, 8, ["modelValue", "class", "disabled", "placeholder", "onKeydown"]),
20018
+ createBaseVNode("div", {
20019
+ class: normalizeClass(_ctx.$style.form_footer)
20020
+ }, [
20021
+ createVNode(_component_n8n_button, {
20022
+ "native-type": "submit",
20023
+ disabled: !hasContent.value || unref(builderStore).streaming,
20024
+ onKeydown: withKeys(onSubmit, ["enter"])
20025
+ }, {
20026
+ default: withCtx(() => [
20027
+ createTextVNode(toDisplayString(unref(i18n).baseText("aiAssistant.builder.buildWorkflow")), 1)
20028
+ ]),
20029
+ _: 1
20030
+ }, 8, ["disabled"])
20031
+ ], 2)
20032
+ ], 34)
20033
+ ], 2),
20034
+ createBaseVNode("div", {
20035
+ class: normalizeClass(_ctx.$style.or)
20036
+ }, [
20037
+ createBaseVNode("p", {
20038
+ class: normalizeClass(_ctx.$style.or_text)
20039
+ }, "or", 2)
20040
+ ], 2)
20041
+ ], 2)) : createCommentVNode("", true);
20042
+ };
20043
+ }
20044
+ });
20045
+ const container$1 = "_container_145fr_123";
20046
+ const promptContainer = "_promptContainer_145fr_128";
20047
+ const focused = "_focused_145fr_142";
20048
+ const form = "_form_145fr_146";
20049
+ const form_textarea = "_form_textarea_145fr_153";
20050
+ const form_footer = "_form_footer_145fr_170";
20051
+ const or = "_or_145fr_176";
20052
+ const or_text = "_or_text_145fr_185";
20053
+ const style0$c = {
20054
+ container: container$1,
20055
+ promptContainer,
20056
+ focused,
20057
+ form,
20058
+ form_textarea,
20059
+ form_footer,
20060
+ or,
20061
+ or_text
20062
+ };
19966
20063
  const cssModules$c = {
19967
20064
  "$style": style0$c
19968
20065
  };
19969
- const CanvasNodeAddNodes = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["__cssModules", cssModules$c]]);
20066
+ const CanvasNodeAIPrompt = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["__cssModules", cssModules$c]]);
19970
20067
  const _sfc_main$c = /* @__PURE__ */ defineComponent({
19971
20068
  __name: "CanvasNodeRenderer",
19972
20069
  setup(__props) {
@@ -19981,6 +20078,9 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
19981
20078
  case CanvasNodeRenderType.AddNodes:
19982
20079
  Component = CanvasNodeAddNodes;
19983
20080
  break;
20081
+ case CanvasNodeRenderType.AIPrompt:
20082
+ Component = CanvasNodeAIPrompt;
20083
+ break;
19984
20084
  default:
19985
20085
  Component = CanvasNodeDefault;
19986
20086
  }
@@ -20867,7 +20967,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
20867
20967
  readOnly,
20868
20968
  eventBus: canvasNodeEventBus
20869
20969
  });
20870
- const hasToolbar = computed(() => props.data.type !== CanvasNodeRenderType.AddNodes);
20970
+ const hasToolbar = computed(
20971
+ () => ![CanvasNodeRenderType.AddNodes, CanvasNodeRenderType.AIPrompt].includes(renderType2.value)
20972
+ );
20871
20973
  const showToolbar2 = computed(() => {
20872
20974
  const target2 = contextMenu2.target.value;
20873
20975
  return contextMenu2.isOpen && target2?.source === "node-button" && target2.nodeId === id2.value;
@@ -20954,7 +21056,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
20954
21056
  onDeactivate,
20955
21057
  onMove,
20956
21058
  onUpdate,
20957
- "onOpen:contextmenu": onOpenContextMenuFromNode
21059
+ "onOpen:contextmenu": onOpenContextMenuFromNode,
21060
+ onDelete
20958
21061
  }),
20959
21062
  props.data.render.type === unref(CanvasNodeRenderType).Default && props.data.render.options.trigger ? (openBlock(), createBlock(CanvasNodeTrigger, {
20960
21063
  key: 2,
@@ -20983,6 +21086,45 @@ const cssModules$1 = {
20983
21086
  "$style": style0$1
20984
21087
  };
20985
21088
  const CanvasNode = /* @__PURE__ */ _export_sfc$1(_sfc_main$1, [["__cssModules", cssModules$1]]);
21089
+ function useViewportAutoAdjust(viewportRef, viewport, setViewport) {
21090
+ const settingsStore = useSettingsStore();
21091
+ if (settingsStore.isNewLogsEnabled) {
21092
+ const canvasRect = ref();
21093
+ watch(
21094
+ viewportRef,
21095
+ (vp, _, onCleanUp) => {
21096
+ if (!vp) {
21097
+ return;
21098
+ }
21099
+ const resizeObserver = new ResizeObserver((entries) => {
21100
+ const entry = entries[0];
21101
+ if (entry) {
21102
+ canvasRect.value = entry.contentRect;
21103
+ }
21104
+ });
21105
+ canvasRect.value = {
21106
+ x: vp.offsetLeft,
21107
+ y: vp.offsetTop,
21108
+ width: vp.offsetWidth,
21109
+ height: vp.offsetHeight
21110
+ };
21111
+ resizeObserver.observe(vp);
21112
+ onCleanUp(() => resizeObserver.disconnect());
21113
+ },
21114
+ { immediate: true }
21115
+ );
21116
+ watch(canvasRect, async (newRect, oldRect) => {
21117
+ if (!newRect || !oldRect) {
21118
+ return;
21119
+ }
21120
+ await setViewport({
21121
+ x: viewport.value.x + (newRect.width - oldRect.width) / 2,
21122
+ y: viewport.value.y + (newRect.height - oldRect.height) / 2,
21123
+ zoom: viewport.value.zoom
21124
+ });
21125
+ });
21126
+ }
21127
+ }
20986
21128
  const renameKeyCode = " ";
20987
21129
  const defaultZoom = 1;
20988
21130
  const minimapVisibilityDelay = 1e3;
@@ -21024,6 +21166,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
21024
21166
  findNode,
21025
21167
  viewport,
21026
21168
  nodesSelectionActive,
21169
+ setViewport,
21027
21170
  onEdgeMouseLeave,
21028
21171
  onEdgeMouseEnter,
21029
21172
  onEdgeMouseMove,
@@ -21061,7 +21204,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
21061
21204
  useShortKeyPress(
21062
21205
  renameKeyCode,
21063
21206
  () => {
21064
- if (lastSelectedNode.value) {
21207
+ if (lastSelectedNode.value && lastSelectedNode.value.id !== CanvasNodeRenderType.AIPrompt) {
21065
21208
  emit("update:node:name", lastSelectedNode.value.id);
21066
21209
  }
21067
21210
  },
@@ -21143,7 +21286,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
21143
21286
  ctrl_alt_n: () => emit("create:workflow"),
21144
21287
  ctrl_enter: () => emit("run:workflow"),
21145
21288
  ctrl_s: () => emit("save:workflow"),
21146
- shift_alt_t: async () => await onTidyUp("keyboard-shortcut")
21289
+ shift_alt_t: async () => await onTidyUp({ source: "keyboard-shortcut" })
21147
21290
  };
21148
21291
  return fullKeymap;
21149
21292
  });
@@ -21312,6 +21455,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
21312
21455
  };
21313
21456
  }
21314
21457
  const isPaneMoving = ref(false);
21458
+ useViewportAutoAdjust(viewportRef, viewport, setViewport);
21315
21459
  function getProjectedPosition(event) {
21316
21460
  const bounds = viewportRef.value?.getBoundingClientRect() ?? { left: 0, top: 0 };
21317
21461
  const offsetX = event?.clientX ?? 0;
@@ -21403,14 +21547,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
21403
21547
  case "change_color":
21404
21548
  return props.eventBus.emit("nodes:action", { ids: nodeIds, action: "update:sticky:color" });
21405
21549
  case "tidy_up":
21406
- return await onTidyUp("context-menu");
21550
+ return await onTidyUp({ source: "context-menu" });
21407
21551
  }
21408
21552
  }
21409
- async function onTidyUp(source) {
21553
+ async function onTidyUp(payload) {
21410
21554
  const applyOnSelection = selectedNodes.value.length > 1;
21411
21555
  const target2 = applyOnSelection ? "selection" : "all";
21412
21556
  const result = layout(target2);
21413
- emit("tidy-up", { result, target: target2, source });
21557
+ emit("tidy-up", { result, target: target2, source: payload.source });
21414
21558
  if (!applyOnSelection) {
21415
21559
  await nextTick();
21416
21560
  await onFitView();
@@ -21460,11 +21604,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
21460
21604
  onMounted(() => {
21461
21605
  props.eventBus.on("fitView", onFitView);
21462
21606
  props.eventBus.on("nodes:select", onSelectNodes);
21607
+ props.eventBus.on("tidyUp", onTidyUp);
21463
21608
  window.addEventListener("blur", onWindowBlur);
21464
21609
  });
21465
21610
  onUnmounted(() => {
21466
21611
  props.eventBus.off("fitView", onFitView);
21467
21612
  props.eventBus.off("nodes:select", onSelectNodes);
21613
+ props.eventBus.off("tidyUp", onTidyUp);
21468
21614
  window.removeEventListener("blur", onWindowBlur);
21469
21615
  });
21470
21616
  onPaneReady(async () => {
@@ -21567,14 +21713,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
21567
21713
  createVNode(_component_CanvasConnectionLine, normalizeProps(guardReactiveProps(connectionLineProps)), null, 16)
21568
21714
  ]),
21569
21715
  default: withCtx(() => [
21570
- createVNode(_sfc_main$o, { id: arrowHeadMarkerId.value }, null, 8, ["id"]),
21571
- createVNode(_sfc_main$p, {
21716
+ createVNode(_sfc_main$p, { id: arrowHeadMarkerId.value }, null, 8, ["id"]),
21717
+ createVNode(_sfc_main$q, {
21572
21718
  viewport: unref(viewport),
21573
21719
  striped: _ctx.readOnly
21574
21720
  }, null, 8, ["viewport", "striped"]),
21575
21721
  createVNode(Transition$2, { name: "minimap" }, {
21576
21722
  default: withCtx(() => [
21577
- withDirectives(createVNode(unref(_sfc_main$s), {
21723
+ withDirectives(createVNode(unref(_sfc_main$t), {
21578
21724
  "data-test-id": "canvas-minimap",
21579
21725
  "aria-label": "n8n Minimap",
21580
21726
  height: 120,
@@ -21603,7 +21749,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
21603
21749
  onZoomIn,
21604
21750
  onZoomOut,
21605
21751
  onResetZoom,
21606
- onTidyUp: _cache[0] || (_cache[0] = ($event) => onTidyUp("canvas-button"))
21752
+ onTidyUp: _cache[0] || (_cache[0] = ($event) => onTidyUp({ source: "canvas-button" }))
21607
21753
  }, null, 8, ["class", "position", "zoom", "read-only"]),
21608
21754
  (openBlock(), createBlock(Suspense, null, {
21609
21755
  default: withCtx(() => [
@@ -21626,7 +21772,7 @@ const style0 = {
21626
21772
  const cssModules = {
21627
21773
  "$style": style0
21628
21774
  };
21629
- const Canvas = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-053d8c50"]]);
21775
+ const Canvas = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-af44edae"]]);
21630
21776
  function useCanvasMapping({
21631
21777
  nodes,
21632
21778
  connections,
@@ -21654,6 +21800,12 @@ function useCanvasMapping({
21654
21800
  options: {}
21655
21801
  };
21656
21802
  }
21803
+ function createAIPromptRenderType() {
21804
+ return {
21805
+ type: CanvasNodeRenderType.AIPrompt,
21806
+ options: {}
21807
+ };
21808
+ }
21657
21809
  function createDefaultNodeRenderType(node2) {
21658
21810
  const nodeType = nodeTypeDescriptionByNodeId.value[node2.id];
21659
21811
  const icon = getNodeIconSource(
@@ -21686,6 +21838,9 @@ function useCanvasMapping({
21686
21838
  case `${CanvasNodeRenderType.AddNodes}`:
21687
21839
  acc[node2.id] = createAddNodesRenderType();
21688
21840
  break;
21841
+ case `${CanvasNodeRenderType.AIPrompt}`:
21842
+ acc[node2.id] = createAIPromptRenderType();
21843
+ break;
21689
21844
  default:
21690
21845
  acc[node2.id] = createDefaultNodeRenderType(node2);
21691
21846
  }
@@ -21879,7 +22034,7 @@ function useCanvasMapping({
21879
22034
  });
21880
22035
  }
21881
22036
  if (node2?.issues !== void 0) {
21882
- issues2.push(...nodeIssuesToString(node2.issues, node2));
22037
+ issues2.push(...nodeHelpers.nodeIssuesToString(node2.issues, node2));
21883
22038
  }
21884
22039
  acc[node2.id] = issues2;
21885
22040
  return acc;