n8n-editor-ui 1.64.0 → 1.65.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-D3L0Zqex.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-zjBSFUdu.js} +2 -2
- package/dist/assets/{AuthView-Bc_d9TU4.js → AuthView-DT0UnP_r.js} +1 -1
- package/dist/assets/{CanvasControls-BZZ5xUA4.js → CanvasControls-D6wfBw3W.js} +1 -1
- package/dist/assets/{ChangePasswordView-BmKDYqVl.js → ChangePasswordView-la8y8xt1.js} +2 -2
- package/dist/assets/CollectionParameter-BbkcZgkH.js +4 -0
- package/dist/assets/{CredentialsView-BERKB9pX.js → CredentialsView-0RYVVULU.js} +4 -4
- package/dist/assets/{ErrorView-CGHYke1h.js → ErrorView-C_zReEUp.js} +1 -1
- package/dist/assets/{ExecutionsFilter-DgmpIaxp.js → ExecutionsFilter-Dh59WT7U.js} +2 -2
- package/dist/assets/{ExecutionsView-BVJE03N7.js → ExecutionsView-gmiNPpst.js} +5 -5
- package/dist/assets/{FileSaver.min-vFM8HBH6.js → FileSaver.min-CaVc_BXw.js} +1 -1
- package/dist/assets/{FixedCollectionParameter-Cu1pUHaU.js → FixedCollectionParameter-CkQiNesA.js} +1 -1
- package/dist/assets/{ForgotMyPasswordView-CA1z31op.js → ForgotMyPasswordView-B7JE47s6.js} +2 -2
- package/dist/assets/{MainHeader-m131IPYi.css → MainHeader-Bc5G9_Uq.css} +20 -14
- package/dist/assets/{MainHeader-lphq3_C7.js → MainHeader-tG2K1hX3.js} +73 -37
- package/dist/assets/{MainSidebar-CkmsLAKw.js → MainSidebar-9NQDylGY.js} +75 -38
- package/dist/assets/{MainSidebar-BL0mGB2I.css → MainSidebar-cNW0UJBC.css} +15 -6
- package/dist/assets/{NodeCreation-CDKKeIJl.js → NodeCreation-DTzzm251.js} +4 -4
- package/dist/assets/{NodeCreator-vrcCon6T.js → NodeCreator-hORMDhrA.js} +11 -13
- package/dist/assets/{NodeViewSwitcher-DFIa0RPL.css → NodeViewSwitcher-D03yxHpn.css} +131 -117
- package/dist/assets/{NodeViewSwitcher-CebfwLIC.js → NodeViewSwitcher-s5LQOzlm.js} +642 -646
- package/dist/assets/{ProjectCardBadge.vue_vue_type_script_setup_true_lang-FPZVaoxg.js → ProjectCardBadge.vue_vue_type_script_setup_true_lang-Ba-yrh3J.js} +1 -1
- package/dist/assets/{ProjectSettings-CGPWNP7C.js → ProjectSettings-CyOAG84u.js} +2 -2
- package/dist/assets/{ProjectTabs-D-UxAFWq.js → ProjectTabs-CFxQVPs3.js} +3 -3
- package/dist/assets/{PushConnectionTracker-dMPKSiLd.js → PushConnectionTracker-CjC7apu-.js} +1 -1
- package/dist/assets/{ResourcesListLayout-BmEYzLen.js → ResourcesListLayout-T5bbzLpX.js} +1 -1
- package/dist/assets/{RunDataAi-iy_LiKYx.js → RunDataAi-C0enECKq.js} +2 -2
- package/dist/assets/{RunDataJson-30CwTvxp.js → RunDataJson-B8mMmmT-.js} +12 -11
- package/dist/assets/{RunDataJsonActions-DM8Iegu4.js → RunDataJsonActions-Sk9iYJTZ.js} +1 -1
- package/dist/assets/{RunDataSearch-BBZyQz1l.js → RunDataSearch-ChekvsYU.js} +1 -1
- package/dist/assets/{RunDataTable-DlYCaRmD.js → RunDataTable-CJGrGJ85.js} +1 -1
- package/dist/assets/{SamlOnboarding-YPyqQAED.js → SamlOnboarding-CjkITJGn.js} +2 -2
- package/dist/assets/{SettingsApiView-DM8-r2vC.js → SettingsApiView-B8F9WfyJ.js} +1 -1
- package/dist/assets/{SettingsCommunityNodesView-CKUSvNJA.js → SettingsCommunityNodesView-Jkkxl23p.js} +3 -3
- package/dist/assets/{SettingsExternalSecrets-rn0Uon3J.js → SettingsExternalSecrets-Dexfxers.js} +1 -1
- package/dist/assets/{SettingsFakeDoorView-DRt2eUs1.js → SettingsFakeDoorView-DCJWDYVy.js} +1 -1
- package/dist/assets/{SettingsLdapView-BkNvZbuP.js → SettingsLdapView-DSu1yimU.js} +1 -1
- package/dist/assets/{SettingsLogStreamingView-DJgGrIQ1.js → SettingsLogStreamingView-D3lN6EYR.js} +1 -1
- package/dist/assets/{SettingsPersonalView-B2bLHSrL.js → SettingsPersonalView-BNr37i54.js} +17 -3
- package/dist/assets/{SettingsSourceControl-B_iPYBUX.js → SettingsSourceControl-DILxPXS8.js} +1 -1
- package/dist/assets/{SettingsSso-Bo8ktz1t.js → SettingsSso-BMeAeecY.js} +1 -1
- package/dist/assets/{SettingsUsageAndPlan-C9jiEOqE.js → SettingsUsageAndPlan-BNwl8f6L.js} +10 -3
- package/dist/assets/{SettingsUsageAndPlan-B72odhIc.css → SettingsUsageAndPlan-C76Ty5yF.css} +3 -3
- package/dist/assets/{SettingsUsersView-Do-E2R-M.js → SettingsUsersView-JMZybS1J.js} +1 -1
- package/dist/assets/{SettingsView-DK-_ao4_.js → SettingsView-BNFEDwbY.js} +1 -1
- package/dist/assets/{SetupView-ZFKQKIJD.js → SetupView-DMsWDznG.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-BaMJBfk2.js → SetupWorkflowCredentialsButton-BDBmuKsT.js} +1 -1
- package/dist/assets/{SetupWorkflowFromTemplateView-BvmNbGYh.js → SetupWorkflowFromTemplateView-Cb6R0INn.js} +3 -3
- package/dist/assets/{SigninView-k_FnQgNC.js → SigninView-BbwKl6x1.js} +2 -2
- package/dist/assets/{SignoutView-DTgJmCun.js → SignoutView-CctYANgw.js} +1 -1
- package/dist/assets/{SignupView-GFIqKxQ1.js → SignupView-6MC0Ssrk.js} +2 -2
- package/dist/assets/{TemplateDetails-CrE5d8Z2.js → TemplateDetails-BmiAC0GE.js} +1 -1
- package/dist/assets/{TemplateList-DugVXLa6.js → TemplateList-2XF1iUHb.js} +1 -1
- package/dist/assets/{TemplatesCollectionView-BulzRTVk.js → TemplatesCollectionView-CYqdiPOM.js} +5 -5
- package/dist/assets/{TemplatesSearchView--aU9JJ_A.js → TemplatesSearchView-wQ_ymDEU.js} +3 -3
- package/dist/assets/{TemplatesView-VxuSLtRB.js → TemplatesView-DGr5Voff.js} +1 -1
- package/dist/assets/{TemplatesWorkflowView-DEOmoGFU.js → TemplatesWorkflowView-RJrwmhVg.js} +5 -5
- package/dist/assets/{VariablesView-D0qaiG35.js → VariablesView-C8IVePi4.js} +2 -2
- package/dist/assets/{WorkerView-BQWPVPCG.js → WorkerView-BaUhJGir.js} +5 -5
- package/dist/assets/{WorkflowActivator-CFE8HnEQ.js → WorkflowActivator-BBHL80xC.js} +2 -2
- package/dist/assets/{WorkflowExecutionsInfoAccordion-j1oBChRL.js → WorkflowExecutionsInfoAccordion-gdMWo-e-.js} +1 -1
- package/dist/assets/{WorkflowExecutionsLandingPage-7PqoziUe.js → WorkflowExecutionsLandingPage-CKrId0XR.js} +2 -2
- package/dist/assets/{WorkflowExecutionsPreview-BCKc44DY.js → WorkflowExecutionsPreview-BC6sTWIe.js} +5 -5
- package/dist/assets/{WorkflowExecutionsView-De-rqjwc.js → WorkflowExecutionsView-DoD9yJwW.js} +5 -5
- package/dist/assets/{WorkflowHistory-BQHDI-k-.js → WorkflowHistory-BEK5YOVc.js} +3 -3
- package/dist/assets/{WorkflowOnboardingView-B3aKS1PJ.js → WorkflowOnboardingView-B4t0qSe3.js} +1 -1
- package/dist/assets/{WorkflowPreview-jblZXN9D.js → WorkflowPreview-BOcV66_b.js} +1 -1
- package/dist/assets/{WorkflowsView-DQqwovww.js → WorkflowsView-vmUlLwl1.js} +6 -6
- package/dist/assets/{cloud-ChkMgrsu.js → cloud-ChdKumGs.js} +1 -1
- package/dist/assets/{dateFormatter-BOFH7hQn.js → dateFormatter-9d-pd85d.js} +1 -1
- package/dist/assets/{index-B5Li9oNe.js → index-Be6oKJqR.js} +1090 -621
- package/dist/assets/{index-BGyoJ6bM.css → index-D_IylcbL.css} +10 -10
- package/dist/assets/{pushConnection.store-Cp0wdk-m.js → pushConnection.store-BZskIAMJ.js} +1 -1
- package/dist/assets/{templateActions-DbRugCSY.js → templateActions-mq62HcDD.js} +1 -1
- package/dist/assets/useBugReporting-CRaeQTi6.js +38 -0
- package/dist/assets/{useExecutionDebugging-Czs7eCHy.js → useExecutionDebugging-EkbnQ-91.js} +1 -1
- package/dist/assets/useNodeViewVersionSwitcher-g9046tgD.js +83 -0
- package/dist/assets/{usePushConnection-CLr2QrgA.js → usePushConnection-dFSqHluh.js} +2 -2
- package/dist/assets/{useWorkflowActivate-D9OoUkBo.js → useWorkflowActivate-DD8xKyyQ.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +1 -1
- package/dist/assets/CollectionParameter-CZX6_SwN.js +0 -4
- package/dist/assets/useBeforeUnload-HSb2Wsej.js +0 -43
|
@@ -22903,10 +22903,10 @@ code[class^=language-] {
|
|
|
22903
22903
|
align-items: baseline;
|
|
22904
22904
|
gap: var(--spacing-2xs);
|
|
22905
22905
|
}
|
|
22906
|
-
}.
|
|
22907
|
-
|
|
22906
|
+
}._editor-container_3iygj_1 {
|
|
22907
|
+
position: relative;
|
|
22908
22908
|
}
|
|
22909
|
-
.
|
|
22909
|
+
._fillHeight_3iygj_5 {
|
|
22910
22910
|
height: 100%;
|
|
22911
22911
|
}._modeSelector_1qpyk_1 {
|
|
22912
22912
|
--input-background-color: initial;
|
|
@@ -23043,13 +23043,13 @@ code[class^=language-] {
|
|
|
23043
23043
|
cursor: -webkit-grabbing;
|
|
23044
23044
|
cursor: grabbing;
|
|
23045
23045
|
border-width: 1px;
|
|
23046
|
-
}.readonly-code[data-v-
|
|
23046
|
+
}.readonly-code[data-v-2555b1e7] {
|
|
23047
23047
|
font-size: var(--font-size-xs);
|
|
23048
23048
|
}
|
|
23049
|
-
.switch-input[data-v-
|
|
23049
|
+
.switch-input[data-v-2555b1e7] {
|
|
23050
23050
|
margin: var(--spacing-5xs) 0 var(--spacing-2xs) 0;
|
|
23051
23051
|
}
|
|
23052
|
-
.parameter-value-container[data-v-
|
|
23052
|
+
.parameter-value-container[data-v-2555b1e7] {
|
|
23053
23053
|
display: -webkit-box;
|
|
23054
23054
|
display: -ms-flexbox;
|
|
23055
23055
|
display: flex;
|
|
@@ -23057,7 +23057,7 @@ code[class^=language-] {
|
|
|
23057
23057
|
-ms-flex-align: center;
|
|
23058
23058
|
align-items: center;
|
|
23059
23059
|
}
|
|
23060
|
-
.parameter-actions[data-v-
|
|
23060
|
+
.parameter-actions[data-v-2555b1e7] {
|
|
23061
23061
|
display: -webkit-inline-box;
|
|
23062
23062
|
display: -ms-inline-flexbox;
|
|
23063
23063
|
display: inline-flex;
|
|
@@ -23065,16 +23065,16 @@ code[class^=language-] {
|
|
|
23065
23065
|
-ms-flex-align: center;
|
|
23066
23066
|
align-items: center;
|
|
23067
23067
|
}
|
|
23068
|
-
.parameter-input[data-v-
|
|
23068
|
+
.parameter-input[data-v-2555b1e7] {
|
|
23069
23069
|
display: inline-block;
|
|
23070
23070
|
position: relative;
|
|
23071
23071
|
}
|
|
23072
|
-
.parameter-input[data-v-
|
|
23072
|
+
.parameter-input[data-v-2555b1e7] .color-input {
|
|
23073
23073
|
display: -webkit-box;
|
|
23074
23074
|
display: -ms-flexbox;
|
|
23075
23075
|
display: flex;
|
|
23076
23076
|
}
|
|
23077
|
-
.parameter-input[data-v-
|
|
23077
|
+
.parameter-input[data-v-2555b1e7] .color-input .el-color-picker__trigger {
|
|
23078
23078
|
border: none;
|
|
23079
23079
|
}.ql-editor {
|
|
23080
23080
|
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-Be6oKJqR.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-Be6oKJqR.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-Be6oKJqR.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-Be6oKJqR.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-Be6oKJqR.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-Be6oKJqR.js";
|
|
2
|
+
import { u as usePushConnectionStore, g as globalLinkActionsEventBus } from "./pushConnection.store-BZskIAMJ.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-Be6oKJqR.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-Be6oKJqR.js"></script>
|
|
17
|
+
<link rel="stylesheet" crossorigin href="/{{BASE_PATH}}/assets/index-D_IylcbL.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-B5Li9oNe.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
|
-
};
|