@progress/kendo-react-inputs 16.1.0-develop.8 → 16.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,6 +27,10 @@ export declare const fractionLength: (value: number) => number;
27
27
  * @hidden
28
28
  */
29
29
  export declare const limitPrecision: (precision: number) => number;
30
+ /**
31
+ * @hidden
32
+ */
33
+ export declare const significantDigitsCount: (looseValue: string, decimalSymbol: string, maxFractionDigits: number) => number;
30
34
  /**
31
35
  * @hidden
32
36
  */
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=11111111111111e-7,Le=.31111111111111117,he=1,ee=1,ne=0,m=/\d/,te=15,Ie=()=>({eventValue:null,prevLooseValue:"",currentLooseValue:"",focused:!1,selectionStart:void 0,selectionEnd:void 0,decimalSelect:!1,valueIsCorrected:!1,valueIsOutOfRange:!1}),Ne=(t,n)=>t!==void 0?t:n,x=(t,n,r)=>t==null?"":typeof t=="string"?t:r.formatNumber(t,n),T=t=>(String(t).split(".")[1]||"").length,re=(t,n)=>Math.max(T(t),T(n)),oe=t=>Math.min(t,te),U=(t,n)=>{const r=oe(n);return parseFloat(t.toFixed(r))},Ce=(t,n,r,e,u,o,d)=>{const s=re(t||0,r||0),l=W(U((t||0)+(r||0),s),e,u);n.eventValue=l,n.currentLooseValue=x(l,o,d),n.selectionStart=n.selectionEnd=N(n.currentLooseValue,m)},Pe=(t,n,r,e,u,o,d)=>{const s=re(t||0,r||0),l=W(U((t||0)-(r||0),s),e,u);n.eventValue=l,n.currentLooseValue=x(l,o,d),n.selectionStart=n.selectionEnd=N(n.currentLooseValue,m)},W=(t,n,r)=>t==null?t:!(t>1||t<1||t===1)||r!==void 0&&n!==void 0&&r<n?null:(r!==void 0&&t>r&&(t=r),n!==void 0&&t<n&&(t=n),t),se=(t,n)=>{const r=n.findIndex(([u,o])=>!!o&&t.indexOf(o)===t.length-o.length);if(r===-1)return-1;const e=n[r][1];return t.length-e.length},ue=(t,n)=>{const r=n.findIndex(([u,o])=>!!u&&t.indexOf(u)===0);return r===-1?-1:n[r][0].length},ie=(t,n,r)=>{const e=se(t,n);if(e!==-1&&r.selectionStart>e){r.selectionStart=r.selectionEnd=e;return}r.selectionStart>t.length&&(r.selectionStart=r.selectionEnd=t.length);const u=ue(t,n);u!==-1&&r.selectionStart<u&&(r.selectionStart=r.selectionEnd=u),r.selectionStart===-1&&(r.selectionStart=r.selectionEnd=0)},p=(t,n,r,e)=>{t.selectionStart=t.selectionEnd=n,ie(r,e,t)},O=(t,n,r,e)=>{t.eventValue=e.parseNumber(t.prevLooseValue,n),t.currentLooseValue=t.prevLooseValue,t.valueIsCorrected=!0,p(t,t.selectionStart,t.currentLooseValue,r)},B=(t,n,r)=>n.split(t).length!==r.split(t).length&&n.length===r.length+t.length,le=(t,n)=>{const r=String(t.currentLooseValue),e=String(t.prevLooseValue);return B(n.minusSign,r,e)||B("-",r,e)||B("−",r,e)},ce=(t,n)=>{const r=String(t.currentLooseValue),e=String(t.prevLooseValue);return r.indexOf(n.minusSign)===-1&&e.indexOf(n.minusSign)!==-1},ae=(t,n)=>String(t.currentLooseValue).split(n.decimal).length>2,de=(t,n)=>{const r=n.formatNumber(y,t),e=n.formatNumber(-y,t),u=n.formatNumber(ne,t),o=n.formatNumber(ee,t),d=D(r),s=D(e),l=D(u),c=D(o),C=R(r),P=R(e),b=R(u),L=R(o);return{positiveInfo:[d,C],negativeInfo:[s,P],zeroInfo:[l,b],oneInfo:[c,L]}},ge=(t,n)=>{const r=n.formatNumber(y,t),e=n.formatNumber(-y,t),u=n.formatNumber(ne,t),o=n.formatNumber(ee,t),d=n.numberSymbols(),s=new RegExp(`[\\d\\${d.decimal}${d.group}]`,"g");return[r,e,u,o].map(c=>c.replace(s,"")).join("").split("").filter((c,C,P)=>P.indexOf(c)===C).join("")},$=(t,n)=>{const r=t.indexOf(n.decimal);return r>-1?r:N(t,m)},v=t=>t.split("").reverse().join(""),N=(t,n)=>t.length-v(t).search(n),D=t=>t.split(t[t.search(m)])[0],R=t=>{const n=v(t);return v(n.split(n[n.search(m)])[0])},M=(t,n)=>t.search(n),j=(t,n)=>{const r=t.indexOf(n);return r>-1?t.length-r-1:0},G=(t,n,r,e,u)=>{const o=t.replace(u,"")[0]==="0",d=n.replace(u,"")[0]==="0";if(o&&!d)return r-1;if(d&&e)return r+1;let s=0;for(let c=0;c<r;c++)m.test(t.charAt(c))&&s++;let l=0;for(;s>0&&n.length>l;)m.test(n.charAt(l))&&s--,l++;return l},Ee=(t,n,r)=>{const e={...t},{prevLooseValue:u}=e,o=r.numberSymbols(),d=ge(n,r),s=String(e.currentLooseValue),l=String(u),c=new RegExp(`[^\\d\\${o.decimal}]`,"g"),C=new RegExp(`[^\\d\\${o.decimal}\\${o.group}]`,"g"),P=new RegExp(`[\\d\\${o.decimal}\\${o.group}]`),b=s.replace(c,""),L=M(s,m),E=L===-1?-1:N(s,m),fe=s.indexOf(o.decimal),X=(s.substring(0,L)+s.substring(L,E).replace(C,"")+s.substring(E,s.length)).split("").filter(V=>d.indexOf(V)!==-1||V.search(P)!==-1).join(""),Z=r.formatNumber(Le,n).replace(c,""),k=Z.indexOf(o.decimal),I=k>-1?Z.length-k-1:0,q=r.formatNumber(he,n).replace(c,""),H=q.indexOf(o.decimal),S=H>-1?q.length-H-1:0,{positiveInfo:me,negativeInfo:Ve,zeroInfo:pe,oneInfo:xe}=de(n,r),a=[me,Ve,pe,xe],be=a.findIndex(V=>V.findIndex(h=>!!h)!==-1)!==1,F=s.length>0&&s.length<l.length,J=typeof n=="string"&&n[0]==="p"&&s&&s.indexOf(o.percentSign)===-1;if(!e.isPaste){if(s==="")return e.eventValue=null,e.currentLooseValue="",e;if(e.currentLooseValue===o.minusSign&&r.formatNumber(-0,n)!==l)return e.eventValue=null,e.currentLooseValue=o.minusSign,p(e,e.selectionStart,e.currentLooseValue,a),e;if(e.currentLooseValue===o.decimal){e.eventValue=0;const f=x(e.eventValue,n,r);if(S===0&&I>0){const i=N(f,m);e.currentLooseValue=f.substring(0,i)+o.decimal+f.substring(i)}else e.currentLooseValue=f;return p(e,$(e.currentLooseValue,o)+1,e.currentLooseValue,a),e}if(le(e,o)){const f=r.parseNumber(u,n);if(f===null)return e.eventValue=null,e.currentLooseValue=o.minusSign,p(e,e.selectionStart,e.currentLooseValue,a),e;e.eventValue=-f,e.currentLooseValue=x(e.eventValue,n,r);const i=M(e.currentLooseValue,m),g=M(l,m);return p(e,e.selectionEnd-1+(i-g),e.currentLooseValue,a),e}if(ce(e,o))return e.eventValue=r.parseNumber(e.currentLooseValue,n),p(e,e.selectionStart,e.currentLooseValue,a),e;if(ae(e,o))return O(e,n,a,r),e;if(J)return e.eventValue=r.parseNumber(s,n)/100,e.currentLooseValue=x(e.eventValue,n,r),e;if(String(e.currentLooseValue).replace(/[^\d]/g,"").length>te||b!==s&&s&&be&&a.findIndex(([i,g])=>{const A=s.indexOf(i),_=s.indexOf(g),K=A===0,Q=_===s.length-g.length,Y=A+i.length!==L&&L!==-1&&s[A+i.length]!==o.decimal,w=_!==E&&E!==-1&&s[_-1]!==o.decimal;return i&&g?Y||w?!1:K&&Q:i?Y?!1:K:g?w?!1:Q:!1})===-1||s.indexOf(o.percentSign)>-1&&(typeof n!="string"||!n.startsWith("p")))return O(e,n,a,r),e;if(b[b.length-1]===o.decimal&&I>0)return e.eventValue=r.parseNumber(s,n),e.currentLooseValue=X,e;if(e.currentLooseValue&&u&&(d+o.decimal+o.group).split("").findIndex(i=>s.split("").filter(g=>g===i).length<l.split("").filter(g=>g===i).length&&s.length+1===l.length?!(i===o.decimal&&j(l.replace(c,""),o.decimal)===0):!1)>-1)return e.eventValue=r.parseNumber(t.prevLooseValue,n),e.currentLooseValue=t.prevLooseValue,e;const h=j(b,o.decimal),z=b[b.length-1]==="0";if(F&&z&&h<S)return e.eventValue=r.parseNumber(e.currentLooseValue,n),e.currentLooseValue=x(e.eventValue,n,r),e;if(h>0){const f=s.substring(0,fe);if(z&&(!f||l.indexOf(f)!==0)){e.eventValue=r.parseNumber(e.currentLooseValue,n);const i=x(e.eventValue,n,r);return p(e,G(s,i,e.selectionEnd,F,c),i,a),e.currentLooseValue=i,e}if(h>I){const i=s.indexOf(o.decimal),g=s.substring(0,i)+s.substring(i,i+1+I)+s.substring(E,String(e.currentLooseValue).length);return e.eventValue=r.parseNumber(g,n),e.currentLooseValue=g,p(e,e.selectionStart,g,a),e}if(S!==I&&h<=I&&z)return e.eventValue=r.parseNumber(e.currentLooseValue,n),e.currentLooseValue=X,e;if(h<S)return e.eventValue=r.parseNumber(e.currentLooseValue,n),e.currentLooseValue=x(e.eventValue,n,r),e}}if(e.eventValue=r.parseNumber(e.currentLooseValue,n),J&&(e.eventValue=e.eventValue/100),typeof e.eventValue=="number"){const V=x(e.eventValue,n,r);s.length===1?p(e,$(V,o),V,a):p(e,G(s,V,e.selectionEnd,F,c),V,a),e.currentLooseValue=V}else e.currentLooseValue=x(r.parseNumber(b),n,r);return e};exports.changeBasedSelection=G;exports.decreaseValue=Pe;exports.formatValue=x;exports.fractionLength=T;exports.getDecimalCount=j;exports.getFirstNumberIndex=M;exports.getFormatPrefixSufix=de;exports.getFormatSymbols=ge;exports.getInitialPosition=$;exports.getInitialState=Ie;exports.getLastNumberIndex=N;exports.getMaxCursorPosition=se;exports.getMinCursorPosition=ue;exports.getPrefix=D;exports.getStateOrPropsValue=Ne;exports.getSuffix=R;exports.increaseValue=Ce;exports.isDecimalDuplicated=ae;exports.isMinusSymbolAdded=le;exports.isMinusSymbolRemoved=ce;exports.limitPrecision=oe;exports.rangeSelection=ie;exports.rangeValue=W;exports.reverseString=v;exports.sanitizeNumber=Ee;exports.setInvalid=O;exports.setSelection=p;exports.toFixedPrecision=U;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=11111111111111e-7,he=.31111111111111117,Ie=1,ee=1,ne=0,m=/\d/,te=15,Ne=()=>({eventValue:null,prevLooseValue:"",currentLooseValue:"",focused:!1,selectionStart:void 0,selectionEnd:void 0,decimalSelect:!1,valueIsCorrected:!1,valueIsOutOfRange:!1}),Ce=(n,t)=>n!==void 0?n:t,x=(n,t,r)=>n==null?"":typeof n=="string"?n:r.formatNumber(n,t),$=n=>(String(n).split(".")[1]||"").length,re=(n,t)=>Math.max($(n),$(t)),se=n=>Math.min(n,te),oe=(n,t,r)=>{const e=n.indexOf(t),i=e===-1?n:n.substring(0,e),s=e===-1?"":n.substring(e+1),l=i.replace(/\D/g,""),o=s.replace(/\D/g,"").substring(0,r);return(l+o.replace(/0+$/,"")).replace(/^0+/,"").length},U=(n,t)=>{const r=se(t);return parseFloat(n.toFixed(r))},De=(n,t,r,e,i,s,l)=>{const o=re(n||0,r||0),c=W(U((n||0)+(r||0),o),e,i);t.eventValue=c,t.currentLooseValue=x(c,s,l),t.selectionStart=t.selectionEnd=N(t.currentLooseValue,m)},Pe=(n,t,r,e,i,s,l)=>{const o=re(n||0,r||0),c=W(U((n||0)-(r||0),o),e,i);t.eventValue=c,t.currentLooseValue=x(c,s,l),t.selectionStart=t.selectionEnd=N(t.currentLooseValue,m)},W=(n,t,r)=>n==null?n:!(n>1||n<1||n===1)||r!==void 0&&t!==void 0&&r<t?null:(r!==void 0&&n>r&&(n=r),t!==void 0&&n<t&&(n=t),n),ie=(n,t)=>{const r=t.findIndex(([i,s])=>!!s&&n.indexOf(s)===n.length-s.length);if(r===-1)return-1;const e=t[r][1];return n.length-e.length},ue=(n,t)=>{const r=t.findIndex(([i,s])=>!!i&&n.indexOf(i)===0);return r===-1?-1:t[r][0].length},ce=(n,t,r)=>{const e=ie(n,t);if(e!==-1&&r.selectionStart>e){r.selectionStart=r.selectionEnd=e;return}r.selectionStart>n.length&&(r.selectionStart=r.selectionEnd=n.length);const i=ue(n,t);i!==-1&&r.selectionStart<i&&(r.selectionStart=r.selectionEnd=i),r.selectionStart===-1&&(r.selectionStart=r.selectionEnd=0)},p=(n,t,r,e)=>{n.selectionStart=n.selectionEnd=t,ce(r,e,n)},E=(n,t,r,e)=>{n.eventValue=e.parseNumber(n.prevLooseValue,t),n.currentLooseValue=n.prevLooseValue,n.valueIsCorrected=!0,p(n,n.selectionStart,n.currentLooseValue,r)},B=(n,t,r)=>t.split(n).length!==r.split(n).length&&t.length===r.length+n.length,le=(n,t)=>{const r=String(n.currentLooseValue),e=String(n.prevLooseValue);return B(t.minusSign,r,e)||B("-",r,e)||B("−",r,e)},ae=(n,t)=>{const r=String(n.currentLooseValue),e=String(n.prevLooseValue);return r.indexOf(t.minusSign)===-1&&e.indexOf(t.minusSign)!==-1},de=(n,t)=>String(n.currentLooseValue).split(t.decimal).length>2,ge=(n,t)=>{const r=t.formatNumber(v,n),e=t.formatNumber(-v,n),i=t.formatNumber(ne,n),s=t.formatNumber(ee,n),l=O(r),o=O(e),c=O(i),a=O(s),C=R(r),D=R(e),b=R(i),L=R(s);return{positiveInfo:[l,C],negativeInfo:[o,D],zeroInfo:[c,b],oneInfo:[a,L]}},fe=(n,t)=>{const r=t.formatNumber(v,n),e=t.formatNumber(-v,n),i=t.formatNumber(ne,n),s=t.formatNumber(ee,n),l=t.numberSymbols(),o=new RegExp(`[\\d\\${l.decimal}${l.group}]`,"g");return[r,e,i,s].map(a=>a.replace(o,"")).join("").split("").filter((a,C,D)=>D.indexOf(a)===C).join("")},T=(n,t)=>{const r=n.indexOf(t.decimal);return r>-1?r:N(n,m)},y=n=>n.split("").reverse().join(""),N=(n,t)=>n.length-y(n).search(t),O=n=>n.split(n[n.search(m)])[0],R=n=>{const t=y(n);return y(t.split(t[t.search(m)])[0])},S=(n,t)=>n.search(t),j=(n,t)=>{const r=n.indexOf(t);return r>-1?n.length-r-1:0},G=(n,t,r,e,i)=>{const s=n.replace(i,"")[0]==="0",l=t.replace(i,"")[0]==="0";if(s&&!l)return r-1;if(l&&e)return r+1;let o=0;for(let a=0;a<r;a++)m.test(n.charAt(a))&&o++;let c=0;for(;o>0&&t.length>c;)m.test(t.charAt(c))&&o--,c++;return c},Ee=(n,t,r)=>{const e={...n},{prevLooseValue:i}=e,s=r.numberSymbols(),l=fe(t,r),o=String(e.currentLooseValue),c=String(i),a=new RegExp(`[^\\d\\${s.decimal}]`,"g"),C=new RegExp(`[^\\d\\${s.decimal}\\${s.group}]`,"g"),D=new RegExp(`[\\d\\${s.decimal}\\${s.group}]`),b=o.replace(a,""),L=S(o,m),P=L===-1?-1:N(o,m),me=o.indexOf(s.decimal),X=(o.substring(0,L)+o.substring(L,P).replace(C,"")+o.substring(P,o.length)).split("").filter(V=>l.indexOf(V)!==-1||V.search(D)!==-1).join(""),Z=r.formatNumber(he,t).replace(a,""),k=Z.indexOf(s.decimal),h=k>-1?Z.length-k-1:0,q=r.formatNumber(Ie,t).replace(a,""),H=q.indexOf(s.decimal),M=H>-1?q.length-H-1:0,{positiveInfo:Ve,negativeInfo:pe,zeroInfo:xe,oneInfo:be}=ge(t,r),d=[Ve,pe,xe,be],Le=d.findIndex(V=>V.findIndex(I=>!!I)!==-1)!==1,F=o.length>0&&o.length<c.length,J=typeof t=="string"&&t[0]==="p"&&o&&o.indexOf(s.percentSign)===-1;if(!e.isPaste){if(o==="")return e.eventValue=null,e.currentLooseValue="",e;if(e.currentLooseValue===s.minusSign&&r.formatNumber(-0,t)!==c)return e.eventValue=null,e.currentLooseValue=s.minusSign,p(e,e.selectionStart,e.currentLooseValue,d),e;if(e.currentLooseValue===s.decimal){e.eventValue=0;const f=x(e.eventValue,t,r);if(M===0&&h>0){const u=N(f,m);e.currentLooseValue=f.substring(0,u)+s.decimal+f.substring(u)}else e.currentLooseValue=f;return p(e,T(e.currentLooseValue,s)+1,e.currentLooseValue,d),e}if(le(e,s)){const f=r.parseNumber(i,t);if(f===null)return e.eventValue=null,e.currentLooseValue=s.minusSign,p(e,e.selectionStart,e.currentLooseValue,d),e;e.eventValue=-f,e.currentLooseValue=x(e.eventValue,t,r);const u=S(e.currentLooseValue,m),g=S(c,m);return p(e,e.selectionEnd-1+(u-g),e.currentLooseValue,d),e}if(ae(e,s))return e.eventValue=r.parseNumber(e.currentLooseValue,t),p(e,e.selectionStart,e.currentLooseValue,d),e;if(de(e,s))return E(e,t,d,r),e;if(J)return e.eventValue=r.parseNumber(o,t)/100,e.currentLooseValue=x(e.eventValue,t,r),e;if(oe(o,s.decimal,h)>te||b!==o&&o&&Le&&d.findIndex(([u,g])=>{const A=o.indexOf(u),_=o.indexOf(g),K=A===0,Q=_===o.length-g.length,Y=A+u.length!==L&&L!==-1&&o[A+u.length]!==s.decimal,w=_!==P&&P!==-1&&o[_-1]!==s.decimal;return u&&g?Y||w?!1:K&&Q:u?Y?!1:K:g?w?!1:Q:!1})===-1||o.indexOf(s.percentSign)>-1&&(typeof t!="string"||!t.startsWith("p")))return E(e,t,d,r),e;if(b[b.length-1]===s.decimal&&h>0)return e.eventValue=r.parseNumber(o,t),e.currentLooseValue=X,e;if(e.currentLooseValue&&i&&(l+s.decimal+s.group).split("").findIndex(u=>o.split("").filter(g=>g===u).length<c.split("").filter(g=>g===u).length&&o.length+1===c.length?!(u===s.decimal&&j(c.replace(a,""),s.decimal)===0):!1)>-1)return e.eventValue=r.parseNumber(n.prevLooseValue,t),e.currentLooseValue=n.prevLooseValue,e;const I=j(b,s.decimal),z=b[b.length-1]==="0";if(F&&z&&I<M)return e.eventValue=r.parseNumber(e.currentLooseValue,t),e.currentLooseValue=x(e.eventValue,t,r),e;if(I>0){const f=o.substring(0,me);if(z&&(!f||c.indexOf(f)!==0)){e.eventValue=r.parseNumber(e.currentLooseValue,t);const u=x(e.eventValue,t,r);return p(e,G(o,u,e.selectionEnd,F,a),u,d),e.currentLooseValue=u,e}if(I>h){const u=o.indexOf(s.decimal),g=o.substring(0,u)+o.substring(u,u+1+h)+o.substring(P,String(e.currentLooseValue).length);return e.eventValue=r.parseNumber(g,t),e.currentLooseValue=g,p(e,e.selectionStart,g,d),e}if(M!==h&&I<=h&&z)return e.eventValue=r.parseNumber(e.currentLooseValue,t),e.currentLooseValue=X,e;if(I<M)return e.eventValue=r.parseNumber(e.currentLooseValue,t),e.currentLooseValue=x(e.eventValue,t,r),e}}if(e.eventValue=r.parseNumber(e.currentLooseValue,t),J&&(e.eventValue=e.eventValue/100),typeof e.eventValue=="number"){const V=x(e.eventValue,t,r);o.length===1?p(e,T(V,s),V,d):p(e,G(o,V,e.selectionEnd,F,a),V,d),e.currentLooseValue=V}else e.currentLooseValue=x(r.parseNumber(b),t,r);return e};exports.changeBasedSelection=G;exports.decreaseValue=Pe;exports.formatValue=x;exports.fractionLength=$;exports.getDecimalCount=j;exports.getFirstNumberIndex=S;exports.getFormatPrefixSufix=ge;exports.getFormatSymbols=fe;exports.getInitialPosition=T;exports.getInitialState=Ne;exports.getLastNumberIndex=N;exports.getMaxCursorPosition=ie;exports.getMinCursorPosition=ue;exports.getPrefix=O;exports.getStateOrPropsValue=Ce;exports.getSuffix=R;exports.increaseValue=De;exports.isDecimalDuplicated=de;exports.isMinusSymbolAdded=le;exports.isMinusSymbolRemoved=ae;exports.limitPrecision=se;exports.rangeSelection=ce;exports.rangeValue=W;exports.reverseString=y;exports.sanitizeNumber=Ee;exports.setInvalid=E;exports.setSelection=p;exports.significantDigitsCount=oe;exports.toFixedPrecision=U;
@@ -5,7 +5,7 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- const y = 11111111111111e-7, ae = 0.31111111111111117, de = 1, Y = 1, w = 0, m = /\d/, ee = 15, Ie = () => ({
8
+ const v = 11111111111111e-7, ae = 0.31111111111111117, de = 1, Y = 1, w = 0, m = /\d/, ee = 15, Ne = () => ({
9
9
  eventValue: null,
10
10
  prevLooseValue: "",
11
11
  currentLooseValue: "",
@@ -15,173 +15,176 @@ const y = 11111111111111e-7, ae = 0.31111111111111117, de = 1, Y = 1, w = 0, m =
15
15
  decimalSelect: !1,
16
16
  valueIsCorrected: !1,
17
17
  valueIsOutOfRange: !1
18
- }), Ne = (t, n) => t !== void 0 ? t : n, x = (t, n, r) => t == null ? "" : typeof t == "string" ? t : r.formatNumber(t, n), H = (t) => (String(t).split(".")[1] || "").length, ne = (t, n) => Math.max(H(t), H(n)), ge = (t) => Math.min(t, ee), te = (t, n) => {
19
- const r = ge(n);
20
- return parseFloat(t.toFixed(r));
21
- }, Ce = (t, n, r, e, u, o, d) => {
22
- const s = ne(t || 0, r || 0), l = re(te((t || 0) + (r || 0), s), e, u);
23
- n.eventValue = l, n.currentLooseValue = x(l, o, d), n.selectionStart = n.selectionEnd = O(n.currentLooseValue, m);
24
- }, Ee = (t, n, r, e, u, o, d) => {
25
- const s = ne(t || 0, r || 0), l = re(te((t || 0) - (r || 0), s), e, u);
26
- n.eventValue = l, n.currentLooseValue = x(l, o, d), n.selectionStart = n.selectionEnd = O(n.currentLooseValue, m);
27
- }, re = (t, n, r) => t == null ? t : !(t > 1 || t < 1 || t === 1) || r !== void 0 && n !== void 0 && r < n ? null : (r !== void 0 && t > r && (t = r), n !== void 0 && t < n && (t = n), t), fe = (t, n) => {
28
- const r = n.findIndex(([u, o]) => !!o && t.indexOf(o) === t.length - o.length);
18
+ }), Ce = (n, t) => n !== void 0 ? n : t, x = (n, t, r) => n == null ? "" : typeof n == "string" ? n : r.formatNumber(n, t), H = (n) => (String(n).split(".")[1] || "").length, ne = (n, t) => Math.max(H(n), H(t)), ge = (n) => Math.min(n, ee), fe = (n, t, r) => {
19
+ const e = n.indexOf(t), u = e === -1 ? n : n.substring(0, e), s = e === -1 ? "" : n.substring(e + 1), l = u.replace(/\D/g, ""), o = s.replace(/\D/g, "").substring(0, r);
20
+ return (l + o.replace(/0+$/, "")).replace(/^0+/, "").length;
21
+ }, te = (n, t) => {
22
+ const r = ge(t);
23
+ return parseFloat(n.toFixed(r));
24
+ }, De = (n, t, r, e, u, s, l) => {
25
+ const o = ne(n || 0, r || 0), c = re(te((n || 0) + (r || 0), o), e, u);
26
+ t.eventValue = c, t.currentLooseValue = x(c, s, l), t.selectionStart = t.selectionEnd = E(t.currentLooseValue, m);
27
+ }, Ee = (n, t, r, e, u, s, l) => {
28
+ const o = ne(n || 0, r || 0), c = re(te((n || 0) - (r || 0), o), e, u);
29
+ t.eventValue = c, t.currentLooseValue = x(c, s, l), t.selectionStart = t.selectionEnd = E(t.currentLooseValue, m);
30
+ }, re = (n, t, r) => n == null ? n : !(n > 1 || n < 1 || n === 1) || r !== void 0 && t !== void 0 && r < t ? null : (r !== void 0 && n > r && (n = r), t !== void 0 && n < t && (n = t), n), me = (n, t) => {
31
+ const r = t.findIndex(([u, s]) => !!s && n.indexOf(s) === n.length - s.length);
29
32
  if (r === -1)
30
33
  return -1;
31
- const e = n[r][1];
32
- return t.length - e.length;
33
- }, me = (t, n) => {
34
- const r = n.findIndex(([u, o]) => !!u && t.indexOf(u) === 0);
35
- return r === -1 ? -1 : n[r][0].length;
36
- }, Ve = (t, n, r) => {
37
- const e = fe(t, n);
34
+ const e = t[r][1];
35
+ return n.length - e.length;
36
+ }, Ve = (n, t) => {
37
+ const r = t.findIndex(([u, s]) => !!u && n.indexOf(u) === 0);
38
+ return r === -1 ? -1 : t[r][0].length;
39
+ }, pe = (n, t, r) => {
40
+ const e = me(n, t);
38
41
  if (e !== -1 && r.selectionStart > e) {
39
42
  r.selectionStart = r.selectionEnd = e;
40
43
  return;
41
44
  }
42
- r.selectionStart > t.length && (r.selectionStart = r.selectionEnd = t.length);
43
- const u = me(t, n);
45
+ r.selectionStart > n.length && (r.selectionStart = r.selectionEnd = n.length);
46
+ const u = Ve(n, t);
44
47
  u !== -1 && r.selectionStart < u && (r.selectionStart = r.selectionEnd = u), r.selectionStart === -1 && (r.selectionStart = r.selectionEnd = 0);
45
- }, p = (t, n, r, e) => {
46
- t.selectionStart = t.selectionEnd = n, Ve(r, e, t);
47
- }, D = (t, n, r, e) => {
48
- t.eventValue = e.parseNumber(t.prevLooseValue, n), t.currentLooseValue = t.prevLooseValue, t.valueIsCorrected = !0, p(t, t.selectionStart, t.currentLooseValue, r);
49
- }, S = (t, n, r) => n.split(t).length !== r.split(t).length && n.length === r.length + t.length, pe = (t, n) => {
50
- const r = String(t.currentLooseValue), e = String(t.prevLooseValue);
51
- return S(n.minusSign, r, e) || S("-", r, e) || S("−", r, e);
52
- }, xe = (t, n) => {
53
- const r = String(t.currentLooseValue), e = String(t.prevLooseValue);
54
- return r.indexOf(n.minusSign) === -1 && e.indexOf(n.minusSign) !== -1;
55
- }, Le = (t, n) => String(t.currentLooseValue).split(n.decimal).length > 2, he = (t, n) => {
56
- const r = n.formatNumber(y, t), e = n.formatNumber(-y, t), u = n.formatNumber(w, t), o = n.formatNumber(Y, t), d = P(r), s = P(e), l = P(u), c = P(o), N = M(r), C = M(e), L = M(u), h = M(o);
48
+ }, p = (n, t, r, e) => {
49
+ n.selectionStart = n.selectionEnd = t, pe(r, e, n);
50
+ }, P = (n, t, r, e) => {
51
+ n.eventValue = e.parseNumber(n.prevLooseValue, t), n.currentLooseValue = n.prevLooseValue, n.valueIsCorrected = !0, p(n, n.selectionStart, n.currentLooseValue, r);
52
+ }, _ = (n, t, r) => t.split(n).length !== r.split(n).length && t.length === r.length + n.length, xe = (n, t) => {
53
+ const r = String(n.currentLooseValue), e = String(n.prevLooseValue);
54
+ return _(t.minusSign, r, e) || _("-", r, e) || _("−", r, e);
55
+ }, Le = (n, t) => {
56
+ const r = String(n.currentLooseValue), e = String(n.prevLooseValue);
57
+ return r.indexOf(t.minusSign) === -1 && e.indexOf(t.minusSign) !== -1;
58
+ }, be = (n, t) => String(n.currentLooseValue).split(t.decimal).length > 2, he = (n, t) => {
59
+ const r = t.formatNumber(v, n), e = t.formatNumber(-v, n), u = t.formatNumber(w, n), s = t.formatNumber(Y, n), l = R(r), o = R(e), c = R(u), a = R(s), N = M(r), C = M(e), L = M(u), b = M(s);
57
60
  return {
58
- positiveInfo: [d, N],
59
- negativeInfo: [s, C],
60
- zeroInfo: [l, L],
61
- oneInfo: [c, h]
61
+ positiveInfo: [l, N],
62
+ negativeInfo: [o, C],
63
+ zeroInfo: [c, L],
64
+ oneInfo: [a, b]
62
65
  };
63
- }, be = (t, n) => {
64
- const r = n.formatNumber(y, t), e = n.formatNumber(-y, t), u = n.formatNumber(w, t), o = n.formatNumber(Y, t), d = n.numberSymbols(), s = new RegExp(`[\\d\\${d.decimal}${d.group}]`, "g");
65
- return [r, e, u, o].map((c) => c.replace(s, "")).join("").split("").filter((c, N, C) => C.indexOf(c) === N).join("");
66
- }, J = (t, n) => {
67
- const r = t.indexOf(n.decimal);
68
- return r > -1 ? r : O(t, m);
69
- }, B = (t) => t.split("").reverse().join(""), O = (t, n) => t.length - B(t).search(n), P = (t) => t.split(t[t.search(m)])[0], M = (t) => {
70
- const n = B(t);
71
- return B(n.split(n[n.search(m)])[0]);
72
- }, _ = (t, n) => t.search(n), K = (t, n) => {
73
- const r = t.indexOf(n);
74
- return r > -1 ? t.length - r - 1 : 0;
75
- }, Q = (t, n, r, e, u) => {
76
- const o = t.replace(u, "")[0] === "0", d = n.replace(u, "")[0] === "0";
77
- if (o && !d)
66
+ }, Ie = (n, t) => {
67
+ const r = t.formatNumber(v, n), e = t.formatNumber(-v, n), u = t.formatNumber(w, n), s = t.formatNumber(Y, n), l = t.numberSymbols(), o = new RegExp(`[\\d\\${l.decimal}${l.group}]`, "g");
68
+ return [r, e, u, s].map((a) => a.replace(o, "")).join("").split("").filter((a, N, C) => C.indexOf(a) === N).join("");
69
+ }, J = (n, t) => {
70
+ const r = n.indexOf(t.decimal);
71
+ return r > -1 ? r : E(n, m);
72
+ }, B = (n) => n.split("").reverse().join(""), E = (n, t) => n.length - B(n).search(t), R = (n) => n.split(n[n.search(m)])[0], M = (n) => {
73
+ const t = B(n);
74
+ return B(t.split(t[t.search(m)])[0]);
75
+ }, $ = (n, t) => n.search(t), K = (n, t) => {
76
+ const r = n.indexOf(t);
77
+ return r > -1 ? n.length - r - 1 : 0;
78
+ }, Q = (n, t, r, e, u) => {
79
+ const s = n.replace(u, "")[0] === "0", l = t.replace(u, "")[0] === "0";
80
+ if (s && !l)
78
81
  return r - 1;
79
- if (d && e)
82
+ if (l && e)
80
83
  return r + 1;
81
- let s = 0;
82
- for (let c = 0; c < r; c++)
83
- m.test(t.charAt(c)) && s++;
84
- let l = 0;
85
- for (; s > 0 && n.length > l; )
86
- m.test(n.charAt(l)) && s--, l++;
87
- return l;
88
- }, Oe = (t, n, r) => {
89
- const e = { ...t }, { prevLooseValue: u } = e, o = r.numberSymbols(), d = be(n, r), s = String(e.currentLooseValue), l = String(u), c = new RegExp(`[^\\d\\${o.decimal}]`, "g"), N = new RegExp(`[^\\d\\${o.decimal}\\${o.group}]`, "g"), C = new RegExp(`[\\d\\${o.decimal}\\${o.group}]`), L = s.replace(c, ""), h = _(s, m), E = h === -1 ? -1 : O(s, m), oe = s.indexOf(o.decimal), $ = (s.substring(0, h) + s.substring(h, E).replace(N, "") + s.substring(E, s.length)).split("").filter((V) => d.indexOf(V) !== -1 || V.search(C) !== -1).join(""), T = r.formatNumber(ae, n).replace(c, ""), G = T.indexOf(o.decimal), I = G > -1 ? T.length - G - 1 : 0, U = r.formatNumber(de, n).replace(c, ""), j = U.indexOf(o.decimal), R = j > -1 ? U.length - j - 1 : 0, { positiveInfo: se, negativeInfo: ue, zeroInfo: ie, oneInfo: le } = he(n, r), a = [se, ue, ie, le], ce = a.findIndex((V) => V.findIndex((b) => !!b) !== -1) !== 1, v = s.length > 0 && s.length < l.length, W = typeof n == "string" && n[0] === "p" && s && s.indexOf(o.percentSign) === -1;
84
+ let o = 0;
85
+ for (let a = 0; a < r; a++)
86
+ m.test(n.charAt(a)) && o++;
87
+ let c = 0;
88
+ for (; o > 0 && t.length > c; )
89
+ m.test(t.charAt(c)) && o--, c++;
90
+ return c;
91
+ }, Oe = (n, t, r) => {
92
+ const e = { ...n }, { prevLooseValue: u } = e, s = r.numberSymbols(), l = Ie(t, r), o = String(e.currentLooseValue), c = String(u), a = new RegExp(`[^\\d\\${s.decimal}]`, "g"), N = new RegExp(`[^\\d\\${s.decimal}\\${s.group}]`, "g"), C = new RegExp(`[\\d\\${s.decimal}\\${s.group}]`), L = o.replace(a, ""), b = $(o, m), D = b === -1 ? -1 : E(o, m), se = o.indexOf(s.decimal), S = (o.substring(0, b) + o.substring(b, D).replace(N, "") + o.substring(D, o.length)).split("").filter((V) => l.indexOf(V) !== -1 || V.search(C) !== -1).join(""), T = r.formatNumber(ae, t).replace(a, ""), G = T.indexOf(s.decimal), h = G > -1 ? T.length - G - 1 : 0, U = r.formatNumber(de, t).replace(a, ""), j = U.indexOf(s.decimal), O = j > -1 ? U.length - j - 1 : 0, { positiveInfo: oe, negativeInfo: ue, zeroInfo: ie, oneInfo: ce } = he(t, r), d = [oe, ue, ie, ce], le = d.findIndex((V) => V.findIndex((I) => !!I) !== -1) !== 1, y = o.length > 0 && o.length < c.length, W = typeof t == "string" && t[0] === "p" && o && o.indexOf(s.percentSign) === -1;
90
93
  if (!e.isPaste) {
91
- if (s === "")
94
+ if (o === "")
92
95
  return e.eventValue = null, e.currentLooseValue = "", e;
93
- if (e.currentLooseValue === o.minusSign && r.formatNumber(-0, n) !== l)
94
- return e.eventValue = null, e.currentLooseValue = o.minusSign, p(e, e.selectionStart, e.currentLooseValue, a), e;
95
- if (e.currentLooseValue === o.decimal) {
96
+ if (e.currentLooseValue === s.minusSign && r.formatNumber(-0, t) !== c)
97
+ return e.eventValue = null, e.currentLooseValue = s.minusSign, p(e, e.selectionStart, e.currentLooseValue, d), e;
98
+ if (e.currentLooseValue === s.decimal) {
96
99
  e.eventValue = 0;
97
- const f = x(e.eventValue, n, r);
98
- if (R === 0 && I > 0) {
99
- const i = O(f, m);
100
- e.currentLooseValue = f.substring(0, i) + o.decimal + f.substring(i);
100
+ const f = x(e.eventValue, t, r);
101
+ if (O === 0 && h > 0) {
102
+ const i = E(f, m);
103
+ e.currentLooseValue = f.substring(0, i) + s.decimal + f.substring(i);
101
104
  } else
102
105
  e.currentLooseValue = f;
103
106
  return p(
104
107
  e,
105
- J(e.currentLooseValue, o) + 1,
108
+ J(e.currentLooseValue, s) + 1,
106
109
  e.currentLooseValue,
107
- a
110
+ d
108
111
  ), e;
109
112
  }
110
- if (pe(e, o)) {
111
- const f = r.parseNumber(u, n);
113
+ if (xe(e, s)) {
114
+ const f = r.parseNumber(u, t);
112
115
  if (f === null)
113
- return e.eventValue = null, e.currentLooseValue = o.minusSign, p(e, e.selectionStart, e.currentLooseValue, a), e;
114
- e.eventValue = -f, e.currentLooseValue = x(e.eventValue, n, r);
115
- const i = _(e.currentLooseValue, m), g = _(l, m);
116
+ return e.eventValue = null, e.currentLooseValue = s.minusSign, p(e, e.selectionStart, e.currentLooseValue, d), e;
117
+ e.eventValue = -f, e.currentLooseValue = x(e.eventValue, t, r);
118
+ const i = $(e.currentLooseValue, m), g = $(c, m);
116
119
  return p(
117
120
  e,
118
121
  e.selectionEnd - 1 + (i - g),
119
122
  e.currentLooseValue,
120
- a
123
+ d
121
124
  ), e;
122
125
  }
123
- if (xe(e, o))
124
- return e.eventValue = r.parseNumber(e.currentLooseValue, n), p(e, e.selectionStart, e.currentLooseValue, a), e;
125
- if (Le(e, o))
126
- return D(e, n, a, r), e;
126
+ if (Le(e, s))
127
+ return e.eventValue = r.parseNumber(e.currentLooseValue, t), p(e, e.selectionStart, e.currentLooseValue, d), e;
128
+ if (be(e, s))
129
+ return P(e, t, d, r), e;
127
130
  if (W)
128
- return e.eventValue = r.parseNumber(s, n) / 100, e.currentLooseValue = x(e.eventValue, n, r), e;
129
- if (String(e.currentLooseValue).replace(/[^\d]/g, "").length > ee || L !== s && s && ce && a.findIndex(([i, g]) => {
130
- const z = s.indexOf(i), A = s.indexOf(g), X = z === 0, Z = A === s.length - g.length, k = z + i.length !== h && h !== -1 && s[z + i.length] !== o.decimal, q = A !== E && E !== -1 && s[A - 1] !== o.decimal;
131
+ return e.eventValue = r.parseNumber(o, t) / 100, e.currentLooseValue = x(e.eventValue, t, r), e;
132
+ if (fe(o, s.decimal, h) > ee || L !== o && o && le && d.findIndex(([i, g]) => {
133
+ const z = o.indexOf(i), A = o.indexOf(g), X = z === 0, Z = A === o.length - g.length, k = z + i.length !== b && b !== -1 && o[z + i.length] !== s.decimal, q = A !== D && D !== -1 && o[A - 1] !== s.decimal;
131
134
  return i && g ? k || q ? !1 : X && Z : i ? k ? !1 : X : g ? q ? !1 : Z : !1;
132
- }) === -1 || s.indexOf(o.percentSign) > -1 && (typeof n != "string" || !n.startsWith("p")))
133
- return D(e, n, a, r), e;
134
- if (L[L.length - 1] === o.decimal && I > 0)
135
- return e.eventValue = r.parseNumber(s, n), e.currentLooseValue = $, e;
136
- if (e.currentLooseValue && u && (d + o.decimal + o.group).split("").findIndex((i) => s.split("").filter((g) => g === i).length < l.split("").filter((g) => g === i).length && s.length + 1 === l.length ? !(i === o.decimal && K(l.replace(c, ""), o.decimal) === 0) : !1) > -1)
137
- return e.eventValue = r.parseNumber(t.prevLooseValue, n), e.currentLooseValue = t.prevLooseValue, e;
138
- const b = K(L, o.decimal), F = L[L.length - 1] === "0";
139
- if (v && F && b < R)
140
- return e.eventValue = r.parseNumber(e.currentLooseValue, n), e.currentLooseValue = x(e.eventValue, n, r), e;
141
- if (b > 0) {
142
- const f = s.substring(0, oe);
143
- if (F && (!f || l.indexOf(f) !== 0)) {
144
- e.eventValue = r.parseNumber(e.currentLooseValue, n);
145
- const i = x(e.eventValue, n, r);
135
+ }) === -1 || o.indexOf(s.percentSign) > -1 && (typeof t != "string" || !t.startsWith("p")))
136
+ return P(e, t, d, r), e;
137
+ if (L[L.length - 1] === s.decimal && h > 0)
138
+ return e.eventValue = r.parseNumber(o, t), e.currentLooseValue = S, e;
139
+ if (e.currentLooseValue && u && (l + s.decimal + s.group).split("").findIndex((i) => o.split("").filter((g) => g === i).length < c.split("").filter((g) => g === i).length && o.length + 1 === c.length ? !(i === s.decimal && K(c.replace(a, ""), s.decimal) === 0) : !1) > -1)
140
+ return e.eventValue = r.parseNumber(n.prevLooseValue, t), e.currentLooseValue = n.prevLooseValue, e;
141
+ const I = K(L, s.decimal), F = L[L.length - 1] === "0";
142
+ if (y && F && I < O)
143
+ return e.eventValue = r.parseNumber(e.currentLooseValue, t), e.currentLooseValue = x(e.eventValue, t, r), e;
144
+ if (I > 0) {
145
+ const f = o.substring(0, se);
146
+ if (F && (!f || c.indexOf(f) !== 0)) {
147
+ e.eventValue = r.parseNumber(e.currentLooseValue, t);
148
+ const i = x(e.eventValue, t, r);
146
149
  return p(
147
150
  e,
148
151
  Q(
149
- s,
152
+ o,
150
153
  i,
151
154
  e.selectionEnd,
152
- v,
153
- c
155
+ y,
156
+ a
154
157
  ),
155
158
  i,
156
- a
159
+ d
157
160
  ), e.currentLooseValue = i, e;
158
161
  }
159
- if (b > I) {
160
- const i = s.indexOf(o.decimal), g = s.substring(0, i) + s.substring(i, i + 1 + I) + s.substring(E, String(e.currentLooseValue).length);
161
- return e.eventValue = r.parseNumber(g, n), e.currentLooseValue = g, p(e, e.selectionStart, g, a), e;
162
+ if (I > h) {
163
+ const i = o.indexOf(s.decimal), g = o.substring(0, i) + o.substring(i, i + 1 + h) + o.substring(D, String(e.currentLooseValue).length);
164
+ return e.eventValue = r.parseNumber(g, t), e.currentLooseValue = g, p(e, e.selectionStart, g, d), e;
162
165
  }
163
- if (R !== I && b <= I && F)
164
- return e.eventValue = r.parseNumber(e.currentLooseValue, n), e.currentLooseValue = $, e;
165
- if (b < R)
166
- return e.eventValue = r.parseNumber(e.currentLooseValue, n), e.currentLooseValue = x(e.eventValue, n, r), e;
166
+ if (O !== h && I <= h && F)
167
+ return e.eventValue = r.parseNumber(e.currentLooseValue, t), e.currentLooseValue = S, e;
168
+ if (I < O)
169
+ return e.eventValue = r.parseNumber(e.currentLooseValue, t), e.currentLooseValue = x(e.eventValue, t, r), e;
167
170
  }
168
171
  }
169
- if (e.eventValue = r.parseNumber(e.currentLooseValue, n), W && (e.eventValue = e.eventValue / 100), typeof e.eventValue == "number") {
170
- const V = x(e.eventValue, n, r);
171
- s.length === 1 ? p(e, J(V, o), V, a) : p(
172
+ if (e.eventValue = r.parseNumber(e.currentLooseValue, t), W && (e.eventValue = e.eventValue / 100), typeof e.eventValue == "number") {
173
+ const V = x(e.eventValue, t, r);
174
+ o.length === 1 ? p(e, J(V, s), V, d) : p(
172
175
  e,
173
176
  Q(
174
- s,
177
+ o,
175
178
  V,
176
179
  e.selectionEnd,
177
- v,
178
- c
180
+ y,
181
+ a
179
182
  ),
180
183
  V,
181
- a
184
+ d
182
185
  ), e.currentLooseValue = V;
183
186
  } else
184
- e.currentLooseValue = x(r.parseNumber(L), n, r);
187
+ e.currentLooseValue = x(r.parseNumber(L), t, r);
185
188
  return e;
186
189
  };
187
190
  export {
@@ -190,27 +193,28 @@ export {
190
193
  x as formatValue,
191
194
  H as fractionLength,
192
195
  K as getDecimalCount,
193
- _ as getFirstNumberIndex,
196
+ $ as getFirstNumberIndex,
194
197
  he as getFormatPrefixSufix,
195
- be as getFormatSymbols,
198
+ Ie as getFormatSymbols,
196
199
  J as getInitialPosition,
197
- Ie as getInitialState,
198
- O as getLastNumberIndex,
199
- fe as getMaxCursorPosition,
200
- me as getMinCursorPosition,
201
- P as getPrefix,
202
- Ne as getStateOrPropsValue,
200
+ Ne as getInitialState,
201
+ E as getLastNumberIndex,
202
+ me as getMaxCursorPosition,
203
+ Ve as getMinCursorPosition,
204
+ R as getPrefix,
205
+ Ce as getStateOrPropsValue,
203
206
  M as getSuffix,
204
- Ce as increaseValue,
205
- Le as isDecimalDuplicated,
206
- pe as isMinusSymbolAdded,
207
- xe as isMinusSymbolRemoved,
207
+ De as increaseValue,
208
+ be as isDecimalDuplicated,
209
+ xe as isMinusSymbolAdded,
210
+ Le as isMinusSymbolRemoved,
208
211
  ge as limitPrecision,
209
- Ve as rangeSelection,
212
+ pe as rangeSelection,
210
213
  re as rangeValue,
211
214
  B as reverseString,
212
215
  Oe as sanitizeNumber,
213
- D as setInvalid,
216
+ P as setInvalid,
214
217
  p as setSelection,
218
+ fe as significantDigitsCount,
215
219
  te as toFixedPrecision
216
220
  };
@@ -5,4 +5,4 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze({name:"@progress/kendo-react-inputs",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1787742019,version:"16.1.0-develop.8",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"});exports.packageMetadata=e;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=Object.freeze({name:"@progress/kendo-react-inputs",productName:"KendoReact",productCode:"KENDOUIREACT",productCodes:["KENDOUIREACT"],publishDate: 1788866026,version:"16.1.0",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/components/my-license/"});exports.packageMetadata=e;
@@ -7,7 +7,7 @@ export const packageMetadata = Object.freeze({
7
7
  productName: 'KendoReact',
8
8
  productCode: 'KENDOUIREACT',
9
9
  productCodes: ['KENDOUIREACT'],
10
- publishDate: 1787742019,
11
- version: '16.1.0-develop.8',
10
+ publishDate: 1788866026,
11
+ version: '16.1.0',
12
12
  licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/components/my-license/'
13
13
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-inputs",
3
- "version": "16.1.0-develop.8",
3
+ "version": "16.1.0",
4
4
  "description": "React Inputs offer a customizable interface for users to enter and pick different information. KendoReact Input package",
5
5
  "author": "Progress",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -28,14 +28,14 @@
28
28
  "@progress/kendo-drawing": "^1.21.2",
29
29
  "@progress/kendo-inputs-common": "^3.1.0",
30
30
  "@progress/kendo-licensing": "^1.7.2",
31
- "@progress/kendo-react-animation": "16.1.0-develop.8",
32
- "@progress/kendo-react-buttons": "16.1.0-develop.8",
33
- "@progress/kendo-react-common": "16.1.0-develop.8",
34
- "@progress/kendo-react-dialogs": "16.1.0-develop.8",
35
- "@progress/kendo-react-layout": "16.1.0-develop.8",
36
- "@progress/kendo-react-intl": "16.1.0-develop.8",
37
- "@progress/kendo-react-labels": "16.1.0-develop.8",
38
- "@progress/kendo-react-popup": "16.1.0-develop.8",
31
+ "@progress/kendo-react-animation": "16.1.0",
32
+ "@progress/kendo-react-buttons": "16.1.0",
33
+ "@progress/kendo-react-common": "16.1.0",
34
+ "@progress/kendo-react-dialogs": "16.1.0",
35
+ "@progress/kendo-react-layout": "16.1.0",
36
+ "@progress/kendo-react-intl": "16.1.0",
37
+ "@progress/kendo-react-labels": "16.1.0",
38
+ "@progress/kendo-react-popup": "16.1.0",
39
39
  "@progress/kendo-svg-icons": "^4.9.0 || ^5.0.0",
40
40
  "react": "^18.0.0 || ^19.0.0",
41
41
  "react-dom": "^18.0.0 || ^19.0.0"
@@ -102,7 +102,7 @@
102
102
  "package": {
103
103
  "productName": "KendoReact",
104
104
  "productCode": "KENDOUIREACT",
105
- "publishDate": 1787742019,
105
+ "publishDate": 1788866026,
106
106
  "licensingDocsUrl": "https://www.telerik.com/kendo-react-ui/components/my-license/"
107
107
  }
108
108
  },