n8n-editor-ui 1.75.1 → 1.77.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BhRv3Xk0.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DI9LKNPl.js} +1 -1
- package/dist/assets/{AuthView-vL9vjCvD.js → AuthView-DM7o3O4n.js} +2 -2
- package/dist/assets/{CanvasChat-B69VJDcA.js → CanvasChat-D_6gR76j.js} +19 -18
- package/dist/assets/{CanvasControls-DhhKk7yf.js → CanvasControls-Nhfb4Lvl.js} +1 -1
- package/dist/assets/{ChangePasswordView-D8y2rYLl.js → ChangePasswordView-BaAm4ZVG.js} +3 -3
- package/dist/assets/CollectionParameter-B6Y-W51v.js +4 -0
- package/dist/assets/{ConcurrentExecutionsHeader-Dv0s5rxY.js → ConcurrentExecutionsHeader-DIjBdza6.js} +2 -2
- package/dist/assets/{CredentialsView-Dp0fVbpZ.js → CredentialsView-Xu6hENWr.js} +4 -4
- package/dist/assets/{ErrorView-a6qq4rkt.js → ErrorView-DUTGEeMV.js} +1 -1
- package/dist/assets/{ExecutionsView-CpILe_1o.js → ExecutionsView-BUxJO71n.js} +17 -5
- package/dist/assets/{FileSaver.min-C1QTiJmy.js → FileSaver.min-BEdek61R.js} +1 -1
- package/dist/assets/{FixedCollectionParameter-DvdC-9QQ.css → FixedCollectionParameter-BReT5syB.css} +18 -18
- package/dist/assets/{FixedCollectionParameter-kphzKyyy.js → FixedCollectionParameter-C347CzJX.js} +27 -3
- package/dist/assets/{ForgotMyPasswordView-DzUekqel.js → ForgotMyPasswordView-COBAL4BR.js} +3 -3
- package/dist/assets/{Logo-B-pFOUGc.js → Logo-D0YIkpeq.js} +1 -1
- package/dist/assets/{MainHeader-C6S60KwG.js → MainHeader-C9fFpTj2.js} +15 -105
- package/dist/assets/{MainHeader-BIKp2Ncp.css → MainHeader-DC-g9NGP.css} +12 -11
- package/dist/assets/{MainSidebar-CJ-OKhK-.js → MainSidebar-DqTz49bY.js} +38 -81
- package/dist/assets/{NodeCreation-CNcty5fl.js → NodeCreation-BfPITu8g.js} +4 -4
- package/dist/assets/{NodeCreator-DAW2sX8p.js → NodeCreator-CK6kn0Jv.js} +4 -5
- package/dist/assets/{NodeViewSwitcher-mtWBt9cw.js → NodeViewSwitcher-Ccwulgc_.js} +164 -83
- package/dist/assets/{NodeViewSwitcher-CB1zkjni.css → NodeViewSwitcher-DApULbEt.css} +36 -39
- package/dist/assets/{ProjectCardBadge-DcWhzEr6.js → ProjectCardBadge-Dzk3JBiy.js} +2 -15
- package/dist/assets/{ProjectHeader-D2FCquSr.js → ProjectHeader-DScDlb97.js} +1 -1
- package/dist/assets/{ProjectSettings-CDg4IQw7.js → ProjectSettings-BKBT1ZQ3.js} +2 -2
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-BPBen7Li.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-vHkaCcgH.js} +1 -1
- package/dist/assets/{ResourcesListLayout-DWASP6Vp.js → ResourcesListLayout-Bm25PbPe.js} +21 -11
- package/dist/assets/{ResourcesListLayout-CJC-YvjD.css → ResourcesListLayout-d7mMNhOL.css} +6 -6
- package/dist/assets/{RunDataJson-CFNeORgR.js → RunDataJson-DdPA-vUg.js} +14 -15
- package/dist/assets/{RunDataJson-BXTLuo7i.css → RunDataJson-Txw0lqay.css} +1 -0
- package/dist/assets/{RunDataJsonActions-COFXneND.js → RunDataJsonActions-DQOpbX-O.js} +2 -2
- package/dist/assets/{RunDataSearch-D9UDSGjR.js → RunDataSearch-CouFZTIv.js} +1 -1
- package/dist/assets/{RunDataTable-C3flt0dy.js → RunDataTable-BTSlSsV8.js} +18 -20
- package/dist/assets/{SamlOnboarding-CWM-8qu7.js → SamlOnboarding-ByjacAW7.js} +3 -3
- package/dist/assets/{SettingsApiView-Bl6jvpWQ.js → SettingsApiView-Bcy_zE6E.js} +1 -1
- package/dist/assets/{SettingsCommunityNodesView-5Dl4EOzd.js → SettingsCommunityNodesView-Cjl8HKbz.js} +4 -4
- package/dist/assets/{SettingsExternalSecrets-DljwCjwW.js → SettingsExternalSecrets-BdjUgns5.js} +1 -1
- package/dist/assets/{SettingsLdapView-5kgLPxB7.js → SettingsLdapView-JZznK2gT.js} +1 -1
- package/dist/assets/{SettingsLogStreamingView-CsB-E4Kv.js → SettingsLogStreamingView-Dr-YFp2W.js} +1 -1
- package/dist/assets/{SettingsPersonalView-B0vJNuPt.js → SettingsPersonalView-inpY_nzK.js} +1 -1
- package/dist/assets/{SettingsSourceControl-B7SGpzBu.js → SettingsSourceControl-Cg7lS-SE.js} +1 -1
- package/dist/assets/{SettingsSso-pDsu2lsS.js → SettingsSso-NG13hUzi.js} +1 -1
- package/dist/assets/{SettingsUsageAndPlan-B83lunzH.js → SettingsUsageAndPlan-BgSLN2VF.js} +1 -1
- package/dist/assets/{SettingsUsersView-DPM5R_9p.js → SettingsUsersView-DUmnh2jo.js} +1 -1
- package/dist/assets/{SettingsView-NF_8zzqr.js → SettingsView-DdHGr_vR.js} +1 -1
- package/dist/assets/{SetupView-Dzehb2sC.js → SetupView-ByLBPzaO.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-Bhx7c9Lu.js → SetupWorkflowCredentialsButton-Dv3O2B1n.js} +3 -2
- package/dist/assets/{SetupWorkflowFromTemplateView-DaP6_l4S.js → SetupWorkflowFromTemplateView-DFn8kOzj.js} +3 -3
- package/dist/assets/{SigninView-BLyXzN0c.js → SigninView-DIJ4QhSe.js} +3 -3
- package/dist/assets/{SignoutView-BsaJctbQ.js → SignoutView-CzgpQ3SX.js} +1 -1
- package/dist/assets/{SignupView-m53hHk3y.js → SignupView-Ki2_QcUU.js} +3 -3
- package/dist/assets/{TemplateDetails-CWR4kXyf.js → TemplateDetails-BSeVX-wU.js} +1 -1
- package/dist/assets/{TemplateList-DLQxEmgt.js → TemplateList-CM9EZ6da.js} +1 -1
- package/dist/assets/{TemplatesCollectionView-CobxDh9v.js → TemplatesCollectionView-DQMG3Nx0.js} +5 -5
- package/dist/assets/{TemplatesSearchView-CDW7EH1p.js → TemplatesSearchView-BG5Bfpq9.js} +3 -3
- package/dist/assets/{TemplatesView-DJCodjB-.js → TemplatesView-D3vhmKK2.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-DOlLEzEa.js → TemplatesWorkflowView-BVZExmo-.js} +5 -5
- package/dist/assets/{TestDefinitionEditView-Cuphh86f.js → TestDefinitionEditView-DeYXSHuX.js} +837 -549
- package/dist/assets/{TestDefinitionEditView-FI1GVbhl.css → TestDefinitionEditView-d7yfvp9P.css} +601 -238
- package/dist/assets/{TestDefinitionListView-Dgq9dXJL.js → TestDefinitionListView-Dm0Wfpbk.js} +93 -68
- package/dist/assets/{TestDefinitionRootView-DU-JMBSH.js → TestDefinitionRootView-v_AUC4gJ.js} +1 -1
- package/dist/assets/VariablesView-BBjPCn4K.js +509 -0
- package/dist/assets/{VariablesView-D4pRzSuY.css → VariablesView-CIfrpJdg.css} +21 -54
- package/dist/assets/{WorkerView-CbqToUTB.js → WorkerView-wAx-DxZp.js} +5 -5
- package/dist/assets/{WorkflowActivator-BaM6Tydw.js → WorkflowActivator-KzTynbZM.js} +2 -2
- package/dist/assets/{WorkflowExecutionsInfoAccordion-6kKOPXK7.js → WorkflowExecutionsInfoAccordion-BWYv1FIv.js} +1 -1
- package/dist/assets/{WorkflowExecutionsLandingPage-Cqq5FeZE.js → WorkflowExecutionsLandingPage-LwIHX7rs.js} +2 -2
- package/dist/assets/{WorkflowExecutionsPreview-D1cSllVi.js → WorkflowExecutionsPreview-D68OCpWf.js} +8 -7
- package/dist/assets/{WorkflowExecutionsView-BUHtKz5M.css → WorkflowExecutionsView-BjdRnQOE.css} +32 -32
- package/dist/assets/{WorkflowExecutionsView-qTFEWbeC.js → WorkflowExecutionsView-C47WjaF2.js} +43 -29
- package/dist/assets/{WorkflowHistory-De54-QkN.js → WorkflowHistory-VBfitRhR.js} +3 -3
- package/dist/assets/{WorkflowOnboardingView-p6cAElRZ.js → WorkflowOnboardingView-X9Yz2kZe.js} +1 -31
- package/dist/assets/{WorkflowPreview-CKK96lnJ.js → WorkflowPreview-D0IqMbWq.js} +24 -6
- package/dist/assets/{WorkflowsView-D5G530AX.js → WorkflowsView-CXhmco5U.js} +7 -7
- package/dist/assets/{easyAiWorkflowUtils-eykvtlKm.js → easyAiWorkflowUtils-B7xBZAZO.js} +1 -1
- package/dist/assets/{index-CWcTt6jd.js → index-BW7gX0J2.js} +232838 -231981
- package/dist/assets/{index-DXFsvbJ_.css → index-Bs_8II2j.css} +257 -38
- package/dist/assets/{polyfills-BN5TIqPj.js → polyfills-DNwgos9f.js} +650 -0
- package/dist/assets/{pushConnection.store-CTrZ_kO6.js → pushConnection.store-C6PSl50Z.js} +1 -1
- package/dist/assets/{templateActions-B712CNo3.js → templateActions-BHlzMnfj.js} +1 -1
- package/dist/assets/useBeforeUnload-BudMrcxz.js +43 -0
- package/dist/assets/{useCanvasOperations-BSKKylIT.css → useCanvasOperations-CEWecDkR.css} +12 -12
- package/dist/assets/{useCanvasOperations-DTx4vbp_.js → useCanvasOperations-ZjLeZwpS.js} +62 -61
- package/dist/assets/{useExecutionDebugging-DjYGtT4w.js → useExecutionDebugging-C_Y6ee_L.js} +1 -1
- package/dist/assets/{useExecutionHelpers-DcyS3__o.js → useExecutionHelpers-MX6P-wr8.js} +1 -1
- package/dist/assets/{usePinnedData-C5NRkSpx.js → usePinnedData-CHMuwypo.js} +1 -1
- package/dist/assets/{usePushConnection-CGv57TM5.js → usePushConnection-3HzYJp1-.js} +3 -3
- package/dist/assets/{useRunWorkflow-C_vazd74.js → useRunWorkflow-DUK8ev8x.js} +19 -7
- package/dist/assets/{useWorkflowActivate-Dxi5zSSs.js → useWorkflowActivate-BjJ3P-qa.js} +1 -1
- package/dist/index.html +3 -3
- package/dist/static/n8n-logo.png +0 -0
- package/package.json +1 -1
- package/dist/assets/CollectionParameter-djLQ8MUO.js +0 -4
- package/dist/assets/VariablesView-CaGkZXjl.js +0 -599
- package/dist/assets/useBugReporting-BxDqzvRW.js +0 -38
- package/dist/assets/useNodeViewVersionSwitcher-CXU1PYlK.js +0 -93
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/RunDataTable-
|
|
2
|
-
import { d as defineComponent, r as ref, q as computed, c as openBlock, h as createElementBlock, j as createBaseVNode, i as createVNode,
|
|
3
|
-
import { u as useContextMenu, a as useNodeCreatorStore, C as ContextMenu, b as useUniqueNodeName, c as useViewStacks, d as useVueFlow, e as useCanvasMapping, _ as __unplugin_components_0$1, f as useCanvasOperations, g as createCanvasConnectionHandleString } from "./useCanvasOperations-
|
|
4
|
-
import { u as usePinnedData, a as useNodeType } from "./usePinnedData-
|
|
5
|
-
import { u as useRunWorkflow, _ as _sfc_main$D, R as RunDataAi } from "./useRunWorkflow-
|
|
6
|
-
import { F as FileSaver_minExports } from "./FileSaver.min-
|
|
7
|
-
import { u as useExecutionHelpers, c as convertToDisplayDateComponents } from "./useExecutionHelpers-
|
|
8
|
-
import { u as useWorkflowActivate } from "./useWorkflowActivate-
|
|
9
|
-
import { g as globalLinkActionsEventBus, u as usePushConnectionStore } from "./pushConnection.store-
|
|
10
|
-
import { u as useExecutionDebugging } from "./useExecutionDebugging-
|
|
11
|
-
import { u as useBeforeUnload
|
|
12
|
-
import { g as getEasyAiWorkflowJson } from "./easyAiWorkflowUtils-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/RunDataTable-BTSlSsV8.js","assets/index-BW7gX0J2.js","assets/index-Bs_8II2j.css","assets/useExecutionHelpers-MX6P-wr8.js","assets/RunDataTable-CX7gToH4.css","assets/RunDataJson-DdPA-vUg.js","assets/useCanvasOperations-ZjLeZwpS.js","assets/usePinnedData-CHMuwypo.js","assets/useCanvasOperations-CEWecDkR.css","assets/useRunWorkflow-DUK8ev8x.js","assets/useRunWorkflow-DWoFsQdi.css","assets/FileSaver.min-BEdek61R.js","assets/useWorkflowActivate-BjJ3P-qa.js","assets/pushConnection.store-C6PSl50Z.js","assets/useExecutionDebugging-C_Y6ee_L.js","assets/useBeforeUnload-BudMrcxz.js","assets/easyAiWorkflowUtils-B7xBZAZO.js","assets/RunDataJson-Txw0lqay.css","assets/RunDataSearch-CouFZTIv.js","assets/RunDataSearch-R6qtl0Jf.css","assets/NodeCreation-BfPITu8g.js","assets/NodeCreation-RKvezEeg.css","assets/CanvasControls-Nhfb4Lvl.js","assets/CanvasControls-DTjEPKS0.css","assets/SetupWorkflowCredentialsButton-Dv3O2B1n.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { d as defineComponent, r as ref, q as computed, c as openBlock, h as createElementBlock, j as createBaseVNode, i as createVNode, br as _sfc_main$z, n as normalizeClass, w as withCtx, k as createTextVNode, t as toDisplayString, e as createBlock, f as createCommentVNode, l as unref, G as withKeys, I as withModifiers, g as useI18n, y as nextTick, m as resolveComponent, _ as _export_sfc, as as useNDVStore, T as useWorkflowsStore, bs as isCommunityPackageName, bt as NPM_PACKAGE_DOCS_BASE_URL, bu as BUILTIN_NODES_DOCS_URL, bv as COMMUNITY_NODES_INSTALLATION_DOCS_URL, bh as NodeConnectionType, aT as useExternalHooks, aj as useTelemetry, b as useRouter, b6 as useClipboard, a4 as useWorkflowHelpers, a as useToast, bw as OPEN_URL_PANEL_TRIGGER_NODE_TYPES, H as watch, F as Fragment, A as renderList, bx as PRODUCTION_ONLY_TRIGGER_NODE_TYPES, by as FORM_TRIGGER_NODE_TYPE, b7 as CHAT_TRIGGER_NODE_TYPE, E as onClickOutside, ap as h, bz as toValue, bA as toRef, bB as tryOnScopeDispose, bC as isIOS, bD as noop, bE as isObject, bF as isClient, bo as useNodeTypesStore, bp as useNodeHelpers, J as useDebounce, B as normalizeStyle, bG as nodeIssuesToString, be as getNodeInputs, bH as TitledList, K as useUIStore, a$ as mergeProps, bI as MANUAL_TRIGGER_NODE_TYPE, bJ as WEBHOOK_NODE_TYPE, bK as AI_TRANSFORM_NODE_TYPE, bL as AI_TRANSFORM_CODE_GENERATED_FOR_PROMPT, bM as generateCodeForAiTransform, bN as AI_TRANSFORM_JS_CODE, ac as nodeViewEventBus, ak as useMessage, ae as MODAL_CONFIRM, bO as SWITCH_NODE_TYPE, bP as isEqual, bQ as captureException, p as useSettingsStore, au as usePostHog, bR as useCredentialsStore, u as useUsersStore, a1 as useProjectsStore, bS as OPEN_AI_API_CREDENTIAL_TYPE, bT as AI_CREDITS_EXPERIMENT, bU as useHistoryStore, o as onMounted, bV as importCurlEventBus, bW as ndvEventBus, x as onBeforeUnmount, bX as CUSTOM_NODES_DOCS_URL, ax as withDirectives, ay as vShow, bY as NodeCredentials, bZ as _sfc_main$A, b_ as ProjectTypes, bf as getConnectionTypes, bj as get, b$ as getNodeParameters, c0 as deepCopy, c1 as set, c2 as unset, c3 as RenameNodeCommand, c4 as isINodePropertyCollectionList, c5 as isINodePropertiesList, c6 as isINodePropertyOptionsList, c7 as displayParameter, c8 as Draggable, c9 as useThrottleFn, ca as useSlots, aI as useStorage, cb as LOCAL_STORAGE_MAIN_PANEL_RELATIVE_WIDTH, s as renderSlot, cc as MAIN_NODE_PANEL_WIDTH, cd as requireVue, ce as getDefaultExportFromCjs, cf as sanitizeHtmlExports, cg as sanitizeHtml, ch as jsonParse, aO as N8nLink, ci as N8nText, aQ as _sfc_main$B, aP as N8nTooltip, a0 as useSourceControlStore, Z as useRootStore, U as useRoute, cj as toRef$1, ck as storeToRefs, cl as dataPinningEventBus, cm as MAX_DISPLAY_DATA_SIZE_SCHEMA_VIEW, cn as MAX_DISPLAY_DATA_SIZE, co as HTML_NODE_TYPE, cp as DATA_PINNING_DOCS_URL, cq as N8nCallout, cr as Suspense, cs as N8nRadioButtons, ct as N8nButton, cu as N8nSelect, cv as N8nTabs, cw as _sfc_main$C, cx as JsonEditor, cy as DATA_EDITING_DOCS_URL, cz as InfoTip, cA as _sfc_main$E, cB as N8nBlockUi, cC as defineAsyncComponent, cD as TRIMMED_TASK_DATA_CONNECTIONS_KEY, cE as executionDataToJson, cF as NODE_TYPES_EXCLUDED_FROM_OUTPUT_NAME_APPEND, cG as isEmpty, bg as getNodeOutputs, cH as getNodeHints, cI as getGenericHints, cJ as LOCAL_STORAGE_PIN_DATA_DISCOVERY_NDV_FLAG, cK as LOCAL_STORAGE_PIN_DATA_DISCOVERY_CANVAS_FLAG, cL as clearJsonKey, cM as searchInObject, cN as isObject$1, cO as resolveDirective, cP as TEST_PIN_DATA, ar as __vitePreload, aS as createSlots, cQ as waitingNodeTooltip, cR as isPresent, cS as truncate, cT as createStaticVNode, b0 as resolveDynamicComponent, cU as uniqBy, cV as START_NODE_TYPE, cW as CRON_NODE_TYPE, cX as INTERVAL_NODE_TYPE, cY as CopyInput, cZ as Transition, C as createEventBus, c_ as isTriggerPanelObject, c$ as getTriggerNodeServiceName, V as VIEWS, af as WORKFLOW_SETTINGS_MODAL_KEY, d0 as useDeviceSupport, d1 as APP_MODALS_ELEMENT_ID, d2 as useStyles, d3 as EXECUTABLE_TRIGGER_NODE_TYPES, aB as STICKY_NODE_TYPE, d4 as BASE_NODE_SURVEY_URL, a8 as EnterpriseEditionFeature, d5 as getCurrentInstance, d6 as getAnchorPosition, d7 as isValidNodeConnectionType, d8 as getEndpointScope, d9 as getInputEndpointUUID, da as getInputEndpointStyle, db as getScope, dc as getInputNameOverlay, dd as NODE_INSERT_SPACER_BETWEEN_INPUT_GROUPS, de as NODE_MIN_INPUT_ITEMS_COUNT, df as getOutputEndpointUUID, dg as getOutputEndpointStyle, dh as getOutputNameOverlay, di as NO_OP_NODE_TYPE, dj as NODE_CONNECTION_TYPE_ALLOW_MULTIPLE, dk as GRID_SIZE, dl as isString, dm as isNumber, dn as assert, dp as CUSTOM_API_CALL_KEY, dq as FontAwesomeIcon, dr as xss, ds as WAIT_NODE_TYPE, dt as SEND_AND_WAIT_OPERATION, du as FORM_NODE_TYPE, dv as WAIT_INDEFINITELY, dw as SIMULATE_NODE_TYPE, dx as SIMULATE_TRIGGER_NODE_TYPE, dy as reactive, b4 as onUnmounted, $ as useCanvasStore, dz as getMousePosition, dA as getRelativePosition, dB as MOUSE_EVENT_BUTTON, dC as MOUSE_EVENT_BUTTONS, dD as KeyboardShortcutTooltip, a3 as useDocumentTitle, dE as NODE_CREATOR_OPEN_SOURCES, dF as mapStores, a2 as useNpsSurveyStore, at as useExecutionsStore, dG as useExternalSecretsStore, dH as useWorkflowsEEStore, dI as useEnvironmentsStore, aM as useTemplatesStore, D as useTagsStore, dJ as getBackgroundStyles, b8 as MANUAL_CHAT_TRIGGER_NODE_TYPE, al as getResourcePermissions, dK as getNodeViewTab, X as PLACEHOLDER_EMPTY_WORKFLOW_ID, an as MAIN_HEADER_TABS, dL as ready, aE as sourceControlEventBus, dM as historyBus, dN as generateNodesGraph, dO as N8nAddInputEndpointType, dP as TRIGGER_NODE_CREATOR_VIEW, dQ as getFixedNodesList, dR as tryToParseNumber, dS as MoveNodeCommand, ah as VALID_WORKFLOW_IMPORT_URL_REGEX, dT as UPDATE_WEBHOOK_ID_NODE_TYPES, bk as v4, dU as getNewNodePosition, dV as DRAG_EVENT_DATA_KEY, dW as getConnectorLengths, dX as MAX_X_TO_PUSH_DOWNSTREAM_NODES, dY as PUSH_NODES_OFFSET, dZ as NODE_SIZE, d_ as generateOffsets, d$ as nodeConnectionTypes, e0 as resetConnectionAfterPull, e1 as resetConnection, e2 as moveBackInputLabelPosition, e3 as hideOutputNameLabel, e4 as addConnectionActionsOverlay, e5 as getOverlay, e6 as OVERLAY_ENDPOINT_ARROW_ID, e7 as getConnectorPaintStyleData, e8 as AddConnectionCommand, e9 as addConnectionTestData, ea as showOrHideItemsLabel, eb as showOrHideMidpointArrow, ec as isJSPlumbConnection, ed as hideConnectionActions, ee as showConnectionActions, ef as resetInputLabelPosition, eg as getConnectionInfo, eh as showOutputNameLabel, ei as RemoveConnectionCommand, ej as isJSPlumbEndpointElement, ek as isElementIntersection, el as calculateElementIntersection, em as showDropConnectionState, en as showPullConnectionState, eo as AI_NODE_CREATOR_VIEW, ep as EVENT_CONNECTION_ABORT, eq as INTERCEPT_BEFORE_DROP, er as EVENT_CONNECTION, es as EVENT_DRAG_MOVE, et as EVENT_CONNECTION_MOUSEOVER, eu as EVENT_CONNECTION_MOUSEOUT, ev as EVENT_CONNECTION_MOVED, ew as EVENT_ENDPOINT_MOUSEOVER, ex as EVENT_ENDPOINT_MOUSEOUT, ey as EVENT_CONNECTION_DETACHED, ez as EVENT_CONNECTION_DRAG, eA as EVENT_PLUS_ENDPOINT_CLICK, eB as EVENT_ADD_INPUT_ENDPOINT_CLICK, eC as N8nPlusEndpointType, eD as CANVAS_AUTO_ADD_MANUAL_TRIGGER_EXPERIMENT, eE as MODAL_CANCEL, eF as addClassesToOverlays, eG as getJSPlumbEndpoints, eH as REGULAR_NODE_CREATOR_VIEW, eI as isSubNodeType, eJ as useDataSchema, eK as OVERLAY_RUN_ITEMS_ID, eL as RemoveNodeCommand, aa as useCssModule, eM as NEW_WORKFLOW_ID, eN as CanvasNodeRenderType, aw as onBeforeMount, eO as onActivated, eP as onDeactivated, eQ as CanvasConnectionMode, av as useLocalStorage, eR as onBeforeRouteLeave } from "./index-BW7gX0J2.js";
|
|
3
|
+
import { u as useContextMenu, a as useNodeCreatorStore, C as ContextMenu, b as useUniqueNodeName, c as useViewStacks, d as useVueFlow, e as useCanvasMapping, _ as __unplugin_components_0$1, f as useCanvasOperations, g as createCanvasConnectionHandleString } from "./useCanvasOperations-ZjLeZwpS.js";
|
|
4
|
+
import { u as usePinnedData, a as useNodeType } from "./usePinnedData-CHMuwypo.js";
|
|
5
|
+
import { u as useRunWorkflow, _ as _sfc_main$D, R as RunDataAi } from "./useRunWorkflow-DUK8ev8x.js";
|
|
6
|
+
import { F as FileSaver_minExports } from "./FileSaver.min-BEdek61R.js";
|
|
7
|
+
import { u as useExecutionHelpers, c as convertToDisplayDateComponents } from "./useExecutionHelpers-MX6P-wr8.js";
|
|
8
|
+
import { u as useWorkflowActivate } from "./useWorkflowActivate-BjJ3P-qa.js";
|
|
9
|
+
import { g as globalLinkActionsEventBus, u as usePushConnectionStore } from "./pushConnection.store-C6PSl50Z.js";
|
|
10
|
+
import { u as useExecutionDebugging } from "./useExecutionDebugging-C_Y6ee_L.js";
|
|
11
|
+
import { u as useBeforeUnload } from "./useBeforeUnload-BudMrcxz.js";
|
|
12
|
+
import { g as getEasyAiWorkflowJson } from "./easyAiWorkflowUtils-B7xBZAZO.js";
|
|
13
13
|
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
14
14
|
__name: "NodeTitle",
|
|
15
15
|
props: {
|
|
@@ -1208,6 +1208,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
1208
1208
|
}
|
|
1209
1209
|
if (isChatNode.value || isChatChild.value && ndvStore.isInputPanelEmpty) {
|
|
1210
1210
|
ndvStore.setActiveNodeName(null);
|
|
1211
|
+
workflowsStore.chatPartialExecutionDestinationNode = props.nodeName;
|
|
1211
1212
|
nodeViewEventBus.emit("openChat");
|
|
1212
1213
|
} else if (isListeningForEvents.value) {
|
|
1213
1214
|
await stopWaitingForWebhook();
|
|
@@ -3653,19 +3654,19 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
3653
3654
|
emits: ["search", "runChange", "itemHover", "linkRun", "unlinkRun", "activatePane", "tableMounted"],
|
|
3654
3655
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
3655
3656
|
const LazyRunDataTable = defineAsyncComponent(
|
|
3656
|
-
async () => await __vitePreload(() => import("./RunDataTable-
|
|
3657
|
+
async () => await __vitePreload(() => import("./RunDataTable-BTSlSsV8.js"), true ? __vite__mapDeps([0,1,2,3,4]) : void 0)
|
|
3657
3658
|
);
|
|
3658
3659
|
const LazyRunDataJson = defineAsyncComponent(
|
|
3659
|
-
async () => await __vitePreload(() => import("./RunDataJson-
|
|
3660
|
+
async () => await __vitePreload(() => import("./RunDataJson-DdPA-vUg.js"), true ? __vite__mapDeps([5,1,2,6,7,8,9,3,10,11,12,13,14,15,16,17]) : void 0)
|
|
3660
3661
|
);
|
|
3661
3662
|
const LazyRunDataSchema = defineAsyncComponent(
|
|
3662
|
-
async () => await __vitePreload(() => import("./index-
|
|
3663
|
+
async () => await __vitePreload(() => import("./index-BW7gX0J2.js").then((n) => n.iK), true ? __vite__mapDeps([1,2]) : void 0)
|
|
3663
3664
|
);
|
|
3664
3665
|
const LazyRunDataHtml = defineAsyncComponent(
|
|
3665
3666
|
async () => await __vitePreload(() => Promise.resolve().then(() => RunDataHtml$1), true ? void 0 : void 0)
|
|
3666
3667
|
);
|
|
3667
3668
|
const LazyRunDataSearch = defineAsyncComponent(
|
|
3668
|
-
async () => await __vitePreload(() => import("./RunDataSearch-
|
|
3669
|
+
async () => await __vitePreload(() => import("./RunDataSearch-CouFZTIv.js"), true ? __vite__mapDeps([18,1,2,19]) : void 0)
|
|
3669
3670
|
);
|
|
3670
3671
|
const props = __props;
|
|
3671
3672
|
const emit = __emit;
|
|
@@ -4527,9 +4528,6 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
4527
4528
|
search2.value = "";
|
|
4528
4529
|
document.dispatchEvent(new KeyboardEvent("keyup", { key: "/" }));
|
|
4529
4530
|
}
|
|
4530
|
-
function onExecutionHistoryNavigate() {
|
|
4531
|
-
ndvStore.setActiveNodeName(null);
|
|
4532
|
-
}
|
|
4533
4531
|
function getExecutionLinkLabel(task) {
|
|
4534
4532
|
if (task.parentExecution) {
|
|
4535
4533
|
return i18n.baseText("runData.openParentExecution", {
|
|
@@ -4714,7 +4712,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
4714
4712
|
]),
|
|
4715
4713
|
default: withCtx(() => [
|
|
4716
4714
|
(openBlock(true), createElementBlock(Fragment, null, renderList(maxRunIndex.value + 1, (option) => {
|
|
4717
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
4715
|
+
return openBlock(), createBlock(unref(_sfc_main$E), {
|
|
4718
4716
|
key: option,
|
|
4719
4717
|
label: getRunLabel(option),
|
|
4720
4718
|
value: option - 1
|
|
@@ -4733,13 +4731,13 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
4733
4731
|
default: withCtx(() => [
|
|
4734
4732
|
createVNode(unref(_sfc_main$B), {
|
|
4735
4733
|
icon: _ctx.linkedRuns ? "unlink" : "link",
|
|
4736
|
-
class: "linkRun",
|
|
4734
|
+
class: normalizeClass(["linkRun", _ctx.linkedRuns ? "linked" : ""]),
|
|
4737
4735
|
text: "",
|
|
4738
4736
|
type: "tertiary",
|
|
4739
4737
|
size: "small",
|
|
4740
4738
|
"data-test-id": "link-run",
|
|
4741
4739
|
onClick: toggleLinkRuns
|
|
4742
|
-
}, null, 8, ["icon"])
|
|
4740
|
+
}, null, 8, ["icon", "class"])
|
|
4743
4741
|
]),
|
|
4744
4742
|
_: 1
|
|
4745
4743
|
})) : createCommentVNode("", true),
|
|
@@ -4768,7 +4766,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
4768
4766
|
class: normalizeClass(_ctx.$style.hintCallout)
|
|
4769
4767
|
}, [
|
|
4770
4768
|
createVNode(unref(N8nCallout), {
|
|
4771
|
-
theme: "
|
|
4769
|
+
theme: "info",
|
|
4772
4770
|
"data-test-id": "run-data-callout"
|
|
4773
4771
|
}, {
|
|
4774
4772
|
default: withCtx(() => [
|
|
@@ -4808,7 +4806,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
4808
4806
|
"onUpdate:modelValue": onBranchChange
|
|
4809
4807
|
}, null, 8, ["model-value", "options"])
|
|
4810
4808
|
], 2)
|
|
4811
|
-
], 2)) :
|
|
4809
|
+
], 2)) : hasNodeRun.value && !isSearchInSchemaView.value && (dataCount.value > 0 && maxRunIndex.value === 0 || search2.value) && !isArtificialRecoveredEventItem.value && !displaysMultipleNodes.value ? withDirectives((openBlock(), createElementBlock("div", {
|
|
4812
4810
|
key: 7,
|
|
4813
4811
|
class: normalizeClass([_ctx.$style.itemsCount, { [_ctx.$style.muted]: _ctx.paneType === "input" && maxRunIndex.value === 0 }]),
|
|
4814
4812
|
"data-test-id": "ndv-items-count"
|
|
@@ -4856,7 +4854,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
4856
4854
|
createTextVNode(" " + toDisplayString(getExecutionLinkLabel(activeTaskMetadata.value)), 1)
|
|
4857
4855
|
], 10, _hoisted_4$3)) : createCommentVNode("", true)
|
|
4858
4856
|
], 2)), [
|
|
4859
|
-
[vShow, !editMode2.value.enabled
|
|
4857
|
+
[vShow, !editMode2.value.enabled]
|
|
4860
4858
|
]) : createCommentVNode("", true),
|
|
4861
4859
|
createBaseVNode("div", {
|
|
4862
4860
|
ref_key: "dataContainerRef",
|
|
@@ -4988,22 +4986,6 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
4988
4986
|
createTextVNode(toDisplayString(unref(i18n).baseText("runData.trimmedData.message")), 1)
|
|
4989
4987
|
]),
|
|
4990
4988
|
_: 1
|
|
4991
|
-
}),
|
|
4992
|
-
createVNode(unref(N8nButton), {
|
|
4993
|
-
size: "small",
|
|
4994
|
-
onClick: onExecutionHistoryNavigate
|
|
4995
|
-
}, {
|
|
4996
|
-
default: withCtx(() => [
|
|
4997
|
-
createVNode(unref(_sfc_main$E), {
|
|
4998
|
-
to: `/workflow/${unref(workflowsStore).workflowId}/executions`
|
|
4999
|
-
}, {
|
|
5000
|
-
default: withCtx(() => [
|
|
5001
|
-
createTextVNode(toDisplayString(unref(i18n).baseText("runData.trimmedData.button")), 1)
|
|
5002
|
-
]),
|
|
5003
|
-
_: 1
|
|
5004
|
-
}, 8, ["to"])
|
|
5005
|
-
]),
|
|
5006
|
-
_: 1
|
|
5007
4989
|
})
|
|
5008
4990
|
], 2)) : hasNodeRun.value && isArtificialRecoveredEventItem.value ? (openBlock(), createElementBlock("div", {
|
|
5009
4991
|
key: 8,
|
|
@@ -5398,13 +5380,13 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
5398
5380
|
]),
|
|
5399
5381
|
default: withCtx(() => [
|
|
5400
5382
|
(openBlock(), createElementBlock(Fragment, null, renderList(pageSizes, (size) => {
|
|
5401
|
-
return createVNode(unref(_sfc_main$
|
|
5383
|
+
return createVNode(unref(_sfc_main$E), {
|
|
5402
5384
|
key: size,
|
|
5403
5385
|
label: size,
|
|
5404
5386
|
value: size
|
|
5405
5387
|
}, null, 8, ["label", "value"]);
|
|
5406
5388
|
}), 64)),
|
|
5407
|
-
createVNode(unref(_sfc_main$
|
|
5389
|
+
createVNode(unref(_sfc_main$E), {
|
|
5408
5390
|
label: unref(i18n).baseText("ndv.output.all"),
|
|
5409
5391
|
value: dataCount.value
|
|
5410
5392
|
}, null, 8, ["label", "value"])
|
|
@@ -5507,7 +5489,7 @@ const style0$8 = {
|
|
|
5507
5489
|
const cssModules$a = {
|
|
5508
5490
|
"$style": style0$8
|
|
5509
5491
|
};
|
|
5510
|
-
const RunData = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__cssModules", cssModules$a], ["__scopeId", "data-v-
|
|
5492
|
+
const RunData = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__cssModules", cssModules$a], ["__scopeId", "data-v-e5cc934c"]]);
|
|
5511
5493
|
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
5512
5494
|
__name: "RunInfo",
|
|
5513
5495
|
props: {
|
|
@@ -6203,7 +6185,6 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
6203
6185
|
const telemetry = useTelemetry();
|
|
6204
6186
|
const showDraggableHintWithDelay = ref(false);
|
|
6205
6187
|
const draggableHintShown = ref(false);
|
|
6206
|
-
const inputMode = ref("debugging");
|
|
6207
6188
|
const mappedNode2 = ref(null);
|
|
6208
6189
|
const inputModes = [
|
|
6209
6190
|
{ value: "mapping", label: i18n.baseText("ndv.input.mapping") },
|
|
@@ -6218,6 +6199,17 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
6218
6199
|
focusedMappableInput,
|
|
6219
6200
|
isMappingOnboarded: isUserOnboarded
|
|
6220
6201
|
} = storeToRefs(ndvStore);
|
|
6202
|
+
const rootNode = computed(() => {
|
|
6203
|
+
if (!activeNode.value) return null;
|
|
6204
|
+
return props.workflow.getChildNodes(activeNode.value.name, "ALL").at(0) ?? null;
|
|
6205
|
+
});
|
|
6206
|
+
const hasRootNodeRun = computed(() => {
|
|
6207
|
+
return !!(rootNode.value && workflowsStore.getWorkflowExecution?.data?.resultData.runData[rootNode.value]);
|
|
6208
|
+
});
|
|
6209
|
+
const inputMode = ref(
|
|
6210
|
+
// Show debugging mode by default only when the node has already run
|
|
6211
|
+
activeNode.value && workflowsStore.getWorkflowExecution?.data?.resultData.runData[activeNode.value.name] ? "debugging" : "mapping"
|
|
6212
|
+
);
|
|
6221
6213
|
const isMappingMode = computed(() => isActiveNodeConfig.value && inputMode.value === "mapping");
|
|
6222
6214
|
const showDraggableHint = computed(() => {
|
|
6223
6215
|
const toIgnore = [START_NODE_TYPE, MANUAL_TRIGGER_NODE_TYPE, CRON_NODE_TYPE, INTERVAL_NODE_TYPE];
|
|
@@ -6266,10 +6258,6 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
6266
6258
|
return false;
|
|
6267
6259
|
});
|
|
6268
6260
|
const workflowRunning = computed(() => uiStore.isActionActive.workflowRunning);
|
|
6269
|
-
const rootNode = computed(() => {
|
|
6270
|
-
if (!activeNode.value) return null;
|
|
6271
|
-
return props.workflow.getChildNodes(activeNode.value.name, "ALL").at(0) ?? null;
|
|
6272
|
-
});
|
|
6273
6261
|
const rootNodesParents = computed(() => {
|
|
6274
6262
|
if (!rootNode.value) return [];
|
|
6275
6263
|
return props.workflow.getParentNodesByDepth(rootNode.value);
|
|
@@ -6400,6 +6388,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
6400
6388
|
emit("activatePane");
|
|
6401
6389
|
}
|
|
6402
6390
|
return (_ctx, _cache) => {
|
|
6391
|
+
const _component_i18n_t = resolveComponent("i18n-t");
|
|
6403
6392
|
const _directive_n8n_html = resolveDirective("n8n-html");
|
|
6404
6393
|
return openBlock(), createBlock(RunData, {
|
|
6405
6394
|
node: currentNode.value,
|
|
@@ -6458,7 +6447,8 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
6458
6447
|
key: 0,
|
|
6459
6448
|
class: normalizeClass(_ctx.$style.noOutputData)
|
|
6460
6449
|
}, [
|
|
6461
|
-
|
|
6450
|
+
isMappingEnabled.value || hasRootNodeRun.value ? (openBlock(), createBlock(unref(N8nText), {
|
|
6451
|
+
key: 0,
|
|
6462
6452
|
tag: "div",
|
|
6463
6453
|
bold: true,
|
|
6464
6454
|
color: "text-dark",
|
|
@@ -6468,9 +6458,43 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
6468
6458
|
createTextVNode(toDisplayString(unref(i18n).baseText("ndv.input.noOutputData.title")), 1)
|
|
6469
6459
|
]),
|
|
6470
6460
|
_: 1
|
|
6471
|
-
}),
|
|
6461
|
+
})) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
6462
|
+
createVNode(unref(N8nText), {
|
|
6463
|
+
tag: "div",
|
|
6464
|
+
bold: true,
|
|
6465
|
+
color: "text-dark",
|
|
6466
|
+
size: "large"
|
|
6467
|
+
}, {
|
|
6468
|
+
default: withCtx(() => [
|
|
6469
|
+
createTextVNode(toDisplayString(unref(i18n).baseText("ndv.input.rootNodeHasNotRun.title")), 1)
|
|
6470
|
+
]),
|
|
6471
|
+
_: 1
|
|
6472
|
+
}),
|
|
6473
|
+
createVNode(unref(N8nText), {
|
|
6474
|
+
tag: "div",
|
|
6475
|
+
color: "text-dark",
|
|
6476
|
+
size: "medium"
|
|
6477
|
+
}, {
|
|
6478
|
+
default: withCtx(() => [
|
|
6479
|
+
createVNode(_component_i18n_t, {
|
|
6480
|
+
tag: "span",
|
|
6481
|
+
keypath: "ndv.input.rootNodeHasNotRun.description"
|
|
6482
|
+
}, {
|
|
6483
|
+
link: withCtx(() => [
|
|
6484
|
+
createBaseVNode("a", {
|
|
6485
|
+
href: "#",
|
|
6486
|
+
"data-test-id": "switch-to-mapping-mode-link",
|
|
6487
|
+
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => onInputModeChange("mapping"), ["prevent"]))
|
|
6488
|
+
}, toDisplayString(unref(i18n).baseText("ndv.input.rootNodeHasNotRun.description.link")), 1)
|
|
6489
|
+
]),
|
|
6490
|
+
_: 1
|
|
6491
|
+
})
|
|
6492
|
+
]),
|
|
6493
|
+
_: 1
|
|
6494
|
+
})
|
|
6495
|
+
], 64)),
|
|
6472
6496
|
!_ctx.readOnly ? (openBlock(), createBlock(unref(N8nTooltip), {
|
|
6473
|
-
key:
|
|
6497
|
+
key: 2,
|
|
6474
6498
|
visible: showDraggableHint.value && showDraggableHintWithDelay.value
|
|
6475
6499
|
}, {
|
|
6476
6500
|
content: withCtx(() => [
|
|
@@ -6490,6 +6514,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
6490
6514
|
transparent: true,
|
|
6491
6515
|
"node-name": (isActiveNodeConfig.value ? rootNode.value : _ctx.currentNodeName) ?? "",
|
|
6492
6516
|
label: unref(i18n).baseText("ndv.input.noOutputData.executePrevious"),
|
|
6517
|
+
class: "mt-m",
|
|
6493
6518
|
"telemetry-source": "inputs",
|
|
6494
6519
|
"data-test-id": "execute-previous-node",
|
|
6495
6520
|
onExecute: onNodeExecute
|
|
@@ -6498,7 +6523,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
6498
6523
|
_: 1
|
|
6499
6524
|
}, 8, ["visible"])) : createCommentVNode("", true),
|
|
6500
6525
|
!_ctx.readOnly ? (openBlock(), createBlock(unref(N8nText), {
|
|
6501
|
-
key:
|
|
6526
|
+
key: 3,
|
|
6502
6527
|
tag: "div",
|
|
6503
6528
|
size: "small"
|
|
6504
6529
|
}, {
|
|
@@ -6544,7 +6569,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
6544
6569
|
color: "text-dark",
|
|
6545
6570
|
size: "large"
|
|
6546
6571
|
}, {
|
|
6547
|
-
default: withCtx(() => _cache[
|
|
6572
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
6548
6573
|
createTextVNode("Waiting for input")
|
|
6549
6574
|
])),
|
|
6550
6575
|
_: 1
|
|
@@ -6595,7 +6620,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
6595
6620
|
name: "before-data",
|
|
6596
6621
|
fn: withCtx(() => [
|
|
6597
6622
|
(openBlock(), createBlock(resolveDynamicComponent("style"), null, {
|
|
6598
|
-
default: withCtx(() => _cache[
|
|
6623
|
+
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
6599
6624
|
createTextVNode("button.linkRun { display: none }")
|
|
6600
6625
|
])),
|
|
6601
6626
|
_: 1
|
|
@@ -6617,13 +6642,13 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
6617
6642
|
};
|
|
6618
6643
|
}
|
|
6619
6644
|
});
|
|
6620
|
-
const mappedNode = "
|
|
6621
|
-
const titleSection = "
|
|
6622
|
-
const inputModeTab = "
|
|
6623
|
-
const noOutputData = "
|
|
6624
|
-
const recoveredOutputData = "
|
|
6625
|
-
const notConnected = "
|
|
6626
|
-
const title = "
|
|
6645
|
+
const mappedNode = "_mappedNode_48j1a_123";
|
|
6646
|
+
const titleSection = "_titleSection_48j1a_127";
|
|
6647
|
+
const inputModeTab = "_inputModeTab_48j1a_136";
|
|
6648
|
+
const noOutputData = "_noOutputData_48j1a_140";
|
|
6649
|
+
const recoveredOutputData = "_recoveredOutputData_48j1a_147";
|
|
6650
|
+
const notConnected = "_notConnected_48j1a_156";
|
|
6651
|
+
const title = "_title_48j1a_127";
|
|
6627
6652
|
const style0$4 = {
|
|
6628
6653
|
mappedNode,
|
|
6629
6654
|
titleSection,
|
|
@@ -9682,13 +9707,13 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
9682
9707
|
}
|
|
9683
9708
|
});
|
|
9684
9709
|
const LazyNodeCreation = defineAsyncComponent(
|
|
9685
|
-
async () => await __vitePreload(() => import("./NodeCreation-
|
|
9710
|
+
async () => await __vitePreload(() => import("./NodeCreation-BfPITu8g.js").then((n) => n.N), true ? __vite__mapDeps([20,1,2,6,7,8,21]) : void 0)
|
|
9686
9711
|
);
|
|
9687
9712
|
const LazyCanvasControls = defineAsyncComponent(
|
|
9688
|
-
async () => await __vitePreload(() => import("./CanvasControls-
|
|
9713
|
+
async () => await __vitePreload(() => import("./CanvasControls-Nhfb4Lvl.js"), true ? __vite__mapDeps([22,1,2,23]) : void 0)
|
|
9689
9714
|
);
|
|
9690
9715
|
const LazySetupWorkflowCredentialsButton = defineAsyncComponent(
|
|
9691
|
-
async () => await __vitePreload(() => import("./SetupWorkflowCredentialsButton-
|
|
9716
|
+
async () => await __vitePreload(() => import("./SetupWorkflowCredentialsButton-Dv3O2B1n.js"), true ? __vite__mapDeps([24,1,2]) : void 0)
|
|
9692
9717
|
);
|
|
9693
9718
|
const _sfc_main$8 = defineComponent({
|
|
9694
9719
|
name: "NodeView",
|
|
@@ -12226,8 +12251,11 @@ const _sfc_main$8 = defineComponent({
|
|
|
12226
12251
|
},
|
|
12227
12252
|
async initView() {
|
|
12228
12253
|
await this.loadCredentialsForWorkflow();
|
|
12229
|
-
if (this.$route.
|
|
12254
|
+
if (this.$route.query.action === "workflowSave") {
|
|
12230
12255
|
this.uiStore.stateIsDirty = false;
|
|
12256
|
+
await this.$router.replace({
|
|
12257
|
+
query: { ...this.$route.query, action: void 0 }
|
|
12258
|
+
});
|
|
12231
12259
|
return;
|
|
12232
12260
|
}
|
|
12233
12261
|
if (this.blankRedirect) {
|
|
@@ -13337,7 +13365,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
13337
13365
|
const cssModules$2 = {
|
|
13338
13366
|
"$style": style2
|
|
13339
13367
|
};
|
|
13340
|
-
const NodeViewV1 = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render], ["__cssModules", cssModules$2], ["__scopeId", "data-v-
|
|
13368
|
+
const NodeViewV1 = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render], ["__cssModules", cssModules$2], ["__scopeId", "data-v-25434fb8"]]);
|
|
13341
13369
|
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
13342
13370
|
__name: "CanvasChatButton",
|
|
13343
13371
|
props: {
|
|
@@ -13370,8 +13398,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
13370
13398
|
showFallbackNodes: { type: Boolean, default: true },
|
|
13371
13399
|
eventBus: { default: () => createEventBus() },
|
|
13372
13400
|
readOnly: { type: Boolean },
|
|
13373
|
-
executing: { type: Boolean }
|
|
13374
|
-
showBugReportingButton: { type: Boolean }
|
|
13401
|
+
executing: { type: Boolean }
|
|
13375
13402
|
},
|
|
13376
13403
|
setup(__props) {
|
|
13377
13404
|
const props = __props;
|
|
@@ -13408,10 +13435,9 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
13408
13435
|
id: _ctx.id,
|
|
13409
13436
|
nodes: unref(mappedNodes),
|
|
13410
13437
|
connections: unref(mappedConnections),
|
|
13411
|
-
"show-bug-reporting-button": _ctx.showBugReportingButton,
|
|
13412
13438
|
"event-bus": _ctx.eventBus,
|
|
13413
13439
|
"read-only": _ctx.readOnly
|
|
13414
|
-
}, _ctx.$attrs), null, 16, ["id", "nodes", "connections", "
|
|
13440
|
+
}, _ctx.$attrs), null, 16, ["id", "nodes", "connections", "event-bus", "read-only"])) : createCommentVNode("", true)
|
|
13415
13441
|
], 2),
|
|
13416
13442
|
renderSlot(_ctx.$slots, "default")
|
|
13417
13443
|
], 2);
|
|
@@ -13534,13 +13560,13 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
13534
13560
|
__name: "NodeView.v2",
|
|
13535
13561
|
setup(__props) {
|
|
13536
13562
|
const LazyNodeCreation2 = defineAsyncComponent(
|
|
13537
|
-
async () => await __vitePreload(() => import("./NodeCreation-
|
|
13563
|
+
async () => await __vitePreload(() => import("./NodeCreation-BfPITu8g.js").then((n) => n.N), true ? __vite__mapDeps([20,1,2,6,7,8,21]) : void 0)
|
|
13538
13564
|
);
|
|
13539
13565
|
const LazyNodeDetailsView = defineAsyncComponent(
|
|
13540
13566
|
async () => await __vitePreload(() => Promise.resolve().then(() => NodeDetailsView), true ? void 0 : void 0)
|
|
13541
13567
|
);
|
|
13542
13568
|
const LazySetupWorkflowCredentialsButton2 = defineAsyncComponent(
|
|
13543
|
-
async () => await __vitePreload(() => import("./SetupWorkflowCredentialsButton-
|
|
13569
|
+
async () => await __vitePreload(() => import("./SetupWorkflowCredentialsButton-Dv3O2B1n.js"), true ? __vite__mapDeps([24,1,2]) : void 0)
|
|
13544
13570
|
);
|
|
13545
13571
|
const $style = useCssModule();
|
|
13546
13572
|
const router = useRouter();
|
|
@@ -13689,8 +13715,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
13689
13715
|
}
|
|
13690
13716
|
}
|
|
13691
13717
|
async function initializeRoute(force = false) {
|
|
13692
|
-
if (route.
|
|
13718
|
+
if (route.query.action === "workflowSave") {
|
|
13693
13719
|
uiStore.stateIsDirty = false;
|
|
13720
|
+
await router.replace({
|
|
13721
|
+
query: { ...route.query, action: void 0 }
|
|
13722
|
+
});
|
|
13694
13723
|
return;
|
|
13695
13724
|
}
|
|
13696
13725
|
const isAlreadyInitialized = !force && initializedWorkflowId.value && [NEW_WORKFLOW_ID, workflowId.value].includes(initializedWorkflowId.value);
|
|
@@ -13712,6 +13741,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
13712
13741
|
} else if (isWorkflowRoute.value) {
|
|
13713
13742
|
if (!isAlreadyInitialized) {
|
|
13714
13743
|
historyStore.reset();
|
|
13744
|
+
if (!isDemoRoute.value) {
|
|
13745
|
+
await loadCredentials();
|
|
13746
|
+
}
|
|
13715
13747
|
if (isNewWorkflowRoute.value || !workflowId.value) {
|
|
13716
13748
|
if (route.meta?.nodeView === true) {
|
|
13717
13749
|
await initializeWorkspaceForNewWorkflow();
|
|
@@ -13719,7 +13751,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
13719
13751
|
return;
|
|
13720
13752
|
}
|
|
13721
13753
|
await initializeWorkspaceForExistingWorkflow(workflowId.value);
|
|
13722
|
-
await loadCredentials();
|
|
13723
13754
|
void nextTick(() => {
|
|
13724
13755
|
nodeHelpers.updateNodesInputIssues();
|
|
13725
13756
|
nodeHelpers.updateNodesCredentialsIssues();
|
|
@@ -13745,9 +13776,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
13745
13776
|
if (workflowData.meta?.onboardingId) {
|
|
13746
13777
|
trackOpenWorkflowFromOnboardingTemplate();
|
|
13747
13778
|
}
|
|
13748
|
-
await projectsStore.setProjectNavActiveIdByWorkflowHomeProject(
|
|
13749
|
-
editableWorkflow.value.homeProject
|
|
13750
|
-
);
|
|
13779
|
+
await projectsStore.setProjectNavActiveIdByWorkflowHomeProject(workflowData.homeProject);
|
|
13751
13780
|
} catch (error) {
|
|
13752
13781
|
toast.showError(error, i18n.baseText("openWorkflow.workflowNotFoundError"));
|
|
13753
13782
|
void router.push({
|
|
@@ -14057,8 +14086,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
14057
14086
|
}
|
|
14058
14087
|
async function loadCredentials() {
|
|
14059
14088
|
let options;
|
|
14060
|
-
if (
|
|
14061
|
-
options = { workflowId:
|
|
14089
|
+
if (workflowId.value) {
|
|
14090
|
+
options = { workflowId: workflowId.value };
|
|
14062
14091
|
} else {
|
|
14063
14092
|
const queryParam = typeof route.query?.projectId === "string" ? route.query?.projectId : void 0;
|
|
14064
14093
|
const projectId = queryParam ?? projectsStore.personalProject?.id;
|
|
@@ -14132,10 +14161,12 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
14132
14161
|
function addImportEventBindings() {
|
|
14133
14162
|
nodeViewEventBus.on("importWorkflowData", onImportWorkflowDataEvent);
|
|
14134
14163
|
nodeViewEventBus.on("importWorkflowUrl", onImportWorkflowUrlEvent);
|
|
14164
|
+
nodeViewEventBus.on("openChat", onOpenChat);
|
|
14135
14165
|
}
|
|
14136
14166
|
function removeImportEventBindings() {
|
|
14137
14167
|
nodeViewEventBus.off("importWorkflowData", onImportWorkflowDataEvent);
|
|
14138
14168
|
nodeViewEventBus.off("importWorkflowUrl", onImportWorkflowUrlEvent);
|
|
14169
|
+
nodeViewEventBus.off("openChat", onOpenChat);
|
|
14139
14170
|
}
|
|
14140
14171
|
async function onAddNodesAndConnections({ nodes, connections: connections2 }, dragAndDrop = false, position) {
|
|
14141
14172
|
if (!checkIfEditingIsAllowed()) {
|
|
@@ -14232,7 +14263,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
14232
14263
|
}
|
|
14233
14264
|
return !containsTriggerNodes.value || allTriggerNodesDisabled.value;
|
|
14234
14265
|
});
|
|
14235
|
-
const isRunWorkflowButtonVisible = computed(
|
|
14266
|
+
const isRunWorkflowButtonVisible = computed(
|
|
14267
|
+
() => !isOnlyChatTriggerNodeActive.value || chatTriggerNodePinnedData.value
|
|
14268
|
+
);
|
|
14236
14269
|
const isStopExecutionButtonVisible = computed(
|
|
14237
14270
|
() => isWorkflowRunning.value && !isExecutionWaitingForWebhook.value
|
|
14238
14271
|
);
|
|
@@ -14678,7 +14711,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
14678
14711
|
"event-bus": unref(canvasEventBus),
|
|
14679
14712
|
"read-only": isCanvasReadOnly.value,
|
|
14680
14713
|
executing: isWorkflowRunning.value,
|
|
14681
|
-
"show-bug-reporting-button": !isDemoRoute.value || !!unref(executionsStore).activeExecution,
|
|
14682
14714
|
"key-bindings": keyBindingsEnabled.value,
|
|
14683
14715
|
"onUpdate:nodes:position": onUpdateNodesPosition,
|
|
14684
14716
|
"onUpdate:node:position": onUpdateNodePosition,
|
|
@@ -14794,7 +14826,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
14794
14826
|
}))
|
|
14795
14827
|
]),
|
|
14796
14828
|
_: 1
|
|
14797
|
-
}, 8, ["id", "workflow", "workflow-object", "fallback-nodes", "show-fallback-nodes", "event-bus", "read-only", "executing", "
|
|
14829
|
+
}, 8, ["id", "workflow", "workflow-object", "fallback-nodes", "show-fallback-nodes", "event-bus", "read-only", "executing", "key-bindings"])) : createCommentVNode("", true);
|
|
14798
14830
|
};
|
|
14799
14831
|
}
|
|
14800
14832
|
});
|
|
@@ -14810,6 +14842,55 @@ const cssModules = {
|
|
|
14810
14842
|
"$style": style0
|
|
14811
14843
|
};
|
|
14812
14844
|
const NodeViewV2 = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__cssModules", cssModules]]);
|
|
14845
|
+
function useNodeViewVersionSwitcher() {
|
|
14846
|
+
const ndvStore = useNDVStore();
|
|
14847
|
+
const workflowsStore = useWorkflowsStore();
|
|
14848
|
+
const telemetry = useTelemetry();
|
|
14849
|
+
const settingsStore = useSettingsStore();
|
|
14850
|
+
const isNewUser = computed(() => workflowsStore.activeWorkflows.length === 0);
|
|
14851
|
+
const defaultVersion = settingsStore.isCanvasV2Enabled ? "2" : "1";
|
|
14852
|
+
const nodeViewVersion = useLocalStorage("NodeView.version", defaultVersion);
|
|
14853
|
+
const nodeViewVersionMigrated = useLocalStorage("NodeView.migrated.release", false);
|
|
14854
|
+
function setNodeViewSwitcherDropdownOpened(visible2) {
|
|
14855
|
+
if (!visible2) {
|
|
14856
|
+
setNodeViewSwitcherDiscovered();
|
|
14857
|
+
}
|
|
14858
|
+
}
|
|
14859
|
+
const nodeViewSwitcherDiscovered = useLocalStorage("NodeView.switcher.discovered.beta", false);
|
|
14860
|
+
function setNodeViewSwitcherDiscovered() {
|
|
14861
|
+
nodeViewSwitcherDiscovered.value = true;
|
|
14862
|
+
}
|
|
14863
|
+
const isNodeViewDiscoveryTooltipVisible = computed(
|
|
14864
|
+
() => !isNewUser.value && !ndvStore.activeNodeName && nodeViewVersion.value === "2" && !nodeViewSwitcherDiscovered.value
|
|
14865
|
+
);
|
|
14866
|
+
function switchNodeViewVersion() {
|
|
14867
|
+
const toVersion = nodeViewVersion.value === "2" ? "1" : "2";
|
|
14868
|
+
if (!nodeViewVersionMigrated.value) {
|
|
14869
|
+
nodeViewVersionMigrated.value = true;
|
|
14870
|
+
}
|
|
14871
|
+
telemetry.track("User switched canvas version", {
|
|
14872
|
+
to_version: toVersion
|
|
14873
|
+
});
|
|
14874
|
+
nodeViewVersion.value = toVersion;
|
|
14875
|
+
}
|
|
14876
|
+
function migrateToNewNodeViewVersion() {
|
|
14877
|
+
if (nodeViewVersionMigrated.value || nodeViewVersion.value === "2") {
|
|
14878
|
+
return;
|
|
14879
|
+
}
|
|
14880
|
+
switchNodeViewVersion();
|
|
14881
|
+
}
|
|
14882
|
+
return {
|
|
14883
|
+
isNewUser,
|
|
14884
|
+
nodeViewVersion,
|
|
14885
|
+
nodeViewVersionMigrated,
|
|
14886
|
+
nodeViewSwitcherDiscovered,
|
|
14887
|
+
isNodeViewDiscoveryTooltipVisible,
|
|
14888
|
+
setNodeViewSwitcherDropdownOpened,
|
|
14889
|
+
setNodeViewSwitcherDiscovered,
|
|
14890
|
+
switchNodeViewVersion,
|
|
14891
|
+
migrateToNewNodeViewVersion
|
|
14892
|
+
};
|
|
14893
|
+
}
|
|
14813
14894
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
14814
14895
|
__name: "NodeViewSwitcher",
|
|
14815
14896
|
setup(__props) {
|