n8n-editor-ui 1.61.0 → 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/@vueuse/{core-DP7mNILw.js → core-A8AAAljH.js} +1 -1
- package/dist/assets/{AnnotationTagsDropdown-DqvseWwg.js → AnnotationTagsDropdown.ee-mUu5T0tU.js} +6 -5
- package/dist/assets/{AuthView-BLQKeVDa.js → AuthView-cCH1ZFxz.js} +2 -2
- package/dist/assets/{CanvasControls-ColeN4c7.js → CanvasControls-Dzk7BXvt.js} +9 -9
- package/dist/assets/{ChangePasswordView-laaON5B-.js → ChangePasswordView-C-hzAV5J.js} +9 -9
- package/dist/assets/{CredentialsView-RsHO-hid.js → CredentialsView-Bi4lOx9G.js} +15 -13
- package/dist/assets/{ErrorView-CVlhihDL.js → ErrorView-CL_B0_IM.js} +9 -9
- package/dist/assets/{ExecutionsFilter-DTy4NQw_.css → ExecutionsFilter-BecTg03r.css} +6 -6
- package/dist/assets/{ExecutionsFilter-373wd0v7.js → ExecutionsFilter-Bmf8tmri.js} +6 -9
- package/dist/assets/{ExecutionsView-B1Y-qi0D.js → ExecutionsView-BhkQu2ph.js} +16 -16
- package/dist/assets/{FixedCollectionParameter-D9g5OebO.js → FixedCollectionParameter-CtjVOOBw.js} +9 -9
- package/dist/assets/{ForgotMyPasswordView-BWtMCTvE.js → ForgotMyPasswordView-lCgL2d4C.js} +9 -9
- package/dist/assets/{MainHeader-C01NSlgx.css → MainHeader-PNFUlNPa.css} +9 -9
- package/dist/assets/{MainHeader-D9Zo0BIA.js → MainHeader-xZeUKO3O.js} +20 -20
- package/dist/assets/{MainSidebar-DtqGWmgj.js → MainSidebar-nNVDMzvW.js} +9 -9
- package/dist/assets/{NodeCreation-DaYUHVNB.css → NodeCreation-30KXmZi2.css} +6 -8
- package/dist/assets/{NodeCreation-Z5Kx0dXZ.js → NodeCreation-CUrrlBgR.js} +39 -42
- package/dist/assets/{NodeCreator-Cwd8lDNF.js → NodeCreator-DHaVpCdb.js} +57 -22
- package/dist/assets/{NodeViewSwitcher-Bee93VCg.css → NodeViewSwitcher-DZNvWE_C.css} +126 -90
- package/dist/assets/{NodeViewSwitcher-DZvKqdTk.js → NodeViewSwitcher-vGEVZgHJ.js} +669 -556
- package/dist/assets/{ProjectCardBadge-Dj0cvfM0.js → ProjectCardBadge-38h9YkEV.js} +8 -3
- package/dist/assets/{ProjectSettings-zPM6vepm.js → ProjectSettings-Ba7NDCJu.js} +15 -11
- package/dist/assets/{ProjectTabs-ByCqXofn.js → ProjectTabs-CcHROgCr.js} +2 -2
- package/dist/assets/{PushConnectionTracker-B4vL4y_R.js → PushConnectionTracker-Cswc3AVS.js} +2 -2
- package/dist/assets/{ResourcesListLayout-D5Jl-SNJ.js → ResourcesListLayout-DchHS6X4.js} +7 -5
- package/dist/assets/{RunDataAi-50EsjDf6.js → RunDataAi-BASZn4vn.js} +5 -23
- package/dist/assets/{RunDataJson-BlxN0xwc.js → RunDataJson-Dc-zyTVL.js} +11 -11
- package/dist/assets/{RunDataJsonActions-BnEGvH1N.js → RunDataJsonActions-By8uYyXg.js} +10 -10
- package/dist/assets/{RunDataSearch-DS3pvMvG.js → RunDataSearch-DKdf85VL.js} +9 -9
- package/dist/assets/{RunDataTable-C7ykxdts.js → RunDataTable-Cn6nzmGa.js} +9 -9
- package/dist/assets/{SamlOnboarding-MqtO_Q7o.js → SamlOnboarding-Dfhrttxd.js} +9 -9
- package/dist/assets/{SettingsApiView-CItYnGov.js → SettingsApiView-BbRTrXcD.js} +26 -21
- package/dist/assets/{SettingsCommunityNodesView-DZNQSYYy.js → SettingsCommunityNodesView-BfDdkK-x.js} +13 -11
- package/dist/assets/{SettingsExternalSecrets-BVw27tqX.js → SettingsExternalSecrets-Bl-wlBde.js} +10 -8
- package/dist/assets/{SettingsFakeDoorView-DwImvIGm.js → SettingsFakeDoorView-QqE3QukO.js} +9 -9
- package/dist/assets/{SettingsLdapView-CCXZA2cJ.js → SettingsLdapView-BE8xSeHz.js} +12 -10
- package/dist/assets/{SettingsLogStreamingView-CyrM8m6J.js → SettingsLogStreamingView-BPJCiQ1I.js} +12 -10
- package/dist/assets/{SettingsPersonalView-MdnL1_ii.js → SettingsPersonalView-DSvT3Zu1.js} +11 -9
- package/dist/assets/{SettingsSourceControl-DCY2PqLz.js → SettingsSourceControl-DUJaw-Xf.js} +11 -9
- package/dist/assets/{SettingsSso-B8p13jLP.js → SettingsSso-8NreTxhm.js} +11 -9
- package/dist/assets/{SettingsUsageAndPlan-BN31-STz.js → SettingsUsageAndPlan-CDh5zcRw.js} +13 -11
- package/dist/assets/{SettingsUsageAndPlan-ayybRhnz.css → SettingsUsageAndPlan-DDB0UVxU.css} +3 -3
- package/dist/assets/{SettingsUsersView-BMsD7GNO.js → SettingsUsersView-DQ-DCRZ1.js} +11 -9
- package/dist/assets/{SettingsView-CtXcNiVg.js → SettingsView-_vMUadDF.js} +10 -10
- package/dist/assets/{SetupView-BLuVCwIj.js → SetupView-Df7KdxaQ.js} +9 -9
- package/dist/assets/{SetupWorkflowCredentialsButton-Div5SUON.js → SetupWorkflowCredentialsButton-DQQqU73T.js} +8 -8
- package/dist/assets/{SetupWorkflowFromTemplateView-DfFXky0J.js → SetupWorkflowFromTemplateView-CamrTW9w.js} +11 -11
- package/dist/assets/{SigninView-BqL0a-cZ.js → SigninView-Bk-N1gPe.js} +10 -10
- package/dist/assets/{SignoutView-D01-eFg_.js → SignoutView-ChwcohBv.js} +8 -8
- package/dist/assets/{SignupView-UX8-7Wvn.js → SignupView-BLXUTU5v.js} +9 -9
- package/dist/assets/{TemplateDetails-DvrkJ9pc.js → TemplateDetails-DvcKd566.js} +2 -2
- package/dist/assets/{TemplateList-Dxye-Lxs.js → TemplateList-BmQV74po.js} +2 -2
- package/dist/assets/{TemplatesCollectionView-kKvnA0FM.js → TemplatesCollectionView-C3-PQCQu.js} +16 -15
- package/dist/assets/{TemplatesSearchView-sUgBNVnh.js → TemplatesSearchView-cuS8bvak.js} +14 -13
- package/dist/assets/{TemplatesView-CCcE6ceG.js → TemplatesView-ClNtJ2ov.js} +2 -2
- package/dist/assets/{TemplatesWorkflowView-CQWB7PN1.js → TemplatesWorkflowView-CzrIrhUD.js} +16 -15
- package/dist/assets/{VariablesView-BFvSr6vu.js → VariablesView-CCnuUdXB.js} +16 -12
- package/dist/assets/{VariablesView-D88cddoZ.css → VariablesView-CHXdt5-z.css} +18 -18
- package/dist/assets/{WorkerView-BpwPXZ6o.js → WorkerView-DyoF7ooc.js} +15 -14
- package/dist/assets/{WorkflowActivator-C98Z6FLJ.js → WorkflowActivator-RvLc-qAh.js} +3 -3
- package/dist/assets/{WorkflowExecutionsInfoAccordion-DVXqECJb.js → WorkflowExecutionsInfoAccordion-Bg0qCmnO.js} +2 -2
- package/dist/assets/{WorkflowExecutionsLandingPage-DXDsNOih.js → WorkflowExecutionsLandingPage-gbIC1-W0.js} +10 -10
- package/dist/assets/{WorkflowExecutionsPreview-6-8MfOm9.js → WorkflowExecutionsPreview-K6TfT99N.js} +21 -23
- package/dist/assets/{WorkflowExecutionsView-D4lW8BoL.js → WorkflowExecutionsView-B153CRdQ.js} +64 -45
- package/dist/assets/{WorkflowExecutionsView-DqAlwS1H.css → WorkflowExecutionsView-B8x2-iOd.css} +32 -32
- package/dist/assets/{WorkflowHistory-Bvx0HbCZ.js → WorkflowHistory-BDoz9lQx.js} +11 -11
- package/dist/assets/{WorkflowOnboardingView-otfpn0DB.js → WorkflowOnboardingView-BxjLFVFS.js} +8 -8
- package/dist/assets/{WorkflowPreview-DdyMz4mx.js → WorkflowPreview-CzGXadkf.js} +2 -2
- package/dist/assets/{WorkflowsView-BUbDrUpG.js → WorkflowsView-CwxMKB51.js} +19 -17
- package/dist/assets/{cloud-Cxh_nDLb.js → cloud-B1p-KZWU.js} +8 -8
- package/dist/assets/{codemirror-lang-html-n8n-CXTCIWzP.js → codemirror-lang-html-n8n-COz1fWJn.js} +1 -1
- package/dist/assets/{dateFormatter-BFLNShbl.js → dateFormatter-vLfenR8L.js} +7 -3
- package/dist/assets/{dateformat-DfmxUC-6.js → dateformat-BGl-JyZv.js} +1 -1
- package/dist/assets/email-providers-DKCy3_XM.js +1 -0
- package/dist/assets/{fast-json-stable-stringify-DDe8InQN.js → fast-json-stable-stringify-U-rSQs8f.js} +1 -1
- package/dist/assets/{file-saver-DU9Y2h5E.js → file-saver-kjhT_TS0.js} +1 -1
- package/dist/assets/highlight.js-DKCy3_XM.js +1 -0
- package/dist/assets/{humanize-duration-BS9LxAIm.js → humanize-duration-Ctua_P33.js} +1 -1
- package/dist/assets/{index-BK9gQqb6.js → index-Cpj7dgjR.js} +11737 -11513
- package/dist/assets/{index-CUw3_ZiY.css → index-DLT0DWwS.css} +470 -178
- package/dist/assets/{jsonpath-DbhX-MUF.js → jsonpath-B3CL4C9V.js} +1 -1
- package/dist/assets/{lodash-es-rVh4nriD.js → lodash-es-kRWQHL5K.js} +2 -2
- package/dist/assets/{n8n-wnQsH82d.css → n8n-2AIRllP4.css} +355 -119
- package/dist/assets/{n8n-DLOq6Kd-.js → n8n-DKG-k8tQ.js} +93 -85
- package/dist/assets/{pushConnection.store-0ae9n5RY.js → pushConnection.store-CWlxAgml.js} +1 -1
- package/dist/assets/{templateActions-DWDf_J_7.js → templateActions-Db-OKiDw.js} +1 -1
- package/dist/assets/{useBeforeUnload-Bu28h_Oh.js → useBeforeUnload-D7668b41.js} +1 -1
- package/dist/assets/{useExecutionDebugging-Ij7ccVln.js → useExecutionDebugging-qJjrenaZ.js} +1 -1
- package/dist/assets/{usePushConnection-C5cJk_Eh.js → usePushConnection-DZy6DvZv.js} +6 -7
- package/dist/assets/{useUserHelpers-Dec8q_5J.js → useUserHelpers-BvVDIqe5.js} +1 -1
- package/dist/assets/{useWorkflowActivate-DhxP8t5T.js → useWorkflowActivate-DHaWjPqY.js} +1 -1
- package/dist/assets/{vue-agile-B6SWje8b.js → vue-agile-CSC3AwtI.js} +2 -2
- package/dist/assets/{vue-json-pretty-DyN9p2di.js → vue-json-pretty-D1Elveao.js} +1 -1
- package/dist/assets/xss-DKCy3_XM.js +1 -0
- package/dist/index.html +10 -10
- package/package.json +1 -1
- package/dist/assets/@n8n/api-types-1C3yIoBV.js +0 -1
- package/dist/assets/email-providers-DOaL31jY.js +0 -1
- package/dist/assets/highlight.js-DOaL31jY.js +0 -1
- package/dist/assets/xss-DOaL31jY.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { I as defineComponent, f as computed, an as resolveComponent, J as openBlock, V as createBlock, a3 as withCtx, a6 as createTextVNode, a7 as toDisplayString, U as createCommentVNode } from "./vendor-DCeaNtb_.js";
|
|
2
|
-
import {
|
|
1
|
+
import { I as defineComponent, f as computed, an as resolveComponent, au as resolveDirective, J as openBlock, V as createBlock, a3 as withCtx, a6 as createTextVNode, a7 as toDisplayString, a4 as withDirectives, K as createElementBlock, U as createCommentVNode } from "./vendor-DCeaNtb_.js";
|
|
2
|
+
import { aq as ProjectTypes, ek as splitName, b as useI18n } from "./index-Cpj7dgjR.js";
|
|
3
3
|
var ProjectState = /* @__PURE__ */ ((ProjectState2) => {
|
|
4
4
|
ProjectState2["SharedPersonal"] = "shared-personal";
|
|
5
5
|
ProjectState2["SharedOwned"] = "shared-owned";
|
|
@@ -106,6 +106,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
106
106
|
const _component_N8nIcon = resolveComponent("N8nIcon");
|
|
107
107
|
const _component_N8nBadge = resolveComponent("N8nBadge");
|
|
108
108
|
const _component_N8nTooltip = resolveComponent("N8nTooltip");
|
|
109
|
+
const _directive_n8n_truncate = resolveDirective("n8n-truncate");
|
|
109
110
|
return openBlock(), createBlock(_component_N8nTooltip, {
|
|
110
111
|
disabled: !badgeTooltip.value,
|
|
111
112
|
placement: "top"
|
|
@@ -122,7 +123,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
122
123
|
"data-test-id": "card-badge"
|
|
123
124
|
}, {
|
|
124
125
|
default: withCtx(() => [
|
|
125
|
-
|
|
126
|
+
withDirectives((openBlock(), createElementBlock("span", null, [
|
|
127
|
+
createTextVNode(toDisplayString(badgeText.value), 1)
|
|
128
|
+
])), [
|
|
129
|
+
[_directive_n8n_truncate, void 0, "20"]
|
|
130
|
+
]),
|
|
126
131
|
badgeIcon.value ? (openBlock(), createBlock(_component_N8nIcon, {
|
|
127
132
|
key: 0,
|
|
128
133
|
icon: badgeIcon.value,
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { I as defineComponent, aM as mergeModels, aN as useModel, r as ref, f as computed, an as resolveComponent, J as openBlock, V as createBlock, a3 as withCtx, a8 as createVNode, a6 as createTextVNode, a7 as toDisplayString, u as unref, ac as withModifiers, L as createBaseVNode, K as createElementBlock, _ as normalizeClass, U as createCommentVNode, aL as useRouter, b as watch, n as nextTick, l as onBeforeMount, q as onMounted, R as Fragment, af as renderList } from "./vendor-DCeaNtb_.js";
|
|
2
|
-
import { _ as _export_sfc,
|
|
3
|
-
import { eb as ProjectSharing, b as useI18n, f as useUIStore, u as useUsersStore, o as useProjectsStore,
|
|
4
|
-
import { P as ProjectTabs } from "./ProjectTabs-
|
|
2
|
+
import { _ as _export_sfc, m as deepCopy, aT as N8nFormInput } from "./n8n-DKG-k8tQ.js";
|
|
3
|
+
import { eb as ProjectSharing, b as useI18n, f as useUIStore, u as useUsersStore, o as useProjectsStore, en as useRolesStore, Y as useCloudPlanStore, a as useToast, q as useDocumentTitle, y as useTelemetry, V as VIEWS } from "./index-Cpj7dgjR.js";
|
|
4
|
+
import { P as ProjectTabs } from "./ProjectTabs-CcHROgCr.js";
|
|
5
5
|
import "./esprima-next-DUEu30kB.js";
|
|
6
6
|
import "./axios-B4zXCSve.js";
|
|
7
7
|
import "./luxon-Bt_g4NOb.js";
|
|
8
|
-
import "./lodash-es-
|
|
8
|
+
import "./lodash-es-kRWQHL5K.js";
|
|
9
9
|
import "./uuid-BoySKAeK.js";
|
|
10
|
-
import "./@vueuse/core-
|
|
10
|
+
import "./@vueuse/core-A8AAAljH.js";
|
|
11
11
|
import "./@sentry/vue-UFuYeDxK.js";
|
|
12
12
|
import "./flatted-D70IerrI.js";
|
|
13
13
|
import "./pinia-CH9HlKCh.js";
|
|
14
14
|
import "./bowser-C3wWO1p5.js";
|
|
15
|
-
import "./dateformat-
|
|
15
|
+
import "./dateformat-BGl-JyZv.js";
|
|
16
16
|
import "./vue-i18n-CVQE9o3c.js";
|
|
17
17
|
import "./@n8n/permissions-BxSXRD9U.js";
|
|
18
18
|
import "./@jsplumb/util-BwtpiQ4c.js";
|
|
@@ -22,10 +22,10 @@ import "./@jsplumb/connector-bezier-D659hq4c.js";
|
|
|
22
22
|
import "./@jsplumb/browser-ui-BphmFVJY.js";
|
|
23
23
|
import "./@n8n/codemirror-lang-CIGGB1t0.js";
|
|
24
24
|
import "./@lezer/common-CnY9etib.js";
|
|
25
|
-
import "./@n8n/codemirror-lang-sql-
|
|
25
|
+
import "./@n8n/codemirror-lang-sql-Bygy_eOg.js";
|
|
26
26
|
import "./prettier-DuWRKCwA.js";
|
|
27
|
-
import "./codemirror-lang-html-n8n-
|
|
28
|
-
import "./fast-json-stable-stringify-
|
|
27
|
+
import "./codemirror-lang-html-n8n-COz1fWJn.js";
|
|
28
|
+
import "./fast-json-stable-stringify-U-rSQs8f.js";
|
|
29
29
|
import "./timeago.js-CgQus8nl.js";
|
|
30
30
|
import "./qrcode.vue-BxNS_c3b.js";
|
|
31
31
|
import "./vue3-touch-events-DVOgU3fI.js";
|
|
@@ -281,6 +281,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
281
281
|
const toast = useToast();
|
|
282
282
|
const router = useRouter();
|
|
283
283
|
const telemetry = useTelemetry();
|
|
284
|
+
const documentTitle = useDocumentTitle();
|
|
284
285
|
const dialogVisible = ref(false);
|
|
285
286
|
const upgradeDialogVisible = ref(false);
|
|
286
287
|
const isDirty = ref(false);
|
|
@@ -304,7 +305,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
304
305
|
})
|
|
305
306
|
);
|
|
306
307
|
const projects = computed(
|
|
307
|
-
() => projectsStore.
|
|
308
|
+
() => projectsStore.availableProjects.filter(
|
|
309
|
+
(project) => project.id !== projectsStore.currentProjectId
|
|
310
|
+
)
|
|
308
311
|
);
|
|
309
312
|
const projectRoles = computed(
|
|
310
313
|
() => rolesStore.processedProjectRoles.map((role) => ({
|
|
@@ -436,7 +439,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
436
439
|
}
|
|
437
440
|
};
|
|
438
441
|
const onDelete = async () => {
|
|
439
|
-
await projectsStore.
|
|
442
|
+
await projectsStore.getAvailableProjects();
|
|
440
443
|
dialogVisible.value = true;
|
|
441
444
|
};
|
|
442
445
|
const onConfirmDelete = async (transferId) => {
|
|
@@ -480,6 +483,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
480
483
|
await usersStore.fetchUsers();
|
|
481
484
|
});
|
|
482
485
|
onMounted(() => {
|
|
486
|
+
documentTitle.set(locale.baseText("projects.settings"));
|
|
483
487
|
selectProjectNameIfMatchesDefault();
|
|
484
488
|
});
|
|
485
489
|
return (_ctx, _cache) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { I as defineComponent, aE as useRoute, r as ref, f as computed, b as watch, an as resolveComponent, J as openBlock, K as createElementBlock, a8 as createVNode, _ as normalizeClass } from "./vendor-DCeaNtb_.js";
|
|
2
|
-
import { o as useProjectsStore,
|
|
3
|
-
import { _ as _export_sfc } from "./n8n-
|
|
2
|
+
import { o as useProjectsStore, t as getResourcePermissions, V as VIEWS, b as useI18n } from "./index-Cpj7dgjR.js";
|
|
3
|
+
import { _ as _export_sfc } from "./n8n-DKG-k8tQ.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "ProjectTabs",
|
|
6
6
|
setup(__props) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { I as defineComponent, an as resolveComponent, au as resolveDirective, J as openBlock, K as createElementBlock, a8 as createVNode, a3 as withCtx, a4 as withDirectives, L as createBaseVNode, a6 as createTextVNode, a7 as toDisplayString, Z as renderSlot } from "./vendor-DCeaNtb_.js";
|
|
2
2
|
import { m as mapStores } from "./pinia-CH9HlKCh.js";
|
|
3
|
-
import { l as useRootStore } from "./index-
|
|
4
|
-
import { _ as _export_sfc } from "./n8n-
|
|
3
|
+
import { l as useRootStore } from "./index-Cpj7dgjR.js";
|
|
4
|
+
import { _ as _export_sfc } from "./n8n-DKG-k8tQ.js";
|
|
5
5
|
const _sfc_main = defineComponent({
|
|
6
6
|
name: "PushConnectionTracker",
|
|
7
7
|
computed: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { I as defineComponent, J as openBlock, K as createElementBlock, _ as normalizeClass, Z as renderSlot, L as createBaseVNode, U as createCommentVNode, an as resolveComponent, V as createBlock, a3 as withCtx, a8 as createVNode, a4 as withDirectives, a6 as createTextVNode, a7 as toDisplayString, a9 as vShow, aE as useRoute, r as ref, f as computed, b as watch, q as onMounted, n as nextTick, aB as pushScopeId, aC as popScopeId, R as Fragment, aj as normalizeProps, ar as guardReactiveProps, af as renderList } from "./vendor-DCeaNtb_.js";
|
|
2
2
|
import { m as mapStores } from "./pinia-CH9HlKCh.js";
|
|
3
|
-
import { f as useUIStore, eb as ProjectSharing, E as EnterpriseEditionFeature, o as useProjectsStore, e as useDebounce, u as useUsersStore, b as useI18n,
|
|
4
|
-
import { _ as _export_sfc } from "./n8n-
|
|
3
|
+
import { f as useUIStore, eb as ProjectSharing, E as EnterpriseEditionFeature, o as useProjectsStore, e as useDebounce, u as useUsersStore, b as useI18n, y as useTelemetry } from "./index-Cpj7dgjR.js";
|
|
4
|
+
import { _ as _export_sfc } from "./n8n-DKG-k8tQ.js";
|
|
5
5
|
const _sfc_main$3 = defineComponent({
|
|
6
6
|
name: "PageViewLayout",
|
|
7
7
|
data() {
|
|
@@ -130,8 +130,10 @@ const _sfc_main$1 = defineComponent({
|
|
|
130
130
|
}
|
|
131
131
|
},
|
|
132
132
|
async beforeMount() {
|
|
133
|
-
await this.projectsStore.
|
|
134
|
-
this.selectedProject = this.projectsStore.
|
|
133
|
+
await this.projectsStore.getAvailableProjects();
|
|
134
|
+
this.selectedProject = this.projectsStore.availableProjects.find(
|
|
135
|
+
(project) => project.id === this.modelValue.homeProject
|
|
136
|
+
) ?? null;
|
|
135
137
|
},
|
|
136
138
|
methods: {
|
|
137
139
|
setKeyValue(key, value) {
|
|
@@ -225,7 +227,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
225
227
|
_cache[0] || (_cache[0] = ($event) => _ctx.selectedProject = $event),
|
|
226
228
|
_cache[1] || (_cache[1] = ($event) => _ctx.setKeyValue("homeProject", $event.id))
|
|
227
229
|
],
|
|
228
|
-
projects: _ctx.projectsStore.
|
|
230
|
+
projects: _ctx.projectsStore.availableProjects,
|
|
229
231
|
placeholder: _ctx.$locale.baseText("forms.resourceFiltersDropdown.owner.placeholder"),
|
|
230
232
|
"empty-options-text": _ctx.$locale.baseText("projects.sharing.noMatchingProjects")
|
|
231
233
|
}, null, 8, ["modelValue", "projects", "placeholder", "empty-options-text"])
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { I as defineComponent, f as computed, an as resolveComponent, au as resolveDirective, J as openBlock, K as createElementBlock, L as createBaseVNode, a7 as toDisplayString, a4 as withDirectives, U as createCommentVNode, a8 as createVNode, u as unref, a3 as withCtx, a6 as createTextVNode, R as Fragment, af as renderList, r as ref, q as onMounted, _ as normalizeClass, V as createBlock, ac as withModifiers, b as watch, $ as normalizeStyle } from "./vendor-DCeaNtb_.js";
|
|
2
|
-
import { N as NodeConnectionType,
|
|
3
|
-
import { ae as useClipboard, a as useToast, a4 as useNodeTypesStore, L as useNDVStore, l as useRootStore,
|
|
4
|
-
import { F as capitalize } from "./lodash-es-
|
|
2
|
+
import { N as NodeConnectionType, aQ as isObjectEmpty, a6 as VueMarkdown, aR as HighlightJS, _ as _export_sfc, aS as ElTree } from "./n8n-DKG-k8tQ.js";
|
|
3
|
+
import { ae as useClipboard, a as useToast, e8 as useAIAssistantHelpers, a4 as useNodeTypesStore, L as useNDVStore, l as useRootStore, e3 as useAssistantStore, f as useUIStore, aD as MAX_DISPLAY_DATA_SIZE, aa as isCommunityPackageName, e9 as InlineAskAssistantButton, b as useI18n, dg as sanitizeHtml, ea as NEW_ASSISTANT_SESSION_MODAL, k as useWorkflowsStore, a9 as _sfc_main$4 } from "./index-Cpj7dgjR.js";
|
|
4
|
+
import { F as capitalize } from "./lodash-es-kRWQHL5K.js";
|
|
5
5
|
const _hoisted_1$3 = { class: "node-error-view" };
|
|
6
6
|
const _hoisted_2$3 = { class: "node-error-view__header" };
|
|
7
7
|
const _hoisted_3$2 = {
|
|
@@ -133,6 +133,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
133
133
|
const clipboard = useClipboard();
|
|
134
134
|
const toast = useToast();
|
|
135
135
|
const i18n = useI18n();
|
|
136
|
+
const assistantHelpers = useAIAssistantHelpers();
|
|
136
137
|
const nodeTypesStore = useNodeTypesStore();
|
|
137
138
|
const ndvStore = useNDVStore();
|
|
138
139
|
const rootStore = useRootStore();
|
|
@@ -208,29 +209,10 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
208
209
|
});
|
|
209
210
|
const assistantAlreadyAsked = computed(() => {
|
|
210
211
|
return assistantStore.isNodeErrorActive({
|
|
211
|
-
error: simplifyErrorForAssistant(props.error),
|
|
212
|
+
error: assistantHelpers.simplifyErrorForAssistant(props.error),
|
|
212
213
|
node: props.error.node || ndvStore.activeNode
|
|
213
214
|
});
|
|
214
215
|
});
|
|
215
|
-
function simplifyErrorForAssistant(error2) {
|
|
216
|
-
const simple = {
|
|
217
|
-
name: error2.name,
|
|
218
|
-
message: error2.message
|
|
219
|
-
};
|
|
220
|
-
if ("type" in error2) {
|
|
221
|
-
simple.type = error2.type;
|
|
222
|
-
}
|
|
223
|
-
if ("description" in error2 && error2.description) {
|
|
224
|
-
simple.description = error2.description;
|
|
225
|
-
}
|
|
226
|
-
if (error2.stack) {
|
|
227
|
-
simple.stack = error2.stack;
|
|
228
|
-
}
|
|
229
|
-
if ("lineNumber" in error2) {
|
|
230
|
-
simple.lineNumber = error2.lineNumber;
|
|
231
|
-
}
|
|
232
|
-
return simple;
|
|
233
|
-
}
|
|
234
216
|
function nodeVersionTag(nodeType) {
|
|
235
217
|
if (!nodeType || "hidden" in nodeType && nodeType.hidden) {
|
|
236
218
|
return i18n.baseText("nodeSettings.deprecated");
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/RunDataJsonActions-
|
|
2
|
-
import { k as __vitePreload, _ as _export_sfc } from "./n8n-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/RunDataJsonActions-By8uYyXg.js","assets/vendor-DCeaNtb_.js","assets/pinia-CH9HlKCh.js","assets/jsonpath-B3CL4C9V.js","assets/n8n-DKG-k8tQ.js","assets/esprima-next-DUEu30kB.js","assets/axios-B4zXCSve.js","assets/luxon-Bt_g4NOb.js","assets/lodash-es-kRWQHL5K.js","assets/uuid-BoySKAeK.js","assets/@vueuse/core-A8AAAljH.js","assets/n8n-2AIRllP4.css","assets/index-Cpj7dgjR.js","assets/@sentry/vue-UFuYeDxK.js","assets/flatted-D70IerrI.js","assets/bowser-C3wWO1p5.js","assets/dateformat-BGl-JyZv.js","assets/vue-i18n-CVQE9o3c.js","assets/@n8n/permissions-BxSXRD9U.js","assets/@jsplumb/util-BwtpiQ4c.js","assets/@jsplumb/core-B__RSZHf.js","assets/@jsplumb/common-s1StEx7B.js","assets/@jsplumb/connector-bezier-D659hq4c.js","assets/@jsplumb/browser-ui-BphmFVJY.js","assets/@n8n/codemirror-lang-CIGGB1t0.js","assets/@lezer/common-CnY9etib.js","assets/@n8n/codemirror-lang-sql-Bygy_eOg.js","assets/prettier-DuWRKCwA.js","assets/codemirror-lang-html-n8n-COz1fWJn.js","assets/fast-json-stable-stringify-U-rSQs8f.js","assets/timeago.js-CgQus8nl.js","assets/qrcode.vue-BxNS_c3b.js","assets/vue3-touch-events-DVOgU3fI.js","assets/chart.js-DiBOFLDH.js","assets/index-DLT0DWwS.css","assets/RunDataJsonActions-zNKrn8z4.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { k as __vitePreload, _ as _export_sfc } from "./n8n-DKG-k8tQ.js";
|
|
3
3
|
import { I as defineComponent, r as ref, f as computed, J as openBlock, K as createElementBlock, V as createBlock, a3 as withCtx, u as unref, U as createCommentVNode, aQ as Suspense, a8 as createVNode, _ as normalizeClass, aO as defineAsyncComponent } from "./vendor-DCeaNtb_.js";
|
|
4
|
-
import { V as VueJsonPretty } from "./vue-json-pretty-
|
|
5
|
-
import { L as useNDVStore,
|
|
6
|
-
import { D as useElementSize } from "./@vueuse/core-
|
|
4
|
+
import { V as VueJsonPretty } from "./vue-json-pretty-D1Elveao.js";
|
|
5
|
+
import { L as useNDVStore, eE as nonExistingJsonPath, aJ as executionDataToJson, eA as MappingPill, eB as TextWithHighlights, ay as Draggable, a1 as useExternalHooks, y as useTelemetry, s as shorten, eC as getMappedExpression, bf as isString } from "./index-Cpj7dgjR.js";
|
|
6
|
+
import { D as useElementSize } from "./@vueuse/core-A8AAAljH.js";
|
|
7
7
|
import "./esprima-next-DUEu30kB.js";
|
|
8
8
|
import "./axios-B4zXCSve.js";
|
|
9
9
|
import "./luxon-Bt_g4NOb.js";
|
|
10
|
-
import "./lodash-es-
|
|
10
|
+
import "./lodash-es-kRWQHL5K.js";
|
|
11
11
|
import "./uuid-BoySKAeK.js";
|
|
12
12
|
import "./@sentry/vue-UFuYeDxK.js";
|
|
13
13
|
import "./flatted-D70IerrI.js";
|
|
14
14
|
import "./pinia-CH9HlKCh.js";
|
|
15
15
|
import "./bowser-C3wWO1p5.js";
|
|
16
|
-
import "./dateformat-
|
|
16
|
+
import "./dateformat-BGl-JyZv.js";
|
|
17
17
|
import "./vue-i18n-CVQE9o3c.js";
|
|
18
18
|
import "./@n8n/permissions-BxSXRD9U.js";
|
|
19
19
|
import "./@jsplumb/util-BwtpiQ4c.js";
|
|
@@ -23,10 +23,10 @@ import "./@jsplumb/connector-bezier-D659hq4c.js";
|
|
|
23
23
|
import "./@jsplumb/browser-ui-BphmFVJY.js";
|
|
24
24
|
import "./@n8n/codemirror-lang-CIGGB1t0.js";
|
|
25
25
|
import "./@lezer/common-CnY9etib.js";
|
|
26
|
-
import "./@n8n/codemirror-lang-sql-
|
|
26
|
+
import "./@n8n/codemirror-lang-sql-Bygy_eOg.js";
|
|
27
27
|
import "./prettier-DuWRKCwA.js";
|
|
28
|
-
import "./codemirror-lang-html-n8n-
|
|
29
|
-
import "./fast-json-stable-stringify-
|
|
28
|
+
import "./codemirror-lang-html-n8n-COz1fWJn.js";
|
|
29
|
+
import "./fast-json-stable-stringify-U-rSQs8f.js";
|
|
30
30
|
import "./timeago.js-CgQus8nl.js";
|
|
31
31
|
import "./qrcode.vue-BxNS_c3b.js";
|
|
32
32
|
import "./vue3-touch-events-DVOgU3fI.js";
|
|
@@ -47,7 +47,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
47
47
|
},
|
|
48
48
|
setup(__props) {
|
|
49
49
|
const LazyRunDataJsonActions = defineAsyncComponent(
|
|
50
|
-
async () => await __vitePreload(() => import("./RunDataJsonActions-
|
|
50
|
+
async () => await __vitePreload(() => import("./RunDataJsonActions-By8uYyXg.js"), true ? __vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35]) : void 0)
|
|
51
51
|
);
|
|
52
52
|
const props = __props;
|
|
53
53
|
const ndvStore = useNDVStore();
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { I as defineComponent, an as resolveComponent, J as openBlock, K as createElementBlock, _ as normalizeClass, V as createBlock, a3 as withCtx, a8 as createVNode, a6 as createTextVNode, a7 as toDisplayString, L as createBaseVNode } from "./vendor-DCeaNtb_.js";
|
|
2
2
|
import { s as storeToRefs, m as mapStores } from "./pinia-CH9HlKCh.js";
|
|
3
|
-
import { j as jp } from "./jsonpath-
|
|
4
|
-
import {
|
|
5
|
-
import { _ as _export_sfc } from "./n8n-
|
|
3
|
+
import { j as jp } from "./jsonpath-B3CL4C9V.js";
|
|
4
|
+
import { eE as nonExistingJsonPath, L as useNDVStore, aj as useNodeHelpers, ae as useClipboard, a8 as usePinnedData, a as useToast, n as useSourceControlStore, k as useWorkflowsStore, a4 as useNodeTypesStore, aQ as clearJsonKey, aJ as executionDataToJson, eM as convertPath, b as useI18n } from "./index-Cpj7dgjR.js";
|
|
5
|
+
import { _ as _export_sfc } from "./n8n-DKG-k8tQ.js";
|
|
6
6
|
import "./@sentry/vue-UFuYeDxK.js";
|
|
7
7
|
import "./axios-B4zXCSve.js";
|
|
8
8
|
import "./flatted-D70IerrI.js";
|
|
9
9
|
import "./bowser-C3wWO1p5.js";
|
|
10
|
-
import "./@vueuse/core-
|
|
11
|
-
import "./lodash-es-
|
|
10
|
+
import "./@vueuse/core-A8AAAljH.js";
|
|
11
|
+
import "./lodash-es-kRWQHL5K.js";
|
|
12
12
|
import "./uuid-BoySKAeK.js";
|
|
13
|
-
import "./dateformat-
|
|
13
|
+
import "./dateformat-BGl-JyZv.js";
|
|
14
14
|
import "./vue-i18n-CVQE9o3c.js";
|
|
15
15
|
import "./@n8n/permissions-BxSXRD9U.js";
|
|
16
|
+
import "./luxon-Bt_g4NOb.js";
|
|
16
17
|
import "./@jsplumb/util-BwtpiQ4c.js";
|
|
17
18
|
import "./@jsplumb/core-B__RSZHf.js";
|
|
18
19
|
import "./@jsplumb/common-s1StEx7B.js";
|
|
19
20
|
import "./@jsplumb/connector-bezier-D659hq4c.js";
|
|
20
21
|
import "./@jsplumb/browser-ui-BphmFVJY.js";
|
|
21
|
-
import "./luxon-Bt_g4NOb.js";
|
|
22
22
|
import "./@n8n/codemirror-lang-CIGGB1t0.js";
|
|
23
23
|
import "./@lezer/common-CnY9etib.js";
|
|
24
|
-
import "./@n8n/codemirror-lang-sql-
|
|
24
|
+
import "./@n8n/codemirror-lang-sql-Bygy_eOg.js";
|
|
25
25
|
import "./prettier-DuWRKCwA.js";
|
|
26
|
-
import "./codemirror-lang-html-n8n-
|
|
26
|
+
import "./codemirror-lang-html-n8n-COz1fWJn.js";
|
|
27
27
|
import "./esprima-next-DUEu30kB.js";
|
|
28
|
-
import "./fast-json-stable-stringify-
|
|
28
|
+
import "./fast-json-stable-stringify-U-rSQs8f.js";
|
|
29
29
|
import "./timeago.js-CgQus8nl.js";
|
|
30
30
|
import "./qrcode.vue-BxNS_c3b.js";
|
|
31
31
|
import "./vue3-touch-events-DVOgU3fI.js";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { I as defineComponent, r as ref, f as computed, q as onMounted, x as onUnmounted, b as watch, an as resolveComponent, J as openBlock, V as createBlock, a3 as withCtx, a8 as createVNode, _ as normalizeClass, $ as normalizeStyle } from "./vendor-DCeaNtb_.js";
|
|
2
|
-
import { e as useDebounce, b as useI18n } from "./index-
|
|
3
|
-
import { _ as _export_sfc } from "./n8n-
|
|
2
|
+
import { e as useDebounce, b as useI18n } from "./index-Cpj7dgjR.js";
|
|
3
|
+
import { _ as _export_sfc } from "./n8n-DKG-k8tQ.js";
|
|
4
4
|
import "./@sentry/vue-UFuYeDxK.js";
|
|
5
5
|
import "./axios-B4zXCSve.js";
|
|
6
6
|
import "./flatted-D70IerrI.js";
|
|
7
7
|
import "./pinia-CH9HlKCh.js";
|
|
8
8
|
import "./bowser-C3wWO1p5.js";
|
|
9
|
-
import "./@vueuse/core-
|
|
10
|
-
import "./lodash-es-
|
|
9
|
+
import "./@vueuse/core-A8AAAljH.js";
|
|
10
|
+
import "./lodash-es-kRWQHL5K.js";
|
|
11
11
|
import "./uuid-BoySKAeK.js";
|
|
12
|
-
import "./dateformat-
|
|
12
|
+
import "./dateformat-BGl-JyZv.js";
|
|
13
13
|
import "./vue-i18n-CVQE9o3c.js";
|
|
14
14
|
import "./@n8n/permissions-BxSXRD9U.js";
|
|
15
|
+
import "./luxon-Bt_g4NOb.js";
|
|
15
16
|
import "./@jsplumb/util-BwtpiQ4c.js";
|
|
16
17
|
import "./@jsplumb/core-B__RSZHf.js";
|
|
17
18
|
import "./@jsplumb/common-s1StEx7B.js";
|
|
18
19
|
import "./@jsplumb/connector-bezier-D659hq4c.js";
|
|
19
20
|
import "./@jsplumb/browser-ui-BphmFVJY.js";
|
|
20
|
-
import "./luxon-Bt_g4NOb.js";
|
|
21
21
|
import "./@n8n/codemirror-lang-CIGGB1t0.js";
|
|
22
22
|
import "./@lezer/common-CnY9etib.js";
|
|
23
|
-
import "./@n8n/codemirror-lang-sql-
|
|
23
|
+
import "./@n8n/codemirror-lang-sql-Bygy_eOg.js";
|
|
24
24
|
import "./prettier-DuWRKCwA.js";
|
|
25
|
-
import "./codemirror-lang-html-n8n-
|
|
25
|
+
import "./codemirror-lang-html-n8n-COz1fWJn.js";
|
|
26
26
|
import "./esprima-next-DUEu30kB.js";
|
|
27
|
-
import "./fast-json-stable-stringify-
|
|
27
|
+
import "./fast-json-stable-stringify-U-rSQs8f.js";
|
|
28
28
|
import "./timeago.js-CgQus8nl.js";
|
|
29
29
|
import "./qrcode.vue-BxNS_c3b.js";
|
|
30
30
|
import "./vue3-touch-events-DVOgU3fI.js";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ay as Draggable, eA as MappingPill, eB as TextWithHighlights, k as useWorkflowsStore, L as useNDVStore, s as shorten, eC as getMappedExpression, a1 as useExternalHooks, eD as getPairedItemId } from "./index-Cpj7dgjR.js";
|
|
2
2
|
import { I as defineComponent, L as createBaseVNode, an as resolveComponent, J as openBlock, K as createElementBlock, _ as normalizeClass, R as Fragment, af as renderList, a8 as createVNode, a3 as withCtx, a6 as createTextVNode, a7 as toDisplayString, U as createCommentVNode, V as createBlock } from "./vendor-DCeaNtb_.js";
|
|
3
3
|
import { m as mapStores } from "./pinia-CH9HlKCh.js";
|
|
4
|
-
import { _ as _export_sfc } from "./n8n-
|
|
4
|
+
import { _ as _export_sfc } from "./n8n-DKG-k8tQ.js";
|
|
5
5
|
import "./@sentry/vue-UFuYeDxK.js";
|
|
6
6
|
import "./axios-B4zXCSve.js";
|
|
7
7
|
import "./flatted-D70IerrI.js";
|
|
8
8
|
import "./bowser-C3wWO1p5.js";
|
|
9
|
-
import "./@vueuse/core-
|
|
10
|
-
import "./lodash-es-
|
|
9
|
+
import "./@vueuse/core-A8AAAljH.js";
|
|
10
|
+
import "./lodash-es-kRWQHL5K.js";
|
|
11
11
|
import "./uuid-BoySKAeK.js";
|
|
12
|
-
import "./dateformat-
|
|
12
|
+
import "./dateformat-BGl-JyZv.js";
|
|
13
13
|
import "./vue-i18n-CVQE9o3c.js";
|
|
14
14
|
import "./@n8n/permissions-BxSXRD9U.js";
|
|
15
|
+
import "./luxon-Bt_g4NOb.js";
|
|
15
16
|
import "./@jsplumb/util-BwtpiQ4c.js";
|
|
16
17
|
import "./@jsplumb/core-B__RSZHf.js";
|
|
17
18
|
import "./@jsplumb/common-s1StEx7B.js";
|
|
18
19
|
import "./@jsplumb/connector-bezier-D659hq4c.js";
|
|
19
20
|
import "./@jsplumb/browser-ui-BphmFVJY.js";
|
|
20
|
-
import "./luxon-Bt_g4NOb.js";
|
|
21
21
|
import "./@n8n/codemirror-lang-CIGGB1t0.js";
|
|
22
22
|
import "./@lezer/common-CnY9etib.js";
|
|
23
|
-
import "./@n8n/codemirror-lang-sql-
|
|
23
|
+
import "./@n8n/codemirror-lang-sql-Bygy_eOg.js";
|
|
24
24
|
import "./prettier-DuWRKCwA.js";
|
|
25
|
-
import "./codemirror-lang-html-n8n-
|
|
25
|
+
import "./codemirror-lang-html-n8n-COz1fWJn.js";
|
|
26
26
|
import "./esprima-next-DUEu30kB.js";
|
|
27
|
-
import "./fast-json-stable-stringify-
|
|
27
|
+
import "./fast-json-stable-stringify-U-rSQs8f.js";
|
|
28
28
|
import "./timeago.js-CgQus8nl.js";
|
|
29
29
|
import "./qrcode.vue-BxNS_c3b.js";
|
|
30
30
|
import "./vue3-touch-events-DVOgU3fI.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { I as defineComponent, aL as useRouter, r as ref, h as reactive, J as openBlock, V as createBlock } from "./vendor-DCeaNtb_.js";
|
|
2
|
-
import { A as AuthView } from "./AuthView-
|
|
3
|
-
import { a as useToast, dz as useSSOStore, b as useI18n, V as VIEWS } from "./index-
|
|
2
|
+
import { A as AuthView } from "./AuthView-cCH1ZFxz.js";
|
|
3
|
+
import { a as useToast, dz as useSSOStore, b as useI18n, V as VIEWS } from "./index-Cpj7dgjR.js";
|
|
4
4
|
import "./pinia-CH9HlKCh.js";
|
|
5
|
-
import "./n8n-
|
|
5
|
+
import "./n8n-DKG-k8tQ.js";
|
|
6
6
|
import "./esprima-next-DUEu30kB.js";
|
|
7
7
|
import "./axios-B4zXCSve.js";
|
|
8
8
|
import "./luxon-Bt_g4NOb.js";
|
|
9
|
-
import "./lodash-es-
|
|
9
|
+
import "./lodash-es-kRWQHL5K.js";
|
|
10
10
|
import "./uuid-BoySKAeK.js";
|
|
11
|
-
import "./@vueuse/core-
|
|
11
|
+
import "./@vueuse/core-A8AAAljH.js";
|
|
12
12
|
import "./@sentry/vue-UFuYeDxK.js";
|
|
13
13
|
import "./flatted-D70IerrI.js";
|
|
14
14
|
import "./bowser-C3wWO1p5.js";
|
|
15
|
-
import "./dateformat-
|
|
15
|
+
import "./dateformat-BGl-JyZv.js";
|
|
16
16
|
import "./vue-i18n-CVQE9o3c.js";
|
|
17
17
|
import "./@n8n/permissions-BxSXRD9U.js";
|
|
18
18
|
import "./@jsplumb/util-BwtpiQ4c.js";
|
|
@@ -22,10 +22,10 @@ import "./@jsplumb/connector-bezier-D659hq4c.js";
|
|
|
22
22
|
import "./@jsplumb/browser-ui-BphmFVJY.js";
|
|
23
23
|
import "./@n8n/codemirror-lang-CIGGB1t0.js";
|
|
24
24
|
import "./@lezer/common-CnY9etib.js";
|
|
25
|
-
import "./@n8n/codemirror-lang-sql-
|
|
25
|
+
import "./@n8n/codemirror-lang-sql-Bygy_eOg.js";
|
|
26
26
|
import "./prettier-DuWRKCwA.js";
|
|
27
|
-
import "./codemirror-lang-html-n8n-
|
|
28
|
-
import "./fast-json-stable-stringify-
|
|
27
|
+
import "./codemirror-lang-html-n8n-COz1fWJn.js";
|
|
28
|
+
import "./fast-json-stable-stringify-U-rSQs8f.js";
|
|
29
29
|
import "./timeago.js-CgQus8nl.js";
|
|
30
30
|
import "./qrcode.vue-BxNS_c3b.js";
|
|
31
31
|
import "./vue3-touch-events-DVOgU3fI.js";
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { aW as CopyInput, a as useToast, z as useMessage, f as useUIStore, q as useDocumentTitle, dF as DOCS_DOMAIN, Y as useCloudPlanStore, u as useUsersStore, c as useSettingsStore, l as useRootStore, D as MODAL_CONFIRM } from "./index-Cpj7dgjR.js";
|
|
2
2
|
import { I as defineComponent, an as resolveComponent, J as openBlock, K as createElementBlock, _ as normalizeClass, L as createBaseVNode, a8 as createVNode, a3 as withCtx, a6 as createTextVNode, a7 as toDisplayString, $ as normalizeStyle, V as createBlock, U as createCommentVNode } from "./vendor-DCeaNtb_.js";
|
|
3
3
|
import { m as mapStores } from "./pinia-CH9HlKCh.js";
|
|
4
|
-
import { _ as _export_sfc } from "./n8n-
|
|
4
|
+
import { _ as _export_sfc } from "./n8n-DKG-k8tQ.js";
|
|
5
5
|
import "./@sentry/vue-UFuYeDxK.js";
|
|
6
6
|
import "./axios-B4zXCSve.js";
|
|
7
7
|
import "./flatted-D70IerrI.js";
|
|
8
8
|
import "./bowser-C3wWO1p5.js";
|
|
9
|
-
import "./@vueuse/core-
|
|
10
|
-
import "./lodash-es-
|
|
9
|
+
import "./@vueuse/core-A8AAAljH.js";
|
|
10
|
+
import "./lodash-es-kRWQHL5K.js";
|
|
11
11
|
import "./uuid-BoySKAeK.js";
|
|
12
|
-
import "./dateformat-
|
|
12
|
+
import "./dateformat-BGl-JyZv.js";
|
|
13
13
|
import "./vue-i18n-CVQE9o3c.js";
|
|
14
14
|
import "./@n8n/permissions-BxSXRD9U.js";
|
|
15
|
+
import "./luxon-Bt_g4NOb.js";
|
|
15
16
|
import "./@jsplumb/util-BwtpiQ4c.js";
|
|
16
17
|
import "./@jsplumb/core-B__RSZHf.js";
|
|
17
18
|
import "./@jsplumb/common-s1StEx7B.js";
|
|
18
19
|
import "./@jsplumb/connector-bezier-D659hq4c.js";
|
|
19
20
|
import "./@jsplumb/browser-ui-BphmFVJY.js";
|
|
20
|
-
import "./luxon-Bt_g4NOb.js";
|
|
21
21
|
import "./@n8n/codemirror-lang-CIGGB1t0.js";
|
|
22
22
|
import "./@lezer/common-CnY9etib.js";
|
|
23
|
-
import "./@n8n/codemirror-lang-sql-
|
|
23
|
+
import "./@n8n/codemirror-lang-sql-Bygy_eOg.js";
|
|
24
24
|
import "./prettier-DuWRKCwA.js";
|
|
25
|
-
import "./codemirror-lang-html-n8n-
|
|
25
|
+
import "./codemirror-lang-html-n8n-COz1fWJn.js";
|
|
26
26
|
import "./esprima-next-DUEu30kB.js";
|
|
27
|
-
import "./fast-json-stable-stringify-
|
|
27
|
+
import "./fast-json-stable-stringify-U-rSQs8f.js";
|
|
28
28
|
import "./timeago.js-CgQus8nl.js";
|
|
29
29
|
import "./qrcode.vue-BxNS_c3b.js";
|
|
30
30
|
import "./vue3-touch-events-DVOgU3fI.js";
|
|
@@ -38,22 +38,24 @@ const _sfc_main = defineComponent({
|
|
|
38
38
|
return {
|
|
39
39
|
...useToast(),
|
|
40
40
|
...useMessage(),
|
|
41
|
-
...useUIStore()
|
|
41
|
+
...useUIStore(),
|
|
42
|
+
documentTitle: useDocumentTitle()
|
|
42
43
|
};
|
|
43
44
|
},
|
|
44
45
|
data() {
|
|
45
46
|
return {
|
|
46
47
|
loading: false,
|
|
47
48
|
mounted: false,
|
|
48
|
-
|
|
49
|
+
apiKeys: [],
|
|
49
50
|
swaggerUIEnabled: false,
|
|
50
51
|
apiDocsURL: ""
|
|
51
52
|
};
|
|
52
53
|
},
|
|
53
54
|
mounted() {
|
|
55
|
+
this.documentTitle.set(this.$locale.baseText("settings.api"));
|
|
54
56
|
if (!this.isPublicApiEnabled)
|
|
55
57
|
return;
|
|
56
|
-
void this.
|
|
58
|
+
void this.getApiKeys();
|
|
57
59
|
const baseUrl = this.rootStore.baseUrl;
|
|
58
60
|
const apiPath = this.settingsStore.publicApiPath;
|
|
59
61
|
const latestVersion = this.settingsStore.publicApiLatestVersion;
|
|
@@ -75,7 +77,9 @@ const _sfc_main = defineComponent({
|
|
|
75
77
|
return this.settingsStore.isPublicApiEnabled;
|
|
76
78
|
},
|
|
77
79
|
isRedactedApiKey() {
|
|
78
|
-
|
|
80
|
+
if (!this.apiKeys)
|
|
81
|
+
return false;
|
|
82
|
+
return this.apiKeys[0].apiKey.includes("*");
|
|
79
83
|
}
|
|
80
84
|
},
|
|
81
85
|
methods: {
|
|
@@ -95,9 +99,9 @@ const _sfc_main = defineComponent({
|
|
|
95
99
|
await this.deleteApiKey();
|
|
96
100
|
}
|
|
97
101
|
},
|
|
98
|
-
async
|
|
102
|
+
async getApiKeys() {
|
|
99
103
|
try {
|
|
100
|
-
this.
|
|
104
|
+
this.apiKeys = await this.settingsStore.getApiKeys();
|
|
101
105
|
} catch (error) {
|
|
102
106
|
this.showError(error, this.$locale.baseText("settings.api.view.error"));
|
|
103
107
|
} finally {
|
|
@@ -107,7 +111,8 @@ const _sfc_main = defineComponent({
|
|
|
107
111
|
async createApiKey() {
|
|
108
112
|
this.loading = true;
|
|
109
113
|
try {
|
|
110
|
-
|
|
114
|
+
const newApiKey = await this.settingsStore.createApiKey();
|
|
115
|
+
this.apiKeys.push(newApiKey);
|
|
111
116
|
} catch (error) {
|
|
112
117
|
this.showError(error, this.$locale.baseText("settings.api.create.error"));
|
|
113
118
|
} finally {
|
|
@@ -117,12 +122,12 @@ const _sfc_main = defineComponent({
|
|
|
117
122
|
},
|
|
118
123
|
async deleteApiKey() {
|
|
119
124
|
try {
|
|
120
|
-
await this.settingsStore.deleteApiKey();
|
|
125
|
+
await this.settingsStore.deleteApiKey(this.apiKeys[0].id);
|
|
121
126
|
this.showMessage({
|
|
122
127
|
title: this.$locale.baseText("settings.api.delete.toast"),
|
|
123
128
|
type: "success"
|
|
124
129
|
});
|
|
125
|
-
this.
|
|
130
|
+
this.apiKeys = [];
|
|
126
131
|
} catch (error) {
|
|
127
132
|
this.showError(error, this.$locale.baseText("settings.api.delete.error"));
|
|
128
133
|
} finally {
|
|
@@ -174,7 +179,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
174
179
|
_: 1
|
|
175
180
|
})
|
|
176
181
|
], 2),
|
|
177
|
-
_ctx.
|
|
182
|
+
_ctx.apiKeys.length ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
178
183
|
createBaseVNode("p", _hoisted_2, [
|
|
179
184
|
createVNode(_component_n8n_info_tip, { bold: false }, {
|
|
180
185
|
default: withCtx(() => [
|
|
@@ -221,8 +226,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
221
226
|
], 2),
|
|
222
227
|
createBaseVNode("div", null, [
|
|
223
228
|
createVNode(_component_CopyInput, {
|
|
224
|
-
label: _ctx
|
|
225
|
-
value: _ctx.apiKey,
|
|
229
|
+
label: _ctx.apiKeys[0].label,
|
|
230
|
+
value: _ctx.apiKeys[0].apiKey,
|
|
226
231
|
"copy-button-text": _ctx.$locale.baseText("generic.clickToCopy"),
|
|
227
232
|
"toast-title": _ctx.$locale.baseText("settings.api.view.copy.toast"),
|
|
228
233
|
"redact-value": true,
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { I as defineComponent, an as resolveComponent, J as openBlock, K as createElementBlock, _ as normalizeClass, a8 as createVNode, L as createBaseVNode, a3 as withCtx, a6 as createTextVNode, a7 as toDisplayString, R as Fragment, af as renderList, U as createCommentVNode, V as createBlock, r as ref, aL as useRouter, f as computed, l as onBeforeMount, q as onMounted, m as onBeforeUnmount, u as unref } from "./vendor-DCeaNtb_.js";
|
|
2
|
-
import { dC as COMMUNITY_PACKAGE_MANAGE_ACTIONS, f as useUIStore, ab as NPM_PACKAGE_DOCS_BASE_URL, a as useToast, dD as useCommunityNodesStore, ad as COMMUNITY_NODES_INSTALLATION_DOCS_URL, a1 as useExternalHooks, b as useI18n,
|
|
2
|
+
import { dC as COMMUNITY_PACKAGE_MANAGE_ACTIONS, f as useUIStore, ab as NPM_PACKAGE_DOCS_BASE_URL, a as useToast, q as useDocumentTitle, dD as useCommunityNodesStore, ad as COMMUNITY_NODES_INSTALLATION_DOCS_URL, a1 as useExternalHooks, b as useI18n, y as useTelemetry, dE as COMMUNITY_PACKAGE_INSTALL_MODAL_KEY } from "./index-Cpj7dgjR.js";
|
|
3
3
|
import { m as mapStores } from "./pinia-CH9HlKCh.js";
|
|
4
|
-
import { _ as _export_sfc } from "./n8n-
|
|
5
|
-
import { u as usePushConnection } from "./usePushConnection-
|
|
6
|
-
import { u as usePushConnectionStore } from "./pushConnection.store-
|
|
4
|
+
import { _ as _export_sfc } from "./n8n-DKG-k8tQ.js";
|
|
5
|
+
import { u as usePushConnection } from "./usePushConnection-DZy6DvZv.js";
|
|
6
|
+
import { u as usePushConnectionStore } from "./pushConnection.store-CWlxAgml.js";
|
|
7
7
|
import "./@sentry/vue-UFuYeDxK.js";
|
|
8
8
|
import "./axios-B4zXCSve.js";
|
|
9
9
|
import "./flatted-D70IerrI.js";
|
|
10
10
|
import "./bowser-C3wWO1p5.js";
|
|
11
|
-
import "./@vueuse/core-
|
|
12
|
-
import "./lodash-es-
|
|
11
|
+
import "./@vueuse/core-A8AAAljH.js";
|
|
12
|
+
import "./lodash-es-kRWQHL5K.js";
|
|
13
13
|
import "./uuid-BoySKAeK.js";
|
|
14
|
-
import "./dateformat-
|
|
14
|
+
import "./dateformat-BGl-JyZv.js";
|
|
15
15
|
import "./vue-i18n-CVQE9o3c.js";
|
|
16
16
|
import "./@n8n/permissions-BxSXRD9U.js";
|
|
17
|
+
import "./luxon-Bt_g4NOb.js";
|
|
17
18
|
import "./@jsplumb/util-BwtpiQ4c.js";
|
|
18
19
|
import "./@jsplumb/core-B__RSZHf.js";
|
|
19
20
|
import "./@jsplumb/common-s1StEx7B.js";
|
|
20
21
|
import "./@jsplumb/connector-bezier-D659hq4c.js";
|
|
21
22
|
import "./@jsplumb/browser-ui-BphmFVJY.js";
|
|
22
|
-
import "./luxon-Bt_g4NOb.js";
|
|
23
23
|
import "./@n8n/codemirror-lang-CIGGB1t0.js";
|
|
24
24
|
import "./@lezer/common-CnY9etib.js";
|
|
25
|
-
import "./@n8n/codemirror-lang-sql-
|
|
25
|
+
import "./@n8n/codemirror-lang-sql-Bygy_eOg.js";
|
|
26
26
|
import "./prettier-DuWRKCwA.js";
|
|
27
|
-
import "./codemirror-lang-html-n8n-
|
|
27
|
+
import "./codemirror-lang-html-n8n-COz1fWJn.js";
|
|
28
28
|
import "./esprima-next-DUEu30kB.js";
|
|
29
|
-
import "./fast-json-stable-stringify-
|
|
29
|
+
import "./fast-json-stable-stringify-U-rSQs8f.js";
|
|
30
30
|
import "./timeago.js-CgQus8nl.js";
|
|
31
31
|
import "./qrcode.vue-BxNS_c3b.js";
|
|
32
32
|
import "./vue3-touch-events-DVOgU3fI.js";
|
|
@@ -274,6 +274,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
274
274
|
const i18n = useI18n();
|
|
275
275
|
const telemetry = useTelemetry();
|
|
276
276
|
const toast = useToast();
|
|
277
|
+
const documentTitle = useDocumentTitle();
|
|
277
278
|
const communityNodesStore = useCommunityNodesStore();
|
|
278
279
|
const uiStore = useUIStore();
|
|
279
280
|
const getEmptyStateDescription = computed(() => {
|
|
@@ -315,6 +316,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
315
316
|
pushStore.pushConnect();
|
|
316
317
|
});
|
|
317
318
|
onMounted(async () => {
|
|
319
|
+
documentTitle.set(i18n.baseText("settings.communityNodes"));
|
|
318
320
|
try {
|
|
319
321
|
loading.value = true;
|
|
320
322
|
await communityNodesStore.fetchInstalledPackages();
|