theme.keycloak.v2.admin.resources.assets.DisplayOrder-BDgUHroI.js Maven / Gradle / Ivy
import{jsx as e}from"react/jsx-runtime";import{bH as c,a as s,c as p,a8 as m,ac as o,ad as i,aj as u,ae as b,am as y}from"./main-C7ps2lmX.js";import{b as I}from"./FormAccess-DyLNkc18.js";const R=({id:l})=>{const{environment:d}=c(),{t:r}=s(),{realm:n}=p(),a=`${m(d.serverBaseUrl)}realms/${n}/broker`;return e(o,{label:r("redirectURI"),labelIcon:e(i,{helpText:r("redirectURIHelp"),fieldLabelId:"redirectURI"}),fieldId:"kc-redirect-uri",children:e(I,{isReadOnly:!0,children:`${a}/${l}/endpoint`})})},x=()=>{const{t:l}=s(),{control:d}=u();return e(o,{label:l("displayOrder"),labelIcon:e(i,{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{x as D,R};
//# sourceMappingURL=DisplayOrder-BDgUHroI.js.map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy