"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("lodash-unified"),n=require("../../utils/format.js");function c(r,e){if(a.isNil(e))return r;let[i,t=""]=r.split(".");if(t.length>=e)return r;for(let l=t.length;l<e;l++)t+="0";return i+"."+t}function u(r,e){const i=r;if(a.isNil(i))return e?.emptyText;let t=e?.thousands?n.toDecimalMark(i,e.precision):String(i);return e?.precision&&e.limitDecimalsRetain&&(t=c(t,e.precision)),t}exports.addZeroToDecimalPlaces=c;exports.getValueStr=u;
