Liferay.Loader.define("dynamic-data-mapping-form-field-type@6.0.108/util/numericalOperations",["module","exports","require"],(function(e,a,r){window;{Object.defineProperty(a,"__esModule",{value:!0}),a.limitValue=function({defaultValue:e,max:a,min:r,value:t}){if(isNaN(t)||t<r)return e;if(t>a)return a;return t},a.trimLeftZero=function a({decimalSymbol:r,thousandsSeparator:t,value:i}){if(i.length>1&&("0"===i[0]||i[0]===t)&&!i[1].match(e))return"0"===i[0]?i=i.replace("0",""):t&&(i=i.replace(t,"")),a({decimalSymbol:r,thousandsSeparator:t,value:i});return i};const e=/[\D]/g}}));
//# sourceMappingURL=numericalOperations.js.map