n8n-editor-ui 1.65.1 → 1.67.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-B4V5qQ9q.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DbabN_I2.js} +2 -2
- package/dist/assets/{AuthView-DDTsGVDI.js → AuthView-DmC24d7S.js} +17 -19
- package/dist/assets/{CanvasControls-BrmZza76.js → CanvasControls-BPXQqeeO.js} +1 -1
- package/dist/assets/{ChangePasswordView-Txc3JLbg.js → ChangePasswordView-SC3n2vJc.js} +2 -2
- package/dist/assets/CollectionParameter-Odk28FRT.js +4 -0
- package/dist/assets/{CredentialsView-4YDBK-zY.js → CredentialsView-B3m9CpEC.js} +14 -11
- package/dist/assets/{ErrorView-CeJF1j4H.js → ErrorView-D6M8WlVP.js} +1 -1
- package/dist/assets/{ExecutionsFilter-BecTg03r.css → ExecutionsFilter-DVxRt-Pz.css} +6 -6
- package/dist/assets/{ExecutionsFilter-ODySTrFf.js → ExecutionsFilter-DlZH8tDW.js} +5 -5
- package/dist/assets/{ExecutionsView-Cfc2bklt.js → ExecutionsView-DaHtYmF4.js} +4 -4
- package/dist/assets/{FileSaver.min-2E3H7obf.js → FileSaver.min-DNytcjKT.js} +1 -1
- package/dist/assets/FixedCollectionParameter-CypxYAFK.js +334 -0
- package/dist/assets/{FixedCollectionParameter-fI2wTyfY.css → FixedCollectionParameter-DzOGMEdq.css} +10 -10
- package/dist/assets/{ForgotMyPasswordView-DY9dxNXM.js → ForgotMyPasswordView-BJ6gd5CS.js} +4 -3
- package/dist/assets/{MainHeader-Bc5G9_Uq.css → MainHeader-D56WYRMG.css} +9 -9
- package/dist/assets/{MainHeader-2746Uag0.js → MainHeader-DniXcGMK.js} +92 -98
- package/dist/assets/{MainSidebar-cNW0UJBC.css → MainSidebar-BRYJRpOA.css} +2 -2
- package/dist/assets/{MainSidebar-Deuxu_ZA.js → MainSidebar-NwOfijmV.js} +7 -6
- package/dist/assets/{NodeCreation-C2dcJSCB.js → NodeCreation-Ce1ct2i3.js} +6 -6
- package/dist/assets/{NodeCreator-DFg5sW0J.css → NodeCreator-CvOLgSO_.css} +4 -4
- package/dist/assets/{NodeCreator-DbLN5EpO.js → NodeCreator-DMLTbzAt.js} +38 -25
- package/dist/assets/{NodeViewSwitcher-C7fT1hjp.js → NodeViewSwitcher-B9JUn3eY.js} +448 -332
- package/dist/assets/{NodeViewSwitcher-Np-f2Pkl.css → NodeViewSwitcher-CnP5aYyg.css} +138 -138
- package/dist/assets/{ProjectCardBadge.vue_vue_type_script_setup_true_lang-1r16lWfz.js → ProjectCardBadge-C3QU-WmO.js} +63 -30
- package/dist/assets/ProjectCardBadge-DPUG4BoB.css +20 -0
- package/dist/assets/{ProjectSettings-B-0hlVBb.js → ProjectSettings-BvcEg3hx.js} +35 -6
- package/dist/assets/{ProjectTabs-BLgXz0GM.js → ProjectTabs-Dve3xFj9.js} +1 -1
- package/dist/assets/PushConnectionTracker.vue_vue_type_script_setup_true_lang-DlJOpf7N.js +39 -0
- package/dist/assets/ResourceListHeader-B2sxe6HT.js +66 -0
- package/dist/assets/ResourceListHeader-DgE1VPUF.css +19 -0
- package/dist/assets/ResourcesListLayout-Bc4__nvw.js +692 -0
- package/dist/assets/{ResourcesListLayout-DAvOygN7.css → ResourcesListLayout-Ci-K1bH3.css} +17 -12
- package/dist/assets/{RunDataAi-DWyv1KtV.js → RunDataAi-BKu1beM6.js} +45 -43
- package/dist/assets/{RunDataJson-BkOB7Mi5.js → RunDataJson-ea5u1EeD.js} +12 -12
- package/dist/assets/{RunDataJsonActions-K_wfkbT2.js → RunDataJsonActions-Dflnt8gK.js} +127 -159
- package/dist/assets/{RunDataSearch-CdIFsfvp.js → RunDataSearch-DKNVmEqa.js} +1 -1
- package/dist/assets/{RunDataTable-CSd24Wzt.js → RunDataTable-DISLWxMc.js} +1 -1
- package/dist/assets/{SamlOnboarding-C7jmImZi.js → SamlOnboarding-CPvGRYUg.js} +2 -2
- package/dist/assets/SettingsApiView-BFj9fDL9.js +227 -0
- package/dist/assets/{SettingsCommunityNodesView-QbJKukss.js → SettingsCommunityNodesView-nJFDrtIR.js} +185 -195
- package/dist/assets/{SettingsExternalSecrets-CBL5kSMf.js → SettingsExternalSecrets-0-mj45K-.js} +3 -3
- package/dist/assets/{SettingsLdapView-CHwYGxkx.js → SettingsLdapView-BhBxX72w.js} +3 -3
- package/dist/assets/SettingsLogStreamingView-CmEJrEOv.js +500 -0
- package/dist/assets/{SettingsPersonalView-BfL80wvU.js → SettingsPersonalView-C__lC8Vv.js} +1 -1
- package/dist/assets/{SettingsSourceControl-CrPjF7Tl.js → SettingsSourceControl-CMoS5B5P.js} +3 -3
- package/dist/assets/{SettingsSso-CoM-3Knf.js → SettingsSso-DJfrl1Rl.js} +3 -3
- package/dist/assets/{SettingsUsageAndPlan-BeHnYh3Q.js → SettingsUsageAndPlan-CWQ5uVrG.js} +7 -6
- package/dist/assets/{SettingsUsageAndPlan-C76Ty5yF.css → SettingsUsageAndPlan-vijI-va0.css} +3 -3
- package/dist/assets/{SettingsUsersView-KIj2fh50.js → SettingsUsersView-Cvr6Digb.js} +4 -3
- package/dist/assets/{SettingsView-Chfmh8Oz.js → SettingsView-DtGga45F.js} +2 -30
- package/dist/assets/{SetupView-Cj9NK5oF.js → SetupView-DkJH96By.js} +2 -2
- package/dist/assets/{SetupWorkflowCredentialsButton-1LXFp3M1.js → SetupWorkflowCredentialsButton-C1Jv_-V5.js} +1 -1
- package/dist/assets/{SetupWorkflowFromTemplateView-nyPe7OpV.js → SetupWorkflowFromTemplateView-WSzVMgC4.js} +3 -3
- package/dist/assets/{SigninView-TCarjEXK.js → SigninView-xej8y-Vu.js} +4 -3
- package/dist/assets/{SignoutView-Delor5Ax.js → SignoutView-Dc8fBBIm.js} +1 -1
- package/dist/assets/{SignupView-DOREfT5l.js → SignupView-CKA28Xc8.js} +4 -3
- package/dist/assets/TemplateDetails-Pi49rFlS.js +179 -0
- package/dist/assets/TemplateList-BncQL783.js +371 -0
- package/dist/assets/{TemplatesCollectionView-DtaG85Jk.js → TemplatesCollectionView-C9PKPo5y.js} +8 -8
- package/dist/assets/{TemplatesSearchView-CqH8oefx.js → TemplatesSearchView-65taIL-M.js} +530 -577
- package/dist/assets/{TemplatesView-B9Lz_EzK.js → TemplatesView-DkP9JWHk.js} +32 -37
- package/dist/assets/{TemplatesWorkflowView-BfqaXGKg.js → TemplatesWorkflowView-B5uc0BtL.js} +5 -5
- package/dist/assets/{VariablesView-CHXdt5-z.css → VariablesView-BPKo50HJ.css} +18 -18
- package/dist/assets/{VariablesView-BH0opxm_.js → VariablesView-DV1-KgmN.js} +6 -4
- package/dist/assets/WorkerView-5P9lg6ew.js +148 -0
- package/dist/assets/WorkerView-Dm0b18Mh.css +22 -0
- package/dist/assets/{WorkflowActivator-u3HKoT5w.css → WorkflowActivator-D8FiI2jP.css} +2 -2
- package/dist/assets/{WorkflowActivator-ByVmTkYU.js → WorkflowActivator-Dc_Un-Af.js} +15 -4
- package/dist/assets/{WorkflowExecutionsInfoAccordion-BqbBanz6.js → WorkflowExecutionsInfoAccordion-BLyC6lr5.js} +1 -1
- package/dist/assets/{WorkflowExecutionsLandingPage-5u6ZDaFD.js → WorkflowExecutionsLandingPage-Dsa6Bgkn.js} +2 -2
- package/dist/assets/{WorkflowExecutionsPreview-BGb9AU3g.js → WorkflowExecutionsPreview-B_X-enUV.js} +5 -5
- package/dist/assets/{WorkflowExecutionsView-KTlGfaLi.js → WorkflowExecutionsView-Bkz3Sig-.js} +5 -5
- package/dist/assets/{WorkflowHistory-DqXCxz1p.js → WorkflowHistory-BiPMooAv.js} +5 -4
- package/dist/assets/{WorkflowOnboardingView-Cx7hbCo8.js → WorkflowOnboardingView-XHuS6lCs.js} +1 -1
- package/dist/assets/{WorkflowPreview-BTF7OmQM.css → WorkflowPreview-Bpiv2_RO.css} +8 -8
- package/dist/assets/{WorkflowPreview-DAQ7mvNi.js → WorkflowPreview-DxZKd23H.js} +8 -8
- package/dist/assets/{WorkflowsView-ChU_EKMN.js → WorkflowsView-BBaLVqJs.js} +14 -12
- package/dist/assets/{dateFormatter-CfOgAO2k.js → dateFormatter-C53K7zEn.js} +1 -1
- package/dist/assets/{index-BUjeBzRM.js → index-7YFQEQmt.js} +36340 -36753
- package/dist/assets/{index-DoeC8czU.css → index-BFH_KxyA.css} +162 -130
- package/dist/assets/{pushConnection.store-BKOlrr3c.js → pushConnection.store-DbprXL-x.js} +1 -1
- package/dist/assets/{templateActions-BTYgtgDN.js → templateActions-QFQD8amJ.js} +1 -1
- package/dist/assets/{useBugReporting-lkBiyjPH.js → useBugReporting-IgwBNdXI.js} +1 -1
- package/dist/assets/{useExecutionDebugging-C91tSyen.js → useExecutionDebugging-CLORI_Ma.js} +5 -4
- package/dist/assets/{useNodeViewVersionSwitcher-D2zGsXPQ.js → useNodeViewVersionSwitcher-CJLQ5lju.js} +2 -2
- package/dist/assets/{usePushConnection-CQXTn-bO.js → usePushConnection-DjPgTuLw.js} +9 -10
- package/dist/assets/{useWorkflowActivate-DbL83lsy.js → useWorkflowActivate-D_gK841h.js} +1 -1
- package/dist/index.html +3 -2
- package/index.html +1 -0
- package/package.json +1 -1
- package/vite.config.mts +1 -17
- package/dist/assets/CollectionParameter-D35RQT1r.js +0 -4
- package/dist/assets/FixedCollectionParameter-D6dq95nm.js +0 -355
- package/dist/assets/PushConnectionTracker-CGjuGy8P.js +0 -38
- package/dist/assets/ResourcesListLayout-D_C1ZSTp.js +0 -765
- package/dist/assets/SettingsApiView-4M-cLSvs.js +0 -255
- package/dist/assets/SettingsFakeDoorView-CEbWEc6P.js +0 -44
- package/dist/assets/SettingsFakeDoorView-DpKZ4qWG.css +0 -14
- package/dist/assets/SettingsLogStreamingView-DZ71hi2g.js +0 -519
- package/dist/assets/TemplateDetails-rjxog6MY.js +0 -199
- package/dist/assets/TemplateList-DYMX_2qI.js +0 -433
- package/dist/assets/WorkerView-BRiI1Adt.js +0 -825
- package/dist/assets/WorkerView-C_d54L0W.css +0 -181
- package/dist/assets/cloud-CGOqFKZO.js +0 -37
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as defineComponent, b as useRouter, a as useToast,
|
|
2
|
-
import { A as AuthView } from "./AuthView-
|
|
1
|
+
import { d as defineComponent, b as useRouter, a as useToast, hK as useSSOStore, r as ref, c6 as reactive, c as openBlock, e as createBlock, g as useI18n, V as VIEWS } from "./index-7YFQEQmt.js";
|
|
2
|
+
import { A as AuthView } from "./AuthView-DmC24d7S.js";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "SamlOnboarding",
|
|
5
5
|
setup(__props) {
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
import { d as defineComponent, m as useSettingsStore, az as useCloudPlanStore, Z as useRootStore, a as useToast, a3 as useDocumentTitle, a5 as usePageRedirectionHelper, r as ref, p as computed, o as onMounted, hQ as DOCS_DOMAIN, c as openBlock, h as createElementBlock, j as createBaseVNode, i as createVNode, w as withCtx, k as createTextVNode, t as toDisplayString, A as unref, n as normalizeClass, eu as CopyInput, e as createBlock, f as createCommentVNode, g as useI18n, ae as MODAL_CONFIRM, l as resolveComponent, al as useMessage, ak as useTelemetry, _ as _export_sfc } from "./index-7YFQEQmt.js";
|
|
2
|
+
const _hoisted_1 = { style: { fontSize: "var(--font-size-s)", color: "var(--color-text-light)" } };
|
|
3
|
+
const _hoisted_2 = { key: 0 };
|
|
4
|
+
const _hoisted_3 = { class: "mb-s" };
|
|
5
|
+
const _hoisted_4 = ["textContent"];
|
|
6
|
+
const _hoisted_5 = ["textContent"];
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
|
+
__name: "SettingsApiView",
|
|
9
|
+
setup(__props) {
|
|
10
|
+
const settingsStore = useSettingsStore();
|
|
11
|
+
const cloudPlanStore = useCloudPlanStore();
|
|
12
|
+
const { baseUrl } = useRootStore();
|
|
13
|
+
const { showError, showMessage } = useToast();
|
|
14
|
+
const { confirm } = useMessage();
|
|
15
|
+
const documentTitle = useDocumentTitle();
|
|
16
|
+
const i18n = useI18n();
|
|
17
|
+
const { goToUpgrade } = usePageRedirectionHelper();
|
|
18
|
+
const telemetry = useTelemetry();
|
|
19
|
+
const loading = ref(false);
|
|
20
|
+
const mounted = ref(false);
|
|
21
|
+
const apiKeys = ref([]);
|
|
22
|
+
const apiDocsURL = ref("");
|
|
23
|
+
const { isPublicApiEnabled, isSwaggerUIEnabled, publicApiPath, publicApiLatestVersion } = settingsStore;
|
|
24
|
+
const isRedactedApiKey = computed(() => {
|
|
25
|
+
if (!apiKeys.value) return false;
|
|
26
|
+
return apiKeys.value[0].apiKey.includes("*");
|
|
27
|
+
});
|
|
28
|
+
onMounted(() => {
|
|
29
|
+
documentTitle.set(i18n.baseText("settings.api"));
|
|
30
|
+
if (!isPublicApiEnabled) return;
|
|
31
|
+
void getApiKeys();
|
|
32
|
+
apiDocsURL.value = isSwaggerUIEnabled ? `${baseUrl}${publicApiPath}/v${publicApiLatestVersion}/docs` : `https://${DOCS_DOMAIN}/api/api-reference/`;
|
|
33
|
+
});
|
|
34
|
+
function onUpgrade() {
|
|
35
|
+
void goToUpgrade("settings-n8n-api", "upgrade-api", "redirect");
|
|
36
|
+
}
|
|
37
|
+
async function showDeleteModal() {
|
|
38
|
+
const confirmed = await confirm(
|
|
39
|
+
i18n.baseText("settings.api.delete.description"),
|
|
40
|
+
i18n.baseText("settings.api.delete.title"),
|
|
41
|
+
{
|
|
42
|
+
confirmButtonText: i18n.baseText("settings.api.delete.button"),
|
|
43
|
+
cancelButtonText: i18n.baseText("generic.cancel")
|
|
44
|
+
}
|
|
45
|
+
);
|
|
46
|
+
if (confirmed === MODAL_CONFIRM) {
|
|
47
|
+
await deleteApiKey();
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
async function getApiKeys() {
|
|
51
|
+
try {
|
|
52
|
+
apiKeys.value = await settingsStore.getApiKeys();
|
|
53
|
+
} catch (error) {
|
|
54
|
+
showError(error, i18n.baseText("settings.api.view.error"));
|
|
55
|
+
} finally {
|
|
56
|
+
mounted.value = true;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
async function createApiKey() {
|
|
60
|
+
loading.value = true;
|
|
61
|
+
try {
|
|
62
|
+
const newApiKey = await settingsStore.createApiKey();
|
|
63
|
+
apiKeys.value.push(newApiKey);
|
|
64
|
+
} catch (error) {
|
|
65
|
+
showError(error, i18n.baseText("settings.api.create.error"));
|
|
66
|
+
} finally {
|
|
67
|
+
loading.value = false;
|
|
68
|
+
telemetry.track("User clicked create API key button");
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
async function deleteApiKey() {
|
|
72
|
+
try {
|
|
73
|
+
await settingsStore.deleteApiKey(apiKeys.value[0].id);
|
|
74
|
+
showMessage({
|
|
75
|
+
title: i18n.baseText("settings.api.delete.toast"),
|
|
76
|
+
type: "success"
|
|
77
|
+
});
|
|
78
|
+
apiKeys.value = [];
|
|
79
|
+
} catch (error) {
|
|
80
|
+
showError(error, i18n.baseText("settings.api.delete.error"));
|
|
81
|
+
} finally {
|
|
82
|
+
telemetry.track("User clicked delete API key button");
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
function onCopy() {
|
|
86
|
+
telemetry.track("User clicked copy API key button");
|
|
87
|
+
}
|
|
88
|
+
return (_ctx, _cache) => {
|
|
89
|
+
const _component_n8n_heading = resolveComponent("n8n-heading");
|
|
90
|
+
const _component_i18n_t = resolveComponent("i18n-t");
|
|
91
|
+
const _component_n8n_info_tip = resolveComponent("n8n-info-tip");
|
|
92
|
+
const _component_n8n_link = resolveComponent("n8n-link");
|
|
93
|
+
const _component_n8n_card = resolveComponent("n8n-card");
|
|
94
|
+
const _component_n8n_text = resolveComponent("n8n-text");
|
|
95
|
+
const _component_n8n_action_box = resolveComponent("n8n-action-box");
|
|
96
|
+
return openBlock(), createElementBlock("div", {
|
|
97
|
+
class: normalizeClass(_ctx.$style.container)
|
|
98
|
+
}, [
|
|
99
|
+
createBaseVNode("div", {
|
|
100
|
+
class: normalizeClass(_ctx.$style.header)
|
|
101
|
+
}, [
|
|
102
|
+
createVNode(_component_n8n_heading, { size: "2xlarge" }, {
|
|
103
|
+
default: withCtx(() => [
|
|
104
|
+
createTextVNode(toDisplayString(unref(i18n).baseText("settings.api")) + " ", 1),
|
|
105
|
+
createBaseVNode("span", _hoisted_1, " (" + toDisplayString(unref(i18n).baseText("generic.beta")) + ") ", 1)
|
|
106
|
+
]),
|
|
107
|
+
_: 1
|
|
108
|
+
})
|
|
109
|
+
], 2),
|
|
110
|
+
apiKeys.value.length ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
111
|
+
createBaseVNode("p", _hoisted_3, [
|
|
112
|
+
createVNode(_component_n8n_info_tip, { bold: false }, {
|
|
113
|
+
default: withCtx(() => [
|
|
114
|
+
createVNode(_component_i18n_t, {
|
|
115
|
+
keypath: "settings.api.view.info",
|
|
116
|
+
tag: "span"
|
|
117
|
+
}, {
|
|
118
|
+
apiAction: withCtx(() => [
|
|
119
|
+
createBaseVNode("a", {
|
|
120
|
+
href: "https://docs.n8n.io/api",
|
|
121
|
+
target: "_blank",
|
|
122
|
+
textContent: toDisplayString(unref(i18n).baseText("settings.api.view.info.api"))
|
|
123
|
+
}, null, 8, _hoisted_4)
|
|
124
|
+
]),
|
|
125
|
+
webhookAction: withCtx(() => [
|
|
126
|
+
createBaseVNode("a", {
|
|
127
|
+
href: "https://docs.n8n.io/integrations/core-nodes/n8n-nodes-base.webhook/",
|
|
128
|
+
target: "_blank",
|
|
129
|
+
textContent: toDisplayString(unref(i18n).baseText("settings.api.view.info.webhook"))
|
|
130
|
+
}, null, 8, _hoisted_5)
|
|
131
|
+
]),
|
|
132
|
+
_: 1
|
|
133
|
+
})
|
|
134
|
+
]),
|
|
135
|
+
_: 1
|
|
136
|
+
})
|
|
137
|
+
]),
|
|
138
|
+
createVNode(_component_n8n_card, {
|
|
139
|
+
class: normalizeClass(["mb-4xs", _ctx.$style.card])
|
|
140
|
+
}, {
|
|
141
|
+
default: withCtx(() => [
|
|
142
|
+
createBaseVNode("span", {
|
|
143
|
+
class: normalizeClass(_ctx.$style.delete)
|
|
144
|
+
}, [
|
|
145
|
+
createVNode(_component_n8n_link, {
|
|
146
|
+
bold: true,
|
|
147
|
+
onClick: showDeleteModal
|
|
148
|
+
}, {
|
|
149
|
+
default: withCtx(() => [
|
|
150
|
+
createTextVNode(toDisplayString(unref(i18n).baseText("generic.delete")), 1)
|
|
151
|
+
]),
|
|
152
|
+
_: 1
|
|
153
|
+
})
|
|
154
|
+
], 2),
|
|
155
|
+
createBaseVNode("div", null, [
|
|
156
|
+
createVNode(CopyInput, {
|
|
157
|
+
label: apiKeys.value[0].label,
|
|
158
|
+
value: apiKeys.value[0].apiKey,
|
|
159
|
+
"copy-button-text": unref(i18n).baseText("generic.clickToCopy"),
|
|
160
|
+
"toast-title": unref(i18n).baseText("settings.api.view.copy.toast"),
|
|
161
|
+
"redact-value": true,
|
|
162
|
+
"disable-copy": isRedactedApiKey.value,
|
|
163
|
+
hint: !isRedactedApiKey.value ? unref(i18n).baseText("settings.api.view.copy") : "",
|
|
164
|
+
onCopy
|
|
165
|
+
}, null, 8, ["label", "value", "copy-button-text", "toast-title", "disable-copy", "hint"])
|
|
166
|
+
])
|
|
167
|
+
]),
|
|
168
|
+
_: 1
|
|
169
|
+
}, 8, ["class"]),
|
|
170
|
+
createBaseVNode("div", {
|
|
171
|
+
class: normalizeClass(_ctx.$style.hint)
|
|
172
|
+
}, [
|
|
173
|
+
createVNode(_component_n8n_text, { size: "small" }, {
|
|
174
|
+
default: withCtx(() => [
|
|
175
|
+
createTextVNode(toDisplayString(unref(i18n).baseText(`settings.api.view.${unref(isSwaggerUIEnabled) ? "tryapi" : "more-details"}`)), 1)
|
|
176
|
+
]),
|
|
177
|
+
_: 1
|
|
178
|
+
}),
|
|
179
|
+
_cache[0] || (_cache[0] = createTextVNode(" " + toDisplayString(" ") + " ")),
|
|
180
|
+
createVNode(_component_n8n_link, {
|
|
181
|
+
to: apiDocsURL.value,
|
|
182
|
+
"new-window": true,
|
|
183
|
+
size: "small"
|
|
184
|
+
}, {
|
|
185
|
+
default: withCtx(() => [
|
|
186
|
+
createTextVNode(toDisplayString(unref(i18n).baseText(
|
|
187
|
+
`settings.api.view.${unref(isSwaggerUIEnabled) ? "apiPlayground" : "external-docs"}`
|
|
188
|
+
)), 1)
|
|
189
|
+
]),
|
|
190
|
+
_: 1
|
|
191
|
+
}, 8, ["to"])
|
|
192
|
+
], 2)
|
|
193
|
+
])) : !unref(isPublicApiEnabled) && unref(cloudPlanStore).userIsTrialing ? (openBlock(), createBlock(_component_n8n_action_box, {
|
|
194
|
+
key: 1,
|
|
195
|
+
"data-test-id": "public-api-upgrade-cta",
|
|
196
|
+
heading: unref(i18n).baseText("settings.api.trial.upgradePlan.title"),
|
|
197
|
+
description: unref(i18n).baseText("settings.api.trial.upgradePlan.description"),
|
|
198
|
+
"button-text": unref(i18n).baseText("settings.api.trial.upgradePlan.cta"),
|
|
199
|
+
"onClick:button": onUpgrade
|
|
200
|
+
}, null, 8, ["heading", "description", "button-text"])) : mounted.value && !unref(cloudPlanStore).state.loadingPlan ? (openBlock(), createBlock(_component_n8n_action_box, {
|
|
201
|
+
key: 2,
|
|
202
|
+
"button-text": unref(i18n).baseText(loading.value ? "settings.api.create.button.loading" : "settings.api.create.button"),
|
|
203
|
+
description: unref(i18n).baseText("settings.api.create.description"),
|
|
204
|
+
"onClick:button": createApiKey
|
|
205
|
+
}, null, 8, ["button-text", "description"])) : createCommentVNode("", true)
|
|
206
|
+
], 2);
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
});
|
|
210
|
+
const container = "_container_1xc1f_1";
|
|
211
|
+
const header = "_header_1xc1f_5";
|
|
212
|
+
const card = "_card_1xc1f_14";
|
|
213
|
+
const hint = "_hint_1xc1f_25";
|
|
214
|
+
const style0 = {
|
|
215
|
+
container,
|
|
216
|
+
header,
|
|
217
|
+
card,
|
|
218
|
+
"delete": "_delete_1xc1f_18",
|
|
219
|
+
hint
|
|
220
|
+
};
|
|
221
|
+
const cssModules = {
|
|
222
|
+
"$style": style0
|
|
223
|
+
};
|
|
224
|
+
const SettingsApiView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules]]);
|
|
225
|
+
export {
|
|
226
|
+
SettingsApiView as default
|
|
227
|
+
};
|
|
@@ -1,57 +1,197 @@
|
|
|
1
|
-
import { d as defineComponent,
|
|
2
|
-
import { u as usePushConnection } from "./usePushConnection-
|
|
3
|
-
import { u as usePushConnectionStore } from "./pushConnection.store-
|
|
4
|
-
const
|
|
5
|
-
|
|
1
|
+
import { d as defineComponent, K as useUIStore, hN as COMMUNITY_PACKAGE_MANAGE_ACTIONS, c as openBlock, h as createElementBlock, n as normalizeClass, i as createVNode, j as createBaseVNode, w as withCtx, k as createTextVNode, t as toDisplayString, A as unref, F as Fragment, z as renderList, f as createCommentVNode, e as createBlock, g as useI18n, d6 as NPM_PACKAGE_DOCS_BASE_URL, l as resolveComponent, ak as useTelemetry, _ as _export_sfc, r as ref, b as useRouter, a as useToast, a3 as useDocumentTitle, hO as useCommunityNodesStore, p as computed, ar as onBeforeMount, o as onMounted, v as onBeforeUnmount, hP as COMMUNITY_PACKAGE_INSTALL_MODAL_KEY, aG as useExternalHooks, d8 as COMMUNITY_NODES_INSTALLATION_DOCS_URL } from "./index-7YFQEQmt.js";
|
|
2
|
+
import { u as usePushConnection } from "./usePushConnection-DjPgTuLw.js";
|
|
3
|
+
import { u as usePushConnectionStore } from "./pushConnection.store-DbprXL-x.js";
|
|
4
|
+
const _hoisted_1 = { key: 0 };
|
|
5
|
+
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "CommunityPackageCard",
|
|
6
7
|
props: {
|
|
7
|
-
communityPackage: {
|
|
8
|
-
|
|
9
|
-
required: false,
|
|
10
|
-
default: null
|
|
11
|
-
},
|
|
12
|
-
loading: {
|
|
13
|
-
type: Boolean,
|
|
14
|
-
default: false
|
|
15
|
-
}
|
|
16
|
-
},
|
|
17
|
-
data() {
|
|
18
|
-
return {
|
|
19
|
-
packageActions: [
|
|
20
|
-
{
|
|
21
|
-
label: this.$locale.baseText("settings.communityNodes.viewDocsAction.label"),
|
|
22
|
-
value: COMMUNITY_PACKAGE_MANAGE_ACTIONS.VIEW_DOCS,
|
|
23
|
-
type: "external-link"
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
label: this.$locale.baseText("settings.communityNodes.uninstallAction.label"),
|
|
27
|
-
value: COMMUNITY_PACKAGE_MANAGE_ACTIONS.UNINSTALL
|
|
28
|
-
}
|
|
29
|
-
]
|
|
30
|
-
};
|
|
31
|
-
},
|
|
32
|
-
computed: {
|
|
33
|
-
...mapStores(useUIStore)
|
|
8
|
+
communityPackage: { default: null },
|
|
9
|
+
loading: { type: Boolean, default: false }
|
|
34
10
|
},
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
11
|
+
setup(__props) {
|
|
12
|
+
const props = __props;
|
|
13
|
+
const { openCommunityPackageUpdateConfirmModal, openCommunityPackageUninstallConfirmModal } = useUIStore();
|
|
14
|
+
const i18n = useI18n();
|
|
15
|
+
const telemetry = useTelemetry();
|
|
16
|
+
const packageActions = [
|
|
17
|
+
{
|
|
18
|
+
label: i18n.baseText("settings.communityNodes.viewDocsAction.label"),
|
|
19
|
+
value: COMMUNITY_PACKAGE_MANAGE_ACTIONS.VIEW_DOCS,
|
|
20
|
+
type: "external-link"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
label: i18n.baseText("settings.communityNodes.uninstallAction.label"),
|
|
24
|
+
value: COMMUNITY_PACKAGE_MANAGE_ACTIONS.UNINSTALL
|
|
25
|
+
}
|
|
26
|
+
];
|
|
27
|
+
async function onAction(value) {
|
|
28
|
+
if (!props.communityPackage) return;
|
|
38
29
|
switch (value) {
|
|
39
30
|
case COMMUNITY_PACKAGE_MANAGE_ACTIONS.VIEW_DOCS:
|
|
40
|
-
|
|
41
|
-
package_name:
|
|
42
|
-
package_version:
|
|
31
|
+
telemetry.track("user clicked to browse the cnr package documentation", {
|
|
32
|
+
package_name: props.communityPackage.packageName,
|
|
33
|
+
package_version: props.communityPackage.installedVersion
|
|
43
34
|
});
|
|
44
|
-
window.open(`${NPM_PACKAGE_DOCS_BASE_URL}${
|
|
35
|
+
window.open(`${NPM_PACKAGE_DOCS_BASE_URL}${props.communityPackage.packageName}`, "_blank");
|
|
45
36
|
break;
|
|
46
37
|
case COMMUNITY_PACKAGE_MANAGE_ACTIONS.UNINSTALL:
|
|
47
|
-
|
|
38
|
+
openCommunityPackageUninstallConfirmModal(props.communityPackage.packageName);
|
|
48
39
|
break;
|
|
49
40
|
}
|
|
50
|
-
},
|
|
51
|
-
onUpdateClick() {
|
|
52
|
-
if (!this.communityPackage) return;
|
|
53
|
-
this.uiStore.openCommunityPackageUpdateConfirmModal(this.communityPackage.packageName);
|
|
54
41
|
}
|
|
42
|
+
function onUpdateClick() {
|
|
43
|
+
if (!props.communityPackage) return;
|
|
44
|
+
openCommunityPackageUpdateConfirmModal(props.communityPackage.packageName);
|
|
45
|
+
}
|
|
46
|
+
return (_ctx, _cache) => {
|
|
47
|
+
const _component_n8n_loading = resolveComponent("n8n-loading");
|
|
48
|
+
const _component_n8n_text = resolveComponent("n8n-text");
|
|
49
|
+
const _component_n8n_icon = resolveComponent("n8n-icon");
|
|
50
|
+
const _component_n8n_tooltip = resolveComponent("n8n-tooltip");
|
|
51
|
+
const _component_n8n_button = resolveComponent("n8n-button");
|
|
52
|
+
const _component_n8n_action_toggle = resolveComponent("n8n-action-toggle");
|
|
53
|
+
return openBlock(), createElementBlock("div", {
|
|
54
|
+
class: normalizeClass(_ctx.$style.cardContainer),
|
|
55
|
+
"data-test-id": "community-package-card"
|
|
56
|
+
}, [
|
|
57
|
+
_ctx.loading ? (openBlock(), createElementBlock("div", {
|
|
58
|
+
key: 0,
|
|
59
|
+
class: normalizeClass(_ctx.$style.cardSkeleton)
|
|
60
|
+
}, [
|
|
61
|
+
createVNode(_component_n8n_loading, {
|
|
62
|
+
class: normalizeClass(_ctx.$style.loader),
|
|
63
|
+
variant: "p",
|
|
64
|
+
rows: 1
|
|
65
|
+
}, null, 8, ["class"]),
|
|
66
|
+
createVNode(_component_n8n_loading, {
|
|
67
|
+
class: normalizeClass(_ctx.$style.loader),
|
|
68
|
+
variant: "p",
|
|
69
|
+
rows: 1
|
|
70
|
+
}, null, 8, ["class"])
|
|
71
|
+
], 2)) : _ctx.communityPackage ? (openBlock(), createElementBlock("div", {
|
|
72
|
+
key: 1,
|
|
73
|
+
class: normalizeClass(_ctx.$style.packageCard)
|
|
74
|
+
}, [
|
|
75
|
+
createBaseVNode("div", {
|
|
76
|
+
class: normalizeClass(_ctx.$style.cardInfoContainer)
|
|
77
|
+
}, [
|
|
78
|
+
createBaseVNode("div", {
|
|
79
|
+
class: normalizeClass(_ctx.$style.cardTitle)
|
|
80
|
+
}, [
|
|
81
|
+
createVNode(_component_n8n_text, {
|
|
82
|
+
bold: true,
|
|
83
|
+
size: "large"
|
|
84
|
+
}, {
|
|
85
|
+
default: withCtx(() => [
|
|
86
|
+
createTextVNode(toDisplayString(_ctx.communityPackage.packageName), 1)
|
|
87
|
+
]),
|
|
88
|
+
_: 1
|
|
89
|
+
})
|
|
90
|
+
], 2),
|
|
91
|
+
createBaseVNode("div", {
|
|
92
|
+
class: normalizeClass(_ctx.$style.cardSubtitle)
|
|
93
|
+
}, [
|
|
94
|
+
createVNode(_component_n8n_text, {
|
|
95
|
+
bold: true,
|
|
96
|
+
size: "small",
|
|
97
|
+
color: "text-light"
|
|
98
|
+
}, {
|
|
99
|
+
default: withCtx(() => [
|
|
100
|
+
createTextVNode(toDisplayString(unref(i18n).baseText("settings.communityNodes.packageNodes.label", {
|
|
101
|
+
adjustToNumber: _ctx.communityPackage.installedNodes.length
|
|
102
|
+
})) + ": ", 1)
|
|
103
|
+
]),
|
|
104
|
+
_: 1
|
|
105
|
+
}),
|
|
106
|
+
createVNode(_component_n8n_text, {
|
|
107
|
+
size: "small",
|
|
108
|
+
color: "text-light"
|
|
109
|
+
}, {
|
|
110
|
+
default: withCtx(() => [
|
|
111
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.communityPackage.installedNodes, (node, index) => {
|
|
112
|
+
return openBlock(), createElementBlock("span", {
|
|
113
|
+
key: node.name
|
|
114
|
+
}, [
|
|
115
|
+
createTextVNode(toDisplayString(node.name), 1),
|
|
116
|
+
index != _ctx.communityPackage.installedNodes.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_1, ",")) : createCommentVNode("", true)
|
|
117
|
+
]);
|
|
118
|
+
}), 128))
|
|
119
|
+
]),
|
|
120
|
+
_: 1
|
|
121
|
+
})
|
|
122
|
+
], 2)
|
|
123
|
+
], 2),
|
|
124
|
+
createBaseVNode("div", {
|
|
125
|
+
class: normalizeClass(_ctx.$style.cardControlsContainer)
|
|
126
|
+
}, [
|
|
127
|
+
createVNode(_component_n8n_text, {
|
|
128
|
+
bold: true,
|
|
129
|
+
size: "large",
|
|
130
|
+
color: "text-light"
|
|
131
|
+
}, {
|
|
132
|
+
default: withCtx(() => [
|
|
133
|
+
createTextVNode(" v" + toDisplayString(_ctx.communityPackage.installedVersion), 1)
|
|
134
|
+
]),
|
|
135
|
+
_: 1
|
|
136
|
+
}),
|
|
137
|
+
_ctx.communityPackage.failedLoading === true ? (openBlock(), createBlock(_component_n8n_tooltip, {
|
|
138
|
+
key: 0,
|
|
139
|
+
placement: "top"
|
|
140
|
+
}, {
|
|
141
|
+
content: withCtx(() => [
|
|
142
|
+
createBaseVNode("div", null, toDisplayString(unref(i18n).baseText("settings.communityNodes.failedToLoad.tooltip")), 1)
|
|
143
|
+
]),
|
|
144
|
+
default: withCtx(() => [
|
|
145
|
+
createVNode(_component_n8n_icon, {
|
|
146
|
+
icon: "exclamation-triangle",
|
|
147
|
+
color: "danger",
|
|
148
|
+
size: "large"
|
|
149
|
+
})
|
|
150
|
+
]),
|
|
151
|
+
_: 1
|
|
152
|
+
})) : _ctx.communityPackage.updateAvailable ? (openBlock(), createBlock(_component_n8n_tooltip, {
|
|
153
|
+
key: 1,
|
|
154
|
+
placement: "top"
|
|
155
|
+
}, {
|
|
156
|
+
content: withCtx(() => [
|
|
157
|
+
createBaseVNode("div", null, toDisplayString(unref(i18n).baseText("settings.communityNodes.updateAvailable.tooltip")), 1)
|
|
158
|
+
]),
|
|
159
|
+
default: withCtx(() => [
|
|
160
|
+
createVNode(_component_n8n_button, {
|
|
161
|
+
outline: "",
|
|
162
|
+
label: "Update",
|
|
163
|
+
onClick: onUpdateClick
|
|
164
|
+
})
|
|
165
|
+
]),
|
|
166
|
+
_: 1
|
|
167
|
+
})) : (openBlock(), createBlock(_component_n8n_tooltip, {
|
|
168
|
+
key: 2,
|
|
169
|
+
placement: "top"
|
|
170
|
+
}, {
|
|
171
|
+
content: withCtx(() => [
|
|
172
|
+
createBaseVNode("div", null, toDisplayString(unref(i18n).baseText("settings.communityNodes.upToDate.tooltip")), 1)
|
|
173
|
+
]),
|
|
174
|
+
default: withCtx(() => [
|
|
175
|
+
createVNode(_component_n8n_icon, {
|
|
176
|
+
icon: "check-circle",
|
|
177
|
+
color: "text-light",
|
|
178
|
+
size: "large"
|
|
179
|
+
})
|
|
180
|
+
]),
|
|
181
|
+
_: 1
|
|
182
|
+
})),
|
|
183
|
+
createBaseVNode("div", {
|
|
184
|
+
class: normalizeClass(_ctx.$style.cardActions)
|
|
185
|
+
}, [
|
|
186
|
+
createVNode(_component_n8n_action_toggle, {
|
|
187
|
+
actions: packageActions,
|
|
188
|
+
onAction
|
|
189
|
+
})
|
|
190
|
+
], 2)
|
|
191
|
+
], 2)
|
|
192
|
+
], 2)) : createCommentVNode("", true)
|
|
193
|
+
], 2);
|
|
194
|
+
};
|
|
55
195
|
}
|
|
56
196
|
});
|
|
57
197
|
const cardContainer = "_cardContainer_1cg0i_1";
|
|
@@ -74,160 +214,10 @@ const style0$1 = {
|
|
|
74
214
|
cardControlsContainer,
|
|
75
215
|
cardActions
|
|
76
216
|
};
|
|
77
|
-
const _hoisted_1 = { key: 0 };
|
|
78
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
79
|
-
const _component_n8n_loading = resolveComponent("n8n-loading");
|
|
80
|
-
const _component_n8n_text = resolveComponent("n8n-text");
|
|
81
|
-
const _component_n8n_icon = resolveComponent("n8n-icon");
|
|
82
|
-
const _component_n8n_tooltip = resolveComponent("n8n-tooltip");
|
|
83
|
-
const _component_n8n_button = resolveComponent("n8n-button");
|
|
84
|
-
const _component_n8n_action_toggle = resolveComponent("n8n-action-toggle");
|
|
85
|
-
return openBlock(), createElementBlock("div", {
|
|
86
|
-
class: normalizeClass(_ctx.$style.cardContainer),
|
|
87
|
-
"data-test-id": "community-package-card"
|
|
88
|
-
}, [
|
|
89
|
-
_ctx.loading ? (openBlock(), createElementBlock("div", {
|
|
90
|
-
key: 0,
|
|
91
|
-
class: normalizeClass(_ctx.$style.cardSkeleton)
|
|
92
|
-
}, [
|
|
93
|
-
createVNode(_component_n8n_loading, {
|
|
94
|
-
class: normalizeClass(_ctx.$style.loader),
|
|
95
|
-
variant: "p",
|
|
96
|
-
rows: 1
|
|
97
|
-
}, null, 8, ["class"]),
|
|
98
|
-
createVNode(_component_n8n_loading, {
|
|
99
|
-
class: normalizeClass(_ctx.$style.loader),
|
|
100
|
-
variant: "p",
|
|
101
|
-
rows: 1
|
|
102
|
-
}, null, 8, ["class"])
|
|
103
|
-
], 2)) : _ctx.communityPackage ? (openBlock(), createElementBlock("div", {
|
|
104
|
-
key: 1,
|
|
105
|
-
class: normalizeClass(_ctx.$style.packageCard)
|
|
106
|
-
}, [
|
|
107
|
-
createBaseVNode("div", {
|
|
108
|
-
class: normalizeClass(_ctx.$style.cardInfoContainer)
|
|
109
|
-
}, [
|
|
110
|
-
createBaseVNode("div", {
|
|
111
|
-
class: normalizeClass(_ctx.$style.cardTitle)
|
|
112
|
-
}, [
|
|
113
|
-
createVNode(_component_n8n_text, {
|
|
114
|
-
bold: true,
|
|
115
|
-
size: "large"
|
|
116
|
-
}, {
|
|
117
|
-
default: withCtx(() => [
|
|
118
|
-
createTextVNode(toDisplayString(_ctx.communityPackage.packageName), 1)
|
|
119
|
-
]),
|
|
120
|
-
_: 1
|
|
121
|
-
})
|
|
122
|
-
], 2),
|
|
123
|
-
createBaseVNode("div", {
|
|
124
|
-
class: normalizeClass(_ctx.$style.cardSubtitle)
|
|
125
|
-
}, [
|
|
126
|
-
createVNode(_component_n8n_text, {
|
|
127
|
-
bold: true,
|
|
128
|
-
size: "small",
|
|
129
|
-
color: "text-light"
|
|
130
|
-
}, {
|
|
131
|
-
default: withCtx(() => [
|
|
132
|
-
createTextVNode(toDisplayString(_ctx.$locale.baseText("settings.communityNodes.packageNodes.label", {
|
|
133
|
-
adjustToNumber: _ctx.communityPackage.installedNodes.length
|
|
134
|
-
})) + ": ", 1)
|
|
135
|
-
]),
|
|
136
|
-
_: 1
|
|
137
|
-
}),
|
|
138
|
-
createVNode(_component_n8n_text, {
|
|
139
|
-
size: "small",
|
|
140
|
-
color: "text-light"
|
|
141
|
-
}, {
|
|
142
|
-
default: withCtx(() => [
|
|
143
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.communityPackage.installedNodes, (node, index) => {
|
|
144
|
-
return openBlock(), createElementBlock("span", {
|
|
145
|
-
key: node.name
|
|
146
|
-
}, [
|
|
147
|
-
createTextVNode(toDisplayString(node.name), 1),
|
|
148
|
-
index != _ctx.communityPackage.installedNodes.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_1, ",")) : createCommentVNode("", true)
|
|
149
|
-
]);
|
|
150
|
-
}), 128))
|
|
151
|
-
]),
|
|
152
|
-
_: 1
|
|
153
|
-
})
|
|
154
|
-
], 2)
|
|
155
|
-
], 2),
|
|
156
|
-
createBaseVNode("div", {
|
|
157
|
-
class: normalizeClass(_ctx.$style.cardControlsContainer)
|
|
158
|
-
}, [
|
|
159
|
-
createVNode(_component_n8n_text, {
|
|
160
|
-
bold: true,
|
|
161
|
-
size: "large",
|
|
162
|
-
color: "text-light"
|
|
163
|
-
}, {
|
|
164
|
-
default: withCtx(() => [
|
|
165
|
-
createTextVNode(" v" + toDisplayString(_ctx.communityPackage.installedVersion), 1)
|
|
166
|
-
]),
|
|
167
|
-
_: 1
|
|
168
|
-
}),
|
|
169
|
-
_ctx.communityPackage.failedLoading === true ? (openBlock(), createBlock(_component_n8n_tooltip, {
|
|
170
|
-
key: 0,
|
|
171
|
-
placement: "top"
|
|
172
|
-
}, {
|
|
173
|
-
content: withCtx(() => [
|
|
174
|
-
createBaseVNode("div", null, toDisplayString(_ctx.$locale.baseText("settings.communityNodes.failedToLoad.tooltip")), 1)
|
|
175
|
-
]),
|
|
176
|
-
default: withCtx(() => [
|
|
177
|
-
createVNode(_component_n8n_icon, {
|
|
178
|
-
icon: "exclamation-triangle",
|
|
179
|
-
color: "danger",
|
|
180
|
-
size: "large"
|
|
181
|
-
})
|
|
182
|
-
]),
|
|
183
|
-
_: 1
|
|
184
|
-
})) : _ctx.communityPackage.updateAvailable ? (openBlock(), createBlock(_component_n8n_tooltip, {
|
|
185
|
-
key: 1,
|
|
186
|
-
placement: "top"
|
|
187
|
-
}, {
|
|
188
|
-
content: withCtx(() => [
|
|
189
|
-
createBaseVNode("div", null, toDisplayString(_ctx.$locale.baseText("settings.communityNodes.updateAvailable.tooltip")), 1)
|
|
190
|
-
]),
|
|
191
|
-
default: withCtx(() => [
|
|
192
|
-
createVNode(_component_n8n_button, {
|
|
193
|
-
outline: "",
|
|
194
|
-
label: "Update",
|
|
195
|
-
onClick: _ctx.onUpdateClick
|
|
196
|
-
}, null, 8, ["onClick"])
|
|
197
|
-
]),
|
|
198
|
-
_: 1
|
|
199
|
-
})) : (openBlock(), createBlock(_component_n8n_tooltip, {
|
|
200
|
-
key: 2,
|
|
201
|
-
placement: "top"
|
|
202
|
-
}, {
|
|
203
|
-
content: withCtx(() => [
|
|
204
|
-
createBaseVNode("div", null, toDisplayString(_ctx.$locale.baseText("settings.communityNodes.upToDate.tooltip")), 1)
|
|
205
|
-
]),
|
|
206
|
-
default: withCtx(() => [
|
|
207
|
-
createVNode(_component_n8n_icon, {
|
|
208
|
-
icon: "check-circle",
|
|
209
|
-
color: "text-light",
|
|
210
|
-
size: "large"
|
|
211
|
-
})
|
|
212
|
-
]),
|
|
213
|
-
_: 1
|
|
214
|
-
})),
|
|
215
|
-
createBaseVNode("div", {
|
|
216
|
-
class: normalizeClass(_ctx.$style.cardActions)
|
|
217
|
-
}, [
|
|
218
|
-
createVNode(_component_n8n_action_toggle, {
|
|
219
|
-
actions: _ctx.packageActions,
|
|
220
|
-
onAction: _ctx.onAction
|
|
221
|
-
}, null, 8, ["actions", "onAction"])
|
|
222
|
-
], 2)
|
|
223
|
-
], 2)
|
|
224
|
-
], 2)) : createCommentVNode("", true)
|
|
225
|
-
], 2);
|
|
226
|
-
}
|
|
227
217
|
const cssModules$1 = {
|
|
228
218
|
"$style": style0$1
|
|
229
219
|
};
|
|
230
|
-
const CommunityPackageCard = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["
|
|
220
|
+
const CommunityPackageCard = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__cssModules", cssModules$1]]);
|
|
231
221
|
const PACKAGE_COUNT_THRESHOLD = 31;
|
|
232
222
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
233
223
|
__name: "SettingsCommunityNodesView",
|
package/dist/assets/{SettingsExternalSecrets-CBL5kSMf.js → SettingsExternalSecrets-0-mj45K-.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent,
|
|
1
|
+
import { d as defineComponent, g6 as useExternalSecretsStore, K as useUIStore, a as useToast, cq as toRef, p as computed, iq as useExternalSecretsProvider, o as onMounted, c as openBlock, e as createBlock, w as withCtx, j as createBaseVNode, i as createVNode, n as normalizeClass, ir as _sfc_main$2, k as createTextVNode, t as toDisplayString, A as unref, f as createCommentVNode, h as createElementBlock, is as ExternalSecretsProviderConnectionSwitch, g as useI18n, x as nextTick, it as EXTERNAL_SECRETS_PROVIDER_MODAL_KEY, l as resolveComponent, aB as DateTime, iu as isDateObject, _ as _export_sfc, a3 as useDocumentTitle, a5 as usePageRedirectionHelper, F as Fragment, z as renderList } from "./index-7YFQEQmt.js";
|
|
2
2
|
const _hoisted_1$1 = { key: 0 };
|
|
3
3
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "ExternalSecretsProviderCard.ee",
|
|
@@ -208,10 +208,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
208
208
|
__name: "SettingsExternalSecrets",
|
|
209
209
|
setup(__props) {
|
|
210
210
|
const i18n = useI18n();
|
|
211
|
-
const uiStore = useUIStore();
|
|
212
211
|
const externalSecretsStore = useExternalSecretsStore();
|
|
213
212
|
const toast = useToast();
|
|
214
213
|
const documentTitle = useDocumentTitle();
|
|
214
|
+
const pageRedirectionHelper = usePageRedirectionHelper();
|
|
215
215
|
const sortedProviders = computed(() => {
|
|
216
216
|
return [...externalSecretsStore.providers].sort((a, b) => {
|
|
217
217
|
return b.name.localeCompare(a.name);
|
|
@@ -228,7 +228,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
228
228
|
}
|
|
229
229
|
});
|
|
230
230
|
function goToUpgrade() {
|
|
231
|
-
void
|
|
231
|
+
void pageRedirectionHelper.goToUpgrade("external-secrets", "upgrade-external-secrets");
|
|
232
232
|
}
|
|
233
233
|
return (_ctx, _cache) => {
|
|
234
234
|
const _component_n8n_heading = resolveComponent("n8n-heading");
|