n8n-editor-ui 1.64.1 → 1.65.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-DZsUO41i.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-B4V5qQ9q.js} +2 -2
- package/dist/assets/{AuthView-CCyCGmwi.js → AuthView-DDTsGVDI.js} +1 -1
- package/dist/assets/{CanvasControls-Bh28om35.js → CanvasControls-BrmZza76.js} +1 -1
- package/dist/assets/{ChangePasswordView-CzOXz1B5.js → ChangePasswordView-Txc3JLbg.js} +2 -2
- package/dist/assets/CollectionParameter-D35RQT1r.js +4 -0
- package/dist/assets/{CredentialsView-Uwkj-6Gn.js → CredentialsView-4YDBK-zY.js} +4 -4
- package/dist/assets/{ErrorView-Du8F4roT.js → ErrorView-CeJF1j4H.js} +1 -1
- package/dist/assets/{ExecutionsFilter-X5OsOzg1.js → ExecutionsFilter-ODySTrFf.js} +2 -2
- package/dist/assets/{ExecutionsView-Cdl2wX8O.js → ExecutionsView-Cfc2bklt.js} +5 -5
- package/dist/assets/{FileSaver.min-BZDLz63C.js → FileSaver.min-2E3H7obf.js} +1 -1
- package/dist/assets/{FixedCollectionParameter-h3uHE3EI.js → FixedCollectionParameter-D6dq95nm.js} +1 -1
- package/dist/assets/{ForgotMyPasswordView-DKha33bM.js → ForgotMyPasswordView-DY9dxNXM.js} +2 -2
- package/dist/assets/{MainHeader-Dp0CMpLa.js → MainHeader-2746Uag0.js} +73 -37
- package/dist/assets/{MainHeader-m131IPYi.css → MainHeader-Bc5G9_Uq.css} +20 -14
- package/dist/assets/{MainSidebar-DX7RWqIJ.js → MainSidebar-Deuxu_ZA.js} +75 -38
- package/dist/assets/{MainSidebar-BL0mGB2I.css → MainSidebar-cNW0UJBC.css} +15 -6
- package/dist/assets/{NodeCreation-CH8QZkmg.js → NodeCreation-C2dcJSCB.js} +4 -4
- package/dist/assets/{NodeCreator-GlBp8VyB.js → NodeCreator-DbLN5EpO.js} +11 -13
- package/dist/assets/{NodeViewSwitcher-B6pXHQpy.js → NodeViewSwitcher-C7fT1hjp.js} +671 -635
- package/dist/assets/{NodeViewSwitcher-0LWuIntY.css → NodeViewSwitcher-Np-f2Pkl.css} +142 -124
- package/dist/assets/{ProjectCardBadge.vue_vue_type_script_setup_true_lang-R4VvIcND.js → ProjectCardBadge.vue_vue_type_script_setup_true_lang-1r16lWfz.js} +1 -1
- package/dist/assets/{ProjectSettings-BRbDO1Gw.js → ProjectSettings-B-0hlVBb.js} +2 -2
- package/dist/assets/{ProjectTabs-DGe3p6nk.js → ProjectTabs-BLgXz0GM.js} +3 -3
- package/dist/assets/{PushConnectionTracker-CYr4h_PG.js → PushConnectionTracker-CGjuGy8P.js} +1 -1
- package/dist/assets/{ResourcesListLayout-Cp1vFuQD.js → ResourcesListLayout-D_C1ZSTp.js} +1 -1
- package/dist/assets/{RunDataAi-Dr6ypWYk.js → RunDataAi-DWyv1KtV.js} +2 -2
- package/dist/assets/{RunDataJson-BR2zl0xs.js → RunDataJson-BkOB7Mi5.js} +12 -11
- package/dist/assets/{RunDataJsonActions-hnNDgPdr.js → RunDataJsonActions-K_wfkbT2.js} +1 -1
- package/dist/assets/{RunDataSearch-aEp6SsT6.js → RunDataSearch-CdIFsfvp.js} +1 -1
- package/dist/assets/{RunDataTable-CNdHnjmM.js → RunDataTable-CSd24Wzt.js} +1 -1
- package/dist/assets/{SamlOnboarding-BGSor93S.js → SamlOnboarding-C7jmImZi.js} +2 -2
- package/dist/assets/{SettingsApiView-DnaOHGOU.js → SettingsApiView-4M-cLSvs.js} +1 -1
- package/dist/assets/{SettingsCommunityNodesView-DG_uJUfX.js → SettingsCommunityNodesView-QbJKukss.js} +3 -3
- package/dist/assets/{SettingsExternalSecrets-CC-c2C10.js → SettingsExternalSecrets-CBL5kSMf.js} +1 -1
- package/dist/assets/{SettingsFakeDoorView-DJJ9xpvu.js → SettingsFakeDoorView-CEbWEc6P.js} +1 -1
- package/dist/assets/{SettingsLdapView-BTxklMe-.js → SettingsLdapView-CHwYGxkx.js} +1 -1
- package/dist/assets/{SettingsLogStreamingView-D32eR0j1.js → SettingsLogStreamingView-DZ71hi2g.js} +1 -1
- package/dist/assets/{SettingsPersonalView-CycnGnFd.js → SettingsPersonalView-BfL80wvU.js} +17 -3
- package/dist/assets/{SettingsSourceControl-CpzwZEYt.js → SettingsSourceControl-CrPjF7Tl.js} +1 -1
- package/dist/assets/{SettingsSso-HjdnsVOf.js → SettingsSso-CoM-3Knf.js} +1 -1
- package/dist/assets/{SettingsUsageAndPlan-CYQUE0tK.js → SettingsUsageAndPlan-BeHnYh3Q.js} +10 -3
- package/dist/assets/{SettingsUsageAndPlan-B72odhIc.css → SettingsUsageAndPlan-C76Ty5yF.css} +3 -3
- package/dist/assets/{SettingsUsersView-DkzKTkeO.js → SettingsUsersView-KIj2fh50.js} +1 -1
- package/dist/assets/{SettingsView-DVcUKSKE.js → SettingsView-Chfmh8Oz.js} +1 -1
- package/dist/assets/{SetupView-RG_ylo8Z.js → SetupView-Cj9NK5oF.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-DrA_a2OJ.js → SetupWorkflowCredentialsButton-1LXFp3M1.js} +1 -1
- package/dist/assets/{SetupWorkflowFromTemplateView-DDIIQT4h.js → SetupWorkflowFromTemplateView-nyPe7OpV.js} +3 -3
- package/dist/assets/{SigninView-SB0OrGE8.js → SigninView-TCarjEXK.js} +2 -2
- package/dist/assets/{SignoutView-CydN5z6L.js → SignoutView-Delor5Ax.js} +1 -1
- package/dist/assets/{SignupView-GfwP9_4w.js → SignupView-DOREfT5l.js} +2 -2
- package/dist/assets/{TemplateDetails-BHYTgWe7.js → TemplateDetails-rjxog6MY.js} +1 -1
- package/dist/assets/{TemplateList-DqeiM-sc.js → TemplateList-DYMX_2qI.js} +1 -1
- package/dist/assets/{TemplatesCollectionView-BmNqs_gk.js → TemplatesCollectionView-DtaG85Jk.js} +5 -5
- package/dist/assets/{TemplatesSearchView-CNF6-vdG.js → TemplatesSearchView-CqH8oefx.js} +3 -3
- package/dist/assets/{TemplatesView-2elduxzA.js → TemplatesView-B9Lz_EzK.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-ZW6hOx7N.js → TemplatesWorkflowView-BfqaXGKg.js} +5 -5
- package/dist/assets/{VariablesView-BX27mddL.js → VariablesView-BH0opxm_.js} +2 -2
- package/dist/assets/{WorkerView-Cr7HLqrl.js → WorkerView-BRiI1Adt.js} +5 -5
- package/dist/assets/{WorkflowActivator-BdyaV7fz.js → WorkflowActivator-ByVmTkYU.js} +2 -2
- package/dist/assets/{WorkflowExecutionsInfoAccordion-GC5Xu1TI.js → WorkflowExecutionsInfoAccordion-BqbBanz6.js} +1 -1
- package/dist/assets/{WorkflowExecutionsLandingPage-DUaKxO-Z.js → WorkflowExecutionsLandingPage-5u6ZDaFD.js} +2 -2
- package/dist/assets/{WorkflowExecutionsPreview-1hB0xaBl.js → WorkflowExecutionsPreview-BGb9AU3g.js} +5 -5
- package/dist/assets/{WorkflowExecutionsView-OE3NlCHo.js → WorkflowExecutionsView-KTlGfaLi.js} +5 -5
- package/dist/assets/{WorkflowHistory-q9Izoevv.js → WorkflowHistory-DqXCxz1p.js} +3 -3
- package/dist/assets/{WorkflowOnboardingView-B3UpsBmI.js → WorkflowOnboardingView-Cx7hbCo8.js} +1 -1
- package/dist/assets/{WorkflowPreview-MCXIiPMR.js → WorkflowPreview-DAQ7mvNi.js} +1 -1
- package/dist/assets/{WorkflowsView-BpzSj9Gu.js → WorkflowsView-ChU_EKMN.js} +6 -6
- package/dist/assets/{cloud-C5pqS4q0.js → cloud-CGOqFKZO.js} +1 -1
- package/dist/assets/{dateFormatter-BgjGibAI.js → dateFormatter-CfOgAO2k.js} +1 -1
- package/dist/assets/{index-TQ22MZub.js → index-BUjeBzRM.js} +1052 -616
- package/dist/assets/{index-BGyoJ6bM.css → index-DoeC8czU.css} +13 -21
- package/dist/assets/{pushConnection.store-DBI9rig9.js → pushConnection.store-BKOlrr3c.js} +1 -1
- package/dist/assets/{templateActions-BlnfhXAQ.js → templateActions-BTYgtgDN.js} +1 -1
- package/dist/assets/useBugReporting-lkBiyjPH.js +38 -0
- package/dist/assets/{useExecutionDebugging-rQ2a9vrr.js → useExecutionDebugging-C91tSyen.js} +1 -1
- package/dist/assets/useNodeViewVersionSwitcher-D2zGsXPQ.js +83 -0
- package/dist/assets/{usePushConnection-Bg_ZQZs0.js → usePushConnection-CQXTn-bO.js} +2 -2
- package/dist/assets/{useWorkflowActivate-DXNYJQNZ.js → useWorkflowActivate-DbL83lsy.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +1 -1
- package/dist/assets/CollectionParameter--dDx2Uul.js +0 -4
- package/dist/assets/useBeforeUnload-Db4Xtdlx.js +0 -43
|
@@ -16889,12 +16889,6 @@ body[data-theme=dark] .hljs-tag {
|
|
|
16889
16889
|
fill: var(--color-foreground-dark);
|
|
16890
16890
|
opacity: 0.2;
|
|
16891
16891
|
}
|
|
16892
|
-
/**
|
|
16893
|
-
* Pane
|
|
16894
|
-
*/
|
|
16895
|
-
.vue-flow__pane, .vue-flow__pane.draggable {
|
|
16896
|
-
cursor: default;
|
|
16897
|
-
}
|
|
16898
16892
|
/**
|
|
16899
16893
|
* Nodes
|
|
16900
16894
|
*/
|
|
@@ -16905,9 +16899,6 @@ body[data-theme=dark] .hljs-tag {
|
|
|
16905
16899
|
cursor: -webkit-grabbing;
|
|
16906
16900
|
cursor: grabbing;
|
|
16907
16901
|
}
|
|
16908
|
-
.vue-flow__node.selected {
|
|
16909
|
-
z-index: 1 !important;
|
|
16910
|
-
}
|
|
16911
16902
|
.vue-flow__node:has(.sticky--active) {
|
|
16912
16903
|
z-index: 1 !important;
|
|
16913
16904
|
}
|
|
@@ -16924,8 +16915,9 @@ body[data-theme=dark] .hljs-tag {
|
|
|
16924
16915
|
/**
|
|
16925
16916
|
* Edges
|
|
16926
16917
|
*/
|
|
16927
|
-
.vue-flow__edges,
|
|
16928
|
-
.vue-
|
|
16918
|
+
.vue-flow__edges:has(.selected),
|
|
16919
|
+
.vue-flow__edges:has(.hovered),
|
|
16920
|
+
.vue-flow__edge-label.selected {
|
|
16929
16921
|
z-index: 1 !important;
|
|
16930
16922
|
}
|
|
16931
16923
|
.executions-list-move,
|
|
@@ -22903,10 +22895,10 @@ code[class^=language-] {
|
|
|
22903
22895
|
align-items: baseline;
|
|
22904
22896
|
gap: var(--spacing-2xs);
|
|
22905
22897
|
}
|
|
22906
|
-
}.
|
|
22907
|
-
|
|
22898
|
+
}._editor-container_3iygj_1 {
|
|
22899
|
+
position: relative;
|
|
22908
22900
|
}
|
|
22909
|
-
.
|
|
22901
|
+
._fillHeight_3iygj_5 {
|
|
22910
22902
|
height: 100%;
|
|
22911
22903
|
}._modeSelector_1qpyk_1 {
|
|
22912
22904
|
--input-background-color: initial;
|
|
@@ -23043,13 +23035,13 @@ code[class^=language-] {
|
|
|
23043
23035
|
cursor: -webkit-grabbing;
|
|
23044
23036
|
cursor: grabbing;
|
|
23045
23037
|
border-width: 1px;
|
|
23046
|
-
}.readonly-code[data-v-
|
|
23038
|
+
}.readonly-code[data-v-2555b1e7] {
|
|
23047
23039
|
font-size: var(--font-size-xs);
|
|
23048
23040
|
}
|
|
23049
|
-
.switch-input[data-v-
|
|
23041
|
+
.switch-input[data-v-2555b1e7] {
|
|
23050
23042
|
margin: var(--spacing-5xs) 0 var(--spacing-2xs) 0;
|
|
23051
23043
|
}
|
|
23052
|
-
.parameter-value-container[data-v-
|
|
23044
|
+
.parameter-value-container[data-v-2555b1e7] {
|
|
23053
23045
|
display: -webkit-box;
|
|
23054
23046
|
display: -ms-flexbox;
|
|
23055
23047
|
display: flex;
|
|
@@ -23057,7 +23049,7 @@ code[class^=language-] {
|
|
|
23057
23049
|
-ms-flex-align: center;
|
|
23058
23050
|
align-items: center;
|
|
23059
23051
|
}
|
|
23060
|
-
.parameter-actions[data-v-
|
|
23052
|
+
.parameter-actions[data-v-2555b1e7] {
|
|
23061
23053
|
display: -webkit-inline-box;
|
|
23062
23054
|
display: -ms-inline-flexbox;
|
|
23063
23055
|
display: inline-flex;
|
|
@@ -23065,16 +23057,16 @@ code[class^=language-] {
|
|
|
23065
23057
|
-ms-flex-align: center;
|
|
23066
23058
|
align-items: center;
|
|
23067
23059
|
}
|
|
23068
|
-
.parameter-input[data-v-
|
|
23060
|
+
.parameter-input[data-v-2555b1e7] {
|
|
23069
23061
|
display: inline-block;
|
|
23070
23062
|
position: relative;
|
|
23071
23063
|
}
|
|
23072
|
-
.parameter-input[data-v-
|
|
23064
|
+
.parameter-input[data-v-2555b1e7] .color-input {
|
|
23073
23065
|
display: -webkit-box;
|
|
23074
23066
|
display: -ms-flexbox;
|
|
23075
23067
|
display: flex;
|
|
23076
23068
|
}
|
|
23077
|
-
.parameter-input[data-v-
|
|
23069
|
+
.parameter-input[data-v-2555b1e7] .color-input .el-color-picker__trigger {
|
|
23078
23070
|
border: none;
|
|
23079
23071
|
}.ql-editor {
|
|
23080
23072
|
padding: 6px;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { v as createEventBus, R as defineStore, S as STORES, Z as useRootStore, m as useSettingsStore, p as computed, r as ref, W as TIME } from "./index-
|
|
1
|
+
import { v as createEventBus, R as defineStore, S as STORES, Z as useRootStore, m as useSettingsStore, p as computed, r as ref, W as TIME } from "./index-BUjeBzRM.js";
|
|
2
2
|
const globalLinkActionsEventBus = createEventBus();
|
|
3
3
|
const usePushConnectionStore = defineStore(STORES.PUSH, () => {
|
|
4
4
|
const rootStore = useRootStore();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h_ as TEMPLATE_CREDENTIAL_SETUP_EXPERIMENT, eN as assert, V as VIEWS, gc as tryToParseNumber, i3 as doesNodeHaveCredentialsToFill, i4 as getNewWorkflow, i5 as replaceAllTemplateNodeCredentials, gb as getFixedNodesList } from "./index-BUjeBzRM.js";
|
|
2
2
|
async function createWorkflowFromTemplate(opts) {
|
|
3
3
|
const { credentialOverrides, nodeTypeProvider, rootStore, template, workflowsStore } = opts;
|
|
4
4
|
const workflowData = await getNewWorkflow(rootStore.restApiContext, { name: template.name });
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ho as useDebugInfo } from "./index-BUjeBzRM.js";
|
|
2
|
+
const BASE_FORUM_URL = "https://github.com/n8n-io/n8n/issues/new?labels=bug-report";
|
|
3
|
+
const REPORT_TEMPLATE = `
|
|
4
|
+
<!-- Please follow the template below. Skip the questions that are not relevant to you. -->
|
|
5
|
+
|
|
6
|
+
## Describe the problem/error/question
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## What is the error message (if any)?
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## Please share your workflow/screenshots/recording
|
|
13
|
+
|
|
14
|
+
\`\`\`
|
|
15
|
+
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
|
|
16
|
+
\`\`\`
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
## Share the output returned by the last node
|
|
20
|
+
<!-- If you need help with data transformations, please also share your expected output. -->
|
|
21
|
+
|
|
22
|
+
`;
|
|
23
|
+
function useBugReporting() {
|
|
24
|
+
const debugInfo = useDebugInfo();
|
|
25
|
+
const getReportingURL = () => {
|
|
26
|
+
const url = new URL(BASE_FORUM_URL);
|
|
27
|
+
const report = `${REPORT_TEMPLATE}
|
|
28
|
+
${debugInfo.generateDebugInfo({ skipSensitive: true, secondaryHeader: true })}}`;
|
|
29
|
+
url.searchParams.append("body", report);
|
|
30
|
+
return url.toString();
|
|
31
|
+
};
|
|
32
|
+
return {
|
|
33
|
+
getReportingURL
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export {
|
|
37
|
+
useBugReporting as u
|
|
38
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as useRouter, a as useToast, T as useWorkflowsStore, m as useSettingsStore, K as useUIStore, p as computed,
|
|
1
|
+
import { b as useRouter, a as useToast, T as useWorkflowsStore, m as useSettingsStore, K as useUIStore, p as computed, a7 as EnterpriseEditionFeature, bt as h, hf as sanitizeHtml, ad as MODAL_CONFIRM, V as VIEWS, Z as useRootStore, hs as isFullExecutionResponse, ht as DEBUG_PAYWALL_MODAL_KEY, aj as useTelemetry, g as useI18n, ak as useMessage } from "./index-BUjeBzRM.js";
|
|
2
2
|
const useExecutionDebugging = () => {
|
|
3
3
|
const telemetry = useTelemetry();
|
|
4
4
|
const router = useRouter();
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { K as useUIStore, $ as useCanvasStore, r as ref, p as computed, V as VIEWS, g as useI18n, ao as useNDVStore, T as useWorkflowsStore, m as useSettingsStore, hm as refDebounced, hn as useLocalStorage, aj as useTelemetry } from "./index-BUjeBzRM.js";
|
|
2
|
+
function useBeforeUnload({ route }) {
|
|
3
|
+
const uiStore = useUIStore();
|
|
4
|
+
const canvasStore = useCanvasStore();
|
|
5
|
+
const i18n = useI18n();
|
|
6
|
+
const unloadTimeout = ref(null);
|
|
7
|
+
const isDemoRoute = computed(() => route.name === VIEWS.DEMO);
|
|
8
|
+
const handlers = [];
|
|
9
|
+
function onBeforeUnload(e) {
|
|
10
|
+
if (isDemoRoute.value || window.preventNodeViewBeforeUnload) {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
handlers.forEach((handler) => handler());
|
|
14
|
+
if (uiStore.stateIsDirty) {
|
|
15
|
+
e.returnValue = true;
|
|
16
|
+
return true;
|
|
17
|
+
} else {
|
|
18
|
+
canvasStore.startLoading(i18n.baseText("nodeView.redirecting"));
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
function addBeforeUnloadHandler(handler) {
|
|
23
|
+
handlers.push(handler);
|
|
24
|
+
}
|
|
25
|
+
function addBeforeUnloadEventBindings() {
|
|
26
|
+
window.addEventListener("beforeunload", onBeforeUnload);
|
|
27
|
+
}
|
|
28
|
+
function removeBeforeUnloadEventBindings() {
|
|
29
|
+
if (unloadTimeout.value) {
|
|
30
|
+
clearTimeout(unloadTimeout.value);
|
|
31
|
+
}
|
|
32
|
+
window.removeEventListener("beforeunload", onBeforeUnload);
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
onBeforeUnload,
|
|
36
|
+
addBeforeUnloadEventBindings,
|
|
37
|
+
removeBeforeUnloadEventBindings,
|
|
38
|
+
addBeforeUnloadHandler
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function useNodeViewVersionSwitcher() {
|
|
42
|
+
const ndvStore = useNDVStore();
|
|
43
|
+
const workflowsStore = useWorkflowsStore();
|
|
44
|
+
const settingsStore = useSettingsStore();
|
|
45
|
+
const telemetry = useTelemetry();
|
|
46
|
+
const isNewUser = computed(() => workflowsStore.activeWorkflows.length === 0);
|
|
47
|
+
const isNewUserDebounced = refDebounced(isNewUser, 3e3);
|
|
48
|
+
const nodeViewVersion = useLocalStorage(
|
|
49
|
+
"NodeView.version",
|
|
50
|
+
settingsStore.deploymentType === "n8n-internal" ? "2" : "1"
|
|
51
|
+
);
|
|
52
|
+
function setNodeViewSwitcherDropdownOpened(visible) {
|
|
53
|
+
if (!visible) {
|
|
54
|
+
setNodeViewSwitcherDiscovered();
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
const nodeViewSwitcherDiscovered = useLocalStorage("NodeView.switcher.discovered", false);
|
|
58
|
+
function setNodeViewSwitcherDiscovered() {
|
|
59
|
+
nodeViewSwitcherDiscovered.value = true;
|
|
60
|
+
}
|
|
61
|
+
const isNodeViewDiscoveryTooltipVisible = computed(
|
|
62
|
+
() => !ndvStore.activeNodeName && nodeViewVersion.value !== "2" && !(isNewUserDebounced.value || nodeViewSwitcherDiscovered.value)
|
|
63
|
+
);
|
|
64
|
+
function switchNodeViewVersion() {
|
|
65
|
+
const toVersion = nodeViewVersion.value === "1" ? "2" : "1";
|
|
66
|
+
telemetry.track("User switched canvas version", {
|
|
67
|
+
to_version: toVersion
|
|
68
|
+
});
|
|
69
|
+
nodeViewVersion.value = toVersion;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
nodeViewVersion,
|
|
73
|
+
nodeViewSwitcherDiscovered,
|
|
74
|
+
isNodeViewDiscoveryTooltipVisible,
|
|
75
|
+
setNodeViewSwitcherDropdownOpened,
|
|
76
|
+
setNodeViewSwitcherDiscovered,
|
|
77
|
+
switchNodeViewVersion
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
export {
|
|
81
|
+
useNodeViewVersionSwitcher as a,
|
|
82
|
+
useBeforeUnload as u
|
|
83
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as usePushConnectionStore, g as globalLinkActionsEventBus } from "./pushConnection.store-
|
|
1
|
+
import { il as makeRestApiRequest, R as defineStore, Z as useRootStore, d as defineComponent, c as openBlock, h as createElementBlock, k as createTextVNode, t as toDisplayString, j as createBaseVNode, A as unref, g as useI18n, a4 as useWorkflowHelpers, dl as useNodeHelpers, a as useToast, dt as useCredentialsStore, cZ as useNodeTypesStore, m as useSettingsStore, K as useUIStore, T as useWorkflowsStore, im as useAssistantStore, r as ref, io as parse, ip as codeNodeEditorEventBus, af as WORKFLOW_SETTINGS_MODAL_KEY, g9 as generateNodesGraph, bt as h, er as getTriggerNodeServiceName, aF as useExternalHooks, aj as useTelemetry } from "./index-BUjeBzRM.js";
|
|
2
|
+
import { u as usePushConnectionStore, g as globalLinkActionsEventBus } from "./pushConnection.store-BKOlrr3c.js";
|
|
3
3
|
const GET_STATUS_ENDPOINT = "/orchestration/worker/status";
|
|
4
4
|
const sendGetWorkerStatus = async (context) => {
|
|
5
5
|
await makeRestApiRequest(context, "POST", GET_STATUS_ENDPOINT);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as ref, b as useRouter, a4 as useWorkflowHelpers, T as useWorkflowsStore, K as useUIStore, a as useToast, a2 as useNpsSurveyStore, X as PLACEHOLDER_EMPTY_WORKFLOW_ID, aF as useExternalHooks,
|
|
1
|
+
import { r as ref, b as useRouter, a4 as useWorkflowHelpers, T as useWorkflowsStore, K as useUIStore, a as useToast, a2 as useNpsSurveyStore, X as PLACEHOLDER_EMPTY_WORKFLOW_ID, aF as useExternalHooks, az as useStorage, ir as LOCAL_STORAGE_ACTIVATION_FLAG, is as WORKFLOW_ACTIVE_MODAL_KEY, aj as useTelemetry, g as useI18n } from "./index-BUjeBzRM.js";
|
|
2
2
|
function useWorkflowActivate() {
|
|
3
3
|
const updatingWorkflowActivation = ref(false);
|
|
4
4
|
const router = useRouter();
|
package/dist/index.html
CHANGED
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
<script>!function(t,e){var o,n,p,r;e.__SV||(window.posthog=e,e._i=[],e.init=function(i,s,a){function g(t,e){var o=e.split(".");2==o.length&&(t=t[o[0]],e=o[1]),t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}}(p=t.createElement("script")).type="text/javascript",p.async=!0,p.src=s.api_host+"/static/array.js",(r=t.getElementsByTagName("script")[0]).parentNode.insertBefore(p,r);var u=e;for(void 0!==a?u=e[a]=[]:a="posthog",u.people=u.people||[],u.toString=function(t){var e="posthog";return"posthog"!==a&&(e+="."+a),t||(e+=" (stub)"),e},u.people.toString=function(){return u.toString(1)+".people (stub)"},o="capture identify alias people.set people.set_once set_config register register_once unregister opt_out_capturing has_opted_out_capturing opt_in_capturing reset isFeatureEnabled getFeatureFlag onFeatureFlags reloadFeatureFlags".split(" "),n=0;n<o.length;n++)g(u,o[n]);e._i.push([i,s,a])},e.__SV=1)}(document,window.posthog||[])</script>
|
|
14
14
|
|
|
15
15
|
<title>n8n.io - Workflow Automation</title>
|
|
16
|
-
<script type="module" crossorigin src="/{{BASE_PATH}}/assets/index-
|
|
17
|
-
<link rel="stylesheet" crossorigin href="/{{BASE_PATH}}/assets/index-
|
|
16
|
+
<script type="module" crossorigin src="/{{BASE_PATH}}/assets/index-BUjeBzRM.js"></script>
|
|
17
|
+
<link rel="stylesheet" crossorigin href="/{{BASE_PATH}}/assets/index-DoeC8czU.css">
|
|
18
18
|
</head>
|
|
19
19
|
<body>
|
|
20
20
|
<noscript>
|
package/package.json
CHANGED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { K as useUIStore, $ as useCanvasStore, r as ref, p as computed, V as VIEWS, g as useI18n } from "./index-TQ22MZub.js";
|
|
2
|
-
function useBeforeUnload({ route }) {
|
|
3
|
-
const uiStore = useUIStore();
|
|
4
|
-
const canvasStore = useCanvasStore();
|
|
5
|
-
const i18n = useI18n();
|
|
6
|
-
const unloadTimeout = ref(null);
|
|
7
|
-
const isDemoRoute = computed(() => route.name === VIEWS.DEMO);
|
|
8
|
-
const handlers = [];
|
|
9
|
-
function onBeforeUnload(e) {
|
|
10
|
-
if (isDemoRoute.value || window.preventNodeViewBeforeUnload) {
|
|
11
|
-
return;
|
|
12
|
-
}
|
|
13
|
-
handlers.forEach((handler) => handler());
|
|
14
|
-
if (uiStore.stateIsDirty) {
|
|
15
|
-
e.returnValue = true;
|
|
16
|
-
return true;
|
|
17
|
-
} else {
|
|
18
|
-
canvasStore.startLoading(i18n.baseText("nodeView.redirecting"));
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
function addBeforeUnloadHandler(handler) {
|
|
23
|
-
handlers.push(handler);
|
|
24
|
-
}
|
|
25
|
-
function addBeforeUnloadEventBindings() {
|
|
26
|
-
window.addEventListener("beforeunload", onBeforeUnload);
|
|
27
|
-
}
|
|
28
|
-
function removeBeforeUnloadEventBindings() {
|
|
29
|
-
if (unloadTimeout.value) {
|
|
30
|
-
clearTimeout(unloadTimeout.value);
|
|
31
|
-
}
|
|
32
|
-
window.removeEventListener("beforeunload", onBeforeUnload);
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
onBeforeUnload,
|
|
36
|
-
addBeforeUnloadEventBindings,
|
|
37
|
-
removeBeforeUnloadEventBindings,
|
|
38
|
-
addBeforeUnloadHandler
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
export {
|
|
42
|
-
useBeforeUnload as u
|
|
43
|
-
};
|