import{_ as __rest,a as __assign}from"./tslib.es6-bjGg6Bxl.js";import React__default from"react";import{C as Checkbox}from"./Checkbox.component-CtmkTMtb.js";import{w as withDeprecationWarning}from"./withDeprecationWarning.component-DQTD5UdI.js";var CheckboxRow=function(a){var b=a.value,c=void 0===b?"":b,d=a.checked,e=a.indeterminate,f=a.name,g=void 0===f?void 0:f,h=a.label,i=void 0===h?void 0:h,j=a.id,k=void 0===j?void 0:j,l=a.helptext,m=void 0===l?void 0:l,n=a.required,o=void 0===n?void 0:n,p=a.disabled,q=a.invalid,r=a.errortext,s=void 0===r?"":r,t=a.valid,u=a.successtext,v=void 0===u?"":u,w=a.className,x=void 0===w?"":w,y=a.onChange,z=__rest(a,["value","checked","indeterminate","name","label","id","helptext","required","disabled","invalid","errortext","valid","successtext","className","onChange"]);return React__default.createElement(Checkbox,__assign({value:c,checked:void 0!==d&&d,indeterminate:void 0!==e&&e,name:g,label:i,id:k,helptext:m,disabled:void 0!==p&&p,required:o,invalid:void 0!==q&&q,valid:void 0!==t&&t,errortext:s,successtext:v,className:x,onChange:y},z))},CheckboxRow_component=withDeprecationWarning(CheckboxRow,"CheckboxRow is deprecated and will be removed in future versions. To be future-proof, use Checkbox instead.");export{CheckboxRow_component as C};