1import{R as t,j as e}from"./main-react-CZ43MNZ9.js";import{a as p}from"./index-DwFGaSi4.js";import{L as h}from"./index-XdM5tw8C.js";import{L as x}from"./index-BCgbgSYL.js";import{F as j}from"./index-Dts_OsCg.js";import"./preload-helper-Cdv6RdwI.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./try-parse-json-PNnY1j55.js";import"./index-mLFX9G4A.js";import"./index-DdlCi1f1.js";const u=t.forwardRef((s,r)=>{const{checked:o,value:m,onCheckedChange:i,className:l,...c}=s;return e.jsx("input",{type:"radio",ref:r,onChange:d=>i&&i(d.target.value),value:m,...c,checked:o,className:l})}),v=t.forwardRef(({label:s,preValues:r,name:o,onChange:m,error:i,description:l,descriptionAbove:c,errorMessage:d,...n},f)=>e.jsxs("fieldset",{className:"form-field",children:[e.jsx(x,{required:n.mandatory,children:s}),e.jsx(j,{description:l,descriptionAbove:c,children:r==null?void 0:r.map(a=>e.jsx("div",{className:"form-field__radio-wrapper",children:e.jsx(h,{children:e.jsxs("div",{className:"form-field__radio-inner-wrapper",children:[e.jsx(u,{value:a.value,checked:n.value===a.value,name:o,onCheckedChange:m,className:"form-field__radio",ref:f}),e.jsx("span",{children:a.caption})]})},a.value)},a.value))}),i&&d&&e.jsx(p,{children:d})]}));v.displayName="RadioGroup";export{v as RadioGroup,v as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.