n8n-editor-ui 1.59.2 → 1.60.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.
- package/biome.jsonc +8 -0
- package/dist/assets/@n8n/api-types-l0sNRNKZ.js +1 -0
- package/dist/assets/@vueuse/{core-D3WkjFdw.js → core-BZR8MlRU.js} +1 -1
- package/dist/assets/{AnnotationTagsDropdown-CGVSCCmk.js → AnnotationTagsDropdown-C6L10zAt.js} +2 -2
- package/dist/assets/{AuthView-ChSWYiot.js → AuthView-C4BGHvOD.js} +2 -2
- package/dist/assets/{CanvasControls-SeYJjE3A.js → CanvasControls-DhP5_ZaG.js} +11 -11
- package/dist/assets/{ChangePasswordView-c709Jbqq.js → ChangePasswordView-DAER_rhe.js} +12 -12
- package/dist/assets/{CredentialsView-CMUFz6U9.js → CredentialsView-zPqWzrJZ.js} +14 -14
- package/dist/assets/{ErrorView-3KRBuQ9R.js → ErrorView-C7_LED8T.js} +11 -11
- package/dist/assets/{ExecutionsFilter-B4ras2nO.js → ExecutionsFilter-CaMUarba.js} +3 -3
- package/dist/assets/{ExecutionsView-BrkQsVsK.js → ExecutionsView-D-faxzDF.js} +14 -14
- package/dist/assets/{FixedCollectionParameter-DUHlnJXj.js → FixedCollectionParameter-BOqBR9JK.js} +11 -11
- package/dist/assets/{ForgotMyPasswordView-BrCRcz5J.js → ForgotMyPasswordView-DnB1YoK7.js} +12 -12
- package/dist/assets/{MainHeader-oXTSMZ8q.css → MainHeader-C01NSlgx.css} +9 -9
- package/dist/assets/{MainHeader-prMLn5pF.js → MainHeader-D5QtvVVm.js} +35 -29
- package/dist/assets/{MainSidebar-uq95FVfQ.js → MainSidebar-CVXe55j5.js} +11 -11
- package/dist/assets/{NodeCreation-DtcTNrE3.js → NodeCreation-CM9wiEKu.js} +5 -5
- package/dist/assets/{NodeCreator-BqCeo5Wj.js → NodeCreator-DRzlClIY.js} +92 -78
- package/dist/assets/{NodeViewSwitcher-IsNz-KAm.css → NodeViewSwitcher-9b7PTcw5.css} +116 -116
- package/dist/assets/{NodeViewSwitcher-C216A-JS.js → NodeViewSwitcher-BWkrDbac.js} +602 -591
- package/dist/assets/{ProjectCardBadge-COaKZ_xa.js → ProjectCardBadge-BoGz9diL.js} +1 -1
- package/dist/assets/{ProjectSettings-jDErq8BQ.js → ProjectSettings-B7iqwGnI.js} +11 -11
- package/dist/assets/{ProjectTabs-CvK9jmTS.js → ProjectTabs-Cvrg52Pf.js} +2 -2
- package/dist/assets/{PushConnectionTracker-BtJYntqI.js → PushConnectionTracker-DOnROXP4.js} +7 -7
- package/dist/assets/{ResourcesListLayout-DsTGt2tW.js → ResourcesListLayout-BF42RJP6.js} +2 -2
- package/dist/assets/{RunDataAi-BfMltOja.js → RunDataAi-BBCJLEbr.js} +13 -11
- package/dist/assets/{RunDataJson-DXvaksd9.js → RunDataJson-Cxnl7zBS.js} +14 -14
- package/dist/assets/{RunDataJsonActions-C3Yidc5D.js → RunDataJsonActions-r9WehaXR.js} +12 -12
- package/dist/assets/{RunDataSearch-DUgWL4Pm.js → RunDataSearch-DEZgbY-N.js} +11 -11
- package/dist/assets/{RunDataTable-Cz6yMHTG.js → RunDataTable-D3OOm7ll.js} +11 -11
- package/dist/assets/{SamlOnboarding-CzuAJOC1.js → SamlOnboarding-CkD-eWMm.js} +11 -11
- package/dist/assets/{SettingsApiView-BAUW_1R7.js → SettingsApiView-D3BTk9vw.js} +11 -11
- package/dist/assets/{SettingsCommunityNodesView-9HlgCeYn.js → SettingsCommunityNodesView-q-tCQNcW.js} +13 -13
- package/dist/assets/{SettingsExternalSecrets-XH1MNSOn.js → SettingsExternalSecrets-4GeXTRK_.js} +10 -10
- package/dist/assets/{SettingsFakeDoorView-DVzcOMHY.js → SettingsFakeDoorView-D27PjwUb.js} +11 -11
- package/dist/assets/{SettingsLdapView-ZzViaB4Z.js → SettingsLdapView-D1c597gY.js} +21 -21
- package/dist/assets/{SettingsLogStreamingView-Diyo4HQd.js → SettingsLogStreamingView-CNoL-zt6.js} +33 -36
- package/dist/assets/{SettingsPersonalView-oCk6aTYw.js → SettingsPersonalView-FC1RJZD3.js} +11 -11
- package/dist/assets/{SettingsSourceControl-B6tcwazD.js → SettingsSourceControl-_HOgFrui.js} +12 -12
- package/dist/assets/{SettingsSso-D85-UNdk.js → SettingsSso-C-eicXLy.js} +11 -11
- package/dist/assets/{SettingsUsageAndPlan-BC9oeE0G.js → SettingsUsageAndPlan-PX3ezziV.js} +11 -11
- package/dist/assets/{SettingsUsersView-CBcb6QyG.js → SettingsUsersView-CSHs7EOy.js} +11 -11
- package/dist/assets/{SettingsView-DsnG2TQR.js → SettingsView-B_m4_yr-.js} +12 -12
- package/dist/assets/{SetupView-BMCS6o6X.js → SetupView-B_DKgHYt.js} +12 -12
- package/dist/assets/{SetupWorkflowCredentialsButton-BtSm-QN1.js → SetupWorkflowCredentialsButton-DDUqVzq4.js} +10 -10
- package/dist/assets/{SetupWorkflowFromTemplateView-DWaUAyN-.js → SetupWorkflowFromTemplateView-BOzz1mg-.js} +13 -13
- package/dist/assets/{SigninView-BBMg-FlB.js → SigninView-CBZFW33H.js} +12 -12
- package/dist/assets/{SignoutView-B5q_VAwV.js → SignoutView-CsZY5epQ.js} +10 -10
- package/dist/assets/{SignupView-D87JSHA-.js → SignupView-BMZ58KZV.js} +11 -11
- package/dist/assets/{TemplateDetails-BWxM-1QD.js → TemplateDetails-yCPWrFJ_.js} +2 -2
- package/dist/assets/{TemplateList-i1O36O8J.js → TemplateList-D6SkLaGz.js} +2 -2
- package/dist/assets/{TemplatesCollectionView-CFr1jZpG.js → TemplatesCollectionView-CGWvieer.js} +15 -15
- package/dist/assets/{TemplatesSearchView-BLlGh6Q2.js → TemplatesSearchView-Vf3xXYJ5.js} +20 -18
- package/dist/assets/{TemplatesView-ixESeguE.js → TemplatesView-1ta2NOlv.js} +2 -2
- package/dist/assets/{TemplatesWorkflowView-DPw_JH8h.js → TemplatesWorkflowView-CxnRbF7x.js} +15 -15
- package/dist/assets/{VariablesView-uYF_C6WN.js → VariablesView-DoD7bryP.js} +12 -12
- package/dist/assets/{WorkerView-wSsZTluZ.js → WorkerView-DBAJ7wby.js} +14 -14
- package/dist/assets/{WorkflowActivator-DnMA4cuZ.js → WorkflowActivator-CEAGoTVp.js} +9 -10
- package/dist/assets/{WorkflowActivator-UkpopT-n.css → WorkflowActivator-u3HKoT5w.css} +2 -2
- package/dist/assets/{WorkflowExecutionsInfoAccordion-BO6sU0OX.js → WorkflowExecutionsInfoAccordion-Cm1Tl7oM.js} +2 -2
- package/dist/assets/{WorkflowExecutionsLandingPage-u35PCBvt.js → WorkflowExecutionsLandingPage-DNYtElvS.js} +12 -12
- package/dist/assets/{WorkflowExecutionsPreview-CHtH8YMa.js → WorkflowExecutionsPreview-D6jklpDe.js} +20 -20
- package/dist/assets/{WorkflowExecutionsView-DFbsn-bl.js → WorkflowExecutionsView-Bfiz_05B.js} +15 -15
- package/dist/assets/{WorkflowHistory-58M2A7M2.js → WorkflowHistory-B6J45Y57.js} +13 -13
- package/dist/assets/{WorkflowOnboardingView-DHNilI-w.js → WorkflowOnboardingView-sLbtLj5U.js} +10 -10
- package/dist/assets/{WorkflowPreview-Bam_Vl4x.js → WorkflowPreview-C2PJW2WU.js} +2 -2
- package/dist/assets/{WorkflowsView-DN_3bikT.js → WorkflowsView-B3hH8n6V.js} +16 -16
- package/dist/assets/{cloud-D9QnCJip.js → cloud-D5p2bTjc.js} +10 -10
- package/dist/assets/{dateFormatter-Cs58o2zj.js → dateFormatter-BQycHW-g.js} +1 -1
- package/dist/assets/{dateformat-BLL_cpss.js → dateformat-DYMw-0LU.js} +1 -1
- package/dist/assets/email-providers-NhjWeVZA.js +1 -0
- package/dist/assets/{fast-json-stable-stringify-CEwxd9c9.js → fast-json-stable-stringify-dgHKYgJi.js} +1 -1
- package/dist/assets/{file-saver-Cdf3qUgz.js → file-saver-taM_eo9L.js} +1 -1
- package/dist/assets/highlight.js-NhjWeVZA.js +1 -0
- package/dist/assets/{humanize-duration-5kR1VZQv.js → humanize-duration-DLMU-N1g.js} +1 -1
- package/dist/assets/{index-DFaBhDtA.css → index-CDdd6K0Q.css} +94 -91
- package/dist/assets/{index-Czyv-kIK.js → index-DAAQrhEE.js} +32016 -32029
- package/dist/assets/{jsonpath-ClSJ1DoF.js → jsonpath-B2TgTZLp.js} +1 -1
- package/dist/assets/{lodash-es-kRWQHL5K.js → lodash-es-rVh4nriD.js} +2 -2
- package/dist/assets/{n8n-CIUUFRtk.css → n8n-CZShcbZx.css} +130 -127
- package/dist/assets/{n8n-DxPjFfUq.js → n8n-DS_nZ0wb.js} +15989 -16508
- package/dist/assets/{pushConnection.store-9TsqRNUb.js → pushConnection.store-CGzscDgD.js} +1 -1
- package/dist/assets/{templateActions-xWesfdoK.js → templateActions-CR50SItO.js} +1 -1
- package/dist/assets/{useBeforeUnload-cm-Z2fia.js → useBeforeUnload-BtEtqBA0.js} +1 -1
- package/dist/assets/{useExecutionDebugging-B3mVFTiX.js → useExecutionDebugging-DdfabEne.js} +1 -1
- package/dist/assets/{usePushConnection-Dx06SKOA.js → usePushConnection-Bs4EtQYE.js} +3 -3
- package/dist/assets/{useUserHelpers-pHalo_yl.js → useUserHelpers-5Z9lMhqT.js} +1 -1
- package/dist/assets/{useWorkflowActivate-BWFIeGYB.js → useWorkflowActivate-BvN97i1i.js} +1 -1
- package/dist/assets/{vue-agile-Ck7XQRxH.js → vue-agile-Dr5uE4S4.js} +2 -2
- package/dist/assets/{vue-json-pretty-pypqKTLw.js → vue-json-pretty-DbJSbzQx.js} +1 -1
- package/dist/assets/xss-NhjWeVZA.js +1 -0
- package/dist/index.html +12 -12
- package/package.json +1 -1
- package/vite.config.mts +4 -4
- package/dist/assets/email-providers-CpQjcvcU.js +0 -1
- package/dist/assets/highlight.js-CpQjcvcU.js +0 -1
- package/dist/assets/xss-CpQjcvcU.js +0 -1
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
const __vite__fileDeps=["assets/RunDataTable-
|
|
2
|
-
import { a as ref, f as computed, b as watch, I as defineComponent, u as unref, J as openBlock, V as createBlock, L as createBaseVNode, a8 as createVNode, a3 as withCtx, _ as normalizeClass, $ as normalizeStyle, Y as Teleport, U as createCommentVNode, an as resolveComponent, K as createElementBlock, a6 as createTextVNode, a7 as toDisplayString, ag as withKeys, ac as withModifiers, n as nextTick, aM as useRouter, R as Fragment, af as renderList, aB as pushScopeId, aC as popScopeId, X as h, h as reactive, s as shallowRef, k as getCurrentInstance, q as onMounted, w as watchEffect, t as toRefs, a0 as mergeProps, m as onBeforeUnmount, a4 as withDirectives, a9 as vShow, a1 as useSlots, Z as renderSlot, j as toRef$1, aP as defineAsyncComponent, aR as Suspense, ah as createSlots, aW as createStaticVNode, a5 as resolveDynamicComponent, a2 as Transition,
|
|
3
|
-
import { o as onClickOutside$1, t as toValue, i as isClient, n as noop, f as isObject, g as tryOnScopeDispose, h as isIOS, j as directiveHooks, k as useActiveElement, l as useBattery, m as useBrowserLocation, b as useClipboard$1, p as watchPausable, q as tryOnMounted, r as toRef, s as useDark, v as useToggle, x as useDeviceMotion, y as useDeviceOrientation, z as useDevicePixelRatio, A as useDevicesList, d as useDocumentVisibility, a as useStorage$1, B as useDraggable, C as useElementBounding, D as useElementSize$1, E as useElementVisibility$1, F as notNullish, G as useEyeDropper, H as useFullscreen, I as useGeolocation, J as useIdle, K as promiseTimeout, L as until, M as useDebounceFn, N as useThrottleFn, O as useMouse, P as useMouseInElement, Q as useMousePressed, R as useNetwork, S as useNow, T as useObjectUrl, U as useOffsetPagination, V as useOnline, W as usePageLeave, X as usePointer, Y as usePointerLock, Z as usePreferredColorScheme, _ as usePreferredContrast, $ as usePreferredDark$1, a0 as usePreferredLanguages, a1 as usePreferredReducedMotion, a2 as useTimeAgo, a3 as useTimestamp, a4 as useVirtualList, a5 as useWindowFocus, a6 as useWindowSize, a7 as useEventListener$1, a8 as onKeyDown, a9 as onKeyUp, e as useLocalStorage } from "./@vueuse/core-
|
|
4
|
-
import { e as useUIStore,
|
|
5
|
-
import {
|
|
6
|
-
import { g as get, s as set, C as unset, e as isEqual, A as isObject$1, x as sortBy, D as camelCase, E as difference } from "./lodash-es-
|
|
1
|
+
const __vite__fileDeps=["assets/RunDataTable-D3OOm7ll.js","assets/index-DAAQrhEE.js","assets/vendor-DCtS1fjk.js","assets/n8n-DS_nZ0wb.js","assets/esprima-next-DUEu30kB.js","assets/axios-B4zXCSve.js","assets/luxon-Bt_g4NOb.js","assets/lodash-es-rVh4nriD.js","assets/uuid-BoySKAeK.js","assets/@vueuse/core-BZR8MlRU.js","assets/n8n-CZShcbZx.css","assets/flatted-D70IerrI.js","assets/pinia-C4PgcsWV.js","assets/bowser-C3wWO1p5.js","assets/@n8n/permissions-BxSXRD9U.js","assets/dateformat-DYMw-0LU.js","assets/vue-i18n-DBLN2Rh9.js","assets/@jsplumb/util-BwtpiQ4c.js","assets/@jsplumb/core-B__RSZHf.js","assets/@jsplumb/common-s1StEx7B.js","assets/@jsplumb/connector-bezier-D659hq4c.js","assets/@jsplumb/browser-ui-BphmFVJY.js","assets/@n8n/codemirror-lang-CIGGB1t0.js","assets/@lezer/common-CnY9etib.js","assets/@n8n/codemirror-lang-sql-C41WNa63.js","assets/prettier-_aQB57xD.js","assets/codemirror-lang-html-n8n-CXTCIWzP.js","assets/fast-json-stable-stringify-dgHKYgJi.js","assets/timeago.js-CgQus8nl.js","assets/qrcode.vue-EmD3D6Vb.js","assets/vue3-touch-events-DVOgU3fI.js","assets/chart.js-DiBOFLDH.js","assets/index-CDdd6K0Q.css","assets/RunDataTable-ZwoYenSI.css","assets/RunDataJson-Cxnl7zBS.js","assets/vue-json-pretty-DbJSbzQx.js","assets/RunDataJson-DGge2zsB.css","assets/RunDataSearch-DEZgbY-N.js","assets/RunDataSearch-BA0wlJtp.css","assets/NodeCreation-CM9wiEKu.js","assets/NodeCreation-DaYUHVNB.css","assets/CanvasControls-DhP5_ZaG.js","assets/CanvasControls-Gjw5xMXK.css","assets/SetupWorkflowCredentialsButton-DDUqVzq4.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
|
|
2
|
+
import { a as ref, f as computed, b as watch, I as defineComponent, u as unref, J as openBlock, V as createBlock, L as createBaseVNode, a8 as createVNode, a3 as withCtx, _ as normalizeClass, $ as normalizeStyle, Y as Teleport, U as createCommentVNode, an as resolveComponent, K as createElementBlock, a6 as createTextVNode, a7 as toDisplayString, ag as withKeys, ac as withModifiers, n as nextTick, aM as useRouter, R as Fragment, af as renderList, aB as pushScopeId, aC as popScopeId, X as h, h as reactive, s as shallowRef, k as getCurrentInstance, q as onMounted, w as watchEffect, t as toRefs, a0 as mergeProps, m as onBeforeUnmount, a4 as withDirectives, a9 as vShow, a1 as useSlots, Z as renderSlot, j as toRef$1, aP as defineAsyncComponent, au as resolveDirective, aR as Suspense, ah as createSlots, aW as createStaticVNode, a5 as resolveDynamicComponent, a2 as Transition, x as onUnmounted, aE as useRoute, aA as useCssModule, i as inject, p as provide, aG as toValue$1, aj as normalizeProps, ar as guardReactiveProps, l as onBeforeMount, aX as onActivated, ae as onDeactivated, aY as onBeforeRouteLeave } from "./vendor-DCtS1fjk.js";
|
|
3
|
+
import { o as onClickOutside$1, t as toValue, i as isClient, n as noop, f as isObject, g as tryOnScopeDispose, h as isIOS, j as directiveHooks, k as useActiveElement, l as useBattery, m as useBrowserLocation, b as useClipboard$1, p as watchPausable, q as tryOnMounted, r as toRef, s as useDark, v as useToggle, x as useDeviceMotion, y as useDeviceOrientation, z as useDevicePixelRatio, A as useDevicesList, d as useDocumentVisibility, a as useStorage$1, B as useDraggable, C as useElementBounding, D as useElementSize$1, E as useElementVisibility$1, F as notNullish, G as useEyeDropper, H as useFullscreen, I as useGeolocation, J as useIdle, K as promiseTimeout, L as until, M as useDebounceFn, N as useThrottleFn, O as useMouse, P as useMouseInElement, Q as useMousePressed, R as useNetwork, S as useNow, T as useObjectUrl, U as useOffsetPagination, V as useOnline, W as usePageLeave, X as usePointer, Y as usePointerLock, Z as usePreferredColorScheme, _ as usePreferredContrast, $ as usePreferredDark$1, a0 as usePreferredLanguages, a1 as usePreferredReducedMotion, a2 as useTimeAgo, a3 as useTimestamp, a4 as useVirtualList, a5 as useWindowFocus, a6 as useWindowSize, a7 as useEventListener$1, a8 as onKeyDown, a9 as onKeyUp, e as useLocalStorage } from "./@vueuse/core-BZR8MlRU.js";
|
|
4
|
+
import { e as useUIStore, a4 as useNodeTypesStore, k as useWorkflowsStore, n as useSourceControlStore, j as useI18n, r as getResourcePermissions, a5 as isPresent, a6 as NOT_DUPLICATABLE_NODE_TYPES, a7 as getMousePosition, O as STICKY_NODE_TYPE, a8 as usePinnedData, a9 as _sfc_main$X, L as useNDVStore, aa as isCommunityPackageName, ab as NPM_PACKAGE_DOCS_BASE_URL, ac as BUILTIN_NODES_DOCS_URL, ad as COMMUNITY_NODES_INSTALLATION_DOCS_URL, a1 as useExternalHooks, x as useTelemetry, ae as useClipboard, q as useWorkflowHelpers, u as useToast, af as OPEN_URL_PANEL_TRIGGER_NODE_TYPES, ag as PRODUCTION_ONLY_TRIGGER_NODE_TYPES, ah as FORM_TRIGGER_NODE_TYPE, ai as CHAT_TRIGGER_NODE_TYPE, aj as useNodeHelpers, d as useDebounce, ak as TitledList, al as useRunWorkflow, am as MANUAL_TRIGGER_NODE_TYPE, an as WEBHOOK_NODE_TYPE, y as useMessage, C as nodeViewEventBus, D as MODAL_CONFIRM, ao as useCredentialsStore, ap as useHistoryStore, aq as importCurlEventBus, ar as ndvEventBus, as as CUSTOM_NODES_DOCS_URL, at as NodeCredentials, au as _sfc_main$Y, av as SHOULD_CLEAR_NODE_OUTPUTS, aw as RenameNodeCommand, ax as __unplugin_components_2$2, Z as useStorage$2, ay as LOCAL_STORAGE_MAIN_PANEL_RELATIVE_WIDTH, az as MAIN_NODE_PANEL_WIDTH, aA as __unplugin_components_2$3, aB as useNodeType, aC as MAX_DISPLAY_DATA_SIZE, aD as MAX_DISPLAY_DATA_SIZE_SCHEMA_VIEW, aE as MAX_DISPLAY_ITEMS_AUTO_ALL, l as useRootStore, aF as DATA_PINNING_DOCS_URL, aG as DATA_EDITING_DOCS_URL, aH as HTML_NODE_TYPE, aI as executionDataToJson, aJ as NODE_TYPES_EXCLUDED_FROM_OUTPUT_NAME_APPEND, aK as isEmpty, aL as getGenericHints, aM as LOCAL_STORAGE_PIN_DATA_DISCOVERY_NDV_FLAG, aN as dataPinningEventBus, aO as LOCAL_STORAGE_PIN_DATA_DISCOVERY_CANVAS_FLAG, aP as clearJsonKey, aQ as searchInObject, aR as TEST_PIN_DATA, aS as START_NODE_TYPE, aT as CRON_NODE_TYPE, aU as INTERVAL_NODE_TYPE, aV as CopyInput, aW as isTriggerPanelObject, aX as getTriggerNodeServiceName, V as VIEWS, G as WORKFLOW_SETTINGS_MODAL_KEY, b as useSettingsStore, aY as EXECUTABLE_TRIGGER_NODE_TYPES, aZ as BASE_NODE_SURVEY_URL, E as EnterpriseEditionFeature, a_ as APP_MODALS_ELEMENT_ID, a$ as NODE_CONNECTION_TYPE_ALLOW_MULTIPLE, b0 as getAnchorPosition, b1 as isValidNodeConnectionType, b2 as getEndpointScope, b3 as getInputEndpointUUID, b4 as getInputEndpointStyle, b5 as getScope, b6 as getInputNameOverlay, b7 as NODE_INSERT_SPACER_BETWEEN_INPUT_GROUPS, b8 as NODE_MIN_INPUT_ITEMS_COUNT, b9 as getOutputEndpointUUID, ba as getOutputEndpointStyle, bb as getOutputNameOverlay, bc as NO_OP_NODE_TYPE, bd as GRID_SIZE, m as useCanvasStore, be as isString, bf as isNumber, bg as assert, bh as QUICKSTART_NOTE_NAME, bi as WAIT_TIME_UNLIMITED, bj as SIMULATE_NODE_TYPE, bk as SIMULATE_TRIGGER_NODE_TYPE, bl as CUSTOM_API_CALL_KEY, bm as globalLinkActionsEventBus, bn as getRelativePosition, bo as CORE_NODES_CATEGORY, bp as DEFAULT_SUBCATEGORY, bq as AI_SUBCATEGORY, br as usePostHog, bs as AI_TRANSFORM_NODE_TYPE, bt as AI_CATEGORY_AGENTS, bu as i18n, $ as useTemplatesStore, bv as AI_CATEGORY_CHAINS, bw as AI_NODE_CREATOR_VIEW, bx as AI_OTHERS_NODE_CREATOR_VIEW, by as AI_CATEGORY_DOCUMENT_LOADERS, bz as AI_CATEGORY_LANGUAGE_MODELS, bA as AI_CATEGORY_MEMORY, bB as AI_CATEGORY_OUTPUTPARSER, bC as AI_CATEGORY_RETRIEVERS, bD as AI_CATEGORY_TEXT_SPLITTERS, bE as AI_CATEGORY_TOOLS, bF as AI_WORKFLOW_TOOL_LANGCHAIN_NODE_TYPE, bG as AI_CODE_TOOL_LANGCHAIN_NODE_TYPE, bH as AI_CATEGORY_EMBEDDING, bI as AI_CATEGORY_VECTOR_STORES, bJ as AI_UNCATEGORIZED_CATEGORY, bK as TRIGGER_NODE_CREATOR_VIEW, bL as EMAIL_IMAP_NODE_TYPE, bM as SCHEDULE_TRIGGER_NODE_TYPE, bN as EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE, bO as MANUAL_CHAT_TRIGGER_NODE_TYPE, bP as OTHER_TRIGGER_NODES_SUBCATEGORY, bQ as SET_NODE_TYPE, bR as CODE_NODE_TYPE, bS as DATETIME_NODE_TYPE, bT as REGULAR_NODE_CREATOR_VIEW, bU as RSS_READ_NODE_TYPE, bV as EMAIL_SEND_NODE_TYPE, bW as TRANSFORM_DATA_SUBCATEGORY, bX as FILTER_NODE_TYPE, bY as REMOVE_DUPLICATES_NODE_TYPE, bZ as SPLIT_OUT_NODE_TYPE, b_ as LIMIT_NODE_TYPE, b$ as SUMMARIZE_NODE_TYPE, c0 as AGGREGATE_NODE_TYPE, c1 as MERGE_NODE_TYPE, c2 as MARKDOWN_NODE_TYPE, c3 as XML_NODE_TYPE, c4 as CRYPTO_NODE_TYPE, c5 as EXTRACT_FROM_FILE_NODE_TYPE, c6 as CONVERT_TO_FILE_NODE_TYPE, c7 as COMPRESSION_NODE_TYPE, c8 as EDIT_IMAGE_NODE_TYPE, c9 as FLOWS_CONTROL_SUBCATEGORY, ca as IF_NODE_TYPE, cb as SPLIT_IN_BATCHES_NODE_TYPE, cc as HELPERS_SUBCATEGORY, cd as HTTP_REQUEST_NODE_TYPE, ce as AI_CATEGORY_ROOT_NODES, cf as AI_CODE_NODE_TYPE, cg as CanvasConnectionMode, ch as isValidCanvasConnectionMode, S as STORES, ci as NODE_CREATOR_OPEN_SOURCES, cj as isVueFlowConnection, ck as MOUSE_EVENT_BUTTON, cl as MOUSE_EVENT_BUTTONS, cm as KeyboardShortcutTooltip, z as useTitleChange, p as useNpsSurveyStore, o as useProjectsStore, N as useExecutionsStore, cn as useExternalSecretsStore, co as useWorkflowsEEStore, cp as useEnvironmentsStore, a as useUsersStore, c as useTagsStore, cq as getBackgroundStyles, K as MAIN_HEADER_TABS, R as sourceControlEventBus, cr as historyBus, P as PLACEHOLDER_EMPTY_WORKFLOW_ID, cs as WORKFLOW_LM_CHAT_MODAL_KEY, ct as N8nAddInputEndpointType, cu as getFixedNodesList, cv as tryToParseNumber, cw as MoveNodeCommand, I as VALID_WORKFLOW_IMPORT_URL_REGEX, cx as UPDATE_WEBHOOK_ID_NODE_TYPES, cy as getNewNodePosition, cz as DRAG_EVENT_DATA_KEY, cA as MAX_X_TO_PUSH_DOWNSTREAM_NODES, cB as PUSH_NODES_OFFSET, cC as NODE_SIZE, cD as resetConnectionAfterPull, cE as resetConnection, cF as moveBackInputLabelPosition, cG as hideOutputNameLabel, cH as addConnectionActionsOverlay, cI as getOverlay, cJ as OVERLAY_ENDPOINT_ARROW_ID, cK as getConnectorPaintStyleData, cL as AddConnectionCommand, cM as addConnectionTestData, cN as showOrHideItemsLabel, cO as showOrHideMidpointArrow, cP as isJSPlumbConnection, cQ as hideConnectionActions, cR as showConnectionActions, cS as resetInputLabelPosition, cT as getConnectionInfo, cU as showOutputNameLabel, cV as RemoveConnectionCommand, cW as isJSPlumbEndpointElement, cX as EVENT_PLUS_ENDPOINT_CLICK, cY as EVENT_ADD_INPUT_ENDPOINT_CLICK, cZ as N8nPlusEndpointType, c_ as CANVAS_AUTO_ADD_MANUAL_TRIGGER_EXPERIMENT, c$ as MODAL_CANCEL, d0 as addClassesToOverlays, d1 as OVERLAY_RUN_ITEMS_ID, d2 as getJSPlumbEndpoints, d3 as RemoveNodeCommand, d4 as useDataSchema, d5 as getNodeViewTab, d6 as getConnectorLengths, d7 as isElementIntersection, d8 as calculateElementIntersection, d9 as showDropConnectionState, da as showPullConnectionState, db as CanvasNodeKey, dc as CanvasNodeRenderType, dd as CanvasNodeHandleKey, de as CanvasKey, df as sanitizeHtml$1, dg as AddNodeCommand, dh as DEFAULT_NODE_SIZE, di as CONFIGURATION_NODE_SIZE, dj as CONFIGURABLE_NODE_SIZE, dk as NEW_WORKFLOW_ID } from "./index-DAAQrhEE.js";
|
|
5
|
+
import { az as N8nActionDropdown, _ as _export_sfc, N as NodeConnectionType, a as isVue2, aA as nodeIssuesToString, C as getNodeInputs, H as getConnectionTypes, aB as isSingleExecution, t as deepCopy, aC as isINodePropertyCollectionList, aD as isINodePropertiesList, aE as isINodePropertyOptionsList, ar as displayParameter, v as getNodeParameters, aF as sanitizeHtml, aG as sanitizeHtml_1, j as jsonParse, G as getNodeOutputs, aH as getNodeHints, k as __vitePreload, f as createEventBus, au as useDeviceSupport, x as xss, ay as FontAwesomeIcon, aj as _sfc_main$_, aI as AI_TRANSFORM_NODE_TYPE$1, n as nodeConnectionTypes, aJ as generateNodesGraph, a8 as isSubNodeType, X as N8nTooltip } from "./n8n-DS_nZ0wb.js";
|
|
6
|
+
import { g as get, s as set, C as unset, e as isEqual, A as isObject$1, x as sortBy, D as camelCase, E as difference } from "./lodash-es-rVh4nriD.js";
|
|
7
|
+
import { _ as _sfc_main$Z, R as RunDataAi } from "./RunDataAi-BBCJLEbr.js";
|
|
8
|
+
import { V as VueJsonPretty } from "./vue-json-pretty-DbJSbzQx.js";
|
|
7
9
|
import { m as mapStores, s as storeToRefs, d as defineStore } from "./pinia-C4PgcsWV.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { c as convertToDisplayDateComponents } from "./dateFormatter-Cs58o2zj.js";
|
|
12
|
-
import { u as useWorkflowActivate } from "./useWorkflowActivate-BWFIeGYB.js";
|
|
10
|
+
import { F as FileSaver_minExports } from "./file-saver-taM_eo9L.js";
|
|
11
|
+
import { c as convertToDisplayDateComponents } from "./dateFormatter-BQycHW-g.js";
|
|
12
|
+
import { u as useWorkflowActivate } from "./useWorkflowActivate-BvN97i1i.js";
|
|
13
13
|
import { _ as INTERCEPT_BEFORE_DROP, $ as EVENT_CONNECTION, a0 as EVENT_CONNECTION_MOVED, a1 as EVENT_CONNECTION_DETACHED } from "./@jsplumb/core-B__RSZHf.js";
|
|
14
|
-
import { u as useExecutionDebugging } from "./useExecutionDebugging-
|
|
14
|
+
import { u as useExecutionDebugging } from "./useExecutionDebugging-DdfabEne.js";
|
|
15
15
|
import { v as v4 } from "./uuid-BoySKAeK.js";
|
|
16
|
-
import { u as usePushConnectionStore } from "./pushConnection.store-
|
|
16
|
+
import { u as usePushConnectionStore } from "./pushConnection.store-CGzscDgD.js";
|
|
17
17
|
import { g as ready$1, f as EVENT_CONNECTION_ABORT, h as EVENT_DRAG_MOVE, a as EVENT_CONNECTION_MOUSEOVER, E as EVENT_CONNECTION_MOUSEOUT, b as EVENT_ENDPOINT_MOUSEOVER, d as EVENT_ENDPOINT_MOUSEOUT, i as EVENT_CONNECTION_DRAG } from "./@jsplumb/browser-ui-BphmFVJY.js";
|
|
18
|
-
import { u as useBeforeUnload } from "./useBeforeUnload-
|
|
19
|
-
import { _ as _sfc_main
|
|
20
|
-
import { e as getBezierPath, f as getSmoothStepPath, h as Position, i as _sfc_main$d$1, j as _sfc_main$f$1, k as _sfc_main$3$1, P as PanelPosition,
|
|
21
|
-
import { _ as _sfc_main$
|
|
22
|
-
import { _ as _sfc_main$
|
|
23
|
-
import { _ as _sfc_main
|
|
18
|
+
import { u as useBeforeUnload } from "./useBeforeUnload-BtEtqBA0.js";
|
|
19
|
+
import { _ as _sfc_main$$ } from "./@vue-flow/controls-3RHEV3L7.js";
|
|
20
|
+
import { e as getBezierPath, f as getSmoothStepPath, h as Position, i as _sfc_main$d$1, j as _sfc_main$f$1, u as useVueFlow, k as _sfc_main$3$1, P as PanelPosition, M as MarkerType, l as _sfc_main$1$1 } from "./@vue-flow/core-CM-Aqnx_.js";
|
|
21
|
+
import { _ as _sfc_main$11 } from "./@vue-flow/background-BBsDO5na.js";
|
|
22
|
+
import { _ as _sfc_main$12 } from "./@vue-flow/minimap-CbqX0yYi.js";
|
|
23
|
+
import { _ as _sfc_main$10 } from "./@vue-flow/node-resizer-CV5M1itj.js";
|
|
24
24
|
const position = ref([0, 0]);
|
|
25
25
|
const isOpen = ref(false);
|
|
26
26
|
const target = ref();
|
|
@@ -210,7 +210,7 @@ const useContextMenu = (onAction = () => {
|
|
|
210
210
|
_dispatchAction
|
|
211
211
|
};
|
|
212
212
|
};
|
|
213
|
-
const _sfc_main$
|
|
213
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
214
214
|
__name: "ContextMenu",
|
|
215
215
|
emits: ["action"],
|
|
216
216
|
setup(__props, { emit: __emit }) {
|
|
@@ -294,8 +294,8 @@ const style0$A = {
|
|
|
294
294
|
const cssModules$C = {
|
|
295
295
|
"$style": style0$A
|
|
296
296
|
};
|
|
297
|
-
const ContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
298
|
-
const _sfc_main$
|
|
297
|
+
const ContextMenu = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["__cssModules", cssModules$C]]);
|
|
298
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
299
299
|
__name: "NodeTitle",
|
|
300
300
|
props: {
|
|
301
301
|
modelValue: { default: "" },
|
|
@@ -338,7 +338,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
|
338
338
|
createBaseVNode("span", {
|
|
339
339
|
class: normalizeClass(_ctx.$style.iconWrapper)
|
|
340
340
|
}, [
|
|
341
|
-
createVNode(_sfc_main$
|
|
341
|
+
createVNode(_sfc_main$X, {
|
|
342
342
|
"node-type": _ctx.nodeType,
|
|
343
343
|
size: 18
|
|
344
344
|
}, null, 8, ["node-type"])
|
|
@@ -438,8 +438,8 @@ const style0$z = {
|
|
|
438
438
|
const cssModules$B = {
|
|
439
439
|
"$style": style0$z
|
|
440
440
|
};
|
|
441
|
-
const NodeTitle = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
442
|
-
const _sfc_main$
|
|
441
|
+
const NodeTitle = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["__cssModules", cssModules$B]]);
|
|
442
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
443
443
|
__name: "NodeSettingsTabs",
|
|
444
444
|
props: {
|
|
445
445
|
modelValue: { default: "params" },
|
|
@@ -570,8 +570,8 @@ const _hoisted_1$p = {
|
|
|
570
570
|
key: 0,
|
|
571
571
|
class: "webhooks"
|
|
572
572
|
};
|
|
573
|
-
const _hoisted_2$
|
|
574
|
-
const _hoisted_3$
|
|
573
|
+
const _hoisted_2$j = ["title"];
|
|
574
|
+
const _hoisted_3$c = {
|
|
575
575
|
key: 0,
|
|
576
576
|
class: "node-webhooks"
|
|
577
577
|
};
|
|
@@ -587,7 +587,7 @@ const _hoisted_6$7 = { class: "http-field" };
|
|
|
587
587
|
const _hoisted_7$5 = { class: "http-method" };
|
|
588
588
|
const _hoisted_8$5 = /* @__PURE__ */ _withScopeId$6(() => /* @__PURE__ */ createBaseVNode("br", null, null, -1));
|
|
589
589
|
const _hoisted_9$4 = { class: "url-field" };
|
|
590
|
-
const _hoisted_10$
|
|
590
|
+
const _hoisted_10$2 = ["onClick"];
|
|
591
591
|
const _hoisted_11$2 = /* @__PURE__ */ _withScopeId$6(() => /* @__PURE__ */ createBaseVNode("br", null, null, -1));
|
|
592
592
|
const _hoisted_12$1 = {
|
|
593
593
|
key: 1,
|
|
@@ -596,7 +596,7 @@ const _hoisted_12$1 = {
|
|
|
596
596
|
const _hoisted_13$1 = { class: "url-field-full-width" };
|
|
597
597
|
const _hoisted_14$1 = ["onClick"];
|
|
598
598
|
const _hoisted_15$1 = /* @__PURE__ */ _withScopeId$6(() => /* @__PURE__ */ createBaseVNode("br", null, null, -1));
|
|
599
|
-
const _sfc_main$
|
|
599
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
600
600
|
__name: "NodeWebhooks",
|
|
601
601
|
props: {
|
|
602
602
|
node: {},
|
|
@@ -747,10 +747,10 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
747
747
|
class: "minimize-button minimize-icon"
|
|
748
748
|
}),
|
|
749
749
|
createTextVNode(" " + toDisplayString(baseText.value.toggleTitle), 1)
|
|
750
|
-
], 10, _hoisted_2$
|
|
750
|
+
], 10, _hoisted_2$j),
|
|
751
751
|
createVNode(_component_el_collapse_transition, null, {
|
|
752
752
|
default: withCtx(() => [
|
|
753
|
-
!isMinimized.value ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
753
|
+
!isMinimized.value ? (openBlock(), createElementBlock("div", _hoisted_3$c, [
|
|
754
754
|
!isProductionOnly.value ? (openBlock(), createElementBlock("div", _hoisted_4$7, [
|
|
755
755
|
createVNode(_component_el_row, null, {
|
|
756
756
|
default: withCtx(() => [
|
|
@@ -790,7 +790,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
790
790
|
}, [
|
|
791
791
|
createTextVNode(toDisplayString(getWebhookUrlDisplay(webhook)), 1),
|
|
792
792
|
_hoisted_11$2
|
|
793
|
-
], 8, _hoisted_10$
|
|
793
|
+
], 8, _hoisted_10$2)
|
|
794
794
|
])
|
|
795
795
|
])) : (openBlock(), createElementBlock("div", _hoisted_12$1, [
|
|
796
796
|
createBaseVNode("div", _hoisted_13$1, [
|
|
@@ -815,7 +815,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
815
815
|
};
|
|
816
816
|
}
|
|
817
817
|
});
|
|
818
|
-
const NodeWebhooks = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
818
|
+
const NodeWebhooks = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__scopeId", "data-v-b6179980"]]);
|
|
819
819
|
const OnClickOutside = /* @__PURE__ */ defineComponent({
|
|
820
820
|
name: "OnClickOutside",
|
|
821
821
|
props: ["as", "options"],
|
|
@@ -2847,12 +2847,12 @@ const UseWindowSize = /* @__PURE__ */ defineComponent({
|
|
|
2847
2847
|
}
|
|
2848
2848
|
});
|
|
2849
2849
|
const _hoisted_1$o = ["data-test-id"];
|
|
2850
|
-
const _hoisted_2$
|
|
2851
|
-
const _hoisted_3$
|
|
2850
|
+
const _hoisted_2$i = ["textContent"];
|
|
2851
|
+
const _hoisted_3$b = ["onClick"];
|
|
2852
2852
|
const _hoisted_4$6 = ["onClick"];
|
|
2853
2853
|
const _hoisted_5$7 = ["data-node-name"];
|
|
2854
2854
|
const _hoisted_6$6 = ["onClick"];
|
|
2855
|
-
const _sfc_main$
|
|
2855
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
2856
2856
|
__name: "NDVSubConnections",
|
|
2857
2857
|
props: {
|
|
2858
2858
|
rootNode: {}
|
|
@@ -3005,7 +3005,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
3005
3005
|
[_ctx.$style.hasIssues]: hasInputIssues(connection.type)
|
|
3006
3006
|
}),
|
|
3007
3007
|
textContent: toDisplayString(`${connection.displayName}${connection.required ? " *" : ""}`)
|
|
3008
|
-
}, null, 10, _hoisted_2$
|
|
3008
|
+
}, null, 10, _hoisted_2$i),
|
|
3009
3009
|
createVNode(unref(OnClickOutside), {
|
|
3010
3010
|
onTrigger: ($event) => expandConnectionGroup(connection.type, false)
|
|
3011
3011
|
}, {
|
|
@@ -3090,7 +3090,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
3090
3090
|
class: normalizeClass(_ctx.$style.connectedNode),
|
|
3091
3091
|
onClick: ($event) => onNodeClick(node2.node.name, connection.type)
|
|
3092
3092
|
}, [
|
|
3093
|
-
createVNode(_sfc_main$
|
|
3093
|
+
createVNode(_sfc_main$X, {
|
|
3094
3094
|
"node-type": node2.nodeType,
|
|
3095
3095
|
"node-name": node2.node.name,
|
|
3096
3096
|
"tooltip-position": "top",
|
|
@@ -3104,7 +3104,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
3104
3104
|
], 14, _hoisted_5$7);
|
|
3105
3105
|
}), 128))
|
|
3106
3106
|
], 2)) : createCommentVNode("", true)
|
|
3107
|
-
], 14, _hoisted_3$
|
|
3107
|
+
], 14, _hoisted_3$b)
|
|
3108
3108
|
]),
|
|
3109
3109
|
_: 2
|
|
3110
3110
|
}, 1032, ["onTrigger"])
|
|
@@ -3146,279 +3146,243 @@ const style0$y = {
|
|
|
3146
3146
|
const cssModules$A = {
|
|
3147
3147
|
"$style": style0$y
|
|
3148
3148
|
};
|
|
3149
|
-
const NDVSubConnections = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3149
|
+
const NDVSubConnections = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__cssModules", cssModules$A]]);
|
|
3150
3150
|
const NODE_TEST_STEP_POPUP_COUNT_KEY = "N8N_NODE_TEST_STEP_POPUP_COUNT";
|
|
3151
3151
|
const MAX_POPUP_COUNT = 10;
|
|
3152
3152
|
const POPUP_UPDATE_DELAY = 3e3;
|
|
3153
|
-
const _sfc_main$
|
|
3154
|
-
|
|
3153
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
3154
|
+
...{
|
|
3155
|
+
inheritAttrs: false
|
|
3156
|
+
},
|
|
3157
|
+
__name: "NodeExecuteButton",
|
|
3155
3158
|
props: {
|
|
3156
|
-
nodeName: {
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
},
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
},
|
|
3164
|
-
|
|
3165
|
-
type: String
|
|
3166
|
-
},
|
|
3167
|
-
type: {
|
|
3168
|
-
type: String
|
|
3169
|
-
},
|
|
3170
|
-
size: {
|
|
3171
|
-
type: String
|
|
3172
|
-
},
|
|
3173
|
-
transparent: {
|
|
3174
|
-
type: Boolean,
|
|
3175
|
-
default: false
|
|
3176
|
-
},
|
|
3177
|
-
telemetrySource: {
|
|
3178
|
-
type: String
|
|
3179
|
-
},
|
|
3180
|
-
hideIcon: {
|
|
3181
|
-
type: Boolean
|
|
3182
|
-
},
|
|
3183
|
-
tooltip: {
|
|
3184
|
-
type: String
|
|
3185
|
-
}
|
|
3159
|
+
nodeName: {},
|
|
3160
|
+
telemetrySource: {},
|
|
3161
|
+
disabled: { type: Boolean, default: false },
|
|
3162
|
+
label: {},
|
|
3163
|
+
type: {},
|
|
3164
|
+
size: {},
|
|
3165
|
+
transparent: { type: Boolean, default: false },
|
|
3166
|
+
hideIcon: { type: Boolean },
|
|
3167
|
+
tooltip: {}
|
|
3186
3168
|
},
|
|
3187
3169
|
emits: ["stopExecution", "execute"],
|
|
3188
|
-
setup(
|
|
3170
|
+
setup(__props, { emit: __emit }) {
|
|
3171
|
+
const props = __props;
|
|
3172
|
+
const emit = __emit;
|
|
3173
|
+
const lastPopupCountUpdate = ref(0);
|
|
3189
3174
|
const router = useRouter();
|
|
3175
|
+
const { runWorkflow, stopCurrentExecution } = useRunWorkflow({ router });
|
|
3190
3176
|
const workflowsStore = useWorkflowsStore();
|
|
3191
|
-
const node2 = workflowsStore.getNodeByName(props.nodeName);
|
|
3192
|
-
const pinnedData2 = usePinnedData(node2);
|
|
3193
3177
|
const externalHooks = useExternalHooks();
|
|
3194
|
-
const
|
|
3195
|
-
|
|
3196
|
-
|
|
3197
|
-
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
node() {
|
|
3208
|
-
return this.workflowsStore.getNodeByName(this.nodeName);
|
|
3209
|
-
},
|
|
3210
|
-
nodeType() {
|
|
3211
|
-
if (this.node) {
|
|
3212
|
-
return this.nodeTypesStore.getNodeType(this.node.type, this.node.typeVersion);
|
|
3213
|
-
}
|
|
3214
|
-
return null;
|
|
3215
|
-
},
|
|
3216
|
-
nodeRunning() {
|
|
3178
|
+
const toast = useToast();
|
|
3179
|
+
const ndvStore = useNDVStore();
|
|
3180
|
+
const nodeTypesStore = useNodeTypesStore();
|
|
3181
|
+
const uiStore = useUIStore();
|
|
3182
|
+
const i18n2 = useI18n();
|
|
3183
|
+
const message = useMessage();
|
|
3184
|
+
const telemetry = useTelemetry();
|
|
3185
|
+
const node2 = computed(() => workflowsStore.getNodeByName(props.nodeName));
|
|
3186
|
+
const pinnedData2 = usePinnedData(node2);
|
|
3187
|
+
const nodeType = computed(() => {
|
|
3188
|
+
return node2.value ? nodeTypesStore.getNodeType(node2.value.type, node2.value.typeVersion) : null;
|
|
3189
|
+
});
|
|
3190
|
+
const isNodeRunning = computed(() => {
|
|
3217
3191
|
var _a, _b;
|
|
3218
|
-
const triggeredNode =
|
|
3219
|
-
return
|
|
3220
|
-
}
|
|
3221
|
-
|
|
3222
|
-
return
|
|
3223
|
-
}
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
isChatChild() {
|
|
3237
|
-
return this.workflowsStore.checkIfNodeHasChatParent(this.nodeName);
|
|
3238
|
-
},
|
|
3239
|
-
isFormTriggerNode() {
|
|
3240
|
-
return Boolean(this.nodeType && this.nodeType.name === FORM_TRIGGER_NODE_TYPE);
|
|
3241
|
-
},
|
|
3242
|
-
isPollingTypeNode() {
|
|
3243
|
-
var _a;
|
|
3244
|
-
return !!((_a = this.nodeType) == null ? void 0 : _a.polling);
|
|
3245
|
-
},
|
|
3246
|
-
isScheduleTrigger() {
|
|
3192
|
+
const triggeredNode = workflowsStore.executedNode;
|
|
3193
|
+
return uiStore.isActionActive.workflowRunning && (workflowsStore.isNodeExecuting(((_a = node2.value) == null ? void 0 : _a.name) ?? "") || triggeredNode === ((_b = node2.value) == null ? void 0 : _b.name));
|
|
3194
|
+
});
|
|
3195
|
+
const isTriggerNode = computed(() => {
|
|
3196
|
+
return node2.value ? nodeTypesStore.isTriggerNode(node2.value.type) : false;
|
|
3197
|
+
});
|
|
3198
|
+
const isWorkflowRunning = computed(() => uiStore.isActionActive.workflowRunning);
|
|
3199
|
+
const isManualTriggerNode = computed(
|
|
3200
|
+
() => nodeType.value ? nodeType.value.name === MANUAL_TRIGGER_NODE_TYPE : false
|
|
3201
|
+
);
|
|
3202
|
+
const isChatNode = computed(
|
|
3203
|
+
() => nodeType.value ? nodeType.value.name === CHAT_TRIGGER_NODE_TYPE : false
|
|
3204
|
+
);
|
|
3205
|
+
const isChatChild = computed(() => workflowsStore.checkIfNodeHasChatParent(props.nodeName));
|
|
3206
|
+
const isFormTriggerNode = computed(
|
|
3207
|
+
() => nodeType.value ? nodeType.value.name === FORM_TRIGGER_NODE_TYPE : false
|
|
3208
|
+
);
|
|
3209
|
+
const isPollingTypeNode = computed(() => {
|
|
3247
3210
|
var _a;
|
|
3248
|
-
return !!((_a =
|
|
3249
|
-
}
|
|
3250
|
-
|
|
3251
|
-
return Boolean(this.nodeType && this.nodeType.name === WEBHOOK_NODE_TYPE);
|
|
3252
|
-
},
|
|
3253
|
-
isListeningForEvents() {
|
|
3254
|
-
const waitingOnWebhook = this.workflowsStore.executionWaitingForWebhook;
|
|
3255
|
-
const executedNode = this.workflowsStore.executedNode;
|
|
3256
|
-
return !!this.node && !this.node.disabled && this.isTriggerNode && waitingOnWebhook && (!executedNode || executedNode === this.nodeName);
|
|
3257
|
-
},
|
|
3258
|
-
isListeningForWorkflowEvents() {
|
|
3259
|
-
return this.nodeRunning && this.isTriggerNode && !this.isScheduleTrigger && !this.isManualTriggerNode;
|
|
3260
|
-
},
|
|
3261
|
-
hasIssues() {
|
|
3211
|
+
return !!((_a = nodeType.value) == null ? void 0 : _a.polling);
|
|
3212
|
+
});
|
|
3213
|
+
const isScheduleTrigger = computed(() => {
|
|
3262
3214
|
var _a;
|
|
3263
|
-
return
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3215
|
+
return !!((_a = nodeType.value) == null ? void 0 : _a.group.includes("schedule"));
|
|
3216
|
+
});
|
|
3217
|
+
const isWebhookNode = computed(
|
|
3218
|
+
() => nodeType.value ? nodeType.value.name === WEBHOOK_NODE_TYPE : false
|
|
3219
|
+
);
|
|
3220
|
+
const isListeningForEvents = computed(() => {
|
|
3221
|
+
const waitingOnWebhook = workflowsStore.executionWaitingForWebhook;
|
|
3222
|
+
const executedNode = workflowsStore.executedNode;
|
|
3223
|
+
return !!node2.value && !node2.value.disabled && isTriggerNode.value && waitingOnWebhook && (!executedNode || executedNode === props.nodeName);
|
|
3224
|
+
});
|
|
3225
|
+
const isListeningForWorkflowEvents = computed(() => {
|
|
3226
|
+
return isNodeRunning.value && isTriggerNode.value && !isScheduleTrigger.value && !isManualTriggerNode.value;
|
|
3227
|
+
});
|
|
3228
|
+
const hasIssues2 = computed(
|
|
3229
|
+
() => {
|
|
3230
|
+
var _a;
|
|
3231
|
+
return Boolean(((_a = node2.value) == null ? void 0 : _a.issues) && (node2.value.issues.parameters || node2.value.issues.credentials));
|
|
3232
|
+
}
|
|
3233
|
+
);
|
|
3234
|
+
const disabledHint = computed(() => {
|
|
3268
3235
|
var _a;
|
|
3269
|
-
if (
|
|
3236
|
+
if (isListeningForEvents.value) {
|
|
3270
3237
|
return "";
|
|
3271
3238
|
}
|
|
3272
|
-
if (
|
|
3273
|
-
return
|
|
3239
|
+
if (isTriggerNode.value && ((_a = node2 == null ? void 0 : node2.value) == null ? void 0 : _a.disabled)) {
|
|
3240
|
+
return i18n2.baseText("ndv.execute.nodeIsDisabled");
|
|
3274
3241
|
}
|
|
3275
|
-
if (
|
|
3276
|
-
const activeNode =
|
|
3277
|
-
if (activeNode && activeNode.name !==
|
|
3278
|
-
return
|
|
3242
|
+
if (isTriggerNode.value && hasIssues2.value) {
|
|
3243
|
+
const activeNode = ndvStore.activeNode;
|
|
3244
|
+
if (activeNode && activeNode.name !== props.nodeName) {
|
|
3245
|
+
return i18n2.baseText("ndv.execute.fixPrevious");
|
|
3279
3246
|
}
|
|
3280
|
-
return
|
|
3247
|
+
return i18n2.baseText("ndv.execute.requiredFieldsMissing");
|
|
3281
3248
|
}
|
|
3282
|
-
if (
|
|
3283
|
-
return
|
|
3249
|
+
if (isWorkflowRunning.value && !isNodeRunning.value) {
|
|
3250
|
+
return i18n2.baseText("ndv.execute.workflowAlreadyRunning");
|
|
3284
3251
|
}
|
|
3285
3252
|
return "";
|
|
3286
|
-
}
|
|
3287
|
-
tooltipText() {
|
|
3288
|
-
if (
|
|
3289
|
-
return
|
|
3290
|
-
if (
|
|
3291
|
-
return
|
|
3253
|
+
});
|
|
3254
|
+
const tooltipText = computed(() => {
|
|
3255
|
+
if (disabledHint.value)
|
|
3256
|
+
return disabledHint.value;
|
|
3257
|
+
if (props.tooltip && !isLoading.value && testStepButtonPopupCount() < MAX_POPUP_COUNT) {
|
|
3258
|
+
return props.tooltip;
|
|
3259
|
+
}
|
|
3292
3260
|
return "";
|
|
3293
|
-
}
|
|
3294
|
-
buttonLabel() {
|
|
3261
|
+
});
|
|
3262
|
+
const buttonLabel = computed(() => {
|
|
3295
3263
|
var _a;
|
|
3296
|
-
if (
|
|
3297
|
-
return
|
|
3264
|
+
if (isListeningForEvents.value || isListeningForWorkflowEvents.value) {
|
|
3265
|
+
return i18n2.baseText("ndv.execute.stopListening");
|
|
3298
3266
|
}
|
|
3299
|
-
if (
|
|
3300
|
-
return
|
|
3267
|
+
if (props.label) {
|
|
3268
|
+
return props.label;
|
|
3301
3269
|
}
|
|
3302
|
-
if (
|
|
3303
|
-
return
|
|
3270
|
+
if (isChatNode.value) {
|
|
3271
|
+
return i18n2.baseText("ndv.execute.testChat");
|
|
3304
3272
|
}
|
|
3305
|
-
if (
|
|
3306
|
-
return
|
|
3273
|
+
if (isWebhookNode.value) {
|
|
3274
|
+
return i18n2.baseText("ndv.execute.listenForTestEvent");
|
|
3307
3275
|
}
|
|
3308
|
-
if (
|
|
3309
|
-
return
|
|
3276
|
+
if (isFormTriggerNode.value) {
|
|
3277
|
+
return i18n2.baseText("ndv.execute.testStep");
|
|
3310
3278
|
}
|
|
3311
|
-
if (
|
|
3312
|
-
return
|
|
3279
|
+
if (isPollingTypeNode.value || ((_a = nodeType.value) == null ? void 0 : _a.mockManualExecution)) {
|
|
3280
|
+
return i18n2.baseText("ndv.execute.fetchEvent");
|
|
3313
3281
|
}
|
|
3314
|
-
return
|
|
3315
|
-
}
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
methods: {
|
|
3321
|
-
async stopWaitingForWebhook() {
|
|
3282
|
+
return i18n2.baseText("ndv.execute.testNode");
|
|
3283
|
+
});
|
|
3284
|
+
const isLoading = computed(
|
|
3285
|
+
() => isNodeRunning.value && !isListeningForEvents.value && !isListeningForWorkflowEvents.value
|
|
3286
|
+
);
|
|
3287
|
+
async function stopWaitingForWebhook() {
|
|
3322
3288
|
try {
|
|
3323
|
-
await
|
|
3289
|
+
await workflowsStore.removeTestWebhook(workflowsStore.workflowId);
|
|
3324
3290
|
} catch (error2) {
|
|
3325
|
-
|
|
3326
|
-
return;
|
|
3291
|
+
toast.showError(error2, "Error stopping webhook");
|
|
3327
3292
|
}
|
|
3328
|
-
}
|
|
3329
|
-
testStepButtonPopupCount() {
|
|
3293
|
+
}
|
|
3294
|
+
function testStepButtonPopupCount() {
|
|
3330
3295
|
return Number(localStorage.getItem(NODE_TEST_STEP_POPUP_COUNT_KEY));
|
|
3331
|
-
}
|
|
3332
|
-
onMouseOver() {
|
|
3333
|
-
const count2 =
|
|
3334
|
-
if (count2 < MAX_POPUP_COUNT && !
|
|
3296
|
+
}
|
|
3297
|
+
function onMouseOver() {
|
|
3298
|
+
const count2 = testStepButtonPopupCount();
|
|
3299
|
+
if (count2 < MAX_POPUP_COUNT && !disabledHint.value && tooltipText.value) {
|
|
3335
3300
|
const now = Date.now();
|
|
3336
|
-
if (!
|
|
3301
|
+
if (!lastPopupCountUpdate.value || now - lastPopupCountUpdate.value >= POPUP_UPDATE_DELAY) {
|
|
3337
3302
|
localStorage.setItem(NODE_TEST_STEP_POPUP_COUNT_KEY, `${count2 + 1}`);
|
|
3338
|
-
|
|
3303
|
+
lastPopupCountUpdate.value = now;
|
|
3339
3304
|
}
|
|
3340
3305
|
}
|
|
3341
|
-
}
|
|
3342
|
-
async onClick() {
|
|
3343
|
-
if (
|
|
3344
|
-
|
|
3306
|
+
}
|
|
3307
|
+
async function onClick() {
|
|
3308
|
+
if (isChatNode.value || isChatChild.value && ndvStore.isNDVDataEmpty("input")) {
|
|
3309
|
+
ndvStore.setActiveNodeName(null);
|
|
3345
3310
|
nodeViewEventBus.emit("openChat");
|
|
3346
|
-
} else if (
|
|
3347
|
-
await
|
|
3348
|
-
} else if (
|
|
3349
|
-
await
|
|
3350
|
-
|
|
3311
|
+
} else if (isListeningForEvents.value) {
|
|
3312
|
+
await stopWaitingForWebhook();
|
|
3313
|
+
} else if (isListeningForWorkflowEvents.value) {
|
|
3314
|
+
await stopCurrentExecution();
|
|
3315
|
+
emit("stopExecution");
|
|
3351
3316
|
} else {
|
|
3352
3317
|
let shouldUnpinAndExecute = false;
|
|
3353
|
-
if (
|
|
3354
|
-
const confirmResult = await
|
|
3355
|
-
|
|
3356
|
-
|
|
3318
|
+
if (pinnedData2.hasData.value) {
|
|
3319
|
+
const confirmResult = await message.confirm(
|
|
3320
|
+
i18n2.baseText("ndv.pinData.unpinAndExecute.description"),
|
|
3321
|
+
i18n2.baseText("ndv.pinData.unpinAndExecute.title"),
|
|
3357
3322
|
{
|
|
3358
|
-
confirmButtonText:
|
|
3359
|
-
cancelButtonText:
|
|
3323
|
+
confirmButtonText: i18n2.baseText("ndv.pinData.unpinAndExecute.confirm"),
|
|
3324
|
+
cancelButtonText: i18n2.baseText("ndv.pinData.unpinAndExecute.cancel")
|
|
3360
3325
|
}
|
|
3361
3326
|
);
|
|
3362
3327
|
shouldUnpinAndExecute = confirmResult === MODAL_CONFIRM;
|
|
3363
|
-
if (shouldUnpinAndExecute &&
|
|
3364
|
-
|
|
3328
|
+
if (shouldUnpinAndExecute && node2.value) {
|
|
3329
|
+
pinnedData2.unsetData("unpin-and-execute-modal");
|
|
3365
3330
|
}
|
|
3366
3331
|
}
|
|
3367
|
-
if (!
|
|
3332
|
+
if (!pinnedData2.hasData.value || shouldUnpinAndExecute) {
|
|
3368
3333
|
const telemetryPayload = {
|
|
3369
|
-
node_type:
|
|
3370
|
-
workflow_id:
|
|
3371
|
-
source:
|
|
3372
|
-
push_ref:
|
|
3334
|
+
node_type: nodeType.value ? nodeType.value.name : null,
|
|
3335
|
+
workflow_id: workflowsStore.workflowId,
|
|
3336
|
+
source: props.telemetrySource,
|
|
3337
|
+
push_ref: ndvStore.pushRef
|
|
3373
3338
|
};
|
|
3374
|
-
|
|
3375
|
-
await
|
|
3376
|
-
await
|
|
3377
|
-
destinationNode:
|
|
3339
|
+
telemetry.track("User clicked execute node button", telemetryPayload);
|
|
3340
|
+
await externalHooks.run("nodeExecuteButton.onClick", telemetryPayload);
|
|
3341
|
+
await runWorkflow({
|
|
3342
|
+
destinationNode: props.nodeName,
|
|
3378
3343
|
source: "RunData.ExecuteNodeButton"
|
|
3379
3344
|
});
|
|
3380
|
-
|
|
3345
|
+
emit("execute");
|
|
3381
3346
|
}
|
|
3382
3347
|
}
|
|
3383
3348
|
}
|
|
3349
|
+
return (_ctx, _cache) => {
|
|
3350
|
+
const _component_n8n_button = resolveComponent("n8n-button");
|
|
3351
|
+
const _component_n8n_tooltip = resolveComponent("n8n-tooltip");
|
|
3352
|
+
return openBlock(), createElementBlock("div", null, [
|
|
3353
|
+
createVNode(_component_n8n_tooltip, {
|
|
3354
|
+
placement: "right",
|
|
3355
|
+
disabled: !tooltipText.value
|
|
3356
|
+
}, {
|
|
3357
|
+
content: withCtx(() => [
|
|
3358
|
+
createBaseVNode("div", null, toDisplayString(tooltipText.value), 1)
|
|
3359
|
+
]),
|
|
3360
|
+
default: withCtx(() => [
|
|
3361
|
+
createBaseVNode("div", null, [
|
|
3362
|
+
createVNode(_component_n8n_button, mergeProps(_ctx.$attrs, {
|
|
3363
|
+
loading: isLoading.value,
|
|
3364
|
+
disabled: _ctx.disabled || !!disabledHint.value,
|
|
3365
|
+
label: buttonLabel.value,
|
|
3366
|
+
type: _ctx.type,
|
|
3367
|
+
size: _ctx.size,
|
|
3368
|
+
icon: !isListeningForEvents.value && !_ctx.hideIcon ? "flask" : void 0,
|
|
3369
|
+
"transparent-background": _ctx.transparent,
|
|
3370
|
+
title: !isTriggerNode.value && !tooltipText.value ? unref(i18n2).baseText("ndv.execute.testNode.description") : "",
|
|
3371
|
+
onMouseover: onMouseOver,
|
|
3372
|
+
onClick
|
|
3373
|
+
}), null, 16, ["loading", "disabled", "label", "type", "size", "icon", "transparent-background", "title"])
|
|
3374
|
+
])
|
|
3375
|
+
]),
|
|
3376
|
+
_: 1
|
|
3377
|
+
}, 8, ["disabled"])
|
|
3378
|
+
]);
|
|
3379
|
+
};
|
|
3384
3380
|
}
|
|
3385
3381
|
});
|
|
3386
|
-
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
3387
|
-
const _component_n8n_button = resolveComponent("n8n-button");
|
|
3388
|
-
const _component_n8n_tooltip = resolveComponent("n8n-tooltip");
|
|
3389
|
-
return openBlock(), createElementBlock("div", null, [
|
|
3390
|
-
createVNode(_component_n8n_tooltip, {
|
|
3391
|
-
placement: "right",
|
|
3392
|
-
disabled: !_ctx.tooltipText
|
|
3393
|
-
}, {
|
|
3394
|
-
content: withCtx(() => [
|
|
3395
|
-
createBaseVNode("div", null, toDisplayString(_ctx.tooltipText), 1)
|
|
3396
|
-
]),
|
|
3397
|
-
default: withCtx(() => [
|
|
3398
|
-
createBaseVNode("div", null, [
|
|
3399
|
-
createVNode(_component_n8n_button, mergeProps(_ctx.$attrs, {
|
|
3400
|
-
loading: _ctx.loading,
|
|
3401
|
-
disabled: _ctx.disabled || !!_ctx.disabledHint,
|
|
3402
|
-
label: _ctx.buttonLabel,
|
|
3403
|
-
type: _ctx.type,
|
|
3404
|
-
size: _ctx.size,
|
|
3405
|
-
icon: !_ctx.isListeningForEvents && !_ctx.hideIcon ? "flask" : void 0,
|
|
3406
|
-
"transparent-background": _ctx.transparent,
|
|
3407
|
-
title: !_ctx.isTriggerNode && !_ctx.tooltipText ? _ctx.$locale.baseText("ndv.execute.testNode.description") : "",
|
|
3408
|
-
onMouseover: _ctx.onMouseOver,
|
|
3409
|
-
onClick: _ctx.onClick
|
|
3410
|
-
}), null, 16, ["loading", "disabled", "label", "type", "size", "icon", "transparent-background", "title", "onMouseover", "onClick"])
|
|
3411
|
-
])
|
|
3412
|
-
]),
|
|
3413
|
-
_: 1
|
|
3414
|
-
}, 8, ["disabled"])
|
|
3415
|
-
]);
|
|
3416
|
-
}
|
|
3417
|
-
const __unplugin_components_2$2 = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$9]]);
|
|
3418
3382
|
const _withScopeId$5 = (n) => (pushScopeId("data-v-35f889e4"), n = n(), popScopeId(), n);
|
|
3419
3383
|
const _hoisted_1$n = { class: "header-side-menu" };
|
|
3420
|
-
const _hoisted_2$
|
|
3421
|
-
const _hoisted_3$
|
|
3384
|
+
const _hoisted_2$h = { key: 1 };
|
|
3385
|
+
const _hoisted_3$a = {
|
|
3422
3386
|
key: 0,
|
|
3423
3387
|
class: "node-is-not-valid"
|
|
3424
3388
|
};
|
|
@@ -3435,7 +3399,7 @@ const _hoisted_9$3 = {
|
|
|
3435
3399
|
key: 1,
|
|
3436
3400
|
class: "no-parameters"
|
|
3437
3401
|
};
|
|
3438
|
-
const _hoisted_10$
|
|
3402
|
+
const _hoisted_10$1 = {
|
|
3439
3403
|
key: 2,
|
|
3440
3404
|
class: "parameter-item parameter-notice",
|
|
3441
3405
|
"data-test-id": "node-parameters-http-notice"
|
|
@@ -3444,7 +3408,7 @@ const _hoisted_11$1 = {
|
|
|
3444
3408
|
class: "node-version",
|
|
3445
3409
|
"data-test-id": "node-version"
|
|
3446
3410
|
};
|
|
3447
|
-
const _sfc_main$
|
|
3411
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
3448
3412
|
__name: "NodeSettings",
|
|
3449
3413
|
props: {
|
|
3450
3414
|
eventBus: {},
|
|
@@ -4159,8 +4123,8 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
4159
4123
|
"read-only": isReadOnly.value,
|
|
4160
4124
|
"onUpdate:modelValue": nameChanged
|
|
4161
4125
|
}, null, 8, ["model-value", "node-type", "read-only"])) : createCommentVNode("", true),
|
|
4162
|
-
isExecutable.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
4163
|
-
!_ctx.blockUI && node2.value && nodeValid.value ? (openBlock(), createBlock(
|
|
4126
|
+
isExecutable.value ? (openBlock(), createElementBlock("div", _hoisted_2$h, [
|
|
4127
|
+
!_ctx.blockUI && node2.value && nodeValid.value ? (openBlock(), createBlock(_sfc_main$R, {
|
|
4164
4128
|
key: 0,
|
|
4165
4129
|
"data-test-id": "node-execute-button",
|
|
4166
4130
|
"node-name": node2.value.name,
|
|
@@ -4173,7 +4137,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
4173
4137
|
}, null, 8, ["node-name", "disabled", "tooltip"])) : createCommentVNode("", true)
|
|
4174
4138
|
])) : createCommentVNode("", true)
|
|
4175
4139
|
]),
|
|
4176
|
-
node2.value && nodeValid.value ? (openBlock(), createBlock(_sfc_main$
|
|
4140
|
+
node2.value && nodeValid.value ? (openBlock(), createBlock(_sfc_main$U, {
|
|
4177
4141
|
key: 0,
|
|
4178
4142
|
"model-value": openPanel.value,
|
|
4179
4143
|
"node-type": _ctx.nodeType,
|
|
@@ -4181,7 +4145,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
4181
4145
|
"onUpdate:modelValue": onTabSelect
|
|
4182
4146
|
}, null, 8, ["model-value", "node-type", "push-ref"])) : createCommentVNode("", true)
|
|
4183
4147
|
], 2),
|
|
4184
|
-
node2.value && !nodeValid.value ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
4148
|
+
node2.value && !nodeValid.value ? (openBlock(), createElementBlock("div", _hoisted_3$a, [
|
|
4185
4149
|
createBaseVNode("p", {
|
|
4186
4150
|
class: normalizeClass(_ctx.$style.warningIcon)
|
|
4187
4151
|
}, [
|
|
@@ -4254,7 +4218,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
4254
4218
|
node: node2.value,
|
|
4255
4219
|
"node-type-description": _ctx.nodeType
|
|
4256
4220
|
}, null, 8, ["node", "node-type-description"]),
|
|
4257
|
-
nodeValuesInitialized.value ? (openBlock(), createBlock(_sfc_main$
|
|
4221
|
+
nodeValuesInitialized.value ? (openBlock(), createBlock(_sfc_main$Y, {
|
|
4258
4222
|
key: 0,
|
|
4259
4223
|
parameters: parametersNoneSetting.value,
|
|
4260
4224
|
"hide-delete": true,
|
|
@@ -4287,7 +4251,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
4287
4251
|
_: 1
|
|
4288
4252
|
})
|
|
4289
4253
|
])) : createCommentVNode("", true),
|
|
4290
|
-
unref(nodeHelpers).isCustomApiCallSelected(nodeValues.value) ? (openBlock(), createElementBlock("div", _hoisted_10$
|
|
4254
|
+
unref(nodeHelpers).isCustomApiCallSelected(nodeValues.value) ? (openBlock(), createElementBlock("div", _hoisted_10$1, [
|
|
4291
4255
|
createVNode(_component_n8n_notice, {
|
|
4292
4256
|
content: _ctx.$locale.baseText("nodeSettings.useTheHttpRequestNode", {
|
|
4293
4257
|
interpolate: { nodeTypeDisplayName: ((_a = _ctx.nodeType) == null ? void 0 : _a.displayName) ?? "" }
|
|
@@ -4298,7 +4262,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
4298
4262
|
[vShow, openPanel.value === "params"]
|
|
4299
4263
|
]),
|
|
4300
4264
|
withDirectives(createBaseVNode("div", null, [
|
|
4301
|
-
createVNode(_sfc_main$
|
|
4265
|
+
createVNode(_sfc_main$Y, {
|
|
4302
4266
|
parameters: parametersSetting.value,
|
|
4303
4267
|
"node-values": nodeValues.value,
|
|
4304
4268
|
"is-read-only": isReadOnly.value,
|
|
@@ -4308,7 +4272,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
4308
4272
|
onValueChanged: valueChanged,
|
|
4309
4273
|
onParameterBlur
|
|
4310
4274
|
}, null, 8, ["parameters", "node-values", "is-read-only", "hidden-issues-inputs"]),
|
|
4311
|
-
createVNode(_sfc_main$
|
|
4275
|
+
createVNode(_sfc_main$Y, {
|
|
4312
4276
|
parameters: nodeSettings.value,
|
|
4313
4277
|
"hide-delete": true,
|
|
4314
4278
|
"node-values": nodeValues.value,
|
|
@@ -4355,10 +4319,10 @@ const style0$x = {
|
|
|
4355
4319
|
const cssModules$z = {
|
|
4356
4320
|
"$style": style0$x
|
|
4357
4321
|
};
|
|
4358
|
-
const NodeSettings = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4359
|
-
const _sfc_main$
|
|
4322
|
+
const NodeSettings = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__cssModules", cssModules$z], ["__scopeId", "data-v-35f889e4"]]);
|
|
4323
|
+
const _sfc_main$P = defineComponent({
|
|
4360
4324
|
components: {
|
|
4361
|
-
Draggable: __unplugin_components_2$
|
|
4325
|
+
Draggable: __unplugin_components_2$2
|
|
4362
4326
|
},
|
|
4363
4327
|
props: {
|
|
4364
4328
|
canMoveRight: {
|
|
@@ -4403,20 +4367,20 @@ const _hoisted_1$m = /* @__PURE__ */ createBaseVNode("div", null, [
|
|
|
4403
4367
|
/* @__PURE__ */ createBaseVNode("div"),
|
|
4404
4368
|
/* @__PURE__ */ createBaseVNode("div")
|
|
4405
4369
|
], -1);
|
|
4406
|
-
const _hoisted_2$
|
|
4370
|
+
const _hoisted_2$g = /* @__PURE__ */ createBaseVNode("div", null, [
|
|
4407
4371
|
/* @__PURE__ */ createBaseVNode("div"),
|
|
4408
4372
|
/* @__PURE__ */ createBaseVNode("div"),
|
|
4409
4373
|
/* @__PURE__ */ createBaseVNode("div"),
|
|
4410
4374
|
/* @__PURE__ */ createBaseVNode("div"),
|
|
4411
4375
|
/* @__PURE__ */ createBaseVNode("div")
|
|
4412
4376
|
], -1);
|
|
4413
|
-
const _hoisted_3$
|
|
4377
|
+
const _hoisted_3$9 = [
|
|
4414
4378
|
_hoisted_1$m,
|
|
4415
|
-
_hoisted_2$
|
|
4379
|
+
_hoisted_2$g
|
|
4416
4380
|
];
|
|
4417
4381
|
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4418
4382
|
const _component_font_awesome_icon = resolveComponent("font-awesome-icon");
|
|
4419
|
-
const _component_Draggable = __unplugin_components_2$
|
|
4383
|
+
const _component_Draggable = __unplugin_components_2$2;
|
|
4420
4384
|
return openBlock(), createBlock(_component_Draggable, {
|
|
4421
4385
|
type: "panel-resize",
|
|
4422
4386
|
class: normalizeClass(_ctx.$style.dragContainer),
|
|
@@ -4442,7 +4406,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4442
4406
|
], 2)) : createCommentVNode("", true),
|
|
4443
4407
|
createBaseVNode("div", {
|
|
4444
4408
|
class: normalizeClass(_ctx.$style.grid)
|
|
4445
|
-
}, _hoisted_3$
|
|
4409
|
+
}, _hoisted_3$9, 2)
|
|
4446
4410
|
], 2)
|
|
4447
4411
|
]),
|
|
4448
4412
|
_: 1
|
|
@@ -4451,7 +4415,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4451
4415
|
const cssModules$y = {
|
|
4452
4416
|
"$style": style0$w
|
|
4453
4417
|
};
|
|
4454
|
-
const PanelDragButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4418
|
+
const PanelDragButton = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$8], ["__cssModules", cssModules$y]]);
|
|
4455
4419
|
const _hoisted_1$l = ["data-node-name", "data-node-placement", "onClick"];
|
|
4456
4420
|
var FloatingNodePosition = /* @__PURE__ */ ((FloatingNodePosition2) => {
|
|
4457
4421
|
FloatingNodePosition2["top"] = "outputSub";
|
|
@@ -4459,7 +4423,7 @@ var FloatingNodePosition = /* @__PURE__ */ ((FloatingNodePosition2) => {
|
|
|
4459
4423
|
FloatingNodePosition2["left"] = "inputMain";
|
|
4460
4424
|
return FloatingNodePosition2;
|
|
4461
4425
|
})(FloatingNodePosition || {});
|
|
4462
|
-
const _sfc_main$
|
|
4426
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
4463
4427
|
__name: "NDVFloatingNodes",
|
|
4464
4428
|
props: {
|
|
4465
4429
|
rootNode: {}
|
|
@@ -4584,7 +4548,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
4584
4548
|
"data-node-placement": connectionGroup,
|
|
4585
4549
|
onClick: ($event) => emit("switchSelectedNode", node2.name)
|
|
4586
4550
|
}, [
|
|
4587
|
-
createVNode(_sfc_main$
|
|
4551
|
+
createVNode(_sfc_main$X, {
|
|
4588
4552
|
"node-type": nodeType,
|
|
4589
4553
|
"node-name": node2.name,
|
|
4590
4554
|
"tooltip-position": tooltipPositionMapper[connectionGroup],
|
|
@@ -4622,13 +4586,13 @@ const style0$v = {
|
|
|
4622
4586
|
const cssModules$x = {
|
|
4623
4587
|
"$style": style0$v
|
|
4624
4588
|
};
|
|
4625
|
-
const NDVFloatingNodes = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4589
|
+
const NDVFloatingNodes = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__cssModules", cssModules$x]]);
|
|
4626
4590
|
const SIDE_MARGIN = 24;
|
|
4627
4591
|
const SIDE_PANELS_MARGIN = 80;
|
|
4628
4592
|
const MIN_PANEL_WIDTH = 310;
|
|
4629
4593
|
const PANEL_WIDTH = 350;
|
|
4630
4594
|
const PANEL_WIDTH_LARGE = 420;
|
|
4631
|
-
const _sfc_main$
|
|
4595
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
4632
4596
|
__name: "NDVDraggablePanels",
|
|
4633
4597
|
props: {
|
|
4634
4598
|
isDraggable: { type: Boolean },
|
|
@@ -4972,11 +4936,11 @@ const style0$u = {
|
|
|
4972
4936
|
const cssModules$w = {
|
|
4973
4937
|
"$style": style0$u
|
|
4974
4938
|
};
|
|
4975
|
-
const NDVDraggablePanels = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4939
|
+
const NDVDraggablePanels = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__cssModules", cssModules$w]]);
|
|
4976
4940
|
const _hoisted_1$k = { key: 0 };
|
|
4977
|
-
const _hoisted_2$
|
|
4978
|
-
const _hoisted_3$
|
|
4979
|
-
const _sfc_main$
|
|
4941
|
+
const _hoisted_2$f = { key: 1 };
|
|
4942
|
+
const _hoisted_3$8 = { key: 2 };
|
|
4943
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
4980
4944
|
__name: "RunDataPinButton",
|
|
4981
4945
|
props: {
|
|
4982
4946
|
tooltipContentsVisibility: {},
|
|
@@ -5002,7 +4966,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
5002
4966
|
visible: visible2.value
|
|
5003
4967
|
}, {
|
|
5004
4968
|
content: withCtx(() => [
|
|
5005
|
-
props.tooltipContentsVisibility.binaryDataTooltipContent ? (openBlock(), createElementBlock("div", _hoisted_1$k, toDisplayString(unref(locale).baseText("ndv.pinData.pin.binary")), 1)) : props.tooltipContentsVisibility.pinDataDiscoveryTooltipContent ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
4969
|
+
props.tooltipContentsVisibility.binaryDataTooltipContent ? (openBlock(), createElementBlock("div", _hoisted_1$k, toDisplayString(unref(locale).baseText("ndv.pinData.pin.binary")), 1)) : props.tooltipContentsVisibility.pinDataDiscoveryTooltipContent ? (openBlock(), createElementBlock("div", _hoisted_2$f, toDisplayString(unref(locale).baseText("node.discovery.pinData.ndv")), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$8, [
|
|
5006
4970
|
createBaseVNode("strong", null, toDisplayString(unref(locale).baseText("ndv.pinData.pin.title")), 1),
|
|
5007
4971
|
createVNode(_component_n8n_text, {
|
|
5008
4972
|
size: "small",
|
|
@@ -5047,7 +5011,7 @@ const style0$t = {
|
|
|
5047
5011
|
const cssModules$v = {
|
|
5048
5012
|
"$style": style0$t
|
|
5049
5013
|
};
|
|
5050
|
-
const __unplugin_components_1$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5014
|
+
const __unplugin_components_1$1 = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__cssModules", cssModules$v]]);
|
|
5051
5015
|
const sanitizeOptions = {
|
|
5052
5016
|
allowVulnerableTags: false,
|
|
5053
5017
|
enforceHtmlBoundary: false,
|
|
@@ -5061,7 +5025,7 @@ const sanitizeOptions = {
|
|
|
5061
5025
|
head: ""
|
|
5062
5026
|
}
|
|
5063
5027
|
};
|
|
5064
|
-
const _sfc_main$
|
|
5028
|
+
const _sfc_main$L = {
|
|
5065
5029
|
name: "RunDataHtml",
|
|
5066
5030
|
props: {
|
|
5067
5031
|
inputHtml: {
|
|
@@ -5082,14 +5046,14 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5082
5046
|
srcdoc: $options.sanitizedHtml
|
|
5083
5047
|
}, null, 8, _hoisted_1$j);
|
|
5084
5048
|
}
|
|
5085
|
-
const RunDataHtml = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
5049
|
+
const RunDataHtml = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$7]]);
|
|
5086
5050
|
const RunDataHtml$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5087
5051
|
__proto__: null,
|
|
5088
5052
|
default: RunDataHtml
|
|
5089
5053
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5090
5054
|
const _hoisted_1$i = { key: 0 };
|
|
5091
|
-
const _hoisted_2$
|
|
5092
|
-
const _hoisted_3$
|
|
5055
|
+
const _hoisted_2$e = { key: 1 };
|
|
5056
|
+
const _hoisted_3$7 = { key: 2 };
|
|
5093
5057
|
const _hoisted_4$4 = {
|
|
5094
5058
|
key: 0,
|
|
5095
5059
|
controls: "",
|
|
@@ -5103,7 +5067,8 @@ const _hoisted_6$4 = {
|
|
|
5103
5067
|
};
|
|
5104
5068
|
const _hoisted_7$3 = ["src", "type"];
|
|
5105
5069
|
const _hoisted_8$3 = ["src"];
|
|
5106
|
-
const
|
|
5070
|
+
const _hoisted_9$2 = ["src"];
|
|
5071
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
5107
5072
|
__name: "BinaryDataDisplayEmbed",
|
|
5108
5073
|
props: {
|
|
5109
5074
|
binaryData: {}
|
|
@@ -5145,7 +5110,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
5145
5110
|
});
|
|
5146
5111
|
return (_ctx, _cache) => {
|
|
5147
5112
|
return openBlock(), createElementBlock("span", null, [
|
|
5148
|
-
isLoading.value ? (openBlock(), createElementBlock("div", _hoisted_1$i, "Loading binary data...")) : error2.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
5113
|
+
isLoading.value ? (openBlock(), createElementBlock("div", _hoisted_1$i, "Loading binary data...")) : error2.value ? (openBlock(), createElementBlock("div", _hoisted_2$e, "Error loading binary data")) : (openBlock(), createElementBlock("span", _hoisted_3$7, [
|
|
5149
5114
|
_ctx.binaryData.fileType === "video" ? (openBlock(), createElementBlock("video", _hoisted_4$4, [
|
|
5150
5115
|
createBaseVNode("source", {
|
|
5151
5116
|
src: embedSource.value,
|
|
@@ -5158,27 +5123,30 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
5158
5123
|
type: _ctx.binaryData.mimeType
|
|
5159
5124
|
}, null, 8, _hoisted_7$3),
|
|
5160
5125
|
createTextVNode(" " + toDisplayString(_ctx.$locale.baseText("binaryDataDisplay.yourBrowserDoesNotSupport")), 1)
|
|
5161
|
-
])) : _ctx.binaryData.fileType === "
|
|
5126
|
+
])) : _ctx.binaryData.fileType === "image" ? (openBlock(), createElementBlock("img", {
|
|
5162
5127
|
key: 2,
|
|
5128
|
+
src: embedSource.value
|
|
5129
|
+
}, null, 8, _hoisted_8$3)) : _ctx.binaryData.fileType === "json" ? (openBlock(), createBlock(unref(VueJsonPretty), {
|
|
5130
|
+
key: 3,
|
|
5163
5131
|
data: data.value,
|
|
5164
5132
|
deep: 3,
|
|
5165
5133
|
"show-length": true
|
|
5166
5134
|
}, null, 8, ["data"])) : _ctx.binaryData.fileType === "html" ? (openBlock(), createBlock(RunDataHtml, {
|
|
5167
|
-
key:
|
|
5135
|
+
key: 4,
|
|
5168
5136
|
"input-html": data.value
|
|
5169
5137
|
}, null, 8, ["input-html"])) : (openBlock(), createElementBlock("embed", {
|
|
5170
|
-
key:
|
|
5138
|
+
key: 5,
|
|
5171
5139
|
src: embedSource.value,
|
|
5172
5140
|
class: normalizeClass(["binary-data", embedClass.value])
|
|
5173
|
-
}, null, 10,
|
|
5141
|
+
}, null, 10, _hoisted_9$2))
|
|
5174
5142
|
]))
|
|
5175
5143
|
]);
|
|
5176
5144
|
};
|
|
5177
5145
|
}
|
|
5178
5146
|
});
|
|
5179
5147
|
const _hoisted_1$h = { class: "binary-data-window-wrapper" };
|
|
5180
|
-
const _hoisted_2$
|
|
5181
|
-
const _sfc_main$
|
|
5148
|
+
const _hoisted_2$d = { key: 0 };
|
|
5149
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
5182
5150
|
__name: "BinaryDataDisplay",
|
|
5183
5151
|
props: {
|
|
5184
5152
|
displayData: {},
|
|
@@ -5237,7 +5205,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
5237
5205
|
onClick: withModifiers(closeWindow, ["stop"])
|
|
5238
5206
|
}, null, 8, ["title", "label"]),
|
|
5239
5207
|
createBaseVNode("div", _hoisted_1$h, [
|
|
5240
|
-
!binaryData.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
5208
|
+
!binaryData.value ? (openBlock(), createElementBlock("div", _hoisted_2$d, toDisplayString(_ctx.$locale.baseText("binaryDataDisplay.noDataFoundToDisplay")), 1)) : (openBlock(), createBlock(_sfc_main$K, {
|
|
5241
5209
|
key: 1,
|
|
5242
5210
|
"binary-data": binaryData.value
|
|
5243
5211
|
}, null, 8, ["binary-data"]))
|
|
@@ -5247,26 +5215,26 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
5247
5215
|
}
|
|
5248
5216
|
});
|
|
5249
5217
|
const LazyRunDataTable = defineAsyncComponent(
|
|
5250
|
-
async () => await __vitePreload(() => import("./RunDataTable-
|
|
5218
|
+
async () => await __vitePreload(() => import("./RunDataTable-D3OOm7ll.js"), true ? __vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33]) : void 0)
|
|
5251
5219
|
);
|
|
5252
5220
|
const LazyRunDataJson = defineAsyncComponent(
|
|
5253
|
-
async () => await __vitePreload(() => import("./RunDataJson-
|
|
5221
|
+
async () => await __vitePreload(() => import("./RunDataJson-Cxnl7zBS.js"), true ? __vite__mapDeps([34,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,35,36]) : void 0)
|
|
5254
5222
|
);
|
|
5255
5223
|
const LazyRunDataSchema = defineAsyncComponent(
|
|
5256
|
-
async () => await __vitePreload(() => import("./index-
|
|
5224
|
+
async () => await __vitePreload(() => import("./index-DAAQrhEE.js").then((n) => n.eQ), true ? __vite__mapDeps([1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32]) : void 0)
|
|
5257
5225
|
);
|
|
5258
5226
|
const LazyRunDataHtml = defineAsyncComponent(
|
|
5259
5227
|
async () => await __vitePreload(() => Promise.resolve().then(() => RunDataHtml$1), true ? void 0 : void 0)
|
|
5260
5228
|
);
|
|
5261
5229
|
const LazyRunDataSearch = defineAsyncComponent(
|
|
5262
|
-
async () => await __vitePreload(() => import("./RunDataSearch-
|
|
5230
|
+
async () => await __vitePreload(() => import("./RunDataSearch-DEZgbY-N.js"), true ? __vite__mapDeps([37,2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,38]) : void 0)
|
|
5263
5231
|
);
|
|
5264
|
-
const _sfc_main$
|
|
5232
|
+
const _sfc_main$I = defineComponent({
|
|
5265
5233
|
name: "RunData",
|
|
5266
5234
|
components: {
|
|
5267
|
-
BinaryDataDisplay: _sfc_main$
|
|
5268
|
-
NodeErrorView: _sfc_main$
|
|
5269
|
-
JsonEditor: __unplugin_components_2$
|
|
5235
|
+
BinaryDataDisplay: _sfc_main$J,
|
|
5236
|
+
NodeErrorView: _sfc_main$Z,
|
|
5237
|
+
JsonEditor: __unplugin_components_2$3,
|
|
5270
5238
|
LazyRunDataTable,
|
|
5271
5239
|
LazyRunDataJson,
|
|
5272
5240
|
LazyRunDataSchema,
|
|
@@ -6322,25 +6290,24 @@ const style0$s = {
|
|
|
6322
6290
|
hintCallout,
|
|
6323
6291
|
schema
|
|
6324
6292
|
};
|
|
6325
|
-
const _withScopeId$4 = (n) => (pushScopeId("data-v-
|
|
6293
|
+
const _withScopeId$4 = (n) => (pushScopeId("data-v-67dd7fe5"), n = n(), popScopeId(), n);
|
|
6326
6294
|
const _hoisted_1$g = {
|
|
6327
6295
|
key: 0,
|
|
6328
6296
|
class: "ml-4xs"
|
|
6329
6297
|
};
|
|
6330
|
-
const _hoisted_2$
|
|
6331
|
-
const _hoisted_3$
|
|
6332
|
-
const _hoisted_4$3 = ["
|
|
6333
|
-
const _hoisted_5$4 =
|
|
6334
|
-
const _hoisted_6$3 = { key:
|
|
6335
|
-
const _hoisted_7$2 = { key:
|
|
6336
|
-
const _hoisted_8$2 = { key:
|
|
6337
|
-
const _hoisted_9$
|
|
6338
|
-
const _hoisted_10$1 = { key: 4 };
|
|
6298
|
+
const _hoisted_2$c = { key: 1 };
|
|
6299
|
+
const _hoisted_3$6 = { key: 0 };
|
|
6300
|
+
const _hoisted_4$3 = ["data-test-id"];
|
|
6301
|
+
const _hoisted_5$4 = { key: 0 };
|
|
6302
|
+
const _hoisted_6$3 = { key: 1 };
|
|
6303
|
+
const _hoisted_7$2 = { key: 2 };
|
|
6304
|
+
const _hoisted_8$2 = { key: 3 };
|
|
6305
|
+
const _hoisted_9$1 = { key: 4 };
|
|
6339
6306
|
function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6340
6307
|
var _a, _b, _c, _d, _e, _f;
|
|
6341
6308
|
const _component_n8n_link = resolveComponent("n8n-link");
|
|
6342
6309
|
const _component_n8n_callout = resolveComponent("n8n-callout");
|
|
6343
|
-
const _component_BinaryDataDisplay = _sfc_main$
|
|
6310
|
+
const _component_BinaryDataDisplay = _sfc_main$J;
|
|
6344
6311
|
const _component_LazyRunDataSearch = resolveComponent("LazyRunDataSearch");
|
|
6345
6312
|
const _component_n8n_radio_buttons = resolveComponent("n8n-radio-buttons");
|
|
6346
6313
|
const _component_n8n_icon_button = resolveComponent("n8n-icon-button");
|
|
@@ -6352,9 +6319,9 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6352
6319
|
const _component_n8n_text = resolveComponent("n8n-text");
|
|
6353
6320
|
const _component_n8n_tabs = resolveComponent("n8n-tabs");
|
|
6354
6321
|
const _component_n8n_spinner = resolveComponent("n8n-spinner");
|
|
6355
|
-
const _component_JsonEditor = __unplugin_components_2$
|
|
6322
|
+
const _component_JsonEditor = __unplugin_components_2$3;
|
|
6356
6323
|
const _component_n8n_info_tip = resolveComponent("n8n-info-tip");
|
|
6357
|
-
const _component_NodeErrorView = _sfc_main$
|
|
6324
|
+
const _component_NodeErrorView = _sfc_main$Z;
|
|
6358
6325
|
const _component_i18n_t = resolveComponent("i18n-t");
|
|
6359
6326
|
const _component_LazyRunDataTable = resolveComponent("LazyRunDataTable");
|
|
6360
6327
|
const _component_LazyRunDataJson = resolveComponent("LazyRunDataJson");
|
|
@@ -6362,6 +6329,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6362
6329
|
const _component_LazyRunDataSchema = resolveComponent("LazyRunDataSchema");
|
|
6363
6330
|
const _component_el_pagination = resolveComponent("el-pagination");
|
|
6364
6331
|
const _component_n8n_block_ui = resolveComponent("n8n-block-ui");
|
|
6332
|
+
const _directive_n8n_html = resolveDirective("n8n-html");
|
|
6365
6333
|
return openBlock(), createElementBlock("div", {
|
|
6366
6334
|
class: normalizeClass(["run-data", _ctx.$style.container]),
|
|
6367
6335
|
onMouseover: _cache[12] || (_cache[12] = (...args) => _ctx.activatePane && _ctx.activatePane(...args))
|
|
@@ -6559,10 +6527,9 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6559
6527
|
theme: hint.type || "info"
|
|
6560
6528
|
}, {
|
|
6561
6529
|
default: withCtx(() => [
|
|
6562
|
-
createVNode(_component_n8n_text, {
|
|
6563
|
-
|
|
6564
|
-
|
|
6565
|
-
}, null, 8, ["innerHTML"])
|
|
6530
|
+
withDirectives(createVNode(_component_n8n_text, { size: "small" }, null, 512), [
|
|
6531
|
+
[_directive_n8n_html, hint.message]
|
|
6532
|
+
])
|
|
6566
6533
|
]),
|
|
6567
6534
|
_: 2
|
|
6568
6535
|
}, 1032, ["class", "theme"]);
|
|
@@ -6724,7 +6691,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6724
6691
|
];
|
|
6725
6692
|
}),
|
|
6726
6693
|
_: 1
|
|
6727
|
-
}, 8, ["class"])) : _ctx.$slots["content"] ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
6694
|
+
}, 8, ["class"])) : _ctx.$slots["content"] ? (openBlock(), createElementBlock("div", _hoisted_2$c, [
|
|
6728
6695
|
_ctx.workflowRunErrorAsNodeError ? (openBlock(), createBlock(_component_NodeErrorView, {
|
|
6729
6696
|
key: 0,
|
|
6730
6697
|
error: _ctx.workflowRunErrorAsNodeError,
|
|
@@ -6741,7 +6708,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6741
6708
|
key: 7,
|
|
6742
6709
|
class: normalizeClass(_ctx.$style.center)
|
|
6743
6710
|
}, [
|
|
6744
|
-
_ctx.search ? (openBlock(), createElementBlock("div", _hoisted_3$
|
|
6711
|
+
_ctx.search ? (openBlock(), createElementBlock("div", _hoisted_3$6, [
|
|
6745
6712
|
createVNode(_component_n8n_text, {
|
|
6746
6713
|
tag: "h3",
|
|
6747
6714
|
size: "large"
|
|
@@ -6800,11 +6767,14 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6800
6767
|
tag: "div"
|
|
6801
6768
|
}, {
|
|
6802
6769
|
default: withCtx(() => [
|
|
6803
|
-
createBaseVNode("span",
|
|
6804
|
-
|
|
6805
|
-
|
|
6806
|
-
|
|
6807
|
-
|
|
6770
|
+
withDirectives(createBaseVNode("span", null, null, 512), [
|
|
6771
|
+
[
|
|
6772
|
+
_directive_n8n_html,
|
|
6773
|
+
_ctx.$locale.baseText("ndv.output.tooMuchData.message", {
|
|
6774
|
+
interpolate: { size: _ctx.dataSizeInMB }
|
|
6775
|
+
})
|
|
6776
|
+
]
|
|
6777
|
+
])
|
|
6808
6778
|
]),
|
|
6809
6779
|
_: 1
|
|
6810
6780
|
}),
|
|
@@ -6957,7 +6927,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6957
6927
|
createBaseVNode("div", {
|
|
6958
6928
|
class: normalizeClass(_ctx.$style.binaryHeader)
|
|
6959
6929
|
}, toDisplayString(key), 3),
|
|
6960
|
-
binaryData.fileName ? (openBlock(), createElementBlock("div",
|
|
6930
|
+
binaryData.fileName ? (openBlock(), createElementBlock("div", _hoisted_5$4, [
|
|
6961
6931
|
createBaseVNode("div", null, [
|
|
6962
6932
|
createVNode(_component_n8n_text, {
|
|
6963
6933
|
size: "small",
|
|
@@ -6973,7 +6943,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6973
6943
|
class: normalizeClass(_ctx.$style.binaryValue)
|
|
6974
6944
|
}, toDisplayString(binaryData.fileName), 3)
|
|
6975
6945
|
])) : createCommentVNode("", true),
|
|
6976
|
-
binaryData.directory ? (openBlock(), createElementBlock("div",
|
|
6946
|
+
binaryData.directory ? (openBlock(), createElementBlock("div", _hoisted_6$3, [
|
|
6977
6947
|
createBaseVNode("div", null, [
|
|
6978
6948
|
createVNode(_component_n8n_text, {
|
|
6979
6949
|
size: "small",
|
|
@@ -6989,7 +6959,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6989
6959
|
class: normalizeClass(_ctx.$style.binaryValue)
|
|
6990
6960
|
}, toDisplayString(binaryData.directory), 3)
|
|
6991
6961
|
])) : createCommentVNode("", true),
|
|
6992
|
-
binaryData.fileExtension ? (openBlock(), createElementBlock("div",
|
|
6962
|
+
binaryData.fileExtension ? (openBlock(), createElementBlock("div", _hoisted_7$2, [
|
|
6993
6963
|
createBaseVNode("div", null, [
|
|
6994
6964
|
createVNode(_component_n8n_text, {
|
|
6995
6965
|
size: "small",
|
|
@@ -7005,7 +6975,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7005
6975
|
class: normalizeClass(_ctx.$style.binaryValue)
|
|
7006
6976
|
}, toDisplayString(binaryData.fileExtension), 3)
|
|
7007
6977
|
])) : createCommentVNode("", true),
|
|
7008
|
-
binaryData.mimeType ? (openBlock(), createElementBlock("div",
|
|
6978
|
+
binaryData.mimeType ? (openBlock(), createElementBlock("div", _hoisted_8$2, [
|
|
7009
6979
|
createBaseVNode("div", null, [
|
|
7010
6980
|
createVNode(_component_n8n_text, {
|
|
7011
6981
|
size: "small",
|
|
@@ -7021,7 +6991,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7021
6991
|
class: normalizeClass(_ctx.$style.binaryValue)
|
|
7022
6992
|
}, toDisplayString(binaryData.mimeType), 3)
|
|
7023
6993
|
])) : createCommentVNode("", true),
|
|
7024
|
-
binaryData.fileSize ? (openBlock(), createElementBlock("div",
|
|
6994
|
+
binaryData.fileSize ? (openBlock(), createElementBlock("div", _hoisted_9$1, [
|
|
7025
6995
|
createBaseVNode("div", null, [
|
|
7026
6996
|
createVNode(_component_n8n_text, {
|
|
7027
6997
|
size: "small",
|
|
@@ -7056,7 +7026,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7056
7026
|
onClick: ($event) => _ctx.downloadBinaryData(index, key)
|
|
7057
7027
|
}, null, 8, ["label", "onClick"])) : createCommentVNode("", true)
|
|
7058
7028
|
], 2)
|
|
7059
|
-
], 8,
|
|
7029
|
+
], 8, _hoisted_4$3)
|
|
7060
7030
|
], 2);
|
|
7061
7031
|
}), 128))
|
|
7062
7032
|
], 2)
|
|
@@ -7119,11 +7089,10 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7119
7089
|
const cssModules$u = {
|
|
7120
7090
|
"$style": style0$s
|
|
7121
7091
|
};
|
|
7122
|
-
const __unplugin_components_3 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7123
|
-
const _hoisted_1$f =
|
|
7124
|
-
const _hoisted_2$
|
|
7125
|
-
const
|
|
7126
|
-
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
7092
|
+
const __unplugin_components_3 = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["render", _sfc_render$6], ["__cssModules", cssModules$u], ["__scopeId", "data-v-67dd7fe5"]]);
|
|
7093
|
+
const _hoisted_1$f = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
|
|
7094
|
+
const _hoisted_2$b = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
|
|
7095
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
7127
7096
|
__name: "RunInfo",
|
|
7128
7097
|
props: {
|
|
7129
7098
|
taskData: {},
|
|
@@ -7153,6 +7122,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
7153
7122
|
return (_ctx, _cache) => {
|
|
7154
7123
|
const _component_n8n_info_tip = resolveComponent("n8n-info-tip");
|
|
7155
7124
|
const _component_n8n_text = resolveComponent("n8n-text");
|
|
7125
|
+
const _directive_n8n_html = resolveDirective("n8n-html");
|
|
7156
7126
|
return _ctx.hasStaleData ? (openBlock(), createBlock(_component_n8n_info_tip, {
|
|
7157
7127
|
key: 0,
|
|
7158
7128
|
theme: "warning",
|
|
@@ -7161,11 +7131,14 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
7161
7131
|
"data-test-id": "node-run-info-stale"
|
|
7162
7132
|
}, {
|
|
7163
7133
|
default: withCtx(() => [
|
|
7164
|
-
createBaseVNode("span",
|
|
7165
|
-
|
|
7166
|
-
|
|
7167
|
-
|
|
7168
|
-
|
|
7134
|
+
withDirectives(createBaseVNode("span", null, null, 512), [
|
|
7135
|
+
[
|
|
7136
|
+
_directive_n8n_html,
|
|
7137
|
+
unref(i18n2).baseText(
|
|
7138
|
+
_ctx.hasPinData ? "ndv.output.staleDataWarning.pinData" : "ndv.output.staleDataWarning.regular"
|
|
7139
|
+
)
|
|
7140
|
+
]
|
|
7141
|
+
])
|
|
7169
7142
|
]),
|
|
7170
7143
|
_: 1
|
|
7171
7144
|
})) : runMetadata.value ? (openBlock(), createBlock(_component_n8n_info_tip, {
|
|
@@ -7189,7 +7162,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
7189
7162
|
}),
|
|
7190
7163
|
_: 1
|
|
7191
7164
|
}),
|
|
7192
|
-
|
|
7165
|
+
_hoisted_1$f,
|
|
7193
7166
|
createVNode(_component_n8n_text, {
|
|
7194
7167
|
bold: true,
|
|
7195
7168
|
size: "small"
|
|
@@ -7200,7 +7173,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
7200
7173
|
_: 1
|
|
7201
7174
|
}),
|
|
7202
7175
|
createTextVNode(" " + toDisplayString(runMetadata.value.startTime), 1),
|
|
7203
|
-
|
|
7176
|
+
_hoisted_2$b,
|
|
7204
7177
|
createVNode(_component_n8n_text, {
|
|
7205
7178
|
bold: true,
|
|
7206
7179
|
size: "small"
|
|
@@ -7219,7 +7192,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
|
7219
7192
|
}
|
|
7220
7193
|
});
|
|
7221
7194
|
const _hoisted_1$e = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
|
|
7222
|
-
const _sfc_main$
|
|
7195
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
7223
7196
|
__name: "OutputPanel",
|
|
7224
7197
|
props: {
|
|
7225
7198
|
workflow: {},
|
|
@@ -7450,7 +7423,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
7450
7423
|
key: 1,
|
|
7451
7424
|
class: normalizeClass(_ctx.$style.title)
|
|
7452
7425
|
}, toDisplayString(_ctx.$locale.baseText(outputPanelEditMode.value.enabled ? "ndv.output.edit" : "ndv.output")), 3)),
|
|
7453
|
-
hasNodeRun.value && !unref(pinnedData2).hasData.value && runsCount.value === 1 ? withDirectives((openBlock(), createBlock(_sfc_main$
|
|
7426
|
+
hasNodeRun.value && !unref(pinnedData2).hasData.value && runsCount.value === 1 ? withDirectives((openBlock(), createBlock(_sfc_main$H, {
|
|
7454
7427
|
key: 2,
|
|
7455
7428
|
"task-data": runTaskData.value,
|
|
7456
7429
|
"has-stale-data": staleData.value,
|
|
@@ -7559,7 +7532,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
7559
7532
|
!unref(pinnedData2).hasData.value && runsCount.value > 1 ? {
|
|
7560
7533
|
name: "run-info",
|
|
7561
7534
|
fn: withCtx(() => [
|
|
7562
|
-
createVNode(_sfc_main$
|
|
7535
|
+
createVNode(_sfc_main$H, { "task-data": runTaskData.value }, null, 8, ["task-data"])
|
|
7563
7536
|
]),
|
|
7564
7537
|
key: "1"
|
|
7565
7538
|
} : void 0
|
|
@@ -7582,8 +7555,8 @@ const style0$r = {
|
|
|
7582
7555
|
const cssModules$t = {
|
|
7583
7556
|
"$style": style0$r
|
|
7584
7557
|
};
|
|
7585
|
-
const OutputPanel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7586
|
-
const _sfc_main$
|
|
7558
|
+
const OutputPanel = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__cssModules", cssModules$t]]);
|
|
7559
|
+
const _sfc_main$F = {};
|
|
7587
7560
|
const _hoisted_1$d = {
|
|
7588
7561
|
width: "112",
|
|
7589
7562
|
height: "80",
|
|
@@ -7592,16 +7565,16 @@ const _hoisted_1$d = {
|
|
|
7592
7565
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7593
7566
|
"xmlns:xlink": "http://www.w3.org/1999/xlink"
|
|
7594
7567
|
};
|
|
7595
|
-
const _hoisted_2$
|
|
7568
|
+
const _hoisted_2$a = /* @__PURE__ */ createStaticVNode('<mask id="mask0_489_46042" style="mask-type:alpha;" maskUnits="userSpaceOnUse" x="0" y="0" width="112" height="80"><rect width="112" height="80" fill="url(#paint0_linear_489_46042)"></rect></mask><g mask="url(#mask0_489_46042)"><rect x="-0.5" width="112" height="80" fill="url(#pattern0)" fill-opacity="0.6"></rect></g><defs><pattern id="pattern0" patternContentUnits="objectBoundingBox" width="1" height="1"><use xlink:href="#image0_489_46042" transform="scale(0.00357143 0.005)"></use></pattern><linearGradient id="paint0_linear_489_46042" x1="90.5" y1="40.4494" x2="112.5" y2="40.4494" gradientUnits="userSpaceOnUse"><stop></stop><stop offset="1" stop-color="white" stop-opacity="0"></stop></linearGradient><image id="image0_489_46042" width="280" height="200" xlink:href="data:image/png;base64,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"></image></defs>', 3);
|
|
7596
7569
|
const _hoisted_5$3 = [
|
|
7597
|
-
_hoisted_2$
|
|
7570
|
+
_hoisted_2$a
|
|
7598
7571
|
];
|
|
7599
7572
|
function _sfc_render$5(_ctx, _cache) {
|
|
7600
7573
|
return openBlock(), createElementBlock("svg", _hoisted_1$d, _hoisted_5$3);
|
|
7601
7574
|
}
|
|
7602
|
-
const __unplugin_components_2$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7575
|
+
const __unplugin_components_2$1 = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["render", _sfc_render$5]]);
|
|
7603
7576
|
const _hoisted_1$c = { key: 0 };
|
|
7604
|
-
const _sfc_main$
|
|
7577
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
7605
7578
|
__name: "InputNodeSelect",
|
|
7606
7579
|
props: {
|
|
7607
7580
|
nodes: {},
|
|
@@ -7708,7 +7681,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
7708
7681
|
prefix: withCtx(() => {
|
|
7709
7682
|
var _a;
|
|
7710
7683
|
return [
|
|
7711
|
-
createVNode(_sfc_main$
|
|
7684
|
+
createVNode(_sfc_main$X, {
|
|
7712
7685
|
disabled: (_a = selectedInputNode.value) == null ? void 0 : _a.disabled,
|
|
7713
7686
|
"node-type": selectedInputNodeType.value,
|
|
7714
7687
|
size: 14,
|
|
@@ -7726,7 +7699,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
7726
7699
|
"data-test-id": "ndv-input-option"
|
|
7727
7700
|
}, {
|
|
7728
7701
|
default: withCtx(() => [
|
|
7729
|
-
createVNode(_sfc_main$
|
|
7702
|
+
createVNode(_sfc_main$X, {
|
|
7730
7703
|
disabled: node2.disabled,
|
|
7731
7704
|
"node-type": type,
|
|
7732
7705
|
size: 14,
|
|
@@ -7769,10 +7742,10 @@ const style0$q = {
|
|
|
7769
7742
|
const cssModules$s = {
|
|
7770
7743
|
"$style": style0$q
|
|
7771
7744
|
};
|
|
7772
|
-
const __unplugin_components_0$7 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
7773
|
-
const _sfc_main$
|
|
7745
|
+
const __unplugin_components_0$7 = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__cssModules", cssModules$s]]);
|
|
7746
|
+
const _sfc_main$D = defineComponent({
|
|
7774
7747
|
name: "InputPanel",
|
|
7775
|
-
components: { RunData: __unplugin_components_3, NodeExecuteButton:
|
|
7748
|
+
components: { RunData: __unplugin_components_3, NodeExecuteButton: _sfc_main$R, WireMeUp: __unplugin_components_2$1, InputNodeSelect: __unplugin_components_0$7 },
|
|
7776
7749
|
props: {
|
|
7777
7750
|
currentNodeName: {
|
|
7778
7751
|
type: String
|
|
@@ -8057,15 +8030,15 @@ const style0$p = {
|
|
|
8057
8030
|
notConnected,
|
|
8058
8031
|
title
|
|
8059
8032
|
};
|
|
8060
|
-
const _hoisted_1$b = ["innerHTML"];
|
|
8061
8033
|
function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8062
8034
|
const _component_n8n_radio_buttons = resolveComponent("n8n-radio-buttons");
|
|
8063
8035
|
const _component_InputNodeSelect = __unplugin_components_0$7;
|
|
8064
8036
|
const _component_n8n_text = resolveComponent("n8n-text");
|
|
8065
|
-
const _component_NodeExecuteButton =
|
|
8037
|
+
const _component_NodeExecuteButton = _sfc_main$R;
|
|
8066
8038
|
const _component_n8n_tooltip = resolveComponent("n8n-tooltip");
|
|
8067
8039
|
const _component_WireMeUp = __unplugin_components_2$1;
|
|
8068
8040
|
const _component_RunData = __unplugin_components_3;
|
|
8041
|
+
const _directive_n8n_html = resolveDirective("n8n-html");
|
|
8069
8042
|
return openBlock(), createBlock(_component_RunData, {
|
|
8070
8043
|
node: _ctx.currentNode,
|
|
8071
8044
|
nodes: _ctx.isMappingMode ? _ctx.rootNodesParents : _ctx.parentNodes,
|
|
@@ -8138,11 +8111,14 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8138
8111
|
visible: _ctx.showDraggableHint && _ctx.showDraggableHintWithDelay
|
|
8139
8112
|
}, {
|
|
8140
8113
|
content: withCtx(() => [
|
|
8141
|
-
createBaseVNode("div",
|
|
8142
|
-
|
|
8143
|
-
|
|
8144
|
-
|
|
8145
|
-
|
|
8114
|
+
withDirectives(createBaseVNode("div", null, null, 512), [
|
|
8115
|
+
[
|
|
8116
|
+
_directive_n8n_html,
|
|
8117
|
+
_ctx.$locale.baseText("dataMapping.dragFromPreviousHint", {
|
|
8118
|
+
interpolate: { name: _ctx.focusedMappableInput }
|
|
8119
|
+
})
|
|
8120
|
+
]
|
|
8121
|
+
])
|
|
8146
8122
|
]),
|
|
8147
8123
|
default: withCtx(() => [
|
|
8148
8124
|
createVNode(_component_NodeExecuteButton, {
|
|
@@ -8264,13 +8240,13 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8264
8240
|
const cssModules$r = {
|
|
8265
8241
|
"$style": style0$p
|
|
8266
8242
|
};
|
|
8267
|
-
const InputPanel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8268
|
-
const _sfc_main$
|
|
8243
|
+
const InputPanel = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$4], ["__cssModules", cssModules$r]]);
|
|
8244
|
+
const _sfc_main$C = defineComponent({
|
|
8269
8245
|
name: "TriggerPanel",
|
|
8270
8246
|
components: {
|
|
8271
|
-
NodeExecuteButton:
|
|
8247
|
+
NodeExecuteButton: _sfc_main$R,
|
|
8272
8248
|
CopyInput,
|
|
8273
|
-
NodeIcon: _sfc_main$
|
|
8249
|
+
NodeIcon: _sfc_main$X
|
|
8274
8250
|
},
|
|
8275
8251
|
props: {
|
|
8276
8252
|
nodeName: {
|
|
@@ -8579,9 +8555,9 @@ const style0$o = {
|
|
|
8579
8555
|
shake: shake$1,
|
|
8580
8556
|
accordion
|
|
8581
8557
|
};
|
|
8582
|
-
const _withScopeId$3 = (n) => (pushScopeId("data-v-
|
|
8583
|
-
const _hoisted_1$
|
|
8584
|
-
const _hoisted_2$
|
|
8558
|
+
const _withScopeId$3 = (n) => (pushScopeId("data-v-32dc70fa"), n = n(), popScopeId(), n);
|
|
8559
|
+
const _hoisted_1$b = { key: "empty" };
|
|
8560
|
+
const _hoisted_2$9 = { key: "listening" };
|
|
8585
8561
|
const _hoisted_3$5 = { key: 0 };
|
|
8586
8562
|
const _hoisted_4$2 = { key: 1 };
|
|
8587
8563
|
const _hoisted_5$2 = { key: 0 };
|
|
@@ -8591,18 +8567,18 @@ const _hoisted_7$1 = {
|
|
|
8591
8567
|
class: "mb-xl"
|
|
8592
8568
|
};
|
|
8593
8569
|
const _hoisted_8$1 = ["textContent"];
|
|
8594
|
-
const _hoisted_9$1 = ["innerHTML"];
|
|
8595
8570
|
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8596
|
-
const _component_NodeIcon = _sfc_main$
|
|
8571
|
+
const _component_NodeIcon = _sfc_main$X;
|
|
8597
8572
|
const _component_n8n_pulse = resolveComponent("n8n-pulse");
|
|
8598
8573
|
const _component_n8n_text = resolveComponent("n8n-text");
|
|
8599
8574
|
const _component_CopyInput = CopyInput;
|
|
8600
|
-
const _component_NodeExecuteButton =
|
|
8575
|
+
const _component_NodeExecuteButton = _sfc_main$R;
|
|
8601
8576
|
const _component_n8n_button = resolveComponent("n8n-button");
|
|
8602
8577
|
const _component_n8n_spinner = resolveComponent("n8n-spinner");
|
|
8603
8578
|
const _component_n8n_heading = resolveComponent("n8n-heading");
|
|
8604
8579
|
const _component_n8n_link = resolveComponent("n8n-link");
|
|
8605
8580
|
const _component_n8n_info_accordion = resolveComponent("n8n-info-accordion");
|
|
8581
|
+
const _directive_n8n_html = resolveDirective("n8n-html");
|
|
8606
8582
|
return openBlock(), createElementBlock("div", {
|
|
8607
8583
|
class: normalizeClass(_ctx.$style.container)
|
|
8608
8584
|
}, [
|
|
@@ -8611,7 +8587,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8611
8587
|
mode: "out-in"
|
|
8612
8588
|
}, {
|
|
8613
8589
|
default: withCtx(() => [
|
|
8614
|
-
_ctx.hasIssues || _ctx.hideContent ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
8590
|
+
_ctx.hasIssues || _ctx.hideContent ? (openBlock(), createElementBlock("div", _hoisted_1$b)) : _ctx.isListeningForEvents ? (openBlock(), createElementBlock("div", _hoisted_2$9, [
|
|
8615
8591
|
createVNode(_component_n8n_pulse, null, {
|
|
8616
8592
|
default: withCtx(() => [
|
|
8617
8593
|
createVNode(_component_NodeIcon, {
|
|
@@ -8747,7 +8723,9 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8747
8723
|
onClick: _ctx.onLinkClick
|
|
8748
8724
|
}, {
|
|
8749
8725
|
default: withCtx(() => [
|
|
8750
|
-
createBaseVNode("span",
|
|
8726
|
+
withDirectives(createBaseVNode("span", null, null, 512), [
|
|
8727
|
+
[_directive_n8n_html, _ctx.activationHint]
|
|
8728
|
+
]),
|
|
8751
8729
|
createTextVNode(" ")
|
|
8752
8730
|
]),
|
|
8753
8731
|
_: 1
|
|
@@ -8780,8 +8758,8 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
8780
8758
|
const cssModules$q = {
|
|
8781
8759
|
"$style": style0$o
|
|
8782
8760
|
};
|
|
8783
|
-
const TriggerPanel = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
8784
|
-
const _sfc_main$
|
|
8761
|
+
const TriggerPanel = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render$3], ["__cssModules", cssModules$q], ["__scopeId", "data-v-32dc70fa"]]);
|
|
8762
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
8785
8763
|
__name: "NodeDetailsView",
|
|
8786
8764
|
props: {
|
|
8787
8765
|
workflowObject: {},
|
|
@@ -9456,7 +9434,7 @@ const style1 = {
|
|
|
9456
9434
|
const cssModules$p = {
|
|
9457
9435
|
"$style": style1
|
|
9458
9436
|
};
|
|
9459
|
-
const __unplugin_components_2 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
9437
|
+
const __unplugin_components_2 = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__cssModules", cssModules$p]]);
|
|
9460
9438
|
const NodeDetailsView = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9461
9439
|
__proto__: null,
|
|
9462
9440
|
default: __unplugin_components_2
|
|
@@ -9951,7 +9929,7 @@ function useNodeBase({
|
|
|
9951
9929
|
outputs: outputs2
|
|
9952
9930
|
};
|
|
9953
9931
|
}
|
|
9954
|
-
const _sfc_main$
|
|
9932
|
+
const _sfc_main$A = defineComponent({
|
|
9955
9933
|
name: "Sticky",
|
|
9956
9934
|
props: {
|
|
9957
9935
|
nodeViewScale: {
|
|
@@ -10225,8 +10203,8 @@ const _sfc_main$z = defineComponent({
|
|
|
10225
10203
|
}
|
|
10226
10204
|
});
|
|
10227
10205
|
const _withScopeId$2 = (n) => (pushScopeId("data-v-d3f1b373"), n = n(), popScopeId(), n);
|
|
10228
|
-
const _hoisted_1$
|
|
10229
|
-
const _hoisted_2$
|
|
10206
|
+
const _hoisted_1$a = ["id", "data-name"];
|
|
10207
|
+
const _hoisted_2$8 = { class: "select-sticky-background" };
|
|
10230
10208
|
const _hoisted_3$4 = ["title"];
|
|
10231
10209
|
const _hoisted_4$1 = ["title"];
|
|
10232
10210
|
const _hoisted_5$1 = { class: "content" };
|
|
@@ -10254,7 +10232,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10254
10232
|
}),
|
|
10255
10233
|
style: normalizeStyle(_ctx.stickySize)
|
|
10256
10234
|
}, [
|
|
10257
|
-
withDirectives(createBaseVNode("div", _hoisted_2$
|
|
10235
|
+
withDirectives(createBaseVNode("div", _hoisted_2$8, null, 512), [
|
|
10258
10236
|
[vShow, _ctx.isSelected]
|
|
10259
10237
|
]),
|
|
10260
10238
|
withDirectives((openBlock(), createElementBlock("div", {
|
|
@@ -10343,56 +10321,55 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
10343
10321
|
[vShow, _ctx.showActions]
|
|
10344
10322
|
])
|
|
10345
10323
|
], 6)
|
|
10346
|
-
], 12, _hoisted_1$
|
|
10324
|
+
], 12, _hoisted_1$a);
|
|
10347
10325
|
}
|
|
10348
|
-
const __unplugin_components_1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
10349
|
-
const _withScopeId$1 = (n) => (pushScopeId("data-v-
|
|
10350
|
-
const _hoisted_1$
|
|
10351
|
-
const _hoisted_2$
|
|
10326
|
+
const __unplugin_components_1 = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render$2], ["__scopeId", "data-v-d3f1b373"]]);
|
|
10327
|
+
const _withScopeId$1 = (n) => (pushScopeId("data-v-a84c6b35"), n = n(), popScopeId(), n);
|
|
10328
|
+
const _hoisted_1$9 = ["id", "data-name", "data-node-type"];
|
|
10329
|
+
const _hoisted_2$7 = { class: "select-background" };
|
|
10352
10330
|
const _hoisted_3$3 = {
|
|
10353
10331
|
key: 0,
|
|
10354
10332
|
class: "trigger-icon"
|
|
10355
10333
|
};
|
|
10356
|
-
const _hoisted_4 =
|
|
10357
|
-
const _hoisted_5 = {
|
|
10334
|
+
const _hoisted_4 = {
|
|
10358
10335
|
key: 0,
|
|
10359
10336
|
class: "node-issues",
|
|
10360
10337
|
"data-test-id": "node-issues"
|
|
10361
10338
|
};
|
|
10362
|
-
const
|
|
10339
|
+
const _hoisted_5 = {
|
|
10363
10340
|
key: 1,
|
|
10364
10341
|
class: "waiting"
|
|
10365
10342
|
};
|
|
10366
|
-
const
|
|
10367
|
-
const
|
|
10343
|
+
const _hoisted_6 = ["textContent"];
|
|
10344
|
+
const _hoisted_7 = {
|
|
10368
10345
|
key: 2,
|
|
10369
10346
|
class: "node-pin-data-icon"
|
|
10370
10347
|
};
|
|
10371
|
-
const
|
|
10348
|
+
const _hoisted_8 = {
|
|
10372
10349
|
key: 0,
|
|
10373
10350
|
class: "items-count"
|
|
10374
10351
|
};
|
|
10375
|
-
const
|
|
10376
|
-
const
|
|
10352
|
+
const _hoisted_9 = { key: 3 };
|
|
10353
|
+
const _hoisted_10 = {
|
|
10377
10354
|
key: 4,
|
|
10378
10355
|
class: "data-count"
|
|
10379
10356
|
};
|
|
10380
|
-
const
|
|
10357
|
+
const _hoisted_11 = {
|
|
10381
10358
|
key: 0,
|
|
10382
10359
|
class: "items-count"
|
|
10383
10360
|
};
|
|
10384
|
-
const
|
|
10385
|
-
const
|
|
10386
|
-
const
|
|
10361
|
+
const _hoisted_12 = ["title"];
|
|
10362
|
+
const _hoisted_13 = { class: "node-trigger-tooltip__wrapper" };
|
|
10363
|
+
const _hoisted_14 = ["textContent"];
|
|
10364
|
+
const _hoisted_15 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createBaseVNode("span", null, null, -1));
|
|
10387
10365
|
const _hoisted_16 = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createBaseVNode("span", null, null, -1));
|
|
10388
|
-
const _hoisted_17 =
|
|
10389
|
-
const _hoisted_18 =
|
|
10390
|
-
const _hoisted_19 =
|
|
10391
|
-
const _hoisted_20 = {
|
|
10392
|
-
const _hoisted_21 =
|
|
10393
|
-
const _hoisted_22 =
|
|
10394
|
-
const
|
|
10395
|
-
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
10366
|
+
const _hoisted_17 = { class: "node-description" };
|
|
10367
|
+
const _hoisted_18 = ["title"];
|
|
10368
|
+
const _hoisted_19 = { "data-test-id": "canvas-node-box-title" };
|
|
10369
|
+
const _hoisted_20 = { key: 0 };
|
|
10370
|
+
const _hoisted_21 = ["title"];
|
|
10371
|
+
const _hoisted_22 = { class: "node-options-inner" };
|
|
10372
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
10396
10373
|
__name: "Node",
|
|
10397
10374
|
props: {
|
|
10398
10375
|
name: {},
|
|
@@ -10867,6 +10844,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
10867
10844
|
return (_ctx, _cache) => {
|
|
10868
10845
|
var _a;
|
|
10869
10846
|
const _component_n8n_tooltip = resolveComponent("n8n-tooltip");
|
|
10847
|
+
const _directive_n8n_html = resolveDirective("n8n-html");
|
|
10870
10848
|
const _directive_touch = resolveDirective("touch");
|
|
10871
10849
|
return node2.value ? (openBlock(), createElementBlock("div", {
|
|
10872
10850
|
key: 0,
|
|
@@ -10879,7 +10857,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
10879
10857
|
"data-node-type": (_a = nodeType.value) == null ? void 0 : _a.name,
|
|
10880
10858
|
onContextmenu: _cache[3] || (_cache[3] = (e) => openContextMenu(e, "node-right-click"))
|
|
10881
10859
|
}, [
|
|
10882
|
-
withDirectives(createBaseVNode("div", _hoisted_2$
|
|
10860
|
+
withDirectives(createBaseVNode("div", _hoisted_2$7, null, 512), [
|
|
10883
10861
|
[vShow, isSelected.value]
|
|
10884
10862
|
]),
|
|
10885
10863
|
createBaseVNode("div", {
|
|
@@ -10899,9 +10877,9 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
10899
10877
|
isTriggerNode.value ? (openBlock(), createElementBlock("i", _hoisted_3$3, [
|
|
10900
10878
|
createVNode(_component_n8n_tooltip, { placement: "bottom" }, {
|
|
10901
10879
|
content: withCtx(() => [
|
|
10902
|
-
createBaseVNode("span",
|
|
10903
|
-
|
|
10904
|
-
|
|
10880
|
+
withDirectives(createBaseVNode("span", null, null, 512), [
|
|
10881
|
+
[_directive_n8n_html, unref(i18n2).baseText("node.thisIsATriggerNode")]
|
|
10882
|
+
])
|
|
10905
10883
|
]),
|
|
10906
10884
|
default: withCtx(() => [
|
|
10907
10885
|
createVNode(unref(FontAwesomeIcon), {
|
|
@@ -10916,7 +10894,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
10916
10894
|
key: 1,
|
|
10917
10895
|
class: normalizeClass({ "node-info-icon": true, "shift-icon": shiftOutputCount.value })
|
|
10918
10896
|
}, [
|
|
10919
|
-
hasIssues2.value && !_ctx.hideNodeIssues ? (openBlock(), createElementBlock("div",
|
|
10897
|
+
hasIssues2.value && !_ctx.hideNodeIssues ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
10920
10898
|
createVNode(_component_n8n_tooltip, {
|
|
10921
10899
|
"show-after": 500,
|
|
10922
10900
|
placement: "bottom"
|
|
@@ -10932,24 +10910,24 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
10932
10910
|
]),
|
|
10933
10911
|
_: 1
|
|
10934
10912
|
})
|
|
10935
|
-
])) : waiting.value || nodeExecutionStatus.value === "waiting" ? (openBlock(), createElementBlock("div",
|
|
10913
|
+
])) : waiting.value || nodeExecutionStatus.value === "waiting" ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
10936
10914
|
createVNode(_component_n8n_tooltip, { placement: "bottom" }, {
|
|
10937
10915
|
content: withCtx(() => [
|
|
10938
10916
|
createBaseVNode("div", {
|
|
10939
10917
|
textContent: toDisplayString(waiting.value)
|
|
10940
|
-
}, null, 8,
|
|
10918
|
+
}, null, 8, _hoisted_6)
|
|
10941
10919
|
]),
|
|
10942
10920
|
default: withCtx(() => [
|
|
10943
10921
|
createVNode(unref(FontAwesomeIcon), { icon: "clock" })
|
|
10944
10922
|
]),
|
|
10945
10923
|
_: 1
|
|
10946
10924
|
})
|
|
10947
|
-
])) : showPinnedDataInfo.value ? (openBlock(), createElementBlock("span",
|
|
10925
|
+
])) : showPinnedDataInfo.value ? (openBlock(), createElementBlock("span", _hoisted_7, [
|
|
10948
10926
|
createVNode(unref(FontAwesomeIcon), { icon: "thumbtack" }),
|
|
10949
|
-
workflowDataItems.value > 1 ? (openBlock(), createElementBlock("span",
|
|
10950
|
-
])) : nodeExecutionStatus.value === "unknown" ? (openBlock(), createElementBlock("span",
|
|
10927
|
+
workflowDataItems.value > 1 ? (openBlock(), createElementBlock("span", _hoisted_8, toDisplayString(workflowDataItems.value), 1)) : createCommentVNode("", true)
|
|
10928
|
+
])) : nodeExecutionStatus.value === "unknown" ? (openBlock(), createElementBlock("span", _hoisted_9)) : workflowDataItems.value ? (openBlock(), createElementBlock("span", _hoisted_10, [
|
|
10951
10929
|
createVNode(unref(FontAwesomeIcon), { icon: "check" }),
|
|
10952
|
-
workflowDataItems.value > 1 ? (openBlock(), createElementBlock("span",
|
|
10930
|
+
workflowDataItems.value > 1 ? (openBlock(), createElementBlock("span", _hoisted_11, toDisplayString(workflowDataItems.value), 1)) : createCommentVNode("", true)
|
|
10953
10931
|
])) : createCommentVNode("", true)
|
|
10954
10932
|
], 2)) : createCommentVNode("", true),
|
|
10955
10933
|
createBaseVNode("div", {
|
|
@@ -10960,8 +10938,8 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
10960
10938
|
icon: "sync-alt",
|
|
10961
10939
|
spin: ""
|
|
10962
10940
|
})
|
|
10963
|
-
], 8,
|
|
10964
|
-
createBaseVNode("div",
|
|
10941
|
+
], 8, _hoisted_12),
|
|
10942
|
+
createBaseVNode("div", _hoisted_13, [
|
|
10965
10943
|
createVNode(_component_n8n_tooltip, {
|
|
10966
10944
|
placement: "top",
|
|
10967
10945
|
"show-after": 500,
|
|
@@ -10971,10 +10949,10 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
10971
10949
|
content: withCtx(() => [
|
|
10972
10950
|
createBaseVNode("div", {
|
|
10973
10951
|
textContent: toDisplayString(getTriggerNodeTooltip.value)
|
|
10974
|
-
}, null, 8,
|
|
10952
|
+
}, null, 8, _hoisted_14)
|
|
10975
10953
|
]),
|
|
10976
10954
|
default: withCtx(() => [
|
|
10977
|
-
|
|
10955
|
+
_hoisted_15
|
|
10978
10956
|
]),
|
|
10979
10957
|
_: 1
|
|
10980
10958
|
}, 8, ["visible"]),
|
|
@@ -10988,12 +10966,12 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
10988
10966
|
createTextVNode(toDisplayString(unref(i18n2).baseText("node.discovery.pinData.canvas")), 1)
|
|
10989
10967
|
]),
|
|
10990
10968
|
default: withCtx(() => [
|
|
10991
|
-
|
|
10969
|
+
_hoisted_16
|
|
10992
10970
|
]),
|
|
10993
10971
|
_: 1
|
|
10994
10972
|
}, 8, ["visible"])) : createCommentVNode("", true)
|
|
10995
10973
|
]),
|
|
10996
|
-
createVNode(_sfc_main$
|
|
10974
|
+
createVNode(_sfc_main$X, {
|
|
10997
10975
|
class: "node-icon",
|
|
10998
10976
|
"node-type": iconNodeType.value,
|
|
10999
10977
|
size: 40,
|
|
@@ -11013,19 +10991,19 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
11013
10991
|
})
|
|
11014
10992
|
}, null, 2)) : createCommentVNode("", true)
|
|
11015
10993
|
], 2),
|
|
11016
|
-
createBaseVNode("div",
|
|
10994
|
+
createBaseVNode("div", _hoisted_17, [
|
|
11017
10995
|
createBaseVNode("div", {
|
|
11018
10996
|
class: "node-name",
|
|
11019
10997
|
title: nodeTitle.value
|
|
11020
10998
|
}, [
|
|
11021
|
-
createBaseVNode("p",
|
|
11022
|
-
node2.value.disabled ? (openBlock(), createElementBlock("p",
|
|
11023
|
-
], 8,
|
|
10999
|
+
createBaseVNode("p", _hoisted_19, toDisplayString(nodeTitle.value), 1),
|
|
11000
|
+
node2.value.disabled ? (openBlock(), createElementBlock("p", _hoisted_20, "(" + toDisplayString(unref(i18n2).baseText("node.disabled")) + ")", 1)) : createCommentVNode("", true)
|
|
11001
|
+
], 8, _hoisted_18),
|
|
11024
11002
|
nodeSubtitle.value !== void 0 ? (openBlock(), createElementBlock("div", {
|
|
11025
11003
|
key: 0,
|
|
11026
11004
|
class: "node-subtitle",
|
|
11027
11005
|
title: nodeSubtitle.value
|
|
11028
|
-
}, toDisplayString(nodeSubtitle.value), 9,
|
|
11006
|
+
}, toDisplayString(nodeSubtitle.value), 9, _hoisted_21)) : createCommentVNode("", true)
|
|
11029
11007
|
]),
|
|
11030
11008
|
!_ctx.isReadOnly ? withDirectives((openBlock(), createElementBlock("div", {
|
|
11031
11009
|
key: 0,
|
|
@@ -11035,8 +11013,8 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
11035
11013
|
onMousedown: _cache[2] || (_cache[2] = withModifiers(() => {
|
|
11036
11014
|
}, ["stop"]))
|
|
11037
11015
|
}, [
|
|
11038
|
-
createBaseVNode("div",
|
|
11039
|
-
!isConfigNode.value ? (openBlock(), createBlock(unref(_sfc_main$
|
|
11016
|
+
createBaseVNode("div", _hoisted_22, [
|
|
11017
|
+
!isConfigNode.value ? (openBlock(), createBlock(unref(_sfc_main$_), {
|
|
11040
11018
|
key: 0,
|
|
11041
11019
|
"data-test-id": "execute-node-button",
|
|
11042
11020
|
type: "tertiary",
|
|
@@ -11047,7 +11025,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
11047
11025
|
title: unref(i18n2).baseText("node.testStep"),
|
|
11048
11026
|
onClick: executeNode
|
|
11049
11027
|
}, null, 8, ["disabled", "title"])) : createCommentVNode("", true),
|
|
11050
|
-
createVNode(unref(_sfc_main$
|
|
11028
|
+
createVNode(unref(_sfc_main$_), {
|
|
11051
11029
|
"data-test-id": "disable-node-button",
|
|
11052
11030
|
type: "tertiary",
|
|
11053
11031
|
text: "",
|
|
@@ -11056,7 +11034,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
11056
11034
|
title: nodeDisabledTitle2.value,
|
|
11057
11035
|
onClick: toggleDisableNode
|
|
11058
11036
|
}, null, 8, ["title"]),
|
|
11059
|
-
createVNode(unref(_sfc_main$
|
|
11037
|
+
createVNode(unref(_sfc_main$_), {
|
|
11060
11038
|
"data-test-id": "delete-node-button",
|
|
11061
11039
|
type: "tertiary",
|
|
11062
11040
|
size: "small",
|
|
@@ -11065,7 +11043,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
11065
11043
|
title: unref(i18n2).baseText("node.delete"),
|
|
11066
11044
|
onClick: deleteNode
|
|
11067
11045
|
}, null, 8, ["title"]),
|
|
11068
|
-
createVNode(unref(_sfc_main$
|
|
11046
|
+
createVNode(unref(_sfc_main$_), {
|
|
11069
11047
|
"data-test-id": "overflow-node-button",
|
|
11070
11048
|
type: "tertiary",
|
|
11071
11049
|
size: "small",
|
|
@@ -11077,11 +11055,11 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
11077
11055
|
], 544)), [
|
|
11078
11056
|
[vShow, !_ctx.hideActions]
|
|
11079
11057
|
]) : createCommentVNode("", true)
|
|
11080
|
-
], 46, _hoisted_1$
|
|
11058
|
+
], 46, _hoisted_1$9)) : createCommentVNode("", true);
|
|
11081
11059
|
};
|
|
11082
11060
|
}
|
|
11083
11061
|
});
|
|
11084
|
-
const __unplugin_components_0$6 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11062
|
+
const __unplugin_components_0$6 = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-a84c6b35"]]);
|
|
11085
11063
|
const state = reactive({
|
|
11086
11064
|
customActions: {},
|
|
11087
11065
|
delegatedClickHandler: null
|
|
@@ -12869,8 +12847,8 @@ const useNodeCreatorStore = defineStore(STORES.NODE_CREATOR, () => {
|
|
|
12869
12847
|
allNodeCreatorNodes
|
|
12870
12848
|
};
|
|
12871
12849
|
});
|
|
12872
|
-
const _hoisted_1$
|
|
12873
|
-
const _sfc_main$
|
|
12850
|
+
const _hoisted_1$8 = ["textContent"];
|
|
12851
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
12874
12852
|
__name: "CanvasAddButton",
|
|
12875
12853
|
props: {
|
|
12876
12854
|
showTooltip: { type: Boolean },
|
|
@@ -12919,7 +12897,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
12919
12897
|
createBaseVNode("p", {
|
|
12920
12898
|
class: normalizeClass(_ctx.$style.label),
|
|
12921
12899
|
textContent: toDisplayString(_ctx.$locale.baseText("nodeView.canvasAddButton.addFirstStep"))
|
|
12922
|
-
}, null, 10, _hoisted_1$
|
|
12900
|
+
}, null, 10, _hoisted_1$8)
|
|
12923
12901
|
], 6);
|
|
12924
12902
|
};
|
|
12925
12903
|
}
|
|
@@ -12935,7 +12913,7 @@ const style0$n = {
|
|
|
12935
12913
|
const cssModules$o = {
|
|
12936
12914
|
"$style": style0$n
|
|
12937
12915
|
};
|
|
12938
|
-
const CanvasAddButton = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12916
|
+
const CanvasAddButton = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__cssModules", cssModules$o]]);
|
|
12939
12917
|
function useCanvasPanning(elementRef, options = {}) {
|
|
12940
12918
|
const uiStore = useUIStore();
|
|
12941
12919
|
const moveLastPosition = ref([0, 0]);
|
|
@@ -12998,36 +12976,36 @@ function useCanvasPanning(elementRef, options = {}) {
|
|
|
12998
12976
|
panCanvas
|
|
12999
12977
|
};
|
|
13000
12978
|
}
|
|
13001
|
-
const _hoisted_1$
|
|
13002
|
-
const _hoisted_2$
|
|
12979
|
+
const _hoisted_1$7 = { "data-action": "reload" };
|
|
12980
|
+
const _hoisted_2$6 = /* @__PURE__ */ createBaseVNode("br", null, null, -1);
|
|
13003
12981
|
const _hoisted_3$2 = {
|
|
13004
12982
|
href: "https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.wait/",
|
|
13005
12983
|
target: "_blank"
|
|
13006
12984
|
};
|
|
13007
|
-
const _sfc_main$
|
|
12985
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
13008
12986
|
__name: "NodeViewUnfinishedWorkflowMessage",
|
|
13009
12987
|
setup(__props) {
|
|
13010
12988
|
const i18 = useI18n();
|
|
13011
12989
|
return (_ctx, _cache) => {
|
|
13012
12990
|
return openBlock(), createElementBlock("div", null, [
|
|
13013
|
-
createBaseVNode("a", _hoisted_1$
|
|
12991
|
+
createBaseVNode("a", _hoisted_1$7, toDisplayString(unref(i18).baseText("nodeView.refresh")), 1),
|
|
13014
12992
|
createTextVNode(" " + toDisplayString(unref(i18).baseText("nodeView.toSeeTheLatestStatus")) + ". ", 1),
|
|
13015
|
-
_hoisted_2$
|
|
12993
|
+
_hoisted_2$6,
|
|
13016
12994
|
createBaseVNode("a", _hoisted_3$2, toDisplayString(unref(i18).baseText("nodeView.moreInfo")), 1)
|
|
13017
12995
|
]);
|
|
13018
12996
|
};
|
|
13019
12997
|
}
|
|
13020
12998
|
});
|
|
13021
12999
|
const LazyNodeCreation = defineAsyncComponent(
|
|
13022
|
-
async () => await __vitePreload(() => import("./NodeCreation-
|
|
13000
|
+
async () => await __vitePreload(() => import("./NodeCreation-CM9wiEKu.js").then((n) => n.N), true ? __vite__mapDeps([39,3,4,5,6,2,7,8,9,10,1,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,40]) : void 0)
|
|
13023
13001
|
);
|
|
13024
13002
|
const LazyCanvasControls = defineAsyncComponent(
|
|
13025
|
-
async () => await __vitePreload(() => import("./CanvasControls-
|
|
13003
|
+
async () => await __vitePreload(() => import("./CanvasControls-DhP5_ZaG.js"), true ? __vite__mapDeps([41,2,12,1,3,4,5,6,7,8,9,10,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,42]) : void 0)
|
|
13026
13004
|
);
|
|
13027
13005
|
const LazySetupWorkflowCredentialsButton = defineAsyncComponent(
|
|
13028
|
-
async () => await __vitePreload(() => import("./SetupWorkflowCredentialsButton-
|
|
13006
|
+
async () => await __vitePreload(() => import("./SetupWorkflowCredentialsButton-DDUqVzq4.js"), true ? __vite__mapDeps([43,2,1,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32]) : void 0)
|
|
13029
13007
|
);
|
|
13030
|
-
const _sfc_main$
|
|
13008
|
+
const _sfc_main$w = defineComponent({
|
|
13031
13009
|
name: "NodeView",
|
|
13032
13010
|
components: {
|
|
13033
13011
|
NodeDetailsView: __unplugin_components_2,
|
|
@@ -13794,7 +13772,7 @@ const _sfc_main$v = defineComponent({
|
|
|
13794
13772
|
if (data.waitTill) {
|
|
13795
13773
|
this.showMessage({
|
|
13796
13774
|
title: this.$locale.baseText("nodeView.thisExecutionHasntFinishedYet"),
|
|
13797
|
-
message: h(_sfc_main$
|
|
13775
|
+
message: h(_sfc_main$x),
|
|
13798
13776
|
type: "warning",
|
|
13799
13777
|
duration: 0
|
|
13800
13778
|
});
|
|
@@ -15248,6 +15226,7 @@ const _sfc_main$v = defineComponent({
|
|
|
15248
15226
|
this.exitTimer = void 0;
|
|
15249
15227
|
}
|
|
15250
15228
|
if (
|
|
15229
|
+
// @ts-expect-error Deprecated file
|
|
15251
15230
|
// eslint-disable-next-line no-constant-binary-expression
|
|
15252
15231
|
!(this.workflowPermissions.update ?? this.projectPermissions.workflow.update)
|
|
15253
15232
|
)
|
|
@@ -15275,6 +15254,7 @@ const _sfc_main$v = defineComponent({
|
|
|
15275
15254
|
this.enterTimer = void 0;
|
|
15276
15255
|
}
|
|
15277
15256
|
if (
|
|
15257
|
+
// @ts-expect-error Deprecated file
|
|
15278
15258
|
// eslint-disable-next-line no-constant-binary-expression
|
|
15279
15259
|
!(this.workflowPermissions.update ?? this.projectPermissions.workflow.update)
|
|
15280
15260
|
)
|
|
@@ -16466,9 +16446,9 @@ const style2 = {
|
|
|
16466
16446
|
shake,
|
|
16467
16447
|
setupCredentialsButtonWrapper
|
|
16468
16448
|
};
|
|
16469
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
16470
|
-
const _hoisted_1$
|
|
16471
|
-
const _hoisted_2$
|
|
16449
|
+
const _withScopeId = (n) => (pushScopeId("data-v-f5ba90d0"), n = n(), popScopeId(), n);
|
|
16450
|
+
const _hoisted_1$6 = ["textContent"];
|
|
16451
|
+
const _hoisted_2$5 = {
|
|
16472
16452
|
key: 0,
|
|
16473
16453
|
class: "workflow-execute-wrapper"
|
|
16474
16454
|
};
|
|
@@ -16555,7 +16535,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16555
16535
|
"custom-tooltip": withCtx(() => [
|
|
16556
16536
|
createBaseVNode("span", {
|
|
16557
16537
|
textContent: toDisplayString(_ctx.$locale.baseText("nodeView.canvasAddButton.addATriggerNodeBeforeExecuting"))
|
|
16558
|
-
}, null, 8, _hoisted_1$
|
|
16538
|
+
}, null, 8, _hoisted_1$6)
|
|
16559
16539
|
]),
|
|
16560
16540
|
_: 2
|
|
16561
16541
|
}, 1032, ["name", "is-read-only", "instance", "is-active", "hide-actions", "is-production-execution-preview", "workflow", "disable-pointer-events", "hide-node-issues", "onDeselectAllNodes", "onDeselectNode", "onNodeSelected", "onRunWorkflow", "onMoved", "onRun"]);
|
|
@@ -16627,7 +16607,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16627
16607
|
]),
|
|
16628
16608
|
_: 1
|
|
16629
16609
|
})),
|
|
16630
|
-
!_ctx.isReadOnlyRoute && !_ctx.readOnlyEnv && (_ctx.workflowPermissions.update ?? _ctx.projectPermissions.workflow.update) ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
16610
|
+
!_ctx.isReadOnlyRoute && !_ctx.readOnlyEnv && (_ctx.workflowPermissions.update ?? _ctx.projectPermissions.workflow.update) ? (openBlock(), createElementBlock("div", _hoisted_2$5, [
|
|
16631
16611
|
!_ctx.isManualChatOnly ? (openBlock(), createElementBlock("span", {
|
|
16632
16612
|
key: 0,
|
|
16633
16613
|
onMouseenter: _cache[10] || (_cache[10] = ($event) => _ctx.showTriggerMissingToltip(true)),
|
|
@@ -16698,8 +16678,8 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
16698
16678
|
const cssModules$n = {
|
|
16699
16679
|
"$style": style2
|
|
16700
16680
|
};
|
|
16701
|
-
const NodeViewV1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16702
|
-
const _sfc_main$
|
|
16681
|
+
const NodeViewV1 = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["render", _sfc_render$1], ["__cssModules", cssModules$n], ["__scopeId", "data-v-f5ba90d0"]]);
|
|
16682
|
+
const _sfc_main$v = {};
|
|
16703
16683
|
function _sfc_render(_ctx, _cache) {
|
|
16704
16684
|
const _component_N8nButton = resolveComponent("N8nButton");
|
|
16705
16685
|
return openBlock(), createBlock(_component_N8nButton, {
|
|
@@ -16710,8 +16690,8 @@ function _sfc_render(_ctx, _cache) {
|
|
|
16710
16690
|
"data-test-id": "workflow-chat-button"
|
|
16711
16691
|
});
|
|
16712
16692
|
}
|
|
16713
|
-
const __unplugin_components_0$5 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16714
|
-
const _sfc_main$
|
|
16693
|
+
const __unplugin_components_0$5 = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["render", _sfc_render]]);
|
|
16694
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
16715
16695
|
__name: "CanvasControlButtons",
|
|
16716
16696
|
props: {
|
|
16717
16697
|
zoom: { default: 1 }
|
|
@@ -16735,7 +16715,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
16735
16715
|
}
|
|
16736
16716
|
return (_ctx, _cache) => {
|
|
16737
16717
|
const _component_N8nIconButton = resolveComponent("N8nIconButton");
|
|
16738
|
-
return openBlock(), createBlock(unref(_sfc_main
|
|
16718
|
+
return openBlock(), createBlock(unref(_sfc_main$$), {
|
|
16739
16719
|
"show-zoom": false,
|
|
16740
16720
|
"show-fit-view": false
|
|
16741
16721
|
}, {
|
|
@@ -16848,7 +16828,7 @@ function getCustomPath(props) {
|
|
|
16848
16828
|
}
|
|
16849
16829
|
return getSmoothStepPath(props);
|
|
16850
16830
|
}
|
|
16851
|
-
const _sfc_main$
|
|
16831
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
16852
16832
|
__name: "CanvasConnectionLine",
|
|
16853
16833
|
props: {
|
|
16854
16834
|
sourceX: {},
|
|
@@ -16889,7 +16869,7 @@ const style0$m = {
|
|
|
16889
16869
|
const cssModules$m = {
|
|
16890
16870
|
"$style": style0$m
|
|
16891
16871
|
};
|
|
16892
|
-
const __unplugin_components_0$4 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
16872
|
+
const __unplugin_components_0$4 = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__cssModules", cssModules$m]]);
|
|
16893
16873
|
function useCanvasNode() {
|
|
16894
16874
|
const node2 = inject(CanvasNodeKey);
|
|
16895
16875
|
const data = computed(
|
|
@@ -16963,9 +16943,9 @@ function useCanvasNode() {
|
|
|
16963
16943
|
eventBus
|
|
16964
16944
|
};
|
|
16965
16945
|
}
|
|
16966
|
-
const _hoisted_1$
|
|
16967
|
-
const _hoisted_2$
|
|
16968
|
-
const _sfc_main$
|
|
16946
|
+
const _hoisted_1$5 = ["title"];
|
|
16947
|
+
const _hoisted_2$4 = ["onClick"];
|
|
16948
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
16969
16949
|
__name: "CanvasNodeStickyColorSelector",
|
|
16970
16950
|
emits: ["update"],
|
|
16971
16951
|
setup(__props, { emit: __emit }) {
|
|
@@ -17030,7 +17010,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
17030
17010
|
onClick: withModifiers(togglePopover, ["stop"])
|
|
17031
17011
|
}, [
|
|
17032
17012
|
createVNode(_component_FontAwesomeIcon, { icon: "palette" })
|
|
17033
|
-
], 10, _hoisted_1$
|
|
17013
|
+
], 10, _hoisted_1$5)
|
|
17034
17014
|
]),
|
|
17035
17015
|
default: withCtx(() => [
|
|
17036
17016
|
createBaseVNode("div", {
|
|
@@ -17046,7 +17026,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
17046
17026
|
renderOptions.value.color === color2 ? _ctx.$style.selected : ""
|
|
17047
17027
|
]),
|
|
17048
17028
|
onClick: ($event) => changeColor(color2)
|
|
17049
|
-
}, null, 10, _hoisted_2$
|
|
17029
|
+
}, null, 10, _hoisted_2$4);
|
|
17050
17030
|
}), 128))
|
|
17051
17031
|
], 2)
|
|
17052
17032
|
]),
|
|
@@ -17077,10 +17057,10 @@ const style0$l = {
|
|
|
17077
17057
|
const cssModules$l = {
|
|
17078
17058
|
"$style": style0$l
|
|
17079
17059
|
};
|
|
17080
|
-
const __unplugin_components_0$3 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17060
|
+
const __unplugin_components_0$3 = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__cssModules", cssModules$l]]);
|
|
17081
17061
|
const workflowRunning = false;
|
|
17082
17062
|
const nodeDisabledTitle = "Test";
|
|
17083
|
-
const _sfc_main$
|
|
17063
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
17084
17064
|
__name: "CanvasNodeToolbar",
|
|
17085
17065
|
props: {
|
|
17086
17066
|
readOnly: { type: Boolean }
|
|
@@ -17189,7 +17169,7 @@ const style0$k = {
|
|
|
17189
17169
|
const cssModules$k = {
|
|
17190
17170
|
"$style": style0$k
|
|
17191
17171
|
};
|
|
17192
|
-
const CanvasNodeToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17172
|
+
const CanvasNodeToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__cssModules", cssModules$k]]);
|
|
17193
17173
|
function useNodeConnections({
|
|
17194
17174
|
inputs: inputs2,
|
|
17195
17175
|
outputs: outputs2,
|
|
@@ -17239,7 +17219,7 @@ function useNodeConnections({
|
|
|
17239
17219
|
isValidConnection
|
|
17240
17220
|
};
|
|
17241
17221
|
}
|
|
17242
|
-
const _sfc_main$
|
|
17222
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
17243
17223
|
__name: "CanvasNodeDisabledStrikeThrough",
|
|
17244
17224
|
setup(__props) {
|
|
17245
17225
|
const $style = useCssModule();
|
|
@@ -17280,10 +17260,10 @@ const style0$j = {
|
|
|
17280
17260
|
const cssModules$j = {
|
|
17281
17261
|
"$style": style0$j
|
|
17282
17262
|
};
|
|
17283
|
-
const CanvasNodeDisabledStrikeThrough = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17284
|
-
const _hoisted_1$
|
|
17285
|
-
const _hoisted_2$
|
|
17286
|
-
const _sfc_main$
|
|
17263
|
+
const CanvasNodeDisabledStrikeThrough = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__cssModules", cssModules$j]]);
|
|
17264
|
+
const _hoisted_1$4 = ["textContent"];
|
|
17265
|
+
const _hoisted_2$3 = { key: 3 };
|
|
17266
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
17287
17267
|
__name: "CanvasNodeStatusIcons",
|
|
17288
17268
|
setup(__props) {
|
|
17289
17269
|
const nodeHelpers = useNodeHelpers();
|
|
@@ -17330,7 +17310,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17330
17310
|
content: withCtx(() => [
|
|
17331
17311
|
createBaseVNode("div", {
|
|
17332
17312
|
textContent: toDisplayString(unref(executionWaiting))
|
|
17333
|
-
}, null, 8, _hoisted_1$
|
|
17313
|
+
}, null, 8, _hoisted_1$4)
|
|
17334
17314
|
]),
|
|
17335
17315
|
default: withCtx(() => [
|
|
17336
17316
|
createVNode(_component_FontAwesomeIcon, { icon: "clock" })
|
|
@@ -17343,7 +17323,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17343
17323
|
class: normalizeClass([_ctx.$style.status, _ctx.$style.pinnedData])
|
|
17344
17324
|
}, [
|
|
17345
17325
|
createVNode(_component_FontAwesomeIcon, { icon: "thumbtack" })
|
|
17346
|
-
], 2)) : unref(executionStatus) === "unknown" ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
17326
|
+
], 2)) : unref(executionStatus) === "unknown" ? (openBlock(), createElementBlock("div", _hoisted_2$3)) : unref(executionRunning) || unref(executionStatus) === "running" ? (openBlock(), createElementBlock("div", {
|
|
17347
17327
|
key: 4,
|
|
17348
17328
|
"data-test-id": "canvas-node-status-running",
|
|
17349
17329
|
class: normalizeClass([_ctx.$style.status, _ctx.$style.running])
|
|
@@ -17383,11 +17363,10 @@ const style0$i = {
|
|
|
17383
17363
|
const cssModules$i = {
|
|
17384
17364
|
"$style": style0$i
|
|
17385
17365
|
};
|
|
17386
|
-
const CanvasNodeStatusIcons = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17387
|
-
const _hoisted_1$
|
|
17388
|
-
const _hoisted_2$
|
|
17389
|
-
const
|
|
17390
|
-
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
17366
|
+
const CanvasNodeStatusIcons = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__cssModules", cssModules$i]]);
|
|
17367
|
+
const _hoisted_1$3 = ["data-test-id"];
|
|
17368
|
+
const _hoisted_2$2 = { key: 0 };
|
|
17369
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
17391
17370
|
__name: "CanvasNodeDefault",
|
|
17392
17371
|
emits: ["open:contextmenu"],
|
|
17393
17372
|
setup(__props, { emit: __emit }) {
|
|
@@ -17459,6 +17438,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17459
17438
|
}
|
|
17460
17439
|
return (_ctx, _cache) => {
|
|
17461
17440
|
const _component_FontAwesomeIcon = resolveComponent("FontAwesomeIcon");
|
|
17441
|
+
const _directive_n8n_html = resolveDirective("n8n-html");
|
|
17462
17442
|
return openBlock(), createElementBlock("div", {
|
|
17463
17443
|
class: normalizeClass(classes.value),
|
|
17464
17444
|
style: normalizeStyle(styles.value),
|
|
@@ -17471,9 +17451,9 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17471
17451
|
placement: "bottom"
|
|
17472
17452
|
}, {
|
|
17473
17453
|
content: withCtx(() => [
|
|
17474
|
-
createBaseVNode("span",
|
|
17475
|
-
|
|
17476
|
-
|
|
17454
|
+
withDirectives(createBaseVNode("span", null, null, 512), [
|
|
17455
|
+
[_directive_n8n_html, _ctx.$locale.baseText("node.thisIsATriggerNode")]
|
|
17456
|
+
])
|
|
17477
17457
|
]),
|
|
17478
17458
|
default: withCtx(() => [
|
|
17479
17459
|
createBaseVNode("div", {
|
|
@@ -17499,14 +17479,14 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17499
17479
|
class: normalizeClass(unref($style).label)
|
|
17500
17480
|
}, [
|
|
17501
17481
|
createTextVNode(toDisplayString(unref(label2)) + " ", 1),
|
|
17502
|
-
unref(isDisabled) ? (openBlock(), createElementBlock("div",
|
|
17482
|
+
unref(isDisabled) ? (openBlock(), createElementBlock("div", _hoisted_2$2, "(" + toDisplayString(unref(i18n2).baseText("node.disabled")) + ")", 1)) : createCommentVNode("", true)
|
|
17503
17483
|
], 2)) : createCommentVNode("", true),
|
|
17504
17484
|
unref(subtitle2) ? (openBlock(), createElementBlock("div", {
|
|
17505
17485
|
key: 1,
|
|
17506
17486
|
class: normalizeClass(unref($style).subtitle)
|
|
17507
17487
|
}, toDisplayString(unref(subtitle2)), 3)) : createCommentVNode("", true)
|
|
17508
17488
|
], 2)
|
|
17509
|
-
], 46, _hoisted_1$
|
|
17489
|
+
], 46, _hoisted_1$3);
|
|
17510
17490
|
};
|
|
17511
17491
|
}
|
|
17512
17492
|
});
|
|
@@ -17545,8 +17525,8 @@ const style0$h = {
|
|
|
17545
17525
|
const cssModules$h = {
|
|
17546
17526
|
"$style": style0$h
|
|
17547
17527
|
};
|
|
17548
|
-
const CanvasNodeDefault = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17549
|
-
const _sfc_main$
|
|
17528
|
+
const CanvasNodeDefault = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__cssModules", cssModules$h]]);
|
|
17529
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
17550
17530
|
...{
|
|
17551
17531
|
inheritAttrs: false
|
|
17552
17532
|
},
|
|
@@ -17600,7 +17580,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
17600
17580
|
return (_ctx, _cache) => {
|
|
17601
17581
|
const _component_N8nSticky = resolveComponent("N8nSticky");
|
|
17602
17582
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
17603
|
-
createVNode(unref(_sfc_main
|
|
17583
|
+
createVNode(unref(_sfc_main$10), {
|
|
17604
17584
|
"min-height": 80,
|
|
17605
17585
|
"min-width": 150,
|
|
17606
17586
|
height: renderOptions.value.height,
|
|
@@ -17635,9 +17615,9 @@ const style0$g = {
|
|
|
17635
17615
|
const cssModules$g = {
|
|
17636
17616
|
"$style": style0$g
|
|
17637
17617
|
};
|
|
17638
|
-
const CanvasNodeStickyNote = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17639
|
-
const _hoisted_1$
|
|
17640
|
-
const _sfc_main$
|
|
17618
|
+
const CanvasNodeStickyNote = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__cssModules", cssModules$g]]);
|
|
17619
|
+
const _hoisted_1$2 = ["textContent"];
|
|
17620
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
17641
17621
|
__name: "CanvasNodeAddNodes",
|
|
17642
17622
|
setup(__props) {
|
|
17643
17623
|
const nodeCreatorStore = useNodeCreatorStore();
|
|
@@ -17696,7 +17676,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
17696
17676
|
createBaseVNode("p", {
|
|
17697
17677
|
class: normalizeClass(_ctx.$style.label),
|
|
17698
17678
|
textContent: toDisplayString(_ctx.$locale.baseText("nodeView.canvasAddButton.addFirstStep"))
|
|
17699
|
-
}, null, 10, _hoisted_1$
|
|
17679
|
+
}, null, 10, _hoisted_1$2)
|
|
17700
17680
|
], 2);
|
|
17701
17681
|
};
|
|
17702
17682
|
}
|
|
@@ -17712,8 +17692,8 @@ const style0$f = {
|
|
|
17712
17692
|
const cssModules$f = {
|
|
17713
17693
|
"$style": style0$f
|
|
17714
17694
|
};
|
|
17715
|
-
const CanvasNodeAddNodes = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17716
|
-
const _sfc_main$
|
|
17695
|
+
const CanvasNodeAddNodes = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__cssModules", cssModules$f]]);
|
|
17696
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
17717
17697
|
__name: "CanvasNodeRenderer",
|
|
17718
17698
|
setup(__props) {
|
|
17719
17699
|
const node2 = inject(CanvasNodeKey);
|
|
@@ -17737,7 +17717,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
17737
17717
|
};
|
|
17738
17718
|
}
|
|
17739
17719
|
});
|
|
17740
|
-
const _sfc_main$
|
|
17720
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
17741
17721
|
__name: "CanvasHandleRectangle",
|
|
17742
17722
|
props: {
|
|
17743
17723
|
handleClasses: { default: void 0 }
|
|
@@ -17757,7 +17737,7 @@ const style0$e = {
|
|
|
17757
17737
|
const cssModules$e = {
|
|
17758
17738
|
"$style": style0$e
|
|
17759
17739
|
};
|
|
17760
|
-
const __unplugin_components_0$2 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17740
|
+
const __unplugin_components_0$2 = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__cssModules", cssModules$e]]);
|
|
17761
17741
|
function useCanvasNodeHandle() {
|
|
17762
17742
|
const handle2 = inject(CanvasNodeHandleKey);
|
|
17763
17743
|
const label2 = computed(() => (handle2 == null ? void 0 : handle2.label.value) ?? "");
|
|
@@ -17780,7 +17760,7 @@ function useCanvasNodeHandle() {
|
|
|
17780
17760
|
};
|
|
17781
17761
|
}
|
|
17782
17762
|
const handleClasses$3 = "target";
|
|
17783
|
-
const _sfc_main$
|
|
17763
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
17784
17764
|
__name: "CanvasHandleMainInput",
|
|
17785
17765
|
setup(__props) {
|
|
17786
17766
|
const { label: label2 } = useCanvasNodeHandle();
|
|
@@ -17806,11 +17786,11 @@ const style0$d = {
|
|
|
17806
17786
|
const cssModules$d = {
|
|
17807
17787
|
"$style": style0$d
|
|
17808
17788
|
};
|
|
17809
|
-
const CanvasHandleMainInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17810
|
-
const _hoisted_1 = ["viewBox"];
|
|
17811
|
-
const _hoisted_2 = ["x1", "y1", "x2", "y2"];
|
|
17812
|
-
const _hoisted_3 = ["transform"];
|
|
17813
|
-
const _sfc_main$
|
|
17789
|
+
const CanvasHandleMainInput = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__cssModules", cssModules$d]]);
|
|
17790
|
+
const _hoisted_1$1 = ["viewBox"];
|
|
17791
|
+
const _hoisted_2$1 = ["x1", "y1", "x2", "y2"];
|
|
17792
|
+
const _hoisted_3$1 = ["transform"];
|
|
17793
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
17814
17794
|
__name: "CanvasHandlePlus",
|
|
17815
17795
|
props: {
|
|
17816
17796
|
position: { default: "right" },
|
|
@@ -17902,7 +17882,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
17902
17882
|
y2: linePosition.value[1][1],
|
|
17903
17883
|
stroke: "var(--color-foreground-xdark)",
|
|
17904
17884
|
"stroke-width": "2"
|
|
17905
|
-
}, null, 10, _hoisted_2),
|
|
17885
|
+
}, null, 10, _hoisted_2$1),
|
|
17906
17886
|
createBaseVNode("g", {
|
|
17907
17887
|
class: normalizeClass([_ctx.$style.plus, _ctx.handleClasses, "clickable"]),
|
|
17908
17888
|
transform: `translate(${plusPosition.value[0]}, ${plusPosition.value[1]})`,
|
|
@@ -17924,8 +17904,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
17924
17904
|
fill: "var(--color-foreground-xdark)",
|
|
17925
17905
|
d: "m16.40655,10.89837l-3.30491,0l0,-3.30491c0,-0.40555 -0.32889,-0.73443 -0.73443,-0.73443l-0.73443,0c-0.40554,0 -0.73442,0.32888 -0.73442,0.73443l0,3.30491l-3.30491,0c-0.40555,0 -0.73443,0.32888 -0.73443,0.73442l0,0.73443c0,0.40554 0.32888,0.73443 0.73443,0.73443l3.30491,0l0,3.30491c0,0.40554 0.32888,0.73442 0.73442,0.73442l0.73443,0c0.40554,0 0.73443,-0.32888 0.73443,-0.73442l0,-3.30491l3.30491,0c0.40554,0 0.73442,-0.32889 0.73442,-0.73443l0,-0.73443c0,-0.40554 -0.32888,-0.73442 -0.73442,-0.73442z"
|
|
17926
17906
|
}, null, 2)
|
|
17927
|
-
], 10, _hoisted_3)
|
|
17928
|
-
], 14, _hoisted_1);
|
|
17907
|
+
], 10, _hoisted_3$1)
|
|
17908
|
+
], 14, _hoisted_1$1);
|
|
17929
17909
|
};
|
|
17930
17910
|
}
|
|
17931
17911
|
});
|
|
@@ -17942,8 +17922,8 @@ const style0$c = {
|
|
|
17942
17922
|
const cssModules$c = {
|
|
17943
17923
|
"$style": style0$c
|
|
17944
17924
|
};
|
|
17945
|
-
const CanvasHandlePlus = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17946
|
-
const _sfc_main$
|
|
17925
|
+
const CanvasHandlePlus = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__cssModules", cssModules$c]]);
|
|
17926
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
17947
17927
|
__name: "CanvasHandleDot",
|
|
17948
17928
|
props: {
|
|
17949
17929
|
handleClasses: { default: void 0 }
|
|
@@ -17963,9 +17943,9 @@ const style0$b = {
|
|
|
17963
17943
|
const cssModules$b = {
|
|
17964
17944
|
"$style": style0$b
|
|
17965
17945
|
};
|
|
17966
|
-
const __unplugin_components_0$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
17946
|
+
const __unplugin_components_0$1 = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__cssModules", cssModules$b]]);
|
|
17967
17947
|
const handleClasses$2 = "source";
|
|
17968
|
-
const _sfc_main$
|
|
17948
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
17969
17949
|
__name: "CanvasHandleMainOutput",
|
|
17970
17950
|
emits: ["add"],
|
|
17971
17951
|
setup(__props, { emit: __emit }) {
|
|
@@ -18050,8 +18030,8 @@ const style0$a = {
|
|
|
18050
18030
|
const cssModules$a = {
|
|
18051
18031
|
"$style": style0$a
|
|
18052
18032
|
};
|
|
18053
|
-
const CanvasHandleMainOutput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18054
|
-
const _sfc_main$
|
|
18033
|
+
const CanvasHandleMainOutput = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__cssModules", cssModules$a]]);
|
|
18034
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
18055
18035
|
__name: "CanvasHandleDiamond",
|
|
18056
18036
|
props: {
|
|
18057
18037
|
handleClasses: { default: void 0 }
|
|
@@ -18071,9 +18051,9 @@ const style0$9 = {
|
|
|
18071
18051
|
const cssModules$9 = {
|
|
18072
18052
|
"$style": style0$9
|
|
18073
18053
|
};
|
|
18074
|
-
const __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18054
|
+
const __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__cssModules", cssModules$9]]);
|
|
18075
18055
|
const handleClasses$1 = "target";
|
|
18076
|
-
const _sfc_main$
|
|
18056
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
18077
18057
|
__name: "CanvasHandleNonMainInput",
|
|
18078
18058
|
emits: ["add"],
|
|
18079
18059
|
setup(__props, { emit: __emit }) {
|
|
@@ -18133,9 +18113,9 @@ const style0$8 = {
|
|
|
18133
18113
|
const cssModules$8 = {
|
|
18134
18114
|
"$style": style0$8
|
|
18135
18115
|
};
|
|
18136
|
-
const CanvasHandleNonMainInput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18116
|
+
const CanvasHandleNonMainInput = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__cssModules", cssModules$8]]);
|
|
18137
18117
|
const handleClasses = "source";
|
|
18138
|
-
const _sfc_main$
|
|
18118
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
18139
18119
|
__name: "CanvasHandleNonMainOutput",
|
|
18140
18120
|
setup(__props) {
|
|
18141
18121
|
const { label: label2 } = useCanvasNodeHandle();
|
|
@@ -18163,8 +18143,8 @@ const style0$7 = {
|
|
|
18163
18143
|
const cssModules$7 = {
|
|
18164
18144
|
"$style": style0$7
|
|
18165
18145
|
};
|
|
18166
|
-
const CanvasHandleNonMainOutput = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18167
|
-
const _sfc_main$
|
|
18146
|
+
const CanvasHandleNonMainOutput = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__cssModules", cssModules$7]]);
|
|
18147
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
18168
18148
|
...{
|
|
18169
18149
|
inheritAttrs: false
|
|
18170
18150
|
},
|
|
@@ -18294,7 +18274,7 @@ const style0$6 = {
|
|
|
18294
18274
|
const cssModules$6 = {
|
|
18295
18275
|
"$style": style0$6
|
|
18296
18276
|
};
|
|
18297
|
-
const CanvasHandleRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18277
|
+
const CanvasHandleRenderer = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__cssModules", cssModules$6]]);
|
|
18298
18278
|
function useCanvas() {
|
|
18299
18279
|
const canvas2 = inject(CanvasKey);
|
|
18300
18280
|
const connectingHandle = computed(() => canvas2 == null ? void 0 : canvas2.connectingHandle.value);
|
|
@@ -18302,7 +18282,7 @@ function useCanvas() {
|
|
|
18302
18282
|
connectingHandle
|
|
18303
18283
|
};
|
|
18304
18284
|
}
|
|
18305
|
-
const _sfc_main$
|
|
18285
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
18306
18286
|
__name: "CanvasNode",
|
|
18307
18287
|
props: {
|
|
18308
18288
|
id: {},
|
|
@@ -18524,14 +18504,14 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
18524
18504
|
onUpdate,
|
|
18525
18505
|
"onOpen:contextmenu": onOpenContextMenuFromToolbar
|
|
18526
18506
|
}, null, 8, ["read-only", "class"])) : createCommentVNode("", true),
|
|
18527
|
-
createVNode(_sfc_main$
|
|
18507
|
+
createVNode(_sfc_main$l, {
|
|
18528
18508
|
onDblclick: withModifiers(onActivate, ["stop"]),
|
|
18529
18509
|
onMove,
|
|
18530
18510
|
onUpdate,
|
|
18531
18511
|
"onOpen:contextmenu": onOpenContextMenuFromNode
|
|
18532
18512
|
}, {
|
|
18533
18513
|
default: withCtx(() => [
|
|
18534
|
-
nodeTypeDescription.value ? (openBlock(), createBlock(_sfc_main$
|
|
18514
|
+
nodeTypeDescription.value ? (openBlock(), createBlock(_sfc_main$X, {
|
|
18535
18515
|
key: 0,
|
|
18536
18516
|
"node-type": nodeTypeDescription.value,
|
|
18537
18517
|
size: nodeIconSize.value,
|
|
@@ -18556,8 +18536,8 @@ const style0$5 = {
|
|
|
18556
18536
|
const cssModules$5 = {
|
|
18557
18537
|
"$style": style0$5
|
|
18558
18538
|
};
|
|
18559
|
-
const Node = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18560
|
-
const _sfc_main$
|
|
18539
|
+
const Node = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["__cssModules", cssModules$5]]);
|
|
18540
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
18561
18541
|
__name: "CanvasEdgeToolbar",
|
|
18562
18542
|
props: {
|
|
18563
18543
|
type: {}
|
|
@@ -18614,8 +18594,8 @@ const style0$4 = {
|
|
|
18614
18594
|
const cssModules$4 = {
|
|
18615
18595
|
"$style": style0$4
|
|
18616
18596
|
};
|
|
18617
|
-
const CanvasEdgeToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18618
|
-
const _sfc_main$
|
|
18597
|
+
const CanvasEdgeToolbar = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__cssModules", cssModules$4]]);
|
|
18598
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
18619
18599
|
__name: "CanvasEdge",
|
|
18620
18600
|
props: {
|
|
18621
18601
|
id: {},
|
|
@@ -18655,11 +18635,23 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
18655
18635
|
setup(__props, { emit: __emit }) {
|
|
18656
18636
|
const emit = __emit;
|
|
18657
18637
|
const props = __props;
|
|
18638
|
+
const { onEdgeMouseEnter, onEdgeMouseLeave } = useVueFlow();
|
|
18639
|
+
const isHovered = ref(false);
|
|
18640
|
+
onEdgeMouseEnter(({ edge: edge2 }) => {
|
|
18641
|
+
if (edge2.id !== props.id)
|
|
18642
|
+
return;
|
|
18643
|
+
isHovered.value = true;
|
|
18644
|
+
});
|
|
18645
|
+
onEdgeMouseLeave(({ edge: edge2 }) => {
|
|
18646
|
+
if (edge2.id !== props.id)
|
|
18647
|
+
return;
|
|
18648
|
+
isHovered.value = false;
|
|
18649
|
+
});
|
|
18658
18650
|
const $style = useCssModule();
|
|
18659
18651
|
const connectionType2 = computed(
|
|
18660
18652
|
() => isValidNodeConnectionType(props.data.source.type) ? props.data.source.type : NodeConnectionType.Main
|
|
18661
18653
|
);
|
|
18662
|
-
const
|
|
18654
|
+
const renderToolbar = computed(() => (props.selected || isHovered.value) && !props.readOnly);
|
|
18663
18655
|
const status2 = computed(() => props.data.status);
|
|
18664
18656
|
const statusColor = computed(() => {
|
|
18665
18657
|
if (props.selected) {
|
|
@@ -18677,31 +18669,15 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
18677
18669
|
const edgeStyle = computed(() => ({
|
|
18678
18670
|
...props.style,
|
|
18679
18671
|
strokeWidth: 2,
|
|
18680
|
-
stroke: statusColor.value
|
|
18681
|
-
}));
|
|
18682
|
-
const edgeLabel = computed(() => {
|
|
18683
|
-
if (isFocused.value && !props.readOnly) {
|
|
18684
|
-
return "";
|
|
18685
|
-
}
|
|
18686
|
-
return props.label;
|
|
18687
|
-
});
|
|
18688
|
-
const edgeLabelStyle = computed(() => ({
|
|
18689
|
-
fill: statusColor.value,
|
|
18690
|
-
transform: "translateY(calc(var(--spacing-xs) * -1))",
|
|
18691
|
-
fontSize: "var(--font-size-xs)"
|
|
18672
|
+
stroke: isHovered.value ? "var(--color-primary)" : statusColor.value
|
|
18692
18673
|
}));
|
|
18674
|
+
const edgeLabelStyle = computed(() => ({ color: statusColor.value }));
|
|
18693
18675
|
const edgeToolbarStyle = computed(() => {
|
|
18694
18676
|
const [, labelX, labelY] = path.value;
|
|
18695
18677
|
return {
|
|
18696
18678
|
transform: `translate(-50%, -50%) translate(${labelX}px,${labelY}px)`
|
|
18697
18679
|
};
|
|
18698
18680
|
});
|
|
18699
|
-
const edgeToolbarClasses = computed(() => ({
|
|
18700
|
-
[$style.edgeToolbar]: true,
|
|
18701
|
-
[$style.edgeToolbarVisible]: isFocused.value,
|
|
18702
|
-
nodrag: true,
|
|
18703
|
-
nopan: true
|
|
18704
|
-
}));
|
|
18705
18681
|
const path = computed(() => getCustomPath(props));
|
|
18706
18682
|
const connection = computed(() => ({
|
|
18707
18683
|
source: props.source,
|
|
@@ -18723,40 +18699,47 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
18723
18699
|
style: normalizeStyle(edgeStyle.value),
|
|
18724
18700
|
path: path.value[0],
|
|
18725
18701
|
"marker-end": _ctx.markerEnd,
|
|
18726
|
-
|
|
18727
|
-
|
|
18728
|
-
|
|
18729
|
-
"label-style": edgeLabelStyle.value,
|
|
18730
|
-
"label-show-bg": false
|
|
18731
|
-
}, null, 8, ["id", "class", "style", "path", "marker-end", "label", "label-x", "label-y", "label-style"]),
|
|
18732
|
-
!_ctx.readOnly ? (openBlock(), createBlock(unref(_sfc_main$3$1), { key: 0 }, {
|
|
18702
|
+
"interaction-width": 40
|
|
18703
|
+
}, null, 8, ["id", "class", "style", "path", "marker-end"]),
|
|
18704
|
+
createVNode(unref(_sfc_main$3$1), null, {
|
|
18733
18705
|
default: withCtx(() => [
|
|
18734
|
-
|
|
18735
|
-
|
|
18736
|
-
class: normalizeClass(edgeToolbarClasses.value),
|
|
18706
|
+
createBaseVNode("div", {
|
|
18707
|
+
"data-test-id": "edge-label-wrapper",
|
|
18737
18708
|
style: normalizeStyle(edgeToolbarStyle.value),
|
|
18738
|
-
|
|
18739
|
-
|
|
18740
|
-
|
|
18709
|
+
class: normalizeClass(unref($style).edgeLabelWrapper),
|
|
18710
|
+
onMouseenter: _cache[0] || (_cache[0] = ($event) => isHovered.value = true),
|
|
18711
|
+
onMouseleave: _cache[1] || (_cache[1] = ($event) => isHovered.value = false)
|
|
18712
|
+
}, [
|
|
18713
|
+
renderToolbar.value ? (openBlock(), createBlock(CanvasEdgeToolbar, {
|
|
18714
|
+
key: 0,
|
|
18715
|
+
type: connectionType2.value,
|
|
18716
|
+
onAdd,
|
|
18717
|
+
onDelete
|
|
18718
|
+
}, null, 8, ["type"])) : (openBlock(), createElementBlock("div", {
|
|
18719
|
+
key: 1,
|
|
18720
|
+
style: normalizeStyle(edgeLabelStyle.value),
|
|
18721
|
+
class: normalizeClass(unref($style).edgeLabel)
|
|
18722
|
+
}, toDisplayString(_ctx.label), 7))
|
|
18723
|
+
], 38)
|
|
18741
18724
|
]),
|
|
18742
18725
|
_: 1
|
|
18743
|
-
})
|
|
18726
|
+
})
|
|
18744
18727
|
], 64);
|
|
18745
18728
|
};
|
|
18746
18729
|
}
|
|
18747
18730
|
});
|
|
18748
|
-
const edge = "
|
|
18749
|
-
const
|
|
18750
|
-
const
|
|
18731
|
+
const edge = "_edge_1nj9v_1";
|
|
18732
|
+
const edgeLabelWrapper = "_edgeLabelWrapper_1nj9v_5";
|
|
18733
|
+
const edgeLabel = "_edgeLabel_1nj9v_5";
|
|
18751
18734
|
const style0$3 = {
|
|
18752
18735
|
edge,
|
|
18753
|
-
|
|
18754
|
-
|
|
18736
|
+
edgeLabelWrapper,
|
|
18737
|
+
edgeLabel
|
|
18755
18738
|
};
|
|
18756
18739
|
const cssModules$3 = {
|
|
18757
18740
|
"$style": style0$3
|
|
18758
18741
|
};
|
|
18759
|
-
const Edge = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
18742
|
+
const Edge = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__cssModules", cssModules$3]]);
|
|
18760
18743
|
const useKeybindings = (keymap, options) => {
|
|
18761
18744
|
const activeElement = useActiveElement();
|
|
18762
18745
|
const { isCtrlKeyPressed } = useDeviceSupport();
|
|
@@ -18810,7 +18793,43 @@ const useKeybindings = (keymap, options) => {
|
|
|
18810
18793
|
}
|
|
18811
18794
|
useEventListener$1(document, "keydown", onKeyDown2);
|
|
18812
18795
|
};
|
|
18813
|
-
const
|
|
18796
|
+
const _hoisted_1 = ["id"];
|
|
18797
|
+
const _hoisted_2 = /* @__PURE__ */ createBaseVNode("polyline", {
|
|
18798
|
+
"stroke-linecap": "round",
|
|
18799
|
+
"stroke-linejoin": "round",
|
|
18800
|
+
points: "-5,-4 0,0 -5,4 -5,-4",
|
|
18801
|
+
"stroke-width": "2",
|
|
18802
|
+
stroke: "context-stroke",
|
|
18803
|
+
fill: "context-stroke"
|
|
18804
|
+
}, null, -1);
|
|
18805
|
+
const _hoisted_3 = [
|
|
18806
|
+
_hoisted_2
|
|
18807
|
+
];
|
|
18808
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
18809
|
+
__name: "CanvasArrowHeadMarker",
|
|
18810
|
+
props: {
|
|
18811
|
+
id: {}
|
|
18812
|
+
},
|
|
18813
|
+
setup(__props) {
|
|
18814
|
+
return (_ctx, _cache) => {
|
|
18815
|
+
return openBlock(), createElementBlock("svg", null, [
|
|
18816
|
+
createBaseVNode("defs", null, [
|
|
18817
|
+
createBaseVNode("marker", {
|
|
18818
|
+
id: _ctx.id,
|
|
18819
|
+
viewBox: "-10 -10 20 20",
|
|
18820
|
+
refX: "0",
|
|
18821
|
+
refY: "0",
|
|
18822
|
+
markerWidth: "12.5",
|
|
18823
|
+
markerHeight: "12.5",
|
|
18824
|
+
markerUnits: "strokeWidth",
|
|
18825
|
+
orient: "auto-start-reverse"
|
|
18826
|
+
}, _hoisted_3, 8, _hoisted_1)
|
|
18827
|
+
])
|
|
18828
|
+
]);
|
|
18829
|
+
};
|
|
18830
|
+
}
|
|
18831
|
+
});
|
|
18832
|
+
const panningKeyCode = " ";
|
|
18814
18833
|
const defaultZoom = 1;
|
|
18815
18834
|
const minimapVisibilityDelay = 1e3;
|
|
18816
18835
|
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
@@ -18956,13 +18975,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
18956
18975
|
function onClickConnectionAdd(connection) {
|
|
18957
18976
|
emit("click:connection:add", connection);
|
|
18958
18977
|
}
|
|
18959
|
-
const
|
|
18960
|
-
function onMouseEnterEdge(event) {
|
|
18961
|
-
hoveredEdges.value[event.edge.id] = true;
|
|
18962
|
-
}
|
|
18963
|
-
function onMouseLeaveEdge(event) {
|
|
18964
|
-
hoveredEdges.value[event.edge.id] = false;
|
|
18965
|
-
}
|
|
18978
|
+
const arrowHeadMarkerId = ref("custom-arrow-head");
|
|
18966
18979
|
function onRunNode(id) {
|
|
18967
18980
|
emit("run:node", id);
|
|
18968
18981
|
}
|
|
@@ -19117,7 +19130,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
19117
19130
|
});
|
|
19118
19131
|
return (_ctx, _cache) => {
|
|
19119
19132
|
const _component_CanvasConnectionLine = __unplugin_components_0$4;
|
|
19120
|
-
const _component_CanvasControlButtons = _sfc_main$
|
|
19133
|
+
const _component_CanvasControlButtons = _sfc_main$u;
|
|
19121
19134
|
return openBlock(), createBlock(unref(_sfc_main$1$1), {
|
|
19122
19135
|
id: _ctx.id,
|
|
19123
19136
|
nodes: _ctx.nodes,
|
|
@@ -19134,8 +19147,6 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
19134
19147
|
"selection-key-code": selectionKeyCode.value,
|
|
19135
19148
|
"pan-activation-key-code": panningKeyCode,
|
|
19136
19149
|
"data-test-id": "canvas",
|
|
19137
|
-
onEdgeMouseEnter: onMouseEnterEdge,
|
|
19138
|
-
onEdgeMouseLeave: onMouseLeaveEdge,
|
|
19139
19150
|
onConnectStart,
|
|
19140
19151
|
onConnect,
|
|
19141
19152
|
onConnectEnd,
|
|
@@ -19163,24 +19174,25 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
19163
19174
|
]),
|
|
19164
19175
|
"edge-canvas-edge": withCtx((canvasEdgeProps) => [
|
|
19165
19176
|
createVNode(Edge, mergeProps(canvasEdgeProps, {
|
|
19177
|
+
"marker-end": `url(#${arrowHeadMarkerId.value})`,
|
|
19166
19178
|
"read-only": _ctx.readOnly,
|
|
19167
|
-
hovered: hoveredEdges.value[canvasEdgeProps.id],
|
|
19168
19179
|
onAdd: onClickConnectionAdd,
|
|
19169
19180
|
onDelete: onDeleteConnection
|
|
19170
|
-
}), null, 16, ["
|
|
19181
|
+
}), null, 16, ["marker-end", "read-only"])
|
|
19171
19182
|
]),
|
|
19172
19183
|
"connection-line": withCtx((connectionLineProps) => [
|
|
19173
19184
|
createVNode(_component_CanvasConnectionLine, normalizeProps(guardReactiveProps(connectionLineProps)), null, 16)
|
|
19174
19185
|
]),
|
|
19175
19186
|
default: withCtx(() => [
|
|
19176
|
-
createVNode(
|
|
19187
|
+
createVNode(_sfc_main$8, { id: arrowHeadMarkerId.value }, null, 8, ["id"]),
|
|
19188
|
+
createVNode(unref(_sfc_main$11), {
|
|
19177
19189
|
"data-test-id": "canvas-background",
|
|
19178
19190
|
"pattern-color": "#aaa",
|
|
19179
19191
|
gap: unref(GRID_SIZE)
|
|
19180
19192
|
}, null, 8, ["gap"]),
|
|
19181
19193
|
createVNode(Transition, { name: "minimap" }, {
|
|
19182
19194
|
default: withCtx(() => [
|
|
19183
|
-
withDirectives(createVNode(unref(_sfc_main$
|
|
19195
|
+
withDirectives(createVNode(unref(_sfc_main$12), {
|
|
19184
19196
|
"data-test-id": "canvas-minimap",
|
|
19185
19197
|
"aria-label": "n8n Minimap",
|
|
19186
19198
|
height: 120,
|
|
@@ -19189,7 +19201,6 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
19189
19201
|
pannable: "",
|
|
19190
19202
|
zoomable: "",
|
|
19191
19203
|
"node-class-name": minimapNodeClassnameFn,
|
|
19192
|
-
"mask-color": "var(--color-background-base)",
|
|
19193
19204
|
"node-border-radius": 16,
|
|
19194
19205
|
onMouseenter: onMinimapMouseEnter,
|
|
19195
19206
|
onMouseleave: onMinimapMouseLeave
|
|
@@ -19233,7 +19244,7 @@ const style0$2 = {
|
|
|
19233
19244
|
const cssModules$2 = {
|
|
19234
19245
|
"$style": style0$2
|
|
19235
19246
|
};
|
|
19236
|
-
const Canvas = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__cssModules", cssModules$2], ["__scopeId", "data-v-
|
|
19247
|
+
const Canvas = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__cssModules", cssModules$2], ["__scopeId", "data-v-9277d9c5"]]);
|
|
19237
19248
|
function useCanvasMapping({
|
|
19238
19249
|
nodes,
|
|
19239
19250
|
connections: connections2,
|
|
@@ -20974,7 +20985,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
20974
20985
|
__name: "NodeView.v2",
|
|
20975
20986
|
setup(__props) {
|
|
20976
20987
|
const LazyNodeCreation2 = defineAsyncComponent(
|
|
20977
|
-
async () => await __vitePreload(() => import("./NodeCreation-
|
|
20988
|
+
async () => await __vitePreload(() => import("./NodeCreation-CM9wiEKu.js").then((n) => n.N), true ? __vite__mapDeps([39,3,4,5,6,2,7,8,9,10,1,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,40]) : void 0)
|
|
20978
20989
|
);
|
|
20979
20990
|
const LazyNodeDetailsView = defineAsyncComponent(
|
|
20980
20991
|
async () => await __vitePreload(() => Promise.resolve().then(() => NodeDetailsView), true ? void 0 : void 0)
|
|
@@ -21722,7 +21733,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
21722
21733
|
if (data.waitTill) {
|
|
21723
21734
|
toast.showMessage({
|
|
21724
21735
|
title: i18n2.baseText("nodeView.thisExecutionHasntFinishedYet"),
|
|
21725
|
-
message: h(_sfc_main$
|
|
21736
|
+
message: h(_sfc_main$x),
|
|
21726
21737
|
type: "warning",
|
|
21727
21738
|
duration: 0
|
|
21728
21739
|
});
|