n8n-editor-ui 1.68.0 → 1.69.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/AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-WFxE66IL.js +57 -0
- package/dist/assets/{AuthView-C7b2xzS9.js → AuthView-CwyYsaEp.js} +1 -1
- package/dist/assets/{CanvasChat-QctJb8ta.js → CanvasChat-aNmHLHsk.js} +3 -2
- package/dist/assets/{CanvasControls-raoYims4.js → CanvasControls-B0XKV7Yl.js} +6 -5
- package/dist/assets/{ChangePasswordView-BBju88Nm.js → ChangePasswordView-brXzO3ZA.js} +2 -2
- package/dist/assets/CollectionParameter-P2Jb6DYK.js +4 -0
- package/dist/assets/{CredentialsView-BfYXjOVw.js → CredentialsView-DmCI_BFM.js} +11 -26
- package/dist/assets/{ErrorView-BhPrjw7c.js → ErrorView-CgtXwolU.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-DzSjE1X1.js} +2 -2
- package/dist/assets/{ExecutionsView-Dcw07XZ-.js → ExecutionsView-BQFG-zfV.js} +7 -11
- package/dist/assets/{FileSaver.min-CKlTVpWB.js → FileSaver.min-Dec4VlX4.js} +1 -1
- package/dist/assets/{FixedCollectionParameter-CkI6mCZG.js → FixedCollectionParameter-UONn8WZJ.js} +1 -1
- package/dist/assets/{ForgotMyPasswordView--eKPrTSW.js → ForgotMyPasswordView-9zRIxS-G.js} +2 -2
- package/dist/assets/{MainHeader-Btek9DoL.js → MainHeader-Bc9p2q6U.js} +67 -41
- package/dist/assets/{MainHeader-DJdd17Nh.css → MainHeader-CgL_r4xK.css} +53 -24
- package/dist/assets/{MainSidebar-BRYJRpOA.css → MainSidebar-DL53w2zU.css} +37 -21
- package/dist/assets/{MainSidebar-CRjg4yDv.js → MainSidebar-DlEV1cKl.js} +63 -127
- package/dist/assets/{NodeCreation-CDpNw3BL.js → NodeCreation-DT2fJ_vL.js} +7 -6
- package/dist/assets/{NodeCreator-DPpQXLHf.js → NodeCreator-D0GID8DN.js} +22 -21
- package/dist/assets/{NodeViewSwitcher-CNfOOUof.js → NodeViewSwitcher-CTbxFDX4.js} +592 -370
- package/dist/assets/{NodeViewSwitcher-DuVIKqpm.css → NodeViewSwitcher-s2TUlOvE.css} +126 -106
- package/dist/assets/{ProjectCardBadge-DzaTsr93.js → ProjectCardBadge-CP5T2Lcg.js} +1 -1
- package/dist/assets/{ProjectHeader-09VQWBZH.css → ProjectHeader-CTK_rV3h.css} +13 -6
- package/dist/assets/{ProjectHeader-wdvHJxbT.js → ProjectHeader-oZWwGIoC.js} +58 -38
- package/dist/assets/{ProjectSettings-B6j0VJK5.js → ProjectSettings-DfDaR3aV.js} +24 -23
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-ByoMju5L.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-D1E6Idg4.js} +1 -1
- package/dist/assets/{ResourcesListLayout-9Vpyt6Ec.js → ResourcesListLayout-2lqLFJll.js} +3 -16
- package/dist/assets/{ResourcesListLayout-CuA8O7do.css → ResourcesListLayout-BuxiQpsj.css} +8 -8
- package/dist/assets/{RunDataJson-sPhT7c2h.js → RunDataJson-xyWfNyKi.js} +12 -12
- package/dist/assets/{RunDataJsonActions-DiMvLis_.js → RunDataJsonActions-SLxe6h_C.js} +3 -2
- package/dist/assets/{RunDataSearch-CF_rpBKx.js → RunDataSearch-CdLie2uo.js} +1 -1
- package/dist/assets/{RunDataTable-T52TXUHR.js → RunDataTable-D3iYKYbR.js} +144 -35
- package/dist/assets/{RunDataTable-ZwoYenSI.css → RunDataTable-enskmmU4.css} +41 -35
- package/dist/assets/{SamlOnboarding-BCn53xtf.js → SamlOnboarding-CqbC519J.js} +2 -2
- package/dist/assets/{SettingsApiView-DumvK072.js → SettingsApiView-DqdLYzOz.js} +1 -1
- package/dist/assets/{SettingsCommunityNodesView-Db787Jar.js → SettingsCommunityNodesView-DND8OHjT.js} +3 -3
- package/dist/assets/{SettingsExternalSecrets-DKB2o2Dq.js → SettingsExternalSecrets-Cqr1K1PK.js} +1 -1
- package/dist/assets/{SettingsLdapView-BoKoCT5V.js → SettingsLdapView-D1hHgVwD.js} +1 -1
- package/dist/assets/{SettingsLogStreamingView-BGX39Unz.js → SettingsLogStreamingView-XmQhXkP8.js} +1 -1
- package/dist/assets/{SettingsPersonalView-fTCeSJfu.js → SettingsPersonalView-CoZXNkp0.js} +1 -1
- package/dist/assets/{SettingsSourceControl-_G83P363.js → SettingsSourceControl-BapEFaNC.js} +1 -1
- package/dist/assets/{SettingsSso-Bn48qAiX.js → SettingsSso-bibVg8kV.js} +1 -1
- package/dist/assets/{SettingsUsageAndPlan-DZkS0RP4.js → SettingsUsageAndPlan-9Am89x9n.js} +1 -1
- package/dist/assets/{SettingsUsersView-BUh2iKEW.js → SettingsUsersView-PMEBNu_w.js} +1 -1
- package/dist/assets/{SettingsView-D_S4x7XG.js → SettingsView-C0FhNXC5.js} +1 -1
- package/dist/assets/{SetupView-BenKVU0l.js → SetupView-2ldaQ0LW.js} +2 -2
- package/dist/assets/{SetupWorkflowCredentialsButton-DKr9ZPLE.js → SetupWorkflowCredentialsButton-BVwfvnTr.js} +1 -1
- package/dist/assets/{SetupWorkflowFromTemplateView-Ce1R_CDh.js → SetupWorkflowFromTemplateView-BG-AhIrZ.js} +3 -3
- package/dist/assets/{SigninView-xl5aJqka.js → SigninView-DF9tLSZu.js} +2 -2
- package/dist/assets/{SignoutView-Bscz6u1Y.js → SignoutView-CmernPNn.js} +1 -1
- package/dist/assets/{SignupView-CZN8EhJV.js → SignupView-Bu9MlpwT.js} +2 -2
- package/dist/assets/{TemplateDetails-BAQ3vBNJ.js → TemplateDetails-TJ0yc1A9.js} +2 -2
- package/dist/assets/{TemplateList-DD7sqnpI.js → TemplateList-DNv_0Eyu.js} +3 -2
- package/dist/assets/{TemplatesCollectionView-CG3ZoY8i.js → TemplatesCollectionView-CntE56ke.js} +5 -5
- package/dist/assets/{TemplatesSearchView-22jrqI8X.js → TemplatesSearchView-CvjcFXUg.js} +3 -3
- package/dist/assets/{TemplatesView-BZFc4hZ1.js → TemplatesView-YqT9aKyI.js} +3 -2
- package/dist/assets/{TemplatesWorkflowView-DkXtdhUJ.js → TemplatesWorkflowView-CUFmfwQf.js} +5 -5
- package/dist/assets/{VariablesView-DHu4ZoMN.js → VariablesView-CmQdhIWP.js} +12 -12
- package/dist/assets/{VariablesView-BPKo50HJ.css → VariablesView-meR15bnW.css} +18 -18
- package/dist/assets/{WorkerView-BfxdQiAc.js → WorkerView-BxNqbqFw.js} +11 -10
- package/dist/assets/{WorkflowActivator-CvdQVEtW.js → WorkflowActivator-CVDdqHMC.js} +2 -2
- package/dist/assets/{WorkflowExecutionsInfoAccordion-D2GFnpq1.js → WorkflowExecutionsInfoAccordion-BoXSN3HK.js} +7 -6
- package/dist/assets/{WorkflowExecutionsLandingPage-D2bvAsxg.js → WorkflowExecutionsLandingPage-d6z9UgBQ.js} +2 -2
- package/dist/assets/{WorkflowExecutionsPreview-D6WBsbAG.js → WorkflowExecutionsPreview-BqiH-pqP.js} +12 -11
- package/dist/assets/{WorkflowExecutionsView-CZKkPKqJ.css → WorkflowExecutionsView-CepgQyRt.css} +2 -2
- package/dist/assets/{WorkflowExecutionsView-DI6r5OvZ.js → WorkflowExecutionsView-oRW-4d0o.js} +18 -9
- package/dist/assets/{WorkflowHistory-Dc1f2Tsn.js → WorkflowHistory-BTuLr3X9.js} +3 -3
- package/dist/assets/{WorkflowOnboardingView-DyxvWfZ7.js → WorkflowOnboardingView-0O56AGqh.js} +32 -1
- package/dist/assets/{WorkflowPreview-hC6wSe-Y.js → WorkflowPreview-0bx0ypgw.js} +1 -1
- package/dist/assets/{WorkflowsView-SIDgO47b.js → WorkflowsView-CuBv1-1Q.js} +15 -56
- package/dist/assets/{index-40I5DMGP.js → index-BIo0OZGX.js} +1494 -1372
- package/dist/assets/{index-Dr3zFZlC.css → index-CNnUWsS4.css} +237 -226
- package/dist/assets/{pushConnection.store-w_WxpOeH.js → pushConnection.store-CabVI0Q4.js} +1 -1
- package/dist/assets/{templateActions-D4EHdA9n.js → templateActions-CgLrOlVc.js} +1 -1
- package/dist/assets/{useBugReporting-CFOQlQpP.js → useBugReporting-CYGmNuQ3.js} +1 -1
- package/dist/assets/{useExecutionDebugging-LQQWXhPj.js → useExecutionDebugging-IGp543Mo.js} +1 -1
- package/dist/assets/useExecutionHelpers-cP7PTcvs.js +113 -0
- package/dist/assets/useGlobalEntityCreation-DXZTxFMi.js +168 -0
- package/dist/assets/{useNodeViewVersionSwitcher-BLo5Qp-N.js → useNodeViewVersionSwitcher-Cyo5x7BB.js} +1 -1
- package/dist/assets/{usePushConnection-B5ija5f5.js → usePushConnection-DKkZNdx4.js} +74 -113
- package/dist/assets/{useRunWorkflow-MrEKURG4.js → useRunWorkflow-D18NuRU_.js} +68 -147
- package/dist/assets/{useWorkflowActivate-CKedJlgZ.js → useWorkflowActivate-BC3Pdg08.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
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { d as defineComponent, j4 as useAnnotationTagsStore, K as useUIStore, q as computed, c as openBlock, e as createBlock, j5 as ANNOTATION_TAGS_MANAGER_MODAL_KEY, j6 as _sfc_main$1 } from "./index-BIo0OZGX.js";
|
|
2
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
3
|
+
__name: "AnnotationTagsDropdown.ee",
|
|
4
|
+
props: {
|
|
5
|
+
placeholder: { default: "" },
|
|
6
|
+
modelValue: { default: () => [] },
|
|
7
|
+
createEnabled: { type: Boolean, default: false },
|
|
8
|
+
eventBus: { default: null }
|
|
9
|
+
},
|
|
10
|
+
emits: ["update:modelValue", "esc", "blur"],
|
|
11
|
+
setup(__props, { emit: __emit }) {
|
|
12
|
+
const props = __props;
|
|
13
|
+
const emit = __emit;
|
|
14
|
+
const tagsStore = useAnnotationTagsStore();
|
|
15
|
+
const uiStore = useUIStore();
|
|
16
|
+
const selectedTags = computed({
|
|
17
|
+
get: () => props.modelValue,
|
|
18
|
+
set: (value) => emit("update:modelValue", value)
|
|
19
|
+
});
|
|
20
|
+
const allTags = computed(() => tagsStore.allTags);
|
|
21
|
+
const isLoading = computed(() => tagsStore.isLoading);
|
|
22
|
+
const tagsById = computed(() => tagsStore.tagsById);
|
|
23
|
+
async function createTag(name) {
|
|
24
|
+
return await tagsStore.create(name);
|
|
25
|
+
}
|
|
26
|
+
function handleManageTags() {
|
|
27
|
+
uiStore.openModal(ANNOTATION_TAGS_MANAGER_MODAL_KEY);
|
|
28
|
+
}
|
|
29
|
+
function handleEsc() {
|
|
30
|
+
emit("esc");
|
|
31
|
+
}
|
|
32
|
+
function handleBlur() {
|
|
33
|
+
emit("blur");
|
|
34
|
+
}
|
|
35
|
+
void tagsStore.fetchAll();
|
|
36
|
+
return (_ctx, _cache) => {
|
|
37
|
+
const _component_TagsDropdown = _sfc_main$1;
|
|
38
|
+
return openBlock(), createBlock(_component_TagsDropdown, {
|
|
39
|
+
modelValue: selectedTags.value,
|
|
40
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectedTags.value = $event),
|
|
41
|
+
placeholder: _ctx.placeholder,
|
|
42
|
+
"create-enabled": _ctx.createEnabled,
|
|
43
|
+
"event-bus": _ctx.eventBus,
|
|
44
|
+
"all-tags": allTags.value,
|
|
45
|
+
"is-loading": isLoading.value,
|
|
46
|
+
"tags-by-id": tagsById.value,
|
|
47
|
+
"create-tag": createTag,
|
|
48
|
+
onManageTags: handleManageTags,
|
|
49
|
+
onEsc: handleEsc,
|
|
50
|
+
onBlur: handleBlur
|
|
51
|
+
}, null, 8, ["modelValue", "placeholder", "create-enabled", "event-bus", "all-tags", "is-loading", "tags-by-id"]);
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
export {
|
|
56
|
+
_sfc_main as _
|
|
57
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, Z as useRootStore, K as useUIStore,
|
|
1
|
+
import { d as defineComponent, Z as useRootStore, K as useUIStore, q as computed, c as openBlock, h as createElementBlock, n as normalizeClass, _ as _export_sfc, ij as useSSOStore, a as useToast, m as resolveComponent, l as unref, j as createBaseVNode, t as toDisplayString, i as createVNode, f as createCommentVNode, g as useI18n, w as withCtx, k as createTextVNode, e as createBlock, aU as mergeProps } from "./index-BIo0OZGX.js";
|
|
2
2
|
const _hoisted_1 = ["src"];
|
|
3
3
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "Logo",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { H as HighlightJS, R as RunDataAi, u as usePinnedData, a as useRunWorkflow } from "./useRunWorkflow-
|
|
1
|
+
import { aP as inject, aQ as isRef, c as openBlock, h as createElementBlock, j as createBaseVNode, d as defineComponent, q as computed, i as createVNode, l as unref, t as toDisplayString, I as withModifiers, e as createBlock, f as createCommentVNode, _ as _export_sfc, aR as toRefs, r as ref, o as onMounted, s as renderSlot, aS as normalizeProps, aT as guardReactiveProps, aU as mergeProps, aV as resolveDynamicComponent, aW as VueMarkdown, F as Fragment, A as renderList, n as normalizeClass, aX as markdownLink, aY as useFileDialog, aZ as onUnmounted, ax as withDirectives, a_ as vModelText, G as withKeys, B as normalizeStyle, w as withCtx, H as watch, m as resolveComponent, k as createTextVNode, a$ as useClipboard, a as useToast, g as useI18n$1, ae as MODAL_CONFIRM, al as useMessage, b0 as CHAT_TRIGGER_NODE_TYPE, b1 as MANUAL_CHAT_TRIGGER_NODE_TYPE, b2 as CHAIN_SUMMARIZATION_LANGCHAIN_NODE_TYPE, b3 as AI_SUBCATEGORY, b4 as AI_CATEGORY_AGENTS, b5 as AI_CATEGORY_CHAINS, b6 as AI_CODE_NODE_TYPE, b7 as getNodeInputs, b8 as getConnectionTypes, b9 as getNodeOutputs, ba as NodeConnectionType, bb as get, bc as v4, bd as isEmpty, be as last, bf as CHAT_TRIGGER_NODE_TYPE$1, aF as useStorage, bg as watchEffect, x as onBeforeUnmount, J as useDebounce, T as useWorkflowsStore, K as useUIStore, $ as useCanvasStore, bh as useNodeTypesStore, bi as useNodeHelpers, b as useRouter, V as VIEWS, bj as provide } from "./index-BIo0OZGX.js";
|
|
2
|
+
import { H as HighlightJS, R as RunDataAi, u as usePinnedData, a as useRunWorkflow } from "./useRunWorkflow-D18NuRU_.js";
|
|
3
|
+
import "./useExecutionHelpers-cP7PTcvs.js";
|
|
3
4
|
const ChatSymbol = "Chat";
|
|
4
5
|
const ChatOptionsSymbol = "ChatOptions";
|
|
5
6
|
function createEventBus() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, $ as useCanvasStore,
|
|
1
|
+
import { d as defineComponent, $ as useCanvasStore, en as storeToRefs, eY as useDeviceSupport, aw as onBeforeMount, x as onBeforeUnmount, m as resolveComponent, c as openBlock, h as createElementBlock, i as createVNode, w as withCtx, l as unref, gp as KeyboardShortcutTooltip, e as createBlock, f as createCommentVNode, n as normalizeClass, g as useI18n, _ as _export_sfc } from "./index-BIo0OZGX.js";
|
|
2
2
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
3
3
|
__name: "CanvasControls",
|
|
4
4
|
setup(__props) {
|
|
@@ -6,6 +6,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
6
6
|
const { zoomToFit, zoomIn, zoomOut, resetZoom } = canvasStore;
|
|
7
7
|
const { nodeViewScale, isDemo } = storeToRefs(canvasStore);
|
|
8
8
|
const deviceSupport = useDeviceSupport();
|
|
9
|
+
const i18n = useI18n();
|
|
9
10
|
const keyDown = (e) => {
|
|
10
11
|
const isCtrlKeyPressed = deviceSupport.isCtrlKeyPressed(e);
|
|
11
12
|
if ((e.key === "=" || e.key === "+") && !isCtrlKeyPressed) {
|
|
@@ -34,7 +35,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
34
35
|
})
|
|
35
36
|
}, [
|
|
36
37
|
createVNode(KeyboardShortcutTooltip, {
|
|
37
|
-
label:
|
|
38
|
+
label: unref(i18n).baseText("nodeView.zoomToFit"),
|
|
38
39
|
shortcut: { keys: ["1"] }
|
|
39
40
|
}, {
|
|
40
41
|
default: withCtx(() => [
|
|
@@ -49,7 +50,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
49
50
|
_: 1
|
|
50
51
|
}, 8, ["label"]),
|
|
51
52
|
createVNode(KeyboardShortcutTooltip, {
|
|
52
|
-
label:
|
|
53
|
+
label: unref(i18n).baseText("nodeView.zoomIn"),
|
|
53
54
|
shortcut: { keys: ["+"] }
|
|
54
55
|
}, {
|
|
55
56
|
default: withCtx(() => [
|
|
@@ -64,7 +65,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
64
65
|
_: 1
|
|
65
66
|
}, 8, ["label"]),
|
|
66
67
|
createVNode(KeyboardShortcutTooltip, {
|
|
67
|
-
label:
|
|
68
|
+
label: unref(i18n).baseText("nodeView.zoomOut"),
|
|
68
69
|
shortcut: { keys: ["-"] }
|
|
69
70
|
}, {
|
|
70
71
|
default: withCtx(() => [
|
|
@@ -79,7 +80,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
79
80
|
_: 1
|
|
80
81
|
}, 8, ["label"]),
|
|
81
82
|
createVNode(KeyboardShortcutTooltip, {
|
|
82
|
-
label:
|
|
83
|
+
label: unref(i18n).baseText("nodeView.resetZoom"),
|
|
83
84
|
shortcut: { keys: ["0"] }
|
|
84
85
|
}, {
|
|
85
86
|
default: withCtx(() => [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as defineComponent, u as useUsersStore, a as useToast, b as useRouter, r as ref, o as onMounted, M as MFA_AUTHENTICATION_TOKEN_INPUT_MAX_LENGTH, V as VIEWS, c as openBlock, e as createBlock, f as createCommentVNode, g as useI18n } from "./index-
|
|
2
|
-
import { A as AuthView } from "./AuthView-
|
|
1
|
+
import { d as defineComponent, u as useUsersStore, a as useToast, b as useRouter, r as ref, o as onMounted, M as MFA_AUTHENTICATION_TOKEN_INPUT_MAX_LENGTH, V as VIEWS, c as openBlock, e as createBlock, f as createCommentVNode, g as useI18n } from "./index-BIo0OZGX.js";
|
|
2
|
+
import { A as AuthView } from "./AuthView-CwyYsaEp.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "ChangePasswordView",
|
|
5
5
|
setup(__props) {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { d as defineComponent, K as useUIStore,
|
|
2
|
-
import { R as ResourcesListLayout } from "./ResourcesListLayout-
|
|
3
|
-
import { P as ProjectCardBadge } from "./ProjectCardBadge-
|
|
4
|
-
import { P as ProjectHeader } from "./ProjectHeader-
|
|
1
|
+
import { d as defineComponent, K as useUIStore, dU as useCredentialsStore, a1 as useProjectsStore, q as computed, am as getResourcePermissions, j2 as dateformat, m as resolveComponent, c as openBlock, e as createBlock, w as withCtx, i as createVNode, jm as CredentialIcon, n as normalizeClass, k as createTextVNode, t as toDisplayString, l as unref, f as createCommentVNode, j as createBaseVNode, I as withModifiers, jg as ResourceType, h as createElementBlock, ax as withDirectives, iB as _sfc_main$2, ay as vShow, g as useI18n, ae as MODAL_CONFIRM, jh as PROJECT_MOVE_RESOURCE_MODAL, al as useMessage, _ as _export_sfc, bh as useNodeTypesStore, a0 as useSourceControlStore, gr as useExternalSecretsStore, a3 as useDocumentTitle, U as useRoute, b as useRouter, r as ref, jn as listenForModalChanges, H as watch, jo as CREDENTIAL_SELECT_MODAL_KEY, o as onMounted, F as Fragment, A as renderList, p as useSettingsStore, a8 as EnterpriseEditionFeature, gt as useEnvironmentsStore, ak as useTelemetry, jp as CREDENTIAL_EDIT_MODAL_KEY } from "./index-BIo0OZGX.js";
|
|
2
|
+
import { R as ResourcesListLayout } from "./ResourcesListLayout-2lqLFJll.js";
|
|
3
|
+
import { P as ProjectCardBadge } from "./ProjectCardBadge-CP5T2Lcg.js";
|
|
4
|
+
import { P as ProjectHeader } from "./ProjectHeader-oZWwGIoC.js";
|
|
5
|
+
import "./useGlobalEntityCreation-DXZTxFMi.js";
|
|
5
6
|
const _hoisted_1$1 = { key: 0 };
|
|
6
7
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
7
8
|
__name: "CredentialCard",
|
|
@@ -254,9 +255,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
254
255
|
const credentialTypesById = computed(
|
|
255
256
|
() => credentialsStore.credentialTypesById
|
|
256
257
|
);
|
|
257
|
-
const addCredentialButtonText = computed(
|
|
258
|
-
() => projectsStore.currentProject ? i18n.baseText("credentials.project.add") : i18n.baseText("credentials.add")
|
|
259
|
-
);
|
|
260
258
|
const readOnlyEnv = computed(() => sourceControlStore.preferences.branchReadOnly);
|
|
261
259
|
const projectPermissions = computed(
|
|
262
260
|
() => {
|
|
@@ -338,6 +336,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
338
336
|
documentTitle.set(i18n.baseText("credentials.heading"));
|
|
339
337
|
});
|
|
340
338
|
return (_ctx, _cache) => {
|
|
339
|
+
const _component_N8nInputLabel = resolveComponent("N8nInputLabel");
|
|
340
|
+
const _component_N8nOption = resolveComponent("N8nOption");
|
|
341
|
+
const _component_N8nSelect = resolveComponent("N8nSelect");
|
|
341
342
|
return openBlock(), createBlock(ResourcesListLayout, {
|
|
342
343
|
ref: "layout",
|
|
343
344
|
"resource-key": "credentials",
|
|
@@ -354,22 +355,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
354
355
|
header: withCtx(() => [
|
|
355
356
|
createVNode(ProjectHeader)
|
|
356
357
|
]),
|
|
357
|
-
"add-button": withCtx(({ disabled }) => [
|
|
358
|
-
createBaseVNode("div", null, [
|
|
359
|
-
createVNode(unref(N8nButton), {
|
|
360
|
-
size: "large",
|
|
361
|
-
block: "",
|
|
362
|
-
disabled,
|
|
363
|
-
"data-test-id": "resources-list-add",
|
|
364
|
-
onClick: addCredential
|
|
365
|
-
}, {
|
|
366
|
-
default: withCtx(() => [
|
|
367
|
-
createTextVNode(toDisplayString(addCredentialButtonText.value), 1)
|
|
368
|
-
]),
|
|
369
|
-
_: 2
|
|
370
|
-
}, 1032, ["disabled"])
|
|
371
|
-
])
|
|
372
|
-
]),
|
|
373
358
|
default: withCtx(({ data }) => [
|
|
374
359
|
createVNode(CredentialCard, {
|
|
375
360
|
"data-test-id": "resources-list-item",
|
|
@@ -381,14 +366,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
381
366
|
]),
|
|
382
367
|
filters: withCtx(({ setKeyValue }) => [
|
|
383
368
|
createBaseVNode("div", _hoisted_1, [
|
|
384
|
-
createVNode(
|
|
369
|
+
createVNode(_component_N8nInputLabel, {
|
|
385
370
|
label: unref(i18n).baseText("credentials.filters.type"),
|
|
386
371
|
bold: false,
|
|
387
372
|
size: "small",
|
|
388
373
|
color: "text-base",
|
|
389
374
|
class: "mb-3xs"
|
|
390
375
|
}, null, 8, ["label"]),
|
|
391
|
-
createVNode(
|
|
376
|
+
createVNode(_component_N8nSelect, {
|
|
392
377
|
ref: "typeInput",
|
|
393
378
|
"model-value": filters.value.type,
|
|
394
379
|
size: "medium",
|
|
@@ -399,7 +384,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
399
384
|
}, {
|
|
400
385
|
default: withCtx(() => [
|
|
401
386
|
(openBlock(true), createElementBlock(Fragment, null, renderList(allCredentialTypes.value, (credentialType) => {
|
|
402
|
-
return openBlock(), createBlock(
|
|
387
|
+
return openBlock(), createBlock(_component_N8nOption, {
|
|
403
388
|
key: credentialType.name,
|
|
404
389
|
value: credentialType.name,
|
|
405
390
|
label: credentialType.displayName
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, b as useRouter, c as openBlock, h as createElementBlock, i as createVNode, n as normalizeClass, j as createBaseVNode, w as withCtx, k as createTextVNode, t as toDisplayString, e as createBlock, f as createCommentVNode, V as VIEWS,
|
|
1
|
+
import { d as defineComponent, b as useRouter, c as openBlock, h as createElementBlock, i as createVNode, n as normalizeClass, j as createBaseVNode, w as withCtx, k as createTextVNode, t as toDisplayString, l as unref, e as createBlock, f as createCommentVNode, g as useI18n, V as VIEWS, m as resolveComponent, _ as _export_sfc } from "./index-BIo0OZGX.js";
|
|
2
2
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
3
3
|
__name: "ErrorView",
|
|
4
4
|
props: {
|
|
@@ -10,6 +10,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
10
10
|
setup(__props) {
|
|
11
11
|
const router = useRouter();
|
|
12
12
|
const props = __props;
|
|
13
|
+
const i18n = useI18n();
|
|
13
14
|
function onButtonClick() {
|
|
14
15
|
void router.push({ name: props.redirectPage ?? VIEWS.HOMEPAGE });
|
|
15
16
|
}
|
|
@@ -31,7 +32,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
31
32
|
createBaseVNode("div", null, [
|
|
32
33
|
createVNode(_component_n8n_heading, { size: "2xlarge" }, {
|
|
33
34
|
default: withCtx(() => [
|
|
34
|
-
createTextVNode(toDisplayString(
|
|
35
|
+
createTextVNode(toDisplayString(unref(i18n).baseText(_ctx.messageKey)), 1)
|
|
35
36
|
]),
|
|
36
37
|
_: 1
|
|
37
38
|
})
|
|
@@ -42,14 +43,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
42
43
|
size: "large"
|
|
43
44
|
}, {
|
|
44
45
|
default: withCtx(() => [
|
|
45
|
-
createTextVNode(toDisplayString(_ctx.errorCode) + " " + toDisplayString(
|
|
46
|
+
createTextVNode(toDisplayString(_ctx.errorCode) + " " + toDisplayString(unref(i18n).baseText("error")), 1)
|
|
46
47
|
]),
|
|
47
48
|
_: 1
|
|
48
49
|
})) : createCommentVNode("", true)
|
|
49
50
|
])
|
|
50
51
|
], 2),
|
|
51
52
|
createVNode(_component_n8n_button, {
|
|
52
|
-
label:
|
|
53
|
+
label: unref(i18n).baseText(_ctx.redirectTextKey),
|
|
53
54
|
onClick: onButtonClick
|
|
54
55
|
}, null, 8, ["label"])
|
|
55
56
|
], 2);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as defineComponent,
|
|
2
|
-
import { _ as _sfc_main$2 } from "./
|
|
1
|
+
import { d as defineComponent, p as useSettingsStore, J as useDebounce, a5 as usePageRedirectionHelper, r as ref, q as computed, cB as reactive, j3 as getObjectKeys, aw as onBeforeMount, c as openBlock, e as createBlock, w as withCtx, i as createVNode, k as createTextVNode, t as toDisplayString, f as createCommentVNode, l as unref, fz as i18n, j as createBaseVNode, h as createElementBlock, F as Fragment, A as renderList, n as normalizeClass, I as withModifiers, m as resolveComponent, a7 as _sfc_main$3, ak as useTelemetry, a8 as EnterpriseEditionFeature, eG as isEmpty, _ as _export_sfc, o as onMounted, x as onBeforeUnmount, g as useI18n } from "./index-BIo0OZGX.js";
|
|
2
|
+
import { _ as _sfc_main$2 } from "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-WFxE66IL.js";
|
|
3
3
|
const _hoisted_1 = { "data-test-id": "execution-filter-form" };
|
|
4
4
|
const _hoisted_2 = { for: "execution-filter-workflows" };
|
|
5
5
|
const _hoisted_3 = { for: "execution-filter-tags" };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { d as defineComponent, aa as useCssModule,
|
|
2
|
-
import { _ as _sfc_main$3, E as ExecutionsFilter } from "./ExecutionsTime.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { b as convertToDisplayDate } from "./
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
1
|
+
import { d as defineComponent, aa as useCssModule, r as ref, q as computed, fq as WAIT_TIME_UNLIMITED, fz as i18n, m as resolveComponent, c as openBlock, h as createElementBlock, j as createBaseVNode, e as createBlock, f as createCommentVNode, n as normalizeClass, I as withModifiers, t as toDisplayString, i as createVNode, w as withCtx, l as unref, k as createTextVNode, g as useI18n, _ as _export_sfc, T as useWorkflowsStore, au as useExecutionsStore, p as useSettingsStore, a as useToast, a8 as EnterpriseEditionFeature, H as watch, o as onMounted, ax as withDirectives, ay as vShow, F as Fragment, A as renderList, bz as TransitionGroup, ae as MODAL_CONFIRM, am as getResourcePermissions, ak as useTelemetry, al as useMessage, U as useRoute, a3 as useDocumentTitle, en as storeToRefs, aw as onBeforeMount, x as onBeforeUnmount, aM as useExternalHooks } from "./index-BIo0OZGX.js";
|
|
2
|
+
import { _ as _sfc_main$3, E as ExecutionsFilter } from "./ExecutionsTime.vue_vue_type_script_setup_true_lang-DzSjE1X1.js";
|
|
3
|
+
import { u as useExecutionHelpers, b as convertToDisplayDate } from "./useExecutionHelpers-cP7PTcvs.js";
|
|
4
|
+
import { P as ProjectHeader } from "./ProjectHeader-oZWwGIoC.js";
|
|
5
|
+
import "./AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-WFxE66IL.js";
|
|
6
|
+
import "./useGlobalEntityCreation-DXZTxFMi.js";
|
|
6
7
|
const _hoisted_1$1 = { key: 0 };
|
|
7
8
|
const _hoisted_2 = { key: 1 };
|
|
8
9
|
const _hoisted_3 = { key: 0 };
|
|
@@ -22,7 +23,6 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
22
23
|
const props = __props;
|
|
23
24
|
const style = useCssModule();
|
|
24
25
|
const i18n$1 = useI18n();
|
|
25
|
-
const router = useRouter();
|
|
26
26
|
const executionHelpers = useExecutionHelpers();
|
|
27
27
|
const isStopping = ref(false);
|
|
28
28
|
const isRunning = computed(() => {
|
|
@@ -106,11 +106,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
106
106
|
return i18n.baseText("executionsList.started", { interpolate: { time, date } });
|
|
107
107
|
}
|
|
108
108
|
function displayExecution() {
|
|
109
|
-
|
|
110
|
-
name: VIEWS.EXECUTION_PREVIEW,
|
|
111
|
-
params: { name: props.execution.workflowId, executionId: props.execution.id }
|
|
112
|
-
});
|
|
113
|
-
window.open(route.href, "_blank");
|
|
109
|
+
executionHelpers.openExecutionInNewTab(props.execution.id, props.execution.workflowId);
|
|
114
110
|
}
|
|
115
111
|
function onStopExecution() {
|
|
116
112
|
isStopping.value = true;
|
package/dist/assets/{FixedCollectionParameter-CkI6mCZG.js → FixedCollectionParameter-UONn8WZJ.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent,
|
|
1
|
+
import { d as defineComponent, q as computed, r as ref, e6 as isINodePropertyCollectionList, H as watch, e2 as deepCopy, aw as onBeforeMount, c as openBlock, h as createElementBlock, i as createVNode, w as withCtx, k as createTextVNode, t as toDisplayString, l as unref, ek as N8nText, f as createCommentVNode, F as Fragment, A as renderList, e as createBlock, jk as N8nInputLabel, j as createBaseVNode, el as _sfc_main$1, d_ as _sfc_main$2, bu as Suspense, n as normalizeClass, ev as N8nButton, ew as _sfc_main$3, ex as N8nSelect, I as withModifiers, g as useI18n, bb as get, _ as _export_sfc } from "./index-BIo0OZGX.js";
|
|
2
2
|
const _hoisted_1 = ["data-test-id"];
|
|
3
3
|
const _hoisted_2 = {
|
|
4
4
|
key: 0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AuthView } from "./AuthView-
|
|
2
|
-
import { d as defineComponent,
|
|
1
|
+
import { A as AuthView } from "./AuthView-CwyYsaEp.js";
|
|
2
|
+
import { d as defineComponent, p as useSettingsStore, u as useUsersStore, a as useToast, r as ref, q as computed, c as openBlock, e as createBlock, g as useI18n } from "./index-BIo0OZGX.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "ForgotMyPasswordView",
|
|
5
5
|
setup(__props) {
|
|
@@ -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-BIo0OZGX.js";
|
|
2
|
+
import { _ as _sfc_main$g } from "./PushConnectionTracker.vue_vue_type_script_setup_true_lang-D1E6Idg4.js";
|
|
3
|
+
import { W as WorkflowActivator } from "./WorkflowActivator-CVDdqHMC.js";
|
|
4
|
+
import { u as useBeforeUnload, a as useNodeViewVersionSwitcher } from "./useNodeViewVersionSwitcher-Cyo5x7BB.js";
|
|
5
|
+
import { u as usePushConnectionStore } from "./pushConnection.store-CabVI0Q4.js";
|
|
6
|
+
import { F as FileSaver_minExports } from "./FileSaver.min-Dec4VlX4.js";
|
|
7
|
+
import { u as usePushConnection } from "./usePushConnection-DKkZNdx4.js";
|
|
8
|
+
import "./useWorkflowActivate-BC3Pdg08.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
|
}
|