n8n-editor-ui 1.93.0 → 1.94.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{AnimatedSpinner-hbTZDd93.js → AnimatedSpinner-CY5xYI5m.js} +1 -1
- package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-CYzc5StE.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-BOrzkwPH.js} +1 -1
- package/dist/assets/{AuthView-8SLMP0H_.js → AuthView-BTzGYAnY.js} +2 -2
- package/dist/assets/{CanvasChatSwitch-Dt8TgNJg.js → CanvasChatSwitch-CwpjFCL0.js} +17 -18
- package/dist/assets/{ChangePasswordView-DIRyDp89.js → ChangePasswordView-BKR2UFVI.js} +3 -3
- package/dist/assets/CollectionParameter-BJtiV9En.js +4 -0
- package/dist/assets/{CredentialsView-B6-VxAJ6.js → CredentialsView-DVgxfnNi.js} +7 -7
- package/dist/assets/{DemoFooter-CIHwH5PG.js → DemoFooter-C1T3Q0NX.js} +7 -8
- package/dist/assets/{ErrorView-C7i0TZwT.js → ErrorView-Cf2Yb8Ea.js} +1 -1
- package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang--2G21NNR.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-DUu0UMcW.js} +2 -2
- package/dist/assets/{ExecutionsView-C_YtciAr.js → ExecutionsView-DjNkfnDh.js} +19 -18
- package/dist/assets/{FileSaver.min-bgn7Q9Gt.js → FileSaver.min-C1p9Eies.js} +1 -1
- package/dist/assets/{FixedCollectionParameter-BPCJ5aaq.js → FixedCollectionParameter-DN_uJhpe.js} +1 -1
- package/dist/assets/{ForgotMyPasswordView-DyUaGd6Z.js → ForgotMyPasswordView-BMQBDIrq.js} +3 -3
- package/dist/assets/{InsightsChartAverageRuntime-BB2I2vpV.js → InsightsChartAverageRuntime-JzBkV6Rc.js} +4 -4
- package/dist/assets/{InsightsChartFailed-CN_Rl3Bl.js → InsightsChartFailed-DMD3c7zM.js} +4 -4
- package/dist/assets/{InsightsChartFailureRate-CHKlg6tg.js → InsightsChartFailureRate-D_qeZo4f.js} +4 -4
- package/dist/assets/{InsightsChartTimeSaved-Cd05cM8q.js → InsightsChartTimeSaved-Cw2T-Wvp.js} +4 -4
- package/dist/assets/{InsightsChartTotal-ChAO7myf.js → InsightsChartTotal-DlF47gob.js} +4 -4
- package/dist/assets/{InsightsDashboard-Bx4vx9gz.css → InsightsDashboard-BSrakbzr.css} +42 -8
- package/dist/assets/{InsightsDashboard-BeCfBVUz.js → InsightsDashboard-CxQ9H296.js} +40 -41
- package/dist/assets/{InsightsPaywall-Chz8CDc3.js → InsightsPaywall-hRkAfeHz.js} +1 -1
- package/dist/assets/InsightsSummary-BcXd-3nU.js +209 -0
- package/dist/assets/{InsightsSummary-CdlaUpAt.css → InsightsSummary-DzGQpM5h.css} +27 -24
- package/dist/assets/{InsightsTableWorkflows-Blv_GPUj.css → InsightsTableWorkflows-DfTZQkWL.css} +3 -4
- package/dist/assets/{InsightsTableWorkflows-5rpYY7YT.js → InsightsTableWorkflows-ybloXdDn.js} +5 -6
- package/dist/assets/{Logo-DUDCllkm.js → Logo-BGe7-2Vd.js} +1 -1
- package/dist/assets/{LogsPanel-D9r5AcQH.js → LogsPanel-DtTp6kY0.js} +331 -336
- package/dist/assets/{MainHeader-CEMGASqv.css → MainHeader-Y95RcfHb.css} +18 -18
- package/dist/assets/{MainHeader-DkKOOZ_D.js → MainHeader-h2DV-VuD.js} +13 -13
- package/dist/assets/{MainSidebar-ZUBIWeXm.js → MainSidebar-AAHHRXFA.js} +2 -2
- package/dist/assets/{NodeCreation-DCfAFuL5.js → NodeCreation-nHiG-Lhi.js} +3 -4
- package/dist/assets/{NodeCreator-a0YVv1IE.js → NodeCreator-weAzsmlU.js} +2 -3
- package/dist/assets/{NodeDetailsView-C5_hVJzj.js → NodeDetailsView-BsXbcyfb.js} +20 -11
- package/dist/assets/{NodeDetailsView-pYP-34nS.css → NodeDetailsView-DpO8nTmN.css} +16 -16
- package/dist/assets/{NodeView-Bk9h8GYy.js → NodeView-BY1O3wWl.js} +81 -38
- package/dist/assets/{ProjectCardBadge-DRlDZx3d.js → ProjectCardBadge-3xpk5Z4e.js} +1 -1
- package/dist/assets/{ProjectHeader-DNm605Kk.js → ProjectHeader-CpoOisjf.js} +2 -2
- package/dist/assets/{ProjectSettings-Dge_6KaR.js → ProjectSettings-B__3XaPY.js} +14 -4
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-CUf0LkWR.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-DaoPdG_5.js} +1 -1
- package/dist/assets/{ResourcesListLayout-Bbl-1i4l.js → ResourcesListLayout-DAxou314.js} +2 -2
- package/dist/assets/{RunData-DQeENuzG.css → RunData-CE5FsU6k.css} +2 -2
- package/dist/assets/{RunData-b0RE2JWc.js → RunData-fnd-jejc.js} +233 -92
- package/dist/assets/{RunDataAi-DnWcCR_0.js → RunDataAi-Ck3VGKP_.js} +3 -4
- package/dist/assets/{RunDataJson-CptVuHuA.js → RunDataJson-B80Z4URL.js} +7 -7
- package/dist/assets/{RunDataJsonActions-3jjDztw7.js → RunDataJsonActions-CdZi1Qul.js} +1 -1
- package/dist/assets/{RunDataParsedAiContent-BbXv-NPD.js → RunDataParsedAiContent-BczxQ63H.js} +5 -5
- package/dist/assets/{RunDataSearch-B90wjsDA.js → RunDataSearch-C4KmCz4c.js} +1 -1
- package/dist/assets/{RunDataTable-CpS78GlT.js → RunDataTable-CsLCZIWp.js} +3 -3
- package/dist/assets/{SamlOnboarding-Ch9K5rRW.js → SamlOnboarding-DkhjCrPa.js} +3 -3
- package/dist/assets/{SettingsApiView-9GU5n_rm.js → SettingsApiView-Ci2-rEpm.js} +1 -1
- package/dist/assets/{SettingsCommunityNodesView-CPnVRzNX.js → SettingsCommunityNodesView-_UOppuqS.js} +4 -4
- package/dist/assets/{SettingsExternalSecrets-D7xTMV9h.js → SettingsExternalSecrets-DHIkKr53.js} +1 -1
- package/dist/assets/{SettingsLdapView-OfrjGKkt.js → SettingsLdapView-B8ezgdqP.js} +1 -1
- package/dist/assets/{SettingsLogStreamingView-C_VnOaeX.js → SettingsLogStreamingView-YP6Xy7Fe.js} +1 -1
- package/dist/assets/{SettingsPersonalView-Dm24akPV.js → SettingsPersonalView-BmbFyWPb.js} +1 -1
- package/dist/assets/{SettingsSourceControl-DDCmL82j.js → SettingsSourceControl-DwaOdDke.js} +1 -1
- package/dist/assets/{SettingsSso-BGGQ0Cpg.js → SettingsSso-DOC-P2wt.js} +1 -1
- package/dist/assets/{SettingsUsageAndPlan-BzO_zdkH.js → SettingsUsageAndPlan-DVOLlEkG.js} +1 -1
- package/dist/assets/{SettingsUsersView-DHQUqhqB.js → SettingsUsersView-CN_KLeIm.js} +1 -1
- package/dist/assets/{SettingsView-CbtAqjOX.js → SettingsView-DiAhLyco.js} +1 -1
- package/dist/assets/{SetupView-BME1OE6U.js → SetupView-OE_yCNOU.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-DZr4TCPC.js → SetupWorkflowCredentialsButton-Dx1IkZgW.js} +1 -1
- package/dist/assets/{SetupWorkflowFromTemplateView-CPkKEY04.js → SetupWorkflowFromTemplateView-lQXKgIuL.js} +3 -3
- package/dist/assets/{SigninView-DUeRvOiY.js → SigninView-BWSrzbF7.js} +3 -3
- package/dist/assets/{SignoutView-BC7SBunZ.js → SignoutView-DxGgFxt2.js} +1 -1
- package/dist/assets/{SignupView-B5ecYJ2q.js → SignupView-Dtu5bMqF.js} +3 -3
- package/dist/assets/{TemplateDetails-DjanZgC1.js → TemplateDetails-CQ7TYqsP.js} +1 -1
- package/dist/assets/{TemplateList-8TyNGxY-.js → TemplateList-Cxmv-0p-.js} +1 -1
- package/dist/assets/{TemplatesCollectionView-BkH4pJCv.js → TemplatesCollectionView-xvV6FXib.js} +5 -5
- package/dist/assets/{TemplatesSearchView-Bcdhi1SL.js → TemplatesSearchView-CsECyZ52.js} +3 -3
- package/dist/assets/{TemplatesView-De2XB6We.js → TemplatesView-DrEKpZTU.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-BVnwtrMa.js → TemplatesWorkflowView-iSAL_yol.js} +5 -5
- package/dist/assets/{TestDefinitionEditView-DjmPnrTk.js → TestDefinitionEditView-C3ohfu_r.js} +6 -7
- package/dist/assets/{TestDefinitionListView-BL2s_qBZ.js → TestDefinitionListView-Dwto0jxH.js} +1 -1
- package/dist/assets/{TestDefinitionNewView-B9BqJZST.js → TestDefinitionNewView-9xVUm2ZJ.js} +2 -2
- package/dist/assets/{TestDefinitionRootView-AlWyxbc0.js → TestDefinitionRootView-DLurQ4xl.js} +1 -1
- package/dist/assets/{VariablesView-BZCvPfan.js → VariablesView-Cg2WSt_e.js} +4 -4
- package/dist/assets/{WorkerView-CigxqnWi.js → WorkerView-BG-Dl0Ej.js} +6 -6
- package/dist/assets/{WorkflowActivator-B7jRy4L1.js → WorkflowActivator-e7wvW1kJ.js} +11 -9
- package/dist/assets/{WorkflowExecutionsInfoAccordion-C_ZycbsF.js → WorkflowExecutionsInfoAccordion-CijtfO0l.js} +1 -1
- package/dist/assets/{WorkflowExecutionsLandingPage-DOqrfKlC.js → WorkflowExecutionsLandingPage-Do4y1yOx.js} +2 -2
- package/dist/assets/{WorkflowExecutionsPreview-B4Cj2gXW.js → WorkflowExecutionsPreview-Bqo_3PXl.js} +6 -6
- package/dist/assets/{WorkflowExecutionsView-RXfP7zkJ.js → WorkflowExecutionsView-C1gS45nc.js} +10 -10
- package/dist/assets/{WorkflowHistory-DrXrRwIS.js → WorkflowHistory-CypQw7rC.js} +3 -3
- package/dist/assets/{WorkflowOnboardingView-CXH1vCW2.js → WorkflowOnboardingView-DoKXpaNj.js} +1 -1
- package/dist/assets/{WorkflowPreview-B_MuFEV8.js → WorkflowPreview-Bxs5XzBX.js} +1 -1
- package/dist/assets/{WorkflowsView-D90hfJ35.js → WorkflowsView-BlvgD3xI.js} +9 -9
- package/dist/assets/{chartjs.utils-DalQn9bk.js → chartjs.utils-CuWcgqCr.js} +2 -2
- package/dist/assets/{dateFormatter-BPfJSa6q.js → dateFormatter-LbucaaRt.js} +1 -1
- package/dist/assets/{easyAiWorkflowUtils-kgtpBx2h.js → easyAiWorkflowUtils-_kvYb5hw.js} +1 -1
- package/dist/assets/{global-link-actions-CnWOMvqA.js → global-link-actions-DG0SjhQE.js} +1 -1
- package/dist/assets/{import-curl-BvX_O56D.js → import-curl-DQ6uPzZ1.js} +1 -1
- package/dist/assets/{index-yNaoC3fo.css → index-BA8d2DN9.css} +72 -418
- package/dist/assets/{index-DZ6VpjNj.js → index-hdsPF3tl.js} +60325 -57677
- package/dist/assets/{index-Bb2NNknG.js → index-vIybYvt3.js} +1 -1
- package/dist/assets/{pickBy-B_HGYyxS.js → pickBy-DmKUpB7M.js} +1 -1
- package/dist/assets/{polyfills-CLZ4X0Ad.js → polyfills-J2x06Gdp.js} +157 -224
- package/dist/assets/{templateActions-DQfZ3ni5.js → templateActions-DxoxchKp.js} +1 -1
- package/dist/assets/{typescript.worker-BsxN2afA.js → typescript.worker-B1loTpxy.js} +1 -1
- package/dist/assets/{useBeforeUnload-Cu0LPVWe.js → useBeforeUnload-B7JAQiE8.js} +1 -1
- package/dist/assets/{useCanvasMapping-VtpW_QZA.css → useCanvasMapping-CFf4cwnq.css} +6 -6
- package/dist/assets/{useCanvasMapping-CTTq6x8X.js → useCanvasMapping-CvcOHj5p.js} +56 -31
- package/dist/assets/{useClearExecutionButtonVisible-Dwc1_eG9.js → useClearExecutionButtonVisible-DFNEJves.js} +1 -2
- package/dist/assets/{useExecutionDebugging-rc72wLIp.js → useExecutionDebugging-DsRIfE0y.js} +1 -1
- package/dist/assets/{useExecutionHelpers-DqwMonFW.js → useExecutionHelpers-CEOL8_vt.js} +3 -3
- package/dist/assets/{useImportCurlCommand-D_onuFvo.js → useImportCurlCommand-DdIN4YaF.js} +2 -2
- package/dist/assets/{useProjectPages-e8b03-5_.js → useProjectPages-OGc-GAxb.js} +1 -1
- package/dist/assets/{usePushConnection-wm-7Id6Q.js → usePushConnection-DNGIaS0A.js} +16 -111
- package/dist/assets/{useTestDefinitionForm-DlUOnNC0.js → useTestDefinitionForm-Bi6EgFVm.js} +1 -1
- package/dist/assets/{useWorkflowActivate-65xML23U.js → useWorkflowActivate-CJ1hLmv2.js} +1 -1
- package/dist/assets/{useWorkflowSaving-CUel20JA.js → useWorkflowSaving-BuokdhTC.js} +1 -1
- package/dist/index.html +3 -3
- package/package.json +1 -1
- package/tsconfig.json +1 -0
- package/vite.config.mts +4 -0
- package/dist/assets/CollectionParameter-Cj4t6-hd.js +0 -4
- package/dist/assets/InsightsSummary-MECenLJQ.js +0 -207
- package/dist/assets/useCanvasOperations-u8oSDa_u.js +0 -2834
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/NodeCreation-
|
|
2
|
-
import { d as defineComponent, h as resolveComponent, e as createBlock, g as openBlock, C as createEventBus, Y as useCssModule,
|
|
3
|
-
import { u as useVueFlow, a as useCanvasMapping, C as Canvas } from "./useCanvasMapping-
|
|
4
|
-
import { g as globalLinkActionsEventBus } from "./global-link-actions-
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { u as
|
|
10
|
-
import { u as useWorkflowSaving } from "./useWorkflowSaving-CUel20JA.js";
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/NodeCreation-nHiG-Lhi.js","assets/index-hdsPF3tl.js","assets/index-BA8d2DN9.css","assets/NodeCreation-RKvezEeg.css","assets/NodeDetailsView-BsXbcyfb.js","assets/import-curl-DQ6uPzZ1.js","assets/RunData-fnd-jejc.js","assets/FileSaver.min-C1p9Eies.js","assets/useExecutionHelpers-CEOL8_vt.js","assets/dateFormatter-LbucaaRt.js","assets/RunData-CE5FsU6k.css","assets/RunDataAi-Ck3VGKP_.js","assets/RunDataParsedAiContent-BczxQ63H.js","assets/RunDataParsedAiContent-9EEUzCKp.css","assets/RunDataAi-D9VLFXIf.css","assets/useWorkflowActivate-CJ1hLmv2.js","assets/NodeDetailsView-DpO8nTmN.css","assets/SetupWorkflowCredentialsButton-Dx1IkZgW.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { d as defineComponent, h as resolveComponent, e as createBlock, g as openBlock, C as createEventBus, Y as useCssModule, bI as toRef, q as computed, r as ref, bR as refThrottled, i as createElementBlock, k as createBaseVNode, x as renderSlot, f as createCommentVNode, b8 as mergeProps, m as unref, n as normalizeClass, _ as _export_sfc, c as useI18n, bL as KeyboardShortcutTooltip, w as withCtx, j as createVNode, b3 as withModifiers, bS as reactive, o as onMounted, bc as onUnmounted, l as createTextVNode, t as toDisplayString, b as useRouter, R as useRoute, a as useToast, a4 as useDocumentTitle, a5 as useWorkflowHelpers, bA as useNodeHelpers, bz as useNodeTypesStore, H as useUIStore, Q as useWorkflowsStore, a0 as useSourceControlStore, bT as useNodeCreatorStore, p as useSettingsStore, bU as useCredentialsStore, bV as useEnvironmentsStore, bW as useExternalSecretsStore, Z as useRootStore, at as useExecutionsStore, $ as useCanvasStore, a3 as useNpsSurveyStore, bX as useHistoryStore, a1 as useProjectsStore, u as useUsersStore, E as useTagsStore, P as usePushConnectionStore, as as useNDVStore, aN as useTemplatesStore, bY as useBuilderStore, a2 as useFoldersStore, bZ as useAgentRequestStore, aY as useLogsStore, bB as useRunWorkflow, b_ as useCanvasOperations, bg as useClipboard, S as PLACEHOLDER_EMPTY_WORKFLOW_ID, b$ as NEW_WORKFLOW_ID, V as VIEWS, c0 as START_NODE_TYPE, c1 as getNodeViewTab, s as MAIN_HEADER_TABS, c2 as VALID_WORKFLOW_IMPORT_URL_REGEX, ai as useMessage, aj as MODAL_CONFIRM, c3 as jsonParse, a7 as getResourcePermissions, c4 as CHAT_TRIGGER_NODE_TYPE, c5 as MANUAL_CHAT_TRIGGER_NODE_TYPE, X as watch, c6 as onBeforeRouteLeave, az as onBeforeMount, ak as WORKFLOW_SETTINGS_MODAL_KEY, aP as useExternalHooks, c7 as onActivated, c8 as onDeactivated, y as onBeforeUnmount, c9 as Suspense, ca as defineAsyncComponent, F as Fragment, cb as N8nCallout, ao as __vitePreload, aa as EnterpriseEditionFeature, z as nextTick, ag as useTelemetry, cc as tryToParseNumber, ah as nodeViewEventBus, by as NodeConnectionTypes, cd as createCanvasConnectionHandleString, ce as isValidNodeConnectionType, cf as CanvasConnectionMode, aF as sourceControlEventBus, cg as getNodesWithNormalizedPosition, aq as h, ch as NODE_CREATOR_OPEN_SOURCES, ci as CanvasNodeRenderType, ay as STICKY_NODE_TYPE, cj as needsAgentInput, ck as FROM_AI_PARAMETERS_MODAL_KEY, cl as historyBus, cm as DRAG_EVENT_DATA_KEY } from "./index-hdsPF3tl.js";
|
|
3
|
+
import { u as useVueFlow, a as useCanvasMapping, C as Canvas } from "./useCanvasMapping-CvcOHj5p.js";
|
|
4
|
+
import { g as globalLinkActionsEventBus } from "./global-link-actions-DG0SjhQE.js";
|
|
5
|
+
import { u as useExecutionDebugging } from "./useExecutionDebugging-DsRIfE0y.js";
|
|
6
|
+
import { u as useBeforeUnload } from "./useBeforeUnload-B7JAQiE8.js";
|
|
7
|
+
import { g as getEasyAiWorkflowJson } from "./easyAiWorkflowUtils-_kvYb5hw.js";
|
|
8
|
+
import { u as useClearExecutionButtonVisible } from "./useClearExecutionButtonVisible-DFNEJves.js";
|
|
9
|
+
import { u as useWorkflowSaving } from "./useWorkflowSaving-BuokdhTC.js";
|
|
11
10
|
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
12
11
|
__name: "CanvasChatButton",
|
|
13
12
|
props: {
|
|
@@ -285,13 +284,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
285
284
|
__name: "NodeView",
|
|
286
285
|
setup(__props) {
|
|
287
286
|
const LazyNodeCreation = defineAsyncComponent(
|
|
288
|
-
async () => await __vitePreload(() => import("./NodeCreation-
|
|
287
|
+
async () => await __vitePreload(() => import("./NodeCreation-nHiG-Lhi.js").then((n) => n.N), true ? __vite__mapDeps([0,1,2,3]) : void 0)
|
|
289
288
|
);
|
|
290
289
|
const LazyNodeDetailsView = defineAsyncComponent(
|
|
291
|
-
async () => await __vitePreload(() => import("./NodeDetailsView-
|
|
290
|
+
async () => await __vitePreload(() => import("./NodeDetailsView-BsXbcyfb.js"), true ? __vite__mapDeps([4,1,2,5,6,7,8,9,10,11,12,13,14,15,16]) : void 0)
|
|
292
291
|
);
|
|
293
292
|
const LazySetupWorkflowCredentialsButton = defineAsyncComponent(
|
|
294
|
-
async () => await __vitePreload(() => import("./SetupWorkflowCredentialsButton-
|
|
293
|
+
async () => await __vitePreload(() => import("./SetupWorkflowCredentialsButton-Dx1IkZgW.js"), true ? __vite__mapDeps([17,1,2]) : void 0)
|
|
295
294
|
);
|
|
296
295
|
const $style = useCssModule();
|
|
297
296
|
const router = useRouter();
|
|
@@ -327,6 +326,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
327
326
|
const builderStore = useBuilderStore();
|
|
328
327
|
const foldersStore = useFoldersStore();
|
|
329
328
|
const agentRequestStore = useAgentRequestStore();
|
|
329
|
+
const logsStore = useLogsStore();
|
|
330
330
|
const canvasEventBus = createEventBus();
|
|
331
331
|
const { addBeforeUnloadEventBindings, removeBeforeUnloadEventBindings } = useBeforeUnload({
|
|
332
332
|
route
|
|
@@ -373,7 +373,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
373
373
|
editableWorkflow,
|
|
374
374
|
editableWorkflowObject,
|
|
375
375
|
lastClickPosition,
|
|
376
|
-
|
|
376
|
+
startChat
|
|
377
377
|
} = useCanvasOperations({ router });
|
|
378
378
|
const { applyExecutionData } = useExecutionDebugging();
|
|
379
379
|
useClipboard({ onPaste: onClipboardPaste });
|
|
@@ -405,7 +405,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
405
405
|
const keyBindingsEnabled = computed(() => {
|
|
406
406
|
return !ndvStore.activeNode && uiStore.activeModals.length === 0;
|
|
407
407
|
});
|
|
408
|
-
const isLogsPanelOpen = computed(() =>
|
|
408
|
+
const isLogsPanelOpen = computed(() => logsStore.isOpen);
|
|
409
409
|
async function initializeData() {
|
|
410
410
|
const loadPromises = (() => {
|
|
411
411
|
if (settingsStore.isPreviewMode && isDemoRoute.value) return [];
|
|
@@ -686,7 +686,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
686
686
|
}
|
|
687
687
|
toggleNodesDisabled(ids);
|
|
688
688
|
}
|
|
689
|
-
function onClickNode() {
|
|
689
|
+
function onClickNode(_id, event) {
|
|
690
|
+
lastClickPosition.value = [event.x, event.y];
|
|
690
691
|
closeNodeCreator();
|
|
691
692
|
}
|
|
692
693
|
function onSetNodeActivated(id, event) {
|
|
@@ -743,7 +744,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
743
744
|
if (!workflowData) {
|
|
744
745
|
return;
|
|
745
746
|
}
|
|
746
|
-
const result = await importWorkflowData(workflowData, "paste",
|
|
747
|
+
const result = await importWorkflowData(workflowData, "paste", {
|
|
748
|
+
importTags: false,
|
|
749
|
+
viewport: viewportBoundaries.value
|
|
750
|
+
});
|
|
747
751
|
selectNodes(result.nodes?.map((node) => node.id) ?? []);
|
|
748
752
|
}
|
|
749
753
|
async function onCutNodes(ids) {
|
|
@@ -757,7 +761,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
757
761
|
if (!checkIfEditingIsAllowed()) {
|
|
758
762
|
return;
|
|
759
763
|
}
|
|
760
|
-
const newIds = await duplicateNodes(ids
|
|
764
|
+
const newIds = await duplicateNodes(ids, {
|
|
765
|
+
viewport: viewportBoundaries.value
|
|
766
|
+
});
|
|
761
767
|
selectNodes(newIds);
|
|
762
768
|
}
|
|
763
769
|
function onPinNodes(ids, source) {
|
|
@@ -919,7 +925,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
919
925
|
}
|
|
920
926
|
async function onImportWorkflowDataEvent(data) {
|
|
921
927
|
const workflowData = data.data;
|
|
922
|
-
await importWorkflowData(workflowData, "file"
|
|
928
|
+
await importWorkflowData(workflowData, "file", {
|
|
929
|
+
viewport: viewportBoundaries.value
|
|
930
|
+
});
|
|
923
931
|
fitView();
|
|
924
932
|
selectNodes(workflowData.nodes?.map((node) => node.id) ?? []);
|
|
925
933
|
if (data.tidyUp) {
|
|
@@ -933,7 +941,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
933
941
|
if (!workflowData) {
|
|
934
942
|
return;
|
|
935
943
|
}
|
|
936
|
-
await importWorkflowData(workflowData, "url"
|
|
944
|
+
await importWorkflowData(workflowData, "url", {
|
|
945
|
+
viewport: viewportBoundaries.value
|
|
946
|
+
});
|
|
937
947
|
fitView();
|
|
938
948
|
selectNodes(workflowData.nodes?.map((node) => node.id) ?? []);
|
|
939
949
|
}
|
|
@@ -954,6 +964,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
954
964
|
const addedNodes = await addNodes(nodes, {
|
|
955
965
|
dragAndDrop,
|
|
956
966
|
position,
|
|
967
|
+
viewport: viewportBoundaries.value,
|
|
957
968
|
trackHistory: true,
|
|
958
969
|
telemetry: true
|
|
959
970
|
});
|
|
@@ -1185,11 +1196,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1185
1196
|
if (!chatTriggerNode.value) return null;
|
|
1186
1197
|
return workflowsStore.pinDataByNodeName(chatTriggerNode.value.name);
|
|
1187
1198
|
});
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
}
|
|
1191
|
-
async function onOpenChat() {
|
|
1192
|
-
await toggleChatOpen("main", true);
|
|
1199
|
+
function onOpenChat() {
|
|
1200
|
+
startChat("main");
|
|
1193
1201
|
}
|
|
1194
1202
|
function addUndoRedoEventBindings() {
|
|
1195
1203
|
historyBus.on("nodeMove", onRevertNodePosition);
|
|
@@ -1349,9 +1357,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1349
1357
|
});
|
|
1350
1358
|
}
|
|
1351
1359
|
const viewportTransform = ref({ x: 0, y: 0, zoom: 1 });
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1360
|
+
const viewportDimensions = ref({ width: 0, height: 0 });
|
|
1361
|
+
const viewportBoundaries = computed(() => {
|
|
1362
|
+
const { x, y, zoom } = viewportTransform.value;
|
|
1363
|
+
const { width, height } = viewportDimensions.value;
|
|
1364
|
+
const xMin = -x / zoom;
|
|
1365
|
+
const yMin = -y / zoom;
|
|
1366
|
+
const xMax = (width - x) / zoom;
|
|
1367
|
+
const yMax = (height - y) / zoom;
|
|
1368
|
+
return { xMin, yMin, xMax, yMax };
|
|
1369
|
+
});
|
|
1370
|
+
function onViewportChange(viewport, dimensions) {
|
|
1371
|
+
viewportTransform.value = viewport;
|
|
1372
|
+
viewportDimensions.value = dimensions;
|
|
1373
|
+
uiStore.nodeViewOffsetPosition = [viewport.x, viewport.y];
|
|
1355
1374
|
}
|
|
1356
1375
|
function fitView() {
|
|
1357
1376
|
setTimeout(() => canvasEventBus.emit("fitView"));
|
|
@@ -1363,6 +1382,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1363
1382
|
lastClickPosition.value = [position.x, position.y];
|
|
1364
1383
|
onSetNodeSelected();
|
|
1365
1384
|
}
|
|
1385
|
+
function onSelectionEnd(position) {
|
|
1386
|
+
lastClickPosition.value = [position.x, position.y];
|
|
1387
|
+
}
|
|
1366
1388
|
async function onDragAndDrop(position, event) {
|
|
1367
1389
|
if (!event.dataTransfer) {
|
|
1368
1390
|
return;
|
|
@@ -1553,6 +1575,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1553
1575
|
showAddFirstStepIfEnabled();
|
|
1554
1576
|
});
|
|
1555
1577
|
onDeactivated(() => {
|
|
1578
|
+
uiStore.closeModal(WORKFLOW_SETTINGS_MODAL_KEY);
|
|
1556
1579
|
removeUndoRedoEventBindings();
|
|
1557
1580
|
});
|
|
1558
1581
|
onBeforeUnmount(() => {
|
|
@@ -1590,6 +1613,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1590
1613
|
"onUpdate:node:parameters": onUpdateNodeParameters,
|
|
1591
1614
|
"onUpdate:node:inputs": onUpdateNodeInputs,
|
|
1592
1615
|
"onUpdate:node:outputs": onUpdateNodeOutputs,
|
|
1616
|
+
"onUpdate:logsOpen": _cache[2] || (_cache[2] = ($event) => unref(logsStore).toggleOpen($event)),
|
|
1617
|
+
"onUpdate:logs:inputOpen": unref(logsStore).toggleInputOpen,
|
|
1618
|
+
"onUpdate:logs:outputOpen": unref(logsStore).toggleOutputOpen,
|
|
1593
1619
|
"onOpen:subWorkflow": onOpenSubWorkflow,
|
|
1594
1620
|
"onClick:node": onClickNode,
|
|
1595
1621
|
"onClick:node:add": onClickNodeAdd,
|
|
@@ -1608,12 +1634,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1608
1634
|
"onDuplicate:nodes": onDuplicateNodes,
|
|
1609
1635
|
"onCopy:nodes": onCopyNodes,
|
|
1610
1636
|
"onCut:nodes": onCutNodes,
|
|
1611
|
-
"onRun:workflow": _cache[
|
|
1637
|
+
"onRun:workflow": _cache[3] || (_cache[3] = ($event) => unref(runEntireWorkflow)("main")),
|
|
1612
1638
|
"onSave:workflow": onSaveWorkflow,
|
|
1613
1639
|
"onCreate:workflow": onCreateWorkflow,
|
|
1614
|
-
onViewportChange,
|
|
1640
|
+
"onViewport:change": onViewportChange,
|
|
1641
|
+
"onSelection:end": onSelectionEnd,
|
|
1615
1642
|
onDragAndDrop,
|
|
1616
|
-
onTidyUp
|
|
1643
|
+
onTidyUp,
|
|
1644
|
+
onStartChat: _cache[4] || (_cache[4] = ($event) => unref(startChat)())
|
|
1617
1645
|
}, {
|
|
1618
1646
|
default: withCtx(() => [
|
|
1619
1647
|
(openBlock(), createBlock(Suspense, null, {
|
|
@@ -1637,12 +1665,27 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1637
1665
|
onMouseleave: onRunWorkflowButtonMouseLeave,
|
|
1638
1666
|
onClick: _cache[0] || (_cache[0] = ($event) => unref(runEntireWorkflow)("main"))
|
|
1639
1667
|
}, null, 8, ["waiting-for-webhook", "disabled", "executing"])) : createCommentVNode("", true),
|
|
1640
|
-
containsChatTriggerNodes.value ? (openBlock(),
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1668
|
+
containsChatTriggerNodes.value ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
1669
|
+
isLogsPanelOpen.value ? (openBlock(), createBlock(_component_CanvasChatButton, {
|
|
1670
|
+
key: 0,
|
|
1671
|
+
type: "tertiary",
|
|
1672
|
+
label: unref(i18n).baseText("chat.hide"),
|
|
1673
|
+
onClick: _cache[1] || (_cache[1] = ($event) => unref(logsStore).toggleOpen(false))
|
|
1674
|
+
}, null, 8, ["label"])) : (openBlock(), createBlock(KeyboardShortcutTooltip, {
|
|
1675
|
+
key: 1,
|
|
1676
|
+
label: unref(i18n).baseText("chat.open"),
|
|
1677
|
+
shortcut: { keys: ["c"] }
|
|
1678
|
+
}, {
|
|
1679
|
+
default: withCtx(() => [
|
|
1680
|
+
createVNode(_component_CanvasChatButton, {
|
|
1681
|
+
type: "primary",
|
|
1682
|
+
label: unref(i18n).baseText("chat.open"),
|
|
1683
|
+
onClick: onOpenChat
|
|
1684
|
+
}, null, 8, ["label"])
|
|
1685
|
+
]),
|
|
1686
|
+
_: 1
|
|
1687
|
+
}, 8, ["label"]))
|
|
1688
|
+
], 64)) : createCommentVNode("", true),
|
|
1646
1689
|
isStopExecutionButtonVisible.value ? (openBlock(), createBlock(_sfc_main$4, {
|
|
1647
1690
|
key: 2,
|
|
1648
1691
|
stopping: isStoppingExecution.value,
|
|
@@ -1698,7 +1741,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1698
1741
|
}))
|
|
1699
1742
|
]),
|
|
1700
1743
|
_: 1
|
|
1701
|
-
}, 8, ["id", "workflow", "workflow-object", "fallback-nodes", "show-fallback-nodes", "event-bus", "read-only", "executing", "key-bindings"])) : createCommentVNode("", true);
|
|
1744
|
+
}, 8, ["id", "workflow", "workflow-object", "fallback-nodes", "show-fallback-nodes", "event-bus", "read-only", "executing", "key-bindings", "onUpdate:logs:inputOpen", "onUpdate:logs:outputOpen"])) : createCommentVNode("", true);
|
|
1702
1745
|
};
|
|
1703
1746
|
}
|
|
1704
1747
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, b as useRouter, q as computed, c as useI18n, h as resolveComponent, e as createBlock, g as openBlock, m as unref, V as VIEWS, ab as ProjectTypes,
|
|
1
|
+
import { d as defineComponent, b as useRouter, q as computed, c as useI18n, h as resolveComponent, e as createBlock, g as openBlock, m as unref, V as VIEWS, ab as ProjectTypes, g6 as splitName, fW as ResourceType, cu as resolveDirective, i as createElementBlock, b8 as mergeProps, j as createVNode, x as renderSlot, w as withCtx, f as createCommentVNode, n as normalizeClass, aA as withDirectives, dP as ProjectIcon, k as createBaseVNode, l as createTextVNode, t as toDisplayString, _ as _export_sfc } from "./index-hdsPF3tl.js";
|
|
2
2
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
3
3
|
__name: "EmptySharedSectionActionBox",
|
|
4
4
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as defineComponent, R as useRoute, r as ref, q as computed, V as VIEWS, c as useI18n, X as watch, h as resolveComponent, e as createBlock, g as openBlock, i as createElementBlock, n as normalizeClass, x as renderSlot, j as createVNode, m as unref,
|
|
2
|
-
import { u as useProjectPages } from "./useProjectPages-
|
|
1
|
+
import { d as defineComponent, R as useRoute, r as ref, q as computed, V as VIEWS, c as useI18n, X as watch, h as resolveComponent, e as createBlock, g as openBlock, i as createElementBlock, n as normalizeClass, x as renderSlot, j as createVNode, m as unref, fL as N8nActionToggle, w as withCtx, aT as _sfc_main$3, _ as _export_sfc, b as useRouter, a1 as useProjectsStore, a0 as useSourceControlStore, p as useSettingsStore, ab as ProjectTypes, a7 as getResourcePermissions, k as createBaseVNode, f as createCommentVNode, dP as ProjectIcon, l as createTextVNode, t as toDisplayString, bh as N8nButton, b8 as mergeProps, aR as N8nTooltip } from "./index-hdsPF3tl.js";
|
|
2
|
+
import { u as useProjectPages } from "./useProjectPages-OGc-GAxb.js";
|
|
3
3
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "ProjectTabs",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as defineComponent,
|
|
2
|
-
import { P as ProjectHeader } from "./ProjectHeader-
|
|
3
|
-
import "./useProjectPages-
|
|
1
|
+
import { d as defineComponent, f3 as mergeModels, f4 as useModel, r as ref, q as computed, c as useI18n, h as resolveComponent, e as createBlock, g as openBlock, w as withCtx, j as createVNode, k as createBaseVNode, l as createTextVNode, t as toDisplayString, m as unref, i as createElementBlock, f as createCommentVNode, n as normalizeClass, fq as ProjectSharing, b3 as withModifiers, _ as _export_sfc, a6 as usePageRedirectionHelper, u as useUsersStore, a1 as useProjectsStore, gg as useRolesStore, aI as useCloudPlanStore, a as useToast, b as useRouter, a4 as useDocumentTitle, gh as getAllIconNames, X as watch, az as onBeforeMount, o as onMounted, dp as N8nFormInput, F as Fragment, D as renderList, ct as deepCopy, V as VIEWS, ag as useTelemetry, z as nextTick } from "./index-hdsPF3tl.js";
|
|
2
|
+
import { P as ProjectHeader } from "./ProjectHeader-CpoOisjf.js";
|
|
3
|
+
import "./useProjectPages-OGc-GAxb.js";
|
|
4
4
|
const _hoisted_1$2 = { class: "pt-l" };
|
|
5
5
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "ProjectDeleteDialog",
|
|
@@ -452,6 +452,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
452
452
|
},
|
|
453
453
|
{ immediate: true }
|
|
454
454
|
);
|
|
455
|
+
const relationUsers = computed(
|
|
456
|
+
() => formData.value.relations.map((relation) => {
|
|
457
|
+
const user = usersStore.usersById[relation.id];
|
|
458
|
+
if (!user) return relation;
|
|
459
|
+
return {
|
|
460
|
+
...user,
|
|
461
|
+
...relation
|
|
462
|
+
};
|
|
463
|
+
})
|
|
464
|
+
);
|
|
455
465
|
onBeforeMount(async () => {
|
|
456
466
|
await usersStore.fetchUsers();
|
|
457
467
|
});
|
|
@@ -528,7 +538,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
528
538
|
}, 8, ["users", "current-user-id", "placeholder"]),
|
|
529
539
|
createVNode(_component_N8nUsersList, {
|
|
530
540
|
actions: [],
|
|
531
|
-
users:
|
|
541
|
+
users: relationUsers.value,
|
|
532
542
|
"current-user-id": unref(usersStore).currentUser?.id,
|
|
533
543
|
"delete-label": unref(i18n).baseText("workflows.shareModal.list.delete")
|
|
534
544
|
}, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, P as usePushConnectionStore, q as computed, h as resolveComponent,
|
|
1
|
+
import { d as defineComponent, P as usePushConnectionStore, q as computed, h as resolveComponent, cu as resolveDirective, i as createElementBlock, g as openBlock, x as renderSlot, j as createVNode, w as withCtx, k as createBaseVNode, l as createTextVNode, t as toDisplayString, m as unref, c as useI18n, aA as withDirectives } from "./index-hdsPF3tl.js";
|
|
2
2
|
const _hoisted_1 = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "push-connection-lost primary-color"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as _export_sfc, i as createElementBlock, g as openBlock, x as renderSlot, k as createBaseVNode, n as normalizeClass, d as defineComponent, f as createCommentVNode, a1 as useProjectsStore, q as computed, X as watch, az as onBeforeMount, h as resolveComponent, e as createBlock, w as withCtx, m as unref, aa as EnterpriseEditionFeature, j as createVNode, c as useI18n,
|
|
2
|
-
import { u as useProjectPages } from "./useProjectPages-
|
|
1
|
+
import { _ as _export_sfc, i as createElementBlock, g as openBlock, x as renderSlot, k as createBaseVNode, n as normalizeClass, d as defineComponent, f as createCommentVNode, a1 as useProjectsStore, q as computed, X as watch, az as onBeforeMount, h as resolveComponent, e as createBlock, w as withCtx, m as unref, aa as EnterpriseEditionFeature, j as createVNode, c as useI18n, fq as ProjectSharing, l as createTextVNode, t as toDisplayString, av as useLocalStorage, fr as LOCAL_STORAGE_WORKFLOW_LIST_PREFERENCES_KEY, R as useRoute, b as useRouter, G as useDebounce, u as useUsersStore, r as ref, eF as useSlots, fs as isSharedResource, ft as isResourceSortableByDate, o as onMounted, z as nextTick, y as onBeforeUnmount, F as Fragment, D as renderList, aA as withDirectives, b5 as normalizeProps, b6 as guardReactiveProps, aB as vShow, ag as useTelemetry } from "./index-hdsPF3tl.js";
|
|
2
|
+
import { u as useProjectPages } from "./useProjectPages-OGc-GAxb.js";
|
|
3
3
|
const wrapper$1 = "_wrapper_1x8n3_123";
|
|
4
4
|
const content = "_content_1x8n3_139";
|
|
5
5
|
const style0$3 = {
|
|
@@ -1728,7 +1728,7 @@ video {
|
|
|
1728
1728
|
-------------------------- */
|
|
1729
1729
|
/* BEM
|
|
1730
1730
|
-------------------------- */
|
|
1731
|
-
.run-data .code-node-editor[data-v-
|
|
1731
|
+
.run-data .code-node-editor[data-v-03f081bd] {
|
|
1732
1732
|
height: 100%;
|
|
1733
1733
|
}/* BEM support Func
|
|
1734
1734
|
-------------------------- */
|
|
@@ -1852,7 +1852,7 @@ video {
|
|
|
1852
1852
|
-------------------------- */
|
|
1853
1853
|
/* BEM
|
|
1854
1854
|
-------------------------- */
|
|
1855
|
-
[data-v-
|
|
1855
|
+
[data-v-03f081bd] .highlight {
|
|
1856
1856
|
background-color: #f7dc55;
|
|
1857
1857
|
color: black;
|
|
1858
1858
|
border-radius: var(--border-radius-base);
|