n8n-editor-ui 1.90.1 → 1.91.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{AnimatedSpinner-ChThynSJ.js → AnimatedSpinner-BrkRvAXQ.js} +1 -1
- package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-WGp2Kuen.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DRamY8Fo.js} +1 -1
- package/dist/assets/{AuthView-Dlhn_SQ-.js → AuthView-ehh7NFh5.js} +2 -2
- package/dist/assets/{CanvasChatSwitch-BuBg7TJP.js → CanvasChatSwitch-DUBgoMXw.js} +11 -11
- package/dist/assets/{ChangePasswordView-BKYXOoDf.js → ChangePasswordView-BLFb7_-o.js} +3 -3
- package/dist/assets/CollectionParameter-BaH_a73u.js +4 -0
- package/dist/assets/{CredentialsView-BNWIgrLb.js → CredentialsView-1uYUpp0G.js} +10 -9
- package/dist/assets/{DemoFooter-DR6r_2qR.js → DemoFooter-CNfkqkRC.js} +8 -8
- package/dist/assets/{ErrorView-Bu8Mt5FH.js → ErrorView-CmYweWFA.js} +1 -1
- package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-DvtOOOhh.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-DAWTDTON.js} +2 -2
- package/dist/assets/{ExecutionsView-C0WZAIi0.js → ExecutionsView-fotg1R4V.js} +11 -10
- package/dist/assets/{FileSaver.min-Cm0u4qyc.js → FileSaver.min-CcnqpaV-.js} +1 -1
- package/dist/assets/{FixedCollectionParameter-KmRZtBiP.js → FixedCollectionParameter-BYR4RzWw.js} +1 -1
- package/dist/assets/{ForgotMyPasswordView-GH7SqEFu.js → ForgotMyPasswordView-CQMKtpr-.js} +3 -3
- package/dist/assets/{InsightsChartAverageRuntime-SeBUN06R.js → InsightsChartAverageRuntime-B-9BU5qw.js} +7 -6
- package/dist/assets/{InsightsChartFailed-TYjH8LwV.js → InsightsChartFailed-Bd1BlFEm.js} +7 -6
- package/dist/assets/{InsightsChartFailureRate-D41Jv-6v.js → InsightsChartFailureRate-DPTCueAp.js} +7 -6
- package/dist/assets/{InsightsChartTimeSaved-TLPDAmPx.js → InsightsChartTimeSaved-CSVKB08W.js} +7 -6
- package/dist/assets/{InsightsChartTotal-CaKTe2mv.js → InsightsChartTotal-Bxjmisao.js} +7 -6
- package/dist/assets/InsightsDashboard-5cOORj5z.js +372 -0
- package/dist/assets/{InsightsDashboard-DPVczYm3.css → InsightsDashboard-Bx4vx9gz.css} +16 -0
- package/dist/assets/{InsightsPaywall-Z4Y0nO-i.js → InsightsPaywall-Bdo_3Ic_.js} +1 -1
- package/dist/assets/{InsightsSummary-FixbpmPJ.css → InsightsSummary-CdlaUpAt.css} +25 -25
- package/dist/assets/{InsightsSummary-DzYli0Pu.js → InsightsSummary-DB62HhNM.js} +16 -17
- package/dist/assets/{InsightsTableWorkflows-CUHAG57c.js → InsightsTableWorkflows-BEC5Yh0b.js} +2 -2
- package/dist/assets/{Logo-Dxp4M9dy.js → Logo-CK8euEWT.js} +1 -1
- package/dist/assets/{LogsPanel-zIrTNE6j.js → LogsPanel-CrGEYFLo.js} +480 -364
- package/dist/assets/{LogsPanel-DmPMCt9w.css → LogsPanel-DLC2TAqh.css} +203 -97
- package/dist/assets/{MainHeader-D4cIIoUA.js → MainHeader-C7XOaZKu.js} +122 -295
- package/dist/assets/MainHeader-CEPLiR-5.css +1044 -0
- package/dist/assets/{MainSidebar-BtW-9UPT.js → MainSidebar-DD_ugRL3.js} +2 -2
- package/dist/assets/{NodeCreation-thD32mA1.js → NodeCreation-S2FoBcnW.js} +4 -4
- package/dist/assets/{NodeCreator-B4mHaU45.js → NodeCreator-D6TKVgLu.js} +14 -4
- package/dist/assets/{NodeDetailsView-cO3Ci9jH.js → NodeDetailsView-DtvMtBqp.js} +40 -30
- package/dist/assets/{NodeView-E5b1ClVD.js → NodeView-BPhaaoWK.js} +135 -30
- package/dist/assets/{ProjectCardBadge-LnLKqSK-.js → ProjectCardBadge-C_L_pqWA.js} +1 -1
- package/dist/assets/{ProjectHeader-DC02ZuZ0.js → ProjectHeader-C0FZTxjm.js} +1 -1
- package/dist/assets/{ProjectSettings-Zr1UOp7s.js → ProjectSettings-DlggJ6Ti.js} +2 -2
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-CM7WIpD3.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-BNtCDFSj.js} +1 -1
- package/dist/assets/{ResourcesListLayout-CglK2dXR.css → ResourcesListLayout-CtGME7aU.css} +8 -8
- package/dist/assets/{ResourcesListLayout-DTsuHdYx.js → ResourcesListLayout-HzoSFUaj.js} +2 -2
- package/dist/assets/{RunData-DepHcD2K.css → RunData-C9dtm1M2.css} +92 -73
- package/dist/assets/{RunData-Ds-U68nr.js → RunData-D8Eax0cQ.js} +319 -221
- package/dist/assets/{RunDataAi-DdK11EHU.js → RunDataAi-BUnCQIRN.js} +3 -3
- package/dist/assets/{RunDataJson-Txw0lqay.css → RunDataJson-BH9HLoGC.css} +12 -8
- package/dist/assets/{RunDataJson-B2WU5od1.js → RunDataJson-DXd3nZxI.js} +20 -14
- package/dist/assets/{RunDataJsonActions-DqZ2X1yJ.js → RunDataJsonActions-aivOaol2.js} +1 -1
- package/dist/assets/{RunDataSearch-CQsyZvGK.js → RunDataSearch-DJ9BZGTu.js} +1 -1
- package/dist/assets/{RunDataTable-DyUvXWfl.css → RunDataTable-CUxj7dHx.css} +47 -39
- package/dist/assets/{RunDataTable-BO0R4JT_.js → RunDataTable-vEPCwbcC.js} +41 -30
- package/dist/assets/{SamlOnboarding-CmwMX5y2.js → SamlOnboarding--OTxMEws.js} +3 -3
- package/dist/assets/{SettingsApiView-D6uBbi9-.js → SettingsApiView-BulxWyyY.js} +1 -1
- package/dist/assets/{SettingsCommunityNodesView-CJODtx_K.js → SettingsCommunityNodesView-4wwPXFO2.js} +4 -4
- package/dist/assets/{SettingsExternalSecrets-CVk14P_P.js → SettingsExternalSecrets-zt7dxBKK.js} +1 -1
- package/dist/assets/{SettingsLdapView-pg71FErj.js → SettingsLdapView-xneO6UIv.js} +1 -1
- package/dist/assets/{SettingsLogStreamingView-DUOI3Xb9.js → SettingsLogStreamingView-_h8wUzum.js} +1 -1
- package/dist/assets/{SettingsPersonalView-BFnOmBPC.js → SettingsPersonalView-CwYMP4sk.js} +1 -1
- package/dist/assets/{SettingsSourceControl-BUNmxcvB.js → SettingsSourceControl-B9Tg93u3.js} +1 -1
- package/dist/assets/{SettingsSso-Dx8Qw_2Z.js → SettingsSso-XaL1PzfW.js} +1 -1
- package/dist/assets/{SettingsUsageAndPlan-DTk86tXU.js → SettingsUsageAndPlan-Ci15FW81.js} +1 -1
- package/dist/assets/{SettingsUsersView-BviXcl30.js → SettingsUsersView-DBJV4vSK.js} +1 -1
- package/dist/assets/{SettingsView-fzPdUijx.js → SettingsView-DMzdPF-1.js} +1 -1
- package/dist/assets/{SetupView-DUTx1JXK.js → SetupView-BqWgdvDq.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-fApxCGHh.js → SetupWorkflowCredentialsButton-B2wnuUnF.js} +1 -1
- package/dist/assets/{SetupWorkflowFromTemplateView-C5t9fEKF.js → SetupWorkflowFromTemplateView-BwC_wFSc.js} +3 -3
- package/dist/assets/{SigninView-BRVoXQRW.js → SigninView-DpTLJJwD.js} +3 -3
- package/dist/assets/{SignoutView-Duh6wb4Y.js → SignoutView-dkTtOCo1.js} +1 -1
- package/dist/assets/{SignupView-DMkpTtjs.js → SignupView-CJFJJO3L.js} +3 -3
- package/dist/assets/{TemplateDetails-Df9_jph6.js → TemplateDetails-84YElIBA.js} +1 -1
- package/dist/assets/{TemplateList-qSnJvw0K.js → TemplateList-CGsfKuVA.js} +1 -1
- package/dist/assets/{TemplatesCollectionView--ccYXaCo.js → TemplatesCollectionView-2y8KZk0I.js} +5 -5
- package/dist/assets/{TemplatesSearchView-D1YgHKld.js → TemplatesSearchView-DgosiOzl.js} +3 -3
- package/dist/assets/{TemplatesView-B9CwObHN.js → TemplatesView-CgQSZO4a.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-DtLpUF59.js → TemplatesWorkflowView-2pSUmAbX.js} +5 -5
- package/dist/assets/{TestDefinitionEditView-DFcBlKnN.js → TestDefinitionEditView-C26sWE7p.js} +8 -8
- package/dist/assets/{TestDefinitionListView-C_mbolTO.js → TestDefinitionListView-Cyl6bsLP.js} +1 -1
- package/dist/assets/{TestDefinitionNewView-CvyM6TLE.js → TestDefinitionNewView-CfIZ0atk.js} +2 -2
- package/dist/assets/{TestDefinitionRootView-BXzJY0cY.js → TestDefinitionRootView-CYg7HBL-.js} +1 -1
- package/dist/assets/{VariablesView-BHFJj5IU.js → VariablesView-BFE9B0_b.js} +3 -3
- package/dist/assets/{WorkerView-CgIksFjP.js → WorkerView-BUMCMS_B.js} +6 -6
- package/dist/assets/WorkflowActivator-BDLto9c0.js +776 -0
- package/dist/assets/{MainHeader-CWA2JfVJ.css → WorkflowActivator-DAyH7N29.css} +74 -434
- package/dist/assets/{WorkflowExecutionsInfoAccordion-BcBLZ_Ul.js → WorkflowExecutionsInfoAccordion-manN-WIj.js} +1 -1
- package/dist/assets/{WorkflowExecutionsLandingPage-B9ByHnbR.js → WorkflowExecutionsLandingPage-BzGmpGvf.js} +2 -2
- package/dist/assets/{WorkflowExecutionsPreview-DCE7TYLh.js → WorkflowExecutionsPreview-CNEV2lom.js} +6 -6
- package/dist/assets/{WorkflowExecutionsView-DFoBpdS7.js → WorkflowExecutionsView-WiNvtAmD.js} +7 -7
- package/dist/assets/{WorkflowHistory-DolmPUM2.js → WorkflowHistory-6uJJqB4x.js} +4 -4
- package/dist/assets/{WorkflowOnboardingView-DQW48M8_.js → WorkflowOnboardingView-CPt_AUR-.js} +1 -1
- package/dist/assets/{WorkflowPreview-BFR6V9SO.js → WorkflowPreview-CHUEX6H6.js} +1 -1
- package/dist/assets/{WorkflowsView-CsM69PSv.css → WorkflowsView-B2_HJCJ5.css} +28 -162
- package/dist/assets/{WorkflowsView-B-feKuLZ.js → WorkflowsView-DbGBRbfc.js} +123 -216
- package/dist/assets/{chartjs.utils-BcXTJ2Te.js → chartjs.utils-C--HONKb.js} +2 -2
- package/dist/assets/{dateFormatter-CZI1kGYK.js → dateFormatter-DbKqmK4w.js} +5 -5
- package/dist/assets/{easyAiWorkflowUtils-ChToD_Yl.js → easyAiWorkflowUtils-BWgfZ0am.js} +1 -1
- package/dist/assets/{global-link-actions-OGaZVwsw.js → global-link-actions-COf-9vBh.js} +1 -1
- package/dist/assets/{import-curl-CAszzwx1.js → import-curl-BiXaU2jk.js} +1 -1
- package/dist/assets/{index-7WdERzqm.js → index-B6xE9gZ1.js} +1 -1
- package/dist/assets/{index-BpdkKRP4.js → index-BLAboPd2.js} +14034 -12086
- package/dist/assets/{index-C5OXOcIJ.css → index-sq5ggyEC.css} +6265 -4303
- package/dist/assets/{pickBy-mYqFOFbh.js → pickBy-gZHb6vZ2.js} +1 -1
- package/dist/assets/{templateActions-BX9arLbc.js → templateActions-DCx74tPa.js} +1 -1
- package/dist/assets/{useBeforeUnload-K7nQ15Rk.js → useBeforeUnload-DbfysOS-.js} +1 -1
- package/dist/assets/{useCanvasMapping-D_UPCxYX.js → useCanvasMapping-CSuq_dYj.js} +251 -96
- package/dist/assets/{useCanvasMapping-C--wac6H.css → useCanvasMapping-cuXLM-h-.css} +185 -4
- package/dist/assets/{useCanvasOperations-D6VFiC3b.js → useCanvasOperations-C0pQBHW3.js} +3 -2
- package/dist/assets/{useClearExecutionButtonVisible-D_0O6f0X.js → useClearExecutionButtonVisible-Cvfxw8xC.js} +2 -2
- package/dist/assets/{useExecutionDebugging-BNMaKOh7.js → useExecutionDebugging-D2H5O6fT.js} +1 -1
- package/dist/assets/{useExecutionHelpers-DN5HqPqY.js → useExecutionHelpers-C--m0pTQ.js} +2 -2
- package/dist/assets/{useImportCurlCommand-BSL596XF.js → useImportCurlCommand-XFn6Ezp2.js} +2 -2
- package/dist/assets/{usePushConnection-BdV7ILvK.js → usePushConnection-x0iF1Axz.js} +5 -3
- package/dist/assets/{useTestDefinitionForm-CIhrxyve.js → useTestDefinitionForm-2YP-8pAN.js} +1 -1
- package/dist/assets/{useWorkflowActivate-pZ62ib_C.js → useWorkflowActivate-CvmIpy5T.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +1 -1
- package/vite.config.mts +15 -1
- package/dist/assets/CollectionParameter-CQXiWluX.js +0 -4
- package/dist/assets/InsightsDashboard-o3JS9fjz.js +0 -178
- package/dist/assets/WorkflowActivator-BX59FxTZ.css +0 -260
- package/dist/assets/WorkflowActivator-O6i5XAk2.js +0 -231
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { d as defineComponent, s as MAIN_HEADER_TABS, h as resolveComponent, i as createElementBlock, f as createCommentVNode, g as openBlock, n as normalizeClass, j as createVNode, _ as _export_sfc, q as computed, v as shorten, x as renderSlot, r as ref, y as onBeforeUnmount, o as onMounted, z as nextTick, A as debounce, e as createBlock, m as unref, B as normalizeStyle, C as createEventBus, w as withCtx, k as createBaseVNode, F as Fragment, D as renderList, l as createTextVNode, t as toDisplayString, E as useTagsStore, G as
|
|
2
|
-
import { _ as
|
|
3
|
-
import {
|
|
4
|
-
import { u as useBeforeUnload } from "./useBeforeUnload-
|
|
5
|
-
import { F as FileSaver_minExports } from "./FileSaver.min-
|
|
6
|
-
import { u as usePushConnection } from "./usePushConnection-
|
|
7
|
-
import "./useWorkflowActivate-
|
|
8
|
-
import "./global-link-actions-
|
|
9
|
-
import "./easyAiWorkflowUtils-
|
|
10
|
-
const _sfc_main$
|
|
1
|
+
import { d as defineComponent, s as MAIN_HEADER_TABS, h as resolveComponent, i as createElementBlock, f as createCommentVNode, g as openBlock, n as normalizeClass, j as createVNode, _ as _export_sfc, q as computed, v as shorten, x as renderSlot, r as ref, y as onBeforeUnmount, o as onMounted, z as nextTick, A as debounce, e as createBlock, m as unref, B as normalizeStyle, C as createEventBus, w as withCtx, k as createBaseVNode, F as Fragment, D as renderList, l as createTextVNode, t as toDisplayString, E as useTagsStore, G as useDebounce, H as useUIStore, I as BREAKPOINT_SM, J as BREAKPOINT_XL, K as BREAKPOINT_LG, L as BREAKPOINT_MD, N as getBannerRowHeight, V as VIEWS, c as useI18n, O as defineStore, P as usePushConnectionStore, Q as useWorkflowsStore, u as useUsersStore, R as useRoute, S as PLACEHOLDER_EMPTY_WORKFLOW_ID, T as STORES, U as TIME, W as useDocumentVisibility, X as watch, Y as useCssModule, Z as useRootStore, $ as useCanvasStore, p as useSettingsStore, a0 as useSourceControlStore, a1 as useProjectsStore, a2 as useFoldersStore, a3 as useNpsSurveyStore, b as useRouter, a as useToast, a4 as useDocumentTitle, a5 as useWorkflowHelpers, a6 as usePageRedirectionHelper, a7 as getResourcePermissions, a8 as WORKFLOW_MENU_ACTIONS, a9 as hasPermission, aa as EnterpriseEditionFeature, ab as ProjectTypes, ac as MAX_WORKFLOW_NAME_LENGTH, ad as _sfc_main$b, ae as SaveButton, af as WORKFLOW_SHARE_MODAL_KEY, ag as useTelemetry, ah as nodeViewEventBus, ai as useMessage, aj as MODAL_CONFIRM, ak as WORKFLOW_SETTINGS_MODAL_KEY, al as SOURCE_CONTROL_PUSH_MODAL_KEY, am as VALID_WORKFLOW_IMPORT_URL_REGEX, an as DUPLICATE_MODAL_KEY, ao as __vitePreload, ap as hyphenate, aq as h, ar as hasOwn, as as useNDVStore, at as useExecutionsStore, au as usePostHog, av as useLocalStorage, aw as LOCAL_STORAGE_HIDE_GITHUB_STAR_BUTTON, ax as WORKFLOW_EVALUATION_EXPERIMENT, ay as STICKY_NODE_TYPE, az as onBeforeMount, aA as withDirectives, aB as vShow, aC as N8N_MAIN_GITHUB_REPO_URL } from "./index-BLAboPd2.js";
|
|
2
|
+
import { _ as __unplugin_components_0, I as InlineTextEdit, W as WorkflowActivator } from "./WorkflowActivator-BDLto9c0.js";
|
|
3
|
+
import { _ as _sfc_main$c } from "./PushConnectionTracker.vue_vue_type_script_setup_true_lang-BNtCDFSj.js";
|
|
4
|
+
import { u as useBeforeUnload } from "./useBeforeUnload-DbfysOS-.js";
|
|
5
|
+
import { F as FileSaver_minExports } from "./FileSaver.min-CcnqpaV-.js";
|
|
6
|
+
import { u as usePushConnection } from "./usePushConnection-x0iF1Axz.js";
|
|
7
|
+
import "./useWorkflowActivate-CvmIpy5T.js";
|
|
8
|
+
import "./global-link-actions-COf-9vBh.js";
|
|
9
|
+
import "./easyAiWorkflowUtils-BWgfZ0am.js";
|
|
10
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
11
11
|
__name: "TabBar",
|
|
12
12
|
props: {
|
|
13
13
|
items: {},
|
|
@@ -44,11 +44,11 @@ const style0$3 = {
|
|
|
44
44
|
const cssModules$4 = {
|
|
45
45
|
"$style": style0$3
|
|
46
46
|
};
|
|
47
|
-
const TabBar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
48
|
-
const _hoisted_1$
|
|
47
|
+
const TabBar = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__cssModules", cssModules$4]]);
|
|
48
|
+
const _hoisted_1$3 = ["title", "data-test-id"];
|
|
49
49
|
const DEFAULT_WORKFLOW_NAME_LIMIT = 25;
|
|
50
50
|
const WORKFLOW_NAME_END_COUNT_TO_KEEP = 4;
|
|
51
|
-
const _sfc_main$
|
|
51
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
52
52
|
__name: "ShortenName",
|
|
53
53
|
props: {
|
|
54
54
|
name: {},
|
|
@@ -66,11 +66,11 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
66
66
|
"data-test-id": _ctx.testId
|
|
67
67
|
}, [
|
|
68
68
|
renderSlot(_ctx.$slots, "default", { shortenedName: shortenedName.value })
|
|
69
|
-
], 8, _hoisted_1$
|
|
69
|
+
], 8, _hoisted_1$3);
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
72
|
});
|
|
73
|
-
const _sfc_main$
|
|
73
|
+
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
74
74
|
__name: "IntersectionObserver",
|
|
75
75
|
props: {
|
|
76
76
|
threshold: { default: 0 },
|
|
@@ -125,7 +125,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
125
125
|
};
|
|
126
126
|
}
|
|
127
127
|
});
|
|
128
|
-
const _sfc_main$
|
|
128
|
+
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
129
129
|
__name: "IntersectionObserved",
|
|
130
130
|
props: {
|
|
131
131
|
enabled: { type: Boolean, default: false },
|
|
@@ -156,9 +156,9 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
156
156
|
};
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
|
-
const _hoisted_1$
|
|
159
|
+
const _hoisted_1$2 = { class: "tags" };
|
|
160
160
|
const _hoisted_2$2 = ["onClick"];
|
|
161
|
-
const _sfc_main$
|
|
161
|
+
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
162
162
|
__name: "TagsContainer",
|
|
163
163
|
props: {
|
|
164
164
|
tagIds: {},
|
|
@@ -242,7 +242,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
242
242
|
});
|
|
243
243
|
return (_ctx, _cache) => {
|
|
244
244
|
const _component_el_tag = resolveComponent("el-tag");
|
|
245
|
-
return openBlock(), createBlock(_sfc_main$
|
|
245
|
+
return openBlock(), createBlock(_sfc_main$8, {
|
|
246
246
|
ref_key: "tagsContainer",
|
|
247
247
|
ref: tagsContainer,
|
|
248
248
|
threshold: 1,
|
|
@@ -253,7 +253,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
253
253
|
onObserved
|
|
254
254
|
}, {
|
|
255
255
|
default: withCtx(() => [
|
|
256
|
-
createBaseVNode("span", _hoisted_1$
|
|
256
|
+
createBaseVNode("span", _hoisted_1$2, [
|
|
257
257
|
(openBlock(true), createElementBlock(Fragment, null, renderList(tags.value, (tag) => {
|
|
258
258
|
return openBlock(), createElementBlock("span", {
|
|
259
259
|
key: tag.id,
|
|
@@ -272,7 +272,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
272
272
|
createTextVNode(toDisplayString(tag.name), 1)
|
|
273
273
|
]),
|
|
274
274
|
_: 2
|
|
275
|
-
}, 1032, ["title"])) : (openBlock(), createBlock(_sfc_main$
|
|
275
|
+
}, 1032, ["title"])) : (openBlock(), createBlock(_sfc_main$7, {
|
|
276
276
|
key: 1,
|
|
277
277
|
class: normalizeClass({ hideTag: tag.hidden }),
|
|
278
278
|
"data-id": tag.id,
|
|
@@ -304,8 +304,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
304
304
|
};
|
|
305
305
|
}
|
|
306
306
|
});
|
|
307
|
-
const TagsContainer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
308
|
-
const _sfc_main$
|
|
307
|
+
const TagsContainer = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-9f29f608"]]);
|
|
308
|
+
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
309
309
|
__name: "WorkflowTagsContainer",
|
|
310
310
|
props: {
|
|
311
311
|
tagIds: {},
|
|
@@ -335,225 +335,6 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
335
335
|
};
|
|
336
336
|
}
|
|
337
337
|
});
|
|
338
|
-
const _hoisted_1$5 = ["data-value"];
|
|
339
|
-
const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
340
|
-
__name: "ExpandableInputBase",
|
|
341
|
-
props: {
|
|
342
|
-
modelValue: {},
|
|
343
|
-
placeholder: { default: "" },
|
|
344
|
-
staticSize: { type: Boolean, default: false }
|
|
345
|
-
},
|
|
346
|
-
setup(__props) {
|
|
347
|
-
const props = __props;
|
|
348
|
-
const hiddenValue = computed(() => {
|
|
349
|
-
let value = props.modelValue.replace(/\s/g, ".");
|
|
350
|
-
if (!value) {
|
|
351
|
-
value = props.placeholder;
|
|
352
|
-
}
|
|
353
|
-
return `${value}`;
|
|
354
|
-
});
|
|
355
|
-
return (_ctx, _cache) => {
|
|
356
|
-
return openBlock(), createElementBlock("div", {
|
|
357
|
-
class: normalizeClass({ "el-input": true, "static-size": _ctx.staticSize }),
|
|
358
|
-
"data-value": hiddenValue.value
|
|
359
|
-
}, [
|
|
360
|
-
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
361
|
-
], 10, _hoisted_1$5);
|
|
362
|
-
};
|
|
363
|
-
}
|
|
364
|
-
});
|
|
365
|
-
const ExpandableInputBase = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-b6416d9d"]]);
|
|
366
|
-
const _hoisted_1$4 = ["value", "placeholder", "maxlength"];
|
|
367
|
-
const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
368
|
-
__name: "ExpandableInputEdit",
|
|
369
|
-
props: {
|
|
370
|
-
modelValue: {},
|
|
371
|
-
placeholder: {},
|
|
372
|
-
maxlength: {},
|
|
373
|
-
autofocus: { type: Boolean },
|
|
374
|
-
eventBus: {}
|
|
375
|
-
},
|
|
376
|
-
emits: ["update:model-value", "enter", "blur", "esc"],
|
|
377
|
-
setup(__props, { emit: __emit }) {
|
|
378
|
-
const props = __props;
|
|
379
|
-
const emit = __emit;
|
|
380
|
-
const inputRef = ref();
|
|
381
|
-
onMounted(() => {
|
|
382
|
-
if (props.autofocus && inputRef.value) {
|
|
383
|
-
focus();
|
|
384
|
-
}
|
|
385
|
-
props.eventBus?.on("focus", focus);
|
|
386
|
-
});
|
|
387
|
-
onBeforeUnmount(() => {
|
|
388
|
-
props.eventBus?.off("focus", focus);
|
|
389
|
-
});
|
|
390
|
-
function focus() {
|
|
391
|
-
if (inputRef.value) {
|
|
392
|
-
inputRef.value.focus();
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
function onInput() {
|
|
396
|
-
if (inputRef.value) {
|
|
397
|
-
emit("update:model-value", inputRef.value.value);
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
function onEnter() {
|
|
401
|
-
if (inputRef.value) {
|
|
402
|
-
emit("enter", inputRef.value.value);
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
onClickOutside(inputRef, () => {
|
|
406
|
-
if (inputRef.value) {
|
|
407
|
-
emit("blur", inputRef.value.value);
|
|
408
|
-
}
|
|
409
|
-
});
|
|
410
|
-
function onEscape() {
|
|
411
|
-
emit("esc");
|
|
412
|
-
}
|
|
413
|
-
return (_ctx, _cache) => {
|
|
414
|
-
return openBlock(), createBlock(ExpandableInputBase, {
|
|
415
|
-
"model-value": _ctx.modelValue,
|
|
416
|
-
placeholder: _ctx.placeholder
|
|
417
|
-
}, {
|
|
418
|
-
default: withCtx(() => [
|
|
419
|
-
createBaseVNode("input", {
|
|
420
|
-
ref_key: "inputRef",
|
|
421
|
-
ref: inputRef,
|
|
422
|
-
class: "el-input__inner",
|
|
423
|
-
value: _ctx.modelValue,
|
|
424
|
-
placeholder: _ctx.placeholder,
|
|
425
|
-
maxlength: _ctx.maxlength,
|
|
426
|
-
size: "4",
|
|
427
|
-
onInput,
|
|
428
|
-
onKeydown: [
|
|
429
|
-
withKeys(onEnter, ["enter"]),
|
|
430
|
-
withKeys(onEscape, ["esc"])
|
|
431
|
-
]
|
|
432
|
-
}, null, 40, _hoisted_1$4)
|
|
433
|
-
]),
|
|
434
|
-
_: 1
|
|
435
|
-
}, 8, ["model-value", "placeholder"]);
|
|
436
|
-
};
|
|
437
|
-
}
|
|
438
|
-
});
|
|
439
|
-
const _hoisted_1$3 = ["value"];
|
|
440
|
-
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
441
|
-
__name: "ExpandableInputPreview",
|
|
442
|
-
props: {
|
|
443
|
-
modelValue: {}
|
|
444
|
-
},
|
|
445
|
-
setup(__props) {
|
|
446
|
-
return (_ctx, _cache) => {
|
|
447
|
-
return openBlock(), createBlock(ExpandableInputBase, {
|
|
448
|
-
"model-value": _ctx.modelValue,
|
|
449
|
-
"static-size": true
|
|
450
|
-
}, {
|
|
451
|
-
default: withCtx(() => [
|
|
452
|
-
createBaseVNode("input", {
|
|
453
|
-
class: normalizeClass({ "el-input__inner": true, clickable: true }),
|
|
454
|
-
value: _ctx.modelValue,
|
|
455
|
-
disabled: true,
|
|
456
|
-
size: "4"
|
|
457
|
-
}, null, 8, _hoisted_1$3)
|
|
458
|
-
]),
|
|
459
|
-
_: 1
|
|
460
|
-
}, 8, ["model-value"]);
|
|
461
|
-
};
|
|
462
|
-
}
|
|
463
|
-
});
|
|
464
|
-
const ExpandableInputPreview = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-87c6f53b"]]);
|
|
465
|
-
const _hoisted_1$2 = { key: 0 };
|
|
466
|
-
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
467
|
-
__name: "InlineTextEdit",
|
|
468
|
-
props: {
|
|
469
|
-
isEditEnabled: { type: Boolean, default: false },
|
|
470
|
-
modelValue: { default: "" },
|
|
471
|
-
placeholder: { default: "" },
|
|
472
|
-
maxLength: { default: 0 },
|
|
473
|
-
previewValue: { default: "" },
|
|
474
|
-
disabled: { type: Boolean, default: false }
|
|
475
|
-
},
|
|
476
|
-
emits: ["toggle", "submit"],
|
|
477
|
-
setup(__props, { emit: __emit }) {
|
|
478
|
-
const props = __props;
|
|
479
|
-
const emit = __emit;
|
|
480
|
-
const isDisabled = ref(props.disabled);
|
|
481
|
-
const newValue = ref("");
|
|
482
|
-
const escPressed = ref(false);
|
|
483
|
-
const inputBus = ref(createEventBus());
|
|
484
|
-
watch(
|
|
485
|
-
() => props.disabled,
|
|
486
|
-
(value) => {
|
|
487
|
-
isDisabled.value = value;
|
|
488
|
-
}
|
|
489
|
-
);
|
|
490
|
-
function onInput(val) {
|
|
491
|
-
if (isDisabled.value) return;
|
|
492
|
-
newValue.value = val;
|
|
493
|
-
}
|
|
494
|
-
function onClick() {
|
|
495
|
-
if (isDisabled.value) return;
|
|
496
|
-
newValue.value = props.modelValue;
|
|
497
|
-
emit("toggle");
|
|
498
|
-
}
|
|
499
|
-
function onBlur() {
|
|
500
|
-
if (isDisabled.value) return;
|
|
501
|
-
if (!escPressed.value) {
|
|
502
|
-
submit();
|
|
503
|
-
}
|
|
504
|
-
escPressed.value = false;
|
|
505
|
-
}
|
|
506
|
-
function submit() {
|
|
507
|
-
if (isDisabled.value) return;
|
|
508
|
-
const onSubmit = (updated) => {
|
|
509
|
-
isDisabled.value = false;
|
|
510
|
-
if (!updated) {
|
|
511
|
-
inputBus.value.emit("focus");
|
|
512
|
-
}
|
|
513
|
-
};
|
|
514
|
-
isDisabled.value = true;
|
|
515
|
-
emit("submit", { name: newValue.value, onSubmit });
|
|
516
|
-
}
|
|
517
|
-
function onEscape() {
|
|
518
|
-
if (isDisabled.value) return;
|
|
519
|
-
escPressed.value = true;
|
|
520
|
-
emit("toggle");
|
|
521
|
-
}
|
|
522
|
-
return (_ctx, _cache) => {
|
|
523
|
-
return openBlock(), createElementBlock("span", {
|
|
524
|
-
class: "inline-edit",
|
|
525
|
-
onKeydown: _cache[1] || (_cache[1] = withModifiers(() => {
|
|
526
|
-
}, ["stop"]))
|
|
527
|
-
}, [
|
|
528
|
-
_ctx.isEditEnabled && !isDisabled.value ? (openBlock(), createElementBlock("span", _hoisted_1$2, [
|
|
529
|
-
createVNode(_sfc_main$7, {
|
|
530
|
-
modelValue: newValue.value,
|
|
531
|
-
"onUpdate:modelValue": [
|
|
532
|
-
_cache[0] || (_cache[0] = ($event) => newValue.value = $event),
|
|
533
|
-
onInput
|
|
534
|
-
],
|
|
535
|
-
placeholder: _ctx.placeholder,
|
|
536
|
-
maxlength: _ctx.maxLength,
|
|
537
|
-
autofocus: true,
|
|
538
|
-
"event-bus": inputBus.value,
|
|
539
|
-
onEsc: onEscape,
|
|
540
|
-
onBlur,
|
|
541
|
-
onEnter: submit
|
|
542
|
-
}, null, 8, ["modelValue", "placeholder", "maxlength", "event-bus"])
|
|
543
|
-
])) : (openBlock(), createElementBlock("span", {
|
|
544
|
-
key: 1,
|
|
545
|
-
class: "preview",
|
|
546
|
-
onClick
|
|
547
|
-
}, [
|
|
548
|
-
createVNode(ExpandableInputPreview, {
|
|
549
|
-
"model-value": _ctx.previewValue || _ctx.modelValue
|
|
550
|
-
}, null, 8, ["model-value"])
|
|
551
|
-
]))
|
|
552
|
-
], 32);
|
|
553
|
-
};
|
|
554
|
-
}
|
|
555
|
-
});
|
|
556
|
-
const InlineTextEdit = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-746f09e1"]]);
|
|
557
338
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
558
339
|
__name: "BreakpointsObserver",
|
|
559
340
|
props: {
|
|
@@ -849,7 +630,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
849
630
|
name: {},
|
|
850
631
|
meta: {},
|
|
851
632
|
scopes: {},
|
|
852
|
-
active: { type: Boolean }
|
|
633
|
+
active: { type: Boolean },
|
|
634
|
+
currentFolder: {}
|
|
853
635
|
},
|
|
854
636
|
setup(__props) {
|
|
855
637
|
const props = __props;
|
|
@@ -863,6 +645,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
863
645
|
const usersStore = useUsersStore();
|
|
864
646
|
const workflowsStore = useWorkflowsStore();
|
|
865
647
|
const projectsStore = useProjectsStore();
|
|
648
|
+
const foldersStore = useFoldersStore();
|
|
866
649
|
const npsSurveyStore = useNpsSurveyStore();
|
|
867
650
|
const i18n = useI18n();
|
|
868
651
|
const router = useRouter();
|
|
@@ -911,6 +694,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
911
694
|
id: WORKFLOW_MENU_ACTIONS.DOWNLOAD,
|
|
912
695
|
label: locale.baseText("menuActions.download"),
|
|
913
696
|
disabled: !onWorkflowPage.value
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
id: WORKFLOW_MENU_ACTIONS.RENAME,
|
|
700
|
+
label: locale.baseText("generic.rename"),
|
|
701
|
+
disabled: !onWorkflowPage.value || workflowPermissions.value.update !== true
|
|
914
702
|
}
|
|
915
703
|
];
|
|
916
704
|
if (workflowPermissions.value.delete && !props.readOnly || isNewWorkflow.value) {
|
|
@@ -961,22 +749,22 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
961
749
|
const workflowTagIds = computed(() => {
|
|
962
750
|
return (props.tags ?? []).map((tag) => typeof tag === "string" ? tag : tag.id);
|
|
963
751
|
});
|
|
964
|
-
const currentFolder = computed(() => {
|
|
965
|
-
if (props.id === PLACEHOLDER_EMPTY_WORKFLOW_ID) {
|
|
966
|
-
return void 0;
|
|
967
|
-
}
|
|
968
|
-
const workflow = workflowsStore.getWorkflowById(props.id);
|
|
969
|
-
if (!workflow) {
|
|
970
|
-
return void 0;
|
|
971
|
-
}
|
|
972
|
-
return workflow.parentFolder;
|
|
973
|
-
});
|
|
974
752
|
const currentProjectName = computed(() => {
|
|
975
753
|
if (projectsStore.currentProject?.type === ProjectTypes.Personal) {
|
|
976
754
|
return locale.baseText("projects.menu.personal");
|
|
977
755
|
}
|
|
978
756
|
return projectsStore.currentProject?.name;
|
|
979
757
|
});
|
|
758
|
+
const currentFolderForBreadcrumbs = computed(() => {
|
|
759
|
+
if (!isNewWorkflow.value && props.currentFolder) {
|
|
760
|
+
return props.currentFolder;
|
|
761
|
+
}
|
|
762
|
+
const folderId = route.query.parentFolderId;
|
|
763
|
+
if (folderId) {
|
|
764
|
+
return foldersStore.getCachedFolder(folderId);
|
|
765
|
+
}
|
|
766
|
+
return null;
|
|
767
|
+
});
|
|
980
768
|
watch(
|
|
981
769
|
() => props.id,
|
|
982
770
|
() => {
|
|
@@ -1075,8 +863,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1075
863
|
const newName = name.trim();
|
|
1076
864
|
if (!newName) {
|
|
1077
865
|
toast.showMessage({
|
|
1078
|
-
title: locale.baseText("
|
|
1079
|
-
message: locale.baseText("
|
|
866
|
+
title: locale.baseText("renameAction.emptyName.title"),
|
|
867
|
+
message: locale.baseText("renameAction.emptyName.message"),
|
|
1080
868
|
type: "error"
|
|
1081
869
|
});
|
|
1082
870
|
onSubmit(false);
|
|
@@ -1130,11 +918,16 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1130
918
|
data: {
|
|
1131
919
|
id: props.id,
|
|
1132
920
|
name: props.name,
|
|
1133
|
-
tags: props.tags
|
|
921
|
+
tags: props.tags,
|
|
922
|
+
parentFolderId: props.currentFolder?.id
|
|
1134
923
|
}
|
|
1135
924
|
});
|
|
1136
925
|
break;
|
|
1137
926
|
}
|
|
927
|
+
case WORKFLOW_MENU_ACTIONS.RENAME: {
|
|
928
|
+
onNameToggle();
|
|
929
|
+
break;
|
|
930
|
+
}
|
|
1138
931
|
case WORKFLOW_MENU_ACTIONS.DOWNLOAD: {
|
|
1139
932
|
const workflowData = await workflowHelpers.getWorkflowDataToSave();
|
|
1140
933
|
const { tags, ...data } = workflowData;
|
|
@@ -1259,11 +1052,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1259
1052
|
let toastTitle = locale.baseText("workflows.create.personal.toast.title");
|
|
1260
1053
|
let toastText = locale.baseText("workflows.create.personal.toast.text");
|
|
1261
1054
|
if (projectsStore.currentProject) {
|
|
1262
|
-
if (currentFolder
|
|
1055
|
+
if (props.currentFolder) {
|
|
1263
1056
|
toastTitle = locale.baseText("workflows.create.folder.toast.title", {
|
|
1264
1057
|
interpolate: {
|
|
1265
1058
|
projectName: currentProjectName.value ?? "",
|
|
1266
|
-
folderName: currentFolder.
|
|
1059
|
+
folderName: props.currentFolder.name ?? ""
|
|
1267
1060
|
}
|
|
1268
1061
|
});
|
|
1269
1062
|
} else if (projectsStore.currentProject.id !== projectsStore.personalProject?.id) {
|
|
@@ -1282,7 +1075,15 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1282
1075
|
});
|
|
1283
1076
|
}
|
|
1284
1077
|
}
|
|
1078
|
+
const onBreadcrumbsItemSelected = (item) => {
|
|
1079
|
+
if (item.href) {
|
|
1080
|
+
void router.push(item.href).catch((error) => {
|
|
1081
|
+
toast.showError(error, i18n.baseText("folders.open.error.title"));
|
|
1082
|
+
});
|
|
1083
|
+
}
|
|
1084
|
+
};
|
|
1285
1085
|
return (_ctx, _cache) => {
|
|
1086
|
+
const _component_FolderBreadcrumbs = __unplugin_components_0;
|
|
1286
1087
|
const _component_N8nButton = resolveComponent("N8nButton");
|
|
1287
1088
|
const _component_i18n_t = resolveComponent("i18n-t");
|
|
1288
1089
|
const _component_N8nTooltip = resolveComponent("N8nTooltip");
|
|
@@ -1295,35 +1096,49 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1295
1096
|
"value-x-s": 15,
|
|
1296
1097
|
"value-s-m": 25,
|
|
1297
1098
|
"value-m-d": 50,
|
|
1298
|
-
class: "name-container"
|
|
1099
|
+
class: "name-container",
|
|
1100
|
+
"data-test-id": "canvas-breadcrumbs"
|
|
1299
1101
|
}, {
|
|
1300
1102
|
default: withCtx(({ value }) => [
|
|
1301
|
-
createVNode(
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
"test-id": "workflow-name-input"
|
|
1103
|
+
createVNode(_component_FolderBreadcrumbs, {
|
|
1104
|
+
"current-folder": currentFolderForBreadcrumbs.value,
|
|
1105
|
+
"current-folder-as-link": true,
|
|
1106
|
+
onItemSelected: onBreadcrumbsItemSelected
|
|
1306
1107
|
}, {
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
"
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1108
|
+
append: withCtx(() => [
|
|
1109
|
+
unref(projectsStore).currentProject ? (openBlock(), createElementBlock("span", {
|
|
1110
|
+
key: 0,
|
|
1111
|
+
class: normalizeClass(unref($style)["path-separator"])
|
|
1112
|
+
}, "/", 2)) : createCommentVNode("", true),
|
|
1113
|
+
createVNode(_sfc_main$9, {
|
|
1114
|
+
name: _ctx.name,
|
|
1115
|
+
limit: value,
|
|
1116
|
+
custom: true,
|
|
1117
|
+
"test-id": "workflow-name-input"
|
|
1118
|
+
}, {
|
|
1119
|
+
default: withCtx(({ shortenedName }) => [
|
|
1120
|
+
createVNode(InlineTextEdit, {
|
|
1121
|
+
"model-value": _ctx.name,
|
|
1122
|
+
"preview-value": shortenedName,
|
|
1123
|
+
"is-edit-enabled": isNameEditEnabled.value,
|
|
1124
|
+
"max-length": unref(MAX_WORKFLOW_NAME_LENGTH),
|
|
1125
|
+
disabled: _ctx.readOnly || !isNewWorkflow.value && !workflowPermissions.value.update,
|
|
1126
|
+
placeholder: "Enter workflow name",
|
|
1127
|
+
class: "name",
|
|
1128
|
+
onToggle: onNameToggle,
|
|
1129
|
+
onSubmit: onNameSubmit
|
|
1130
|
+
}, null, 8, ["model-value", "preview-value", "is-edit-enabled", "max-length", "disabled"])
|
|
1131
|
+
]),
|
|
1132
|
+
_: 2
|
|
1133
|
+
}, 1032, ["name", "limit"])
|
|
1319
1134
|
]),
|
|
1320
1135
|
_: 2
|
|
1321
|
-
}, 1032, ["
|
|
1136
|
+
}, 1032, ["current-folder"])
|
|
1322
1137
|
]),
|
|
1323
1138
|
_: 1
|
|
1324
1139
|
}),
|
|
1325
1140
|
unref(settingsStore).areTagsEnabled ? (openBlock(), createElementBlock("span", _hoisted_1, [
|
|
1326
|
-
isTagsEditEnabled.value && !_ctx.readOnly && (isNewWorkflow.value || workflowPermissions.value.update) ? (openBlock(), createBlock(_sfc_main$
|
|
1141
|
+
isTagsEditEnabled.value && !_ctx.readOnly && (isNewWorkflow.value || workflowPermissions.value.update) ? (openBlock(), createBlock(_sfc_main$b, {
|
|
1327
1142
|
key: 0,
|
|
1328
1143
|
ref: "dropdown",
|
|
1329
1144
|
modelValue: appliedTagIds.value,
|
|
@@ -1340,7 +1155,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1340
1155
|
"data-test-id": "new-tag-link",
|
|
1341
1156
|
onClick: onTagsEditEnable
|
|
1342
1157
|
}, " + " + toDisplayString(unref(i18n).baseText("workflowDetails.addTag")), 1)
|
|
1343
|
-
])) : (openBlock(), createBlock(_sfc_main$
|
|
1158
|
+
])) : (openBlock(), createBlock(_sfc_main$5, {
|
|
1344
1159
|
key: _ctx.id,
|
|
1345
1160
|
"tag-ids": workflowTagIds.value,
|
|
1346
1161
|
clickable: true,
|
|
@@ -1349,7 +1164,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1349
1164
|
onClick: onTagsEditEnable
|
|
1350
1165
|
}, null, 8, ["tag-ids"]))
|
|
1351
1166
|
])) : (openBlock(), createElementBlock("span", _hoisted_3)),
|
|
1352
|
-
createVNode(_sfc_main$
|
|
1167
|
+
createVNode(_sfc_main$c, { class: "actions" }, {
|
|
1353
1168
|
default: withCtx(() => [
|
|
1354
1169
|
createBaseVNode("span", {
|
|
1355
1170
|
class: normalizeClass(`activator ${unref($style).group}`)
|
|
@@ -1455,14 +1270,15 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1455
1270
|
};
|
|
1456
1271
|
}
|
|
1457
1272
|
});
|
|
1458
|
-
const container$1 = "
|
|
1459
|
-
const group = "
|
|
1460
|
-
const hiddenInput = "
|
|
1461
|
-
const deleteItem = "
|
|
1462
|
-
const disabledShareButton = "
|
|
1463
|
-
const closeNodeViewDiscovery = "
|
|
1273
|
+
const container$1 = "_container_l9ipp_123";
|
|
1274
|
+
const group = "_group_l9ipp_138";
|
|
1275
|
+
const hiddenInput = "_hiddenInput_l9ipp_143";
|
|
1276
|
+
const deleteItem = "_deleteItem_l9ipp_147";
|
|
1277
|
+
const disabledShareButton = "_disabledShareButton_l9ipp_151";
|
|
1278
|
+
const closeNodeViewDiscovery = "_closeNodeViewDiscovery_l9ipp_155";
|
|
1464
1279
|
const style1 = {
|
|
1465
1280
|
container: container$1,
|
|
1281
|
+
"path-separator": "_path-separator_l9ipp_132",
|
|
1466
1282
|
group,
|
|
1467
1283
|
hiddenInput,
|
|
1468
1284
|
deleteItem,
|
|
@@ -1472,7 +1288,7 @@ const style1 = {
|
|
|
1472
1288
|
const cssModules$1 = {
|
|
1473
1289
|
"$style": style1
|
|
1474
1290
|
};
|
|
1475
|
-
const WorkflowDetails = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__cssModules", cssModules$1], ["__scopeId", "data-v-
|
|
1291
|
+
const WorkflowDetails = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__cssModules", cssModules$1], ["__scopeId", "data-v-7ec35e38"]]);
|
|
1476
1292
|
const GithubButton = defineComponent({
|
|
1477
1293
|
name: "github-button",
|
|
1478
1294
|
props: {
|
|
@@ -1600,6 +1416,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1600
1416
|
const showGitHubButton = computed(
|
|
1601
1417
|
() => !isEnterprise.value && !settingsStore.settings.inE2ETests && !githubButtonHidden.value
|
|
1602
1418
|
);
|
|
1419
|
+
const parentFolderForBreadcrumbs = computed(() => {
|
|
1420
|
+
if (!workflow.value.parentFolder) {
|
|
1421
|
+
return void 0;
|
|
1422
|
+
}
|
|
1423
|
+
return {
|
|
1424
|
+
id: workflow.value.parentFolder.id,
|
|
1425
|
+
name: workflow.value.parentFolder.name,
|
|
1426
|
+
parentFolder: workflow.value.parentFolder.parentFolderId ?? void 0
|
|
1427
|
+
};
|
|
1428
|
+
});
|
|
1603
1429
|
watch(route, (to, from) => {
|
|
1604
1430
|
syncTabsWithRoute(to, from);
|
|
1605
1431
|
});
|
|
@@ -1713,8 +1539,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1713
1539
|
meta: workflow.value.meta,
|
|
1714
1540
|
scopes: workflow.value.scopes,
|
|
1715
1541
|
active: workflow.value.active,
|
|
1716
|
-
"read-only": readOnly.value
|
|
1717
|
-
|
|
1542
|
+
"read-only": readOnly.value,
|
|
1543
|
+
"current-folder": parentFolderForBreadcrumbs.value
|
|
1544
|
+
}, null, 8, ["id", "tags", "name", "meta", "scopes", "active", "read-only", "current-folder"])) : createCommentVNode("", true),
|
|
1718
1545
|
showGitHubButton.value ? (openBlock(), createElementBlock("div", {
|
|
1719
1546
|
key: 1,
|
|
1720
1547
|
class: normalizeClass([_ctx.$style["github-button"], "hidden-sm-and-down"])
|
|
@@ -1756,14 +1583,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1756
1583
|
};
|
|
1757
1584
|
}
|
|
1758
1585
|
});
|
|
1759
|
-
const container = "
|
|
1586
|
+
const container = "_container_hdyww_123";
|
|
1760
1587
|
const style0 = {
|
|
1761
1588
|
container,
|
|
1762
|
-
"main-header": "_main-
|
|
1763
|
-
"top-menu": "_top-
|
|
1764
|
-
"github-button": "_github-
|
|
1765
|
-
"close-github-button": "_close-github-
|
|
1766
|
-
"github-button-container": "_github-button-
|
|
1589
|
+
"main-header": "_main-header_hdyww_130",
|
|
1590
|
+
"top-menu": "_top-menu_hdyww_138",
|
|
1591
|
+
"github-button": "_github-button_hdyww_149",
|
|
1592
|
+
"close-github-button": "_close-github-button_hdyww_158",
|
|
1593
|
+
"github-button-container": "_github-button-container_hdyww_173"
|
|
1767
1594
|
};
|
|
1768
1595
|
const cssModules = {
|
|
1769
1596
|
"$style": style0
|