import{F,b3 as m}from"./ControlType-ad092de0.js";function v(o,r){var e=t(r),a=u(r),{defaultDecimalFormatOptions:l,defaultIntegerFormatOptions:n,truncateNumbersWithPound:i,showEmptyStrings:d,showNullStrings:T}=r??{};return new F(o,e,a,l,n,i,d,T)}function t(o){if(o&&o.formatter){var{formatter:r}=o;return r}}function u(o){return{timeZone:o?.timeZone,defaultDateTimeFormatString:o?.defaultDateTimeFormat,showTimeZone:o?.showTimeZone,showTSeparator:o?.showTSeparator}}function f(o,r,e){var a=o.getColumnFormat(e,r);return a!=null&&(a.type===m.TYPE_CONTEXT_PRESET||a.type===m.TYPE_CONTEXT_CUSTOM)}const p={createFormatterFromSettings:v,getColumnFormats:t,getDateTimeFormatterOptions:u,isCustomColumnFormatDefined:f};export{p as F,u as a,v as c,t as g,f as i};
//# sourceMappingURL=FormatterUtils-ea505d7b.js.map
