n8n-editor-ui 1.68.0 → 1.69.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-RSY0bJ42.js +57 -0
- package/dist/assets/{AuthView-C7b2xzS9.js → AuthView-CrxWnr-e.js} +1 -1
- package/dist/assets/{CanvasChat-QctJb8ta.js → CanvasChat-D1ZEiEqI.js} +3 -2
- package/dist/assets/{CanvasControls-raoYims4.js → CanvasControls-C-GYIweg.js} +6 -5
- package/dist/assets/{ChangePasswordView-BBju88Nm.js → ChangePasswordView-BcJsOCsw.js} +2 -2
- package/dist/assets/CollectionParameter-BCa4NW-h.js +4 -0
- package/dist/assets/{CredentialsView-BfYXjOVw.js → CredentialsView-C0lKel2q.js} +11 -26
- package/dist/assets/{ErrorView-BhPrjw7c.js → ErrorView-4g2OU1Dw.js} +5 -4
- package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-Ba-at9rw.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-Ce7AgzqR.js} +2 -2
- package/dist/assets/{ExecutionsView-Dcw07XZ-.js → ExecutionsView-BjrC38YB.js} +7 -11
- package/dist/assets/{FileSaver.min-CKlTVpWB.js → FileSaver.min-Kzijnshy.js} +1 -1
- package/dist/assets/{FixedCollectionParameter-CkI6mCZG.js → FixedCollectionParameter-BlCn1bdn.js} +1 -1
- package/dist/assets/{ForgotMyPasswordView--eKPrTSW.js → ForgotMyPasswordView-DM0y4hNn.js} +2 -2
- package/dist/assets/{MainHeader-DJdd17Nh.css → MainHeader-CgL_r4xK.css} +53 -24
- package/dist/assets/{MainHeader-Btek9DoL.js → MainHeader-D1PkO9vp.js} +67 -41
- package/dist/assets/{MainSidebar-CRjg4yDv.js → MainSidebar-CGlOacQQ.js} +63 -127
- package/dist/assets/{MainSidebar-BRYJRpOA.css → MainSidebar-DL53w2zU.css} +37 -21
- package/dist/assets/{NodeCreation-CDpNw3BL.js → NodeCreation-yT3JgYis.js} +7 -6
- package/dist/assets/{NodeCreator-DPpQXLHf.js → NodeCreator-CeYHZgYz.js} +22 -21
- package/dist/assets/{NodeViewSwitcher-CNfOOUof.js → NodeViewSwitcher-DJ9GWTwy.js} +592 -370
- package/dist/assets/{NodeViewSwitcher-DuVIKqpm.css → NodeViewSwitcher-s2TUlOvE.css} +126 -106
- package/dist/assets/{ProjectCardBadge-DzaTsr93.js → ProjectCardBadge-dGORr1ye.js} +1 -1
- package/dist/assets/{ProjectHeader-wdvHJxbT.js → ProjectHeader-CFoxyI0_.js} +58 -38
- package/dist/assets/{ProjectHeader-09VQWBZH.css → ProjectHeader-CTK_rV3h.css} +13 -6
- package/dist/assets/{ProjectSettings-B6j0VJK5.js → ProjectSettings-Bgl_JGoT.js} +24 -23
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-ByoMju5L.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-BabWwsdK.js} +1 -1
- package/dist/assets/{ResourcesListLayout-9Vpyt6Ec.js → ResourcesListLayout-B1KB8fTB.js} +3 -16
- package/dist/assets/{ResourcesListLayout-CuA8O7do.css → ResourcesListLayout-BuxiQpsj.css} +8 -8
- package/dist/assets/{RunDataJson-sPhT7c2h.js → RunDataJson-BQRWHoEA.js} +12 -12
- package/dist/assets/{RunDataJsonActions-DiMvLis_.js → RunDataJsonActions-BrABJ_1T.js} +3 -2
- package/dist/assets/{RunDataSearch-CF_rpBKx.js → RunDataSearch-kYhI-gst.js} +1 -1
- package/dist/assets/{RunDataTable-T52TXUHR.js → RunDataTable-BUXF-nH1.js} +144 -35
- package/dist/assets/{RunDataTable-ZwoYenSI.css → RunDataTable-enskmmU4.css} +41 -35
- package/dist/assets/{SamlOnboarding-BCn53xtf.js → SamlOnboarding-DI1aQpmq.js} +2 -2
- package/dist/assets/{SettingsApiView-DumvK072.js → SettingsApiView-DfdFSKxW.js} +1 -1
- package/dist/assets/{SettingsCommunityNodesView-Db787Jar.js → SettingsCommunityNodesView-CFGZW601.js} +3 -3
- package/dist/assets/{SettingsExternalSecrets-DKB2o2Dq.js → SettingsExternalSecrets-CzMuyldc.js} +1 -1
- package/dist/assets/{SettingsLdapView-BoKoCT5V.js → SettingsLdapView-B_aMpNa8.js} +1 -1
- package/dist/assets/{SettingsLogStreamingView-BGX39Unz.js → SettingsLogStreamingView-ByHGVzc1.js} +1 -1
- package/dist/assets/{SettingsPersonalView-fTCeSJfu.js → SettingsPersonalView-BpmD5Kqd.js} +1 -1
- package/dist/assets/{SettingsSourceControl-_G83P363.js → SettingsSourceControl-DeYPQUBX.js} +1 -1
- package/dist/assets/{SettingsSso-Bn48qAiX.js → SettingsSso-1JSXMGCZ.js} +1 -1
- package/dist/assets/{SettingsUsageAndPlan-DZkS0RP4.js → SettingsUsageAndPlan-CsUyzTgS.js} +1 -1
- package/dist/assets/{SettingsUsersView-BUh2iKEW.js → SettingsUsersView-iOvCX1d1.js} +1 -1
- package/dist/assets/{SettingsView-D_S4x7XG.js → SettingsView-WL2khukL.js} +1 -1
- package/dist/assets/{SetupView-BenKVU0l.js → SetupView-CeWIEjRa.js} +2 -2
- package/dist/assets/{SetupWorkflowCredentialsButton-DKr9ZPLE.js → SetupWorkflowCredentialsButton-CqzxyhWQ.js} +1 -1
- package/dist/assets/{SetupWorkflowFromTemplateView-Ce1R_CDh.js → SetupWorkflowFromTemplateView-HpPUcyfA.js} +3 -3
- package/dist/assets/{SigninView-xl5aJqka.js → SigninView-DuDYUyp-.js} +2 -2
- package/dist/assets/{SignoutView-Bscz6u1Y.js → SignoutView-4gm8WRHv.js} +1 -1
- package/dist/assets/{SignupView-CZN8EhJV.js → SignupView-DjY8EclM.js} +2 -2
- package/dist/assets/{TemplateDetails-BAQ3vBNJ.js → TemplateDetails-CbfdJ3Zu.js} +2 -2
- package/dist/assets/{TemplateList-DD7sqnpI.js → TemplateList-Cc_F6A58.js} +3 -2
- package/dist/assets/{TemplatesCollectionView-CG3ZoY8i.js → TemplatesCollectionView-BcZLoIe4.js} +5 -5
- package/dist/assets/{TemplatesSearchView-22jrqI8X.js → TemplatesSearchView-BMfAKWhL.js} +3 -3
- package/dist/assets/{TemplatesView-BZFc4hZ1.js → TemplatesView-BP0ATqW_.js} +3 -2
- package/dist/assets/{TemplatesWorkflowView-DkXtdhUJ.js → TemplatesWorkflowView-CPkYdvfj.js} +5 -5
- package/dist/assets/{VariablesView-DHu4ZoMN.js → VariablesView-Bxnz2qAN.js} +12 -12
- package/dist/assets/{VariablesView-BPKo50HJ.css → VariablesView-meR15bnW.css} +18 -18
- package/dist/assets/{WorkerView-BfxdQiAc.js → WorkerView-DReO6N8w.js} +11 -10
- package/dist/assets/{WorkflowActivator-CvdQVEtW.js → WorkflowActivator-B0RYBWDC.js} +2 -2
- package/dist/assets/{WorkflowExecutionsInfoAccordion-D2GFnpq1.js → WorkflowExecutionsInfoAccordion-DQl3QT6U.js} +7 -6
- package/dist/assets/{WorkflowExecutionsLandingPage-D2bvAsxg.js → WorkflowExecutionsLandingPage-B47g0omt.js} +2 -2
- package/dist/assets/{WorkflowExecutionsPreview-D6WBsbAG.js → WorkflowExecutionsPreview-3ZPhGB00.js} +12 -11
- package/dist/assets/{WorkflowExecutionsView-DI6r5OvZ.js → WorkflowExecutionsView-C2F5tFjz.js} +18 -9
- package/dist/assets/{WorkflowExecutionsView-CZKkPKqJ.css → WorkflowExecutionsView-CepgQyRt.css} +2 -2
- package/dist/assets/{WorkflowHistory-Dc1f2Tsn.js → WorkflowHistory-tThywxbZ.js} +3 -3
- package/dist/assets/{WorkflowOnboardingView-DyxvWfZ7.js → WorkflowOnboardingView-DJv_JU2k.js} +32 -1
- package/dist/assets/{WorkflowPreview-hC6wSe-Y.js → WorkflowPreview-DawY1Fi4.js} +1 -1
- package/dist/assets/{WorkflowsView-SIDgO47b.js → WorkflowsView-DA1gqPuM.js} +15 -56
- package/dist/assets/{index-40I5DMGP.js → index-BcRlEQdt.js} +1312 -1195
- package/dist/assets/{index-Dr3zFZlC.css → index-CSJeF569.css} +213 -203
- package/dist/assets/{pushConnection.store-w_WxpOeH.js → pushConnection.store-C9cp1cmF.js} +1 -1
- package/dist/assets/{templateActions-D4EHdA9n.js → templateActions-BM1BlED1.js} +1 -1
- package/dist/assets/{useBugReporting-CFOQlQpP.js → useBugReporting-D4ibEI2f.js} +1 -1
- package/dist/assets/{useExecutionDebugging-LQQWXhPj.js → useExecutionDebugging-B9k8m7iG.js} +1 -1
- package/dist/assets/useExecutionHelpers-DYE5_K78.js +113 -0
- package/dist/assets/useGlobalEntityCreation-DtWHHZf8.js +168 -0
- package/dist/assets/{useNodeViewVersionSwitcher-BLo5Qp-N.js → useNodeViewVersionSwitcher-CSLoLUvW.js} +1 -1
- package/dist/assets/{usePushConnection-B5ija5f5.js → usePushConnection-BLi9GBVo.js} +63 -111
- package/dist/assets/{useRunWorkflow-MrEKURG4.js → useRunWorkflow-DOJBXbbW.js} +68 -147
- package/dist/assets/{useWorkflowActivate-CKedJlgZ.js → useWorkflowActivate-DmBELETa.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +1 -1
- package/dist/assets/CollectionParameter-DNJAimAt.js +0 -4
- package/dist/assets/dateFormatter-BRi2wSZ-.js +0 -21
- package/dist/assets/useExecutionHelpers-CXGl_HIp.js +0 -115
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { d as defineComponent,
|
|
2
|
-
import { _ as _sfc_main$g } from "./PushConnectionTracker.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { W as WorkflowActivator } from "./WorkflowActivator-
|
|
4
|
-
import { u as useBeforeUnload, a as useNodeViewVersionSwitcher } from "./useNodeViewVersionSwitcher-
|
|
5
|
-
import { u as usePushConnectionStore } from "./pushConnection.store-
|
|
6
|
-
import { F as FileSaver_minExports } from "./FileSaver.min-
|
|
7
|
-
import { u as usePushConnection } from "./usePushConnection-
|
|
8
|
-
import "./useWorkflowActivate-
|
|
1
|
+
import { d as defineComponent, q as computed, c as openBlock, h as createElementBlock, s as renderSlot, v as shorten, r as ref, x as onBeforeUnmount, o as onMounted, y as nextTick, z as debounce, e as createBlock, w as withCtx, j as createBaseVNode, A as renderList, n as normalizeClass, k as createTextVNode, t as toDisplayString, l as unref, i as createVNode, F as Fragment, B as normalizeStyle, C as createEventBus, m as resolveComponent, _ as _export_sfc, D as useTagsStore, E as onClickOutside, G as withKeys, H as watch, I as withModifiers, J as useDebounce, K as useUIStore, L as getBannerRowHeight, N as BREAKPOINT_SM, O as BREAKPOINT_XL, P as BREAKPOINT_LG, Q as BREAKPOINT_MD, g as useI18n, V as VIEWS, R as defineStore, S as STORES, T as useWorkflowsStore, u as useUsersStore, U as useRoute, W as TIME, X as PLACEHOLDER_EMPTY_WORKFLOW_ID, Y as useDocumentVisibility, f as createCommentVNode, Z as useRootStore, $ as useCanvasStore, p as useSettingsStore, a0 as useSourceControlStore, a1 as useProjectsStore, a2 as useNpsSurveyStore, b as useRouter, a as useToast, a3 as useDocumentTitle, a4 as useWorkflowHelpers, a5 as usePageRedirectionHelper, a6 as MAX_WORKFLOW_NAME_LENGTH, a7 as _sfc_main$f, a8 as EnterpriseEditionFeature, a9 as SaveButton, aa as useCssModule, ab as WORKFLOW_SHARE_MODAL_KEY, ac as nodeViewEventBus, ad as WORKFLOW_MENU_ACTIONS, ae as MODAL_CONFIRM, af as MODAL_CLOSE, ag as WORKFLOW_SETTINGS_MODAL_KEY, ah as SOURCE_CONTROL_PUSH_MODAL_KEY, ai as VALID_WORKFLOW_IMPORT_URL_REGEX, aj as DUPLICATE_MODAL_KEY, ak as useTelemetry, al as useMessage, am as getResourcePermissions, an as hasPermission, ao as MAIN_HEADER_TABS, ap as hyphenate, aq as h, ar as hasOwn, as as __vitePreload, at as useNDVStore, au as useExecutionsStore, av as LOCAL_STORAGE_HIDE_GITHUB_STAR_BUTTON, aw as onBeforeMount, ax as withDirectives, ay as vShow, az as STICKY_NODE_TYPE } from "./index-BcRlEQdt.js";
|
|
2
|
+
import { _ as _sfc_main$g } from "./PushConnectionTracker.vue_vue_type_script_setup_true_lang-BabWwsdK.js";
|
|
3
|
+
import { W as WorkflowActivator } from "./WorkflowActivator-B0RYBWDC.js";
|
|
4
|
+
import { u as useBeforeUnload, a as useNodeViewVersionSwitcher } from "./useNodeViewVersionSwitcher-CSLoLUvW.js";
|
|
5
|
+
import { u as usePushConnectionStore } from "./pushConnection.store-C9cp1cmF.js";
|
|
6
|
+
import { F as FileSaver_minExports } from "./FileSaver.min-Kzijnshy.js";
|
|
7
|
+
import { u as usePushConnection } from "./usePushConnection-BLi9GBVo.js";
|
|
8
|
+
import "./useWorkflowActivate-DmBELETa.js";
|
|
9
9
|
const _hoisted_1$8 = ["title", "data-test-id"];
|
|
10
10
|
const DEFAULT_WORKFLOW_NAME_LIMIT = 25;
|
|
11
11
|
const WORKFLOW_NAME_END_COUNT_TO_KEEP = 4;
|
|
@@ -810,7 +810,7 @@ const _hoisted_3$1 = {
|
|
|
810
810
|
key: 1,
|
|
811
811
|
class: "tags"
|
|
812
812
|
};
|
|
813
|
-
const _hoisted_4 = { class: "mb-4xs" };
|
|
813
|
+
const _hoisted_4$1 = { class: "mb-4xs" };
|
|
814
814
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
815
815
|
__name: "WorkflowDetails",
|
|
816
816
|
props: {
|
|
@@ -835,6 +835,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
835
835
|
const workflowsStore = useWorkflowsStore();
|
|
836
836
|
const projectsStore = useProjectsStore();
|
|
837
837
|
const npsSurveyStore = useNpsSurveyStore();
|
|
838
|
+
const i18n = useI18n();
|
|
838
839
|
const router = useRouter();
|
|
839
840
|
const route = useRoute();
|
|
840
841
|
const locale = useI18n();
|
|
@@ -1328,7 +1329,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
1328
1329
|
modelValue: appliedTagIds.value,
|
|
1329
1330
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => appliedTagIds.value = $event),
|
|
1330
1331
|
"event-bus": unref(tagsEventBus),
|
|
1331
|
-
placeholder:
|
|
1332
|
+
placeholder: unref(i18n).baseText("workflowDetails.chooseOrCreateATag"),
|
|
1332
1333
|
class: "tags-edit",
|
|
1333
1334
|
"data-test-id": "workflow-tags-dropdown",
|
|
1334
1335
|
onBlur: onTagsBlur,
|
|
@@ -1338,7 +1339,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
1338
1339
|
class: "add-tag clickable",
|
|
1339
1340
|
"data-test-id": "new-tag-link",
|
|
1340
1341
|
onClick: onTagsEditEnable
|
|
1341
|
-
}, " + " + toDisplayString(
|
|
1342
|
+
}, " + " + toDisplayString(unref(i18n).baseText("workflowDetails.addTag")), 1)
|
|
1342
1343
|
])) : (openBlock(), createBlock(_sfc_main$a, {
|
|
1343
1344
|
key: _ctx.id,
|
|
1344
1345
|
"tag-ids": workflowTagIds.value,
|
|
@@ -1370,7 +1371,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
1370
1371
|
tag: "span"
|
|
1371
1372
|
}, {
|
|
1372
1373
|
action: withCtx(() => [
|
|
1373
|
-
createBaseVNode("a", { onClick: goToUpgrade }, toDisplayString(
|
|
1374
|
+
createBaseVNode("a", { onClick: goToUpgrade }, toDisplayString(unref(i18n).baseText(
|
|
1374
1375
|
unref(uiStore).contextBasedTranslationKeys.workflows.sharing.unavailable.button
|
|
1375
1376
|
)), 1)
|
|
1376
1377
|
]),
|
|
@@ -1383,7 +1384,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
1383
1384
|
class: normalizeClass(["mr-2xs", unref($style).disabledShareButton])
|
|
1384
1385
|
}, {
|
|
1385
1386
|
default: withCtx(() => [
|
|
1386
|
-
createTextVNode(toDisplayString(
|
|
1387
|
+
createTextVNode(toDisplayString(unref(i18n).baseText("workflowDetails.share")), 1)
|
|
1387
1388
|
]),
|
|
1388
1389
|
_: 1
|
|
1389
1390
|
}, 8, ["class"])
|
|
@@ -1402,7 +1403,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
1402
1403
|
onClick: onShareButtonClick
|
|
1403
1404
|
}, {
|
|
1404
1405
|
default: withCtx(() => [
|
|
1405
|
-
createTextVNode(toDisplayString(
|
|
1406
|
+
createTextVNode(toDisplayString(unref(i18n).baseText("workflowDetails.share")), 1)
|
|
1406
1407
|
]),
|
|
1407
1408
|
_: 1
|
|
1408
1409
|
})
|
|
@@ -1419,7 +1420,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
1419
1420
|
disabled: isWorkflowSaving.value || _ctx.readOnly || !isNewWorkflow.value && !workflowPermissions.value.update,
|
|
1420
1421
|
"is-saving": isWorkflowSaving.value,
|
|
1421
1422
|
"with-shortcut": !_ctx.readOnly && workflowPermissions.value.update,
|
|
1422
|
-
"shortcut-tooltip":
|
|
1423
|
+
"shortcut-tooltip": unref(i18n).baseText("saveWorkflowButton.hint"),
|
|
1423
1424
|
"data-test-id": "workflow-save-button",
|
|
1424
1425
|
onClick: onSaveButtonClick
|
|
1425
1426
|
}, null, 8, ["saved", "disabled", "is-saving", "with-shortcut", "shortcut-tooltip"]),
|
|
@@ -1443,15 +1444,15 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
1443
1444
|
}, null, 34),
|
|
1444
1445
|
createVNode(_component_N8nTooltip, { visible: unref(isNodeViewDiscoveryTooltipVisible) }, {
|
|
1445
1446
|
content: withCtx(() => [
|
|
1446
|
-
createBaseVNode("div", _hoisted_4, [
|
|
1447
|
+
createBaseVNode("div", _hoisted_4$1, [
|
|
1447
1448
|
createVNode(_component_N8nBadge, null, {
|
|
1448
1449
|
default: withCtx(() => [
|
|
1449
|
-
createTextVNode(toDisplayString(
|
|
1450
|
+
createTextVNode(toDisplayString(unref(i18n).baseText("menuActions.badge.alpha")), 1)
|
|
1450
1451
|
]),
|
|
1451
1452
|
_: 1
|
|
1452
1453
|
})
|
|
1453
1454
|
]),
|
|
1454
|
-
createTextVNode(" " + toDisplayString(
|
|
1455
|
+
createTextVNode(" " + toDisplayString(unref(i18n).baseText("menuActions.nodeViewDiscovery.tooltip")) + " ", 1),
|
|
1455
1456
|
createVNode(_component_N8nIcon, {
|
|
1456
1457
|
class: normalizeClass(unref($style).closeNodeViewDiscovery),
|
|
1457
1458
|
icon: "times-circle",
|
|
@@ -1476,12 +1477,12 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
1476
1477
|
};
|
|
1477
1478
|
}
|
|
1478
1479
|
});
|
|
1479
|
-
const container$1 = "
|
|
1480
|
-
const group = "
|
|
1481
|
-
const hiddenInput = "
|
|
1482
|
-
const deleteItem = "
|
|
1483
|
-
const disabledShareButton = "
|
|
1484
|
-
const closeNodeViewDiscovery = "
|
|
1480
|
+
const container$1 = "_container_14tqd_1";
|
|
1481
|
+
const group = "_group_14tqd_10";
|
|
1482
|
+
const hiddenInput = "_hiddenInput_14tqd_15";
|
|
1483
|
+
const deleteItem = "_deleteItem_14tqd_19";
|
|
1484
|
+
const disabledShareButton = "_disabledShareButton_14tqd_23";
|
|
1485
|
+
const closeNodeViewDiscovery = "_closeNodeViewDiscovery_14tqd_27";
|
|
1485
1486
|
const style1 = {
|
|
1486
1487
|
container: container$1,
|
|
1487
1488
|
group,
|
|
@@ -1493,7 +1494,7 @@ const style1 = {
|
|
|
1493
1494
|
const cssModules$1 = {
|
|
1494
1495
|
"$style": style1
|
|
1495
1496
|
};
|
|
1496
|
-
const WorkflowDetails = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__cssModules", cssModules$1], ["__scopeId", "data-v-
|
|
1497
|
+
const WorkflowDetails = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__cssModules", cssModules$1], ["__scopeId", "data-v-30d7525a"]]);
|
|
1497
1498
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
1498
1499
|
__name: "TabBar",
|
|
1499
1500
|
props: {
|
|
@@ -1524,7 +1525,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
1524
1525
|
};
|
|
1525
1526
|
}
|
|
1526
1527
|
});
|
|
1527
|
-
const container = "
|
|
1528
|
+
const container = "_container_1lqle_1";
|
|
1528
1529
|
const style0 = {
|
|
1529
1530
|
container
|
|
1530
1531
|
};
|
|
@@ -1601,7 +1602,11 @@ const GithubButton = defineComponent({
|
|
|
1601
1602
|
});
|
|
1602
1603
|
const _hoisted_1 = { class: "container" };
|
|
1603
1604
|
const _hoisted_2 = { class: "top-menu" };
|
|
1604
|
-
const _hoisted_3 = {
|
|
1605
|
+
const _hoisted_3 = {
|
|
1606
|
+
key: 0,
|
|
1607
|
+
class: "github-button"
|
|
1608
|
+
};
|
|
1609
|
+
const _hoisted_4 = { class: "github-button-container" };
|
|
1605
1610
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
1606
1611
|
__name: "MainHeader",
|
|
1607
1612
|
setup(__props) {
|
|
@@ -1614,10 +1619,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1614
1619
|
const sourceControlStore = useSourceControlStore();
|
|
1615
1620
|
const workflowsStore = useWorkflowsStore();
|
|
1616
1621
|
const executionsStore = useExecutionsStore();
|
|
1622
|
+
const settingsStore = useSettingsStore();
|
|
1617
1623
|
const activeHeaderTab = ref(MAIN_HEADER_TABS.WORKFLOW);
|
|
1618
1624
|
const workflowToReturnTo = ref("");
|
|
1619
1625
|
const executionToReturnTo = ref("");
|
|
1620
1626
|
const dirtyState = ref(false);
|
|
1627
|
+
const githubButtonHidden = ref(localStorage.getItem(LOCAL_STORAGE_HIDE_GITHUB_STAR_BUTTON));
|
|
1621
1628
|
const tabBarItems = computed(() => [
|
|
1622
1629
|
{ value: MAIN_HEADER_TABS.WORKFLOW, label: locale.baseText("generic.editor") },
|
|
1623
1630
|
{ value: MAIN_HEADER_TABS.EXECUTIONS, label: locale.baseText("generic.executions") }
|
|
@@ -1632,6 +1639,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1632
1639
|
);
|
|
1633
1640
|
const onWorkflowPage = computed(() => !!(route.meta.nodeView || route.meta.keepWorkflowAlive));
|
|
1634
1641
|
const readOnly = computed(() => sourceControlStore.preferences.branchReadOnly);
|
|
1642
|
+
const isEnterprise = computed(
|
|
1643
|
+
() => settingsStore.isQueueModeEnabled && settingsStore.isWorkerViewAvailable
|
|
1644
|
+
);
|
|
1645
|
+
const showGitHubButton = computed(
|
|
1646
|
+
() => !isEnterprise.value && !settingsStore.settings.inE2ETests && githubButtonHidden.value !== "true"
|
|
1647
|
+
);
|
|
1635
1648
|
watch(route, (to, from) => {
|
|
1636
1649
|
syncTabsWithRoute(to, from);
|
|
1637
1650
|
});
|
|
@@ -1711,8 +1724,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1711
1724
|
await router.push(routeToNavigateTo);
|
|
1712
1725
|
}
|
|
1713
1726
|
}
|
|
1727
|
+
function hideGithubButton() {
|
|
1728
|
+
githubButtonHidden.value = "true";
|
|
1729
|
+
localStorage.setItem(LOCAL_STORAGE_HIDE_GITHUB_STAR_BUTTON, "true");
|
|
1730
|
+
}
|
|
1714
1731
|
return (_ctx, _cache) => {
|
|
1715
1732
|
var _a;
|
|
1733
|
+
const _component_N8nIcon = resolveComponent("N8nIcon");
|
|
1716
1734
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
1717
1735
|
createBaseVNode("div", {
|
|
1718
1736
|
class: normalizeClass({ "main-header": true, expanded: !unref(uiStore).sidebarMenuCollapsed })
|
|
@@ -1738,20 +1756,28 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
1738
1756
|
"onUpdate:modelValue": onTabSelected
|
|
1739
1757
|
}, null, 8, ["items", "model-value"])) : createCommentVNode("", true)
|
|
1740
1758
|
], 2),
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1759
|
+
showGitHubButton.value ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
1760
|
+
createBaseVNode("div", _hoisted_4, [
|
|
1761
|
+
createVNode(unref(GithubButton), {
|
|
1762
|
+
href: "https://github.com/n8n-io/n8n",
|
|
1763
|
+
"data-color-scheme": unref(uiStore).appliedTheme,
|
|
1764
|
+
"data-size": "large",
|
|
1765
|
+
"data-show-count": "true",
|
|
1766
|
+
"aria-label": "Star n8n-io/n8n on GitHub"
|
|
1767
|
+
}, {
|
|
1768
|
+
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
1769
|
+
createTextVNode(" Star ")
|
|
1770
|
+
])),
|
|
1771
|
+
_: 1
|
|
1772
|
+
}, 8, ["data-color-scheme"]),
|
|
1773
|
+
createVNode(_component_N8nIcon, {
|
|
1774
|
+
class: "close-github-button",
|
|
1775
|
+
icon: "times-circle",
|
|
1776
|
+
size: "medium",
|
|
1777
|
+
onClick: hideGithubButton
|
|
1778
|
+
})
|
|
1779
|
+
])
|
|
1780
|
+
])) : createCommentVNode("", true)
|
|
1755
1781
|
]);
|
|
1756
1782
|
};
|
|
1757
1783
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { d as defineComponent,
|
|
2
|
-
import { u as useBugReporting } from "./useBugReporting-
|
|
1
|
+
import { d as defineComponent, aA as useLoadingService, K as useUIStore, a0 as useSourceControlStore, a as useToast, r as ref, q as computed, c as openBlock, h as createElementBlock, l as unref, n as normalizeClass, j as createBaseVNode, i as createVNode, k as createTextVNode, t as toDisplayString, w as withCtx, e as createBlock, f as createCommentVNode, B as normalizeStyle, g as useI18n, an as hasPermission, ah as SOURCE_CONTROL_PUSH_MODAL_KEY, y as nextTick, aB as sourceControlEventBus, aC as SOURCE_CONTROL_PULL_MODAL_KEY, m as resolveComponent, C as createEventBus, _ as _export_sfc, aD as get, R as defineStore, S as STORES, aE as useCloudPlanStore, Z as useRootStore, aF as useStorage, aG as DateTime, ak as useTelemetry, a1 as useProjectsStore, F as Fragment, A as renderList, V as VIEWS, aH as sortByProperty, p as useSettingsStore, aI as useTemplatesStore, u as useUsersStore, aJ as useVersionsStore, T as useWorkflowsStore, J as useDebounce, U as useRoute, b as useRouter, a5 as usePageRedirectionHelper, o as onMounted, x as onBeforeUnmount, E as onClickOutside, aK as N8nNavigationDropdown, aL as createSlots, aM as useExternalHooks, aN as VERSIONS_MODAL_KEY, aO as ABOUT_MODAL_KEY } from "./index-BcRlEQdt.js";
|
|
2
|
+
import { u as useBugReporting } from "./useBugReporting-D4ibEI2f.js";
|
|
3
|
+
import { u as useGlobalEntityCreation } from "./useGlobalEntityCreation-DtWHHZf8.js";
|
|
3
4
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
4
5
|
__name: "MainSidebarSourceControl",
|
|
5
6
|
props: {
|
|
@@ -339,7 +340,7 @@ const _hoisted_1$1 = {
|
|
|
339
340
|
class: "mt-m mb-m"
|
|
340
341
|
};
|
|
341
342
|
const _hoisted_2$1 = {
|
|
342
|
-
key:
|
|
343
|
+
key: 3,
|
|
343
344
|
class: "mb-m"
|
|
344
345
|
};
|
|
345
346
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
@@ -350,28 +351,16 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
350
351
|
},
|
|
351
352
|
setup(__props) {
|
|
352
353
|
const props = __props;
|
|
353
|
-
const router = useRouter();
|
|
354
354
|
const locale = useI18n();
|
|
355
|
-
const toast = useToast();
|
|
356
355
|
const projectsStore = useProjectsStore();
|
|
357
|
-
const pageRedirectionHelper = usePageRedirectionHelper();
|
|
358
|
-
const isCreatingProject = ref(false);
|
|
359
|
-
const isComponentMounted = ref(false);
|
|
360
356
|
const home = computed(() => ({
|
|
361
357
|
id: "home",
|
|
362
|
-
label: locale.baseText("projects.menu.
|
|
358
|
+
label: locale.baseText("projects.menu.overview"),
|
|
363
359
|
icon: "home",
|
|
364
360
|
route: {
|
|
365
361
|
to: { name: VIEWS.HOMEPAGE }
|
|
366
362
|
}
|
|
367
363
|
}));
|
|
368
|
-
const addProject = computed(() => ({
|
|
369
|
-
id: "addProject",
|
|
370
|
-
label: locale.baseText("projects.menu.addProject"),
|
|
371
|
-
icon: "plus",
|
|
372
|
-
disabled: !isComponentMounted.value || isCreatingProject.value || !projectsStore.canCreateProjects,
|
|
373
|
-
isLoading: isCreatingProject.value
|
|
374
|
-
}));
|
|
375
364
|
const getProjectMenuItem = (project) => ({
|
|
376
365
|
id: project.id,
|
|
377
366
|
label: project.name,
|
|
@@ -397,47 +386,16 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
397
386
|
}
|
|
398
387
|
};
|
|
399
388
|
});
|
|
400
|
-
const addProjectClicked = async () => {
|
|
401
|
-
isCreatingProject.value = true;
|
|
402
|
-
try {
|
|
403
|
-
const newProject = await projectsStore.createProject({
|
|
404
|
-
name: locale.baseText("projects.settings.newProjectName")
|
|
405
|
-
});
|
|
406
|
-
await router.push({ name: VIEWS.PROJECT_SETTINGS, params: { projectId: newProject.id } });
|
|
407
|
-
toast.showMessage({
|
|
408
|
-
title: locale.baseText("projects.settings.save.successful.title", {
|
|
409
|
-
interpolate: { projectName: newProject.name ?? "" }
|
|
410
|
-
}),
|
|
411
|
-
type: "success"
|
|
412
|
-
});
|
|
413
|
-
} catch (error) {
|
|
414
|
-
toast.showError(error, locale.baseText("projects.error.title"));
|
|
415
|
-
} finally {
|
|
416
|
-
isCreatingProject.value = false;
|
|
417
|
-
}
|
|
418
|
-
};
|
|
419
389
|
const displayProjects = computed(
|
|
420
390
|
() => sortByProperty(
|
|
421
391
|
"name",
|
|
422
392
|
projectsStore.myProjects.filter((p) => p.type === "team")
|
|
423
393
|
)
|
|
424
394
|
);
|
|
425
|
-
const canCreateProjects = computed(
|
|
426
|
-
() => projectsStore.hasPermissionToCreateProjects && projectsStore.isTeamProjectFeatureEnabled
|
|
427
|
-
);
|
|
428
|
-
const goToUpgrade = async () => {
|
|
429
|
-
await pageRedirectionHelper.goToUpgrade("rbac", "upgrade-rbac");
|
|
430
|
-
};
|
|
431
|
-
onMounted(async () => {
|
|
432
|
-
await nextTick();
|
|
433
|
-
isComponentMounted.value = true;
|
|
434
|
-
});
|
|
435
395
|
return (_ctx, _cache) => {
|
|
436
396
|
const _component_N8nMenuItem = resolveComponent("N8nMenuItem");
|
|
437
397
|
const _component_ElMenu = resolveComponent("ElMenu");
|
|
438
398
|
const _component_N8nText = resolveComponent("N8nText");
|
|
439
|
-
const _component_i18n_t = resolveComponent("i18n-t");
|
|
440
|
-
const _component_N8nTooltip = resolveComponent("N8nTooltip");
|
|
441
399
|
return openBlock(), createElementBlock("div", {
|
|
442
400
|
class: normalizeClass(_ctx.$style.projects)
|
|
443
401
|
}, [
|
|
@@ -497,51 +455,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
497
455
|
]),
|
|
498
456
|
_: 1
|
|
499
457
|
}, 8, ["collapse", "class"])) : createCommentVNode("", true),
|
|
500
|
-
canCreateProjects.value ? (openBlock(), createBlock(_component_N8nTooltip, {
|
|
501
|
-
key: 3,
|
|
502
|
-
placement: "right",
|
|
503
|
-
disabled: unref(projectsStore).canCreateProjects
|
|
504
|
-
}, {
|
|
505
|
-
content: withCtx(() => [
|
|
506
|
-
createVNode(_component_i18n_t, { keypath: "projects.create.limitReached" }, {
|
|
507
|
-
planName: withCtx(() => [
|
|
508
|
-
createTextVNode(toDisplayString(props.planName), 1)
|
|
509
|
-
]),
|
|
510
|
-
limit: withCtx(() => [
|
|
511
|
-
createTextVNode(toDisplayString(unref(locale).baseText("projects.create.limit", {
|
|
512
|
-
adjustToNumber: unref(projectsStore).teamProjectsLimit,
|
|
513
|
-
interpolate: { num: String(unref(projectsStore).teamProjectsLimit) }
|
|
514
|
-
})), 1)
|
|
515
|
-
]),
|
|
516
|
-
link: withCtx(() => [
|
|
517
|
-
createBaseVNode("a", {
|
|
518
|
-
class: normalizeClass(_ctx.$style.upgradeLink),
|
|
519
|
-
href: "#",
|
|
520
|
-
onClick: goToUpgrade
|
|
521
|
-
}, toDisplayString(unref(locale).baseText("projects.create.limitReached.link")), 3)
|
|
522
|
-
]),
|
|
523
|
-
_: 1
|
|
524
|
-
})
|
|
525
|
-
]),
|
|
526
|
-
default: withCtx(() => [
|
|
527
|
-
createVNode(_component_ElMenu, {
|
|
528
|
-
collapse: props.collapsed,
|
|
529
|
-
class: "pl-xs pr-xs mb-m"
|
|
530
|
-
}, {
|
|
531
|
-
default: withCtx(() => [
|
|
532
|
-
createVNode(_component_N8nMenuItem, {
|
|
533
|
-
item: addProject.value,
|
|
534
|
-
compact: props.collapsed,
|
|
535
|
-
"handle-select": addProjectClicked,
|
|
536
|
-
mode: "tabs",
|
|
537
|
-
"data-test-id": "add-project-menu-item"
|
|
538
|
-
}, null, 8, ["item", "compact"])
|
|
539
|
-
]),
|
|
540
|
-
_: 1
|
|
541
|
-
}, 8, ["collapse"])
|
|
542
|
-
]),
|
|
543
|
-
_: 1
|
|
544
|
-
}, 8, ["disabled"])) : createCommentVNode("", true),
|
|
545
458
|
unref(projectsStore).isTeamProjectFeatureEnabled ? (openBlock(), createElementBlock("hr", _hoisted_2$1)) : createCommentVNode("", true)
|
|
546
459
|
], 2);
|
|
547
460
|
};
|
|
@@ -562,7 +475,7 @@ const style0$1 = {
|
|
|
562
475
|
const cssModules$1 = {
|
|
563
476
|
"$style": style0$1
|
|
564
477
|
};
|
|
565
|
-
const __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__cssModules", cssModules$1], ["__scopeId", "data-v-
|
|
478
|
+
const __unplugin_components_0 = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__cssModules", cssModules$1], ["__scopeId", "data-v-6cb5f5b7"]]);
|
|
566
479
|
const _hoisted_1 = ["src"];
|
|
567
480
|
const _hoisted_2 = {
|
|
568
481
|
class: "ml-3xs",
|
|
@@ -582,7 +495,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
582
495
|
const workflowsStore = useWorkflowsStore();
|
|
583
496
|
const { callDebounced } = useDebounce();
|
|
584
497
|
const externalHooks = useExternalHooks();
|
|
585
|
-
const
|
|
498
|
+
const i18n = useI18n();
|
|
586
499
|
useRoute();
|
|
587
500
|
const router = useRouter();
|
|
588
501
|
const telemetry = useTelemetry();
|
|
@@ -594,11 +507,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
594
507
|
const userMenuItems = ref([
|
|
595
508
|
{
|
|
596
509
|
id: "settings",
|
|
597
|
-
label:
|
|
510
|
+
label: i18n.baseText("settings")
|
|
598
511
|
},
|
|
599
512
|
{
|
|
600
513
|
id: "logout",
|
|
601
|
-
label:
|
|
514
|
+
label: i18n.baseText("auth.signout")
|
|
602
515
|
}
|
|
603
516
|
]);
|
|
604
517
|
const mainMenuItems = computed(() => [
|
|
@@ -613,7 +526,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
613
526
|
// Link to in-app templates, available if custom templates are enabled
|
|
614
527
|
id: "templates",
|
|
615
528
|
icon: "box-open",
|
|
616
|
-
label:
|
|
529
|
+
label: i18n.baseText("mainSidebar.templates"),
|
|
617
530
|
position: "bottom",
|
|
618
531
|
available: settingsStore.isTemplatesEnabled && templatesStore.hasCustomTemplatesHost,
|
|
619
532
|
route: { to: { name: VIEWS.TEMPLATES } }
|
|
@@ -622,7 +535,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
622
535
|
// Link to website templates, available if custom templates are not enabled
|
|
623
536
|
id: "templates",
|
|
624
537
|
icon: "box-open",
|
|
625
|
-
label:
|
|
538
|
+
label: i18n.baseText("mainSidebar.templates"),
|
|
626
539
|
position: "bottom",
|
|
627
540
|
available: settingsStore.isTemplatesEnabled && !templatesStore.hasCustomTemplatesHost,
|
|
628
541
|
link: {
|
|
@@ -633,7 +546,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
633
546
|
{
|
|
634
547
|
id: "variables",
|
|
635
548
|
icon: "variable",
|
|
636
|
-
label:
|
|
549
|
+
label: i18n.baseText("mainSidebar.variables"),
|
|
637
550
|
customIconSize: "medium",
|
|
638
551
|
position: "bottom",
|
|
639
552
|
route: { to: { name: VIEWS.VARIABLES } }
|
|
@@ -641,13 +554,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
641
554
|
{
|
|
642
555
|
id: "help",
|
|
643
556
|
icon: "question",
|
|
644
|
-
label:
|
|
557
|
+
label: i18n.baseText("mainSidebar.help"),
|
|
645
558
|
position: "bottom",
|
|
646
559
|
children: [
|
|
647
560
|
{
|
|
648
561
|
id: "quickstart",
|
|
649
562
|
icon: "video",
|
|
650
|
-
label:
|
|
563
|
+
label: i18n.baseText("mainSidebar.helpMenuItems.quickstart"),
|
|
651
564
|
link: {
|
|
652
565
|
href: "https://www.youtube.com/watch?v=1MwSoB0gnM4",
|
|
653
566
|
target: "_blank"
|
|
@@ -656,7 +569,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
656
569
|
{
|
|
657
570
|
id: "docs",
|
|
658
571
|
icon: "book",
|
|
659
|
-
label:
|
|
572
|
+
label: i18n.baseText("mainSidebar.helpMenuItems.documentation"),
|
|
660
573
|
link: {
|
|
661
574
|
href: "https://docs.n8n.io?utm_source=n8n_app&utm_medium=app_sidebar",
|
|
662
575
|
target: "_blank"
|
|
@@ -665,7 +578,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
665
578
|
{
|
|
666
579
|
id: "forum",
|
|
667
580
|
icon: "users",
|
|
668
|
-
label:
|
|
581
|
+
label: i18n.baseText("mainSidebar.helpMenuItems.forum"),
|
|
669
582
|
link: {
|
|
670
583
|
href: "https://community.n8n.io?utm_source=n8n_app&utm_medium=app_sidebar",
|
|
671
584
|
target: "_blank"
|
|
@@ -674,7 +587,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
674
587
|
{
|
|
675
588
|
id: "examples",
|
|
676
589
|
icon: "graduation-cap",
|
|
677
|
-
label:
|
|
590
|
+
label: i18n.baseText("mainSidebar.helpMenuItems.course"),
|
|
678
591
|
link: {
|
|
679
592
|
href: "https://docs.n8n.io/courses/",
|
|
680
593
|
target: "_blank"
|
|
@@ -683,7 +596,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
683
596
|
{
|
|
684
597
|
id: "report-bug",
|
|
685
598
|
icon: "bug",
|
|
686
|
-
label:
|
|
599
|
+
label: i18n.baseText("mainSidebar.helpMenuItems.reportBug"),
|
|
687
600
|
link: {
|
|
688
601
|
href: getReportingURL(),
|
|
689
602
|
target: "_blank"
|
|
@@ -692,12 +605,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
692
605
|
{
|
|
693
606
|
id: "about",
|
|
694
607
|
icon: "info",
|
|
695
|
-
label:
|
|
608
|
+
label: i18n.baseText("mainSidebar.aboutN8n"),
|
|
696
609
|
position: "bottom"
|
|
697
610
|
}
|
|
698
611
|
]
|
|
699
612
|
}
|
|
700
613
|
]);
|
|
614
|
+
const createBtn = ref();
|
|
701
615
|
const isCollapsed = computed(() => uiStore.sidebarMenuCollapsed);
|
|
702
616
|
const logoPath = computed(
|
|
703
617
|
() => basePath.value + (isCollapsed.value ? "static/logo/collapsed.svg" : uiStore.logo)
|
|
@@ -804,8 +718,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
804
718
|
fullyExpanded.value = !isCollapsed.value;
|
|
805
719
|
}
|
|
806
720
|
};
|
|
721
|
+
const { menu, handleSelect: handleMenuSelect } = useGlobalEntityCreation();
|
|
722
|
+
onClickOutside(createBtn, () => {
|
|
723
|
+
var _a;
|
|
724
|
+
(_a = createBtn.value) == null ? void 0 : _a.close();
|
|
725
|
+
});
|
|
807
726
|
return (_ctx, _cache) => {
|
|
808
727
|
const _component_n8n_icon = resolveComponent("n8n-icon");
|
|
728
|
+
const _component_N8nIconButton = resolveComponent("N8nIconButton");
|
|
809
729
|
const _component_ProjectNavigation = __unplugin_components_0;
|
|
810
730
|
const _component_BecomeTemplateCreatorCta = __unplugin_components_1;
|
|
811
731
|
const _component_GiftNotificationIcon = __unplugin_components_2;
|
|
@@ -842,6 +762,32 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
842
762
|
class: "mr-5xs"
|
|
843
763
|
}))
|
|
844
764
|
], 2),
|
|
765
|
+
createBaseVNode("div", {
|
|
766
|
+
class: normalizeClass(_ctx.$style.logo)
|
|
767
|
+
}, [
|
|
768
|
+
createBaseVNode("img", {
|
|
769
|
+
src: logoPath.value,
|
|
770
|
+
"data-test-id": "n8n-logo",
|
|
771
|
+
class: normalizeClass(_ctx.$style.icon),
|
|
772
|
+
alt: "n8n"
|
|
773
|
+
}, null, 10, _hoisted_1),
|
|
774
|
+
createVNode(unref(N8nNavigationDropdown), {
|
|
775
|
+
ref_key: "createBtn",
|
|
776
|
+
ref: createBtn,
|
|
777
|
+
"data-test-id": "universal-add",
|
|
778
|
+
menu: unref(menu),
|
|
779
|
+
onSelect: unref(handleMenuSelect)
|
|
780
|
+
}, {
|
|
781
|
+
default: withCtx(() => [
|
|
782
|
+
createVNode(_component_N8nIconButton, {
|
|
783
|
+
icon: "plus",
|
|
784
|
+
type: "secondary",
|
|
785
|
+
outline: ""
|
|
786
|
+
})
|
|
787
|
+
]),
|
|
788
|
+
_: 1
|
|
789
|
+
}, 8, ["menu", "onSelect"])
|
|
790
|
+
], 2),
|
|
845
791
|
createVNode(_component_n8n_menu, {
|
|
846
792
|
items: mainMenuItems.value,
|
|
847
793
|
collapsed: isCollapsed.value,
|
|
@@ -850,16 +796,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
850
796
|
header: withCtx(() => {
|
|
851
797
|
var _a;
|
|
852
798
|
return [
|
|
853
|
-
createBaseVNode("div", {
|
|
854
|
-
class: normalizeClass(_ctx.$style.logo)
|
|
855
|
-
}, [
|
|
856
|
-
createBaseVNode("img", {
|
|
857
|
-
src: logoPath.value,
|
|
858
|
-
"data-test-id": "n8n-logo",
|
|
859
|
-
class: normalizeClass(_ctx.$style.icon),
|
|
860
|
-
alt: "n8n"
|
|
861
|
-
}, null, 10, _hoisted_1)
|
|
862
|
-
], 2),
|
|
863
799
|
createVNode(_component_ProjectNavigation, {
|
|
864
800
|
collapsed: isCollapsed.value,
|
|
865
801
|
"plan-name": (_a = unref(cloudPlanStore).currentPlanData) == null ? void 0 : _a.displayName
|
|
@@ -934,13 +870,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
934
870
|
default: withCtx(() => [
|
|
935
871
|
createVNode(_component_el_dropdown_item, { command: "settings" }, {
|
|
936
872
|
default: withCtx(() => [
|
|
937
|
-
createTextVNode(toDisplayString(
|
|
873
|
+
createTextVNode(toDisplayString(unref(i18n).baseText("settings")), 1)
|
|
938
874
|
]),
|
|
939
875
|
_: 1
|
|
940
876
|
}),
|
|
941
877
|
createVNode(_component_el_dropdown_item, { command: "logout" }, {
|
|
942
878
|
default: withCtx(() => [
|
|
943
|
-
createTextVNode(toDisplayString(
|
|
879
|
+
createTextVNode(toDisplayString(unref(i18n).baseText("auth.signout")), 1)
|
|
944
880
|
]),
|
|
945
881
|
_: 1
|
|
946
882
|
})
|
|
@@ -988,15 +924,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
988
924
|
};
|
|
989
925
|
}
|
|
990
926
|
});
|
|
991
|
-
const sideMenu = "
|
|
992
|
-
const logo = "
|
|
993
|
-
const sideMenuCollapsed = "
|
|
994
|
-
const sideMenuCollapseButton = "
|
|
995
|
-
const updates = "
|
|
996
|
-
const expanded = "
|
|
997
|
-
const userArea = "
|
|
998
|
-
const userName = "
|
|
999
|
-
const userActions = "
|
|
927
|
+
const sideMenu = "_sideMenu_15e4m_1";
|
|
928
|
+
const logo = "_logo_15e4m_10";
|
|
929
|
+
const sideMenuCollapsed = "_sideMenuCollapsed_15e4m_25";
|
|
930
|
+
const sideMenuCollapseButton = "_sideMenuCollapseButton_15e4m_37";
|
|
931
|
+
const updates = "_updates_15e4m_56";
|
|
932
|
+
const expanded = "_expanded_15e4m_69";
|
|
933
|
+
const userArea = "_userArea_15e4m_76";
|
|
934
|
+
const userName = "_userName_15e4m_83";
|
|
935
|
+
const userActions = "_userActions_15e4m_97";
|
|
1000
936
|
const style0 = {
|
|
1001
937
|
sideMenu,
|
|
1002
938
|
logo,
|