theme.keycloak.v2.admin.resources.assets.CreateUserFederationLdapSettings-BcUz_ulw.js Maven / Gradle / Ivy
import{jsxs as l,jsx as r}from"react/jsx-runtime";import{u,a as v,g as f,d as g,c as h,f as F,F as P,P as a,j as U,dX as A}from"./index-C1LIsRX7.js";import{U as S,s as x}from"./UserFederationLdapForm-B4hjuDFF.js";import{E as C}from"./ExtendedHeader-Ciknl9tt.js";import"react";import"react-dom";import"./FormAccess-BcY70QlP.js";import"./copy-icon-DOS8MmN7.js";import"./SettingsCache-M0OqK1Pn.js";import"./ConfirmDialog-B5qjiAuo.js";import"./ViewHeader-qjLr6U82.js";import"./useToggle-K3Kx99tM.js";import"./isEqual-DmIBnf3S.js";function X(){const{adminClient:o}=u(),{t:s}=v(),e=f({mode:"onChange"}),i=g(),{realm:n}=h(),{addAlert:m,addError:d}=F(),t=async c=>{try{await o.components.create(x(c)),m(s("createUserProviderSuccess"),U.success),i(A({realm:n}))}catch(p){d("createUserProviderError",p)}};return l(P,{...e,children:[r(C,{provider:"LDAP",noDivider:!0,save:()=>e.handleSubmit(t)()}),r(a,{variant:"light",className:"pf-v5-u-p-0",children:r(a,{variant:"light",children:r(S,{onSubmit:t})})})]})}export{X as default};
//# sourceMappingURL=CreateUserFederationLdapSettings-BcUz_ulw.js.map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy