n8n-editor-ui 1.85.2 → 1.87.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-ChSRgyeI.css +39 -0
- package/dist/assets/AnimatedSpinner-urWn52iY.js +18 -0
- package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-B2Xk-4o2.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DIbgkfAC.js} +1 -1
- package/dist/assets/{AuthView-Bhr2Ols-.js → AuthView-DIQI5asI.js} +2 -2
- package/dist/assets/{CanvasChatSwitch-BcSDHC-c.css → CanvasChatSwitch-0IWSu8RE.css} +488 -46
- package/dist/assets/{CanvasChatSwitch-E9vu2jW8.js → CanvasChatSwitch-BIpZuY-n.js} +697 -214
- package/dist/assets/{ChangePasswordView-BzAEcqVw.js → ChangePasswordView-D8Qv0tim.js} +3 -3
- package/dist/assets/CollectionParameter-DT1MnS63.js +4 -0
- package/dist/assets/{CredentialsView-CZiEXdjH.js → CredentialsView-tJ8-2RrO.js} +8 -8
- package/dist/assets/{ErrorView-C1QywuMY.js → ErrorView-CZEZD7LB.js} +1 -1
- package/dist/assets/{ExecutionsTime-BOPJEomw.css → ExecutionsTime-DZHUIJjP.css} +6 -6
- package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-l5VZIkoy.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-gcknFyjA.js} +23 -20
- package/dist/assets/{ExecutionsView-Bo0Nk8lV.js → ExecutionsView-BCfIz8EF.js} +49 -57
- package/dist/assets/{ExecutionsView-JCKikuIS.css → ExecutionsView-ByQf9yli.css} +13 -47
- package/dist/assets/{FileSaver.min-D3VgyjMF.js → FileSaver.min-Bs2qHlKb.js} +1 -1
- package/dist/assets/{FixedCollectionParameter-RpfOY9Ho.js → FixedCollectionParameter-E0LDqNW3.js} +1 -1
- package/dist/assets/{ForgotMyPasswordView-DPTddCxG.js → ForgotMyPasswordView-YOnrzvKJ.js} +3 -3
- package/dist/assets/InsightsChartAverageRuntime-DWrrriYN.js +61 -0
- package/dist/assets/InsightsChartFailed-DRi6JC3m.js +57 -0
- package/dist/assets/InsightsChartFailureRate-BdFNsMpg.js +57 -0
- package/dist/assets/InsightsChartTimeSaved-C12GZzSQ.js +71 -0
- package/dist/assets/InsightsChartTotal-Cn386HO4.js +59 -0
- package/dist/assets/InsightsDashboard-BawwZ0Oo.js +154 -0
- package/dist/assets/InsightsDashboard-CB4vHnBh.css +152 -0
- package/dist/assets/InsightsPaywall-OeXh6LeZ.css +133 -0
- package/dist/assets/InsightsPaywall-g3JcqAYL.js +58 -0
- package/dist/assets/{useOverview-DcRuPjLJ.css → InsightsSummary-W08OzElS.css} +57 -35
- package/dist/assets/InsightsSummary-vMmKUcie.js +185 -0
- package/dist/assets/InsightsTableWorkflows-DQQ1vvMz.js +129 -0
- package/dist/assets/InsightsTableWorkflows-Us3j4UTO.css +128 -0
- package/dist/assets/{Logo-CxllxUni.js → Logo-Vm92axlM.js} +1 -1
- package/dist/assets/{MainHeader-9gTxUJIR.js → MainHeader-BUhpvu2K.js} +9 -10
- package/dist/assets/{MainSidebar-CRJML8mh.js → MainSidebar-D5P5FSUQ.js} +11 -4
- package/dist/assets/{NodeCreation-zoYjBJl6.js → NodeCreation-BgW5u-Bc.js} +4 -4
- package/dist/assets/{NodeCreator-D-qBRyBy.js → NodeCreator-CFe2n6vJ.js} +10 -26
- package/dist/assets/{NodeDetailsView-C1z3N5z_.css → NodeDetailsView-BT-ro74o.css} +63 -70
- package/dist/assets/{NodeDetailsView-C1iBFaC1.js → NodeDetailsView-CmtK-rDD.js} +145 -482
- package/dist/assets/{NodeView-Bio-FnnF.js → NodeView-BqaNPfpx.js} +19 -21
- package/dist/assets/{ProjectCardBadge-BEflW6oP.js → ProjectCardBadge-BKgtzWr1.js} +69 -36
- package/dist/assets/{ProjectCardBadge-C78ap7Rc.css → ProjectCardBadge-t3v64i1e.css} +18 -13
- package/dist/assets/{ProjectHeader-DK3_g_D8.js → ProjectHeader-BWVSdavS.js} +33 -7
- package/dist/assets/{ProjectHeader-B-a6_GH6.css → ProjectHeader-BsBpG-Mj.css} +7 -7
- package/dist/assets/{ProjectSettings-CLMy_-YC.js → ProjectSettings-BL-2-uOg.js} +3 -3
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-CSazgsi8.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-BL-bMMgn.js} +1 -2
- package/dist/assets/{ResourcesListLayout-CBvvL0VM.js → ResourcesListLayout-CozpmfUY.js} +1 -1
- package/dist/assets/{RunDataAi-C-tu9GrI.js → RunDataAi-B_EadpzG.js} +188 -94
- package/dist/assets/{RunDataAi-CN9FrT9c.css → RunDataAi-CUUDqZRP.css} +128 -0
- package/dist/assets/{RunDataJson-ClpS_600.js → RunDataJson-CyNNCtyd.js} +11 -12
- package/dist/assets/{RunDataJsonActions-gWW8Qkt_.js → RunDataJsonActions-SQqaiBEP.js} +1 -2
- package/dist/assets/{RunDataSearch-Dgv5JYk-.js → RunDataSearch-BF9kshKq.js} +1 -1
- package/dist/assets/{RunDataTable-nsOk35pD.js → RunDataTable-DsW7wuc2.js} +10 -8
- package/dist/assets/{SamlOnboarding-C5TSdGcx.js → SamlOnboarding-BX7RiRJB.js} +3 -3
- package/dist/assets/{SettingsApiView-CzQG1ofR.js → SettingsApiView-CDIPYvaG.js} +1 -1
- package/dist/assets/{SettingsCommunityNodesView-D_F3n2NO.js → SettingsCommunityNodesView-BRSEkT73.js} +4 -5
- package/dist/assets/{SettingsExternalSecrets-BUgKlMoR.js → SettingsExternalSecrets-D7ASuAnS.js} +1 -1
- package/dist/assets/{SettingsLdapView-CAmuVErd.js → SettingsLdapView-DA5fZZ51.js} +1 -1
- package/dist/assets/{SettingsLogStreamingView-DLkHrsx5.js → SettingsLogStreamingView-C9qkYvCr.js} +1 -1
- package/dist/assets/{SettingsPersonalView-2elwsG0f.js → SettingsPersonalView-BnNOJcvO.js} +2 -2
- package/dist/assets/{SettingsSourceControl-BD426GUo.js → SettingsSourceControl--ozL4427.js} +1 -1
- package/dist/assets/{SettingsSso-B-7lLoTI.js → SettingsSso-Bfe_HRSr.js} +1 -1
- package/dist/assets/{SettingsUsageAndPlan-EUWVJYe2.js → SettingsUsageAndPlan-CzvMNudh.js} +1 -1
- package/dist/assets/{SettingsUsersView-C3GbTYvU.js → SettingsUsersView-DGu5ku48.js} +1 -1
- package/dist/assets/{SettingsView-DSMM_8SL.js → SettingsView-CvreVxXL.js} +1 -1
- package/dist/assets/{SetupView-CexY8Lic.js → SetupView-BJT6GtIA.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-BpLp754t.js → SetupWorkflowCredentialsButton-BEq2gs_-.js} +2 -4
- package/dist/assets/{SetupWorkflowFromTemplateView-CLvS9Kda.js → SetupWorkflowFromTemplateView-F9oCDWX8.js} +3 -12
- package/dist/assets/{SigninView-CYkcm3hG.js → SigninView-DyoDtCBc.js} +3 -3
- package/dist/assets/{SignoutView-C2HutrZm.js → SignoutView-DclBslYe.js} +1 -1
- package/dist/assets/{SignupView-B-o-ka0Z.js → SignupView-BhB0Hhj0.js} +3 -3
- package/dist/assets/{TemplateDetails-C20G_lj4.js → TemplateDetails-B3utdyMi.js} +1 -1
- package/dist/assets/{TemplateList-DQzcYS6n.js → TemplateList-Bgz1iiiH.js} +1 -1
- package/dist/assets/{TemplatesCollectionView-DEEMhmYZ.js → TemplatesCollectionView-CORzb8YZ.js} +7 -9
- package/dist/assets/{TemplatesSearchView-S6802uNr.js → TemplatesSearchView-DTuv4-5C.js} +3 -3
- package/dist/assets/{TemplatesView-CT7S5O4K.js → TemplatesView-CFV5SVF7.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-BMd9OmqA.js → TemplatesWorkflowView-CQVVdNty.js} +5 -7
- package/dist/assets/{TestDefinitionEditView-BXhOuJrU.css → TestDefinitionEditView-Cwkrz308.css} +12 -143
- package/dist/assets/{TestDefinitionEditView-5kDGEtaD.js → TestDefinitionEditView-DX6GIeq2.js} +179 -331
- package/dist/assets/{TestDefinitionListView-BM-hghAY.js → TestDefinitionListView-CLEkthYQ.js} +1 -1
- package/dist/assets/{TestDefinitionNewView-CNN-qAmL.js → TestDefinitionNewView-DWTTqvlN.js} +2 -2
- package/dist/assets/{TestDefinitionRootView-S8g84AaK.js → TestDefinitionRootView-D0yLW0V6.js} +1 -1
- package/dist/assets/{VariablesView-D90WCfYK.js → VariablesView-Dsr4pqth.js} +3 -3
- package/dist/assets/{WorkerView-BHVIRKm_.js → WorkerView-Bbu5wv-g.js} +6 -7
- package/dist/assets/{WorkflowActivator-BsceIfln.js → WorkflowActivator-C197X_D6.js} +2 -2
- package/dist/assets/{WorkflowExecutionsInfoAccordion-DxGIzmq4.js → WorkflowExecutionsInfoAccordion-CHPlRtMQ.js} +1 -1
- package/dist/assets/{WorkflowExecutionsLandingPage-czqJYUnQ.js → WorkflowExecutionsLandingPage-CnvMc3SA.js} +2 -2
- package/dist/assets/{WorkflowExecutionsPreview-BzCGXWj0.js → WorkflowExecutionsPreview-CJBM3Awe.js} +24 -256
- package/dist/assets/{WorkflowExecutionsPreview-CHu6M3Dh.css → WorkflowExecutionsPreview-D7jTJ8GL.css} +16 -48
- package/dist/assets/{WorkflowExecutionsView-syep-_N0.js → WorkflowExecutionsView-BwB6WS6M.js} +11 -17
- package/dist/assets/{WorkflowHistory-CmHn_hnX.js → WorkflowHistory-U5a4aYts.js} +4 -4
- package/dist/assets/{WorkflowOnboardingView-BmhaZBkH.js → WorkflowOnboardingView-DHUUTLOo.js} +1 -1
- package/dist/assets/{WorkflowPreview-BN13256Q.js → WorkflowPreview-D8pwehRe.js} +1 -1
- package/dist/assets/{WorkflowsView-r9qJOUEb.css → WorkflowsView-CJB9aI6A.css} +27 -41
- package/dist/assets/{WorkflowsView-6qbtftll.js → WorkflowsView-DIh7kqZk.js} +76 -141
- package/dist/assets/chartjs.utils-DTEY3u-V.js +193 -0
- package/dist/assets/dateFormatter-C7xnNKzY.js +21 -0
- package/dist/assets/{easyAiWorkflowUtils-C7LfXIgb.js → easyAiWorkflowUtils-V__OjFo9.js} +1 -1
- package/dist/assets/{global-link-actions-znEIb0N4.js → global-link-actions-vGpWr9Uz.js} +1 -1
- package/dist/assets/{import-curl-BsKs3fYs.js → import-curl-C6ERUxFe.js} +1 -1
- package/dist/assets/{index-Cjz62pAo.js → index-BrjPYODL.js} +3 -1
- package/dist/assets/{index-DZljH0cm.js → index-DD7Wuhk5.js} +11407 -5580
- package/dist/assets/{index-CgXKy7t-.css → index-DJ205bL0.css} +418 -92
- package/dist/assets/{pickBy-DlIFPp_M.js → pickBy-BILEJ4hg.js} +1 -1
- package/dist/assets/{templateActions-ClDjWPHA.js → templateActions-M3qRQiV6.js} +2 -7
- package/dist/assets/{useBeforeUnload-BFlrxvKb.js → useBeforeUnload-DTsj_abb.js} +1 -1
- package/dist/assets/{useCanvasMapping-CJcAsQmx.css → useCanvasMapping-BkGr1HdJ.css} +29 -28
- package/dist/assets/{useCanvasMapping-C0PMQVwg.js → useCanvasMapping-DJvMRP2s.js} +71 -56
- package/dist/assets/{useCanvasOperations-2Ca5hPmu.js → useCanvasOperations-DCaSrD1N.js} +26 -254
- package/dist/assets/{useClearExecutionButtonVisible-D8unhL-H.js → useClearExecutionButtonVisible-CVPKhr9F.js} +2 -2
- package/dist/assets/{useExecutionDebugging-MiAgkS54.js → useExecutionDebugging-yY2o_eNc.js} +1 -1
- package/dist/assets/{useExecutionHelpers-CgD9G_XU.js → useExecutionHelpers-BVY9xXbG.js} +2 -19
- package/dist/assets/{useImportCurlCommand-D6LUnncf.js → useImportCurlCommand-Chewi-_x.js} +2 -2
- package/dist/assets/{usePushConnection-DAhrfl2L.js → usePushConnection-9zsAnuvC.js} +13 -6
- package/dist/assets/{useTestDefinitionForm-TDiKTq9o.js → useTestDefinitionForm-CCVy0jKP.js} +1 -31
- package/dist/assets/{useWorkflowActivate-C_GRAYoC.js → useWorkflowActivate-DeEvbrsK.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +1 -1
- package/dist/assets/CollectionParameter-XKkHxrwX.js +0 -4
- package/dist/assets/pushConnection.store-DHLcz9cC.js +0 -238
- package/dist/assets/useOverview-BqIOGpWx.js +0 -161
- package/dist/assets/useRunWorkflow-sGIs6NeH.js +0 -521
|
@@ -1,14 +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,
|
|
3
|
-
import { u as useVueFlow, a as useCanvasMapping, C as Canvas } from "./useCanvasMapping-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { u as
|
|
8
|
-
import {
|
|
9
|
-
import { u as
|
|
10
|
-
import { g as getEasyAiWorkflowJson } from "./easyAiWorkflowUtils-C7LfXIgb.js";
|
|
11
|
-
import { u as useClearExecutionButtonVisible } from "./useClearExecutionButtonVisible-D8unhL-H.js";
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/NodeCreation-BgW5u-Bc.js","assets/index-DD7Wuhk5.js","assets/index-DJ205bL0.css","assets/useCanvasOperations-DCaSrD1N.js","assets/NodeCreation-RKvezEeg.css","assets/NodeDetailsView-CmtK-rDD.js","assets/import-curl-C6ERUxFe.js","assets/FileSaver.min-Bs2qHlKb.js","assets/RunDataAi-B_EadpzG.js","assets/useExecutionHelpers-BVY9xXbG.js","assets/dateFormatter-C7xnNKzY.js","assets/RunDataAi-CUUDqZRP.css","assets/useWorkflowActivate-DeEvbrsK.js","assets/NodeDetailsView-BT-ro74o.css","assets/SetupWorkflowCredentialsButton-BEq2gs_-.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { d as defineComponent, h as resolveComponent, e as createBlock, g as openBlock, C as createEventBus, a0 as useCssModule, bI as toRef, q as computed, r as ref, bJ as refDebounced, i as createElementBlock, k as createBaseVNode, x as renderSlot, f as createCommentVNode, b3 as mergeProps, m as unref, n as normalizeClass, _ as _export_sfc, c as useI18n, bK as KeyboardShortcutTooltip, w as withCtx, j as createVNode, J as withModifiers, bL as reactive, o as onMounted, b7 as onUnmounted, l as createTextVNode, t as toDisplayString, b as useRouter, W as useRoute, a as useToast, a6 as useDocumentTitle, a7 as useWorkflowHelpers, bx as useNodeHelpers, bw as useNodeTypesStore, L as useUIStore, U as useWorkflowsStore, a3 as useSourceControlStore, p as useSettingsStore, bM as useCredentialsStore, bN as useEnvironmentsStore, bO as useExternalSecretsStore, a1 as useRootStore, av as useExecutionsStore, a2 as useCanvasStore, a5 as useNpsSurveyStore, bP as useHistoryStore, a4 as useProjectsStore, u as useUsersStore, E as useTagsStore, T as usePushConnectionStore, au as useNDVStore, aP as useTemplatesStore, aw as usePostHog, by as useRunWorkflow, ba as useClipboard, X as PLACEHOLDER_EMPTY_WORKFLOW_ID, bQ as NEW_WORKFLOW_ID, V as VIEWS, bR as CanvasNodeRenderType, bz as LOGS_PANEL_STATE, bS as START_NODE_TYPE, bT as getNodeViewTab, s as MAIN_HEADER_TABS, ao as VALID_WORKFLOW_IMPORT_URL_REGEX, ak as useMessage, al as MODAL_CONFIRM, bU as jsonParse, a9 as getResourcePermissions, bv as CHAT_TRIGGER_NODE_TYPE, bk as MANUAL_CHAT_TRIGGER_NODE_TYPE, I as watch, bV as onBeforeRouteLeave, aB as onBeforeMount, aR as useExternalHooks, bW as onActivated, bX as onDeactivated, y as onBeforeUnmount, bY as Suspense, bZ as defineAsyncComponent, b_ as N8nCallout, aq as __vitePreload, ac as EnterpriseEditionFeature, b$ as AI_CREDITS_EXPERIMENT, z as nextTick, ai as useTelemetry, c0 as tryToParseNumber, aj as nodeViewEventBus, bu as NodeConnectionTypes, c1 as isValidNodeConnectionType, c2 as CanvasConnectionMode, c3 as historyBus, aH as sourceControlEventBus, c4 as getNodesWithNormalizedPosition, as as h, c5 as NODE_CREATOR_OPEN_SOURCES, aA as STICKY_NODE_TYPE, c6 as DRAG_EVENT_DATA_KEY } from "./index-DD7Wuhk5.js";
|
|
3
|
+
import { u as useVueFlow, a as useCanvasMapping, C as Canvas } from "./useCanvasMapping-DJvMRP2s.js";
|
|
4
|
+
import { g as globalLinkActionsEventBus } from "./global-link-actions-vGpWr9Uz.js";
|
|
5
|
+
import { a as useNodeCreatorStore, b as useCanvasOperations, c as createCanvasConnectionHandleString } from "./useCanvasOperations-DCaSrD1N.js";
|
|
6
|
+
import { u as useExecutionDebugging } from "./useExecutionDebugging-yY2o_eNc.js";
|
|
7
|
+
import { u as useBeforeUnload } from "./useBeforeUnload-DTsj_abb.js";
|
|
8
|
+
import { g as getEasyAiWorkflowJson } from "./easyAiWorkflowUtils-V__OjFo9.js";
|
|
9
|
+
import { u as useClearExecutionButtonVisible } from "./useClearExecutionButtonVisible-CVPKhr9F.js";
|
|
12
10
|
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
13
11
|
__name: "CanvasChatButton",
|
|
14
12
|
props: {
|
|
@@ -286,13 +284,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
286
284
|
__name: "NodeView",
|
|
287
285
|
setup(__props) {
|
|
288
286
|
const LazyNodeCreation = defineAsyncComponent(
|
|
289
|
-
async () => await __vitePreload(() => import("./NodeCreation-
|
|
287
|
+
async () => await __vitePreload(() => import("./NodeCreation-BgW5u-Bc.js").then((n) => n.N), true ? __vite__mapDeps([0,1,2,3,4]) : void 0)
|
|
290
288
|
);
|
|
291
289
|
const LazyNodeDetailsView = defineAsyncComponent(
|
|
292
|
-
async () => await __vitePreload(() => import("./NodeDetailsView-
|
|
290
|
+
async () => await __vitePreload(() => import("./NodeDetailsView-CmtK-rDD.js").then((n) => n.N), true ? __vite__mapDeps([5,1,2,6,7,8,3,9,10,11,12,13]) : void 0)
|
|
293
291
|
);
|
|
294
292
|
const LazySetupWorkflowCredentialsButton = defineAsyncComponent(
|
|
295
|
-
async () => await __vitePreload(() => import("./SetupWorkflowCredentialsButton-
|
|
293
|
+
async () => await __vitePreload(() => import("./SetupWorkflowCredentialsButton-BEq2gs_-.js"), true ? __vite__mapDeps([14,1,2]) : void 0)
|
|
296
294
|
);
|
|
297
295
|
const $style = useCssModule();
|
|
298
296
|
const router = useRouter();
|
|
@@ -413,7 +411,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
413
411
|
const keyBindingsEnabled = computed(() => {
|
|
414
412
|
return !ndvStore.activeNode && uiStore.activeModals.length === 0;
|
|
415
413
|
});
|
|
416
|
-
const
|
|
414
|
+
const isLogsPanelOpen = computed(() => workflowsStore.logsPanelState !== LOGS_PANEL_STATE.CLOSED);
|
|
417
415
|
async function initializeData() {
|
|
418
416
|
const loadPromises = (() => {
|
|
419
417
|
if (settingsStore.isPreviewMode && isDemoRoute.value) return [];
|
|
@@ -1139,8 +1137,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1139
1137
|
if (!chatTriggerNode.value) return null;
|
|
1140
1138
|
return workflowsStore.pinDataByNodeName(chatTriggerNode.value.name);
|
|
1141
1139
|
});
|
|
1142
|
-
async function onOpenChat() {
|
|
1143
|
-
await toggleChatOpen("main");
|
|
1140
|
+
async function onOpenChat(isOpen) {
|
|
1141
|
+
await toggleChatOpen("main", isOpen);
|
|
1144
1142
|
}
|
|
1145
1143
|
function addUndoRedoEventBindings() {
|
|
1146
1144
|
historyBus.on("nodeMove", onRevertNodePosition);
|
|
@@ -1482,7 +1480,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1482
1480
|
"onDuplicate:nodes": onDuplicateNodes,
|
|
1483
1481
|
"onCopy:nodes": onCopyNodes,
|
|
1484
1482
|
"onCut:nodes": onCutNodes,
|
|
1485
|
-
"onRun:workflow": _cache[
|
|
1483
|
+
"onRun:workflow": _cache[2] || (_cache[2] = ($event) => unref(runEntireWorkflow)("main")),
|
|
1486
1484
|
"onSave:workflow": onSaveWorkflow,
|
|
1487
1485
|
"onCreate:workflow": onCreateWorkflow,
|
|
1488
1486
|
onViewportChange,
|
|
@@ -1513,9 +1511,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1513
1511
|
}, null, 8, ["waiting-for-webhook", "disabled", "executing"])) : createCommentVNode("", true),
|
|
1514
1512
|
containsChatTriggerNodes.value ? (openBlock(), createBlock(_component_CanvasChatButton, {
|
|
1515
1513
|
key: 1,
|
|
1516
|
-
type:
|
|
1517
|
-
label:
|
|
1518
|
-
onClick: onOpenChat
|
|
1514
|
+
type: isLogsPanelOpen.value ? "tertiary" : "primary",
|
|
1515
|
+
label: isLogsPanelOpen.value ? unref(i18n).baseText("chat.hide") : unref(i18n).baseText("chat.open"),
|
|
1516
|
+
onClick: _cache[1] || (_cache[1] = ($event) => onOpenChat(!isLogsPanelOpen.value))
|
|
1519
1517
|
}, null, 8, ["type", "label"])) : createCommentVNode("", true),
|
|
1520
1518
|
isStopExecutionButtonVisible.value ? (openBlock(), createBlock(_sfc_main$4, {
|
|
1521
1519
|
key: 2,
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import { d as defineComponent, q as computed,
|
|
1
|
+
import { d as defineComponent, q as computed, ad as ProjectTypes, c as useI18n, gz as splitName, gj as ResourceType, V as VIEWS, h as resolveComponent, cc as resolveDirective, i as createElementBlock, g as openBlock, b3 as mergeProps, j as createVNode, x as renderSlot, w as withCtx, e as createBlock, f as createCommentVNode, n as normalizeClass, aC as withDirectives, gw as ProjectIcon, l as createTextVNode, t as toDisplayString, _ as _export_sfc } from "./index-DD7Wuhk5.js";
|
|
2
|
+
const _hoisted_1 = { key: 1 };
|
|
2
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
3
4
|
__name: "ProjectCardBadge",
|
|
4
5
|
props: {
|
|
5
6
|
resource: {},
|
|
6
7
|
resourceType: {},
|
|
7
8
|
resourceTypeLabel: {},
|
|
8
|
-
personalProject: {}
|
|
9
|
+
personalProject: {},
|
|
10
|
+
showBadgeBorder: { type: Boolean, default: true }
|
|
9
11
|
},
|
|
10
12
|
setup(__props) {
|
|
11
13
|
const props = __props;
|
|
@@ -44,6 +46,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
44
46
|
switch (projectState.value) {
|
|
45
47
|
case "owned":
|
|
46
48
|
case "shared-owned":
|
|
49
|
+
case "personal":
|
|
50
|
+
case "shared-personal":
|
|
47
51
|
return { type: "icon", value: "user" };
|
|
48
52
|
case "team":
|
|
49
53
|
case "shared-team":
|
|
@@ -95,28 +99,38 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
95
99
|
return "";
|
|
96
100
|
}
|
|
97
101
|
});
|
|
102
|
+
const projectLocation = computed(() => {
|
|
103
|
+
if (projectState.value !== "personal" && projectState.value !== "shared-personal" && props.resource.homeProject?.id && props.resourceType === ResourceType.Workflow) {
|
|
104
|
+
return {
|
|
105
|
+
name: VIEWS.PROJECTS_WORKFLOWS,
|
|
106
|
+
params: { projectId: props.resource.homeProject.id }
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
return null;
|
|
110
|
+
});
|
|
98
111
|
return (_ctx, _cache) => {
|
|
99
|
-
const _component_ProjectIcon =
|
|
112
|
+
const _component_ProjectIcon = ProjectIcon;
|
|
113
|
+
const _component_router_link = resolveComponent("router-link");
|
|
100
114
|
const _component_N8nBadge = resolveComponent("N8nBadge");
|
|
101
115
|
const _component_N8nTooltip = resolveComponent("N8nTooltip");
|
|
102
116
|
const _directive_n8n_truncate = resolveDirective("n8n-truncate");
|
|
103
|
-
return openBlock(),
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
117
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
118
|
+
class: { [_ctx.$style.wrapper]: true, [_ctx.$style["no-border"]]: _ctx.showBadgeBorder }
|
|
119
|
+
}, _ctx.$attrs), [
|
|
120
|
+
createVNode(_component_N8nTooltip, {
|
|
121
|
+
disabled: !badgeTooltip.value || numberOfMembersInHomeTeamProject.value !== 0,
|
|
122
|
+
placement: "top"
|
|
123
|
+
}, {
|
|
124
|
+
content: withCtx(() => [
|
|
125
|
+
createTextVNode(toDisplayString(badgeTooltip.value), 1)
|
|
126
|
+
]),
|
|
127
|
+
default: withCtx(() => [
|
|
114
128
|
badgeText.value ? (openBlock(), createBlock(_component_N8nBadge, {
|
|
115
129
|
key: 0,
|
|
116
130
|
class: normalizeClass([_ctx.$style.badge, _ctx.$style.projectBadge]),
|
|
117
131
|
theme: "tertiary",
|
|
118
|
-
|
|
119
|
-
"
|
|
132
|
+
"data-test-id": "card-badge",
|
|
133
|
+
"show-border": _ctx.showBadgeBorder
|
|
120
134
|
}, {
|
|
121
135
|
default: withCtx(() => [
|
|
122
136
|
createVNode(_component_ProjectIcon, {
|
|
@@ -124,41 +138,60 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
124
138
|
"border-less": true,
|
|
125
139
|
size: "mini"
|
|
126
140
|
}, null, 8, ["icon"]),
|
|
127
|
-
|
|
141
|
+
projectLocation.value ? (openBlock(), createBlock(_component_router_link, {
|
|
142
|
+
key: 0,
|
|
143
|
+
to: projectLocation.value
|
|
144
|
+
}, {
|
|
145
|
+
default: withCtx(() => [
|
|
146
|
+
withDirectives((openBlock(), createElementBlock("span", null, [
|
|
147
|
+
createTextVNode(toDisplayString(badgeText.value), 1)
|
|
148
|
+
])), [
|
|
149
|
+
[_directive_n8n_truncate, void 0, "20"]
|
|
150
|
+
])
|
|
151
|
+
]),
|
|
152
|
+
_: 1
|
|
153
|
+
}, 8, ["to"])) : withDirectives((openBlock(), createElementBlock("span", _hoisted_1, [
|
|
128
154
|
createTextVNode(toDisplayString(badgeText.value), 1)
|
|
129
155
|
])), [
|
|
130
156
|
[_directive_n8n_truncate, void 0, "20"]
|
|
131
157
|
])
|
|
132
158
|
]),
|
|
133
159
|
_: 1
|
|
134
|
-
}, 8, ["class"])) : createCommentVNode("", true)
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
160
|
+
}, 8, ["class", "show-border"])) : createCommentVNode("", true)
|
|
161
|
+
]),
|
|
162
|
+
_: 1
|
|
163
|
+
}, 8, ["disabled"]),
|
|
164
|
+
renderSlot(_ctx.$slots, "default"),
|
|
165
|
+
createVNode(_component_N8nTooltip, {
|
|
166
|
+
disabled: !badgeTooltip.value || numberOfMembersInHomeTeamProject.value === 0,
|
|
167
|
+
placement: "top"
|
|
168
|
+
}, {
|
|
169
|
+
content: withCtx(() => [
|
|
170
|
+
createTextVNode(toDisplayString(badgeTooltip.value), 1)
|
|
171
|
+
]),
|
|
172
|
+
default: withCtx(() => [
|
|
173
|
+
numberOfMembersInHomeTeamProject.value ? (openBlock(), createElementBlock("div", {
|
|
174
|
+
key: 0,
|
|
175
|
+
class: normalizeClass(_ctx.$style["count-badge"]),
|
|
138
176
|
theme: "tertiary",
|
|
139
177
|
bold: ""
|
|
140
|
-
},
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
}, 8, ["class"])) : createCommentVNode("", true)
|
|
146
|
-
], 16)
|
|
147
|
-
]),
|
|
148
|
-
_: 1
|
|
149
|
-
}, 8, ["disabled"]);
|
|
178
|
+
}, " +" + toDisplayString(numberOfMembersInHomeTeamProject.value), 3)) : createCommentVNode("", true)
|
|
179
|
+
]),
|
|
180
|
+
_: 1
|
|
181
|
+
}, 8, ["disabled"])
|
|
182
|
+
], 16);
|
|
150
183
|
};
|
|
151
184
|
}
|
|
152
185
|
});
|
|
153
|
-
const wrapper = "
|
|
154
|
-
const badge = "
|
|
155
|
-
const projectBadge = "
|
|
156
|
-
const countBadge = "_countBadge_1ucbn_144";
|
|
186
|
+
const wrapper = "_wrapper_1w2ly_123";
|
|
187
|
+
const badge = "_badge_1w2ly_133";
|
|
188
|
+
const projectBadge = "_projectBadge_1w2ly_146";
|
|
157
189
|
const style0 = {
|
|
158
190
|
wrapper,
|
|
191
|
+
"no-border": "_no-border_1w2ly_129",
|
|
159
192
|
badge,
|
|
160
193
|
projectBadge,
|
|
161
|
-
|
|
194
|
+
"count-badge": "_count-badge_1w2ly_151"
|
|
162
195
|
};
|
|
163
196
|
const cssModules = {
|
|
164
197
|
"$style": style0
|
|
@@ -120,10 +120,16 @@
|
|
|
120
120
|
-------------------------- */
|
|
121
121
|
/* BEM
|
|
122
122
|
-------------------------- */
|
|
123
|
-
.
|
|
124
|
-
|
|
123
|
+
._wrapper_1w2ly_123 {
|
|
124
|
+
display: flex;
|
|
125
|
+
align-items: center;
|
|
126
|
+
border: var(--border-base);
|
|
127
|
+
border-radius: var(--border-radius-base);
|
|
128
|
+
}
|
|
129
|
+
._wrapper_1w2ly_123._no-border_1w2ly_129 {
|
|
130
|
+
border: none;
|
|
125
131
|
}
|
|
126
|
-
.
|
|
132
|
+
._badge_1w2ly_133 {
|
|
127
133
|
padding: var(--spacing-4xs) var(--spacing-2xs);
|
|
128
134
|
background-color: var(--color-background-xlight);
|
|
129
135
|
border-color: var(--color-foreground-base);
|
|
@@ -131,19 +137,18 @@
|
|
|
131
137
|
position: relative;
|
|
132
138
|
height: 23px;
|
|
133
139
|
}
|
|
134
|
-
.
|
|
140
|
+
._badge_1w2ly_133 .n8n-text,
|
|
141
|
+
._badge_1w2ly_133 a {
|
|
135
142
|
color: var(--color-text-base);
|
|
136
143
|
}
|
|
137
|
-
.
|
|
144
|
+
._projectBadge_1w2ly_146 > span {
|
|
138
145
|
display: flex;
|
|
139
146
|
gap: var(--spacing-3xs);
|
|
140
147
|
}
|
|
141
|
-
.
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
._countBadge_1ucbn_144 .n8n-text {
|
|
148
|
-
color: var(--color-text-light);
|
|
148
|
+
._count-badge_1w2ly_151 {
|
|
149
|
+
font-size: var(--font-size-2xs);
|
|
150
|
+
padding: var(--spacing-4xs) var(--spacing-3xs);
|
|
151
|
+
color: var(--color-text-base);
|
|
152
|
+
border-left: var(--border-base);
|
|
153
|
+
line-height: var(--font-line-height-regular);
|
|
149
154
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent,
|
|
1
|
+
import { d as defineComponent, W as useRoute, r as ref, q as computed, V as VIEWS, c as useI18n, I 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, g7 as N8nActionToggle, w as withCtx, aU as _sfc_main$3, _ as _export_sfc, bL as reactive, b as useRouter, a4 as useProjectsStore, a3 as useSourceControlStore, p as useSettingsStore, ad as ProjectTypes, a9 as getResourcePermissions, k as createBaseVNode, f as createCommentVNode, gw as ProjectIcon, l as createTextVNode, t as toDisplayString, bb as N8nButton, b3 as mergeProps, aS as N8nTooltip } from "./index-DD7Wuhk5.js";
|
|
2
2
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
3
3
|
__name: "ProjectTabs",
|
|
4
4
|
props: {
|
|
@@ -132,6 +132,15 @@ const cssModules$1 = {
|
|
|
132
132
|
"$style": style0$1
|
|
133
133
|
};
|
|
134
134
|
const ProjectCreateResource = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__cssModules", cssModules$1]]);
|
|
135
|
+
const useOverview = () => {
|
|
136
|
+
const route = useRoute();
|
|
137
|
+
const isOverviewSubPage = computed(
|
|
138
|
+
() => route.name === VIEWS.WORKFLOWS || route.name === VIEWS.HOMEPAGE || route.name === VIEWS.CREDENTIALS || route.name === VIEWS.EXECUTIONS || route.name === VIEWS.FOLDERS
|
|
139
|
+
);
|
|
140
|
+
return reactive({
|
|
141
|
+
isOverviewSubPage
|
|
142
|
+
});
|
|
143
|
+
};
|
|
135
144
|
const _hoisted_1 = { key: 0 };
|
|
136
145
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
137
146
|
__name: "ProjectHeader",
|
|
@@ -143,7 +152,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
143
152
|
const projectsStore = useProjectsStore();
|
|
144
153
|
const sourceControlStore = useSourceControlStore();
|
|
145
154
|
const settingsStore = useSettingsStore();
|
|
155
|
+
const overview = useOverview();
|
|
146
156
|
const emit = __emit;
|
|
157
|
+
const headerIcon = computed(() => {
|
|
158
|
+
if (projectsStore.currentProject?.type === ProjectTypes.Personal) {
|
|
159
|
+
return { type: "icon", value: "user" };
|
|
160
|
+
} else if (projectsStore.currentProject?.name) {
|
|
161
|
+
return projectsStore.currentProject.icon ?? { type: "icon", value: "layer-group" };
|
|
162
|
+
} else {
|
|
163
|
+
return { type: "icon", value: "home" };
|
|
164
|
+
}
|
|
165
|
+
});
|
|
147
166
|
const projectName = computed(() => {
|
|
148
167
|
if (!projectsStore.currentProject) {
|
|
149
168
|
return i18n.baseText("projects.menu.overview");
|
|
@@ -232,6 +251,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
232
251
|
createBaseVNode("div", {
|
|
233
252
|
class: normalizeClass(_ctx.$style.projectDetails)
|
|
234
253
|
}, [
|
|
254
|
+
!unref(overview).isOverviewSubPage ? (openBlock(), createBlock(ProjectIcon, {
|
|
255
|
+
key: 0,
|
|
256
|
+
icon: headerIcon.value,
|
|
257
|
+
"border-less": true,
|
|
258
|
+
size: "medium"
|
|
259
|
+
}, null, 8, ["icon"])) : createCommentVNode("", true),
|
|
235
260
|
createBaseVNode("div", {
|
|
236
261
|
class: normalizeClass(_ctx.$style.headerActions)
|
|
237
262
|
}, [
|
|
@@ -292,11 +317,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
292
317
|
};
|
|
293
318
|
}
|
|
294
319
|
});
|
|
295
|
-
const projectHeader = "
|
|
296
|
-
const projectDescription = "
|
|
297
|
-
const projectDetails = "
|
|
298
|
-
const actions = "
|
|
299
|
-
const headerActions = "
|
|
320
|
+
const projectHeader = "_projectHeader_1cqsm_123";
|
|
321
|
+
const projectDescription = "_projectDescription_1cqsm_124";
|
|
322
|
+
const projectDetails = "_projectDetails_1cqsm_132";
|
|
323
|
+
const actions = "_actions_1cqsm_137";
|
|
324
|
+
const headerActions = "_headerActions_1cqsm_147";
|
|
300
325
|
const style0 = {
|
|
301
326
|
projectHeader,
|
|
302
327
|
projectDescription,
|
|
@@ -309,5 +334,6 @@ const cssModules = {
|
|
|
309
334
|
};
|
|
310
335
|
const ProjectHeader = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
311
336
|
export {
|
|
312
|
-
ProjectHeader as P
|
|
337
|
+
ProjectHeader as P,
|
|
338
|
+
useOverview as u
|
|
313
339
|
};
|
|
@@ -258,28 +258,28 @@
|
|
|
258
258
|
-------------------------- */
|
|
259
259
|
/* BEM
|
|
260
260
|
-------------------------- */
|
|
261
|
-
.
|
|
262
|
-
.
|
|
261
|
+
._projectHeader_1cqsm_123,
|
|
262
|
+
._projectDescription_1cqsm_124 {
|
|
263
263
|
display: flex;
|
|
264
|
-
align-items:
|
|
264
|
+
align-items: flex-start;
|
|
265
265
|
justify-content: space-between;
|
|
266
266
|
padding-bottom: var(--spacing-m);
|
|
267
267
|
min-height: var(--spacing-3xl);
|
|
268
268
|
}
|
|
269
|
-
.
|
|
269
|
+
._projectDetails_1cqsm_132 {
|
|
270
270
|
display: flex;
|
|
271
271
|
align-items: center;
|
|
272
272
|
}
|
|
273
|
-
.
|
|
273
|
+
._actions_1cqsm_137 {
|
|
274
274
|
padding: var(--spacing-2xs) 0 var(--spacing-xs);
|
|
275
275
|
}
|
|
276
276
|
@media screen and (max-width: 767px) {
|
|
277
|
-
.
|
|
277
|
+
._projectHeader_1cqsm_123 {
|
|
278
278
|
flex-direction: column;
|
|
279
279
|
align-items: flex-start;
|
|
280
280
|
gap: var(--spacing-xs);
|
|
281
281
|
}
|
|
282
|
-
.
|
|
282
|
+
._headerActions_1cqsm_147 {
|
|
283
283
|
margin-left: auto;
|
|
284
284
|
}
|
|
285
285
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as defineComponent,
|
|
2
|
-
import { P as ProjectHeader } from "./ProjectHeader-
|
|
1
|
+
import { d as defineComponent, fz as mergeModels, fA 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, fT as ProjectSharing, J as withModifiers, _ as _export_sfc, a8 as usePageRedirectionHelper, u as useUsersStore, a4 as useProjectsStore, gG as useRolesStore, aK as useCloudPlanStore, a as useToast, b as useRouter, a6 as useDocumentTitle, gH as getAllIconNames, I as watch, aB as onBeforeMount, o as onMounted, d6 as N8nFormInput, F as Fragment, D as renderList, cb as deepCopy, ai as useTelemetry, z as nextTick, V as VIEWS } from "./index-DD7Wuhk5.js";
|
|
2
|
+
import { P as ProjectHeader } from "./ProjectHeader-BWVSdavS.js";
|
|
3
3
|
const _hoisted_1$2 = { class: "pt-l" };
|
|
4
4
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "ProjectDeleteDialog",
|
|
@@ -217,7 +217,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
217
217
|
limit: withCtx(() => [
|
|
218
218
|
createTextVNode(toDisplayString(unref(locale).baseText("projects.create.limit", {
|
|
219
219
|
adjustToNumber: props.limit,
|
|
220
|
-
interpolate: {
|
|
220
|
+
interpolate: { count: String(props.limit) }
|
|
221
221
|
})), 1)
|
|
222
222
|
]),
|
|
223
223
|
_: 1
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as defineComponent, q as computed, h as resolveComponent, c3 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, aB as withDirectives } from "./index-DZljH0cm.js";
|
|
1
|
+
import { d as defineComponent, T as usePushConnectionStore, q as computed, h as resolveComponent, cc 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, aC as withDirectives } from "./index-DD7Wuhk5.js";
|
|
3
2
|
const _hoisted_1 = {
|
|
4
3
|
key: 0,
|
|
5
4
|
class: "push-connection-lost primary-color"
|
|
@@ -1,4 +1,4 @@
|
|
|
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,
|
|
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, a4 as useProjectsStore, q as computed, I as watch, aB as onBeforeMount, h as resolveComponent, e as createBlock, w as withCtx, m as unref, ac as EnterpriseEditionFeature, j as createVNode, c as useI18n, fT as ProjectSharing, l as createTextVNode, t as toDisplayString, W as useRoute, b as useRouter, K as useDebounce, u as useUsersStore, r as ref, fc as useSlots, fU as isSharedResource, fV as isResourceSortableByDate, o as onMounted, z as nextTick, F as Fragment, D as renderList, aC as withDirectives, b0 as normalizeProps, b1 as guardReactiveProps, aD as vShow, ai as useTelemetry } from "./index-DD7Wuhk5.js";
|
|
2
2
|
const wrapper$1 = "_wrapper_1x8n3_123";
|
|
3
3
|
const content = "_content_1x8n3_139";
|
|
4
4
|
const style0$3 = {
|