n8n-editor-ui 1.60.1 → 1.62.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/@n8n/api-types-CxHrH5Ag.js +1 -0
- package/dist/assets/@n8n/{codemirror-lang-sql-C41WNa63.js → codemirror-lang-sql-Bygy_eOg.js} +5 -5
- package/dist/assets/@sentry/vue-UFuYeDxK.js +23662 -0
- package/dist/assets/@vue-flow/{background-BBsDO5na.js → background-VFdKMN89.js} +2 -2
- package/dist/assets/@vue-flow/{controls-3RHEV3L7.js → controls-ByUYVWad.js} +2 -2
- package/dist/assets/@vue-flow/{core-CM-Aqnx_.js → core-DgOSPOHv.js} +1 -1
- package/dist/assets/@vue-flow/{minimap-CbqX0yYi.js → minimap-CXuyA5pl.js} +2 -2
- package/dist/assets/@vue-flow/{node-resizer-CV5M1itj.js → node-resizer-BiyXe9J3.js} +2 -2
- package/dist/assets/@vueuse/{core-BZR8MlRU.js → core-A8AAAljH.js} +6 -6
- package/dist/assets/{AnnotationTagsDropdown-C6L10zAt.js → AnnotationTagsDropdown.ee-mUu5T0tU.js} +7 -6
- package/dist/assets/{AuthView-CFsZVOHy.css → AuthView-BnHKMYu_.css} +3 -3
- package/dist/assets/AuthView-cCH1ZFxz.js +157 -0
- package/dist/assets/{CanvasControls-DhP5_ZaG.js → CanvasControls-Dzk7BXvt.js} +16 -15
- package/dist/assets/ChangePasswordView-C-hzAV5J.js +177 -0
- package/dist/assets/{CredentialsView-zPqWzrJZ.js → CredentialsView-Bi4lOx9G.js} +22 -19
- package/dist/assets/{ErrorView-C7_LED8T.js → ErrorView-CL_B0_IM.js} +16 -15
- package/dist/assets/{ExecutionsFilter-DTy4NQw_.css → ExecutionsFilter-BecTg03r.css} +6 -6
- package/dist/assets/{ExecutionsFilter-CaMUarba.js → ExecutionsFilter-Bmf8tmri.js} +7 -10
- package/dist/assets/{ExecutionsView-D-faxzDF.js → ExecutionsView-BhkQu2ph.js} +47 -22
- package/dist/assets/{FixedCollectionParameter-BOqBR9JK.js → FixedCollectionParameter-CtjVOOBw.js} +16 -15
- package/dist/assets/ForgotMyPasswordView-lCgL2d4C.js +127 -0
- package/dist/assets/{MainHeader-C01NSlgx.css → MainHeader-PNFUlNPa.css} +9 -9
- package/dist/assets/{MainHeader-D5QtvVVm.js → MainHeader-xZeUKO3O.js} +27 -26
- package/dist/assets/{MainSidebar-CVXe55j5.js → MainSidebar-nNVDMzvW.js} +15 -14
- package/dist/assets/{NodeCreation-DaYUHVNB.css → NodeCreation-30KXmZi2.css} +6 -8
- package/dist/assets/{NodeCreation-CM9wiEKu.js → NodeCreation-CUrrlBgR.js} +39 -42
- package/dist/assets/{NodeCreator-DRzlClIY.js → NodeCreator-DHaVpCdb.js} +69 -33
- package/dist/assets/{NodeViewSwitcher-9b7PTcw5.css → NodeViewSwitcher-DZNvWE_C.css} +131 -95
- package/dist/assets/{NodeViewSwitcher-BWkrDbac.js → NodeViewSwitcher-vGEVZgHJ.js} +789 -600
- package/dist/assets/{ProjectCardBadge-BoGz9diL.js → ProjectCardBadge-38h9YkEV.js} +8 -3
- package/dist/assets/{ProjectSettings-B7iqwGnI.js → ProjectSettings-Ba7NDCJu.js} +21 -16
- package/dist/assets/{ProjectTabs-Cvrg52Pf.js → ProjectTabs-CcHROgCr.js} +3 -3
- package/dist/assets/{PushConnectionTracker-DOnROXP4.js → PushConnectionTracker-Cswc3AVS.js} +4 -4
- package/dist/assets/{ResourcesListLayout-BF42RJP6.js → ResourcesListLayout-DchHS6X4.js} +9 -7
- package/dist/assets/{RunDataAi-BBCJLEbr.js → RunDataAi-BASZn4vn.js} +6 -24
- package/dist/assets/RunDataJson-Dc-zyTVL.js +219 -0
- package/dist/assets/{RunDataJson-DGge2zsB.css → RunDataJson-Dtc8i0I7.css} +12 -10
- package/dist/assets/{RunDataJsonActions-r9WehaXR.js → RunDataJsonActions-By8uYyXg.js} +17 -16
- package/dist/assets/{RunDataSearch-DEZgbY-N.js → RunDataSearch-DKdf85VL.js} +16 -15
- package/dist/assets/{RunDataTable-D3OOm7ll.js → RunDataTable-Cn6nzmGa.js} +21 -20
- package/dist/assets/{SamlOnboarding-CkD-eWMm.js → SamlOnboarding-Dfhrttxd.js} +27 -23
- package/dist/assets/{SettingsApiView-D3BTk9vw.js → SettingsApiView-BbRTrXcD.js} +33 -27
- package/dist/assets/{SettingsCommunityNodesView-q-tCQNcW.js → SettingsCommunityNodesView-BfDdkK-x.js} +23 -45
- package/dist/assets/{SettingsExternalSecrets-4GeXTRK_.js → SettingsExternalSecrets-Bl-wlBde.js} +17 -14
- package/dist/assets/{SettingsFakeDoorView-D27PjwUb.js → SettingsFakeDoorView-QqE3QukO.js} +16 -15
- package/dist/assets/SettingsLdapView-BE8xSeHz.js +748 -0
- package/dist/assets/{SettingsLogStreamingView-CNoL-zt6.js → SettingsLogStreamingView-BPJCiQ1I.js} +19 -16
- package/dist/assets/{SettingsPersonalView-FC1RJZD3.js → SettingsPersonalView-DSvT3Zu1.js} +18 -15
- package/dist/assets/{SettingsSourceControl-_HOgFrui.js → SettingsSourceControl-DUJaw-Xf.js} +18 -15
- package/dist/assets/{SettingsSso-C-eicXLy.js → SettingsSso-8NreTxhm.js} +18 -15
- package/dist/assets/{SettingsUsageAndPlan-PX3ezziV.js → SettingsUsageAndPlan-CDh5zcRw.js} +23 -37
- package/dist/assets/{SettingsUsageAndPlan-9dhwk2eO.css → SettingsUsageAndPlan-DDB0UVxU.css} +3 -3
- package/dist/assets/{SettingsUsersView-CSHs7EOy.js → SettingsUsersView-DQ-DCRZ1.js} +18 -15
- package/dist/assets/SettingsView-_vMUadDF.js +276 -0
- package/dist/assets/SetupView-Df7KdxaQ.js +140 -0
- package/dist/assets/{SetupWorkflowCredentialsButton-DDUqVzq4.js → SetupWorkflowCredentialsButton-DQQqU73T.js} +14 -13
- package/dist/assets/{SetupWorkflowFromTemplateView-BOzz1mg-.js → SetupWorkflowFromTemplateView-CamrTW9w.js} +18 -17
- package/dist/assets/{SigninView-CBZFW33H.js → SigninView-Bk-N1gPe.js} +125 -137
- package/dist/assets/{SignoutView-CsZY5epQ.js → SignoutView-ChwcohBv.js} +14 -13
- package/dist/assets/{SignupView-BMZ58KZV.js → SignupView-BLXUTU5v.js} +15 -14
- package/dist/assets/{TemplateDetails-yCPWrFJ_.js → TemplateDetails-DvcKd566.js} +4 -4
- package/dist/assets/{TemplateList-D6SkLaGz.js → TemplateList-BmQV74po.js} +3 -3
- package/dist/assets/TemplatesCollectionView-C3-PQCQu.js +241 -0
- package/dist/assets/{TemplatesSearchView-Vf3xXYJ5.js → TemplatesSearchView-cuS8bvak.js} +145 -163
- package/dist/assets/{TemplatesView-1ta2NOlv.js → TemplatesView-ClNtJ2ov.js} +3 -3
- package/dist/assets/TemplatesWorkflowView-CzrIrhUD.js +246 -0
- package/dist/assets/{VariablesView-DoD7bryP.js → VariablesView-CCnuUdXB.js} +23 -18
- package/dist/assets/{VariablesView-Bj3MOQeD.css → VariablesView-CHXdt5-z.css} +18 -18
- package/dist/assets/{WorkerView-DBAJ7wby.js → WorkerView-DyoF7ooc.js} +23 -21
- package/dist/assets/{WorkflowActivator-CEAGoTVp.js → WorkflowActivator-RvLc-qAh.js} +4 -4
- package/dist/assets/{WorkflowExecutionsInfoAccordion-Cm1Tl7oM.js → WorkflowExecutionsInfoAccordion-Bg0qCmnO.js} +3 -3
- package/dist/assets/{WorkflowExecutionsLandingPage-DNYtElvS.js → WorkflowExecutionsLandingPage-gbIC1-W0.js} +17 -16
- package/dist/assets/{WorkflowExecutionsPreview-D6jklpDe.js → WorkflowExecutionsPreview-K6TfT99N.js} +36 -27
- package/dist/assets/{WorkflowExecutionsView-Bfiz_05B.js → WorkflowExecutionsView-B153CRdQ.js} +70 -50
- package/dist/assets/{WorkflowExecutionsView-DqAlwS1H.css → WorkflowExecutionsView-B8x2-iOd.css} +32 -32
- package/dist/assets/{WorkflowHistory-B6J45Y57.js → WorkflowHistory-BDoz9lQx.js} +18 -17
- package/dist/assets/{WorkflowOnboardingView-sLbtLj5U.js → WorkflowOnboardingView-BxjLFVFS.js} +14 -13
- package/dist/assets/{WorkflowPreview-C2PJW2WU.js → WorkflowPreview-CzGXadkf.js} +3 -3
- package/dist/assets/{WorkflowsView-B3hH8n6V.js → WorkflowsView-CwxMKB51.js} +26 -23
- package/dist/assets/{cloud-D5p2bTjc.js → cloud-B1p-KZWU.js} +14 -13
- package/dist/assets/{codemirror-lang-html-n8n-CXTCIWzP.js → codemirror-lang-html-n8n-COz1fWJn.js} +1 -1
- package/dist/assets/{dateFormatter-BQycHW-g.js → dateFormatter-vLfenR8L.js} +7 -3
- package/dist/assets/{dateformat-DYMw-0LU.js → dateformat-BGl-JyZv.js} +1 -1
- package/dist/assets/email-providers-DKCy3_XM.js +1 -0
- package/dist/assets/{fast-json-stable-stringify-dgHKYgJi.js → fast-json-stable-stringify-U-rSQs8f.js} +1 -1
- package/dist/assets/{file-saver-taM_eo9L.js → file-saver-kjhT_TS0.js} +1 -1
- package/dist/assets/highlight.js-DKCy3_XM.js +1 -0
- package/dist/assets/{humanize-duration-DLMU-N1g.js → humanize-duration-Ctua_P33.js} +1 -1
- package/dist/assets/{index-DAAQrhEE.js → index-Cpj7dgjR.js} +19484 -19225
- package/dist/assets/{index-CDdd6K0Q.css → index-DLT0DWwS.css} +669 -299
- package/dist/assets/{jsonpath-B2TgTZLp.js → jsonpath-B3CL4C9V.js} +1 -1
- package/dist/assets/{lodash-es-rVh4nriD.js → lodash-es-kRWQHL5K.js} +2 -2
- package/dist/assets/{n8n-CZShcbZx.css → n8n-2AIRllP4.css} +415 -179
- package/dist/assets/{n8n-DS_nZ0wb.js → n8n-DKG-k8tQ.js} +2683 -2746
- package/dist/assets/{pinia-C4PgcsWV.js → pinia-CH9HlKCh.js} +155 -8
- package/dist/assets/{prettier-_aQB57xD.js → prettier-DuWRKCwA.js} +1115 -1052
- package/dist/assets/{pushConnection.store-CGzscDgD.js → pushConnection.store-CWlxAgml.js} +3 -3
- package/dist/assets/{qrcode.vue-EmD3D6Vb.js → qrcode.vue-BxNS_c3b.js} +1 -1
- package/dist/assets/{templateActions-CR50SItO.js → templateActions-Db-OKiDw.js} +1 -1
- package/dist/assets/{useBeforeUnload-BtEtqBA0.js → useBeforeUnload-D7668b41.js} +2 -2
- package/dist/assets/{useExecutionDebugging-DdfabEne.js → useExecutionDebugging-qJjrenaZ.js} +2 -2
- package/dist/assets/{usePushConnection-Bs4EtQYE.js → usePushConnection-DZy6DvZv.js} +8 -9
- package/dist/assets/{useUserHelpers-5Z9lMhqT.js → useUserHelpers-BvVDIqe5.js} +1 -1
- package/dist/assets/{useWorkflowActivate-BvN97i1i.js → useWorkflowActivate-DHaWjPqY.js} +2 -2
- package/dist/assets/{v3-infinite-loading-BDSwUlAm.js → v3-infinite-loading-lAZO0HDs.js} +1 -1
- package/dist/assets/{vendor-DCtS1fjk.js → vendor-DCeaNtb_.js} +212 -133
- package/dist/assets/{vue-agile-Dr5uE4S4.js → vue-agile-CSC3AwtI.js} +3 -3
- package/dist/assets/{vue-chartjs-ytwxJ63I.js → vue-chartjs-CAJPqBur.js} +1 -1
- package/dist/assets/{vue-i18n-DBLN2Rh9.js → vue-i18n-CVQE9o3c.js} +1 -1
- package/dist/assets/{vue-json-pretty-DbJSbzQx.js → vue-json-pretty-D1Elveao.js} +2 -2
- package/dist/assets/xss-DKCy3_XM.js +1 -0
- package/dist/index.html +35 -33
- package/index.html +1 -0
- package/package.json +1 -1
- package/vite.config.mts +3 -3
- package/dist/assets/@n8n/api-types-l0sNRNKZ.js +0 -1
- package/dist/assets/AuthView-C4BGHvOD.js +0 -170
- package/dist/assets/ChangePasswordView-DAER_rhe.js +0 -184
- package/dist/assets/ForgotMyPasswordView-DnB1YoK7.js +0 -133
- package/dist/assets/RunDataJson-Cxnl7zBS.js +0 -260
- package/dist/assets/SettingsLdapView-D1c597gY.js +0 -769
- package/dist/assets/SettingsView-B_m4_yr-.js +0 -312
- package/dist/assets/SetupView-B_DKgHYt.js +0 -148
- package/dist/assets/TemplatesCollectionView-CGWvieer.js +0 -253
- package/dist/assets/TemplatesWorkflowView-CxnRbF7x.js +0 -255
- package/dist/assets/email-providers-NhjWeVZA.js +0 -1
- package/dist/assets/highlight.js-NhjWeVZA.js +0 -1
- package/dist/assets/xss-NhjWeVZA.js +0 -1
|
@@ -1,32 +1,33 @@
|
|
|
1
|
-
import { I as defineComponent,
|
|
2
|
-
import { L as Logo, A as AuthView } from "./AuthView-
|
|
3
|
-
import {
|
|
4
|
-
import { aa as toRefs } from "./@vueuse/core-
|
|
5
|
-
import { _ as _export_sfc } from "./n8n-
|
|
6
|
-
import
|
|
1
|
+
import { I as defineComponent, r as ref, q as onMounted, an as resolveComponent, J as openBlock, K as createElementBlock, L as createBaseVNode, a8 as createVNode, _ as normalizeClass, a3 as withCtx, a6 as createTextVNode, a7 as toDisplayString, u as unref, V as createBlock, U as createCommentVNode, aE as useRoute, aL as useRouter, f as computed, h as reactive } from "./vendor-DCeaNtb_.js";
|
|
2
|
+
import { L as Logo, A as AuthView } from "./AuthView-cCH1ZFxz.js";
|
|
3
|
+
import { dK as mfaEventBus, b as useI18n, dL as MFA_FORM, M as MFA_AUTHENTICATION_TOKEN_INPUT_MAX_LENGTH, dM as MFA_AUTHENTICATION_RECOVERY_CODE_INPUT_MAX_LENGTH, u as useUsersStore, c as useSettingsStore, Y as useCloudPlanStore, a as useToast, y as useTelemetry, V as VIEWS, dN as MFA_AUTHENTICATION_REQUIRED_ERROR_CODE } from "./index-Cpj7dgjR.js";
|
|
4
|
+
import { aa as toRefs } from "./@vueuse/core-A8AAAljH.js";
|
|
5
|
+
import { _ as _export_sfc } from "./n8n-DKG-k8tQ.js";
|
|
6
|
+
import "./pinia-CH9HlKCh.js";
|
|
7
|
+
import "./@sentry/vue-UFuYeDxK.js";
|
|
7
8
|
import "./axios-B4zXCSve.js";
|
|
8
9
|
import "./flatted-D70IerrI.js";
|
|
9
10
|
import "./bowser-C3wWO1p5.js";
|
|
10
|
-
import "./lodash-es-
|
|
11
|
-
import "./@n8n/permissions-BxSXRD9U.js";
|
|
11
|
+
import "./lodash-es-kRWQHL5K.js";
|
|
12
12
|
import "./uuid-BoySKAeK.js";
|
|
13
|
-
import "./dateformat-
|
|
14
|
-
import "./vue-i18n-
|
|
13
|
+
import "./dateformat-BGl-JyZv.js";
|
|
14
|
+
import "./vue-i18n-CVQE9o3c.js";
|
|
15
|
+
import "./@n8n/permissions-BxSXRD9U.js";
|
|
16
|
+
import "./luxon-Bt_g4NOb.js";
|
|
15
17
|
import "./@jsplumb/util-BwtpiQ4c.js";
|
|
16
18
|
import "./@jsplumb/core-B__RSZHf.js";
|
|
17
19
|
import "./@jsplumb/common-s1StEx7B.js";
|
|
18
20
|
import "./@jsplumb/connector-bezier-D659hq4c.js";
|
|
19
21
|
import "./@jsplumb/browser-ui-BphmFVJY.js";
|
|
20
|
-
import "./luxon-Bt_g4NOb.js";
|
|
21
22
|
import "./@n8n/codemirror-lang-CIGGB1t0.js";
|
|
22
23
|
import "./@lezer/common-CnY9etib.js";
|
|
23
|
-
import "./@n8n/codemirror-lang-sql-
|
|
24
|
-
import "./prettier-
|
|
25
|
-
import "./codemirror-lang-html-n8n-
|
|
24
|
+
import "./@n8n/codemirror-lang-sql-Bygy_eOg.js";
|
|
25
|
+
import "./prettier-DuWRKCwA.js";
|
|
26
|
+
import "./codemirror-lang-html-n8n-COz1fWJn.js";
|
|
26
27
|
import "./esprima-next-DUEu30kB.js";
|
|
27
|
-
import "./fast-json-stable-stringify-
|
|
28
|
+
import "./fast-json-stable-stringify-U-rSQs8f.js";
|
|
28
29
|
import "./timeago.js-CgQus8nl.js";
|
|
29
|
-
import "./qrcode.vue-
|
|
30
|
+
import "./qrcode.vue-BxNS_c3b.js";
|
|
30
31
|
import "./vue3-touch-events-DVOgU3fI.js";
|
|
31
32
|
import "./chart.js-DiBOFLDH.js";
|
|
32
33
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
@@ -235,53 +236,43 @@ const cssModules = {
|
|
|
235
236
|
"$style": style0
|
|
236
237
|
};
|
|
237
238
|
const MfaView = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__cssModules", cssModules]]);
|
|
238
|
-
const _sfc_main = defineComponent({
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
let emailLabel = this.$locale.baseText("auth.email");
|
|
268
|
-
const ldapLoginLabel = this.settingsStore.ldapLoginLabel;
|
|
269
|
-
const isLdapLoginEnabled = this.settingsStore.isLdapLoginEnabled;
|
|
270
|
-
if (isLdapLoginEnabled && ldapLoginLabel) {
|
|
271
|
-
emailLabel = ldapLoginLabel;
|
|
272
|
-
}
|
|
273
|
-
this.FORM_CONFIG = {
|
|
274
|
-
title: this.$locale.baseText("auth.signin"),
|
|
275
|
-
buttonText: this.$locale.baseText("auth.signin"),
|
|
276
|
-
redirectText: this.$locale.baseText("forgotPassword"),
|
|
239
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
240
|
+
__name: "SigninView",
|
|
241
|
+
setup(__props) {
|
|
242
|
+
const usersStore = useUsersStore();
|
|
243
|
+
const settingsStore = useSettingsStore();
|
|
244
|
+
const cloudPlanStore = useCloudPlanStore();
|
|
245
|
+
const route = useRoute();
|
|
246
|
+
const router = useRouter();
|
|
247
|
+
const toast = useToast();
|
|
248
|
+
const locale = useI18n();
|
|
249
|
+
const telemetry = useTelemetry();
|
|
250
|
+
const loading = ref(false);
|
|
251
|
+
const showMfaView = ref(false);
|
|
252
|
+
const email = ref("");
|
|
253
|
+
const password = ref("");
|
|
254
|
+
const reportError = ref(false);
|
|
255
|
+
const ldapLoginLabel = computed(() => settingsStore.ldapLoginLabel);
|
|
256
|
+
const isLdapLoginEnabled = computed(() => settingsStore.isLdapLoginEnabled);
|
|
257
|
+
const emailLabel = computed(() => {
|
|
258
|
+
let label = locale.baseText("auth.email");
|
|
259
|
+
if (isLdapLoginEnabled.value && ldapLoginLabel.value) {
|
|
260
|
+
label = ldapLoginLabel.value;
|
|
261
|
+
}
|
|
262
|
+
return label;
|
|
263
|
+
});
|
|
264
|
+
const formConfig = reactive({
|
|
265
|
+
title: locale.baseText("auth.signin"),
|
|
266
|
+
buttonText: locale.baseText("auth.signin"),
|
|
267
|
+
redirectText: locale.baseText("forgotPassword"),
|
|
277
268
|
inputs: [
|
|
278
269
|
{
|
|
279
270
|
name: "email",
|
|
280
271
|
properties: {
|
|
281
|
-
label: emailLabel,
|
|
272
|
+
label: emailLabel.value,
|
|
282
273
|
type: "email",
|
|
283
274
|
required: true,
|
|
284
|
-
...!isLdapLoginEnabled && { validationRules: [{ name: "VALID_EMAIL" }] },
|
|
275
|
+
...!isLdapLoginEnabled.value && { validationRules: [{ name: "VALID_EMAIL" }] },
|
|
285
276
|
showRequiredAsterisk: false,
|
|
286
277
|
validateOnBlur: false,
|
|
287
278
|
autocomplete: "email",
|
|
@@ -291,7 +282,7 @@ const _sfc_main = defineComponent({
|
|
|
291
282
|
{
|
|
292
283
|
name: "password",
|
|
293
284
|
properties: {
|
|
294
|
-
label:
|
|
285
|
+
label: locale.baseText("auth.password"),
|
|
295
286
|
type: "password",
|
|
296
287
|
required: true,
|
|
297
288
|
showRequiredAsterisk: false,
|
|
@@ -301,124 +292,121 @@ const _sfc_main = defineComponent({
|
|
|
301
292
|
}
|
|
302
293
|
}
|
|
303
294
|
]
|
|
304
|
-
};
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
methods: {
|
|
310
|
-
async onMFASubmitted(form) {
|
|
311
|
-
await this.login({
|
|
312
|
-
email: this.email,
|
|
313
|
-
password: this.password,
|
|
295
|
+
});
|
|
296
|
+
const onMFASubmitted = async (form) => {
|
|
297
|
+
await login({
|
|
298
|
+
email: email.value,
|
|
299
|
+
password: password.value,
|
|
314
300
|
token: form.token,
|
|
315
301
|
recoveryCode: form.recoveryCode
|
|
316
302
|
});
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
|
|
303
|
+
};
|
|
304
|
+
const isFormWithEmailAndPassword = (values) => {
|
|
305
|
+
return "email" in values && "password" in values;
|
|
306
|
+
};
|
|
307
|
+
const onEmailPasswordSubmitted = async (form) => {
|
|
308
|
+
if (!isFormWithEmailAndPassword(form))
|
|
309
|
+
return;
|
|
310
|
+
await login(form);
|
|
311
|
+
};
|
|
312
|
+
const isRedirectSafe = () => {
|
|
313
|
+
const redirect = getRedirectQueryParameter();
|
|
323
314
|
return redirect.startsWith("/") || redirect.startsWith(window.location.origin);
|
|
324
|
-
}
|
|
325
|
-
getRedirectQueryParameter() {
|
|
315
|
+
};
|
|
316
|
+
const getRedirectQueryParameter = () => {
|
|
326
317
|
var _a, _b;
|
|
327
318
|
let redirect = "";
|
|
328
|
-
if (typeof ((_a =
|
|
329
|
-
redirect = decodeURIComponent((_b =
|
|
319
|
+
if (typeof ((_a = route.query) == null ? void 0 : _a.redirect) === "string") {
|
|
320
|
+
redirect = decodeURIComponent((_b = route.query) == null ? void 0 : _b.redirect);
|
|
330
321
|
}
|
|
331
322
|
return redirect;
|
|
332
|
-
}
|
|
333
|
-
async
|
|
323
|
+
};
|
|
324
|
+
const login = async (form) => {
|
|
334
325
|
try {
|
|
335
|
-
|
|
336
|
-
await
|
|
326
|
+
loading.value = true;
|
|
327
|
+
await usersStore.loginWithCreds({
|
|
337
328
|
email: form.email,
|
|
338
329
|
password: form.password,
|
|
339
330
|
mfaToken: form.token,
|
|
340
331
|
mfaRecoveryCode: form.recoveryCode
|
|
341
332
|
});
|
|
342
|
-
|
|
343
|
-
if (
|
|
333
|
+
loading.value = false;
|
|
334
|
+
if (settingsStore.isCloudDeployment) {
|
|
344
335
|
try {
|
|
345
|
-
await
|
|
336
|
+
await cloudPlanStore.checkForCloudPlanData();
|
|
346
337
|
} catch (error) {
|
|
347
338
|
console.warn("Failed to check for cloud plan data", error);
|
|
348
339
|
}
|
|
349
340
|
}
|
|
350
|
-
await
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
result:
|
|
341
|
+
await settingsStore.getSettings();
|
|
342
|
+
toast.clearAllStickyNotifications();
|
|
343
|
+
telemetry.track("User attempted to login", {
|
|
344
|
+
result: showMfaView.value ? "mfa_success" : "success"
|
|
354
345
|
});
|
|
355
|
-
if (
|
|
356
|
-
const redirect =
|
|
346
|
+
if (isRedirectSafe()) {
|
|
347
|
+
const redirect = getRedirectQueryParameter();
|
|
357
348
|
if (redirect.startsWith("http")) {
|
|
358
349
|
window.location.href = redirect;
|
|
359
350
|
return;
|
|
360
351
|
}
|
|
361
|
-
void
|
|
352
|
+
void router.push(redirect);
|
|
362
353
|
return;
|
|
363
354
|
}
|
|
364
|
-
await
|
|
355
|
+
await router.push({ name: VIEWS.HOMEPAGE });
|
|
365
356
|
} catch (error) {
|
|
366
357
|
if (error.errorCode === MFA_AUTHENTICATION_REQUIRED_ERROR_CODE) {
|
|
367
|
-
|
|
368
|
-
|
|
358
|
+
showMfaView.value = true;
|
|
359
|
+
cacheCredentials(form);
|
|
369
360
|
return;
|
|
370
361
|
}
|
|
371
|
-
|
|
372
|
-
result:
|
|
362
|
+
telemetry.track("User attempted to login", {
|
|
363
|
+
result: showMfaView.value ? "mfa_token_rejected" : "credentials_error"
|
|
373
364
|
});
|
|
374
|
-
if (!
|
|
375
|
-
|
|
376
|
-
|
|
365
|
+
if (!showMfaView.value) {
|
|
366
|
+
toast.showError(error, locale.baseText("auth.signin.error"));
|
|
367
|
+
loading.value = false;
|
|
377
368
|
return;
|
|
378
369
|
}
|
|
379
|
-
|
|
370
|
+
reportError.value = true;
|
|
380
371
|
}
|
|
381
|
-
}
|
|
382
|
-
onBackClick(fromForm) {
|
|
383
|
-
|
|
372
|
+
};
|
|
373
|
+
const onBackClick = (fromForm) => {
|
|
374
|
+
reportError.value = false;
|
|
384
375
|
if (fromForm === MFA_FORM.MFA_TOKEN) {
|
|
385
|
-
|
|
386
|
-
|
|
376
|
+
showMfaView.value = false;
|
|
377
|
+
loading.value = false;
|
|
387
378
|
}
|
|
388
|
-
}
|
|
389
|
-
onFormChanged(toForm) {
|
|
379
|
+
};
|
|
380
|
+
const onFormChanged = (toForm) => {
|
|
390
381
|
if (toForm === MFA_FORM.MFA_RECOVERY_CODE) {
|
|
391
|
-
|
|
382
|
+
reportError.value = false;
|
|
392
383
|
}
|
|
393
|
-
}
|
|
394
|
-
cacheCredentials(form) {
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
}
|
|
384
|
+
};
|
|
385
|
+
const cacheCredentials = (form) => {
|
|
386
|
+
email.value = form.email;
|
|
387
|
+
password.value = form.password;
|
|
388
|
+
};
|
|
389
|
+
return (_ctx, _cache) => {
|
|
390
|
+
return openBlock(), createElementBlock("div", null, [
|
|
391
|
+
!showMfaView.value ? (openBlock(), createBlock(AuthView, {
|
|
392
|
+
key: 0,
|
|
393
|
+
form: formConfig,
|
|
394
|
+
"form-loading": loading.value,
|
|
395
|
+
"with-sso": true,
|
|
396
|
+
"data-test-id": "signin-form",
|
|
397
|
+
onSubmit: onEmailPasswordSubmitted
|
|
398
|
+
}, null, 8, ["form", "form-loading"])) : createCommentVNode("", true),
|
|
399
|
+
showMfaView.value ? (openBlock(), createBlock(MfaView, {
|
|
400
|
+
key: 1,
|
|
401
|
+
"report-error": reportError.value,
|
|
402
|
+
onSubmit: onMFASubmitted,
|
|
403
|
+
onOnBackClick: onBackClick,
|
|
404
|
+
onOnFormChanged: onFormChanged
|
|
405
|
+
}, null, 8, ["report-error"])) : createCommentVNode("", true)
|
|
406
|
+
]);
|
|
407
|
+
};
|
|
398
408
|
}
|
|
399
409
|
});
|
|
400
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
401
|
-
const _component_AuthView = resolveComponent("AuthView");
|
|
402
|
-
const _component_MfaView = resolveComponent("MfaView");
|
|
403
|
-
return openBlock(), createElementBlock("div", null, [
|
|
404
|
-
!_ctx.showMfaView ? (openBlock(), createBlock(_component_AuthView, {
|
|
405
|
-
key: 0,
|
|
406
|
-
form: _ctx.FORM_CONFIG,
|
|
407
|
-
"form-loading": _ctx.loading,
|
|
408
|
-
"with-sso": true,
|
|
409
|
-
"data-test-id": "signin-form",
|
|
410
|
-
onSubmit: _ctx.onEmailPasswordSubmitted
|
|
411
|
-
}, null, 8, ["form", "form-loading", "onSubmit"])) : createCommentVNode("", true),
|
|
412
|
-
_ctx.showMfaView ? (openBlock(), createBlock(_component_MfaView, {
|
|
413
|
-
key: 1,
|
|
414
|
-
"report-error": _ctx.reportError,
|
|
415
|
-
onSubmit: _ctx.onMFASubmitted,
|
|
416
|
-
onOnBackClick: _ctx.onBackClick,
|
|
417
|
-
onOnFormChanged: _ctx.onFormChanged
|
|
418
|
-
}, null, 8, ["report-error", "onSubmit", "onOnBackClick", "onOnFormChanged"])) : createCommentVNode("", true)
|
|
419
|
-
]);
|
|
420
|
-
}
|
|
421
|
-
const SigninView = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
422
410
|
export {
|
|
423
|
-
|
|
411
|
+
_sfc_main as default
|
|
424
412
|
};
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { I as defineComponent,
|
|
2
|
-
import {
|
|
3
|
-
import "
|
|
1
|
+
import { I as defineComponent, aL as useRouter, q as onMounted, J as openBlock, K as createElementBlock } from "./vendor-DCeaNtb_.js";
|
|
2
|
+
import { u as useUsersStore, a as useToast, b as useI18n, V as VIEWS } from "./index-Cpj7dgjR.js";
|
|
3
|
+
import "./@sentry/vue-UFuYeDxK.js";
|
|
4
|
+
import "./n8n-DKG-k8tQ.js";
|
|
4
5
|
import "./esprima-next-DUEu30kB.js";
|
|
5
6
|
import "./axios-B4zXCSve.js";
|
|
6
7
|
import "./luxon-Bt_g4NOb.js";
|
|
7
|
-
import "./lodash-es-
|
|
8
|
+
import "./lodash-es-kRWQHL5K.js";
|
|
8
9
|
import "./uuid-BoySKAeK.js";
|
|
9
|
-
import "./@vueuse/core-
|
|
10
|
+
import "./@vueuse/core-A8AAAljH.js";
|
|
10
11
|
import "./flatted-D70IerrI.js";
|
|
11
|
-
import "./pinia-
|
|
12
|
+
import "./pinia-CH9HlKCh.js";
|
|
12
13
|
import "./bowser-C3wWO1p5.js";
|
|
14
|
+
import "./dateformat-BGl-JyZv.js";
|
|
15
|
+
import "./vue-i18n-CVQE9o3c.js";
|
|
13
16
|
import "./@n8n/permissions-BxSXRD9U.js";
|
|
14
|
-
import "./dateformat-DYMw-0LU.js";
|
|
15
|
-
import "./vue-i18n-DBLN2Rh9.js";
|
|
16
17
|
import "./@jsplumb/util-BwtpiQ4c.js";
|
|
17
18
|
import "./@jsplumb/core-B__RSZHf.js";
|
|
18
19
|
import "./@jsplumb/common-s1StEx7B.js";
|
|
@@ -20,12 +21,12 @@ import "./@jsplumb/connector-bezier-D659hq4c.js";
|
|
|
20
21
|
import "./@jsplumb/browser-ui-BphmFVJY.js";
|
|
21
22
|
import "./@n8n/codemirror-lang-CIGGB1t0.js";
|
|
22
23
|
import "./@lezer/common-CnY9etib.js";
|
|
23
|
-
import "./@n8n/codemirror-lang-sql-
|
|
24
|
-
import "./prettier-
|
|
25
|
-
import "./codemirror-lang-html-n8n-
|
|
26
|
-
import "./fast-json-stable-stringify-
|
|
24
|
+
import "./@n8n/codemirror-lang-sql-Bygy_eOg.js";
|
|
25
|
+
import "./prettier-DuWRKCwA.js";
|
|
26
|
+
import "./codemirror-lang-html-n8n-COz1fWJn.js";
|
|
27
|
+
import "./fast-json-stable-stringify-U-rSQs8f.js";
|
|
27
28
|
import "./timeago.js-CgQus8nl.js";
|
|
28
|
-
import "./qrcode.vue-
|
|
29
|
+
import "./qrcode.vue-BxNS_c3b.js";
|
|
29
30
|
import "./vue3-touch-events-DVOgU3fI.js";
|
|
30
31
|
import "./chart.js-DiBOFLDH.js";
|
|
31
32
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { I as defineComponent,
|
|
2
|
-
import { A as AuthView } from "./AuthView-
|
|
3
|
-
import {
|
|
4
|
-
import "./
|
|
1
|
+
import { I as defineComponent, aL as useRouter, aE as useRoute, r as ref, f as computed, q as onMounted, J as openBlock, V as createBlock } from "./vendor-DCeaNtb_.js";
|
|
2
|
+
import { A as AuthView } from "./AuthView-cCH1ZFxz.js";
|
|
3
|
+
import { f as useUIStore, u as useUsersStore, a as useToast, V as VIEWS, b as useI18n } from "./index-Cpj7dgjR.js";
|
|
4
|
+
import "./pinia-CH9HlKCh.js";
|
|
5
|
+
import "./n8n-DKG-k8tQ.js";
|
|
5
6
|
import "./esprima-next-DUEu30kB.js";
|
|
6
7
|
import "./axios-B4zXCSve.js";
|
|
7
8
|
import "./luxon-Bt_g4NOb.js";
|
|
8
|
-
import "./lodash-es-
|
|
9
|
+
import "./lodash-es-kRWQHL5K.js";
|
|
9
10
|
import "./uuid-BoySKAeK.js";
|
|
10
|
-
import "./@vueuse/core-
|
|
11
|
-
import "
|
|
11
|
+
import "./@vueuse/core-A8AAAljH.js";
|
|
12
|
+
import "./@sentry/vue-UFuYeDxK.js";
|
|
12
13
|
import "./flatted-D70IerrI.js";
|
|
13
14
|
import "./bowser-C3wWO1p5.js";
|
|
15
|
+
import "./dateformat-BGl-JyZv.js";
|
|
16
|
+
import "./vue-i18n-CVQE9o3c.js";
|
|
14
17
|
import "./@n8n/permissions-BxSXRD9U.js";
|
|
15
|
-
import "./dateformat-DYMw-0LU.js";
|
|
16
|
-
import "./vue-i18n-DBLN2Rh9.js";
|
|
17
18
|
import "./@jsplumb/util-BwtpiQ4c.js";
|
|
18
19
|
import "./@jsplumb/core-B__RSZHf.js";
|
|
19
20
|
import "./@jsplumb/common-s1StEx7B.js";
|
|
@@ -21,12 +22,12 @@ import "./@jsplumb/connector-bezier-D659hq4c.js";
|
|
|
21
22
|
import "./@jsplumb/browser-ui-BphmFVJY.js";
|
|
22
23
|
import "./@n8n/codemirror-lang-CIGGB1t0.js";
|
|
23
24
|
import "./@lezer/common-CnY9etib.js";
|
|
24
|
-
import "./@n8n/codemirror-lang-sql-
|
|
25
|
-
import "./prettier-
|
|
26
|
-
import "./codemirror-lang-html-n8n-
|
|
27
|
-
import "./fast-json-stable-stringify-
|
|
25
|
+
import "./@n8n/codemirror-lang-sql-Bygy_eOg.js";
|
|
26
|
+
import "./prettier-DuWRKCwA.js";
|
|
27
|
+
import "./codemirror-lang-html-n8n-COz1fWJn.js";
|
|
28
|
+
import "./fast-json-stable-stringify-U-rSQs8f.js";
|
|
28
29
|
import "./timeago.js-CgQus8nl.js";
|
|
29
|
-
import "./qrcode.vue-
|
|
30
|
+
import "./qrcode.vue-BxNS_c3b.js";
|
|
30
31
|
import "./vue3-touch-events-DVOgU3fI.js";
|
|
31
32
|
import "./chart.js-DiBOFLDH.js";
|
|
32
33
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a9 as _sfc_main$2,
|
|
2
|
-
import { I as defineComponent, an as resolveComponent, J as openBlock, K as createElementBlock, L as createBaseVNode, a8 as createVNode, a3 as withCtx, a6 as createTextVNode, a7 as toDisplayString, _ as normalizeClass, Z as renderSlot, V as createBlock, R as Fragment, af as renderList, U as createCommentVNode } from "./vendor-
|
|
3
|
-
import { _ as _export_sfc } from "./n8n-
|
|
4
|
-
import { m as mapStores } from "./pinia-
|
|
1
|
+
import { a9 as _sfc_main$2, dO as _sfc_main$3, $ as useTemplatesStore, dP as abbreviateNumber, dQ as filterTemplateNodes } from "./index-Cpj7dgjR.js";
|
|
2
|
+
import { I as defineComponent, an as resolveComponent, J as openBlock, K as createElementBlock, L as createBaseVNode, a8 as createVNode, a3 as withCtx, a6 as createTextVNode, a7 as toDisplayString, _ as normalizeClass, Z as renderSlot, V as createBlock, R as Fragment, af as renderList, U as createCommentVNode } from "./vendor-DCeaNtb_.js";
|
|
3
|
+
import { _ as _export_sfc } from "./n8n-DKG-k8tQ.js";
|
|
4
|
+
import { m as mapStores } from "./pinia-CH9HlKCh.js";
|
|
5
5
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "TemplateDetailsBlock",
|
|
7
7
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a9 as _sfc_main$3,
|
|
2
|
-
import { I as defineComponent, J as openBlock, K as createElementBlock, _ as normalizeClass, R as Fragment, af as renderList, a8 as createVNode, a7 as toDisplayString, U as createCommentVNode, an as resolveComponent, a3 as withCtx, a6 as createTextVNode, V as createBlock, ac as withModifiers, L as createBaseVNode } from "./vendor-
|
|
3
|
-
import { _ as _export_sfc } from "./n8n-
|
|
1
|
+
import { a9 as _sfc_main$3, dQ as filterTemplateNodes, dO as _sfc_main$4, dP as abbreviateNumber } from "./index-Cpj7dgjR.js";
|
|
2
|
+
import { I as defineComponent, J as openBlock, K as createElementBlock, _ as normalizeClass, R as Fragment, af as renderList, a8 as createVNode, a7 as toDisplayString, U as createCommentVNode, an as resolveComponent, a3 as withCtx, a6 as createTextVNode, V as createBlock, ac as withModifiers, L as createBaseVNode } from "./vendor-DCeaNtb_.js";
|
|
3
|
+
import { _ as _export_sfc } from "./n8n-DKG-k8tQ.js";
|
|
4
4
|
const _sfc_main$2 = defineComponent({
|
|
5
5
|
name: "NodeList",
|
|
6
6
|
components: {
|