n8n-editor-ui 1.66.0 → 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-CYMqjryg.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-DbabN_I2.js} +2 -2
- package/dist/assets/{AuthView-31vu0x_3.js → AuthView-DmC24d7S.js} +17 -19
- package/dist/assets/{CanvasControls-DkT1iClJ.js → CanvasControls-BPXQqeeO.js} +1 -1
- package/dist/assets/{ChangePasswordView-DkhZAh4j.js → ChangePasswordView-SC3n2vJc.js} +2 -2
- package/dist/assets/CollectionParameter-Odk28FRT.js +4 -0
- package/dist/assets/{CredentialsView-Du-lMwPW.js → CredentialsView-B3m9CpEC.js} +11 -9
- package/dist/assets/{ErrorView-CROJIl1H.js → ErrorView-D6M8WlVP.js} +1 -1
- package/dist/assets/{ExecutionsFilter-BecTg03r.css → ExecutionsFilter-DVxRt-Pz.css} +6 -6
- package/dist/assets/{ExecutionsFilter-132FKb5o.js → ExecutionsFilter-DlZH8tDW.js} +5 -5
- package/dist/assets/{ExecutionsView-B41cgHPD.js → ExecutionsView-DaHtYmF4.js} +4 -4
- package/dist/assets/{FileSaver.min-B3lWZPMp.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-DKrE7dUn.js → ForgotMyPasswordView-BJ6gd5CS.js} +4 -3
- package/dist/assets/{MainHeader-Bc5G9_Uq.css → MainHeader-D56WYRMG.css} +9 -9
- package/dist/assets/{MainHeader-CW31WCmm.js → MainHeader-DniXcGMK.js} +92 -98
- package/dist/assets/{MainSidebar-cNW0UJBC.css → MainSidebar-BRYJRpOA.css} +2 -2
- package/dist/assets/{MainSidebar-Dny90RtO.js → MainSidebar-NwOfijmV.js} +7 -6
- package/dist/assets/{NodeCreation-BqSkxffS.js → NodeCreation-Ce1ct2i3.js} +6 -6
- package/dist/assets/{NodeCreator-CoqcSKC-.js → NodeCreator-DMLTbzAt.js} +35 -22
- package/dist/assets/{NodeViewSwitcher-C1Gp-jKb.js → NodeViewSwitcher-B9JUn3eY.js} +399 -289
- package/dist/assets/{NodeViewSwitcher-B8VPj4Rs.css → NodeViewSwitcher-CnP5aYyg.css} +116 -116
- package/dist/assets/{ProjectCardBadge-kHyKG50e.js → ProjectCardBadge-C3QU-WmO.js} +1 -1
- package/dist/assets/{ProjectSettings-BohhQ-z6.js → ProjectSettings-BvcEg3hx.js} +5 -5
- package/dist/assets/{ProjectTabs-D-87NPFl.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-Bs6GLg32.js → ResourceListHeader-B2sxe6HT.js} +1 -1
- package/dist/assets/ResourcesListLayout-Bc4__nvw.js +692 -0
- package/dist/assets/{ResourcesListLayout-Bw99IFlO.css → ResourcesListLayout-Ci-K1bH3.css} +8 -8
- package/dist/assets/{RunDataAi-CYTNyRq_.js → RunDataAi-BKu1beM6.js} +4 -4
- package/dist/assets/{RunDataJson-CUsbBWaI.js → RunDataJson-ea5u1EeD.js} +12 -12
- package/dist/assets/{RunDataJsonActions-Bnn0o9WH.js → RunDataJsonActions-Dflnt8gK.js} +127 -159
- package/dist/assets/{RunDataSearch-BiygytJ8.js → RunDataSearch-DKNVmEqa.js} +1 -1
- package/dist/assets/{RunDataTable--RIqj8DU.js → RunDataTable-DISLWxMc.js} +1 -1
- package/dist/assets/{SamlOnboarding-BXYS2fQg.js → SamlOnboarding-CPvGRYUg.js} +2 -2
- package/dist/assets/SettingsApiView-BFj9fDL9.js +227 -0
- package/dist/assets/{SettingsCommunityNodesView-BjakfOB1.js → SettingsCommunityNodesView-nJFDrtIR.js} +185 -195
- package/dist/assets/{SettingsExternalSecrets-BGIt9OQy.js → SettingsExternalSecrets-0-mj45K-.js} +3 -3
- package/dist/assets/{SettingsLdapView-DBY4YyYE.js → SettingsLdapView-BhBxX72w.js} +3 -3
- package/dist/assets/SettingsLogStreamingView-CmEJrEOv.js +500 -0
- package/dist/assets/{SettingsPersonalView-CgzznKXi.js → SettingsPersonalView-C__lC8Vv.js} +1 -1
- package/dist/assets/{SettingsSourceControl-DNWFyNrX.js → SettingsSourceControl-CMoS5B5P.js} +3 -3
- package/dist/assets/{SettingsSso-B8oke872.js → SettingsSso-DJfrl1Rl.js} +3 -3
- package/dist/assets/{SettingsUsageAndPlan-BUUYApK_.js → SettingsUsageAndPlan-CWQ5uVrG.js} +4 -3
- package/dist/assets/{SettingsUsageAndPlan-P6SS2mWq.css → SettingsUsageAndPlan-vijI-va0.css} +3 -3
- package/dist/assets/{SettingsUsersView-DyuP8V6k.js → SettingsUsersView-Cvr6Digb.js} +4 -3
- package/dist/assets/{SettingsView-CD83Adan.js → SettingsView-DtGga45F.js} +2 -30
- package/dist/assets/{SetupView-C8XYMj2N.js → SetupView-DkJH96By.js} +2 -2
- package/dist/assets/{SetupWorkflowCredentialsButton-u1qhjj5K.js → SetupWorkflowCredentialsButton-C1Jv_-V5.js} +1 -1
- package/dist/assets/{SetupWorkflowFromTemplateView-DdxqCGcl.js → SetupWorkflowFromTemplateView-WSzVMgC4.js} +3 -3
- package/dist/assets/{SigninView-CGQ20O_c.js → SigninView-xej8y-Vu.js} +4 -3
- package/dist/assets/{SignoutView-BZwBBglt.js → SignoutView-Dc8fBBIm.js} +1 -1
- package/dist/assets/{SignupView-BCT6dhhZ.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-BxBSljqH.js → TemplatesCollectionView-C9PKPo5y.js} +8 -8
- package/dist/assets/{TemplatesSearchView-kFcPH-ZH.js → TemplatesSearchView-65taIL-M.js} +530 -577
- package/dist/assets/{TemplatesView-TPTpSdeD.js → TemplatesView-DkP9JWHk.js} +32 -37
- package/dist/assets/{TemplatesWorkflowView-8NdGLWj7.js → TemplatesWorkflowView-B5uc0BtL.js} +5 -5
- package/dist/assets/{VariablesView-CHXdt5-z.css → VariablesView-BPKo50HJ.css} +18 -18
- package/dist/assets/{VariablesView-C1NxBxBQ.js → VariablesView-DV1-KgmN.js} +6 -5
- package/dist/assets/WorkerView-5P9lg6ew.js +148 -0
- package/dist/assets/WorkerView-Dm0b18Mh.css +22 -0
- package/dist/assets/{WorkflowActivator-CalsATsI.js → WorkflowActivator-Dc_Un-Af.js} +2 -2
- package/dist/assets/{WorkflowExecutionsInfoAccordion-rUnvuY-5.js → WorkflowExecutionsInfoAccordion-BLyC6lr5.js} +1 -1
- package/dist/assets/{WorkflowExecutionsLandingPage-C4K7kfqv.js → WorkflowExecutionsLandingPage-Dsa6Bgkn.js} +2 -2
- package/dist/assets/{WorkflowExecutionsPreview-BO31AO7v.js → WorkflowExecutionsPreview-B_X-enUV.js} +5 -5
- package/dist/assets/{WorkflowExecutionsView-B-5zbx_n.js → WorkflowExecutionsView-Bkz3Sig-.js} +5 -5
- package/dist/assets/{WorkflowHistory-uvlFDwTJ.js → WorkflowHistory-BiPMooAv.js} +5 -4
- package/dist/assets/{WorkflowOnboardingView-B869wGVb.js → WorkflowOnboardingView-XHuS6lCs.js} +1 -1
- package/dist/assets/{WorkflowPreview-BlzWpiO1.js → WorkflowPreview-DxZKd23H.js} +1 -1
- package/dist/assets/{WorkflowsView-IdgMnIZY.js → WorkflowsView-BBaLVqJs.js} +10 -9
- package/dist/assets/{dateFormatter-BCrxaIdG.js → dateFormatter-C53K7zEn.js} +1 -1
- package/dist/assets/{index-QAq8Sa9R.js → index-7YFQEQmt.js} +36144 -36617
- package/dist/assets/{index-DaeOVPzE.css → index-BFH_KxyA.css} +64 -45
- package/dist/assets/{pushConnection.store-Cdssd0uJ.js → pushConnection.store-DbprXL-x.js} +1 -1
- package/dist/assets/{templateActions-ClPy1BRa.js → templateActions-QFQD8amJ.js} +1 -1
- package/dist/assets/{useBugReporting-Bvr7bSQt.js → useBugReporting-IgwBNdXI.js} +1 -1
- package/dist/assets/{useExecutionDebugging-CwyVwJqO.js → useExecutionDebugging-CLORI_Ma.js} +3 -2
- package/dist/assets/{useNodeViewVersionSwitcher-BPNKvsXw.js → useNodeViewVersionSwitcher-CJLQ5lju.js} +1 -1
- package/dist/assets/{usePushConnection-DDXmzoG8.js → usePushConnection-DjPgTuLw.js} +9 -10
- package/dist/assets/{useWorkflowActivate-DKPQP7qy.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-BDKfoIMJ.js +0 -4
- package/dist/assets/FixedCollectionParameter-DXh-j7zB.js +0 -355
- package/dist/assets/PushConnectionTracker-Bhnghrmf.js +0 -38
- package/dist/assets/ResourcesListLayout-ByBNP70B.js +0 -800
- package/dist/assets/SettingsApiView-DoibCiLo.js +0 -255
- package/dist/assets/SettingsFakeDoorView-DpKZ4qWG.css +0 -14
- package/dist/assets/SettingsFakeDoorView-DwXDXgon.js +0 -44
- package/dist/assets/SettingsLogStreamingView-DHQWns6I.js +0 -519
- package/dist/assets/TemplateDetails-BsLVCpdi.js +0 -199
- package/dist/assets/TemplateList-Bn7ePHhc.js +0 -433
- package/dist/assets/WorkerView-Bj1cvzLg.js +0 -825
- package/dist/assets/WorkerView-C_d54L0W.css +0 -181
- package/dist/assets/cloud-B6bxVT9F.js +0 -37
|
@@ -1,255 +0,0 @@
|
|
|
1
|
-
import { d as defineComponent, ep as CopyInput, a as useToast, ak as useMessage, K as useUIStore, a3 as useDocumentTitle, hM as DOCS_DOMAIN, e0 as mapStores, ay as useCloudPlanStore, u as useUsersStore, m as useSettingsStore, Z as useRootStore, ad as MODAL_CONFIRM, _ as _export_sfc, c as openBlock, h as createElementBlock, j as createBaseVNode, i as createVNode, w as withCtx, k as createTextVNode, t as toDisplayString, n as normalizeClass, e as createBlock, f as createCommentVNode, l as resolveComponent } from "./index-QAq8Sa9R.js";
|
|
2
|
-
const _sfc_main = defineComponent({
|
|
3
|
-
name: "SettingsApiView",
|
|
4
|
-
components: {
|
|
5
|
-
CopyInput
|
|
6
|
-
},
|
|
7
|
-
setup() {
|
|
8
|
-
return {
|
|
9
|
-
...useToast(),
|
|
10
|
-
...useMessage(),
|
|
11
|
-
...useUIStore(),
|
|
12
|
-
documentTitle: useDocumentTitle()
|
|
13
|
-
};
|
|
14
|
-
},
|
|
15
|
-
data() {
|
|
16
|
-
return {
|
|
17
|
-
loading: false,
|
|
18
|
-
mounted: false,
|
|
19
|
-
apiKeys: [],
|
|
20
|
-
swaggerUIEnabled: false,
|
|
21
|
-
apiDocsURL: ""
|
|
22
|
-
};
|
|
23
|
-
},
|
|
24
|
-
mounted() {
|
|
25
|
-
this.documentTitle.set(this.$locale.baseText("settings.api"));
|
|
26
|
-
if (!this.isPublicApiEnabled) return;
|
|
27
|
-
void this.getApiKeys();
|
|
28
|
-
const baseUrl = this.rootStore.baseUrl;
|
|
29
|
-
const apiPath = this.settingsStore.publicApiPath;
|
|
30
|
-
const latestVersion = this.settingsStore.publicApiLatestVersion;
|
|
31
|
-
this.swaggerUIEnabled = this.settingsStore.isSwaggerUIEnabled;
|
|
32
|
-
this.apiDocsURL = this.swaggerUIEnabled ? `${baseUrl}${apiPath}/v${latestVersion}/docs` : `https://${DOCS_DOMAIN}/api/api-reference/`;
|
|
33
|
-
},
|
|
34
|
-
computed: {
|
|
35
|
-
...mapStores(useRootStore, useSettingsStore, useUsersStore, useCloudPlanStore, useUIStore),
|
|
36
|
-
currentUser() {
|
|
37
|
-
return this.usersStore.currentUser;
|
|
38
|
-
},
|
|
39
|
-
isTrialing() {
|
|
40
|
-
return this.cloudPlanStore.userIsTrialing;
|
|
41
|
-
},
|
|
42
|
-
isLoadingCloudPlans() {
|
|
43
|
-
return this.cloudPlanStore.state.loadingPlan;
|
|
44
|
-
},
|
|
45
|
-
isPublicApiEnabled() {
|
|
46
|
-
return this.settingsStore.isPublicApiEnabled;
|
|
47
|
-
},
|
|
48
|
-
isRedactedApiKey() {
|
|
49
|
-
if (!this.apiKeys) return false;
|
|
50
|
-
return this.apiKeys[0].apiKey.includes("*");
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
methods: {
|
|
54
|
-
onUpgrade() {
|
|
55
|
-
void this.uiStore.goToUpgrade("settings-n8n-api", "upgrade-api", "redirect");
|
|
56
|
-
},
|
|
57
|
-
async showDeleteModal() {
|
|
58
|
-
const confirmed = await this.confirm(
|
|
59
|
-
this.$locale.baseText("settings.api.delete.description"),
|
|
60
|
-
this.$locale.baseText("settings.api.delete.title"),
|
|
61
|
-
{
|
|
62
|
-
confirmButtonText: this.$locale.baseText("settings.api.delete.button"),
|
|
63
|
-
cancelButtonText: this.$locale.baseText("generic.cancel")
|
|
64
|
-
}
|
|
65
|
-
);
|
|
66
|
-
if (confirmed === MODAL_CONFIRM) {
|
|
67
|
-
await this.deleteApiKey();
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
async getApiKeys() {
|
|
71
|
-
try {
|
|
72
|
-
this.apiKeys = await this.settingsStore.getApiKeys();
|
|
73
|
-
} catch (error) {
|
|
74
|
-
this.showError(error, this.$locale.baseText("settings.api.view.error"));
|
|
75
|
-
} finally {
|
|
76
|
-
this.mounted = true;
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
async createApiKey() {
|
|
80
|
-
this.loading = true;
|
|
81
|
-
try {
|
|
82
|
-
const newApiKey = await this.settingsStore.createApiKey();
|
|
83
|
-
this.apiKeys.push(newApiKey);
|
|
84
|
-
} catch (error) {
|
|
85
|
-
this.showError(error, this.$locale.baseText("settings.api.create.error"));
|
|
86
|
-
} finally {
|
|
87
|
-
this.loading = false;
|
|
88
|
-
this.$telemetry.track("User clicked create API key button");
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
async deleteApiKey() {
|
|
92
|
-
try {
|
|
93
|
-
await this.settingsStore.deleteApiKey(this.apiKeys[0].id);
|
|
94
|
-
this.showMessage({
|
|
95
|
-
title: this.$locale.baseText("settings.api.delete.toast"),
|
|
96
|
-
type: "success"
|
|
97
|
-
});
|
|
98
|
-
this.apiKeys = [];
|
|
99
|
-
} catch (error) {
|
|
100
|
-
this.showError(error, this.$locale.baseText("settings.api.delete.error"));
|
|
101
|
-
} finally {
|
|
102
|
-
this.$telemetry.track("User clicked delete API key button");
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
onCopy() {
|
|
106
|
-
this.$telemetry.track("User clicked copy API key button");
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
});
|
|
110
|
-
const container = "_container_1xc1f_1";
|
|
111
|
-
const header = "_header_1xc1f_5";
|
|
112
|
-
const card = "_card_1xc1f_14";
|
|
113
|
-
const hint = "_hint_1xc1f_25";
|
|
114
|
-
const style0 = {
|
|
115
|
-
container,
|
|
116
|
-
header,
|
|
117
|
-
card,
|
|
118
|
-
"delete": "_delete_1xc1f_18",
|
|
119
|
-
hint
|
|
120
|
-
};
|
|
121
|
-
const _hoisted_1 = { style: { fontSize: "var(--font-size-s)", color: "var(--color-text-light)" } };
|
|
122
|
-
const _hoisted_2 = { key: 0 };
|
|
123
|
-
const _hoisted_3 = { class: "mb-s" };
|
|
124
|
-
const _hoisted_4 = ["textContent"];
|
|
125
|
-
const _hoisted_5 = ["textContent"];
|
|
126
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
127
|
-
const _component_n8n_heading = resolveComponent("n8n-heading");
|
|
128
|
-
const _component_i18n_t = resolveComponent("i18n-t");
|
|
129
|
-
const _component_n8n_info_tip = resolveComponent("n8n-info-tip");
|
|
130
|
-
const _component_n8n_link = resolveComponent("n8n-link");
|
|
131
|
-
const _component_CopyInput = CopyInput;
|
|
132
|
-
const _component_n8n_card = resolveComponent("n8n-card");
|
|
133
|
-
const _component_n8n_text = resolveComponent("n8n-text");
|
|
134
|
-
const _component_n8n_action_box = resolveComponent("n8n-action-box");
|
|
135
|
-
return openBlock(), createElementBlock("div", {
|
|
136
|
-
class: normalizeClass(_ctx.$style.container)
|
|
137
|
-
}, [
|
|
138
|
-
createBaseVNode("div", {
|
|
139
|
-
class: normalizeClass(_ctx.$style.header)
|
|
140
|
-
}, [
|
|
141
|
-
createVNode(_component_n8n_heading, { size: "2xlarge" }, {
|
|
142
|
-
default: withCtx(() => [
|
|
143
|
-
createTextVNode(toDisplayString(_ctx.$locale.baseText("settings.api")) + " ", 1),
|
|
144
|
-
createBaseVNode("span", _hoisted_1, " (" + toDisplayString(_ctx.$locale.baseText("generic.beta")) + ") ", 1)
|
|
145
|
-
]),
|
|
146
|
-
_: 1
|
|
147
|
-
})
|
|
148
|
-
], 2),
|
|
149
|
-
_ctx.apiKeys.length ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
150
|
-
createBaseVNode("p", _hoisted_3, [
|
|
151
|
-
createVNode(_component_n8n_info_tip, { bold: false }, {
|
|
152
|
-
default: withCtx(() => [
|
|
153
|
-
createVNode(_component_i18n_t, {
|
|
154
|
-
keypath: "settings.api.view.info",
|
|
155
|
-
tag: "span"
|
|
156
|
-
}, {
|
|
157
|
-
apiAction: withCtx(() => [
|
|
158
|
-
createBaseVNode("a", {
|
|
159
|
-
href: "https://docs.n8n.io/api",
|
|
160
|
-
target: "_blank",
|
|
161
|
-
textContent: toDisplayString(_ctx.$locale.baseText("settings.api.view.info.api"))
|
|
162
|
-
}, null, 8, _hoisted_4)
|
|
163
|
-
]),
|
|
164
|
-
webhookAction: withCtx(() => [
|
|
165
|
-
createBaseVNode("a", {
|
|
166
|
-
href: "https://docs.n8n.io/integrations/core-nodes/n8n-nodes-base.webhook/",
|
|
167
|
-
target: "_blank",
|
|
168
|
-
textContent: toDisplayString(_ctx.$locale.baseText("settings.api.view.info.webhook"))
|
|
169
|
-
}, null, 8, _hoisted_5)
|
|
170
|
-
]),
|
|
171
|
-
_: 1
|
|
172
|
-
})
|
|
173
|
-
]),
|
|
174
|
-
_: 1
|
|
175
|
-
})
|
|
176
|
-
]),
|
|
177
|
-
createVNode(_component_n8n_card, {
|
|
178
|
-
class: normalizeClass(["mb-4xs", _ctx.$style.card])
|
|
179
|
-
}, {
|
|
180
|
-
default: withCtx(() => [
|
|
181
|
-
createBaseVNode("span", {
|
|
182
|
-
class: normalizeClass(_ctx.$style.delete)
|
|
183
|
-
}, [
|
|
184
|
-
createVNode(_component_n8n_link, {
|
|
185
|
-
bold: true,
|
|
186
|
-
onClick: _ctx.showDeleteModal
|
|
187
|
-
}, {
|
|
188
|
-
default: withCtx(() => [
|
|
189
|
-
createTextVNode(toDisplayString(_ctx.$locale.baseText("generic.delete")), 1)
|
|
190
|
-
]),
|
|
191
|
-
_: 1
|
|
192
|
-
}, 8, ["onClick"])
|
|
193
|
-
], 2),
|
|
194
|
-
createBaseVNode("div", null, [
|
|
195
|
-
createVNode(_component_CopyInput, {
|
|
196
|
-
label: _ctx.apiKeys[0].label,
|
|
197
|
-
value: _ctx.apiKeys[0].apiKey,
|
|
198
|
-
"copy-button-text": _ctx.$locale.baseText("generic.clickToCopy"),
|
|
199
|
-
"toast-title": _ctx.$locale.baseText("settings.api.view.copy.toast"),
|
|
200
|
-
"redact-value": true,
|
|
201
|
-
"disable-copy": _ctx.isRedactedApiKey,
|
|
202
|
-
hint: !_ctx.isRedactedApiKey ? _ctx.$locale.baseText("settings.api.view.copy") : "",
|
|
203
|
-
onCopy: _ctx.onCopy
|
|
204
|
-
}, null, 8, ["label", "value", "copy-button-text", "toast-title", "disable-copy", "hint", "onCopy"])
|
|
205
|
-
])
|
|
206
|
-
]),
|
|
207
|
-
_: 1
|
|
208
|
-
}, 8, ["class"]),
|
|
209
|
-
createBaseVNode("div", {
|
|
210
|
-
class: normalizeClass(_ctx.$style.hint)
|
|
211
|
-
}, [
|
|
212
|
-
createVNode(_component_n8n_text, { size: "small" }, {
|
|
213
|
-
default: withCtx(() => [
|
|
214
|
-
createTextVNode(toDisplayString(_ctx.$locale.baseText(`settings.api.view.${_ctx.swaggerUIEnabled ? "tryapi" : "more-details"}`)), 1)
|
|
215
|
-
]),
|
|
216
|
-
_: 1
|
|
217
|
-
}),
|
|
218
|
-
_cache[0] || (_cache[0] = createTextVNode(" " + toDisplayString(" ") + " ")),
|
|
219
|
-
createVNode(_component_n8n_link, {
|
|
220
|
-
to: _ctx.apiDocsURL,
|
|
221
|
-
"new-window": true,
|
|
222
|
-
size: "small"
|
|
223
|
-
}, {
|
|
224
|
-
default: withCtx(() => [
|
|
225
|
-
createTextVNode(toDisplayString(_ctx.$locale.baseText(
|
|
226
|
-
`settings.api.view.${_ctx.swaggerUIEnabled ? "apiPlayground" : "external-docs"}`
|
|
227
|
-
)), 1)
|
|
228
|
-
]),
|
|
229
|
-
_: 1
|
|
230
|
-
}, 8, ["to"])
|
|
231
|
-
], 2)
|
|
232
|
-
])) : !_ctx.isPublicApiEnabled && _ctx.isTrialing ? (openBlock(), createBlock(_component_n8n_action_box, {
|
|
233
|
-
key: 1,
|
|
234
|
-
"data-test-id": "public-api-upgrade-cta",
|
|
235
|
-
heading: _ctx.$locale.baseText("settings.api.trial.upgradePlan.title"),
|
|
236
|
-
description: _ctx.$locale.baseText("settings.api.trial.upgradePlan.description"),
|
|
237
|
-
"button-text": _ctx.$locale.baseText("settings.api.trial.upgradePlan.cta"),
|
|
238
|
-
"onClick:button": _ctx.onUpgrade
|
|
239
|
-
}, null, 8, ["heading", "description", "button-text", "onClick:button"])) : _ctx.mounted && !_ctx.isLoadingCloudPlans ? (openBlock(), createBlock(_component_n8n_action_box, {
|
|
240
|
-
key: 2,
|
|
241
|
-
"button-text": _ctx.$locale.baseText(
|
|
242
|
-
_ctx.loading ? "settings.api.create.button.loading" : "settings.api.create.button"
|
|
243
|
-
),
|
|
244
|
-
description: _ctx.$locale.baseText("settings.api.create.description"),
|
|
245
|
-
"onClick:button": _ctx.createApiKey
|
|
246
|
-
}, null, 8, ["button-text", "description", "onClick:button"])) : createCommentVNode("", true)
|
|
247
|
-
], 2);
|
|
248
|
-
}
|
|
249
|
-
const cssModules = {
|
|
250
|
-
"$style": style0
|
|
251
|
-
};
|
|
252
|
-
const SettingsApiView = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__cssModules", cssModules]]);
|
|
253
|
-
export {
|
|
254
|
-
SettingsApiView as default
|
|
255
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
._header_fa9t3_1 {
|
|
2
|
-
display: -webkit-box;
|
|
3
|
-
display: -ms-flexbox;
|
|
4
|
-
display: flex;
|
|
5
|
-
-webkit-box-align: center;
|
|
6
|
-
-ms-flex-align: center;
|
|
7
|
-
align-items: center;
|
|
8
|
-
white-space: nowrap;
|
|
9
|
-
}
|
|
10
|
-
._header_fa9t3_1 *:first-child {
|
|
11
|
-
-webkit-box-flex: 1;
|
|
12
|
-
-ms-flex-positive: 1;
|
|
13
|
-
flex-grow: 1;
|
|
14
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { d as defineComponent, hQ as __unplugin_components_0, e0 as mapStores, K as useUIStore, _ as _export_sfc, c as openBlock, e as createBlock } from "./index-QAq8Sa9R.js";
|
|
2
|
-
const _sfc_main = defineComponent({
|
|
3
|
-
name: "SettingsFakeDoorView",
|
|
4
|
-
components: {
|
|
5
|
-
FeatureComingSoon: __unplugin_components_0
|
|
6
|
-
},
|
|
7
|
-
props: {
|
|
8
|
-
featureId: {
|
|
9
|
-
type: String,
|
|
10
|
-
required: true
|
|
11
|
-
}
|
|
12
|
-
},
|
|
13
|
-
computed: {
|
|
14
|
-
...mapStores(useUIStore),
|
|
15
|
-
featureInfo() {
|
|
16
|
-
return this.uiStore.fakeDoorsById[this.featureId];
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
methods: {
|
|
20
|
-
openLinkPage() {
|
|
21
|
-
if (this.featureInfo) {
|
|
22
|
-
window.open(this.featureInfo.linkURL, "_blank");
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
const header = "_header_fa9t3_1";
|
|
28
|
-
const style0 = {
|
|
29
|
-
header
|
|
30
|
-
};
|
|
31
|
-
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
32
|
-
const _component_FeatureComingSoon = __unplugin_components_0;
|
|
33
|
-
return openBlock(), createBlock(_component_FeatureComingSoon, {
|
|
34
|
-
"feature-id": _ctx.featureId,
|
|
35
|
-
"show-title": ""
|
|
36
|
-
}, null, 8, ["feature-id"]);
|
|
37
|
-
}
|
|
38
|
-
const cssModules = {
|
|
39
|
-
"$style": style0
|
|
40
|
-
};
|
|
41
|
-
const SettingsFakeDoorView = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__cssModules", cssModules]]);
|
|
42
|
-
export {
|
|
43
|
-
SettingsFakeDoorView as default
|
|
44
|
-
};
|