theme.keycloak.v2.admin.resources.assets.DisplayOrder-eyXhXEFD.js Maven / Gradle / Ivy
import{jsx as e}from"react/jsx-runtime";import{u as c,a as s,c as p,a8 as m,ac as i,ad as o,aj as u,ae as b,am as y}from"./index-C1LIsRX7.js";import{b as I}from"./FormAccess-BcY70QlP.js";const O=({id:l})=>{const{adminClient:d}=c(),{t:r}=s(),{realm:n}=p(),a=`${m(d.baseUrl)}realms/${n}/broker`;return e(i,{label:r("redirectURI"),labelIcon:e(o,{helpText:r("redirectURIHelp"),fieldLabelId:"redirectURI"}),fieldId:"kc-redirect-uri",children:e(I,{isReadOnly:!0,children:`${a}/${l}/endpoint`})})},R=()=>{const{t:l}=s(),{control:d}=u();return e(i,{label:l("displayOrder"),labelIcon:e(o,{helpText:l("displayOrderHelp"),fieldLabelId:"displayOrder"}),fieldId:"kc-display-order",children:e(b,{name:"config.guiOrder",control:d,defaultValue:"",render:({field:r})=>e(y,{id:"kc-display-order",type:"number",value:r.value,"data-testid":"displayOrder",min:0,onChange:(n,a)=>{const t=Number(a);r.onChange(a===""?a:t<0?0:t)}})})})};export{R as D,O as R};
//# sourceMappingURL=DisplayOrder-eyXhXEFD.js.map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy