All Downloads are FREE. Search and download functionalities are using the official Maven repository.

theme.keycloak.v2.admin.resources.assets.DisplayOrder-78b0eb00.js Maven / Gradle / Ivy

There is a newer version: 25.0.1
Show newest version
import{u as a,c as o,a0 as p,g as c,j as e,F as l,h as n,a as u,C as m,aA as y}from"./index-f33eb656.js";import{b as x}from"./FormAccess-29b78a4e.js";const I=({id:i})=>{const{t:d}=a("identity-providers"),{realm:s}=o(),r=`${p(c.baseUrl)}realms/${s}/broker`;return e.jsx(l,{label:d("redirectURI"),labelIcon:e.jsx(n,{helpText:d("identity-providers-help:redirectURI"),fieldLabelId:"identity-providers:redirectURI"}),fieldId:"kc-redirect-uri",children:e.jsx(x,{isReadOnly:!0,children:`${r}/${i}/endpoint`})})},j=()=>{const{t:i}=a("identity-providers"),{control:d}=u();return e.jsx(l,{label:i("displayOrder"),labelIcon:e.jsx(n,{helpText:i("identity-providers-help:displayOrder"),fieldLabelId:"identity-providers:displayOrder"}),fieldId:"kc-display-order",children:e.jsx(m,{name:"config.guiOrder",control:d,defaultValue:"",render:({field:s})=>e.jsx(y,{id:"kc-display-order",type:"number",value:s.value,"data-testid":"displayOrder",min:0,onChange:r=>{const t=Number(r);s.onChange(r===""?r:t<0?0:t)}})})})};export{j as D,I as R};
//# sourceMappingURL=DisplayOrder-78b0eb00.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy