n8n-editor-ui 1.113.0 → 1.114.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/.build/cache-marker +1 -1
- package/.build/node-popularity.json +1823 -1823
- package/dist/assets/{AddDataStoreModal-BpBgou0E.js → AddDataStoreModal-gdYynAXK.js} +8 -8
- package/dist/assets/{AnimatedSpinner-BVVzuhy8.js → AnimatedSpinner-BmfqnkMh.js} +1 -1
- package/dist/assets/{AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-D9y_kml7.js → AnnotationTagsDropdown.ee.vue_vue_type_script_setup_true_lang-CVFW66bR.js} +1 -1
- package/dist/assets/{AuthView-DLJKQ74o.js → AuthView-CYJ7bCsV.js} +2 -2
- package/dist/assets/{ChangePasswordView-BMWrkaiq.js → ChangePasswordView-zducTJEL.js} +3 -3
- package/dist/assets/CollectionParameter-CxZhodaL.js +4 -0
- package/dist/assets/{ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-CgS2Cb5Q.js → ConsumedTokensDetails.vue_vue_type_script_setup_true_lang-DFcvVtT3.js} +1 -1
- package/dist/assets/{CredentialsView-DHSg9xJ1.js → CredentialsView-CZU7hcHm.js} +19 -19
- package/dist/assets/{DataStoreActions.vue_vue_type_script_setup_true_lang-C2Dn9B2o.js → DataStoreActions.vue_vue_type_script_setup_true_lang-D2PEOSYF.js} +1 -1
- package/dist/assets/{DataStoreDetailsView-yJ7Ifouw.js → DataStoreDetailsView-cCwLSizn.js} +38 -26
- package/dist/assets/{DataStoreView-jb9J_g-Y.js → DataStoreView-DVBz_mE7.js} +13 -14
- package/dist/assets/{DemoFooter-BYvzzkpQ.js → DemoFooter-Cyz5315_.js} +6 -6
- package/dist/assets/{EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-BfHfE-dU.js → EmptySharedSectionActionBox.vue_vue_type_script_setup_true_lang-Ber_ThA-.js} +3 -3
- package/dist/assets/{EntityNotFound-lPracI2m.js → EntityNotFound-E440DAgo.js} +1 -1
- package/dist/assets/{EntityUnAuthorised-zuygLqjz.js → EntityUnAuthorised-CGA8Pnag.js} +1 -1
- package/dist/assets/{ErrorView-C_k5_sJ0.js → ErrorView-DRsAZvNh.js} +9 -9
- package/dist/assets/{EvaluationsRootView-DP2_MhvN.js → EvaluationsRootView-CBh2oepG.js} +5 -5
- package/dist/assets/{EvaluationsView-BHRPpTsS.js → EvaluationsView-Bk0AxB7_.js} +3 -3
- package/dist/assets/{ExecutionsTime-etWexlXm.css → ExecutionsTime-CWHk7ZwI.css} +6 -6
- package/dist/assets/{ExecutionsTime.vue_vue_type_script_setup_true_lang-DTpILxvC.js → ExecutionsTime.vue_vue_type_script_setup_true_lang-CNY2bHYv.js} +39 -39
- package/dist/assets/{ExecutionsView-Bv3YVM-6.js → ExecutionsView-ByBXIAlI.js} +10 -10
- package/dist/assets/{FixedCollectionParameter-CZc3TqBt.js → FixedCollectionParameter-B2zzgypc.js} +4 -4
- package/dist/assets/{FixedCollectionParameter-Dg7ZadcB.css → FixedCollectionParameter-TY1-sHgZ.css} +18 -18
- package/dist/assets/{ForgotMyPasswordView-CaiqDg42.js → ForgotMyPasswordView-BgKsPtpt.js} +3 -3
- package/dist/assets/{InfoAccordion-TbgnFURd.js → InfoAccordion-CsiczXnv.js} +1 -1
- package/dist/assets/{InsightsChartAverageRuntime-BqCmV_C3.js → InsightsChartAverageRuntime-Gy5dvV3h.js} +4 -4
- package/dist/assets/{InsightsChartFailed-nhNAvWJ-.js → InsightsChartFailed-Oe0oEJCc.js} +4 -4
- package/dist/assets/{InsightsChartFailureRate-Ca8Ar9nD.js → InsightsChartFailureRate-DU1kHSZv.js} +4 -4
- package/dist/assets/{InsightsChartTimeSaved-CuO9b6Em.js → InsightsChartTimeSaved-CTUmcK5A.js} +4 -4
- package/dist/assets/{InsightsChartTotal-Dk2_nvoT.js → InsightsChartTotal-BtVfKdlz.js} +4 -4
- package/dist/assets/{InsightsDashboard-zCjTFLpM.js → InsightsDashboard-D65QIYuB.js} +11 -11
- package/dist/assets/{InsightsPaywall-CBtrv5fk.js → InsightsPaywall-Bm7hpUXq.js} +1 -1
- package/dist/assets/{InsightsSummary-BWRporX0.js → InsightsSummary-B_lIzS7D.js} +2 -3
- package/dist/assets/{InsightsTableWorkflows-DlGA2gWN.js → InsightsTableWorkflows-HAoS3XKw.js} +6 -7
- package/dist/assets/{Logo-ayCSvzHf.js → Logo-oWcxWkkZ.js} +1 -1
- package/dist/assets/{LogsPanel-DwPSXTSp.js → LogsPanel-BCGl1Nn3.js} +189 -101
- package/dist/assets/{LogsPanel-CUsQIBpC.css → LogsPanel-BE9Gl1z0.css} +26 -27
- package/dist/assets/{MainHeader-6lIHYgJG.css → MainHeader-BM1jYnSL.css} +6 -6
- package/dist/assets/{MainHeader-BGOzl1ir.js → MainHeader-BTi38P2q.js} +17 -17
- package/dist/assets/{MainSidebar-a73tcV9E.css → MainSidebar-BWPXOik1.css} +156 -0
- package/dist/assets/{MainSidebar-CGhxTuih.js → MainSidebar-f5ouPYUb.js} +204 -48
- package/dist/assets/{NodeCreation-C2TX7WTu.js → NodeCreation-BeqOH71X.js} +11 -11
- package/dist/assets/{NodeCreator-tQVCw9Uh.js → NodeCreator-Ck3oKOFP.js} +47 -34
- package/dist/assets/{NodeDetailsView-C-BCfvgR.js → NodeDetailsView-BOC4Hg0s.js} +27 -27
- package/dist/assets/{NodeDetailsViewV2-CHkxHxvz.js → NodeDetailsViewV2-M9x7-EpG.js} +16 -16
- package/dist/assets/{NodeView-B6Bv6TYS.js → NodeView-C9_Bsqwa.js} +88 -258
- package/dist/assets/{NodeView-Chs2u0U9.css → NodeView-DoRx_8YL.css} +0 -165
- package/dist/assets/{PageViewLayout-_SQAsKsq.js → PageViewLayout-BIOAQYgC.js} +1 -1
- package/dist/assets/{PrebuiltAgentTemplatesView-DOI6Oras.js → PrebuiltAgentTemplatesView-Bl6VzvHf.js} +2 -2
- package/dist/assets/{ProjectBreadcrumb-DdovGxoT.js → ProjectBreadcrumb-BO4fGsZ-.js} +28 -12
- package/dist/assets/{ProjectHeader-B5uv4DKo.css → ProjectHeader-BNMKpvzV.css} +9 -9
- package/dist/assets/{ProjectHeader-CmNr3RiV.js → ProjectHeader-DeQSPU2Z.js} +10 -10
- package/dist/assets/{ProjectSettings-BLw1-aa2.js → ProjectSettings-Bie7IE72.js} +169 -161
- package/dist/assets/{ProjectSettings-B5z1mrGW.css → ProjectSettings-Cj1kC16G.css} +30 -15
- package/dist/assets/{PushConnectionTracker.vue_vue_type_script_setup_true_lang-BvsEzRu6.js → PushConnectionTracker.vue_vue_type_script_setup_true_lang-R3ag1qU9.js} +5 -5
- package/dist/assets/{ResourcesListLayout-vTwRIDRz.css → ResourcesListLayout-BseE8-rt.css} +8 -8
- package/dist/assets/{ResourcesListLayout-CFoOOQpo.js → ResourcesListLayout-Dpz7rW4E.js} +42 -42
- package/dist/assets/{RunDataJson-KBqmqbfA.js → RunDataJson-D9c7DSu3.js} +3 -3
- package/dist/assets/{RunDataJsonActions-CKFc7ymK.js → RunDataJsonActions-DSwvkK8R.js} +1 -1
- package/dist/assets/{RunDataParsedAiContent-Ce_ctsro.js → RunDataParsedAiContent-Dw4DMcCc.js} +2 -2
- package/dist/assets/{RunDataSearch-gM--YmOH.js → RunDataSearch-CHn_C4l1.js} +59 -16
- package/dist/assets/{RunDataTable-CV1IQEC1.js → RunDataTable-BVcP67HC.js} +4 -4
- package/dist/assets/{SamlOnboarding-sD7YkjXE.js → SamlOnboarding-evZs5JmT.js} +3 -3
- package/dist/assets/{SelectedItemsInfo-CWRoXt5N.js → SelectedItemsInfo-BD8U-j2_.js} +1 -1
- package/dist/assets/{SettingsApiView-CjxSweZ2.js → SettingsApiView-C9ICg95A.js} +23 -24
- package/dist/assets/{SettingsCommunityNodesView-BZS-1Pu8.js → SettingsCommunityNodesView-BKv6oPzd.js} +31 -31
- package/dist/assets/{SettingsExternalSecrets-CUP7WmUX.js → SettingsExternalSecrets-B1fXLwpl.js} +18 -18
- package/dist/assets/{SettingsLdapView-CAcFtpvb.js → SettingsLdapView-1uB_1Kjt.js} +17 -17
- package/dist/assets/{SettingsLogStreamingView-Db06ainF.js → SettingsLogStreamingView-Cg5xgDBl.js} +29 -29
- package/dist/assets/SettingsMCPView-8ZO6fO7I.js +626 -0
- package/dist/assets/SettingsMCPView-INU33iV4.css +370 -0
- package/dist/assets/{SettingsPersonalView-CFAcW525.js → SettingsPersonalView-hcRTSivt.js} +31 -31
- package/dist/assets/{SettingsSourceControl-Cl0Z45op.js → SettingsSourceControl-CmWbELjI.js} +208 -65
- package/dist/assets/{SettingsSso-hvpitcmh.js → SettingsSso-DaF1HUCT.js} +61 -23
- package/dist/assets/{SettingsUsageAndPlan-CfFJy6fo.css → SettingsUsageAndPlan-CfunueCX.css} +3 -3
- package/dist/assets/{SettingsUsageAndPlan-pIa02R8X.js → SettingsUsageAndPlan-D35oEsJZ.js} +16 -17
- package/dist/assets/{SettingsUsersView-Bc_d_j_C.js → SettingsUsersView-ZRALZYsy.js} +4 -4
- package/dist/assets/{SettingsView-k1Qk6b9u.js → SettingsView-CgvnNTk-.js} +13 -12
- package/dist/assets/{SetupView-CgueTipX.js → SetupView-ChAnZVE2.js} +3 -3
- package/dist/assets/{SetupWorkflowCredentialsButton-9ZdgoxH6.js → SetupWorkflowCredentialsButton-BszdxOvj.js} +3 -3
- package/dist/assets/{SetupWorkflowFromTemplateView-DImn3MLc.js → SetupWorkflowFromTemplateView-DNXIp_P5.js} +13 -13
- package/dist/assets/{SigninView-Dy2njlT9.js → SigninView-wo3QJ5sB.js} +17 -17
- package/dist/assets/{SignoutView-BW4OLG4T.js → SignoutView-CQhFqBlf.js} +1 -1
- package/dist/assets/{SignupView-DqiOjgU_.js → SignupView-DchGNZfW.js} +3 -3
- package/dist/assets/{TableBase-J7qyS7Oi.js → TableBase-CtxQxn5Y.js} +1 -1
- package/dist/assets/{Tags-DHmekS5b.js → Tags-BXpnsQt9.js} +1 -1
- package/dist/assets/{TemplateDetails-lA7coCfr.js → TemplateDetails-BJTTpXQu.js} +11 -11
- package/dist/assets/{TemplateList-C_enJUC-.js → TemplateList-Ci2Gabt3.js} +15 -15
- package/dist/assets/{TemplatesCollectionView-Bvr4Jl4e.js → TemplatesCollectionView-CUX1Go6k.js} +15 -15
- package/dist/assets/{TemplatesSearchView-DNEWIXcA.js → TemplatesSearchView-DPFeZwku.js} +30 -30
- package/dist/assets/{TemplatesView-D6kBDKHq.js → TemplatesView-B2kjPDKq.js} +3 -3
- package/dist/assets/{TemplatesWorkflowView-CxpvFC33.js → TemplatesWorkflowView-DITL6wCM.js} +18 -18
- package/dist/assets/{TriggerPanel-DiD8pi0I.css → TriggerPanel-CZRJpcTa.css} +26 -24
- package/dist/assets/{TriggerPanel-aOMoGQPb.js → TriggerPanel-CrYeGN3J.js} +100 -124
- package/dist/assets/{VariablesView-CF7zW6sO.js → VariablesView-Bwp171eQ.js} +9 -9
- package/dist/assets/{VariablesView-BHcrNXsw.css → VariablesView-CO67wOhz.css} +6 -6
- package/dist/assets/{WorkerView-CPSFDQ3M.js → WorkerView-CTITbNMD.js} +27 -27
- package/dist/assets/{WorkflowActivator-jI4sUqXL.css → WorkflowActivator-BqnfTqdT.css} +2 -2
- package/dist/assets/{WorkflowActivator-2k4uBcXx.js → WorkflowActivator-ULjjOqRW.js} +35 -27
- package/dist/assets/{WorkflowExecutionsInfoAccordion-DLSyy7P3.js → WorkflowExecutionsInfoAccordion-Du8aYVAp.js} +2 -2
- package/dist/assets/{WorkflowExecutionsLandingPage-B0lwEkzs.js → WorkflowExecutionsLandingPage--NydRWjB.js} +3 -3
- package/dist/assets/{WorkflowExecutionsPreview-fdG8WvjQ.js → WorkflowExecutionsPreview-SapcKnCv.js} +17 -17
- package/dist/assets/{WorkflowExecutionsView-DqWqyiNg.css → WorkflowExecutionsView-BI8VcrjR.css} +2 -2
- package/dist/assets/{WorkflowExecutionsView-DoOsdRNS.js → WorkflowExecutionsView-DzM_rNXF.js} +20 -20
- package/dist/assets/{WorkflowHistory-BmCEHmbX.js → WorkflowHistory-Db-y1oNT.js} +23 -23
- package/dist/assets/{WorkflowOnboardingView-DoANwef9.js → WorkflowOnboardingView-WrpmE_wt.js} +1 -1
- package/dist/assets/{WorkflowPreview-BcVSQJ1r.js → WorkflowPreview-7kOr6cGA.js} +10 -7
- package/dist/assets/{WorkflowsView-MF9XcT0u.css → WorkflowsView-Cn8b7sC6.css} +295 -18
- package/dist/assets/{WorkflowsView-DfkdEDYd.js → WorkflowsView-DyYy_N8O.js} +314 -136
- package/dist/assets/{canvas-DjkOwLgJ.js → canvas-DTKhYM6C.js} +1 -1
- package/dist/assets/{chartjs.utils-P0M5ijsc.js → chartjs.utils-CJ62oVGG.js} +2 -2
- package/dist/assets/{core-WbBbE4BE.js → core-VF74aV13.js} +1 -1
- package/dist/assets/{global-link-actions-Cq9wmyMP.js → global-link-actions-Ddo-afkv.js} +1 -1
- package/dist/assets/{index-DGLJxfnn.js → index-BOW55EQc.js} +16959 -15085
- package/dist/assets/{index-vcIMPEwS.js → index-BUUYM12e.js} +1 -1
- package/dist/assets/{index-CpPc1kM8.css → index-CTgzCbB9.css} +10049 -10911
- package/dist/assets/{pickBy-ClKklBll.js → pickBy-CwZEa5Ur.js} +1 -1
- package/dist/assets/{readyToRunWorkflows.store-By37rv7G.js → readyToRunWorkflows.store-C7dZP8KI.js} +1 -1
- package/dist/assets/{readyToRunWorkflowsV2.store-Dl9lSVnl.js → readyToRunWorkflowsV2.store-BJY-F_Le.js} +2 -2
- package/dist/assets/{templateActions-DIHXnHcb.js → templateActions-BfUcgZvZ.js} +1 -1
- package/dist/assets/{useBeforeUnload-DixKQhw1.js → useBeforeUnload-CEwAxZFs.js} +1 -1
- package/dist/assets/{useExecutionDebugging-CONIO3Vz.js → useExecutionDebugging-Moxdvo-v.js} +1 -1
- package/dist/assets/{useImportCurlCommand-CcLwFKyp.js → useImportCurlCommand-C5Ra8auY.js} +1 -1
- package/dist/assets/{useProjectPages-eaNvpOz-.js → useProjectPages-D2nu5pZ9.js} +1 -1
- package/dist/assets/{usePushConnection-C9lQfiNc.js → usePushConnection-Dnr2PF2n.js} +12 -6
- package/dist/assets/{useWorkflowActivate-ByzVgA6z.js → useWorkflowActivate-Ch6gRZjX.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +1 -1
- package/scripts/cache-marker.mjs +11 -0
- package/turbo.json +2 -1
- package/dist/assets/CollectionParameter-Cb7K8toD.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, au as useRootStore,
|
|
1
|
+
import { d as defineComponent, au as useRootStore, e3 as useSSOStore, a as useToast, ay as useDocumentTitle, aB as usePageRedirectionHelper, x as computed, c as useI18n, fd as SupportedProtocols, r as ref, o as onMounted, a9 as resolveComponent, h as createElementBlock, g as openBlock, j as createBaseVNode, i as createVNode, f as createCommentVNode, w as withCtx, k as createTextVNode, t as toDisplayString, l as unref, m as N8nHeading, n as normalizeClass, cZ as InfoTip, F as Fragment, A as renderList, e as createBlock, eh as _sfc_main$1, B as withModifiers, eg as N8nSelect, fe as CopyInput, O as N8nRadioButtons, d6 as N8nInput, aa as Tooltip, q as N8nButton, e4 as N8nActionBox, an as useMessage, ao as MODAL_CONFIRM, am as useTelemetry, _ as _export_sfc } from "./index-BOW55EQc.js";
|
|
2
2
|
const _hoisted_1 = { class: "pb-2xl" };
|
|
3
3
|
const _hoisted_2 = {
|
|
4
4
|
href: "https://docs.n8n.io/user-management/saml/",
|
|
@@ -52,6 +52,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
52
52
|
const clientId = ref("");
|
|
53
53
|
const clientSecret = ref("");
|
|
54
54
|
const discoveryEndpoint = ref("");
|
|
55
|
+
const prompt = ref("select_account");
|
|
56
|
+
const handlePromptChange = (value) => {
|
|
57
|
+
prompt.value = value;
|
|
58
|
+
};
|
|
59
|
+
const promptDescriptions = [
|
|
60
|
+
{ label: i18n.baseText("settings.sso.settings.oidc.prompt.login"), value: "login" },
|
|
61
|
+
{ label: i18n.baseText("settings.sso.settings.oidc.prompt.none"), value: "none" },
|
|
62
|
+
{ label: i18n.baseText("settings.sso.settings.oidc.prompt.consent"), value: "consent" },
|
|
63
|
+
{
|
|
64
|
+
label: i18n.baseText("settings.sso.settings.oidc.prompt.select_account"),
|
|
65
|
+
value: "select_account"
|
|
66
|
+
},
|
|
67
|
+
{ label: i18n.baseText("settings.sso.settings.oidc.prompt.create"), value: "create" }
|
|
68
|
+
];
|
|
55
69
|
const authProtocol = ref(SupportedProtocols.SAML);
|
|
56
70
|
const ipsOptions = ref([
|
|
57
71
|
{
|
|
@@ -189,6 +203,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
189
203
|
clientId.value = config.clientId;
|
|
190
204
|
clientSecret.value = config.clientSecret;
|
|
191
205
|
discoveryEndpoint.value = config.discoveryEndpoint;
|
|
206
|
+
prompt.value = config.prompt ?? "select_account";
|
|
192
207
|
};
|
|
193
208
|
async function loadOidcConfig() {
|
|
194
209
|
if (!ssoStore.isEnterpriseOidcEnabled) {
|
|
@@ -204,7 +219,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
204
219
|
authProtocol.value = value;
|
|
205
220
|
}
|
|
206
221
|
const cannotSaveOidcSettings = computed(() => {
|
|
207
|
-
return ssoStore.oidcConfig?.clientId === clientId.value && ssoStore.oidcConfig?.clientSecret === clientSecret.value && ssoStore.oidcConfig?.discoveryEndpoint === discoveryEndpoint.value && ssoStore.oidcConfig?.loginEnabled === ssoStore.isOidcLoginEnabled;
|
|
222
|
+
return ssoStore.oidcConfig?.clientId === clientId.value && ssoStore.oidcConfig?.clientSecret === clientSecret.value && ssoStore.oidcConfig?.discoveryEndpoint === discoveryEndpoint.value && ssoStore.oidcConfig?.loginEnabled === ssoStore.isOidcLoginEnabled && ssoStore.oidcConfig?.prompt === prompt.value;
|
|
208
223
|
});
|
|
209
224
|
async function onOidcSettingsSave() {
|
|
210
225
|
if (ssoStore.oidcConfig?.loginEnabled && !ssoStore.isOidcLoginEnabled) {
|
|
@@ -227,6 +242,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
227
242
|
clientId: clientId.value,
|
|
228
243
|
clientSecret: clientSecret.value,
|
|
229
244
|
discoveryEndpoint: discoveryEndpoint.value,
|
|
245
|
+
prompt: prompt.value,
|
|
230
246
|
loginEnabled: ssoStore.isOidcLoginEnabled
|
|
231
247
|
});
|
|
232
248
|
ssoStore.selectedAuthProtocol = authProtocol.value;
|
|
@@ -240,29 +256,28 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
240
256
|
}
|
|
241
257
|
}
|
|
242
258
|
return (_ctx, _cache) => {
|
|
243
|
-
const
|
|
244
|
-
const
|
|
259
|
+
const _component_N8nHeading = N8nHeading;
|
|
260
|
+
const _component_N8nInfoTip = InfoTip;
|
|
245
261
|
const _component_N8nOption = _sfc_main$1;
|
|
246
262
|
const _component_N8nSelect = N8nSelect;
|
|
247
|
-
const
|
|
248
|
-
const _component_n8n_input = N8nInput;
|
|
249
|
-
const _component_el_switch = resolveComponent("el-switch");
|
|
250
|
-
const _component_n8n_tooltip = Tooltip;
|
|
251
|
-
const _component_n8n_button = N8nButton;
|
|
252
|
-
const _component_n8n_action_box = N8nActionBox;
|
|
263
|
+
const _component_N8nRadioButtons = N8nRadioButtons;
|
|
253
264
|
const _component_N8nInput = N8nInput;
|
|
265
|
+
const _component_ElSwitch = resolveComponent("ElSwitch");
|
|
266
|
+
const _component_N8nTooltip = Tooltip;
|
|
267
|
+
const _component_N8nButton = N8nButton;
|
|
268
|
+
const _component_N8nActionBox = N8nActionBox;
|
|
254
269
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
255
270
|
createBaseVNode("div", {
|
|
256
271
|
class: normalizeClass(_ctx.$style.heading)
|
|
257
272
|
}, [
|
|
258
|
-
createVNode(
|
|
273
|
+
createVNode(_component_N8nHeading, { size: "2xlarge" }, {
|
|
259
274
|
default: withCtx(() => [
|
|
260
275
|
createTextVNode(toDisplayString(unref(i18n).baseText("settings.sso.title")), 1)
|
|
261
276
|
]),
|
|
262
277
|
_: 1
|
|
263
278
|
})
|
|
264
279
|
], 2),
|
|
265
|
-
createVNode(
|
|
280
|
+
createVNode(_component_N8nInfoTip, null, {
|
|
266
281
|
default: withCtx(() => [
|
|
267
282
|
createTextVNode(toDisplayString(unref(i18n).baseText("settings.sso.info")) + " ", 1),
|
|
268
283
|
createBaseVNode("a", _hoisted_2, toDisplayString(unref(i18n).baseText("settings.sso.info.link")), 1)
|
|
@@ -327,14 +342,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
327
342
|
}, [
|
|
328
343
|
createBaseVNode("label", null, toDisplayString(unref(i18n).baseText("settings.sso.settings.ips.label")), 1),
|
|
329
344
|
createBaseVNode("div", _hoisted_5, [
|
|
330
|
-
createVNode(
|
|
345
|
+
createVNode(_component_N8nRadioButtons, {
|
|
331
346
|
modelValue: ipsType.value,
|
|
332
347
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => ipsType.value = $event),
|
|
333
348
|
options: ipsOptions.value
|
|
334
349
|
}, null, 8, ["modelValue", "options"])
|
|
335
350
|
]),
|
|
336
351
|
ipsType.value === IdentityProviderSettingsType.URL ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
337
|
-
createVNode(
|
|
352
|
+
createVNode(_component_N8nInput, {
|
|
338
353
|
modelValue: metadataUrl.value,
|
|
339
354
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => metadataUrl.value = $event),
|
|
340
355
|
type: "text",
|
|
@@ -346,7 +361,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
346
361
|
createBaseVNode("small", null, toDisplayString(unref(i18n).baseText("settings.sso.settings.ips.url.help")), 1)
|
|
347
362
|
])) : createCommentVNode("", true),
|
|
348
363
|
ipsType.value === IdentityProviderSettingsType.XML ? (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
349
|
-
createVNode(
|
|
364
|
+
createVNode(_component_N8nInput, {
|
|
350
365
|
modelValue: metadata.value,
|
|
351
366
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => metadata.value = $event),
|
|
352
367
|
type: "textarea",
|
|
@@ -359,7 +374,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
359
374
|
createBaseVNode("div", {
|
|
360
375
|
class: normalizeClass(_ctx.$style.group)
|
|
361
376
|
}, [
|
|
362
|
-
unref(ssoStore).isEnterpriseSamlEnabled ? (openBlock(), createBlock(
|
|
377
|
+
unref(ssoStore).isEnterpriseSamlEnabled ? (openBlock(), createBlock(_component_N8nTooltip, {
|
|
363
378
|
key: 0,
|
|
364
379
|
disabled: unref(ssoStore).isSamlLoginEnabled || ssoSettingsSaved.value
|
|
365
380
|
}, {
|
|
@@ -367,7 +382,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
367
382
|
createBaseVNode("span", null, toDisplayString(unref(i18n).baseText("settings.sso.activation.tooltip")), 1)
|
|
368
383
|
]),
|
|
369
384
|
default: withCtx(() => [
|
|
370
|
-
createVNode(
|
|
385
|
+
createVNode(_component_ElSwitch, {
|
|
371
386
|
modelValue: unref(ssoStore).isSamlLoginEnabled,
|
|
372
387
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => unref(ssoStore).isSamlLoginEnabled = $event),
|
|
373
388
|
"data-test-id": "sso-toggle",
|
|
@@ -383,7 +398,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
383
398
|
createBaseVNode("div", {
|
|
384
399
|
class: normalizeClass(_ctx.$style.buttons)
|
|
385
400
|
}, [
|
|
386
|
-
createVNode(
|
|
401
|
+
createVNode(_component_N8nButton, {
|
|
387
402
|
disabled: !isSaveEnabled.value,
|
|
388
403
|
size: "large",
|
|
389
404
|
"data-test-id": "sso-save",
|
|
@@ -394,7 +409,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
394
409
|
]),
|
|
395
410
|
_: 1
|
|
396
411
|
}, 8, ["disabled"]),
|
|
397
|
-
createVNode(
|
|
412
|
+
createVNode(_component_N8nButton, {
|
|
398
413
|
disabled: !isTestEnabled.value,
|
|
399
414
|
size: "large",
|
|
400
415
|
type: "tertiary",
|
|
@@ -410,7 +425,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
410
425
|
createBaseVNode("footer", {
|
|
411
426
|
class: normalizeClass(_ctx.$style.footer)
|
|
412
427
|
}, toDisplayString(unref(i18n).baseText("settings.sso.settings.footer.hint")), 3)
|
|
413
|
-
])) : (openBlock(), createBlock(
|
|
428
|
+
])) : (openBlock(), createBlock(_component_N8nActionBox, {
|
|
414
429
|
key: 1,
|
|
415
430
|
"data-test-id": "sso-content-unlicensed",
|
|
416
431
|
class: normalizeClass(_ctx.$style.actionBox),
|
|
@@ -477,7 +492,30 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
477
492
|
createBaseVNode("div", {
|
|
478
493
|
class: normalizeClass(_ctx.$style.group)
|
|
479
494
|
}, [
|
|
480
|
-
|
|
495
|
+
_cache[18] || (_cache[18] = createBaseVNode("label", null, "Prompt", -1)),
|
|
496
|
+
createVNode(_component_N8nSelect, {
|
|
497
|
+
"model-value": prompt.value,
|
|
498
|
+
"data-test-id": "oidc-prompt",
|
|
499
|
+
"onUpdate:modelValue": handlePromptChange
|
|
500
|
+
}, {
|
|
501
|
+
default: withCtx(() => [
|
|
502
|
+
(openBlock(), createElementBlock(Fragment, null, renderList(promptDescriptions, (option) => {
|
|
503
|
+
return createVNode(_component_N8nOption, {
|
|
504
|
+
key: option.value,
|
|
505
|
+
label: option.label,
|
|
506
|
+
"data-test-id": "oidc-prompt-filter-option",
|
|
507
|
+
value: option.value
|
|
508
|
+
}, null, 8, ["label", "value"]);
|
|
509
|
+
}), 64))
|
|
510
|
+
]),
|
|
511
|
+
_: 1
|
|
512
|
+
}, 8, ["model-value"]),
|
|
513
|
+
_cache[19] || (_cache[19] = createBaseVNode("small", null, "The prompt parameter to use when authenticating with the OIDC provider", -1))
|
|
514
|
+
], 2),
|
|
515
|
+
createBaseVNode("div", {
|
|
516
|
+
class: normalizeClass(_ctx.$style.group)
|
|
517
|
+
}, [
|
|
518
|
+
createVNode(_component_ElSwitch, {
|
|
481
519
|
modelValue: unref(ssoStore).isOidcLoginEnabled,
|
|
482
520
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => unref(ssoStore).isOidcLoginEnabled = $event),
|
|
483
521
|
"data-test-id": "sso-oidc-toggle",
|
|
@@ -488,7 +526,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
488
526
|
createBaseVNode("div", {
|
|
489
527
|
class: normalizeClass(_ctx.$style.buttons)
|
|
490
528
|
}, [
|
|
491
|
-
createVNode(
|
|
529
|
+
createVNode(_component_N8nButton, {
|
|
492
530
|
"data-test-id": "sso-oidc-save",
|
|
493
531
|
size: "large",
|
|
494
532
|
disabled: cannotSaveOidcSettings.value,
|
|
@@ -500,7 +538,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
500
538
|
_: 1
|
|
501
539
|
}, 8, ["disabled"])
|
|
502
540
|
], 2)
|
|
503
|
-
])) : (openBlock(), createBlock(
|
|
541
|
+
])) : (openBlock(), createBlock(_component_N8nActionBox, {
|
|
504
542
|
key: 1,
|
|
505
543
|
"data-test-id": "sso-content-unlicensed",
|
|
506
544
|
class: normalizeClass(_ctx.$style.actionBox),
|
|
@@ -320,14 +320,14 @@ div[class*=info] > span > span:last-child {
|
|
|
320
320
|
-------------------------- */
|
|
321
321
|
/* BEM
|
|
322
322
|
-------------------------- */
|
|
323
|
-
.settings-usage-and-plan[data-v-
|
|
323
|
+
.settings-usage-and-plan[data-v-0b7d2188] .el-dialog__wrapper {
|
|
324
324
|
display: flex;
|
|
325
325
|
align-items: center;
|
|
326
326
|
justify-content: center;
|
|
327
327
|
}
|
|
328
|
-
.settings-usage-and-plan[data-v-
|
|
328
|
+
.settings-usage-and-plan[data-v-0b7d2188] .el-dialog__wrapper .el-dialog {
|
|
329
329
|
margin: 0;
|
|
330
330
|
}
|
|
331
|
-
.settings-usage-and-plan[data-v-
|
|
331
|
+
.settings-usage-and-plan[data-v-0b7d2188] .el-dialog__wrapper .el-dialog .el-dialog__footer button {
|
|
332
332
|
margin-left: var(--spacing-xs);
|
|
333
333
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent,
|
|
1
|
+
import { d as defineComponent, f9 as useUsageStore, a3 as useRoute, b as useRouter, Q as useUIStore, u as useUsersStore, a as useToast, ay as useDocumentTitle, aB as usePageRedirectionHelper, r as ref, x as computed, aE as hasPermission, aC as getResourcePermissions, o as onMounted, fa as i18n, a9 as resolveComponent, h as createElementBlock, g as openBlock, i as createVNode, f as createCommentVNode, w as withCtx, k as createTextVNode, t as toDisplayString, l as unref, m as N8nHeading, e as createBlock, j as createBaseVNode, ac as I18nT, n as normalizeClass, aa as Tooltip, aL as N8nBadge, q as N8nButton, ef as N8nNotice, p as N8nText, aq as normalizeStyle, cZ as InfoTip, B as withModifiers, d6 as N8nInput, fb as COMMUNITY_PLUS_ENROLLMENT_MODAL, fc as telemetry, _ as _export_sfc } from "./index-BOW55EQc.js";
|
|
2
2
|
const _hoisted_1 = { class: "settings-usage-and-plan" };
|
|
3
3
|
const _hoisted_2 = { key: 0 };
|
|
4
4
|
const _hoisted_3 = { key: 0 };
|
|
@@ -128,17 +128,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
128
128
|
});
|
|
129
129
|
};
|
|
130
130
|
return (_ctx, _cache) => {
|
|
131
|
-
const
|
|
131
|
+
const _component_N8nHeading = N8nHeading;
|
|
132
132
|
const _component_N8nBadge = N8nBadge;
|
|
133
133
|
const _component_N8nTooltip = Tooltip;
|
|
134
134
|
const _component_N8nButton = N8nButton;
|
|
135
135
|
const _component_N8nNotice = N8nNotice;
|
|
136
|
-
const
|
|
137
|
-
const
|
|
138
|
-
const
|
|
139
|
-
const _component_el_dialog = resolveComponent("el-dialog");
|
|
136
|
+
const _component_N8nText = N8nText;
|
|
137
|
+
const _component_N8nInput = N8nInput;
|
|
138
|
+
const _component_ElDialog = resolveComponent("ElDialog");
|
|
140
139
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
141
|
-
createVNode(
|
|
140
|
+
createVNode(_component_N8nHeading, {
|
|
142
141
|
tag: "h2",
|
|
143
142
|
size: "2xlarge"
|
|
144
143
|
}, {
|
|
@@ -148,7 +147,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
148
147
|
_: 1
|
|
149
148
|
}),
|
|
150
149
|
!unref(usageStore).isLoading ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
151
|
-
createVNode(
|
|
150
|
+
createVNode(_component_N8nHeading, {
|
|
152
151
|
tag: "h3",
|
|
153
152
|
class: normalizeClass(_ctx.$style.title),
|
|
154
153
|
size: "large"
|
|
@@ -219,7 +218,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
219
218
|
createBaseVNode("div", {
|
|
220
219
|
class: normalizeClass(_ctx.$style.quota)
|
|
221
220
|
}, [
|
|
222
|
-
createVNode(
|
|
221
|
+
createVNode(_component_N8nText, {
|
|
223
222
|
size: "medium",
|
|
224
223
|
color: "text-light"
|
|
225
224
|
}, {
|
|
@@ -265,7 +264,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
265
264
|
createBaseVNode("div", {
|
|
266
265
|
class: normalizeClass(_ctx.$style.buttons)
|
|
267
266
|
}, [
|
|
268
|
-
canUserActivateLicense.value ? (openBlock(), createBlock(
|
|
267
|
+
canUserActivateLicense.value ? (openBlock(), createBlock(_component_N8nButton, {
|
|
269
268
|
key: 0,
|
|
270
269
|
class: normalizeClass(_ctx.$style.buttonTertiary),
|
|
271
270
|
type: "tertiary",
|
|
@@ -277,7 +276,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
277
276
|
]),
|
|
278
277
|
_: 1
|
|
279
278
|
}, 8, ["class"])) : createCommentVNode("", true),
|
|
280
|
-
unref(usageStore).managementToken ? (openBlock(), createBlock(
|
|
279
|
+
unref(usageStore).managementToken ? (openBlock(), createBlock(_component_N8nButton, {
|
|
281
280
|
key: 1,
|
|
282
281
|
size: "large",
|
|
283
282
|
onClick: onManagePlan
|
|
@@ -289,7 +288,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
289
288
|
}, toDisplayString(unref(i18n).baseText("settings.usageAndPlan.button.manage")), 9, _hoisted_7)
|
|
290
289
|
]),
|
|
291
290
|
_: 1
|
|
292
|
-
})) : (openBlock(), createBlock(
|
|
291
|
+
})) : (openBlock(), createBlock(_component_N8nButton, {
|
|
293
292
|
key: 2,
|
|
294
293
|
size: "large",
|
|
295
294
|
onClick: withModifiers(onViewPlans, ["prevent"])
|
|
@@ -303,7 +302,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
303
302
|
_: 1
|
|
304
303
|
}))
|
|
305
304
|
], 2),
|
|
306
|
-
createVNode(
|
|
305
|
+
createVNode(_component_ElDialog, {
|
|
307
306
|
modelValue: activationKeyModal.value,
|
|
308
307
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => activationKeyModal.value = $event),
|
|
309
308
|
width: "480px",
|
|
@@ -314,7 +313,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
314
313
|
onOpened: onDialogOpened
|
|
315
314
|
}, {
|
|
316
315
|
default: withCtx(() => [
|
|
317
|
-
createVNode(
|
|
316
|
+
createVNode(_component_N8nInput, {
|
|
318
317
|
ref_key: "activationKeyInput",
|
|
319
318
|
ref: activationKeyInput,
|
|
320
319
|
modelValue: activationKey.value,
|
|
@@ -323,7 +322,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
323
322
|
}, null, 8, ["modelValue", "placeholder"])
|
|
324
323
|
]),
|
|
325
324
|
footer: withCtx(() => [
|
|
326
|
-
createVNode(
|
|
325
|
+
createVNode(_component_N8nButton, {
|
|
327
326
|
type: "secondary",
|
|
328
327
|
onClick: _cache[1] || (_cache[1] = ($event) => activationKeyModal.value = false)
|
|
329
328
|
}, {
|
|
@@ -332,7 +331,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
332
331
|
]),
|
|
333
332
|
_: 1
|
|
334
333
|
}),
|
|
335
|
-
createVNode(
|
|
334
|
+
createVNode(_component_N8nButton, { onClick: onLicenseActivation }, {
|
|
336
335
|
default: withCtx(() => [
|
|
337
336
|
createTextVNode(toDisplayString(unref(i18n).baseText("settings.usageAndPlan.dialog.activation.activate")), 1)
|
|
338
337
|
]),
|
|
@@ -373,7 +372,7 @@ const style0 = {
|
|
|
373
372
|
const cssModules = {
|
|
374
373
|
"$style": style0
|
|
375
374
|
};
|
|
376
|
-
const SettingsUsageAndPlan = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-
|
|
375
|
+
const SettingsUsageAndPlan = /* @__PURE__ */ _export_sfc(_sfc_main, [["__cssModules", cssModules], ["__scopeId", "data-v-0b7d2188"]]);
|
|
377
376
|
export {
|
|
378
377
|
SettingsUsageAndPlan as default
|
|
379
378
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, r as ref,
|
|
1
|
+
import { d as defineComponent, r as ref, eb as ROLE, x as computed, a9 as resolveComponent, h as createElementBlock, g as openBlock, e as createBlock, w as withCtx, i as createVNode, j as createBaseVNode, p as N8nText, k as createTextVNode, t as toDisplayString, n as normalizeClass, l as unref, N as N8nIcon, aN as N8nActionDropdown, _ as _export_sfc, c as useI18n, f as createCommentVNode, F as Fragment, A as renderList, aa as Tooltip, en as N8nActionToggle, eo as formatTimeAgo, ep as mergeModels, eq as useModel, aE as hasPermission, er as N8nDataTableServer, J as N8nUserInfo, c7 as normalizeProps, c8 as guardReactiveProps, ce as useClipboard, a as useToast, v as useSettingsStore, Q as useUIStore, u as useUsersStore, e3 as useSSOStore, ay as useDocumentTitle, aB as usePageRedirectionHelper, aF as EnterpriseEditionFeature, o as onMounted, es as USERS_LIST_SORT_OPTIONS, m as N8nHeading, e4 as N8nActionBox, ac as I18nT, C as N8nLink, ef as N8nNotice, aL as N8nBadge, d6 as N8nInput, q as N8nButton, et as INVITE_USER_MODAL_KEY, eu as DELETE_USER_MODAL_KEY, ev as useDebounceFn } from "./index-BOW55EQc.js";
|
|
2
2
|
const _hoisted_1$1 = { key: 1 };
|
|
3
3
|
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "SettingsUsersRoleCell",
|
|
@@ -683,7 +683,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
683
683
|
const _component_N8nLink = N8nLink;
|
|
684
684
|
const _component_N8nNotice = N8nNotice;
|
|
685
685
|
const _component_N8nBadge = N8nBadge;
|
|
686
|
-
const
|
|
686
|
+
const _component_ElSwitch = resolveComponent("ElSwitch");
|
|
687
687
|
const _component_N8nTooltip = Tooltip;
|
|
688
688
|
const _component_EnterpriseEdition = resolveComponent("EnterpriseEdition");
|
|
689
689
|
const _component_N8nIcon = N8nIcon;
|
|
@@ -803,7 +803,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
803
803
|
})
|
|
804
804
|
]),
|
|
805
805
|
default: withCtx(() => [
|
|
806
|
-
createVNode(
|
|
806
|
+
createVNode(_component_ElSwitch, {
|
|
807
807
|
"model-value": unref(settingsStore).isMFAEnforced,
|
|
808
808
|
size: "large",
|
|
809
809
|
disabled: true
|
|
@@ -813,7 +813,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
813
813
|
})
|
|
814
814
|
]),
|
|
815
815
|
default: withCtx(() => [
|
|
816
|
-
createVNode(
|
|
816
|
+
createVNode(_component_ElSwitch, {
|
|
817
817
|
"model-value": unref(settingsStore).isMFAEnforced,
|
|
818
818
|
size: "large",
|
|
819
819
|
"data-test-id": "enable-force-mfa",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aE as hasPermission, d as defineComponent, b as useRouter, a3 as useRoute, au as useRootStore, v as useSettingsStore, Q as useUIStore, x as computed, V as VIEWS, c as useI18n, h as createElementBlock, g as openBlock, n as normalizeClass, i as createVNode,
|
|
1
|
+
import { aE as hasPermission, d as defineComponent, b as useRouter, a3 as useRoute, au as useRootStore, v as useSettingsStore, Q as useUIStore, x as computed, V as VIEWS, c as useI18n, h as createElementBlock, g as openBlock, n as normalizeClass, i as createVNode, bw as N8nMenu, w as withCtx, j as createBaseVNode, C as N8nLink, l as unref, by as ABOUT_MODAL_KEY, k as createTextVNode, t as toDisplayString, N as N8nIcon, m as N8nHeading, _ as _export_sfc, r as ref, o as onMounted, a9 as resolveComponent, K as mergeProps, e0 as isRouteLocationRaw } from "./index-BOW55EQc.js";
|
|
2
2
|
function useUserHelpers(router, route) {
|
|
3
3
|
const canUserAccessRouteByName = (name) => {
|
|
4
4
|
const resolvedRoute = router.resolve({ name });
|
|
@@ -125,17 +125,18 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
125
125
|
available: canUserAccessRouteByName(VIEWS.COMMUNITY_NODES),
|
|
126
126
|
route: { to: { name: VIEWS.COMMUNITY_NODES } }
|
|
127
127
|
});
|
|
128
|
-
|
|
128
|
+
const moduleItems = uiStore.settingsSidebarItems;
|
|
129
|
+
return menuItems.concat(moduleItems.filter((item) => !menuItems.some((m) => m.id === item.id)));
|
|
129
130
|
});
|
|
130
131
|
return (_ctx, _cache) => {
|
|
131
|
-
const
|
|
132
|
-
const
|
|
133
|
-
const
|
|
134
|
-
const
|
|
132
|
+
const _component_N8nIcon = N8nIcon;
|
|
133
|
+
const _component_N8nHeading = N8nHeading;
|
|
134
|
+
const _component_N8nLink = N8nLink;
|
|
135
|
+
const _component_N8nMenu = N8nMenu;
|
|
135
136
|
return openBlock(), createElementBlock("div", {
|
|
136
137
|
class: normalizeClass(_ctx.$style.container)
|
|
137
138
|
}, [
|
|
138
|
-
createVNode(
|
|
139
|
+
createVNode(_component_N8nMenu, { items: sidebarMenuItems.value }, {
|
|
139
140
|
header: withCtx(() => [
|
|
140
141
|
createBaseVNode("div", {
|
|
141
142
|
class: normalizeClass(_ctx.$style.returnButton),
|
|
@@ -143,9 +144,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
143
144
|
onClick: _cache[0] || (_cache[0] = ($event) => emit("return"))
|
|
144
145
|
}, [
|
|
145
146
|
createBaseVNode("i", _hoisted_1, [
|
|
146
|
-
createVNode(
|
|
147
|
+
createVNode(_component_N8nIcon, { icon: "arrow-left" })
|
|
147
148
|
]),
|
|
148
|
-
createVNode(
|
|
149
|
+
createVNode(_component_N8nHeading, {
|
|
149
150
|
size: "large",
|
|
150
151
|
bold: true
|
|
151
152
|
}, {
|
|
@@ -160,7 +161,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
160
161
|
createBaseVNode("div", {
|
|
161
162
|
class: normalizeClass(_ctx.$style.versionContainer)
|
|
162
163
|
}, [
|
|
163
|
-
createVNode(
|
|
164
|
+
createVNode(_component_N8nLink, {
|
|
164
165
|
size: "small",
|
|
165
166
|
onClick: _cache[1] || (_cache[1] = ($event) => unref(uiStore).openModal(unref(ABOUT_MODAL_KEY)))
|
|
166
167
|
}, {
|
|
@@ -204,7 +205,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
204
205
|
previousRoute.value = router.options.history.state.back;
|
|
205
206
|
});
|
|
206
207
|
return (_ctx, _cache) => {
|
|
207
|
-
const
|
|
208
|
+
const _component_RouterView = resolveComponent("RouterView");
|
|
208
209
|
return openBlock(), createElementBlock("div", {
|
|
209
210
|
class: normalizeClass(_ctx.$style.container)
|
|
210
211
|
}, [
|
|
@@ -215,7 +216,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
215
216
|
createBaseVNode("div", {
|
|
216
217
|
class: normalizeClass(_ctx.$style.content)
|
|
217
218
|
}, [
|
|
218
|
-
createVNode(
|
|
219
|
+
createVNode(_component_RouterView, mergeProps({ name: "settingsView" }, _ctx.$attrs), null, 16)
|
|
219
220
|
], 2)
|
|
220
221
|
], 2)
|
|
221
222
|
], 2);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as defineComponent, v as useSettingsStore, u as useUsersStore, a as useToast, b as useRouter, r as ref,
|
|
2
|
-
import { A as AuthView } from "./AuthView-
|
|
3
|
-
import "./Logo-
|
|
1
|
+
import { d as defineComponent, v as useSettingsStore, u as useUsersStore, a as useToast, b as useRouter, r as ref, de as reactive, c as useI18n, e as createBlock, g as openBlock, V as VIEWS } from "./index-BOW55EQc.js";
|
|
2
|
+
import { A as AuthView } from "./AuthView-CYJ7bCsV.js";
|
|
3
|
+
import "./Logo-oWcxWkkZ.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "SetupView",
|
|
6
6
|
setup(__props) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as defineComponent, a2 as useWorkflowsStore, ae as useNodeTypesStore, Q as useUIStore, x as computed,
|
|
1
|
+
import { d as defineComponent, a2 as useWorkflowsStore, ae as useNodeTypesStore, Q as useUIStore, x as computed, ib as doesNodeHaveAllCredentialsFilled, a8 as watch, X as onBeforeUnmount, ic as SETUP_CREDENTIALS_MODAL_KEY, e as createBlock, f as createCommentVNode, g as openBlock, l as unref, c as useI18n, q as N8nButton } from "./index-BOW55EQc.js";
|
|
2
2
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
3
3
|
__name: "SetupWorkflowCredentialsButton",
|
|
4
4
|
setup(__props) {
|
|
@@ -41,8 +41,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
41
41
|
uiStore.closeModal(SETUP_CREDENTIALS_MODAL_KEY);
|
|
42
42
|
});
|
|
43
43
|
return (_ctx, _cache) => {
|
|
44
|
-
const
|
|
45
|
-
return showButton.value ? (openBlock(), createBlock(
|
|
44
|
+
const _component_N8nButton = N8nButton;
|
|
45
|
+
return showButton.value ? (openBlock(), createBlock(_component_N8nButton, {
|
|
46
46
|
key: 0,
|
|
47
47
|
label: unref(i18n).baseText("nodeView.setupTemplate"),
|
|
48
48
|
"data-test-id": "setup-credentials-button",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a0 as defineStore, r as ref,
|
|
2
|
-
import { c as createWorkflowFromTemplate } from "./templateActions-
|
|
3
|
-
import { T as TemplatesView } from "./TemplatesView-
|
|
1
|
+
import { a0 as defineStore, r as ref, bo as useTemplatesStore, ae as useNodeTypesStore, dh as useCredentialsStore, au as useRootStore, a2 as useWorkflowsStore, x as computed, eW as useCredentialSetupState, bt as useExternalHooks, am as useTelemetry, V as VIEWS, dF as tryToParseNumber, d as defineComponent, a3 as useRoute, b as useRouter, a8 as watch, o as onMounted, e as createBlock, g as openBlock, w as withCtx, j as createBaseVNode, n as normalizeClass, eX as AppsRequiringCredsNotice, l as unref, dS as N8nLoading, h as createElementBlock, F as Fragment, A as renderList, eY as SetupTemplateFormStep, i as createVNode, C as N8nLink, k as createTextVNode, t as toDisplayString, c as useI18n, aa as Tooltip, q as N8nButton, m as N8nHeading, _ as _export_sfc } from "./index-BOW55EQc.js";
|
|
2
|
+
import { c as createWorkflowFromTemplate } from "./templateActions-BfUcgZvZ.js";
|
|
3
|
+
import { T as TemplatesView } from "./TemplatesView-B2kjPDKq.js";
|
|
4
4
|
const useSetupTemplateStore = defineStore("setupTemplate", () => {
|
|
5
5
|
const templateId = ref("");
|
|
6
6
|
const isLoading = ref(true);
|
|
@@ -200,9 +200,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
200
200
|
await skipIfTemplateHasNoCreds();
|
|
201
201
|
});
|
|
202
202
|
return (_ctx, _cache) => {
|
|
203
|
-
const
|
|
204
|
-
const
|
|
205
|
-
const
|
|
203
|
+
const _component_N8nLoading = N8nLoading;
|
|
204
|
+
const _component_N8nButton = N8nButton;
|
|
205
|
+
const _component_N8nTooltip = Tooltip;
|
|
206
206
|
return openBlock(), createBlock(TemplatesView, { "go-back-enabled": true }, {
|
|
207
207
|
header: withCtx(() => [
|
|
208
208
|
isReady.value ? (openBlock(), createBlock(unref(N8nHeading), {
|
|
@@ -214,7 +214,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
214
214
|
createTextVNode(toDisplayString(unref(i18n).baseText("templateSetup.title", { interpolate: { name: title.value } })), 1)
|
|
215
215
|
]),
|
|
216
216
|
_: 1
|
|
217
|
-
})) : (openBlock(), createBlock(
|
|
217
|
+
})) : (openBlock(), createBlock(_component_N8nLoading, {
|
|
218
218
|
key: 1,
|
|
219
219
|
variant: "h1"
|
|
220
220
|
}))
|
|
@@ -230,7 +230,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
230
230
|
isReady.value ? (openBlock(), createBlock(AppsRequiringCredsNotice, {
|
|
231
231
|
key: 0,
|
|
232
232
|
"app-credentials": unref(setupTemplateStore).appCredentials
|
|
233
|
-
}, null, 8, ["app-credentials"])) : (openBlock(), createBlock(
|
|
233
|
+
}, null, 8, ["app-credentials"])) : (openBlock(), createBlock(_component_N8nLoading, {
|
|
234
234
|
key: 1,
|
|
235
235
|
variant: "p"
|
|
236
236
|
}))
|
|
@@ -258,12 +258,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
258
258
|
key: 1,
|
|
259
259
|
class: normalizeClass(_ctx.$style.appCredentialsContainer)
|
|
260
260
|
}, [
|
|
261
|
-
createVNode(
|
|
261
|
+
createVNode(_component_N8nLoading, {
|
|
262
262
|
class: normalizeClass(_ctx.$style.appCredential),
|
|
263
263
|
variant: "p",
|
|
264
264
|
rows: 3
|
|
265
265
|
}, null, 8, ["class"]),
|
|
266
|
-
createVNode(
|
|
266
|
+
createVNode(_component_N8nLoading, {
|
|
267
267
|
class: normalizeClass(_ctx.$style.appCredential),
|
|
268
268
|
variant: "p",
|
|
269
269
|
rows: 3
|
|
@@ -283,13 +283,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
283
283
|
]),
|
|
284
284
|
_: 1
|
|
285
285
|
}, 8, ["href"]),
|
|
286
|
-
isReady.value ? (openBlock(), createBlock(
|
|
286
|
+
isReady.value ? (openBlock(), createBlock(_component_N8nTooltip, {
|
|
287
287
|
key: 0,
|
|
288
288
|
content: unref(i18n).baseText("templateSetup.continue.button.fillRemaining"),
|
|
289
289
|
disabled: unref(setupTemplateStore).numFilledCredentials > 0
|
|
290
290
|
}, {
|
|
291
291
|
default: withCtx(() => [
|
|
292
|
-
createVNode(
|
|
292
|
+
createVNode(_component_N8nButton, {
|
|
293
293
|
size: "large",
|
|
294
294
|
label: unref(i18n).baseText("templateSetup.continue.button"),
|
|
295
295
|
disabled: unref(setupTemplateStore).isSaving || unref(setupTemplateStore).numFilledCredentials === 0,
|
|
@@ -299,7 +299,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
299
299
|
]),
|
|
300
300
|
_: 1
|
|
301
301
|
}, 8, ["content", "disabled"])) : (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
302
|
-
createVNode(
|
|
302
|
+
createVNode(_component_N8nLoading, { variant: "button" })
|
|
303
303
|
]))
|
|
304
304
|
], 2)
|
|
305
305
|
], 2)
|