n8n-editor-ui 1.85.2 → 1.86.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-B2Xk-4o2.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DofUIs9S.js} +1 -1
- package/dist/assets/{AuthView-Bhr2Ols-.js → AuthView-CyY2quTd.js} +2 -2
- package/dist/assets/{CanvasChatSwitch-E9vu2jW8.js → CanvasChatSwitch-BTInPgKl.js} +413 -99
- package/dist/assets/{CanvasChatSwitch-BcSDHC-c.css → CanvasChatSwitch-CRtE2Fld.css} +284 -46
- package/dist/assets/{ChangePasswordView-BzAEcqVw.js → ChangePasswordView-Db-MkXhZ.js} +3 -3
- package/dist/assets/CollectionParameter-BD3jmKi_.js +4 -0
- package/dist/assets/{CredentialsView-CZiEXdjH.js → CredentialsView-CLr_6U2B.js} +6 -6
- package/dist/assets/{ErrorView-C1QywuMY.js → ErrorView-CUS5vnCW.js} +1 -1
- package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-l5VZIkoy.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-D15zjPBZ.js} +2 -2
- package/dist/assets/{ExecutionsView-Bo0Nk8lV.js → ExecutionsView-1df-oH5P.js} +8 -8
- package/dist/assets/{ExecutionsView-JCKikuIS.css → ExecutionsView-BnBpSqVn.css} +2 -2
- package/dist/assets/{FileSaver.min-D3VgyjMF.js → FileSaver.min-DLKMtSuf.js} +1 -1
- package/dist/assets/{FixedCollectionParameter-RpfOY9Ho.js → FixedCollectionParameter-CcqTLBeP.js} +1 -1
- package/dist/assets/{ForgotMyPasswordView-DPTddCxG.js → ForgotMyPasswordView-BHRWkO2H.js} +3 -3
- package/dist/assets/{useOverview-BqIOGpWx.js → InsightsSummary-CyilLKXz.js} +5 -14
- package/dist/assets/{Logo-CxllxUni.js → Logo-DbXTFYA8.js} +1 -1
- package/dist/assets/{MainHeader-9gTxUJIR.js → MainHeader-BfQR9Td3.js} +10 -10
- package/dist/assets/{MainSidebar-CRJML8mh.js → MainSidebar-CDUegYGN.js} +2 -4
- package/dist/assets/{NodeCreation-zoYjBJl6.js → NodeCreation-BBXRRxZa.js} +4 -4
- package/dist/assets/{NodeCreator-D-qBRyBy.js → NodeCreator-BiyvtIjb.js} +10 -26
- package/dist/assets/{NodeDetailsView-C1z3N5z_.css → NodeDetailsView-BcVu3kf0.css} +2 -2
- package/dist/assets/{NodeDetailsView-C1iBFaC1.js → NodeDetailsView-Ph7FVpa8.js} +21 -18
- package/dist/assets/{NodeView-Bio-FnnF.js → NodeView-BEJ48TF4.js} +14 -14
- package/dist/assets/{ProjectCardBadge-BEflW6oP.js → ProjectCardBadge-B7cCM6Eo.js} +69 -36
- package/dist/assets/{ProjectCardBadge-C78ap7Rc.css → ProjectCardBadge-t3v64i1e.css} +18 -13
- package/dist/assets/{ProjectHeader-DK3_g_D8.js → ProjectHeader-BjPaep-H.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-C1By1g0Z.js} +3 -3
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-CSazgsi8.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-UHiXbqwy.js} +2 -2
- package/dist/assets/{ResourcesListLayout-CBvvL0VM.js → ResourcesListLayout-CiiXWGd5.js} +1 -1
- package/dist/assets/{RunDataAi-C-tu9GrI.js → RunDataAi-CQE0VYut.js} +115 -72
- package/dist/assets/{RunDataJson-ClpS_600.js → RunDataJson-BY9cOxFp.js} +12 -12
- package/dist/assets/{RunDataJsonActions-gWW8Qkt_.js → RunDataJsonActions-CuFjccfe.js} +2 -2
- package/dist/assets/{RunDataSearch-Dgv5JYk-.js → RunDataSearch-afEc-21Y.js} +1 -1
- package/dist/assets/{RunDataTable-nsOk35pD.js → RunDataTable-N6yWFXKt.js} +2 -2
- package/dist/assets/{SamlOnboarding-C5TSdGcx.js → SamlOnboarding-HDQzVmha.js} +3 -3
- package/dist/assets/{SettingsApiView-CzQG1ofR.js → SettingsApiView-DQMZT3uc.js} +1 -1
- package/dist/assets/{SettingsCommunityNodesView-D_F3n2NO.js → SettingsCommunityNodesView-BlQT_0E8.js} +5 -5
- package/dist/assets/{SettingsExternalSecrets-BUgKlMoR.js → SettingsExternalSecrets-BL_3qoNS.js} +1 -1
- package/dist/assets/{SettingsLdapView-CAmuVErd.js → SettingsLdapView-BMsfXg-A.js} +1 -1
- package/dist/assets/{SettingsLogStreamingView-DLkHrsx5.js → SettingsLogStreamingView-Bm5vaSO2.js} +1 -1
- package/dist/assets/{SettingsPersonalView-2elwsG0f.js → SettingsPersonalView-Djl1VXnE.js} +2 -2
- package/dist/assets/{SettingsSourceControl-BD426GUo.js → SettingsSourceControl-A-9nD8hG.js} +1 -1
- package/dist/assets/{SettingsSso-B-7lLoTI.js → SettingsSso-DZCscZY6.js} +1 -1
- package/dist/assets/{SettingsUsageAndPlan-EUWVJYe2.js → SettingsUsageAndPlan-Rd5AGlNl.js} +1 -1
- package/dist/assets/{SettingsUsersView-C3GbTYvU.js → SettingsUsersView-NEahsGVs.js} +1 -1
- package/dist/assets/{SettingsView-DSMM_8SL.js → SettingsView-CeXAUGXE.js} +1 -1
- package/dist/assets/{SetupView-CexY8Lic.js → SetupView-BI7oJfg0.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-BpLp754t.js → SetupWorkflowCredentialsButton-DMZX1S1F.js} +1 -1
- package/dist/assets/{SetupWorkflowFromTemplateView-CLvS9Kda.js → SetupWorkflowFromTemplateView-DZsPVdhN.js} +3 -3
- package/dist/assets/{SigninView-CYkcm3hG.js → SigninView-CzVnEKyz.js} +3 -3
- package/dist/assets/{SignoutView-C2HutrZm.js → SignoutView-C4ynr4AN.js} +1 -1
- package/dist/assets/{SignupView-B-o-ka0Z.js → SignupView-9nwGonm9.js} +3 -3
- package/dist/assets/{TemplateDetails-C20G_lj4.js → TemplateDetails-DT1tI4AF.js} +1 -1
- package/dist/assets/{TemplateList-DQzcYS6n.js → TemplateList-DGPm_Qol.js} +1 -1
- package/dist/assets/{TemplatesCollectionView-DEEMhmYZ.js → TemplatesCollectionView-DwXY5s5G.js} +5 -5
- package/dist/assets/{TemplatesSearchView-S6802uNr.js → TemplatesSearchView-D0R7uF40.js} +3 -3
- package/dist/assets/{TemplatesView-CT7S5O4K.js → TemplatesView-BZ-ntkfi.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-BMd9OmqA.js → TemplatesWorkflowView-TwVAHvD7.js} +5 -5
- package/dist/assets/{TestDefinitionEditView-BXhOuJrU.css → TestDefinitionEditView-C3nnWQ4Q.css} +0 -125
- package/dist/assets/{TestDefinitionEditView-5kDGEtaD.js → TestDefinitionEditView-o2Gc4BjN.js} +23 -139
- package/dist/assets/{TestDefinitionListView-BM-hghAY.js → TestDefinitionListView-BuUWjPAl.js} +1 -1
- package/dist/assets/{TestDefinitionNewView-CNN-qAmL.js → TestDefinitionNewView-DmSFNxfn.js} +2 -2
- package/dist/assets/{TestDefinitionRootView-S8g84AaK.js → TestDefinitionRootView-1dNmGZUI.js} +1 -1
- package/dist/assets/{VariablesView-D90WCfYK.js → VariablesView-D46tH9pw.js} +3 -3
- package/dist/assets/{WorkerView-BHVIRKm_.js → WorkerView-G0K849qT.js} +7 -7
- package/dist/assets/{WorkflowActivator-BsceIfln.js → WorkflowActivator-DfalOPsa.js} +2 -2
- package/dist/assets/{WorkflowExecutionsInfoAccordion-DxGIzmq4.js → WorkflowExecutionsInfoAccordion-BcD7ZskD.js} +1 -1
- package/dist/assets/{WorkflowExecutionsLandingPage-czqJYUnQ.js → WorkflowExecutionsLandingPage-BhPbJi5K.js} +2 -2
- package/dist/assets/{WorkflowExecutionsPreview-BzCGXWj0.js → WorkflowExecutionsPreview-CowaFwPg.js} +5 -5
- package/dist/assets/{WorkflowExecutionsView-syep-_N0.js → WorkflowExecutionsView-BAojAjIM.js} +6 -6
- package/dist/assets/{WorkflowHistory-CmHn_hnX.js → WorkflowHistory-Bj5_YFN8.js} +3 -3
- package/dist/assets/{WorkflowOnboardingView-BmhaZBkH.js → WorkflowOnboardingView-D9peqUJs.js} +1 -1
- package/dist/assets/{WorkflowPreview-BN13256Q.js → WorkflowPreview-gflk06YT.js} +1 -1
- package/dist/assets/{WorkflowsView-r9qJOUEb.css → WorkflowsView-CJB9aI6A.css} +27 -41
- package/dist/assets/{WorkflowsView-6qbtftll.js → WorkflowsView-CmgKYCQ6.js} +74 -139
- package/dist/assets/{easyAiWorkflowUtils-C7LfXIgb.js → easyAiWorkflowUtils-CLssJdgl.js} +1 -1
- package/dist/assets/{global-link-actions-znEIb0N4.js → global-link-actions-BphqczCY.js} +1 -1
- package/dist/assets/{import-curl-BsKs3fYs.js → import-curl-C9KhAemD.js} +1 -1
- package/dist/assets/{index-CgXKy7t-.css → index-BaqhUIB7.css} +55 -54
- package/dist/assets/{index-Cjz62pAo.js → index-C0DaAYgf.js} +1 -1
- package/dist/assets/{index-DZljH0cm.js → index-CkOV8f0Z.js} +2469 -2490
- package/dist/assets/{pickBy-DlIFPp_M.js → pickBy-DUugkW7s.js} +1 -1
- package/dist/assets/{pushConnection.store-DHLcz9cC.js → pushConnection.store-Cb2TGyrZ.js} +1 -1
- package/dist/assets/{templateActions-ClDjWPHA.js → templateActions-Czp13jCM.js} +1 -1
- package/dist/assets/{useBeforeUnload-BFlrxvKb.js → useBeforeUnload-BBbiw-FV.js} +1 -1
- package/dist/assets/{useCanvasMapping-CJcAsQmx.css → useCanvasMapping-BkGr1HdJ.css} +29 -28
- package/dist/assets/{useCanvasMapping-C0PMQVwg.js → useCanvasMapping-Cla--atl.js} +71 -56
- package/dist/assets/{useCanvasOperations-2Ca5hPmu.js → useCanvasOperations-FyzGfva5.js} +14 -13
- package/dist/assets/{useClearExecutionButtonVisible-D8unhL-H.js → useClearExecutionButtonVisible-fESJZE5R.js} +2 -2
- package/dist/assets/{useExecutionDebugging-MiAgkS54.js → useExecutionDebugging-D4s4CdaL.js} +1 -1
- package/dist/assets/{useExecutionHelpers-CgD9G_XU.js → useExecutionHelpers-Bm91b8wb.js} +1 -1
- package/dist/assets/{useImportCurlCommand-D6LUnncf.js → useImportCurlCommand-BPNuR5ZX.js} +2 -2
- package/dist/assets/{usePushConnection-DAhrfl2L.js → usePushConnection-BbQhNUm8.js} +14 -6
- package/dist/assets/{useRunWorkflow-sGIs6NeH.js → useRunWorkflow-DnbQqqcB.js} +8 -2
- package/dist/assets/{useTestDefinitionForm-TDiKTq9o.js → useTestDefinitionForm-ZJngcsSH.js} +1 -31
- package/dist/assets/{useWorkflowActivate-C_GRAYoC.js → useWorkflowActivate-CkCvd-g6.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/{useOverview-DcRuPjLJ.css → InsightsSummary-DcRuPjLJ.css} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { _ as _sfc_main$7 } from "./PushConnectionTracker.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { d as defineComponent, r as ref, h as resolveComponent, i as createElementBlock, g as openBlock, n as normalizeClass, k as createBaseVNode, f as createCommentVNode, j as createVNode, w as withCtx, x as renderSlot, _ as _export_sfc, e as createBlock, F as Fragment, D as renderList, t as toDisplayString, l as createTextVNode, m as unref, c as useI18n,
|
|
3
|
-
import { a as useOrchestrationStore, W as WORKER_HISTORY_LENGTH, u as usePushConnection } from "./usePushConnection-
|
|
4
|
-
import { u as usePushConnectionStore } from "./pushConnection.store-
|
|
5
|
-
import { C as Chart } from "./index-
|
|
6
|
-
import "./global-link-actions-
|
|
7
|
-
import "./easyAiWorkflowUtils-
|
|
1
|
+
import { _ as _sfc_main$7 } from "./PushConnectionTracker.vue_vue_type_script_setup_true_lang-UHiXbqwy.js";
|
|
2
|
+
import { d as defineComponent, r as ref, h as resolveComponent, i as createElementBlock, g as openBlock, n as normalizeClass, k as createBaseVNode, f as createCommentVNode, j as createVNode, w as withCtx, x as renderSlot, _ as _export_sfc, e as createBlock, F as Fragment, D as renderList, t as toDisplayString, l as createTextVNode, m as unref, c as useI18n, b9 as useClipboard, a as useToast, q as computed, aM as sortByProperty, o as onMounted, y as onBeforeUnmount, b as useRouter, a5 as useDocumentTitle, a0 as useRootStore, ah as useTelemetry, aA as onBeforeMount, p as useSettingsStore, a7 as usePageRedirectionHelper } from "./index-CkOV8f0Z.js";
|
|
3
|
+
import { a as useOrchestrationStore, W as WORKER_HISTORY_LENGTH, u as usePushConnection } from "./usePushConnection-BbQhNUm8.js";
|
|
4
|
+
import { u as usePushConnectionStore } from "./pushConnection.store-Cb2TGyrZ.js";
|
|
5
|
+
import { C as Chart } from "./index-C0DaAYgf.js";
|
|
6
|
+
import "./global-link-actions-BphqczCY.js";
|
|
7
|
+
import "./easyAiWorkflowUtils-CLssJdgl.js";
|
|
8
8
|
function averageWorkerLoadFromLoads(loads) {
|
|
9
9
|
return loads.reduce((prev, curr) => prev + curr, 0) / loads.length;
|
|
10
10
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as defineComponent, i as createElementBlock, g as openBlock, l as createTextVNode, k as createBaseVNode, t as toDisplayString, m as unref, c as useI18n, a as useToast, T as useWorkflowsStore,
|
|
2
|
-
import { u as useWorkflowActivate } from "./useWorkflowActivate-
|
|
1
|
+
import { d as defineComponent, i as createElementBlock, g as openBlock, l as createTextVNode, k as createBaseVNode, t as toDisplayString, m as unref, c as useI18n, a as useToast, T as useWorkflowsStore, bH as useCredentialsStore, q as computed, dy as getActivatableTriggerNodes, dz as EXECUTE_WORKFLOW_TRIGGER_NODE_TYPE, W as PLACEHOLDER_EMPTY_WORKFLOW_ID, I as watch, h as resolveComponent, c6 as resolveDirective, j as createVNode, f as createCommentVNode, n as normalizeClass, e as createBlock, w as withCtx, aB as withDirectives, dA as OPEN_AI_API_CREDENTIAL_TYPE, ar as h, _ as _export_sfc } from "./index-CkOV8f0Z.js";
|
|
2
|
+
import { u as useWorkflowActivate } from "./useWorkflowActivate-CkCvd-g6.js";
|
|
3
3
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "WorkflowActivationErrorMessage",
|
|
5
5
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, b as useRouter, a6 as useWorkflowHelpers, p as useSettingsStore, L as useUIStore, T as useWorkflowsStore, a4 as useNpsSurveyStore, r as ref, q as computed, c as useI18n,
|
|
1
|
+
import { d as defineComponent, b as useRouter, a6 as useWorkflowHelpers, p as useSettingsStore, L as useUIStore, T as useWorkflowsStore, a4 as useNpsSurveyStore, r as ref, q as computed, c as useI18n, c5 as deepCopy, W as PLACEHOLDER_EMPTY_WORKFLOW_ID, I as watch, o as onMounted, h as resolveComponent, e as createBlock, g as openBlock, w as withCtx, k as createBaseVNode, l as createTextVNode, j as createVNode, t as toDisplayString, m as unref, J as withModifiers, n as normalizeClass, al as WORKFLOW_SETTINGS_MODAL_KEY, _ as _export_sfc } from "./index-CkOV8f0Z.js";
|
|
2
2
|
const _hoisted_1 = { class: "mt-2xs" };
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "WorkflowExecutionsInfoAccordion",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as defineComponent, b as useRouter, U as useRoute, L as useUIStore, T as useWorkflowsStore, q as computed, h as resolveComponent, i as createElementBlock, g as openBlock, f as createCommentVNode, n as normalizeClass, j as createVNode, w as withCtx, l as createTextVNode, t as toDisplayString, m as unref, c as useI18n, W as PLACEHOLDER_EMPTY_WORKFLOW_ID, V as VIEWS, _ as _export_sfc } from "./index-
|
|
2
|
-
import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-
|
|
1
|
+
import { d as defineComponent, b as useRouter, U as useRoute, L as useUIStore, T as useWorkflowsStore, q as computed, h as resolveComponent, i as createElementBlock, g as openBlock, f as createCommentVNode, n as normalizeClass, j as createVNode, w as withCtx, l as createTextVNode, t as toDisplayString, m as unref, c as useI18n, W as PLACEHOLDER_EMPTY_WORKFLOW_ID, V as VIEWS, _ as _export_sfc } from "./index-CkOV8f0Z.js";
|
|
2
|
+
import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-BcD7ZskD.js";
|
|
3
3
|
const _hoisted_1 = {
|
|
4
4
|
key: 0,
|
|
5
5
|
"data-test-id": "workflow-execution-no-trigger-content"
|
package/dist/assets/{WorkflowExecutionsPreview-BzCGXWj0.js → WorkflowExecutionsPreview-CowaFwPg.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as defineComponent, h as resolveComponent, i as createElementBlock, g as openBlock, n as normalizeClass, j as createVNode, _ as _export_sfc, au as useExecutionsStore, a as useToast, r as ref, q as computed,
|
|
2
|
-
import { _ as _sfc_main$3 } from "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { W as WorkflowPreview } from "./WorkflowPreview-
|
|
4
|
-
import { u as useExecutionDebugging } from "./useExecutionDebugging-
|
|
5
|
-
import { u as useExecutionHelpers } from "./useExecutionHelpers-
|
|
1
|
+
import { d as defineComponent, h as resolveComponent, i as createElementBlock, g as openBlock, n as normalizeClass, j as createVNode, _ as _export_sfc, au as useExecutionsStore, a as useToast, r as ref, q as computed, c6 as resolveDirective, k as createBaseVNode, t as toDisplayString, m as unref, c as useI18n, e as createBlock, C as createEventBus, F as Fragment, D as renderList, w as withCtx, l as createTextVNode, aB as withDirectives, ah as useTelemetry, U as useRoute, b as useRouter, T as useWorkflowsStore, p as useSettingsStore, c7 as useTestDefinitionStore, a8 as getResourcePermissions, ab as EnterpriseEditionFeature, o as onMounted, f as createCommentVNode, b8 as N8nText, ba as N8nButton, c8 as RouterLink, V as VIEWS, c9 as ElDropdown, J as withModifiers, aT as _sfc_main$4, ca as N8nIcon, cb as ElDropdownMenu, cc as ElDropdownItem, aR as N8nTooltip, ar as h, aj as useMessage, ak as MODAL_CONFIRM } from "./index-CkOV8f0Z.js";
|
|
2
|
+
import { _ as _sfc_main$3 } from "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DofUIs9S.js";
|
|
3
|
+
import { W as WorkflowPreview } from "./WorkflowPreview-gflk06YT.js";
|
|
4
|
+
import { u as useExecutionDebugging } from "./useExecutionDebugging-D4s4CdaL.js";
|
|
5
|
+
import { u as useExecutionHelpers } from "./useExecutionHelpers-Bm91b8wb.js";
|
|
6
6
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "VoteButtons",
|
|
8
8
|
props: {
|
package/dist/assets/{WorkflowExecutionsView-syep-_N0.js → WorkflowExecutionsView-BAojAjIM.js}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { d as defineComponent, U as useRoute, T as useWorkflowsStore, p as useSettingsStore, q as computed, ab as EnterpriseEditionFeature, c as useI18n, o as onMounted, h as resolveComponent, i as createElementBlock, g as openBlock, n as normalizeClass, j as createVNode, m as unref, V as VIEWS, w as withCtx, k as createBaseVNode, e as createBlock, f as createCommentVNode, l as createTextVNode, t as toDisplayString, _ as _export_sfc, b as useRouter, au as useExecutionsStore, a7 as usePageRedirectionHelper, r as ref, a8 as getResourcePermissions, I as watch,
|
|
2
|
-
import { _ as _sfc_main$4, C as ConcurrentExecutionsHeader, E as ExecutionsFilter } from "./ExecutionsTime.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { u as useExecutionHelpers, t as toDayMonth, a as toTime } from "./useExecutionHelpers-
|
|
4
|
-
import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-
|
|
5
|
-
import {
|
|
6
|
-
import "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { d as defineComponent, U as useRoute, T as useWorkflowsStore, p as useSettingsStore, q as computed, ab as EnterpriseEditionFeature, c as useI18n, o as onMounted, h as resolveComponent, i as createElementBlock, g as openBlock, n as normalizeClass, j as createVNode, m as unref, V as VIEWS, w as withCtx, k as createBaseVNode, e as createBlock, f as createCommentVNode, l as createTextVNode, t as toDisplayString, _ as _export_sfc, b as useRouter, au as useExecutionsStore, a7 as usePageRedirectionHelper, r as ref, a8 as getResourcePermissions, I as watch, c2 as TransitionGroup, F as Fragment, D as renderList, c3 as isComponentPublicInstance, a6 as useWorkflowHelpers, bQ as onBeforeRouteLeave, bO as getNodeViewTab, s as MAIN_HEADER_TABS, bv as useNodeTypesStore, a as useToast, K as useDebounce, W as PLACEHOLDER_EMPTY_WORKFLOW_ID, bL as NEW_WORKFLOW_ID, y as onBeforeUnmount, c4 as NO_NETWORK_ERROR_CODE, ah as useTelemetry } from "./index-CkOV8f0Z.js";
|
|
2
|
+
import { _ as _sfc_main$4, C as ConcurrentExecutionsHeader, E as ExecutionsFilter } from "./ExecutionsTime.vue_vue_type_script_setup_true_lang-D15zjPBZ.js";
|
|
3
|
+
import { u as useExecutionHelpers, t as toDayMonth, a as toTime } from "./useExecutionHelpers-Bm91b8wb.js";
|
|
4
|
+
import { W as WorkflowExecutionsInfoAccordion } from "./WorkflowExecutionsInfoAccordion-BcD7ZskD.js";
|
|
5
|
+
import { c as useCanvasOperations } from "./useCanvasOperations-FyzGfva5.js";
|
|
6
|
+
import "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DofUIs9S.js";
|
|
7
7
|
const _hoisted_1$1 = { key: 2 };
|
|
8
8
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "WorkflowExecutionsCard",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as defineComponent, r as ref, q as computed,
|
|
2
|
-
import { W as WorkflowPreview } from "./WorkflowPreview-
|
|
3
|
-
import { F as FileSaver_minExports } from "./FileSaver.min-
|
|
1
|
+
import { d as defineComponent, r as ref, q as computed, fl as dateFormat, c as useI18n, o as onMounted, h as resolveComponent, i as createElementBlock, g as openBlock, n as normalizeClass, x as renderSlot, k as createBaseVNode, j as createVNode, t as toDisplayString, w as withCtx, l as createTextVNode, e as createBlock, f as createCommentVNode, m as unref, J as withModifiers, _ as _export_sfc, F as Fragment, D as renderList, aI as get, S as defineStore, a0 as useRootStore, p as useSettingsStore, T as useWorkflowsStore, cZ as getNewWorkflow, U as useRoute, b as useRouter, a as useToast, a7 as usePageRedirectionHelper, L as useUIStore, V as VIEWS, a8 as getResourcePermissions, aA as onBeforeMount, bb as watchEffect, de as telemetry, ar as h, gc as WORKFLOW_HISTORY_VERSION_RESTORE } from "./index-CkOV8f0Z.js";
|
|
2
|
+
import { W as WorkflowPreview } from "./WorkflowPreview-gflk06YT.js";
|
|
3
|
+
import { F as FileSaver_minExports } from "./FileSaver.min-DLKMtSuf.js";
|
|
4
4
|
const _hoisted_1$2 = ["datetime"];
|
|
5
5
|
const _hoisted_2$1 = ["value"];
|
|
6
6
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
package/dist/assets/{WorkflowOnboardingView-BmhaZBkH.js → WorkflowOnboardingView-D9peqUJs.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, aE as useLoadingService, aO as useTemplatesStore, T as useWorkflowsStore, b as useRouter, U as useRoute, o as onMounted, V as VIEWS, i as createElementBlock, g as openBlock, c as useI18n } from "./index-
|
|
1
|
+
import { d as defineComponent, aE as useLoadingService, aO as useTemplatesStore, T as useWorkflowsStore, b as useRouter, U as useRoute, o as onMounted, V as VIEWS, i as createElementBlock, g as openBlock, c as useI18n } from "./index-CkOV8f0Z.js";
|
|
2
2
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
3
3
|
__name: "WorkflowOnboardingView",
|
|
4
4
|
setup(__props) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, a as useToast, au as useExecutionsStore, r as ref, q as computed, o as onMounted, y as onBeforeUnmount, I as watch, h as resolveComponent, i as createElementBlock, g as openBlock, f as createCommentVNode, k as createBaseVNode, n as normalizeClass, j as createVNode, c as useI18n, _ as _export_sfc } from "./index-
|
|
1
|
+
import { d as defineComponent, a as useToast, au as useExecutionsStore, r as ref, q as computed, o as onMounted, y as onBeforeUnmount, I as watch, h as resolveComponent, i as createElementBlock, g as openBlock, f as createCommentVNode, k as createBaseVNode, n as normalizeClass, j as createVNode, c as useI18n, _ as _export_sfc } from "./index-CkOV8f0Z.js";
|
|
2
2
|
const _hoisted_1 = ["src"];
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "WorkflowPreview",
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@charset "UTF-8";
|
|
2
1
|
/* BEM support Func
|
|
3
2
|
-------------------------- */
|
|
4
3
|
/* Transition
|
|
@@ -121,14 +120,14 @@
|
|
|
121
120
|
-------------------------- */
|
|
122
121
|
/* BEM
|
|
123
122
|
-------------------------- */
|
|
124
|
-
.
|
|
123
|
+
._card_13xk9_123 {
|
|
125
124
|
transition: box-shadow 0.3s ease;
|
|
126
125
|
cursor: pointer;
|
|
127
126
|
}
|
|
128
|
-
.
|
|
127
|
+
._card_13xk9_123:hover {
|
|
129
128
|
box-shadow: 0 2px 8px rgba(68, 28, 23, 0.1);
|
|
130
129
|
}
|
|
131
|
-
._folder-
|
|
130
|
+
._folder-icon_13xk9_131 {
|
|
132
131
|
width: var(--spacing-xl);
|
|
133
132
|
height: var(--spacing-xl);
|
|
134
133
|
flex-shrink: 0;
|
|
@@ -136,51 +135,38 @@
|
|
|
136
135
|
align-content: center;
|
|
137
136
|
text-align: center;
|
|
138
137
|
}
|
|
139
|
-
._card-
|
|
138
|
+
._card-header_13xk9_140 {
|
|
140
139
|
display: flex;
|
|
141
140
|
align-items: center;
|
|
142
141
|
justify-content: space-between;
|
|
143
142
|
padding-right: var(--spacing-xs);
|
|
144
143
|
margin-bottom: var(--spacing-5xs);
|
|
145
144
|
}
|
|
146
|
-
._card-
|
|
145
|
+
._card-footer_13xk9_148 {
|
|
147
146
|
display: flex;
|
|
148
147
|
}
|
|
149
|
-
._info-
|
|
148
|
+
._info-cell_13xk9_152 + ._info-cell_13xk9_152::before {
|
|
150
149
|
content: "|";
|
|
151
150
|
margin: 0 var(--spacing-4xs);
|
|
152
151
|
}
|
|
153
|
-
._card-
|
|
152
|
+
._card-actions_13xk9_157 {
|
|
154
153
|
display: flex;
|
|
155
154
|
gap: var(--spacing-xs);
|
|
156
155
|
}
|
|
157
|
-
._project-pill_1ughy_163 {
|
|
158
|
-
display: flex;
|
|
159
|
-
align-items: center;
|
|
160
|
-
padding: var(--spacing-4xs) var(--spacing-2xs);
|
|
161
|
-
border: var(--border-base);
|
|
162
|
-
border-radius: var(--border-radius-base);
|
|
163
|
-
}
|
|
164
|
-
._home-project_1ughy_171 span {
|
|
165
|
-
display: flex;
|
|
166
|
-
align-items: center;
|
|
167
|
-
gap: var(--spacing-3xs);
|
|
168
|
-
color: var(—color-text-base);
|
|
169
|
-
}
|
|
170
156
|
@media screen and (max-width: 991px) {
|
|
171
|
-
.
|
|
157
|
+
._card_13xk9_123 {
|
|
172
158
|
flex-wrap: wrap;
|
|
173
159
|
}
|
|
174
|
-
.
|
|
160
|
+
._card_13xk9_123 .n8n-card-append {
|
|
175
161
|
width: 100%;
|
|
176
162
|
margin-top: var(--spacing-3xs);
|
|
177
163
|
padding-left: 40px;
|
|
178
164
|
}
|
|
179
|
-
.
|
|
165
|
+
._card_13xk9_123 ._card-actions_13xk9_157 {
|
|
180
166
|
width: 100%;
|
|
181
167
|
justify-content: space-between;
|
|
182
168
|
}
|
|
183
|
-
._info-cell--
|
|
169
|
+
._info-cell--created_13xk9_175 {
|
|
184
170
|
display: none;
|
|
185
171
|
}
|
|
186
172
|
}/* BEM support Func
|
|
@@ -440,30 +426,30 @@
|
|
|
440
426
|
-------------------------- */
|
|
441
427
|
/* BEM
|
|
442
428
|
-------------------------- */
|
|
443
|
-
.
|
|
429
|
+
._cardLink_yuz8n_123 {
|
|
444
430
|
transition: box-shadow 0.3s ease;
|
|
445
431
|
cursor: pointer;
|
|
446
432
|
padding: 0;
|
|
447
433
|
align-items: stretch;
|
|
448
434
|
}
|
|
449
|
-
.
|
|
435
|
+
._cardLink_yuz8n_123:hover {
|
|
450
436
|
box-shadow: 0 2px 8px rgba(68, 28, 23, 0.1);
|
|
451
437
|
}
|
|
452
|
-
.
|
|
438
|
+
._cardHeading_yuz8n_133 {
|
|
453
439
|
font-size: var(--font-size-s);
|
|
454
440
|
word-break: break-word;
|
|
455
441
|
padding: var(--spacing-s) 0 0 var(--spacing-s);
|
|
456
442
|
}
|
|
457
|
-
.
|
|
443
|
+
._cardHeading_yuz8n_133 span {
|
|
458
444
|
color: var(--color-text-light);
|
|
459
445
|
}
|
|
460
|
-
.
|
|
446
|
+
._cardDescription_yuz8n_142 {
|
|
461
447
|
min-height: 19px;
|
|
462
448
|
display: flex;
|
|
463
449
|
align-items: center;
|
|
464
450
|
padding: 0 0 var(--spacing-s) var(--spacing-s);
|
|
465
451
|
}
|
|
466
|
-
.
|
|
452
|
+
._cardActions_yuz8n_149 {
|
|
467
453
|
display: flex;
|
|
468
454
|
flex-direction: row;
|
|
469
455
|
justify-content: center;
|
|
@@ -472,29 +458,29 @@
|
|
|
472
458
|
padding: 0 var(--spacing-s) 0 0;
|
|
473
459
|
cursor: default;
|
|
474
460
|
}
|
|
475
|
-
.
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
461
|
+
._cardBadge_yuz8n_159._with-breadcrumbs_yuz8n_159 .n8n-badge {
|
|
462
|
+
padding-right: 0;
|
|
463
|
+
}
|
|
464
|
+
._cardBadge_yuz8n_159._with-breadcrumbs_yuz8n_159 .n8n-breadcrumbs {
|
|
465
|
+
padding-left: var(--spacing-5xs);
|
|
480
466
|
}
|
|
481
467
|
@media screen and (max-width: 991px) {
|
|
482
|
-
.
|
|
468
|
+
._cardLink_yuz8n_123 {
|
|
483
469
|
--card--padding: 0 var(--spacing-s) var(--spacing-s);
|
|
484
470
|
--card--append--width: 100%;
|
|
485
471
|
flex-direction: column;
|
|
486
472
|
}
|
|
487
|
-
.
|
|
473
|
+
._cardActions_yuz8n_149 {
|
|
488
474
|
width: 100%;
|
|
489
475
|
padding: 0 var(--spacing-s) var(--spacing-s);
|
|
490
476
|
}
|
|
491
|
-
.
|
|
492
|
-
.
|
|
477
|
+
._cardBadge_yuz8n_159,
|
|
478
|
+
._breadcrumbs_yuz8n_177 {
|
|
493
479
|
margin-right: auto;
|
|
494
480
|
}
|
|
495
481
|
}
|
|
496
482
|
@media screen and (max-width: 767px) {
|
|
497
|
-
.
|
|
483
|
+
._breadcrumbs_yuz8n_177 > div {
|
|
498
484
|
flex-direction: column;
|
|
499
485
|
}
|
|
500
486
|
}/* BEM support Func
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { P as ProjectHeader } from "./ProjectHeader-
|
|
6
|
-
import { g as getEasyAiWorkflowJson } from "./easyAiWorkflowUtils-
|
|
7
|
-
import {
|
|
8
|
-
import "./useWorkflowActivate-
|
|
1
|
+
import { P as ProjectCardBadge } from "./ProjectCardBadge-B7cCM6Eo.js";
|
|
2
|
+
import { d as defineComponent, U as useRoute, b as useRouter, q as computed, c as useI18n, V as VIEWS, h as resolveComponent, i as createElementBlock, g as openBlock, j as createVNode, w as withCtx, n as normalizeClass, k as createBaseVNode, f as createCommentVNode, e as createBlock, m as unref, go as ResourceType, J as withModifiers, l as createTextVNode, t as toDisplayString, cR as _sfc_main$4, _ as _export_sfc, a3 as useProjectsStore, ac as ProjectTypes, aV as createSlots, a as useToast, p as useSettingsStore, L as useUIStore, u as useUsersStore, T as useWorkflowsStore, gp as useFoldersStore, r as ref, a8 as getResourcePermissions, fl as dateFormat, aB as withDirectives, aC as vShow, ag as WORKFLOW_SHARE_MODAL_KEY, ah as useTelemetry, ao as DUPLICATE_MODAL_KEY, aj as useMessage, ak as MODAL_CONFIRM, gq as PROJECT_MOVE_RESOURCE_MODAL, gr as FOLDER_NAME_ILLEGAL_CHARACTERS_REGEX, gs as ILLEGAL_FOLDER_CHARACTERS, gt as FOLDER_NAME_ONLY_DOTS_REGEX, gu as FOLDER_NAME_MAX_LENGTH, a2 as useSourceControlStore, av as usePostHog, E as useTagsStore, da as useUsageStore, gv as useInsightsStore, a5 as useDocumentTitle, K as useDebounce, ab as EnterpriseEditionFeature, gw as EASY_AI_WORKFLOW_EXPERIMENT, I as watch, o as onMounted, C as createEventBus, y as onBeforeUnmount, A as debounce, d7 as N8nInputLabel, ae as _sfc_main$5, gx as N8nSelect, F as Fragment, D as renderList, gy as _sfc_main$6, cX as N8nHeading, b8 as N8nText, gz as N8nCard, ca as N8nIcon, gA as DEFAULT_WORKFLOW_PAGE_SIZE, bW as AI_CREDITS_EXPERIMENT, dd as COMMUNITY_PLUS_ENROLLMENT_MODAL } from "./index-CkOV8f0Z.js";
|
|
3
|
+
import { R as ResourcesListLayout } from "./ResourcesListLayout-CiiXWGd5.js";
|
|
4
|
+
import { W as WorkflowActivator } from "./WorkflowActivator-DfalOPsa.js";
|
|
5
|
+
import { u as useOverview, P as ProjectHeader } from "./ProjectHeader-BjPaep-H.js";
|
|
6
|
+
import { g as getEasyAiWorkflowJson } from "./easyAiWorkflowUtils-CLssJdgl.js";
|
|
7
|
+
import { I as InsightsSummary } from "./InsightsSummary-CyilLKXz.js";
|
|
8
|
+
import "./useWorkflowActivate-CkCvd-g6.js";
|
|
9
9
|
const FOLDER_LIST_ITEM_ACTIONS = {
|
|
10
10
|
OPEN: "open",
|
|
11
11
|
CREATE: "create",
|
|
@@ -19,6 +19,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
19
19
|
__name: "FolderCard",
|
|
20
20
|
props: {
|
|
21
21
|
data: {},
|
|
22
|
+
personalProject: {},
|
|
22
23
|
actions: { default: () => [] },
|
|
23
24
|
readOnly: { type: Boolean, default: true }
|
|
24
25
|
},
|
|
@@ -29,21 +30,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
29
30
|
const route = useRoute();
|
|
30
31
|
const router = useRouter();
|
|
31
32
|
const emit = __emit;
|
|
32
|
-
const
|
|
33
|
-
const defaultIcon = { type: "icon", value: "layer-group" };
|
|
34
|
-
if (props.data.homeProject?.type === ProjectTypes.Personal) {
|
|
35
|
-
return { type: "icon", value: "user" };
|
|
36
|
-
} else if (props.data.homeProject?.type === ProjectTypes.Team) {
|
|
37
|
-
return props.data.homeProject.icon ?? defaultIcon;
|
|
38
|
-
}
|
|
39
|
-
return defaultIcon;
|
|
40
|
-
});
|
|
41
|
-
const projectName = computed(() => {
|
|
42
|
-
if (props.data.homeProject?.type === ProjectTypes.Personal) {
|
|
43
|
-
return i18n.baseText("projects.menu.personal");
|
|
44
|
-
}
|
|
45
|
-
return props.data.homeProject?.name;
|
|
46
|
-
});
|
|
33
|
+
const resourceTypeLabel = computed(() => i18n.baseText("generic.folder").toLowerCase());
|
|
47
34
|
const cardUrl = computed(() => {
|
|
48
35
|
return getFolderUrl(props.data.id);
|
|
49
36
|
});
|
|
@@ -71,8 +58,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
71
58
|
const _component_N8nBadge = resolveComponent("N8nBadge");
|
|
72
59
|
const _component_n8n_text = resolveComponent("n8n-text");
|
|
73
60
|
const _component_TimeAgo = _sfc_main$4;
|
|
74
|
-
const
|
|
75
|
-
const _component_n8n_link = resolveComponent("n8n-link");
|
|
61
|
+
const _component_ProjectCardBadge = ProjectCardBadge;
|
|
76
62
|
const _component_n8n_action_toggle = resolveComponent("n8n-action-toggle");
|
|
77
63
|
const _component_n8n_card = resolveComponent("n8n-card");
|
|
78
64
|
const _component_router_link = resolveComponent("router-link");
|
|
@@ -145,7 +131,9 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
145
131
|
"data-test-id": "folder-card-workflow-count"
|
|
146
132
|
}, {
|
|
147
133
|
default: withCtx(() => [
|
|
148
|
-
createTextVNode(toDisplayString(unref(i18n).baseText("generic.
|
|
134
|
+
createTextVNode(toDisplayString(unref(i18n).baseText("generic.folderCount", {
|
|
135
|
+
interpolate: { count: _ctx.data.subFolderCount }
|
|
136
|
+
})), 1)
|
|
149
137
|
]),
|
|
150
138
|
_: 1
|
|
151
139
|
}, 8, ["class"])) : createCommentVNode("", true),
|
|
@@ -189,34 +177,14 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
189
177
|
key: 0,
|
|
190
178
|
class: normalizeClass(_ctx.$style["project-pill"])
|
|
191
179
|
}, [
|
|
192
|
-
|
|
193
|
-
class: normalizeClass(_ctx.$style["
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
createVNode(_component_ProjectIcon, {
|
|
201
|
-
icon: projectIcon.value,
|
|
202
|
-
"border-less": true,
|
|
203
|
-
size: "mini"
|
|
204
|
-
}, null, 8, ["icon"]),
|
|
205
|
-
createVNode(_component_n8n_text, {
|
|
206
|
-
size: "small",
|
|
207
|
-
compact: true,
|
|
208
|
-
bold: true,
|
|
209
|
-
color: "text-base"
|
|
210
|
-
}, {
|
|
211
|
-
default: withCtx(() => [
|
|
212
|
-
createTextVNode(toDisplayString(projectName.value), 1)
|
|
213
|
-
]),
|
|
214
|
-
_: 1
|
|
215
|
-
})
|
|
216
|
-
]),
|
|
217
|
-
_: 1
|
|
218
|
-
}, 8, ["to"])
|
|
219
|
-
], 2)
|
|
180
|
+
createVNode(_component_ProjectCardBadge, {
|
|
181
|
+
class: normalizeClass({ [_ctx.$style.cardBadge]: true, [_ctx.$style["with-breadcrumbs"]]: false }),
|
|
182
|
+
resource: _ctx.data,
|
|
183
|
+
"resource-type": unref(ResourceType).Workflow,
|
|
184
|
+
"resource-type-label": resourceTypeLabel.value,
|
|
185
|
+
"personal-project": _ctx.personalProject,
|
|
186
|
+
"show-badge-border": true
|
|
187
|
+
}, null, 8, ["class", "resource", "resource-type", "resource-type-label", "personal-project"])
|
|
220
188
|
], 2)) : createCommentVNode("", true),
|
|
221
189
|
_ctx.actions.length ? (openBlock(), createBlock(_component_n8n_action_toggle, {
|
|
222
190
|
key: 1,
|
|
@@ -236,17 +204,15 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
236
204
|
};
|
|
237
205
|
}
|
|
238
206
|
});
|
|
239
|
-
const card = "
|
|
207
|
+
const card = "_card_13xk9_123";
|
|
240
208
|
const style0$3 = {
|
|
241
209
|
card,
|
|
242
|
-
"folder-icon": "_folder-
|
|
243
|
-
"card-header": "_card-
|
|
244
|
-
"card-footer": "_card-
|
|
245
|
-
"info-cell": "_info-
|
|
246
|
-
"card-actions": "_card-
|
|
247
|
-
"
|
|
248
|
-
"home-project": "_home-project_1ughy_171",
|
|
249
|
-
"info-cell--created": "_info-cell--created_1ughy_191"
|
|
210
|
+
"folder-icon": "_folder-icon_13xk9_131",
|
|
211
|
+
"card-header": "_card-header_13xk9_140",
|
|
212
|
+
"card-footer": "_card-footer_13xk9_148",
|
|
213
|
+
"info-cell": "_info-cell_13xk9_152",
|
|
214
|
+
"card-actions": "_card-actions_13xk9_157",
|
|
215
|
+
"info-cell--created": "_info-cell--created_13xk9_175"
|
|
250
216
|
};
|
|
251
217
|
const cssModules$3 = {
|
|
252
218
|
"$style": style0$3
|
|
@@ -384,14 +350,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
384
350
|
const showFolders = computed(() => {
|
|
385
351
|
return settingsStore.isFoldersFeatureEnabled && route.name !== VIEWS.WORKFLOWS;
|
|
386
352
|
});
|
|
387
|
-
const
|
|
388
|
-
|
|
389
|
-
if (props.data.homeProject?.type === ProjectTypes.Personal) {
|
|
390
|
-
return { type: "icon", value: "user" };
|
|
391
|
-
} else if (props.data.homeProject?.type === ProjectTypes.Team) {
|
|
392
|
-
return props.data.homeProject.icon ?? defaultIcon;
|
|
393
|
-
}
|
|
394
|
-
return defaultIcon;
|
|
353
|
+
const showCardBreadcrumbs = computed(() => {
|
|
354
|
+
return isOverviewPage.value && !isSomeoneElsesWorkflow.value && cardBreadcrumbs.value.length;
|
|
395
355
|
});
|
|
396
356
|
const projectName = computed(() => {
|
|
397
357
|
if (props.data.homeProject?.type === ProjectTypes.Personal) {
|
|
@@ -462,6 +422,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
462
422
|
`d mmmm${String(props.data.createdAt).startsWith(currentYear) ? "" : ", yyyy"}`
|
|
463
423
|
);
|
|
464
424
|
});
|
|
425
|
+
const isSomeoneElsesWorkflow = computed(
|
|
426
|
+
() => props.data.homeProject?.type !== ProjectTypes.Team && props.data.homeProject?.id !== projectsStore.personalProject?.id
|
|
427
|
+
);
|
|
465
428
|
async function onClick(event) {
|
|
466
429
|
if (event?.ctrlKey || event?.metaKey) {
|
|
467
430
|
const route2 = router.resolve({
|
|
@@ -591,8 +554,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
591
554
|
const _component_N8nBadge = resolveComponent("N8nBadge");
|
|
592
555
|
const _component_n8n_text = resolveComponent("n8n-text");
|
|
593
556
|
const _component_n8n_tags = resolveComponent("n8n-tags");
|
|
594
|
-
const _component_ProjectIcon = __unplugin_components_0$1;
|
|
595
|
-
const _component_n8n_link = resolveComponent("n8n-link");
|
|
596
557
|
const _component_n8n_breadcrumbs = resolveComponent("n8n-breadcrumbs");
|
|
597
558
|
const _component_n8n_action_toggle = resolveComponent("n8n-action-toggle");
|
|
598
559
|
const _component_n8n_card = resolveComponent("n8n-card");
|
|
@@ -631,64 +592,37 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
631
592
|
onClick: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
632
593
|
}, ["stop"]))
|
|
633
594
|
}, [
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
class: normalizeClass(_ctx.$style.breadcrumbs)
|
|
637
|
-
}, [
|
|
638
|
-
createVNode(_component_n8n_breadcrumbs, {
|
|
639
|
-
items: cardBreadcrumbs.value,
|
|
640
|
-
"hidden-items": hiddenBreadcrumbsItemsAsync.value,
|
|
641
|
-
"path-truncated": true,
|
|
642
|
-
"show-border": true,
|
|
643
|
-
"highlight-last-item": false,
|
|
644
|
-
"hidden-items-trigger": "hover",
|
|
645
|
-
theme: "small",
|
|
646
|
-
"data-test-id": "workflow-card-breadcrumbs",
|
|
647
|
-
onTooltipOpened: fetchHiddenBreadCrumbsItems,
|
|
648
|
-
onItemSelected: onBreadcrumbItemClick
|
|
649
|
-
}, createSlots({ _: 2 }, [
|
|
650
|
-
_ctx.data.homeProject ? {
|
|
651
|
-
name: "prepend",
|
|
652
|
-
fn: withCtx(() => [
|
|
653
|
-
createBaseVNode("div", {
|
|
654
|
-
class: normalizeClass(_ctx.$style["home-project"])
|
|
655
|
-
}, [
|
|
656
|
-
createVNode(_component_n8n_link, {
|
|
657
|
-
to: `/projects/${_ctx.data.homeProject.id}`
|
|
658
|
-
}, {
|
|
659
|
-
default: withCtx(() => [
|
|
660
|
-
createVNode(_component_ProjectIcon, {
|
|
661
|
-
icon: projectIcon.value,
|
|
662
|
-
"border-less": true,
|
|
663
|
-
size: "mini"
|
|
664
|
-
}, null, 8, ["icon"]),
|
|
665
|
-
createVNode(_component_n8n_text, {
|
|
666
|
-
size: "small",
|
|
667
|
-
compact: true,
|
|
668
|
-
bold: true,
|
|
669
|
-
color: "text-base"
|
|
670
|
-
}, {
|
|
671
|
-
default: withCtx(() => [
|
|
672
|
-
createTextVNode(toDisplayString(projectName.value), 1)
|
|
673
|
-
]),
|
|
674
|
-
_: 1
|
|
675
|
-
})
|
|
676
|
-
]),
|
|
677
|
-
_: 1
|
|
678
|
-
}, 8, ["to"])
|
|
679
|
-
], 2)
|
|
680
|
-
]),
|
|
681
|
-
key: "0"
|
|
682
|
-
} : void 0
|
|
683
|
-
]), 1032, ["items", "hidden-items"])
|
|
684
|
-
], 2)) : (openBlock(), createBlock(ProjectCardBadge, {
|
|
685
|
-
key: 1,
|
|
686
|
-
class: normalizeClass(_ctx.$style.cardBadge),
|
|
595
|
+
createVNode(ProjectCardBadge, {
|
|
596
|
+
class: normalizeClass({ [_ctx.$style.cardBadge]: true, [_ctx.$style["with-breadcrumbs"]]: showCardBreadcrumbs.value }),
|
|
687
597
|
resource: _ctx.data,
|
|
688
598
|
"resource-type": unref(ResourceType).Workflow,
|
|
689
599
|
"resource-type-label": resourceTypeLabel.value,
|
|
690
|
-
"personal-project": unref(projectsStore).personalProject
|
|
691
|
-
|
|
600
|
+
"personal-project": unref(projectsStore).personalProject,
|
|
601
|
+
"show-badge-border": false
|
|
602
|
+
}, {
|
|
603
|
+
default: withCtx(() => [
|
|
604
|
+
showCardBreadcrumbs.value ? (openBlock(), createElementBlock("div", {
|
|
605
|
+
key: 0,
|
|
606
|
+
class: normalizeClass(_ctx.$style.breadcrumbs)
|
|
607
|
+
}, [
|
|
608
|
+
createVNode(_component_n8n_breadcrumbs, {
|
|
609
|
+
items: cardBreadcrumbs.value,
|
|
610
|
+
"hidden-items": hiddenBreadcrumbsItemsAsync.value,
|
|
611
|
+
"path-truncated": true,
|
|
612
|
+
"highlight-last-item": false,
|
|
613
|
+
"hidden-items-trigger": "hover",
|
|
614
|
+
theme: "small",
|
|
615
|
+
"data-test-id": "workflow-card-breadcrumbs",
|
|
616
|
+
onTooltipOpened: fetchHiddenBreadCrumbsItems,
|
|
617
|
+
onItemSelected: onBreadcrumbItemClick
|
|
618
|
+
}, {
|
|
619
|
+
prepend: withCtx(() => _cache[2] || (_cache[2] = [])),
|
|
620
|
+
_: 1
|
|
621
|
+
}, 8, ["items", "hidden-items"])
|
|
622
|
+
], 2)) : createCommentVNode("", true)
|
|
623
|
+
]),
|
|
624
|
+
_: 1
|
|
625
|
+
}, 8, ["class", "resource", "resource-type", "resource-type-label", "personal-project"]),
|
|
692
626
|
createVNode(WorkflowActivator, {
|
|
693
627
|
class: "mr-s",
|
|
694
628
|
"workflow-active": _ctx.data.active,
|
|
@@ -748,19 +682,19 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
748
682
|
};
|
|
749
683
|
}
|
|
750
684
|
});
|
|
751
|
-
const cardLink = "
|
|
752
|
-
const cardHeading = "
|
|
753
|
-
const cardDescription = "
|
|
754
|
-
const cardActions = "
|
|
755
|
-
const cardBadge = "
|
|
756
|
-
const breadcrumbs = "
|
|
685
|
+
const cardLink = "_cardLink_yuz8n_123";
|
|
686
|
+
const cardHeading = "_cardHeading_yuz8n_133";
|
|
687
|
+
const cardDescription = "_cardDescription_yuz8n_142";
|
|
688
|
+
const cardActions = "_cardActions_yuz8n_149";
|
|
689
|
+
const cardBadge = "_cardBadge_yuz8n_159";
|
|
690
|
+
const breadcrumbs = "_breadcrumbs_yuz8n_177";
|
|
757
691
|
const style0$1 = {
|
|
758
692
|
cardLink,
|
|
759
693
|
cardHeading,
|
|
760
694
|
cardDescription,
|
|
761
695
|
cardActions,
|
|
762
|
-
"home-project": "_home-project_1mosm_159",
|
|
763
696
|
cardBadge,
|
|
697
|
+
"with-breadcrumbs": "_with-breadcrumbs_yuz8n_159",
|
|
764
698
|
breadcrumbs
|
|
765
699
|
};
|
|
766
700
|
const cssModules$1 = {
|
|
@@ -1827,16 +1761,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1827
1761
|
}, null, 8, ["breadcrumbs", "actions"])
|
|
1828
1762
|
], 2)) : createCommentVNode("", true)
|
|
1829
1763
|
]),
|
|
1830
|
-
item: withCtx(({ item: data }) => [
|
|
1764
|
+
item: withCtx(({ item: data, index }) => [
|
|
1831
1765
|
data.resourceType === "folder" ? (openBlock(), createBlock(_component_FolderCard, {
|
|
1832
|
-
key:
|
|
1766
|
+
key: `folder-${index}`,
|
|
1833
1767
|
data,
|
|
1834
1768
|
actions: folderCardActions.value,
|
|
1835
1769
|
"read-only": readOnlyEnv.value || !hasPermissionToDeleteFolders.value && !hasPermissionToCreateFolders.value,
|
|
1770
|
+
"personal-project": unref(projectsStore).personalProject,
|
|
1836
1771
|
class: "mb-2xs",
|
|
1837
1772
|
onAction: onFolderCardAction
|
|
1838
|
-
}, null, 8, ["data", "actions", "read-only"])) : (openBlock(), createBlock(WorkflowCard, {
|
|
1839
|
-
key:
|
|
1773
|
+
}, null, 8, ["data", "actions", "read-only", "personal-project"])) : (openBlock(), createBlock(WorkflowCard, {
|
|
1774
|
+
key: `workflow-${index}`,
|
|
1840
1775
|
"data-test-id": "resources-list-item-workflow",
|
|
1841
1776
|
class: "mb-2xs",
|
|
1842
1777
|
data,
|