@inntechcorp/it-design 2.1.7 → 2.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -933,6 +933,7 @@ type ButtonContentPosition = "left" | "right";
933
933
  type RadioType = "default" | "primary";
934
934
  type Direction = "column" | "row";
935
935
  type RadioGroupProps = {
936
+ id?: string;
936
937
  name?: string;
937
938
  message?: string;
938
939
  type?: RadioType;
package/dist/index.esm.js CHANGED
@@ -3268,7 +3268,7 @@ function Of(e,t){if(yf(e))for(let o=0;o<e.length&&!1!==t(e[o],o,e);o++);else e&&
3268
3268
  margin-top: 10px;
3269
3269
  gap: 5px;
3270
3270
 
3271
- `;const ng=new RegExp(/^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+([.])[a-zA-Z0-9-]+(?:.[a-zA-Z0-9-]+)*$/),Mg=new RegExp(/^[a-zA-Z0-9_.-]{6,}$/),rg=new RegExp(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[!@#$%^&*()_+={};:<>|./?,"'\[\]\\`~\-])[a-zA-Z\d$begin:math:display$$end:math:display$\\`~!@#$%^&*()_+={};:<>|.\/?,"'-]{8,35}$/);const cg=e=>rg.test(e),zg=e=>ng.test(e),ig=e=>Mg.test(e),ag=(e,t)=>e.length>=t,Og=(e,t)=>e.length<=t,sg=(e,t)=>e===t,Ag=(e,t)=>e.length===t,dg=e=>function(e){var t,o=0,p=0,b=0;if(11!=e.length)return!1;if(!/^-?\d+$/.test(e))return!1;if(0==Number(e[0]))return!1;if(o=parseInt(e[0])+parseInt(e[2])+parseInt(e[4])+parseInt(e[6])+parseInt(e[8]),t=parseInt(e[1])+parseInt(e[3])+parseInt(e[5])+parseInt(e[7]),o*=7,Math.abs(o-t)%10!=Number(e[9]))return!1;for(b=0;b<10;b++)p+=parseInt(e[b]);return p%10==Number(e[10])}(e),lg=e=>{if(Array.isArray(e)){if(0===e.length)return!1}else{if("object"==typeof e){let t=!0;return Object.keys(e).forEach((o=>{""===e[o]&&(t=!1)})),t}if("string"==typeof e){if(""===e)return!1}else if("boolean"==typeof e&&!1===e)return!1}return!0},ug=n({});ug.displayName="ITDFormContext";const fg=u((({name:e="",label:t="",placeholder:o="",error:p="",rules:b=[],mask:n=null,locked:i=!1,dependency:a="",reset:O=[],query:s="",children:A=null},l)=>{const u=c(null),{register:f,unregister:h,hasField:W,updateField:g,setFieldError:m,getFieldValue:R,getFieldInstance:v,formId:L}=M(ug),[y,N]=r(!1);z((()=>(f({name:e,field:u,valid:w(u.current?.getValue()),query:s,reset:O,error:p}),N(!0),()=>{N(!1),h(e)})),[]),q(l,(()=>u.current));const B=(t,o=!0,p=!0)=>{y&&W(e)&&(g(e,t,o,w(t,p)),x())},w=(t,o=!0)=>{const p=function(e,t,o){let p=[];return e.forEach((e=>{e.hasOwnProperty(At.REQUIRED)&&!lg(t)&&e.required&&p.push(e.message?e.message:ou("errors.required")),e.hasOwnProperty(At.TYPE)&&(e.type===dt.MIN_LENGTH&&(ag(String(t),Number(e.value))||p.push(e.message?e.message:ou("errors.minLength",{length:Number(e.value)}))),e.type===dt.MAX_LENGTH&&(Og(String(t),Number(e.value))||p.push(e.message?e.message:ou("errors.maxLength",{length:Number(e.value)}))),e.type===dt.EXACT_LENGTH&&(Ag(String(t),Number(e.value))||p.push(e.message?e.message:ou("errors.exactLength",{length:Number(e.value)}))),e.type===dt.SAME&&(sg(String(t),String(o(String(e.field))))||p.push(e.message?e.message:ou("errors.fieldMustBeTheSame",{fields:e.field}))),e.type===dt.TC_IDENTITY&&(dg(String(t))||p.push(e.message?e.message:ou("errors.wrongTCIdentity"))),e.type===dt.PASSWORD&&(cg(String(t))||p.push(e.message?e.message:ou("errors.passwordRule"))),e.type===dt.EMAIL&&(zg(String(t))||p.push(e.message?e.message:ou("errors.invalidEmailAddress"))),e.type===dt.USERNAME&&(ig(String(t))||p.push(e.message?e.message:ou("errors.usernameRule"))))})),p}(b,t,R);return p.length>0?(m(e,p[0],o),!1):(m(e,""),!0)},x=()=>{if(""===a)return;if(""===R(a))return;const e=v(a);e&&e.forceUpdate&&e.forceUpdate()};return(()=>{if(!A)return null;const p={label:t,placeholder:o,id:L+"_"+e,onUpdate:B,className:"itd-form-item",ref:u};return n&&(p.mask=n),i&&(p.locked=i),d(A,{...A.props,...p})})()})),qg=u((({name:t="",className:o="",initialValues:p={},useQueryString:b=!1,onUpdate:n,onFinish:c,onFinishFailed:i,onValidated:a,children:O},s)=>{const{updated:A,setInitialValues:d,isFormValid:l,getValues:u,getFields:f,setFieldValueByName:h,resetFields:W}=M(ug),g=Rc(),{search:m}=k(),R=vc(),[v,L]=r([]),[y,N]=r(!1),[B,w]=r([]),[x,X]=r(!1),[S,E]=r(!1);z((()=>{O&&j()}),[O]),z((()=>{_(),C()}),[x]),z((()=>{x||0!==Object.keys(f()).length&&0!==B.length&&Object.keys(f()).length===B.length&&X(!0)}),[f(),B]),z((()=>{C()}),[p]),z((()=>{_()}),[m]),z((()=>{S&&x&&b&&Object.keys(A).length>0&&I(A)}),[A]),z((()=>{a&&l()!==y&&a(l()),N(l())}),[l()]);const _=()=>{x&&b&&(F(),S||D())},C=()=>{x&&(b||S||P())},P=()=>{const e=!Object.values(p).some((e=>null!==e&&""!==e));e&&!S&&E(!0),e||S||(d(p,!1),E(!0))},D=()=>{const e=f(),t=!Object.values(e).some((e=>""!==g.get(e.query,"")));if(Object.values(e).some((e=>null===e.query||""===e.query))){let t=[];throw Object.keys(e).forEach((o=>{e[o].hasOwnProperty("query")&&null!==e[o].query&&""!==e[o].query||t.push(o)})),new Error(`ITD Form Initial Fields Error: "useQueryString" is activated but "query" value is not passed to whole form elements! Invalid fields are ${t.toString()}`)}if(t&&!S&&E(!0),!t&&!S){let t={};Object.keys(e).forEach((o=>{t[o]=g.get(e[o].query,"")})),d(t,!0,!0),E(!0)}},I=e=>{let t=[],o=[];const p=f();Object.keys(e).forEach((t=>{o.push(e[t])})),Bu(o,v)||(Object.keys(p).forEach((o=>{t.push({type:p[o].query,value:e[o]})})),R.set(t))},F=()=>{let e=[],t=[];const o=f();if(Object.keys(o).forEach((t=>{let p=String(g.get(o[t].query,""));e.push(p)})),Bu(e,v))return;L(e),Object.keys(o).forEach((e=>{t[e]=g.get(o[e].query,"")})),Object.keys(t).forEach((e=>{h(e,t[e],!1,!1)}));let p={};Object.keys(t).forEach((e=>{p[e]=t[e]})),n&&n(p)},j=()=>{let e=[];T(O,(t=>(t.hasOwnProperty("type")&&t.type===fg&&e.push({[t.props.name]:t}),!0))),w(e)};return q(s,(()=>({fieldUpdate(e){console.log("fieldUpdate"),console.log(e)}}))),e("form",{id:t,onSubmit:e=>{e&&(e.preventDefault(),e.stopPropagation()),l()?c&&c(u()):i&&i(f())},onReset:e=>{e&&(e.preventDefault(),e.stopPropagation());let t=[];Object.keys(f()).map((e=>{t.push({type:e,value:""})})),R.set(t),W(!0,!1)},autoComplete:"off",className:o,noValidate:!0,children:O})}));var hg=W(qg);function Wg({name:e="",useQueryString:t=!1,onUpdate:o,onReset:p,onFieldUpdate:b}){const[n,M]=r({}),[c,z]=r(e),[a,O]=r(!1),[s,A]=r({});function d(e){return n.hasOwnProperty(e)&&void 0!==n[e]}function l(){let e={};return Object.keys(n).forEach((t=>{e[t]=q(t)})),e}function u(e,t,o=!0){if(d(e)&&n[e].field.current){if(n[e].valid=!1,n[e].error=t,!n[e].field.current?.hasOwnProperty("setError"))throw new Error(`Reference Error: You must declare the 'setError' function on the field "${e}"`);n[e].field.current?.setError(o?t:"")}}function f(){let e=!0;return Object.keys(n).forEach((t=>{n[t].valid||(e=!1)})),O(e),e}function q(e){if(d(e)){if(n[e].field.current?.hasOwnProperty("getValue"))return n[e].field.current?.getValue();throw new Error(`Reference Error: You must declare the 'getValue' function on the field "${e}"`)}throw new Error(`Form Error: There is no field registered with this name: ${e}`)}function h(e,t,o,p){if(!d(e))throw new Error(`Form Error: There is no field registered with this name: ${e}`);if(!n[e].field.current?.hasOwnProperty("setValue"))throw new Error(`Reference Error: You must declare the 'setValue' function on the field "${e}"`);{let b=q(e),M=!1;M=Array.isArray(b)&&Array.isArray(t)?Bu(b,t):Array.isArray(b)||Array.isArray(t)?b.toString()===t.toString():b===t,M||n[e].field.current?.setValue(t,o,p)}}return{register:function(e){n[e.name]={name:e.name,field:e.field,value:e.field.current?.getValue(),valid:e.valid,query:e.query,reset:e.reset,error:e.error}},unregister:function(e){if(!d(e))throw new Error(`Form Unregister Error: There is no field registered with this name: ${e}`);delete n[e]},checkFormIsValid:f,hasField:d,getValues:l,getFieldValue:function(e){return d(e)?(t=n[e].value)instanceof Object?JSON.stringify(t):t:"";var t},getFieldValueByName:q,getFieldInstance:function(e){return d(e)?n[e].field.current:null},getFields:function(){let e={};return Object.keys(n).forEach((t=>{e[t]=n[t]})),e},getFieldsInstance:function(){let e={};return Object.keys(n).forEach((t=>{e[t]=n[t].field.current})),e},setName:function(e){z(e)},setInitialValues:function(e,p=!0,b=!1){Object.keys(e).forEach((t=>{h(t,e[t],p,b)}));let n={};return Object.keys(e).forEach((t=>{n[t]=e[t]})),p&&(t&&A(n),o&&o(n)),f(),n},setInvalidField:function(e="",t=""){u(e,t),f()},setInvalidFields:function(e=[],t=""){e.forEach((e=>{u(e,t)})),f()},setFieldValue:function(e,t){if(!d(e))throw new Error(`Form Error: There is no field registered with this name: ${e}`);n[e].valid=!1,n[e].field.current?.setValue(t)},setFieldValueByName:h,setFieldError:u,removeFieldError:function(e){if(!d(e))throw new Error(`Form Error: There is no field registered with this name: ${e}`);if(n[e].valid=!0,n[e].error="",!n[e].field.current?.hasOwnProperty("setError"))throw new Error(`Reference Error: You must declare the 'setError' function on the field "${e}"`);n[e].field.current?.setError("")},updateField:function(e,p,M,r){if(!d(e))throw new Error(`Form Update Error: There is no field registered with this name: ${e}`);if(n[e].value=p,n[e].valid=r,M){b&&b({name:e,value:p,valid:r}),n[e].reset.length>0&&n[e].reset.forEach((e=>{n[e].value="",n[e].valid=!1,n[e].field.current?.reset(!1)}));let M={...l(),[e]:p};n[e].reset.length>0&&n[e].reset.forEach((e=>{M[e]=""})),t&&r&&A(M),o&&o(M)}f()},isFormValid:i((()=>a),[a]),isFieldsValid:function(e){let t=!0;return e.forEach((e=>{n[e].valid||(t=!1)})),t},isFieldValid:function(e){return n[e].valid},resetFields:function(e=!1,t=!1){Object.keys(n).forEach((o=>{if(!n[o].field.current?.hasOwnProperty("reset"))throw new Error(`Reference Error: You must declare the 'reset' function on the field "${o}"`);n[o].field.current?.reset(e,t)})),p&&p()},removeFields:function(){M({})},formId:c,updated:s}}const gg=u((({initialValues:t,children:o,onUpdate:p,onReset:b,onFinish:n,onFinishFailed:M,onFieldUpdate:r,onValidated:i,useQueryString:a,className:O,name:s},A)=>{const d=c(null);z((()=>()=>{d.current=null}),[]),d.current=Wg({name:s,onUpdate:p,onReset:b,onFieldUpdate:r,useQueryString:a}),q(A,(()=>d.current));return e(ug.Provider,{value:d.current,children:e(hg,{initialValues:t,useQueryString:a,onUpdate:p,onFinish:n,onFinishFailed:M,onValidated:i,name:s,className:(()=>{let e="itd-form";return s&&(e+=" "+s),O&&(e+=" "+O),e})(),children:o})})}));gg.Item=fg,gg.Group=function({gap:t=15,horizontal:o=!1,className:p,children:b}){const n=()=>{let e="itd-form-group";return p&&(e+=" "+p),e};return e(pg,{className:n(),$gap:t,$horizontal:o,children:b})},gg.Control=function({position:t="end",className:o,children:p}){const b=()=>{let e="itd-form-control";return o&&(e+=" "+o),e};return e(bg,{className:b(),$position:t,children:p})},gg.useForm=()=>M(ug),gg.useFormAPI=()=>{const e=M(ug);if(!e)throw new Error("useFormAPI must be used within a FormContext.Provider");return e};const mg=ha.div`
3271
+ `;const ng=new RegExp(/^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+([.])[a-zA-Z0-9-]+(?:.[a-zA-Z0-9-]+)*$/),Mg=new RegExp(/^[a-zA-Z0-9_.-]{6,}$/),rg=new RegExp(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[!@#$%^&*()_+={};:<>|./?,"'\[\]\\`~\-])[a-zA-Z\d$begin:math:display$$end:math:display$\\`~!@#$%^&*()_+={};:<>|.\/?,"'-]{8,35}$/);const cg=e=>rg.test(e),zg=e=>ng.test(e),ig=e=>Mg.test(e),ag=(e,t)=>e.length>=t,Og=(e,t)=>e.length<=t,sg=(e,t)=>e===t,Ag=(e,t)=>e.length===t,dg=e=>function(e){var t,o=0,p=0,b=0;if(11!=e.length)return!1;if(!/^-?\d+$/.test(e))return!1;if(0==Number(e[0]))return!1;if(o=parseInt(e[0])+parseInt(e[2])+parseInt(e[4])+parseInt(e[6])+parseInt(e[8]),t=parseInt(e[1])+parseInt(e[3])+parseInt(e[5])+parseInt(e[7]),o*=7,Math.abs(o-t)%10!=Number(e[9]))return!1;for(b=0;b<10;b++)p+=parseInt(e[b]);return p%10==Number(e[10])}(e),lg=e=>{if(Array.isArray(e)){if(0===e.length)return!1}else{if("object"==typeof e){let t=!0;return Object.keys(e).forEach((o=>{""===e[o]&&(t=!1)})),t}if("string"==typeof e){if(""===e)return!1}else if("boolean"==typeof e&&!1===e)return!1}return!0},ug=n({});ug.displayName="ITDFormContext";const fg=u((({name:e="",label:t="",placeholder:o="",error:p="",rules:b=[],mask:n=null,locked:i=!1,dependency:a="",reset:O=[],query:s="",children:A=null},l)=>{const u=c(null),{register:f,unregister:h,hasField:W,updateField:g,setFieldError:m,getFieldValue:R,getFieldInstance:v,formId:L}=M(ug),[y,N]=r(!1);z((()=>(f({name:e,field:u,valid:w(u.current?.getValue()),query:s,reset:O,error:p}),N(!0),()=>{N(!1),h(e)})),[]),q(l,(()=>u.current));const B=(t,o=!0,p=!0)=>{y&&W(e)&&(g(e,t,o,w(t,p)),x())},w=(t,o=!0)=>{const p=function(e,t,o){let p=[];return e.forEach((e=>{e.hasOwnProperty(At.REQUIRED)&&!lg(t)&&e.required&&p.push(e.message?e.message:ou("errors.required")),e.hasOwnProperty(At.TYPE)&&(e.type===dt.MIN_LENGTH&&(ag(String(t),Number(e.value))||p.push(e.message?e.message:ou("errors.minLength",{length:Number(e.value)}))),e.type===dt.MAX_LENGTH&&(Og(String(t),Number(e.value))||p.push(e.message?e.message:ou("errors.maxLength",{length:Number(e.value)}))),e.type===dt.EXACT_LENGTH&&(Ag(String(t),Number(e.value))||p.push(e.message?e.message:ou("errors.exactLength",{length:Number(e.value)}))),e.type===dt.SAME&&(sg(String(t),String(o(String(e.field))))||p.push(e.message?e.message:ou("errors.fieldMustBeTheSame",{fields:e.field}))),e.type===dt.TC_IDENTITY&&(dg(String(t))||p.push(e.message?e.message:ou("errors.wrongTCIdentity"))),e.type===dt.PASSWORD&&(cg(String(t))||p.push(e.message?e.message:ou("errors.passwordRule"))),e.type===dt.EMAIL&&(zg(String(t))||p.push(e.message?e.message:ou("errors.invalidEmailAddress"))),e.type===dt.USERNAME&&(ig(String(t))||p.push(e.message?e.message:ou("errors.usernameRule"))))})),p}(b,t,R);return p.length>0?(m(e,p[0],o),!1):(m(e,""),!0)},x=()=>{if(""===a)return;if(""===R(a))return;const e=v(a);e&&e.forceUpdate&&e.forceUpdate()};return(()=>{if(!A)return null;const p={id:A.props.id?A.props.id:L+"_"+e,label:t,placeholder:o,className:"itd-form-item",onUpdate:B,ref:u};return n&&(p.mask=n),i&&(p.locked=i),d(A,{...A.props,...p})})()})),qg=u((({name:t="",className:o="",initialValues:p={},useQueryString:b=!1,onUpdate:n,onFinish:c,onFinishFailed:i,onValidated:a,children:O},s)=>{const{updated:A,setInitialValues:d,isFormValid:l,getValues:u,getFields:f,setFieldValueByName:h,resetFields:W}=M(ug),g=Rc(),{search:m}=k(),R=vc(),[v,L]=r([]),[y,N]=r(!1),[B,w]=r([]),[x,X]=r(!1),[S,E]=r(!1);z((()=>{O&&j()}),[O]),z((()=>{_(),C()}),[x]),z((()=>{x||0!==Object.keys(f()).length&&0!==B.length&&Object.keys(f()).length===B.length&&X(!0)}),[f(),B]),z((()=>{C()}),[p]),z((()=>{_()}),[m]),z((()=>{S&&x&&b&&Object.keys(A).length>0&&I(A)}),[A]),z((()=>{a&&l()!==y&&a(l()),N(l())}),[l()]);const _=()=>{x&&b&&(F(),S||D())},C=()=>{x&&(b||S||P())},P=()=>{const e=!Object.values(p).some((e=>null!==e&&""!==e));e&&!S&&E(!0),e||S||(d(p,!1),E(!0))},D=()=>{const e=f(),t=!Object.values(e).some((e=>""!==g.get(e.query,"")));if(Object.values(e).some((e=>null===e.query||""===e.query))){let t=[];throw Object.keys(e).forEach((o=>{e[o].hasOwnProperty("query")&&null!==e[o].query&&""!==e[o].query||t.push(o)})),new Error(`ITD Form Initial Fields Error: "useQueryString" is activated but "query" value is not passed to whole form elements! Invalid fields are ${t.toString()}`)}if(t&&!S&&E(!0),!t&&!S){let t={};Object.keys(e).forEach((o=>{t[o]=g.get(e[o].query,"")})),d(t,!0,!0),E(!0)}},I=e=>{let t=[],o=[];const p=f();Object.keys(e).forEach((t=>{o.push(e[t])})),Bu(o,v)||(Object.keys(p).forEach((o=>{t.push({type:p[o].query,value:e[o]})})),R.set(t))},F=()=>{let e=[],t=[];const o=f();if(Object.keys(o).forEach((t=>{let p=String(g.get(o[t].query,""));e.push(p)})),Bu(e,v))return;L(e),Object.keys(o).forEach((e=>{t[e]=g.get(o[e].query,"")})),Object.keys(t).forEach((e=>{h(e,t[e],!1,!1)}));let p={};Object.keys(t).forEach((e=>{p[e]=t[e]})),n&&n(p)},j=()=>{let e=[];T(O,(t=>(t.hasOwnProperty("type")&&t.type===fg&&e.push({[t.props.name]:t}),!0))),w(e)};return q(s,(()=>({fieldUpdate(e){console.log("fieldUpdate"),console.log(e)}}))),e("form",{id:t,onSubmit:e=>{e&&(e.preventDefault(),e.stopPropagation()),l()?c&&c(u()):i&&i(f())},onReset:e=>{e&&(e.preventDefault(),e.stopPropagation());let t=[];Object.keys(f()).map((e=>{t.push({type:e,value:""})})),R.set(t),W(!0,!1)},autoComplete:"off",className:o,noValidate:!0,children:O})}));var hg=W(qg);function Wg({name:e="",useQueryString:t=!1,onUpdate:o,onReset:p,onFieldUpdate:b}){const[n,M]=r({}),[c,z]=r(e),[a,O]=r(!1),[s,A]=r({});function d(e){return n.hasOwnProperty(e)&&void 0!==n[e]}function l(){let e={};return Object.keys(n).forEach((t=>{e[t]=q(t)})),e}function u(e,t,o=!0){if(d(e)&&n[e].field.current){if(n[e].valid=!1,n[e].error=t,!n[e].field.current?.hasOwnProperty("setError"))throw new Error(`Reference Error: You must declare the 'setError' function on the field "${e}"`);n[e].field.current?.setError(o?t:"")}}function f(){let e=!0;return Object.keys(n).forEach((t=>{n[t].valid||(e=!1)})),O(e),e}function q(e){if(d(e)){if(n[e].field.current?.hasOwnProperty("getValue"))return n[e].field.current?.getValue();throw new Error(`Reference Error: You must declare the 'getValue' function on the field "${e}"`)}throw new Error(`Form Error: There is no field registered with this name: ${e}`)}function h(e,t,o,p){if(!d(e))throw new Error(`Form Error: There is no field registered with this name: ${e}`);if(!n[e].field.current?.hasOwnProperty("setValue"))throw new Error(`Reference Error: You must declare the 'setValue' function on the field "${e}"`);{let b=q(e),M=!1;M=Array.isArray(b)&&Array.isArray(t)?Bu(b,t):Array.isArray(b)||Array.isArray(t)?b.toString()===t.toString():b===t,M||n[e].field.current?.setValue(t,o,p)}}return{register:function(e){n[e.name]={name:e.name,field:e.field,value:e.field.current?.getValue(),valid:e.valid,query:e.query,reset:e.reset,error:e.error}},unregister:function(e){if(!d(e))throw new Error(`Form Unregister Error: There is no field registered with this name: ${e}`);delete n[e]},checkFormIsValid:f,hasField:d,getValues:l,getFieldValue:function(e){return d(e)?(t=n[e].value)instanceof Object?JSON.stringify(t):t:"";var t},getFieldValueByName:q,getFieldInstance:function(e){return d(e)?n[e].field.current:null},getFields:function(){let e={};return Object.keys(n).forEach((t=>{e[t]=n[t]})),e},getFieldsInstance:function(){let e={};return Object.keys(n).forEach((t=>{e[t]=n[t].field.current})),e},setName:function(e){z(e)},setInitialValues:function(e,p=!0,b=!1){Object.keys(e).forEach((t=>{h(t,e[t],p,b)}));let n={};return Object.keys(e).forEach((t=>{n[t]=e[t]})),p&&(t&&A(n),o&&o(n)),f(),n},setInvalidField:function(e="",t=""){u(e,t),f()},setInvalidFields:function(e=[],t=""){e.forEach((e=>{u(e,t)})),f()},setFieldValue:function(e,t){if(!d(e))throw new Error(`Form Error: There is no field registered with this name: ${e}`);n[e].valid=!1,n[e].field.current?.setValue(t)},setFieldValueByName:h,setFieldError:u,removeFieldError:function(e){if(!d(e))throw new Error(`Form Error: There is no field registered with this name: ${e}`);if(n[e].valid=!0,n[e].error="",!n[e].field.current?.hasOwnProperty("setError"))throw new Error(`Reference Error: You must declare the 'setError' function on the field "${e}"`);n[e].field.current?.setError("")},updateField:function(e,p,M,r){if(!d(e))throw new Error(`Form Update Error: There is no field registered with this name: ${e}`);if(n[e].value=p,n[e].valid=r,M){b&&b({name:e,value:p,valid:r}),n[e].reset.length>0&&n[e].reset.forEach((e=>{n[e].value="",n[e].valid=!1,n[e].field.current?.reset(!1)}));let M={...l(),[e]:p};n[e].reset.length>0&&n[e].reset.forEach((e=>{M[e]=""})),t&&r&&A(M),o&&o(M)}f()},isFormValid:i((()=>a),[a]),isFieldsValid:function(e){let t=!0;return e.forEach((e=>{n[e].valid||(t=!1)})),t},isFieldValid:function(e){return n[e].valid},resetFields:function(e=!1,t=!1){Object.keys(n).forEach((o=>{if(!n[o].field.current?.hasOwnProperty("reset"))throw new Error(`Reference Error: You must declare the 'reset' function on the field "${o}"`);n[o].field.current?.reset(e,t)})),p&&p()},removeFields:function(){M({})},formId:c,updated:s}}const gg=u((({initialValues:t,children:o,onUpdate:p,onReset:b,onFinish:n,onFinishFailed:M,onFieldUpdate:r,onValidated:i,useQueryString:a,className:O,name:s},A)=>{const d=c(null);z((()=>()=>{d.current=null}),[]),d.current=Wg({name:s,onUpdate:p,onReset:b,onFieldUpdate:r,useQueryString:a}),q(A,(()=>d.current));return e(ug.Provider,{value:d.current,children:e(hg,{initialValues:t,useQueryString:a,onUpdate:p,onFinish:n,onFinishFailed:M,onValidated:i,name:s,className:(()=>{let e="itd-form";return s&&(e+=" "+s),O&&(e+=" "+O),e})(),children:o})})}));gg.Item=fg,gg.Group=function({gap:t=15,horizontal:o=!1,className:p,children:b}){const n=()=>{let e="itd-form-group";return p&&(e+=" "+p),e};return e(pg,{className:n(),$gap:t,$horizontal:o,children:b})},gg.Control=function({position:t="end",className:o,children:p}){const b=()=>{let e="itd-form-control";return o&&(e+=" "+o),e};return e(bg,{className:b(),$position:t,children:p})},gg.useForm=()=>M(ug),gg.useFormAPI=()=>{const e=M(ug);if(!e)throw new Error("useFormAPI must be used within a FormContext.Provider");return e};const mg=ha.div`
3272
3272
 
3273
3273
  &.itd-accordion-menu-sub-menu {
3274
3274
 
@@ -4515,7 +4515,7 @@ function Of(e,t){if(yf(e))for(let o=0;o<e.length&&!1!==t(e[o],o,e);o++);else e&&
4515
4515
  background-color: #f8285a;
4516
4516
  }
4517
4517
 
4518
- `;const nR=u((({id:t="",placeholder:p="",value:b="",defaultValue:n="",className:M="",size:i="default",variant:a="default",rows:O=3,maxLength:s=-1,disabled:A=!1,showCount:d=!1,onChange:l,onUpdate:u,children:f},h)=>{const W=c(null),[g,m]=r(""),[R,v]=r(!1),[L,y]=r(!1),[N,B]=r(""),[w,x]=r(t);z((()=>(""===t&&x("itd-textarea-"+Ha()),n&&X(n),document.addEventListener("pointerdown",_,!1),document.addEventListener("mousedown",(()=>{v(!0)})),document.addEventListener("mouseup",(()=>{v(!1)})),()=>{document.removeEventListener("pointerdown",_,!1),document.removeEventListener("mousedown",(()=>{v(!0)})),document.removeEventListener("mouseup",(()=>{v(!1)}))})),[]),z((()=>{X(String(b),!0,""!==b)}),[b]);const X=(e,t=!0,o=!0)=>{m(e),u&&u(e,t,o)};q(h,(()=>({setFocus(){W.current&&W.current.focus()},reset(e=!0,t=!0){m(n||""),B(""),X("",e,t)},setValue(e,t=!0,o=!0){m(e),X(e,t,o)},getValue:()=>g,setError(e){B(e)},forceUpdate(){X(g)},clear(){m("")}})));const k=e=>{m(e.target.value),X(e.target.value,!0,!0),l&&l({value:e.target.value,className:"itd-textarea",disabled:A,target:W,stopPropagation:()=>{e.stopPropagation()},preventDefault:()=>{e.preventDefault()}})},S=e=>{y(!0),R||e.target.classList.add("keyboard-focus")},T=e=>{y(!1),e.target.classList.remove("keyboard-focus")},E=e=>{"Tab"===e.key&&y(!1)},_=e=>{W?.current&&(W.current.contains(e.target)||y(!1))},C=()=>{if(""!==N&&!A)return e(pR,{className:"itd-error-border"})},P=()=>{let e="itd-textarea";return e+=" itd-textarea-"+Da(i),e+=" itd-textarea-"+a,A&&(e+=" itd-textarea-disabled"),L&&(e+=" itd-textarea-focus"),d&&(e+=" itd-textarea-show-count"),""!==M&&(e+=" "+M),e};return(()=>{if(f)throw new Error("ITD TextArea Error: Remove the children!");return o(oR,{className:P(),children:[e("textarea",{id:w,placeholder:p,value:g,className:"itd-textarea-default-input",disabled:A,rows:O,maxLength:s,onChange:k,onFocus:S,onBlur:T,onKeyDown:E,ref:W}),C()]})})()}));nR.displayName="ITD-TextArea";const MR=ha.span`
4518
+ `;const nR=u((({id:t="itd-textarea-"+Ha(),placeholder:p="",value:b="",defaultValue:n="",className:M="",size:i="default",variant:a="default",rows:O=3,maxLength:s=-1,disabled:A=!1,showCount:d=!1,onChange:l,onUpdate:u,children:f},h)=>{const W=c(null),[g,m]=r(""),[R,v]=r(!1),[L,y]=r(!1),[N,B]=r("");z((()=>(n&&w(n),document.addEventListener("pointerdown",T,!1),document.addEventListener("mousedown",(()=>{v(!0)})),document.addEventListener("mouseup",(()=>{v(!1)})),()=>{document.removeEventListener("pointerdown",T,!1),document.removeEventListener("mousedown",(()=>{v(!0)})),document.removeEventListener("mouseup",(()=>{v(!1)}))})),[]),z((()=>{w(String(b),!0,""!==b)}),[b]);const w=(e,t=!0,o=!0)=>{m(e),u&&u(e,t,o)};q(h,(()=>({setFocus(){W.current&&W.current.focus()},reset(e=!0,t=!0){m(n||""),B(""),w("",e,t)},setValue(e,t=!0,o=!0){m(e),w(e,t,o)},getValue:()=>g,setError(e){B(e)},forceUpdate(){w(g)},clear(){m("")}})));const x=e=>{m(e.target.value),w(e.target.value,!0,!0),l&&l({value:e.target.value,className:"itd-textarea",disabled:A,target:W,stopPropagation:()=>{e.stopPropagation()},preventDefault:()=>{e.preventDefault()}})},X=e=>{y(!0),R||e.target.classList.add("keyboard-focus")},k=e=>{y(!1),e.target.classList.remove("keyboard-focus")},S=e=>{"Tab"===e.key&&y(!1)},T=e=>{W?.current&&(W.current.contains(e.target)||y(!1))},E=()=>{if(""!==N&&!A)return e(pR,{className:"itd-error-border"})},_=()=>{let e="itd-textarea";return e+=" itd-textarea-"+Da(i),e+=" itd-textarea-"+a,A&&(e+=" itd-textarea-disabled"),L&&(e+=" itd-textarea-focus"),d&&(e+=" itd-textarea-show-count"),""!==M&&(e+=" "+M),e};return(()=>{if(f)throw new Error("ITD TextArea Error: Remove the children!");return o(oR,{className:_(),children:[e("textarea",{id:t,placeholder:p,value:g,className:"itd-textarea-default-input",disabled:A,autoComplete:"off",rows:O,maxLength:s,onChange:x,onFocus:X,onBlur:k,onKeyDown:S,ref:W}),E()]})})()}));nR.displayName="ITD-TextArea";const MR=ha.span`
4519
4519
 
4520
4520
  content: '';
4521
4521
  position: absolute;
@@ -5088,7 +5088,7 @@ function Of(e,t){if(yf(e))for(let o=0;o<e.length&&!1!==t(e[o],o,e);o++);else e&&
5088
5088
  grid-template-columns : ${e=>"row"===e.$direction||e.$onlyFlow?"auto":`repeat(${e.$length}, 1fr)`};
5089
5089
  grid-template-rows : ${e=>"column"===e.$direction||e.$onlyFlow?"auto":`repeat(${e.$length}, 1fr)`};
5090
5090
  grid-gap : ${e=>e.$gap};
5091
- `,VR=u((({name:t="",message:o="",type:p="default",defaultValue:n="",value:M="",buttonProps:c={},className:i="",direction:a="column",gap:O="10px",length:s=3,onlyFlow:A=!1,onChange:l=null,onUpdate:u=null,children:h=null},W)=>{const[g,m]=r(o),[R,v]=r("");z((()=>{n&&(v(n),L(n))}),[]),z((()=>{v(M),L(M)}),[M]);const L=(e,t=!0,o=!0)=>{u&&u(e,t,o)};q(W,(()=>({reset(e=!0,t=!0){v(n),m(""),L(n,e,t)},setValue(e,t=!0,o=!0){v(e),L(e,t,o)},getValue:()=>R,setError(e){m(e)},clear(){}})));const y=e=>{R!==e&&(v(e),L(e,!0,!1),m(""),l&&l(e))};return e(UR,{className:(()=>{let e="itd-radio-group";return e+=" itd-radio-group-"+p,e+=" itd-radio-group-"+a,g&&(e+=" itd-radio-group-error"),""!==i&&(e+=" "+i),e})(),role:"radiogroup",$direction:a,$length:s,$gap:O,$onlyFlow:A,children:(()=>{const e=o=>{if(!b.isValidElement(o))return null;if(o.type===$R)return d(o,{...o.props,checked:R===o.props.value,onChange:y,hasError:""!==g,name:t,type:p,buttonProps:c});if(o.props.children){const t=f.map(o.props.children,e);return d(o,{...o.props,children:t})}return o};return f.map(h,e)})()})}));var HR=W(VR);const YR=()=>null;YR.Group=HR,YR.Button=$R;var GR="itd__label__9437953e",KR="itd__checkmark__9437953e",QR="itd__check__9437953e",JR="itd__container__9437953e";Jm(".itd__container__9437953e{align-items:center;cursor:pointer;display:flex;-webkit-user-select:none;user-select:none}.itd__label__9437953e{align-items:center;display:flex;position:relative}.itd__label__9437953e span{color:#fff9;font-size:12px;font-weight:400;line-height:1.2;margin-left:10px}.itd__checkmark__9437953e{align-items:center;background-color:#1d2649;border-radius:6px;display:flex;height:20px;justify-content:center;transition:background-color .25sn ease-out;width:20px}.itd__checkmark__9437953e svg{fill:#fff;visibility:hidden}.itd__check__9437953e{background-color:#3396fb}.itd__check__9437953e svg{animation:itd__bounce__9437953e .5s;visibility:visible}@keyframes itd__bounce__9437953e{0%{transform:scale(.2) rotate(4deg)}50%{transform:scale(1.2) rotate(-2deg)}75%{transform:scale(.9) rotate(1deg)}to{transform:scale(1) rotate(0deg)}}",{});const ZR=({checked:e=!1,className:t="",children:o=null})=>b.createElement("label",{className:"itd-inline-select-checkbox-label "+t+" "+JR},b.createElement("div",{className:"itd-inline-select-checkbox-wrapper "+GR},(()=>{let t="itd-inline-select-checkbox "+KR;return e&&(t+=" "+QR),b.createElement("div",{className:t},b.createElement(qu,{className:"itd-svg",width:12,height:12}))})(),b.createElement("span",null,o)));var ev="itd__option__733c7593",tv="itd__selected__733c7593",ov="itd__single__733c7593";Jm(".itd__option__733c7593{align-items:center;cursor:pointer;display:flex;min-width:max-content;padding:10px 30px 10px 15px}.itd__option__733c7593:not(:last-child){margin-bottom:1px}.itd__option__733c7593:hover{background-color:rgba(29,38,73,.502)}.itd__selected__733c7593 .itd__option__733c7593 span,.itd__selected__733c7593 .itd__single__733c7593{color:#fff}.itd__option__733c7593 span,.itd__single__733c7593{color:hsla(0,0%,100%,.667);font-size:12px;font-weight:400;line-height:12px;white-space:nowrap}",{});const pv=({value:e="",checked:t=!1,single:o=!1,onChange:p=null,children:n=null})=>{const[M,c]=r(!1);return b.createElement("li",{onMouseEnter:e=>{c(!0),e.stopPropagation()},onMouseLeave:e=>{c(!1),e.stopPropagation()},className:(()=>{let e="itd-inline-select-item itd-inline-select-item-option";return e+=" "+ev,t&&(e+=" "+tv),t&&(e+=" itd-inline-select-item-option-selected"),M&&!t&&(e+=" itd-inline-select-item-option-active"),e})(),onClick:o=>{p(e,!t,n),o.stopPropagation()}},o?b.createElement("div",{className:"itd-item-single "+ov},b.createElement("span",null,n)):b.createElement(ZR,{className:"itd-item-multi",checked:t},n))};var bv=W(pv),nv={menu:"itd__menu__211ba801",bodyWrapper:"itd__bodyWrapper__211ba801",bodyWrapperLong:"itd__bodyWrapperLong__211ba801",menuEnter:"itd__menuEnter__211ba801",menuEnterActive:"itd__menuEnterActive__211ba801",menuExit:"itd__menuExit__211ba801",menuExitActive:"itd__menuExitActive__211ba801",menuEnterActiveLong:"itd__menuEnterActiveLong__211ba801",menuExitActiveLong:"itd__menuExitActiveLong__211ba801",bottom:"itd__bottom__211ba801",left:"itd__left__211ba801"};function Mv(e){const t=c(null),{value:o=[],children:p=null,onChange:n=null,isOpen:M=!1,single:i=!1,minWidth:a=0}=e,[O,s]=r([]);z((()=>{s(o)}),[o]);const A=(e,t,o)=>{if(i){const p=[t?e:""];s(p),n(p,o)}else{let p=[];t?p=[...O,e]:(O.splice(O.indexOf(e),1),p=[...O]),s(p),n(p,o)}};return b.createElement(v,{in:M,timeout:500,classNames:{enter:nv.menuEnter,enterActive:p.length>5?nv.menuEnterActiveLong:nv.menuEnterActive,exit:nv.menuExit,exitActive:p.length>5?nv.menuExitActiveLong:nv.menuExitActive},nodeRef:t,unmountOnExit:!0},b.createElement("div",{className:"itd-inline-select-dropdown "+nv.menu+" "+nv.bottom+" "+nv.left,style:{width:0===a?"max-content":a+"px"},ref:t},b.createElement("div",{className:nv.spacer}),b.createElement(FW,{className:"itd-inline-select-dropdown-body "+p.length>5?nv.bodyWrapperLong:nv.bodyWrapper},b.createElement("ul",null,f.map(p,(e=>d(e,{onChange:A,checked:O.indexOf(e.props.value)>-1,key:e.props.value})))))))}Jm(".itd__menu__211ba801{background-color:#050a20;border-radius:0 5px 5px 5px;box-shadow:0 20px 20px #00000040;overflow:hidden;position:absolute;transform-box:fill-box;transform-origin:50% 1%;transition-timing-function:cubic-bezier(.75,-.5,0,1.25);z-index:2}.itd__menu__211ba801 ul{min-width:max-content}.itd__bodyWrapperLong__211ba801,.itd__bodyWrapper__211ba801{height:300px}.itd__bottom__211ba801{top:100%}.itd__left__211ba801{left:0}.itd__menuEnter__211ba801{height:50px;opacity:0}.itd__menuEnterActive__211ba801{height:300px;opacity:1;transition:height .15s ease-out}.itd__menuExit__211ba801{opacity:1}.itd__menuExitActive__211ba801{height:300px;opacity:0;transition:height .15s ease-out}.itd__menuEnterActiveLong__211ba801{height:300px;opacity:1;transition:height .15s ease-out}.itd__menuExitActiveLong__211ba801{height:300px;opacity:0;transition:height .15s ease-out}",{});const rv=ha.div`
5091
+ `,VR=u((({id:t="itd-checkbox-group-"+Ha(),name:o="",message:p="",type:n="default",defaultValue:M="",value:c="",buttonProps:i={},className:a="",direction:O="column",gap:s="10px",length:A=3,onlyFlow:l=!1,onChange:u=null,onUpdate:h=null,children:W=null},g)=>{const[m,R]=r(p),[v,L]=r("");z((()=>{M&&(L(M),y(M))}),[]),z((()=>{L(c),y(c)}),[c]);const y=(e,t=!0,o=!0)=>{h&&h(e,t,o)};q(g,(()=>({reset(e=!0,t=!0){L(M),R(""),y(M,e,t)},setValue(e,t=!0,o=!0){L(e),y(e,t,o)},getValue:()=>v,setError(e){R(e)},clear(){}})));const N=e=>{v!==e&&(L(e),y(e,!0,!1),R(""),u&&u(e))};return e(UR,{id:t,className:(()=>{let e="itd-radio-group";return e+=" itd-radio-group-"+n,e+=" itd-radio-group-"+O,m&&(e+=" itd-radio-group-error"),""!==a&&(e+=" "+a),e})(),role:"radiogroup",$direction:O,$length:A,$gap:s,$onlyFlow:l,children:(()=>{const e=t=>{if(!b.isValidElement(t))return null;if(t.type===$R)return d(t,{...t.props,checked:v===t.props.value,onChange:N,hasError:""!==m,name:o,type:n,buttonProps:i});if(t.props.children){const o=f.map(t.props.children,e);return d(t,{...t.props,children:o})}return t};return f.map(W,e)})()})}));var HR=W(VR);const YR=()=>null;YR.Group=HR,YR.Button=$R;var GR="itd__label__9437953e",KR="itd__checkmark__9437953e",QR="itd__check__9437953e",JR="itd__container__9437953e";Jm(".itd__container__9437953e{align-items:center;cursor:pointer;display:flex;-webkit-user-select:none;user-select:none}.itd__label__9437953e{align-items:center;display:flex;position:relative}.itd__label__9437953e span{color:#fff9;font-size:12px;font-weight:400;line-height:1.2;margin-left:10px}.itd__checkmark__9437953e{align-items:center;background-color:#1d2649;border-radius:6px;display:flex;height:20px;justify-content:center;transition:background-color .25sn ease-out;width:20px}.itd__checkmark__9437953e svg{fill:#fff;visibility:hidden}.itd__check__9437953e{background-color:#3396fb}.itd__check__9437953e svg{animation:itd__bounce__9437953e .5s;visibility:visible}@keyframes itd__bounce__9437953e{0%{transform:scale(.2) rotate(4deg)}50%{transform:scale(1.2) rotate(-2deg)}75%{transform:scale(.9) rotate(1deg)}to{transform:scale(1) rotate(0deg)}}",{});const ZR=({checked:e=!1,className:t="",children:o=null})=>b.createElement("label",{className:"itd-inline-select-checkbox-label "+t+" "+JR},b.createElement("div",{className:"itd-inline-select-checkbox-wrapper "+GR},(()=>{let t="itd-inline-select-checkbox "+KR;return e&&(t+=" "+QR),b.createElement("div",{className:t},b.createElement(qu,{className:"itd-svg",width:12,height:12}))})(),b.createElement("span",null,o)));var ev="itd__option__733c7593",tv="itd__selected__733c7593",ov="itd__single__733c7593";Jm(".itd__option__733c7593{align-items:center;cursor:pointer;display:flex;min-width:max-content;padding:10px 30px 10px 15px}.itd__option__733c7593:not(:last-child){margin-bottom:1px}.itd__option__733c7593:hover{background-color:rgba(29,38,73,.502)}.itd__selected__733c7593 .itd__option__733c7593 span,.itd__selected__733c7593 .itd__single__733c7593{color:#fff}.itd__option__733c7593 span,.itd__single__733c7593{color:hsla(0,0%,100%,.667);font-size:12px;font-weight:400;line-height:12px;white-space:nowrap}",{});const pv=({value:e="",checked:t=!1,single:o=!1,onChange:p=null,children:n=null})=>{const[M,c]=r(!1);return b.createElement("li",{onMouseEnter:e=>{c(!0),e.stopPropagation()},onMouseLeave:e=>{c(!1),e.stopPropagation()},className:(()=>{let e="itd-inline-select-item itd-inline-select-item-option";return e+=" "+ev,t&&(e+=" "+tv),t&&(e+=" itd-inline-select-item-option-selected"),M&&!t&&(e+=" itd-inline-select-item-option-active"),e})(),onClick:o=>{p(e,!t,n),o.stopPropagation()}},o?b.createElement("div",{className:"itd-item-single "+ov},b.createElement("span",null,n)):b.createElement(ZR,{className:"itd-item-multi",checked:t},n))};var bv=W(pv),nv={menu:"itd__menu__211ba801",bodyWrapper:"itd__bodyWrapper__211ba801",bodyWrapperLong:"itd__bodyWrapperLong__211ba801",menuEnter:"itd__menuEnter__211ba801",menuEnterActive:"itd__menuEnterActive__211ba801",menuExit:"itd__menuExit__211ba801",menuExitActive:"itd__menuExitActive__211ba801",menuEnterActiveLong:"itd__menuEnterActiveLong__211ba801",menuExitActiveLong:"itd__menuExitActiveLong__211ba801",bottom:"itd__bottom__211ba801",left:"itd__left__211ba801"};function Mv(e){const t=c(null),{value:o=[],children:p=null,onChange:n=null,isOpen:M=!1,single:i=!1,minWidth:a=0}=e,[O,s]=r([]);z((()=>{s(o)}),[o]);const A=(e,t,o)=>{if(i){const p=[t?e:""];s(p),n(p,o)}else{let p=[];t?p=[...O,e]:(O.splice(O.indexOf(e),1),p=[...O]),s(p),n(p,o)}};return b.createElement(v,{in:M,timeout:500,classNames:{enter:nv.menuEnter,enterActive:p.length>5?nv.menuEnterActiveLong:nv.menuEnterActive,exit:nv.menuExit,exitActive:p.length>5?nv.menuExitActiveLong:nv.menuExitActive},nodeRef:t,unmountOnExit:!0},b.createElement("div",{className:"itd-inline-select-dropdown "+nv.menu+" "+nv.bottom+" "+nv.left,style:{width:0===a?"max-content":a+"px"},ref:t},b.createElement("div",{className:nv.spacer}),b.createElement(FW,{className:"itd-inline-select-dropdown-body "+p.length>5?nv.bodyWrapperLong:nv.bodyWrapper},b.createElement("ul",null,f.map(p,(e=>d(e,{onChange:A,checked:O.indexOf(e.props.value)>-1,key:e.props.value})))))))}Jm(".itd__menu__211ba801{background-color:#050a20;border-radius:0 5px 5px 5px;box-shadow:0 20px 20px #00000040;overflow:hidden;position:absolute;transform-box:fill-box;transform-origin:50% 1%;transition-timing-function:cubic-bezier(.75,-.5,0,1.25);z-index:2}.itd__menu__211ba801 ul{min-width:max-content}.itd__bodyWrapperLong__211ba801,.itd__bodyWrapper__211ba801{height:300px}.itd__bottom__211ba801{top:100%}.itd__left__211ba801{left:0}.itd__menuEnter__211ba801{height:50px;opacity:0}.itd__menuEnterActive__211ba801{height:300px;opacity:1;transition:height .15s ease-out}.itd__menuExit__211ba801{opacity:1}.itd__menuExitActive__211ba801{height:300px;opacity:0;transition:height .15s ease-out}.itd__menuEnterActiveLong__211ba801{height:300px;opacity:1;transition:height .15s ease-out}.itd__menuExitActiveLong__211ba801{height:300px;opacity:0;transition:height .15s ease-out}",{});const rv=ha.div`
5092
5092
  width: max-content;
5093
5093
  `,cv=ha.span`
5094
5094
 
@@ -3,6 +3,7 @@ import { ButtonProps } from "./ButtonProps";
3
3
  export type RadioType = "default" | "primary";
4
4
  export type Direction = "column" | "row";
5
5
  export type RadioGroupProps = {
6
+ id?: string;
6
7
  name?: string;
7
8
  message?: string;
8
9
  type?: RadioType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inntechcorp/it-design",
3
- "version": "2.1.7",
3
+ "version": "2.1.9",
4
4
  "description": "All in one Design library for web applications.",
5
5
  "author": "Inn.Tech",
6
6
  "license": "ISC",