import{getDynamicSourceLocales as e}from"../../../../helpers.js";let getContents=(t,i,n)=>{let{label:l,translate:s,invalidNumberMessage:a,invalidEmailMessage:d,requiredMessage:g,invalidLengthMessage:r}=n??{},u=e({val:l,uid:t,settingId:"label",pageContext:i,translate:s}),v=e({val:a,uid:t,settingId:"invalidNumberMessage",pageContext:i,translate:s}),o=e({val:d,uid:t,settingId:"invalidEmailMessage",pageContext:i,translate:s}),I=e({val:g,uid:t,settingId:"requiredMessage",pageContext:i,translate:s}),b=e({val:r,uid:t,settingId:"invalidLengthMessage",pageContext:i,translate:s});return{displayLabel:u,invalidNumberMessageDisplay:v,invalidEmailMessageDisplay:o,requiredMessageDisplay:I,invalidLengthMessageDisplay:b}},getLabelContent=e=>{let{label:t,required:i}=e??{};return i&&t?" *":""};export{getContents,getLabelContent};
