UNPKG

n8n-editor-ui

Version:

Workflow Editor UI for n8n

2 lines 4.1 kB
!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"n8n@2.16.1"}}catch(e){}}(),System.register(["./vue.runtime.esm-bundler-legacy-BW6xDdqj.js","./core-legacy-VD8c7QJ-.js","./src-legacy-B67uuxhB.js","./users.store-legacy-azRUgFdP.js","./constants-legacy-2_ytuuS3.js","./settings.store-legacy-I6rZOvfF.js"],(function(e,t){var s,i,n,o,a,l,r;return e("t",(function(){const e=n(),t=i(),c=o(),u=r(),{canUserAccessRouteByName:S}=function(e){const t=e=>{const t=e.meta?.middleware,s=e.meta?.middlewareOptions;return!t||a(t,s)};return{canUserAccessRouteByName:s=>t(e.resolve({name:s}))}}(e),T=s((()=>{const e=[{id:"settings-usage-and-plan",icon:"chart-column-decreasing",label:t.baseText("settings.usageAndPlan.title"),position:"top",available:S(l.USAGE),route:{to:{name:l.USAGE}}},{id:"settings-personal",icon:"circle-user-round",label:t.baseText("settings.personal"),position:"top",available:S(l.PERSONAL_SETTINGS),route:{to:{name:l.PERSONAL_SETTINGS}}},{id:"settings-users",icon:"user-round",label:t.baseText("settings.users"),position:"top",available:S(l.USERS_SETTINGS),route:{to:{name:l.USERS_SETTINGS}}},{id:"settings-ai",icon:"sparkles",label:t.baseText("settings.ai"),position:"top",available:u.isAiAssistantEnabled&&S(l.AI_SETTINGS),route:{to:{name:l.AI_SETTINGS}}},{id:"settings-project-roles",icon:"user-round",label:t.baseText("settings.projectRoles"),position:"top",available:S(l.PROJECT_ROLES_SETTINGS),route:{to:{name:l.PROJECT_ROLES_SETTINGS}},new:!0},{id:"settings-api",icon:"plug",label:t.baseText("settings.n8napi"),position:"top",available:u.isPublicApiEnabled&&S(l.API_SETTINGS),route:{to:{name:l.API_SETTINGS}}},{id:"settings-external-secrets",icon:"vault",label:t.baseText("settings.externalSecrets.title"),position:"top",available:S(l.EXTERNAL_SECRETS_SETTINGS),route:{to:{name:l.EXTERNAL_SECRETS_SETTINGS}}},{id:"settings-credential-resolvers",icon:"key-round",label:t.baseText("credentialResolver.view.title"),position:"top",available:S(l.RESOLVERS),route:{to:{name:l.RESOLVERS}}},{id:"settings-source-control",icon:"git-branch",label:t.baseText("settings.sourceControl.title"),position:"top",available:S(l.SOURCE_CONTROL),route:{to:{name:l.SOURCE_CONTROL}}},{id:"settings-sso",icon:"user-lock",label:t.baseText("settings.sso"),position:"top",available:S(l.SSO_SETTINGS),route:{to:{name:l.SSO_SETTINGS}}},{id:"settings-security",icon:"shield",label:t.baseText("settings.security"),position:"top",available:S(l.SECURITY_SETTINGS),route:{to:{name:l.SECURITY_SETTINGS}}},{id:"settings-ldap",icon:"network",label:t.baseText("settings.ldap"),position:"top",available:S(l.LDAP_SETTINGS),route:{to:{name:l.LDAP_SETTINGS}}},{id:"settings-workersview",icon:"waypoints",label:t.baseText("mainSidebar.workersView"),position:"top",available:u.isQueueModeEnabled&&a(["rbac"],{rbac:{scope:"workersView:manage"}}),route:{to:{name:l.WORKER_VIEW}}}];e.push({id:"settings-log-streaming",icon:"log-in",label:t.baseText("settings.log-streaming"),position:"top",available:S(l.LOG_STREAMING_SETTINGS),route:{to:{name:l.LOG_STREAMING_SETTINGS}}}),e.push({id:"settings-community-nodes",icon:"box",label:t.baseText("settings.communityNodes"),position:"top",available:S(l.COMMUNITY_NODES),route:{to:{name:l.COMMUNITY_NODES}}});const s=c.settingsSidebarItems;return e.concat(s.filter((t=>!e.some((e=>e.id===t.id)))))}));return{settingsItems:s((()=>T.value.filter((e=>e.available))))}})),{setters:[function(e){s=e.S},function(e){i=e.at},function(e){n=e.lt},function(e){o=e.r,a=e.si},function(e){l=e.Qo},function(e){r=e.t}],execute:function(){try{e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},(t=(new e.Error).stack)&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0f0b8786-7a75-441f-a774-9a11cdc40c24",e._sentryDebugIdIdentifier="sentry-dbid-0f0b8786-7a75-441f-a774-9a11cdc40c24")}catch(e){}var e,t}}})); //# sourceMappingURL=useSettingsItems-legacy-DFliaKBv.js.map