n8n-editor-ui 1.113.1 → 1.114.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/.build/cache-marker +1 -1
- package/.build/node-popularity.json +1823 -1823
- package/dist/assets/{AddDataStoreModal-C-20tjW5.js → AddDataStoreModal-gdYynAXK.js} +8 -8
- package/dist/assets/{AnimatedSpinner-WDiU4lXb.js → AnimatedSpinner-BmfqnkMh.js} +1 -1
- package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-CV4yKdOK.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-CVFW66bR.js} +1 -1
- package/dist/assets/{AuthView-BfD8L-MR.js → AuthView-CYJ7bCsV.js} +2 -2
- package/dist/assets/{ChangePasswordView-BHlNjnju.js → ChangePasswordView-zducTJEL.js} +3 -3
- package/dist/assets/CollectionParameter-CxZhodaL.js +4 -0
- package/dist/assets/{ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-Bm1msTtB.js → ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-DFcvVtT3.js} +1 -1
- package/dist/assets/{CredentialsView-Bpi1QEHU.js → CredentialsView-CZU7hcHm.js} +19 -19
- package/dist/assets/{DataStoreActions.vue_vue_type_script_setup_true_lang-BCsNv_gY.js → DataStoreActions.vue_vue_type_script_setup_true_lang-D2PEOSYF.js} +1 -1
- package/dist/assets/{DataStoreDetailsView-BwvQ5I7d.js → DataStoreDetailsView-cCwLSizn.js} +38 -26
- package/dist/assets/{DataStoreView-Bctk8RYi.js → DataStoreView-DVBz_mE7.js} +13 -14
- package/dist/assets/{DemoFooter-CxWGBc_7.js → DemoFooter-Cyz5315_.js} +6 -6
- package/dist/assets/{EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-DqQrOg_2.js → EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-Ber_ThA-.js} +3 -3
- package/dist/assets/{EntityNotFound-D7CGrbgk.js → EntityNotFound-E440DAgo.js} +1 -1
- package/dist/assets/{EntityUnAuthorised-BO9xlb2N.js → EntityUnAuthorised-CGA8Pnag.js} +1 -1
- package/dist/assets/{ErrorView-C1PhniXH.js → ErrorView-DRsAZvNh.js} +9 -9
- package/dist/assets/{EvaluationsRootView-C0QRKk3k.js → EvaluationsRootView-CBh2oepG.js} +5 -5
- package/dist/assets/{EvaluationsView-CYpgbXKx.js → EvaluationsView-Bk0AxB7_.js} +3 -3
- package/dist/assets/{ExecutionsTime-etWexlXm.css → ExecutionsTime-CWHk7ZwI.css} +6 -6
- package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-Dh8inRTk.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-CNY2bHYv.js} +39 -39
- package/dist/assets/{ExecutionsView-BCb0Zr7W.js → ExecutionsView-ByBXIAlI.js} +10 -10
- package/dist/assets/{FixedCollectionParameter-D4km_FeH.js → FixedCollectionParameter-B2zzgypc.js} +4 -4
- package/dist/assets/{FixedCollectionParameter-Dg7ZadcB.css → FixedCollectionParameter-TY1-sHgZ.css} +18 -18
- package/dist/assets/{ForgotMyPasswordView-CdhGWxw4.js → ForgotMyPasswordView-BgKsPtpt.js} +3 -3
- package/dist/assets/{InfoAccordion-DE2_sS98.js → InfoAccordion-CsiczXnv.js} +1 -1
- package/dist/assets/{InsightsChartAverageRuntime-D5ZE_Nla.js → InsightsChartAverageRuntime-Gy5dvV3h.js} +4 -4
- package/dist/assets/{InsightsChartFailed-BdeF-nyF.js → InsightsChartFailed-Oe0oEJCc.js} +4 -4
- package/dist/assets/{InsightsChartFailureRate-C_YnwTyc.js → InsightsChartFailureRate-DU1kHSZv.js} +4 -4
- package/dist/assets/{InsightsChartTimeSaved-cTOv1Iga.js → InsightsChartTimeSaved-CTUmcK5A.js} +4 -4
- package/dist/assets/{InsightsChartTotal-BKK9PNU1.js → InsightsChartTotal-BtVfKdlz.js} +4 -4
- package/dist/assets/{InsightsDashboard-COAZWSu2.js → InsightsDashboard-D65QIYuB.js} +11 -11
- package/dist/assets/{InsightsPaywall-BWpRemTn.js → InsightsPaywall-Bm7hpUXq.js} +1 -1
- package/dist/assets/{InsightsSummary-jcJA88u3.js → InsightsSummary-B_lIzS7D.js} +2 -3
- package/dist/assets/{InsightsTableWorkflows-Bh_NN7kQ.js → InsightsTableWorkflows-HAoS3XKw.js} +6 -7
- package/dist/assets/{Logo-DZ3J8N5N.js → Logo-oWcxWkkZ.js} +1 -1
- package/dist/assets/{LogsPanel-DSS_hDBL.js → LogsPanel-BCGl1Nn3.js} +189 -101
- package/dist/assets/{LogsPanel-CUsQIBpC.css → LogsPanel-BE9Gl1z0.css} +26 -27
- package/dist/assets/{MainHeader-6lIHYgJG.css → MainHeader-BM1jYnSL.css} +6 -6
- package/dist/assets/{MainHeader-DfMxpY4d.js → MainHeader-BTi38P2q.js} +17 -17
- package/dist/assets/{MainSidebar-a73tcV9E.css → MainSidebar-BWPXOik1.css} +156 -0
- package/dist/assets/{MainSidebar-C7fZf9ti.js → MainSidebar-f5ouPYUb.js} +204 -48
- package/dist/assets/{NodeCreation-DndFLn5s.js → NodeCreation-BeqOH71X.js} +11 -11
- package/dist/assets/{NodeCreator-DG0hCOby.js → NodeCreator-Ck3oKOFP.js} +47 -34
- package/dist/assets/{NodeDetailsView-G0hcQtkE.js → NodeDetailsView-BOC4Hg0s.js} +27 -27
- package/dist/assets/{NodeDetailsViewV2-BGHhaOjo.js → NodeDetailsViewV2-M9x7-EpG.js} +16 -16
- package/dist/assets/{NodeView-D_Lf20Cj.js → NodeView-C9_Bsqwa.js} +82 -258
- package/dist/assets/{NodeView-Chs2u0U9.css → NodeView-DoRx_8YL.css} +0 -165
- package/dist/assets/{PageViewLayout-cxvwso_r.js → PageViewLayout-BIOAQYgC.js} +1 -1
- package/dist/assets/{PrebuiltAgentTemplatesView--njlASMr.js → PrebuiltAgentTemplatesView-Bl6VzvHf.js} +2 -2
- package/dist/assets/{ProjectBreadcrumb-KIWhTojS.js → ProjectBreadcrumb-BO4fGsZ-.js} +28 -12
- package/dist/assets/{ProjectHeader-B5uv4DKo.css → ProjectHeader-BNMKpvzV.css} +9 -9
- package/dist/assets/{ProjectHeader-PFXNU0--.js → ProjectHeader-DeQSPU2Z.js} +10 -10
- package/dist/assets/{ProjectSettings-C1kZ9wA5.js → ProjectSettings-Bie7IE72.js} +169 -161
- package/dist/assets/{ProjectSettings-B5z1mrGW.css → ProjectSettings-Cj1kC16G.css} +30 -15
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-Bzf7nqUd.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-R3ag1qU9.js} +5 -5
- package/dist/assets/{ResourcesListLayout-vTwRIDRz.css → ResourcesListLayout-BseE8-rt.css} +8 -8
- package/dist/assets/{ResourcesListLayout-DQODsJpR.js → ResourcesListLayout-Dpz7rW4E.js} +42 -42
- package/dist/assets/{RunDataJson-BcUo9gnI.js → RunDataJson-D9c7DSu3.js} +3 -3
- package/dist/assets/{RunDataJsonActions-BCQ7lOd5.js → RunDataJsonActions-DSwvkK8R.js} +1 -1
- package/dist/assets/{RunDataParsedAiContent-BnKhGr-k.js → RunDataParsedAiContent-Dw4DMcCc.js} +2 -2
- package/dist/assets/{RunDataSearch-CiRa4kQq.js → RunDataSearch-CHn_C4l1.js} +59 -16
- package/dist/assets/{RunDataTable-Cb01UpR9.js → RunDataTable-BVcP67HC.js} +4 -4
- package/dist/assets/{SamlOnboarding-BqIwhbZw.js → SamlOnboarding-evZs5JmT.js} +3 -3
- package/dist/assets/{SelectedItemsInfo-DuFbVGZm.js → SelectedItemsInfo-BD8U-j2_.js} +1 -1
- package/dist/assets/{SettingsApiView-D2j7Vbwi.js → SettingsApiView-C9ICg95A.js} +23 -24
- package/dist/assets/{SettingsCommunityNodesView-oZIjk1s_.js → SettingsCommunityNodesView-BKv6oPzd.js} +31 -31
- package/dist/assets/{SettingsExternalSecrets-Cea9JY7A.js → SettingsExternalSecrets-B1fXLwpl.js} +18 -18
- package/dist/assets/{SettingsLdapView-Cg2gnd72.js → SettingsLdapView-1uB_1Kjt.js} +17 -17
- package/dist/assets/{SettingsLogStreamingView-BScR5ZFJ.js → SettingsLogStreamingView-Cg5xgDBl.js} +29 -29
- package/dist/assets/SettingsMCPView-8ZO6fO7I.js +626 -0
- package/dist/assets/SettingsMCPView-INU33iV4.css +370 -0
- package/dist/assets/{SettingsPersonalView-BfEdqrEE.js → SettingsPersonalView-hcRTSivt.js} +31 -31
- package/dist/assets/{SettingsSourceControl-CQiyVvB3.js → SettingsSourceControl-CmWbELjI.js} +208 -65
- package/dist/assets/{SettingsSso-CAAxAbK6.js → SettingsSso-DaF1HUCT.js} +61 -23
- package/dist/assets/{SettingsUsageAndPlan-CfFJy6fo.css → SettingsUsageAndPlan-CfunueCX.css} +3 -3
- package/dist/assets/{SettingsUsageAndPlan-DTV0d49_.js → SettingsUsageAndPlan-D35oEsJZ.js} +16 -17
- package/dist/assets/{SettingsUsersView-Ceq9-_wv.js → SettingsUsersView-ZRALZYsy.js} +4 -4
- package/dist/assets/{SettingsView-sqSuzp6q.js → SettingsView-CgvnNTk-.js} +13 -12
- package/dist/assets/{SetupView-DNxfN7wc.js → SetupView-ChAnZVE2.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-DUCOv6F6.js → SetupWorkflowCredentialsButton-BszdxOvj.js} +3 -3
- package/dist/assets/{SetupWorkflowFromTemplateView-DU4khxPx.js → SetupWorkflowFromTemplateView-DNXIp_P5.js} +13 -13
- package/dist/assets/{SigninView-BnzCVklk.js → SigninView-wo3QJ5sB.js} +17 -17
- package/dist/assets/{SignoutView-CQx1YcpJ.js → SignoutView-CQhFqBlf.js} +1 -1
- package/dist/assets/{SignupView-CVowy7ND.js → SignupView-DchGNZfW.js} +3 -3
- package/dist/assets/{TableBase-ChC-0JXo.js → TableBase-CtxQxn5Y.js} +1 -1
- package/dist/assets/{Tags-BElvlb53.js → Tags-BXpnsQt9.js} +1 -1
- package/dist/assets/{TemplateDetails-DFAU0IXa.js → TemplateDetails-BJTTpXQu.js} +11 -11
- package/dist/assets/{TemplateList-BqOvn2Up.js → TemplateList-Ci2Gabt3.js} +15 -15
- package/dist/assets/{TemplatesCollectionView-DUe-c9UK.js → TemplatesCollectionView-CUX1Go6k.js} +15 -15
- package/dist/assets/{TemplatesSearchView-DqlXEFp4.js → TemplatesSearchView-DPFeZwku.js} +30 -30
- package/dist/assets/{TemplatesView-e-KwnRmC.js → TemplatesView-B2kjPDKq.js} +3 -3
- package/dist/assets/{TemplatesWorkflowView-DGdEHxRG.js → TemplatesWorkflowView-DITL6wCM.js} +18 -18
- package/dist/assets/{TriggerPanel-DiD8pi0I.css → TriggerPanel-CZRJpcTa.css} +26 -24
- package/dist/assets/{TriggerPanel-BC7r1f-p.js → TriggerPanel-CrYeGN3J.js} +100 -124
- package/dist/assets/{VariablesView-q3KOFXbh.js → VariablesView-Bwp171eQ.js} +9 -9
- package/dist/assets/{VariablesView-BHcrNXsw.css → VariablesView-CO67wOhz.css} +6 -6
- package/dist/assets/{WorkerView-p9Gb5B1L.js → WorkerView-CTITbNMD.js} +27 -27
- package/dist/assets/{WorkflowActivator-jI4sUqXL.css → WorkflowActivator-BqnfTqdT.css} +2 -2
- package/dist/assets/{WorkflowActivator-3wlzZHDO.js → WorkflowActivator-ULjjOqRW.js} +35 -27
- package/dist/assets/{WorkflowExecutionsInfoAccordion-MSQf1wi3.js → WorkflowExecutionsInfoAccordion-Du8aYVAp.js} +2 -2
- package/dist/assets/{WorkflowExecutionsLandingPage-C70_LGAv.js → WorkflowExecutionsLandingPage--NydRWjB.js} +3 -3
- package/dist/assets/{WorkflowExecutionsPreview-D_xisYpD.js → WorkflowExecutionsPreview-SapcKnCv.js} +17 -17
- package/dist/assets/{WorkflowExecutionsView-DqWqyiNg.css → WorkflowExecutionsView-BI8VcrjR.css} +2 -2
- package/dist/assets/{WorkflowExecutionsView-ezc5vRrS.js → WorkflowExecutionsView-DzM_rNXF.js} +20 -20
- package/dist/assets/{WorkflowHistory-DeSZ98ik.js → WorkflowHistory-Db-y1oNT.js} +23 -23
- package/dist/assets/{WorkflowOnboardingView-XDAzh9C1.js → WorkflowOnboardingView-WrpmE_wt.js} +1 -1
- package/dist/assets/{WorkflowPreview-R4owDoRV.js → WorkflowPreview-7kOr6cGA.js} +5 -5
- package/dist/assets/{WorkflowsView-MF9XcT0u.css → WorkflowsView-Cn8b7sC6.css} +295 -18
- package/dist/assets/{WorkflowsView-BJ_oKX3h.js → WorkflowsView-DyYy_N8O.js} +314 -136
- package/dist/assets/{canvas-tCm4ovGg.js → canvas-DTKhYM6C.js} +1 -1
- package/dist/assets/{chartjs.utils-B2U_02-S.js → chartjs.utils-CJ62oVGG.js} +2 -2
- package/dist/assets/{core-BDQ6uBcD.js → core-VF74aV13.js} +1 -1
- package/dist/assets/{global-link-actions-Cz-zl4uP.js → global-link-actions-Ddo-afkv.js} +1 -1
- package/dist/assets/{index-BDDH_NIA.js → index-BOW55EQc.js} +16950 -15079
- package/dist/assets/{index-CCyQeXiT.js → index-BUUYM12e.js} +1 -1
- package/dist/assets/{index-CpPc1kM8.css → index-CTgzCbB9.css} +10049 -10911
- package/dist/assets/{pickBy-B2RJpRoj.js → pickBy-CwZEa5Ur.js} +1 -1
- package/dist/assets/{readyToRunWorkflows.store-lmsJGEVO.js → readyToRunWorkflows.store-C7dZP8KI.js} +1 -1
- package/dist/assets/{readyToRunWorkflowsV2.store-Bl7jk-i9.js → readyToRunWorkflowsV2.store-BJY-F_Le.js} +2 -2
- package/dist/assets/{templateActions-Bvze3qDu.js → templateActions-BfUcgZvZ.js} +1 -1
- package/dist/assets/{useBeforeUnload-C1FPWSkO.js → useBeforeUnload-CEwAxZFs.js} +1 -1
- package/dist/assets/{useExecutionDebugging-Dgg7jmNh.js → useExecutionDebugging-Moxdvo-v.js} +1 -1
- package/dist/assets/{useImportCurlCommand-sjcpA0Ub.js → useImportCurlCommand-C5Ra8auY.js} +1 -1
- package/dist/assets/{useProjectPages-B5KBSvIU.js → useProjectPages-D2nu5pZ9.js} +1 -1
- package/dist/assets/{usePushConnection-BEiaZIUU.js → usePushConnection-Dnr2PF2n.js} +12 -6
- package/dist/assets/{useWorkflowActivate-DykqGtLA.js → useWorkflowActivate-Ch6gRZjX.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +1 -1
- package/scripts/cache-marker.mjs +11 -0
- package/turbo.json +2 -1
- package/dist/assets/CollectionParameter-D7XE8ypc.js +0 -4
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/NodeCreation-
|
|
2
|
-
import { d as defineComponent, ar as createEventBus, aH as useTemplateRef, at as useCssModule,
|
|
3
|
-
import { g as globalLinkActionsEventBus } from "./global-link-actions-
|
|
4
|
-
import { u as useExecutionDebugging } from "./useExecutionDebugging-
|
|
5
|
-
import { u as useBeforeUnload } from "./useBeforeUnload-
|
|
6
|
-
import { c as canvasEventBus } from "./canvas-
|
|
7
|
-
import { u as useAITemplatesStarterCollectionStore, a as useReadyToRunWorkflowsStore } from "./readyToRunWorkflows.store-
|
|
8
|
-
const _sfc_main$
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/NodeCreation-BeqOH71X.js","assets/index-BOW55EQc.js","assets/index-CTgzCbB9.css","assets/NodeCreation-C4gQlPqI.css","assets/NodeDetailsView-BOC4Hg0s.js","assets/TriggerPanel-CrYeGN3J.js","assets/RunDataParsedAiContent-Dw4DMcCc.js","assets/core-VF74aV13.js","assets/RunDataParsedAiContent-wfIiKsq7.css","assets/ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-DFcvVtT3.js","assets/InfoAccordion-CsiczXnv.js","assets/InfoAccordion-dxudNqVC.css","assets/TriggerPanel-CZRJpcTa.css","assets/useWorkflowActivate-Ch6gRZjX.js","assets/global-link-actions-Ddo-afkv.js","assets/useExecutionDebugging-Moxdvo-v.js","assets/useBeforeUnload-CEwAxZFs.js","assets/canvas-DTKhYM6C.js","assets/readyToRunWorkflows.store-C7dZP8KI.js","assets/NodeDetailsView-CBYV4Rrz.css","assets/NodeDetailsViewV2-M9x7-EpG.js","assets/NodeDetailsViewV2-J_3cfdea.css","assets/SetupWorkflowCredentialsButton-BszdxOvj.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { d as defineComponent, ar as createEventBus, aH as useTemplateRef, at as useCssModule, cE as useVueFlow, c3 as toRef, x as computed, cF as useCanvasMapping, r as ref, cG as refThrottled, h as createElementBlock, g as openBlock, n as normalizeClass, l as unref, j as createBaseVNode, Y as renderSlot, e as createBlock, f as createCommentVNode, cH as Canvas, K as mergeProps, _ as _export_sfc, a2 as useWorkflowsStore, cI as useExpressionResolveCtx, cJ as useContextMenuItems, aZ as useNDVStore, a8 as watch, p as N8nText, w as withCtx, t as toDisplayString, F as Fragment, A as renderList, i as createVNode, q as N8nButton, k as createTextVNode, cK as N8nKeyboardShortcut, cL as _sfc_main$a, bT as provide, cM as ExpressionLocalResolveContextSymbol, ae as useNodeTypesStore, c0 as NodeIcon, aI as InlineRename, c as useI18n, ab as _sfc_main$b, cN as _sfc_main$c, bQ as useNodeHelpers, cO as useFocusPanelStore, cP as useNodeSettingsParameters, cQ as useEnvironmentsStore, cl as useExperimentalNdvStore, cR as useDeviceSupport, cC as useActiveElement, bU as useCanvasOperations, cS as useTelemetryContext, cT as CanvasNodeRenderType, cU as HTML_NODE_TYPE, cV as isValueExpression, cW as isResourceLocatorValue, cX as AI_TRANSFORM_NODE_TYPE, cY as useResolvedExpression, cs as useThrottleFn, B as withModifiers, N as N8nIcon, cZ as InfoTip, c_ as __unplugin_components_2, c$ as __unplugin_components_3, d0 as __unplugin_components_4, d1 as __unplugin_components_5, d2 as __unplugin_components_6, d3 as __unplugin_components_7, d4 as __unplugin_components_8, d5 as __unplugin_components_9, d6 as N8nInput, O as N8nRadioButtons, aq as normalizeStyle, co as N8nResizeWrapper, d7 as getParameterTypeOption, d8 as htmlEditorEventBus, d9 as parseFromExpression, da as isValidParameterOption, db as formatAsExpression, am as useTelemetry, Z as nextTick, dc as hasFocusOnInput, dd as isFocusableEl, de as reactive, o as onMounted, bm as onUnmounted, df as _sfc_main$d, D as useI18n$1, b as useRouter, a3 as useRoute, a as useToast, ay as useDocumentTitle, aA as useWorkflowHelpers, az as useWorkflowSaving, Q as useUIStore, ag as useSourceControlStore, dg as useNodeCreatorStore, v as useSettingsStore, dh as useCredentialsStore, di as useExternalSecretsStore, au as useRootStore, a_ as useExecutionsStore, cv as useCanvasStore, ax as useNpsSurveyStore, dj as useHistoryStore, av as useProjectsStore, u as useUsersStore, as as useTagsStore, a1 as usePushConnectionStore, bo as useTemplatesStore, dk as useBuilderStore, aw as useFoldersStore, dl as usePostHog, dm as useAgentRequestStore, bP as useLogsStore, bR as useRunWorkflow, dn as useWorkflowExtraction, ce as useClipboard, br as useKeybindings, by as ABOUT_MODAL_KEY, a4 as PLACEHOLDER_EMPTY_WORKFLOW_ID, dp as NEW_WORKFLOW_ID, V as VIEWS, dq as NDV_UI_OVERHAUL_EXPERIMENT, bV as START_NODE_TYPE, dr as getNodeViewTab, L as MAIN_HEADER_TABS, ds as VALID_WORKFLOW_IMPORT_URL_REGEX, an as useMessage, ao as MODAL_CONFIRM, dt as jsonParse, aC as getResourcePermissions, bM as CHAT_TRIGGER_NODE_TYPE, bL as MANUAL_CHAT_TRIGGER_NODE_TYPE, du as EVALUATION_TRIGGER_NODE_TYPE, dv as getBounds, dw as onBeforeRouteLeave, b2 as onBeforeMount, al as WORKFLOW_SETTINGS_MODAL_KEY, bt as useExternalHooks, dx as onActivated, dy as onDeactivated, X as onBeforeUnmount, dz as Suspense, dA as defineAsyncComponent, dB as CanvasRunWorkflowButton, cn as KeyboardShortcutTooltip, z as N8nCallout, aV as __vitePreload, aF as EnterpriseEditionFeature, dC as NODE_CREATOR_OPEN_SOURCES, dD as EVALUATION_NODE_TYPE, dE as getSampleWorkflowByTemplateId, dF as tryToParseNumber, aP as nodeViewEventBus, bH as NodeConnectionTypes, dG as createCanvasConnectionHandleString, dH as CanvasConnectionMode, dI as isValidNodeConnectionType, dJ as sourceControlEventBus, dK as getNodesWithNormalizedPosition, aX as h, dL as historyBus, dM as shouldIgnoreCanvasShortcut, b1 as STICKY_NODE_TYPE, dN as needsAgentInput, dO as FROM_AI_PARAMETERS_MODAL_KEY, dP as DRAG_EVENT_DATA_KEY } from "./index-BOW55EQc.js";
|
|
3
|
+
import { g as globalLinkActionsEventBus } from "./global-link-actions-Ddo-afkv.js";
|
|
4
|
+
import { u as useExecutionDebugging } from "./useExecutionDebugging-Moxdvo-v.js";
|
|
5
|
+
import { u as useBeforeUnload } from "./useBeforeUnload-CEwAxZFs.js";
|
|
6
|
+
import { c as canvasEventBus } from "./canvas-DTKhYM6C.js";
|
|
7
|
+
import { u as useAITemplatesStarterCollectionStore, a as useReadyToRunWorkflowsStore } from "./readyToRunWorkflows.store-C7dZP8KI.js";
|
|
8
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
9
9
|
...{
|
|
10
10
|
inheritAttrs: false
|
|
11
11
|
},
|
|
@@ -60,8 +60,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
60
60
|
}, [
|
|
61
61
|
workflow.value ? (openBlock(), createBlock(Canvas, mergeProps({
|
|
62
62
|
key: 0,
|
|
63
|
-
ref: "canvas",
|
|
64
63
|
id: _ctx.id,
|
|
64
|
+
ref: "canvas",
|
|
65
65
|
nodes: _ctx.executing ? unref(mappedNodesThrottled) : unref(mappedNodes),
|
|
66
66
|
connections: _ctx.executing ? unref(mappedConnectionsThrottled) : unref(mappedConnections),
|
|
67
67
|
"event-bus": _ctx.eventBus,
|
|
@@ -77,14 +77,14 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
77
77
|
});
|
|
78
78
|
const wrapper$2 = "_wrapper_jyurh_123";
|
|
79
79
|
const canvas = "_canvas_jyurh_131";
|
|
80
|
-
const style0$
|
|
80
|
+
const style0$5 = {
|
|
81
81
|
wrapper: wrapper$2,
|
|
82
82
|
canvas
|
|
83
83
|
};
|
|
84
|
-
const cssModules$
|
|
85
|
-
"$style": style0$
|
|
84
|
+
const cssModules$5 = {
|
|
85
|
+
"$style": style0$5
|
|
86
86
|
};
|
|
87
|
-
const WorkflowCanvas = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
87
|
+
const WorkflowCanvas = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__cssModules", cssModules$5]]);
|
|
88
88
|
function useExecutionData({ node }) {
|
|
89
89
|
const workflowsStore = useWorkflowsStore();
|
|
90
90
|
const workflowExecution = computed(() => {
|
|
@@ -112,7 +112,7 @@ function useExecutionData({ node }) {
|
|
|
112
112
|
hasNodeRun
|
|
113
113
|
};
|
|
114
114
|
}
|
|
115
|
-
const _sfc_main$
|
|
115
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
116
116
|
__name: "ExperimentalNodeDetailsDrawer",
|
|
117
117
|
props: {
|
|
118
118
|
node: {},
|
|
@@ -175,7 +175,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
175
175
|
], 2)
|
|
176
176
|
]),
|
|
177
177
|
_: 1
|
|
178
|
-
}, 8, ["class"])) : _ctx.node ? (openBlock(), createBlock(_sfc_main$
|
|
178
|
+
}, 8, ["class"])) : _ctx.node ? (openBlock(), createBlock(_sfc_main$a, {
|
|
179
179
|
key: nodeSettingsViewKey.value,
|
|
180
180
|
"node-id": _ctx.node.id,
|
|
181
181
|
"is-read-only": _ctx.isReadOnly
|
|
@@ -184,32 +184,34 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
184
184
|
};
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
const component$
|
|
187
|
+
const component$1 = "_component_6x5cw_123";
|
|
188
188
|
const multipleNodes = "_multipleNodes_6x5cw_128";
|
|
189
189
|
const multipleNodesActions = "_multipleNodesActions_6x5cw_138";
|
|
190
190
|
const multipleNodesAction = "_multipleNodesAction_6x5cw_138";
|
|
191
|
-
const style0$
|
|
192
|
-
component: component$
|
|
191
|
+
const style0$4 = {
|
|
192
|
+
component: component$1,
|
|
193
193
|
multipleNodes,
|
|
194
194
|
multipleNodesActions,
|
|
195
195
|
multipleNodesAction
|
|
196
196
|
};
|
|
197
|
-
const cssModules$
|
|
198
|
-
"$style": style0$
|
|
197
|
+
const cssModules$4 = {
|
|
198
|
+
"$style": style0$4
|
|
199
199
|
};
|
|
200
|
-
const ExperimentalNodeDetailsDrawer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
201
|
-
const _sfc_main$
|
|
200
|
+
const ExperimentalNodeDetailsDrawer = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__cssModules", cssModules$4]]);
|
|
201
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
202
202
|
__name: "ExperimentalFocusPanelHeader",
|
|
203
203
|
props: {
|
|
204
204
|
node: {},
|
|
205
205
|
parameter: {},
|
|
206
|
-
isExecutable: { type: Boolean }
|
|
206
|
+
isExecutable: { type: Boolean },
|
|
207
|
+
readOnly: { type: Boolean }
|
|
207
208
|
},
|
|
208
|
-
emits: ["execute", "openNdv", "clearParameter"],
|
|
209
|
+
emits: ["execute", "openNdv", "clearParameter", "renameNode"],
|
|
209
210
|
setup(__props, { emit: __emit }) {
|
|
211
|
+
const emit = __emit;
|
|
210
212
|
const nodeTypesStore = useNodeTypesStore();
|
|
213
|
+
const i18n = useI18n();
|
|
211
214
|
const nodeType = computed(() => nodeTypesStore.getNodeType(__props.node.type, __props.node.typeVersion));
|
|
212
|
-
const emit = __emit;
|
|
213
215
|
return (_ctx, _cache) => {
|
|
214
216
|
return openBlock(), createBlock(unref(N8nText), {
|
|
215
217
|
tag: "header",
|
|
@@ -240,32 +242,38 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
240
242
|
size: "small",
|
|
241
243
|
color: "text-light"
|
|
242
244
|
}, {
|
|
243
|
-
default: withCtx(() => _cache[
|
|
245
|
+
default: withCtx(() => _cache[4] || (_cache[4] = [
|
|
244
246
|
createTextVNode("/")
|
|
245
247
|
])),
|
|
246
248
|
_: 1
|
|
247
249
|
}),
|
|
248
250
|
createTextVNode(" " + toDisplayString(_ctx.parameter.displayName), 1)
|
|
249
|
-
], 64)) : (openBlock(),
|
|
250
|
-
|
|
251
|
-
|
|
251
|
+
], 64)) : (openBlock(), createBlock(unref(InlineRename), {
|
|
252
|
+
key: 1,
|
|
253
|
+
"model-value": _ctx.node.name,
|
|
254
|
+
"min-width": 0,
|
|
255
|
+
"max-width": 500,
|
|
256
|
+
placeholder: unref(i18n).baseText("ndv.title.rename.placeholder"),
|
|
257
|
+
"read-only": _ctx.readOnly,
|
|
258
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emit("renameNode", $event))
|
|
259
|
+
}, null, 8, ["model-value", "placeholder", "read-only"]))
|
|
252
260
|
], 2),
|
|
253
|
-
_ctx.parameter ? (openBlock(), createBlock(unref(_sfc_main$
|
|
261
|
+
_ctx.parameter ? (openBlock(), createBlock(unref(_sfc_main$b), {
|
|
254
262
|
key: 0,
|
|
255
263
|
icon: "x",
|
|
256
264
|
size: "small",
|
|
257
265
|
type: "tertiary",
|
|
258
266
|
text: "",
|
|
259
|
-
onClick: _cache[
|
|
260
|
-
})) : (openBlock(), createBlock(unref(_sfc_main$
|
|
267
|
+
onClick: _cache[1] || (_cache[1] = ($event) => emit("clearParameter"))
|
|
268
|
+
})) : (openBlock(), createBlock(unref(_sfc_main$b), {
|
|
261
269
|
key: 1,
|
|
262
270
|
icon: "expand",
|
|
263
271
|
size: "small",
|
|
264
272
|
type: "tertiary",
|
|
265
273
|
text: "",
|
|
266
|
-
onClick: _cache[
|
|
274
|
+
onClick: _cache[2] || (_cache[2] = ($event) => emit("openNdv"))
|
|
267
275
|
})),
|
|
268
|
-
_ctx.isExecutable ? (openBlock(), createBlock(_sfc_main$
|
|
276
|
+
_ctx.isExecutable ? (openBlock(), createBlock(_sfc_main$c, {
|
|
269
277
|
key: 2,
|
|
270
278
|
"data-test-id": "node-execute-button",
|
|
271
279
|
"node-name": _ctx.node.name,
|
|
@@ -276,7 +284,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
276
284
|
square: true,
|
|
277
285
|
"hide-label": true,
|
|
278
286
|
"telemetry-source": "focus",
|
|
279
|
-
onExecute: _cache[
|
|
287
|
+
onExecute: _cache[3] || (_cache[3] = ($event) => emit("execute"))
|
|
280
288
|
}, null, 8, ["node-name", "tooltip"])) : createCommentVNode("", true)
|
|
281
289
|
]),
|
|
282
290
|
_: 1
|
|
@@ -284,17 +292,17 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
284
292
|
};
|
|
285
293
|
}
|
|
286
294
|
});
|
|
287
|
-
const component
|
|
295
|
+
const component = "_component_dktdl_123";
|
|
288
296
|
const breadcrumbs = "_breadcrumbs_dktdl_131";
|
|
289
|
-
const style0$
|
|
290
|
-
component
|
|
297
|
+
const style0$3 = {
|
|
298
|
+
component,
|
|
291
299
|
breadcrumbs
|
|
292
300
|
};
|
|
293
|
-
const cssModules$
|
|
294
|
-
"$style": style0$
|
|
301
|
+
const cssModules$3 = {
|
|
302
|
+
"$style": style0$3
|
|
295
303
|
};
|
|
296
|
-
const ExperimentalFocusPanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
297
|
-
const _sfc_main$
|
|
304
|
+
const ExperimentalFocusPanelHeader = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__cssModules", cssModules$3]]);
|
|
305
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
298
306
|
...{ name: "FocusPanel" },
|
|
299
307
|
__name: "FocusPanel",
|
|
300
308
|
props: {
|
|
@@ -319,6 +327,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
319
327
|
const deviceSupport = useDeviceSupport();
|
|
320
328
|
const vueFlow = useVueFlow(workflowsStore.workflowId);
|
|
321
329
|
const activeElement = useActiveElement();
|
|
330
|
+
const { renameNode } = useCanvasOperations();
|
|
322
331
|
useTelemetryContext({ view_shown: "focus_panel" });
|
|
323
332
|
const resolvedParameter = computed(() => focusPanelStore.resolvedParameter);
|
|
324
333
|
const inputValue = ref("");
|
|
@@ -582,8 +591,13 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
582
591
|
ndvStore.setActiveNodeName(node.value.name, "focus_panel");
|
|
583
592
|
}
|
|
584
593
|
}
|
|
594
|
+
function onRenameNode(value) {
|
|
595
|
+
if (node.value) {
|
|
596
|
+
void renameNode(node.value.name, value);
|
|
597
|
+
}
|
|
598
|
+
}
|
|
585
599
|
return (_ctx, _cache) => {
|
|
586
|
-
const _component_NodeExecuteButton = _sfc_main$
|
|
600
|
+
const _component_NodeExecuteButton = _sfc_main$c;
|
|
587
601
|
const _component_N8nIcon = N8nIcon;
|
|
588
602
|
const _component_ParameterOptions = __unplugin_components_2;
|
|
589
603
|
const _component_ExpressionEditorModalInput = __unplugin_components_3;
|
|
@@ -600,6 +614,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
600
614
|
"data-test-id": "focus-panel",
|
|
601
615
|
class: normalizeClass([
|
|
602
616
|
_ctx.$style.wrapper,
|
|
617
|
+
"ignore-key-press-canvas",
|
|
603
618
|
{ [_ctx.$style.isNdvInFocusPanelEnabled]: unref(experimentalNdvStore).isNdvInFocusPanelEnabled }
|
|
604
619
|
]),
|
|
605
620
|
onKeydown: _cache[10] || (_cache[10] = withModifiers(() => {
|
|
@@ -623,10 +638,12 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
623
638
|
node: node.value,
|
|
624
639
|
parameter: resolvedParameter.value?.parameter,
|
|
625
640
|
"is-executable": isExecutable.value,
|
|
641
|
+
"read-only": _ctx.isCanvasReadOnly,
|
|
626
642
|
onExecute,
|
|
627
643
|
onOpenNdv,
|
|
628
|
-
onClearParameter: closeFocusPanel
|
|
629
|
-
|
|
644
|
+
onClearParameter: closeFocusPanel,
|
|
645
|
+
onRenameNode
|
|
646
|
+
}, null, 8, ["node", "parameter", "is-executable", "read-only"])) : createCommentVNode("", true),
|
|
630
647
|
resolvedParameter.value ? (openBlock(), createElementBlock("div", {
|
|
631
648
|
key: 1,
|
|
632
649
|
class: normalizeClass(_ctx.$style.content),
|
|
@@ -942,7 +959,7 @@ const triggerShow = "_triggerShow_1v9yh_1";
|
|
|
942
959
|
const closeButton = "_closeButton_1v9yh_239";
|
|
943
960
|
const heightFull = "_heightFull_1v9yh_243";
|
|
944
961
|
const forceHover = "_forceHover_1v9yh_247";
|
|
945
|
-
const style0$
|
|
962
|
+
const style0$2 = {
|
|
946
963
|
wrapper: wrapper$1,
|
|
947
964
|
container,
|
|
948
965
|
content,
|
|
@@ -966,210 +983,10 @@ const style0$3 = {
|
|
|
966
983
|
heightFull,
|
|
967
984
|
forceHover
|
|
968
985
|
};
|
|
969
|
-
const cssModules$3 = {
|
|
970
|
-
"$style": style0$3
|
|
971
|
-
};
|
|
972
|
-
const FocusPanel = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__cssModules", cssModules$3]]);
|
|
973
|
-
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
974
|
-
__name: "CanvasRunWorkflowButton",
|
|
975
|
-
props: {
|
|
976
|
-
selectedTriggerNodeName: {},
|
|
977
|
-
triggerNodes: {},
|
|
978
|
-
waitingForWebhook: { type: Boolean },
|
|
979
|
-
executing: { type: Boolean },
|
|
980
|
-
disabled: { type: Boolean },
|
|
981
|
-
getNodeType: { type: Function }
|
|
982
|
-
},
|
|
983
|
-
emits: ["mouseenter", "mouseleave", "execute", "selectTriggerNode"],
|
|
984
|
-
setup(__props, { emit: __emit }) {
|
|
985
|
-
const emit = __emit;
|
|
986
|
-
const props = __props;
|
|
987
|
-
const i18n = useI18n();
|
|
988
|
-
const selectableTriggerNodes = computed(
|
|
989
|
-
() => props.triggerNodes.filter((node) => !node.disabled && !isChatNode(node))
|
|
990
|
-
);
|
|
991
|
-
const label = computed(() => {
|
|
992
|
-
if (!props.executing) {
|
|
993
|
-
return i18n.baseText("nodeView.runButtonText.executeWorkflow");
|
|
994
|
-
}
|
|
995
|
-
if (props.waitingForWebhook) {
|
|
996
|
-
return i18n.baseText("nodeView.runButtonText.waitingForTriggerEvent");
|
|
997
|
-
}
|
|
998
|
-
return i18n.baseText("nodeView.runButtonText.executingWorkflow");
|
|
999
|
-
});
|
|
1000
|
-
const actions = computed(
|
|
1001
|
-
() => props.triggerNodes.filter((node) => !isChatNode(node)).toSorted((a, b) => {
|
|
1002
|
-
const [aX, aY] = a.position;
|
|
1003
|
-
const [bX, bY] = b.position;
|
|
1004
|
-
return aY === bY ? aX - bX : aY - bY;
|
|
1005
|
-
}).map((node) => ({
|
|
1006
|
-
label: truncateBeforeLast(node.name, 50),
|
|
1007
|
-
disabled: !!node.disabled || props.executing,
|
|
1008
|
-
id: node.name,
|
|
1009
|
-
checked: props.selectedTriggerNodeName === node.name
|
|
1010
|
-
}))
|
|
1011
|
-
);
|
|
1012
|
-
const isSplitButton = computed(
|
|
1013
|
-
() => selectableTriggerNodes.value.length > 1 && props.selectedTriggerNodeName !== void 0
|
|
1014
|
-
);
|
|
1015
|
-
function getNodeTypeByName(name) {
|
|
1016
|
-
const node = props.triggerNodes.find((trigger) => trigger.name === name);
|
|
1017
|
-
if (!node) {
|
|
1018
|
-
return null;
|
|
1019
|
-
}
|
|
1020
|
-
return props.getNodeType(node.type, node.typeVersion);
|
|
1021
|
-
}
|
|
1022
|
-
return (_ctx, _cache) => {
|
|
1023
|
-
const _component_NodeIcon = NodeIcon;
|
|
1024
|
-
return openBlock(), createElementBlock("div", {
|
|
1025
|
-
class: normalizeClass([_ctx.$style.component, isSplitButton.value ? _ctx.$style.split : ""])
|
|
1026
|
-
}, [
|
|
1027
|
-
createVNode(KeyboardShortcutTooltip, {
|
|
1028
|
-
label: label.value,
|
|
1029
|
-
shortcut: { metaKey: true, keys: ["↵"] },
|
|
1030
|
-
disabled: _ctx.executing
|
|
1031
|
-
}, {
|
|
1032
|
-
default: withCtx(() => [
|
|
1033
|
-
createVNode(unref(N8nButton), {
|
|
1034
|
-
class: normalizeClass(_ctx.$style.button),
|
|
1035
|
-
loading: _ctx.executing,
|
|
1036
|
-
disabled: _ctx.disabled,
|
|
1037
|
-
size: "large",
|
|
1038
|
-
icon: "flask-conical",
|
|
1039
|
-
type: "primary",
|
|
1040
|
-
"data-test-id": "execute-workflow-button",
|
|
1041
|
-
onMouseenter: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("mouseenter", $event)),
|
|
1042
|
-
onMouseleave: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("mouseleave", $event)),
|
|
1043
|
-
onClick: _cache[2] || (_cache[2] = ($event) => emit("execute"))
|
|
1044
|
-
}, {
|
|
1045
|
-
default: withCtx(() => [
|
|
1046
|
-
createBaseVNode("span", {
|
|
1047
|
-
class: normalizeClass(_ctx.$style.buttonContent)
|
|
1048
|
-
}, [
|
|
1049
|
-
createTextVNode(toDisplayString(label.value) + " ", 1),
|
|
1050
|
-
isSplitButton.value ? (openBlock(), createBlock(unref(N8nText), {
|
|
1051
|
-
key: 0,
|
|
1052
|
-
class: normalizeClass(_ctx.$style.subText),
|
|
1053
|
-
bold: false
|
|
1054
|
-
}, {
|
|
1055
|
-
default: withCtx(() => [
|
|
1056
|
-
createVNode(unref(I18nT), {
|
|
1057
|
-
keypath: "nodeView.runButtonText.from",
|
|
1058
|
-
scope: "global"
|
|
1059
|
-
}, {
|
|
1060
|
-
nodeName: withCtx(() => [
|
|
1061
|
-
createVNode(unref(N8nText), {
|
|
1062
|
-
bold: "",
|
|
1063
|
-
size: "mini"
|
|
1064
|
-
}, {
|
|
1065
|
-
default: withCtx(() => [
|
|
1066
|
-
createTextVNode(toDisplayString(unref(truncateBeforeLast)(props.selectedTriggerNodeName ?? "", 25)), 1)
|
|
1067
|
-
]),
|
|
1068
|
-
_: 1
|
|
1069
|
-
})
|
|
1070
|
-
]),
|
|
1071
|
-
_: 1
|
|
1072
|
-
})
|
|
1073
|
-
]),
|
|
1074
|
-
_: 1
|
|
1075
|
-
}, 8, ["class"])) : createCommentVNode("", true)
|
|
1076
|
-
], 2)
|
|
1077
|
-
]),
|
|
1078
|
-
_: 1
|
|
1079
|
-
}, 8, ["class", "loading", "disabled"])
|
|
1080
|
-
]),
|
|
1081
|
-
_: 1
|
|
1082
|
-
}, 8, ["label", "disabled"]),
|
|
1083
|
-
isSplitButton.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
1084
|
-
createBaseVNode("div", {
|
|
1085
|
-
role: "presentation",
|
|
1086
|
-
class: normalizeClass(_ctx.$style.divider)
|
|
1087
|
-
}, null, 2),
|
|
1088
|
-
createVNode(unref(N8nActionDropdown), {
|
|
1089
|
-
class: normalizeClass(_ctx.$style.menu),
|
|
1090
|
-
items: actions.value,
|
|
1091
|
-
disabled: _ctx.disabled,
|
|
1092
|
-
placement: "top",
|
|
1093
|
-
"extra-popper-class": _ctx.$style.menuPopper,
|
|
1094
|
-
onSelect: _cache[3] || (_cache[3] = ($event) => emit("selectTriggerNode", $event))
|
|
1095
|
-
}, {
|
|
1096
|
-
activator: withCtx(() => [
|
|
1097
|
-
createVNode(unref(N8nButton), {
|
|
1098
|
-
type: "primary",
|
|
1099
|
-
"icon-size": "large",
|
|
1100
|
-
disabled: _ctx.disabled,
|
|
1101
|
-
class: normalizeClass(_ctx.$style.chevron),
|
|
1102
|
-
"aria-label": "Select trigger node",
|
|
1103
|
-
icon: "chevron-down"
|
|
1104
|
-
}, null, 8, ["disabled", "class"])
|
|
1105
|
-
]),
|
|
1106
|
-
menuItem: withCtx((item) => [
|
|
1107
|
-
createBaseVNode("div", {
|
|
1108
|
-
class: normalizeClass([_ctx.$style.menuItem, item.disabled ? _ctx.$style.disabled : ""])
|
|
1109
|
-
}, [
|
|
1110
|
-
createVNode(_component_NodeIcon, {
|
|
1111
|
-
class: normalizeClass(_ctx.$style.menuIcon),
|
|
1112
|
-
size: 16,
|
|
1113
|
-
"node-type": getNodeTypeByName(item.id)
|
|
1114
|
-
}, null, 8, ["class", "node-type"]),
|
|
1115
|
-
createBaseVNode("span", null, [
|
|
1116
|
-
createVNode(unref(I18nT), {
|
|
1117
|
-
keypath: "nodeView.runButtonText.from",
|
|
1118
|
-
scope: "global"
|
|
1119
|
-
}, {
|
|
1120
|
-
nodeName: withCtx(() => [
|
|
1121
|
-
createVNode(unref(N8nText), {
|
|
1122
|
-
bold: "",
|
|
1123
|
-
size: "small"
|
|
1124
|
-
}, {
|
|
1125
|
-
default: withCtx(() => [
|
|
1126
|
-
createTextVNode(toDisplayString(item.label), 1)
|
|
1127
|
-
]),
|
|
1128
|
-
_: 2
|
|
1129
|
-
}, 1024)
|
|
1130
|
-
]),
|
|
1131
|
-
_: 2
|
|
1132
|
-
}, 1024)
|
|
1133
|
-
])
|
|
1134
|
-
], 2)
|
|
1135
|
-
]),
|
|
1136
|
-
_: 1
|
|
1137
|
-
}, 8, ["class", "items", "disabled", "extra-popper-class"])
|
|
1138
|
-
], 64)) : createCommentVNode("", true)
|
|
1139
|
-
], 2);
|
|
1140
|
-
};
|
|
1141
|
-
}
|
|
1142
|
-
});
|
|
1143
|
-
const component = "_component_3izac_123";
|
|
1144
|
-
const split = "_split_3izac_129";
|
|
1145
|
-
const button = "_button_3izac_129";
|
|
1146
|
-
const divider = "_divider_3izac_137";
|
|
1147
|
-
const chevron = "_chevron_3izac_142";
|
|
1148
|
-
const menu = "_menu_3izac_148";
|
|
1149
|
-
const menuPopper = "_menuPopper_3izac_152";
|
|
1150
|
-
const menuItem = "_menuItem_3izac_156";
|
|
1151
|
-
const disabled = "_disabled_3izac_162";
|
|
1152
|
-
const menuIcon = "_menuIcon_3izac_162";
|
|
1153
|
-
const buttonContent = "_buttonContent_3izac_166";
|
|
1154
|
-
const subText = "_subText_3izac_173";
|
|
1155
|
-
const style0$2 = {
|
|
1156
|
-
component,
|
|
1157
|
-
split,
|
|
1158
|
-
button,
|
|
1159
|
-
divider,
|
|
1160
|
-
chevron,
|
|
1161
|
-
menu,
|
|
1162
|
-
menuPopper,
|
|
1163
|
-
menuItem,
|
|
1164
|
-
disabled,
|
|
1165
|
-
menuIcon,
|
|
1166
|
-
buttonContent,
|
|
1167
|
-
subText
|
|
1168
|
-
};
|
|
1169
986
|
const cssModules$2 = {
|
|
1170
987
|
"$style": style0$2
|
|
1171
988
|
};
|
|
1172
|
-
const
|
|
989
|
+
const FocusPanel = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__cssModules", cssModules$2]]);
|
|
1173
990
|
const state = reactive({
|
|
1174
991
|
customActions: {},
|
|
1175
992
|
delegatedClickHandler: null
|
|
@@ -1241,7 +1058,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
1241
1058
|
() => props.stopping ? i18n.baseText("nodeView.stoppingCurrentExecution") : i18n.baseText("nodeView.stopCurrentExecution")
|
|
1242
1059
|
);
|
|
1243
1060
|
return (_ctx, _cache) => {
|
|
1244
|
-
const _component_N8nIconButton = _sfc_main$
|
|
1061
|
+
const _component_N8nIconButton = _sfc_main$b;
|
|
1245
1062
|
return openBlock(), createBlock(_component_N8nIconButton, {
|
|
1246
1063
|
icon: "square",
|
|
1247
1064
|
size: "large",
|
|
@@ -1259,7 +1076,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
1259
1076
|
setup(__props) {
|
|
1260
1077
|
const i18n = useI18n();
|
|
1261
1078
|
return (_ctx, _cache) => {
|
|
1262
|
-
const _component_N8nIconButton = _sfc_main$
|
|
1079
|
+
const _component_N8nIconButton = _sfc_main$b;
|
|
1263
1080
|
return openBlock(), createBlock(_component_N8nIconButton, {
|
|
1264
1081
|
class: "stop-execution",
|
|
1265
1082
|
icon: "square",
|
|
@@ -1291,7 +1108,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
1291
1108
|
createBaseVNode("div", {
|
|
1292
1109
|
class: normalizeClass(unref($style).iconWrapper)
|
|
1293
1110
|
}, [
|
|
1294
|
-
createVNode(_sfc_main$
|
|
1111
|
+
createVNode(_sfc_main$d, { theme: "blank" })
|
|
1295
1112
|
], 2),
|
|
1296
1113
|
createBaseVNode("span", {
|
|
1297
1114
|
class: normalizeClass(unref($style).text)
|
|
@@ -1369,16 +1186,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1369
1186
|
__name: "NodeView",
|
|
1370
1187
|
setup(__props) {
|
|
1371
1188
|
const LazyNodeCreation = defineAsyncComponent(
|
|
1372
|
-
async () => await __vitePreload(() => import("./NodeCreation-
|
|
1189
|
+
async () => await __vitePreload(() => import("./NodeCreation-BeqOH71X.js"), true ? __vite__mapDeps([0,1,2,3]) : void 0)
|
|
1373
1190
|
);
|
|
1374
1191
|
const LazyNodeDetailsView = defineAsyncComponent(
|
|
1375
|
-
async () => await __vitePreload(() => import("./NodeDetailsView-
|
|
1192
|
+
async () => await __vitePreload(() => import("./NodeDetailsView-BOC4Hg0s.js"), true ? __vite__mapDeps([4,1,2,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]) : void 0)
|
|
1376
1193
|
);
|
|
1377
1194
|
const LazyNodeDetailsViewV2 = defineAsyncComponent(
|
|
1378
|
-
async () => await __vitePreload(() => import("./NodeDetailsViewV2-
|
|
1195
|
+
async () => await __vitePreload(() => import("./NodeDetailsViewV2-M9x7-EpG.js"), true ? __vite__mapDeps([20,1,2,5,6,7,8,9,10,11,12,13,14,15,16,17,18,21]) : void 0)
|
|
1379
1196
|
);
|
|
1380
1197
|
const LazySetupWorkflowCredentialsButton = defineAsyncComponent(
|
|
1381
|
-
async () => await __vitePreload(() => import("./SetupWorkflowCredentialsButton-
|
|
1198
|
+
async () => await __vitePreload(() => import("./SetupWorkflowCredentialsButton-BszdxOvj.js"), true ? __vite__mapDeps([22,1,2]) : void 0)
|
|
1382
1199
|
);
|
|
1383
1200
|
const $style = useCssModule();
|
|
1384
1201
|
const router = useRouter();
|
|
@@ -1592,6 +1409,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1592
1409
|
historyStore.reset();
|
|
1593
1410
|
if (!isDemoRoute.value) {
|
|
1594
1411
|
await loadCredentials();
|
|
1412
|
+
void builderStore.fetchBuilderCredits();
|
|
1595
1413
|
}
|
|
1596
1414
|
if (isNewWorkflowRoute.value || !workflowId.value) {
|
|
1597
1415
|
if (route.meta?.nodeView === true) {
|
|
@@ -1665,7 +1483,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1665
1483
|
workflowData.meta.templateId.split("-").pop() ?? ""
|
|
1666
1484
|
);
|
|
1667
1485
|
}
|
|
1668
|
-
await projectsStore.setProjectNavActiveIdByWorkflowHomeProject(
|
|
1486
|
+
await projectsStore.setProjectNavActiveIdByWorkflowHomeProject(
|
|
1487
|
+
workflowData.homeProject,
|
|
1488
|
+
workflowData.sharedWithProjects
|
|
1489
|
+
);
|
|
1669
1490
|
} catch (error) {
|
|
1670
1491
|
if (error.httpStatusCode === 404) {
|
|
1671
1492
|
return await router.replace({
|
|
@@ -2100,16 +1921,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
2100
1921
|
regenerateIds: data.regenerateIds === true || data.regenerateIds === void 0,
|
|
2101
1922
|
trackEvents
|
|
2102
1923
|
});
|
|
1924
|
+
await nextTick();
|
|
2103
1925
|
fitView();
|
|
2104
1926
|
selectNodes(workflowData.nodes?.map((node) => node.id) ?? []);
|
|
2105
1927
|
if (data.tidyUp) {
|
|
2106
1928
|
const nodesIdsToTidyUp = data.nodesIdsToTidyUp;
|
|
2107
|
-
setTimeout(() => {
|
|
1929
|
+
setTimeout(async () => {
|
|
2108
1930
|
canvasEventBus.emit("tidyUp", {
|
|
2109
1931
|
source: "import-workflow-data",
|
|
2110
1932
|
nodeIdsFilter: nodesIdsToTidyUp,
|
|
2111
1933
|
trackEvents
|
|
2112
1934
|
});
|
|
1935
|
+
await nextTick();
|
|
1936
|
+
fitView();
|
|
2113
1937
|
}, 0);
|
|
2114
1938
|
}
|
|
2115
1939
|
}
|
|
@@ -2782,8 +2606,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
2782
2606
|
}, [
|
|
2783
2607
|
unref(editableWorkflow) && unref(editableWorkflowObject) && !isLoading.value ? (openBlock(), createBlock(WorkflowCanvas, {
|
|
2784
2608
|
key: 0,
|
|
2785
|
-
ref: "canvas",
|
|
2786
2609
|
id: unref(editableWorkflow).id,
|
|
2610
|
+
ref: "canvas",
|
|
2787
2611
|
workflow: unref(editableWorkflow),
|
|
2788
2612
|
"workflow-object": unref(editableWorkflowObject),
|
|
2789
2613
|
"fallback-nodes": fallbackNodes.value,
|
|
@@ -2792,7 +2616,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
2792
2616
|
"read-only": isCanvasReadOnly.value,
|
|
2793
2617
|
executing: isWorkflowRunning.value,
|
|
2794
2618
|
"key-bindings": keyBindingsEnabled.value,
|
|
2795
|
-
"suppress-interaction": unref(
|
|
2619
|
+
"suppress-interaction": unref(experimentalNdvStore).isMapperOpen,
|
|
2796
2620
|
"onUpdate:nodes:position": onUpdateNodesPosition,
|
|
2797
2621
|
"onUpdate:node:position": onUpdateNodePosition,
|
|
2798
2622
|
"onUpdate:node:activated": onSetNodeActivated,
|