import{F,bn as m}from"./ControlType-TT16KIdB.js";function v(o,r){var e=t(r),a=u(r),{defaultDecimalFormatOptions:n,defaultIntegerFormatOptions:l,truncateNumbersWithPound:i,showEmptyStrings:d,showNullStrings:T}=r??{};return new F(o,e,a,n,l,i,d,T)}function t(o){if(o&&o.formatter){var{formatter:r}=o;return r}}function u(o){return{timeZone:o==null?void 0:o.timeZone,defaultDateTimeFormatString:o==null?void 0:o.defaultDateTimeFormat,showTimeZone:o==null?void 0:o.showTimeZone,showTSeparator:o==null?void 0: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-DEbTJyCz.js.map
