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

theme.keycloak.v2.admin.resources.assets.AttributeForm-DDUkni1v.js Maven / Gradle / Ivy

import{jsxs as o,jsx as t}from"react/jsx-runtime";import{a as p,F as b,A as h,h as n}from"./index-C1LIsRX7.js";import{F as v}from"./FormAccess-BcY70QlP.js";import{K as f}from"./KeyValueInput-CoupoYmE.js";const k=({form:a,reset:i,save:r,fineGrainedAccess:m,name:c="attributes",isDisabled:l=!1})=>{const{t:s}=p(),u=!r&&!i,{formState:{isDirty:e},handleSubmit:d}=a;return o(v,{role:"manage-realm",onSubmit:r?d(r):void 0,fineGrainedAccess:m,children:[t(b,{...a,children:t(f,{name:c,isDisabled:l})}),!u&&o(h,{className:"kc-attributes__action-group",children:[t(n,{"data-testid":"save-attributes",variant:"primary",type:"submit",isDisabled:!e,children:s("save")}),t(n,{onClick:i,variant:"link",isDisabled:!e,children:s("revert")})]})]})};export{k as A};
//# sourceMappingURL=AttributeForm-DDUkni1v.js.map




© 2015 - 2025 Weber Informatics LLC | Privacy Policy