@progress/kendo-vue-inputs 10.1.0 → 10.1.1-develop.2

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.
@@ -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 S=11111111111111e-7,he=.31111111111111117,Le=1,ee=1,ne=0,V=/\d/,te=15,Ie=(t,n)=>t!==void 0?t:n,m=(t,n,r)=>t==null?"":typeof t=="string"?t:r.formatNumber(t,n),$=t=>(String(t).split(".")[1]||"").length,re=(t,n)=>Math.max($(t),$(n)),oe=t=>Math.min(t,te),U=(t,n)=>{const r=oe(n);return parseFloat(t.toFixed(r))},Ne=(t,n,r,e,u,o,a)=>{const s=re(t||0,r||0),c=X(U((t||0)+(r||0),s),e,u);n.eventValue=c,n.currentLooseValue=m(c,o,a),n.selectionStart=n.selectionEnd=N(n.currentLooseValue,V)},Pe=(t,n,r,e,u,o,a)=>{const s=re(t||0,r||0),c=X(U((t||0)-(r||0),s),e,u);n.eventValue=c,n.currentLooseValue=m(c,o,a),n.selectionStart=n.selectionEnd=N(n.currentLooseValue,V)},X=(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)},x=(t,n,r,e)=>{t.selectionStart=t.selectionEnd=n,ie(r,e,t)},M=(t,n,r,e)=>{t.eventValue=e.parseNumber(t.prevLooseValue,n),t.currentLooseValue=t.prevLooseValue,t.valueIsCorrected=!0,x(t,t.selectionStart,t.currentLooseValue,r)},T=(t,n,r)=>n.split(t).length!==r.split(t).length&&n.length===r.length+t.length,ce=(t,n)=>{const r=String(t.currentLooseValue),e=String(t.prevLooseValue);return T(n.minusSign,r,e)||T("-",r,e)||T("−",r,e)},le=(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(S,t),e=n.formatNumber(-S,t),u=n.formatNumber(ne,t),o=n.formatNumber(ee,t),a=D(r),s=D(e),c=D(u),l=D(o),P=O(r),C=O(e),b=O(u),h=O(o);return{positiveInfo:[a,P],negativeInfo:[s,C],zeroInfo:[c,b],oneInfo:[l,h]}},ge=(t,n)=>{const r=n.formatNumber(S,t),e=n.formatNumber(-S,t),u=n.formatNumber(ne,t),o=n.formatNumber(ee,t),a=n.numberSymbols(),s=new RegExp(`[\\d\\${a.decimal}${a.group}]`,"g");return[r,e,u,o].map(l=>l.replace(s,"")).join("").split("").filter((l,P,C)=>C.indexOf(l)===P).join("")},y=(t,n)=>{const r=t.indexOf(n.decimal);return r>-1?r:N(t,V)},z=t=>t.split("").reverse().join(""),N=(t,n)=>t.length-z(t).search(n),D=t=>t.split(t[t.search(V)])[0],O=t=>{const n=z(t);return z(n.split(n[n.search(V)])[0])},F=(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",a=n.replace(u,"")[0]==="0";if(o&&!a)return r-1;if(a&&e)return r+1;let s=0;for(let l=0;l<r;l++)V.test(t.charAt(l))&&s++;let c=0;for(;s>0&&n.length>c;)V.test(n.charAt(c))&&s--,c++;return c},Ce=(t,n,r)=>{const e={...t},{prevLooseValue:u}=e,o=r.numberSymbols(),a=ge(n,r),s=String(e.currentLooseValue),c=String(u),l=new RegExp(`[^\\d\\${o.decimal}]`,"g"),P=new RegExp(`[^\\d\\${o.decimal}\\${o.group}]`,"g"),C=new RegExp(`[\\d\\${o.decimal}\\${o.group}]`),b=s.replace(l,""),h=F(s,V),E=h===-1?-1:N(s,V),fe=s.indexOf(o.decimal),Z=(s.substring(0,h)+s.substring(h,E).replace(P,"")+s.substring(E,s.length)).split("").filter(p=>a.indexOf(p)!==-1||p.search(C)!==-1).join(""),W=r.formatNumber(he,n).replace(l,""),k=W.indexOf(o.decimal),I=k>-1?W.length-k-1:0,q=r.formatNumber(Le,n).replace(l,""),H=q.indexOf(o.decimal),R=H>-1?q.length-H-1:0,{positiveInfo:me,negativeInfo:Ve,zeroInfo:pe,oneInfo:xe}=de(n,r),g=[me,Ve,pe,xe],be=g.findIndex(p=>p.findIndex(L=>!!L)!==-1)!==1,A=s.length>0&&s.length<c.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)!==c)return e.eventValue=-0,e.currentLooseValue=m(e.eventValue,n,r),x(e,y(e.currentLooseValue,o),e.currentLooseValue,g),e;if(e.currentLooseValue===o.decimal){e.eventValue=0;const f=m(e.eventValue,n,r);if(R===0&&I>0){const i=N(f,V);e.currentLooseValue=f.substring(0,i)+o.decimal+f.substring(i)}else e.currentLooseValue=f;return x(e,y(e.currentLooseValue,o)+1,e.currentLooseValue,g),e}if(ce(e,o)){const f=r.parseNumber(u,n);e.eventValue=-(f!==null?f:0),e.currentLooseValue=m(e.eventValue,n,r);const i=F(e.currentLooseValue,V),d=F(c,V);return x(e,e.selectionEnd-1+(i-d),e.currentLooseValue,g),e}if(le(e,o))return e.eventValue=r.parseNumber(e.currentLooseValue,n),x(e,e.selectionStart,e.currentLooseValue,g),e;if(ae(e,o))return M(e,n,g,r),e;if(J)return e.eventValue=r.parseNumber(s,n)/100,e.currentLooseValue=m(e.eventValue,n,r),e;if(String(e.currentLooseValue).replace(/[^\d]/g,"").length>te||b!==s&&s&&be&&g.findIndex(([i,d])=>{const B=s.indexOf(i),v=s.indexOf(d),K=B===0,Q=v===s.length-d.length,Y=B+i.length!==h&&h!==-1&&s[B+i.length]!==o.decimal,w=v!==E&&E!==-1&&s[v-1]!==o.decimal;return i&&d?Y||w?!1:K&&Q:i?Y?!1:K:d?w?!1:Q:!1})===-1)return M(e,n,g,r),e;if(b[b.length-1]===o.decimal&&I>0)return e.eventValue=r.parseNumber(s,n),e.currentLooseValue=Z,e;if(e.currentLooseValue&&u&&(a+o.decimal+o.group).split("").findIndex(i=>s.split("").filter(d=>d===i).length<c.split("").filter(d=>d===i).length&&s.length+1===c.length?!(i===o.decimal&&j(c.replace(l,""),o.decimal)===0):!1)>-1)return e.eventValue=r.parseNumber(t.prevLooseValue,n),e.currentLooseValue=t.prevLooseValue,e;const L=j(b,o.decimal),_=b[b.length-1]==="0";if(A&&_&&L<R)return e.eventValue=r.parseNumber(e.currentLooseValue,n),e.currentLooseValue=m(e.eventValue,n,r),e;if(L>0){const f=s.substring(0,fe);if(_&&(!f||c.indexOf(f)!==0)){e.eventValue=r.parseNumber(e.currentLooseValue,n);const i=m(e.eventValue,n,r);return x(e,G(s,i,e.selectionEnd,A,l),i,g),e.currentLooseValue=i,e}if(L>I){const i=s.indexOf(o.decimal),d=s.substring(0,i)+s.substring(i,i+1+I)+s.substring(E,String(e.currentLooseValue).length);return e.eventValue=r.parseNumber(d,n),e.currentLooseValue=d,x(e,e.selectionStart,d,g),e}if(R!==I&&L<=I&&_)return e.eventValue=r.parseNumber(e.currentLooseValue,n),e.currentLooseValue=Z,e;if(L<R)return e.eventValue=r.parseNumber(e.currentLooseValue,n),e.currentLooseValue=m(e.eventValue,n,r),e}}if(e.eventValue=r.parseNumber(e.currentLooseValue,n),J&&(e.eventValue=e.eventValue/100),typeof e.eventValue=="number"){const p=m(e.eventValue,n,r);s.length===1?x(e,y(p,o),p,g):x(e,G(s,p,e.selectionEnd,A,l),p,g),e.currentLooseValue=p}else e.currentLooseValue=m(r.parseNumber(b),n,r);return e};exports.changeBasedSelection=G;exports.decreaseValue=Pe;exports.formatValue=m;exports.fractionLength=$;exports.getDecimalCount=j;exports.getFirstNumberIndex=F;exports.getFormatPrefixSufix=de;exports.getFormatSymbols=ge;exports.getInitialPosition=y;exports.getLastNumberIndex=N;exports.getMaxCursorPosition=se;exports.getMinCursorPosition=ue;exports.getPrefix=D;exports.getStateOrPropsValue=Ie;exports.getSuffix=O;exports.increaseValue=Ne;exports.isDecimalDuplicated=ae;exports.isMinusSymbolAdded=ce;exports.isMinusSymbolRemoved=le;exports.limitPrecision=oe;exports.rangeSelection=ie;exports.rangeValue=X;exports.reverseString=z;exports.sanitizeNumber=Ce;exports.setInvalid=M;exports.setSelection=x;exports.toFixedPrecision=U;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=11111111111111e-7,Le=.31111111111111117,Ie=1,te=1,re=0,V=/\d/,se=15,Ne=(n,t)=>n!==void 0?n:t,m=(n,t,r)=>n==null?"":typeof n=="string"?n:r.formatNumber(n,t),Ee=/[eE]([-+]?)(\d+)/,Pe=20,Ce=n=>typeof n=="string"?/^c\d*$/i.test(n):!!(n&&n.style==="currency"),Re=(n,t)=>{if(n==null||Number.isNaN(n))return"";let r=Object.is(n,-0)?"-0":String(n);const e=Ee.exec(r);if(e){const u=parseInt(e[2],10)*(e[1]==="-"?-1:1),o=r.split(/[eE]/)[0].replace(/[-.]/g,"").length,a=Math.abs(u)+(u<0?o-1:0);r=n.toFixed(Math.min(a,Pe))}return r.replace(".",t)},Me=n=>{const t=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return new RegExp(`^-?(?:(?:\\d+(${t}\\d*)?)|(?:${t}\\d*))?$`)},U=n=>(String(n).split(".")[1]||"").length,oe=(n,t)=>Math.max(U(n),U(t)),ue=n=>Math.min(n,se),Z=(n,t)=>{const r=ue(t);return parseFloat(n.toFixed(r))},Oe=(n,t,r,e,u,o,a)=>{const s=oe(n||0,r||0),c=v(Z((n||0)+(r||0),s),e,u);t.eventValue=c,t.currentLooseValue=m(c,o,a),t.selectionStart=t.selectionEnd=N(t.currentLooseValue,V)},ye=(n,t,r,e,u,o,a)=>{const s=oe(n||0,r||0),c=v(Z((n||0)-(r||0),s),e,u);t.eventValue=c,t.currentLooseValue=m(c,o,a),t.selectionStart=t.selectionEnd=N(t.currentLooseValue,V)},v=(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(([u,o])=>!!o&&n.indexOf(o)===n.length-o.length);if(r===-1)return-1;const e=t[r][1];return n.length-e.length},ce=(n,t)=>{const r=t.findIndex(([u,o])=>!!u&&n.indexOf(u)===0);return r===-1?-1:t[r][0].length},le=(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 u=ce(n,t);u!==-1&&r.selectionStart<u&&(r.selectionStart=r.selectionEnd=u),r.selectionStart===-1&&(r.selectionStart=r.selectionEnd=0)},x=(n,t,r,e)=>{n.selectionStart=n.selectionEnd=t,le(r,e,n)},D=(n,t,r,e)=>{n.eventValue=e.parseNumber(n.prevLooseValue,t),n.currentLooseValue=n.prevLooseValue,n.valueIsCorrected=!0,x(n,n.selectionStart,n.currentLooseValue,r)},G=(n,t,r)=>t.split(n).length!==r.split(n).length&&t.length===r.length+n.length,ae=(n,t)=>{const r=String(n.currentLooseValue),e=String(n.prevLooseValue);return G(t.minusSign,r,e)||G("-",r,e)||G("−",r,e)},de=(n,t)=>{const r=String(n.currentLooseValue),e=String(n.prevLooseValue);return r.indexOf(t.minusSign)===-1&&e.indexOf(t.minusSign)!==-1},ge=(n,t)=>String(n.currentLooseValue).split(t.decimal).length>2,fe=(n,t)=>{const r=t.formatNumber(A,n),e=t.formatNumber(-A,n),u=t.formatNumber(re,n),o=t.formatNumber(te,n),a=M(r),s=M(e),c=M(u),l=M(o),E=O(r),P=O(e),h=O(u),L=O(o);return{positiveInfo:[a,E],negativeInfo:[s,P],zeroInfo:[c,h],oneInfo:[l,L]}},me=(n,t)=>{const r=t.formatNumber(A,n),e=t.formatNumber(-A,n),u=t.formatNumber(re,n),o=t.formatNumber(te,n),a=t.numberSymbols(),s=new RegExp(`[\\d\\${a.decimal}${a.group}]`,"g");return[r,e,u,o].map(l=>l.replace(s,"")).join("").split("").filter((l,E,P)=>P.indexOf(l)===E).join("")},F=(n,t)=>{const r=n.indexOf(t.decimal);return r>-1?r:N(n,V)},S=n=>n.split("").reverse().join(""),N=(n,t)=>n.length-S(n).search(t),M=n=>n.split(n[n.search(V)])[0],O=n=>{const t=S(n);return S(t.split(t[t.search(V)])[0])},$=(n,t)=>n.search(t),X=(n,t)=>{const r=n.indexOf(t);return r>-1?n.length-r-1:0},z=(n,t,r,e,u)=>{const o=n.replace(u,"")[0]==="0",a=t.replace(u,"")[0]==="0";if(o&&!a)return r-1;if(a&&e)return r+1;let s=0;for(let l=0;l<r;l++)V.test(n.charAt(l))&&s++;let c=0;for(;s>0&&t.length>c;)V.test(t.charAt(c))&&s--,c++;return c},De=(n,t,r)=>{const e={...n},{prevLooseValue:u}=e,o=r.numberSymbols(),a=me(t,r),s=String(e.currentLooseValue),c=String(u),l=new RegExp(`[^\\d\\${o.decimal}]`,"g"),E=new RegExp(`[^\\d\\${o.decimal}\\${o.group}]`,"g"),P=new RegExp(`[\\d\\${o.decimal}\\${o.group}]`),h=s.replace(l,""),L=$(s,V),C=L===-1?-1:N(s,V),_=s.indexOf(o.decimal),W=(s.substring(0,L)+s.substring(L,C).replace(E,"")+s.substring(C,s.length)).split("").filter(d=>a.indexOf(d)!==-1||d.search(P)!==-1).join(""),k=r.formatNumber(Le,t).replace(l,""),q=k.indexOf(o.decimal),I=q>-1?k.length-q-1:0,H=r.formatNumber(Ie,t).replace(l,""),J=H.indexOf(o.decimal),y=J>-1?H.length-J-1:0,{positiveInfo:Ve,negativeInfo:pe,zeroInfo:xe,oneInfo:be}=fe(t,r),g=[Ve,pe,xe,be],he=g.findIndex(d=>d.findIndex(p=>!!p)!==-1)!==1,R=s.length>0&&s.length<c.length,K=typeof t=="string"&&t[0]==="p"&&s&&s.indexOf(o.percentSign)===-1,Q=!!(e.currentLooseValue&&u)&&(a+o.decimal+o.group).split("").findIndex(d=>s.split("").filter(p=>p===d).length<c.split("").filter(p=>p===d).length&&s.length+1===c.length?!(d===o.decimal&&X(c.replace(l,""),o.decimal)===0):!1)>-1;if(!e.isPaste){if(s==="")return e.eventValue=null,e.currentLooseValue="",e;if(R&&!Q){if(e.eventValue=r.parseNumber(s,t),e.currentLooseValue=s,s.includes(o.group)){const f=m(e.eventValue,t,r),i=_===-1?f:f.split(o.decimal)[0]+s.substring(_);i!==s&&(x(e,z(s,i,e.selectionEnd,R,l),i,g),e.currentLooseValue=i)}return e}if(e.currentLooseValue===o.minusSign&&r.formatNumber(-0,t)!==c)return e.eventValue=-0,e.currentLooseValue=m(e.eventValue,t,r),x(e,F(e.currentLooseValue,o),e.currentLooseValue,g),e;if(e.currentLooseValue===o.decimal){e.eventValue=0;const f=m(e.eventValue,t,r);if(y===0&&I>0){const i=N(f,V);e.currentLooseValue=f.substring(0,i)+o.decimal+f.substring(i)}else e.currentLooseValue=f;return x(e,F(e.currentLooseValue,o)+1,e.currentLooseValue,g),e}if(ae(e,o)){const f=r.parseNumber(u,t);e.eventValue=-(f!==null?f:0),e.currentLooseValue=m(e.eventValue,t,r);const i=$(e.currentLooseValue,V),b=$(c,V);return x(e,e.selectionEnd-1+(i-b),e.currentLooseValue,g),e}if(de(e,o))return e.eventValue=r.parseNumber(e.currentLooseValue,t),x(e,e.selectionStart,e.currentLooseValue,g),e;if(ge(e,o))return D(e,t,g,r),e;if(K)return e.eventValue=r.parseNumber(s,t)/100,e.currentLooseValue=m(e.eventValue,t,r),e;if(String(e.currentLooseValue).replace(/[^\d]/g,"").length>se||h!==s&&s&&he&&g.findIndex(([i,b])=>{const T=s.indexOf(i),j=s.indexOf(b),Y=T===0,w=j===s.length-b.length,ee=T+i.length!==L&&L!==-1&&s[T+i.length]!==o.decimal,ne=j!==C&&C!==-1&&s[j-1]!==o.decimal;return i&&b?ee||ne?!1:Y&&w:i?ee?!1:Y:b?ne?!1:w:!1})===-1)return D(e,t,g,r),e;if(h[h.length-1]===o.decimal&&I>0)return e.eventValue=r.parseNumber(s,t),e.currentLooseValue=W,e;if(Q)return e.eventValue=r.parseNumber(n.prevLooseValue,t),e.currentLooseValue=n.prevLooseValue,e;const p=X(h,o.decimal),B=h[h.length-1]==="0";if(R&&B&&p<y)return e.eventValue=r.parseNumber(e.currentLooseValue,t),e.currentLooseValue=m(e.eventValue,t,r),e;if(p>0){const f=s.substring(0,_);if(B&&(!f||c.indexOf(f)!==0)){e.eventValue=r.parseNumber(e.currentLooseValue,t);const i=m(e.eventValue,t,r);return x(e,z(s,i,e.selectionEnd,R,l),i,g),e.currentLooseValue=i,e}if(p>I){const i=s.indexOf(o.decimal),b=s.substring(0,i)+s.substring(i,i+1+I)+s.substring(C,String(e.currentLooseValue).length);return e.eventValue=r.parseNumber(b,t),e.currentLooseValue=b,x(e,e.selectionStart,b,g),e}if(y!==I&&p<=I&&B)return e.eventValue=r.parseNumber(e.currentLooseValue,t),e.currentLooseValue=W,e;if(p<y)return e.eventValue=r.parseNumber(e.currentLooseValue,t),e.currentLooseValue=m(e.eventValue,t,r),e}}if(e.eventValue=r.parseNumber(e.currentLooseValue,t),K&&(e.eventValue=e.eventValue/100),typeof e.eventValue=="number"){const d=m(e.eventValue,t,r);s.length===1?x(e,F(d,o),d,g):x(e,z(s,d,e.selectionEnd,R,l),d,g),e.currentLooseValue=d}else e.currentLooseValue=m(r.parseNumber(h),t,r);return e};exports.changeBasedSelection=z;exports.decreaseValue=ye;exports.formatInputValue=Re;exports.formatValue=m;exports.fractionLength=U;exports.getDecimalCount=X;exports.getFirstNumberIndex=$;exports.getFormatPrefixSufix=fe;exports.getFormatSymbols=me;exports.getInitialPosition=F;exports.getLastNumberIndex=N;exports.getMaxCursorPosition=ie;exports.getMinCursorPosition=ce;exports.getPrefix=M;exports.getStateOrPropsValue=Ne;exports.getSuffix=O;exports.increaseValue=Oe;exports.isCurrencyFormat=Ce;exports.isDecimalDuplicated=ge;exports.isMinusSymbolAdded=ae;exports.isMinusSymbolRemoved=de;exports.limitPrecision=ue;exports.numericInputRegex=Me;exports.rangeSelection=le;exports.rangeValue=v;exports.reverseString=S;exports.sanitizeNumber=De;exports.setInvalid=D;exports.setSelection=x;exports.toFixedPrecision=Z;
@@ -5,176 +5,199 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- const M = 11111111111111e-7, ae = 0.31111111111111117, de = 1, Y = 1, w = 0, m = /\d/, ee = 15, Ne = (t, n) => t !== void 0 ? t : n, p = (t, n, r) => t == null ? "" : typeof t == "string" ? t : r.formatNumber(t, n), J = (t) => (String(t).split(".")[1] || "").length, ne = (t, n) => Math.max(J(t), J(n)), ge = (t) => Math.min(t, ee), te = (t, n) => {
9
- const r = ge(n);
10
- return parseFloat(t.toFixed(r));
11
- }, Ie = (t, n, r, e, u, o, a) => {
12
- const s = ne(t || 0, r || 0), i = re(te((t || 0) + (r || 0), s), e, u);
13
- n.eventValue = i, n.currentLooseValue = p(i, o, a), n.selectionStart = n.selectionEnd = R(n.currentLooseValue, m);
14
- }, Ce = (t, n, r, e, u, o, a) => {
15
- const s = ne(t || 0, r || 0), i = re(te((t || 0) - (r || 0), s), e, u);
16
- n.eventValue = i, n.currentLooseValue = p(i, o, a), n.selectionStart = n.selectionEnd = R(n.currentLooseValue, m);
17
- }, 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) => {
18
- const r = n.findIndex(([u, o]) => !!o && t.indexOf(o) === t.length - o.length);
8
+ const y = 11111111111111e-7, de = 0.31111111111111117, ge = 1, ee = 1, ne = 0, V = /\d/, te = 15, Ce = (n, t) => n !== void 0 ? n : t, m = (n, t, r) => n == null ? "" : typeof n == "string" ? n : r.formatNumber(n, t), fe = /[eE]([-+]?)(\d+)/, me = 20, Re = (n) => typeof n == "string" ? /^c\d*$/i.test(n) : !!(n && n.style === "currency"), Pe = (n, t) => {
9
+ if (n == null || Number.isNaN(n))
10
+ return "";
11
+ let r = Object.is(n, -0) ? "-0" : String(n);
12
+ const e = fe.exec(r);
13
+ if (e) {
14
+ const u = parseInt(e[2], 10) * (e[1] === "-" ? -1 : 1), o = r.split(/[eE]/)[0].replace(/[-.]/g, "").length, a = Math.abs(u) + (u < 0 ? o - 1 : 0);
15
+ r = n.toFixed(Math.min(a, me));
16
+ }
17
+ return r.replace(".", t);
18
+ }, Oe = (n) => {
19
+ const t = n.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
20
+ return new RegExp(`^-?(?:(?:\\d+(${t}\\d*)?)|(?:${t}\\d*))?$`);
21
+ }, v = (n) => (String(n).split(".")[1] || "").length, re = (n, t) => Math.max(v(n), v(t)), Ve = (n) => Math.min(n, te), se = (n, t) => {
22
+ const r = Ve(t);
23
+ return parseFloat(n.toFixed(r));
24
+ }, De = (n, t, r, e, u, o, a) => {
25
+ const s = re(n || 0, r || 0), i = oe(se((n || 0) + (r || 0), s), e, u);
26
+ t.eventValue = i, t.currentLooseValue = m(i, o, a), t.selectionStart = t.selectionEnd = P(t.currentLooseValue, V);
27
+ }, Me = (n, t, r, e, u, o, a) => {
28
+ const s = re(n || 0, r || 0), i = oe(se((n || 0) - (r || 0), s), e, u);
29
+ t.eventValue = i, t.currentLooseValue = m(i, o, a), t.selectionStart = t.selectionEnd = P(t.currentLooseValue, V);
30
+ }, oe = (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), pe = (n, t) => {
31
+ const r = t.findIndex(([u, o]) => !!o && n.indexOf(o) === n.length - o.length);
19
32
  if (r === -1)
20
33
  return -1;
21
- const e = n[r][1];
22
- return t.length - e.length;
23
- }, me = (t, n) => {
24
- const r = n.findIndex(([u, o]) => !!u && t.indexOf(u) === 0);
25
- return r === -1 ? -1 : n[r][0].length;
26
- }, Ve = (t, n, r) => {
27
- const e = fe(t, n);
34
+ const e = t[r][1];
35
+ return n.length - e.length;
36
+ }, xe = (n, t) => {
37
+ const r = t.findIndex(([u, o]) => !!u && n.indexOf(u) === 0);
38
+ return r === -1 ? -1 : t[r][0].length;
39
+ }, be = (n, t, r) => {
40
+ const e = pe(n, t);
28
41
  if (e !== -1 && r.selectionStart > e) {
29
42
  r.selectionStart = r.selectionEnd = e;
30
43
  return;
31
44
  }
32
- r.selectionStart > t.length && (r.selectionStart = r.selectionEnd = t.length);
33
- const u = me(t, n);
45
+ r.selectionStart > n.length && (r.selectionStart = r.selectionEnd = n.length);
46
+ const u = xe(n, t);
34
47
  u !== -1 && r.selectionStart < u && (r.selectionStart = r.selectionEnd = u), r.selectionStart === -1 && (r.selectionStart = r.selectionEnd = 0);
35
- }, b = (t, n, r, e) => {
36
- t.selectionStart = t.selectionEnd = n, Ve(r, e, t);
37
- }, _ = (t, n, r, e) => {
38
- t.eventValue = e.parseNumber(t.prevLooseValue, n), t.currentLooseValue = t.prevLooseValue, t.valueIsCorrected = !0, b(t, t.selectionStart, t.currentLooseValue, r);
39
- }, B = (t, n, r) => n.split(t).length !== r.split(t).length && n.length === r.length + t.length, pe = (t, n) => {
40
- const r = String(t.currentLooseValue), e = String(t.prevLooseValue);
41
- return B(n.minusSign, r, e) || B("-", r, e) || B("−", r, e);
42
- }, xe = (t, n) => {
43
- const r = String(t.currentLooseValue), e = String(t.prevLooseValue);
44
- return r.indexOf(n.minusSign) === -1 && e.indexOf(n.minusSign) !== -1;
45
- }, be = (t, n) => String(t.currentLooseValue).split(n.decimal).length > 2, he = (t, n) => {
46
- const r = n.formatNumber(M, t), e = n.formatNumber(-M, t), u = n.formatNumber(w, t), o = n.formatNumber(Y, t), a = O(r), s = O(e), i = O(u), l = O(o), I = P(r), C = P(e), x = P(u), h = P(o);
48
+ }, b = (n, t, r, e) => {
49
+ n.selectionStart = n.selectionEnd = t, be(r, e, n);
50
+ }, A = (n, t, r, e) => {
51
+ n.eventValue = e.parseNumber(n.prevLooseValue, t), n.currentLooseValue = n.prevLooseValue, n.valueIsCorrected = !0, b(n, n.selectionStart, n.currentLooseValue, r);
52
+ }, B = (n, t, r) => t.split(n).length !== r.split(n).length && t.length === r.length + n.length, he = (n, t) => {
53
+ const r = String(n.currentLooseValue), e = String(n.prevLooseValue);
54
+ return B(t.minusSign, r, e) || B("-", r, e) || B("−", 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
+ }, Ne = (n, t) => String(n.currentLooseValue).split(t.decimal).length > 2, Ie = (n, t) => {
59
+ const r = t.formatNumber(y, n), e = t.formatNumber(-y, n), u = t.formatNumber(ne, n), o = t.formatNumber(ee, n), a = D(r), s = D(e), i = D(u), l = D(o), I = M(r), E = M(e), h = M(u), L = M(o);
47
60
  return {
48
61
  positiveInfo: [a, I],
49
- negativeInfo: [s, C],
50
- zeroInfo: [i, x],
51
- oneInfo: [l, h]
62
+ negativeInfo: [s, E],
63
+ zeroInfo: [i, h],
64
+ oneInfo: [l, L]
52
65
  };
53
- }, Le = (t, n) => {
54
- const r = n.formatNumber(M, t), e = n.formatNumber(-M, t), u = n.formatNumber(w, t), o = n.formatNumber(Y, t), a = n.numberSymbols(), s = new RegExp(`[\\d\\${a.decimal}${a.group}]`, "g");
55
- return [r, e, u, o].map((l) => l.replace(s, "")).join("").split("").filter((l, I, C) => C.indexOf(l) === I).join("");
56
- }, $ = (t, n) => {
57
- const r = t.indexOf(n.decimal);
58
- return r > -1 ? r : R(t, m);
59
- }, G = (t) => t.split("").reverse().join(""), R = (t, n) => t.length - G(t).search(n), O = (t) => t.split(t[t.search(m)])[0], P = (t) => {
60
- const n = G(t);
61
- return G(n.split(n[n.search(m)])[0]);
62
- }, T = (t, n) => t.search(n), K = (t, n) => {
63
- const r = t.indexOf(n);
64
- return r > -1 ? t.length - r - 1 : 0;
65
- }, Q = (t, n, r, e, u) => {
66
- const o = t.replace(u, "")[0] === "0", a = n.replace(u, "")[0] === "0";
66
+ }, Ee = (n, t) => {
67
+ const r = t.formatNumber(y, n), e = t.formatNumber(-y, n), u = t.formatNumber(ne, n), o = t.formatNumber(ee, n), a = t.numberSymbols(), s = new RegExp(`[\\d\\${a.decimal}${a.group}]`, "g");
68
+ return [r, e, u, o].map((l) => l.replace(s, "")).join("").split("").filter((l, I, E) => E.indexOf(l) === I).join("");
69
+ }, T = (n, t) => {
70
+ const r = n.indexOf(t.decimal);
71
+ return r > -1 ? r : P(n, V);
72
+ }, X = (n) => n.split("").reverse().join(""), P = (n, t) => n.length - X(n).search(t), D = (n) => n.split(n[n.search(V)])[0], M = (n) => {
73
+ const t = X(n);
74
+ return X(t.split(t[t.search(V)])[0]);
75
+ }, G = (n, t) => n.search(t), w = (n, t) => {
76
+ const r = n.indexOf(t);
77
+ return r > -1 ? n.length - r - 1 : 0;
78
+ }, U = (n, t, r, e, u) => {
79
+ const o = n.replace(u, "")[0] === "0", a = t.replace(u, "")[0] === "0";
67
80
  if (o && !a)
68
81
  return r - 1;
69
82
  if (a && e)
70
83
  return r + 1;
71
84
  let s = 0;
72
85
  for (let l = 0; l < r; l++)
73
- m.test(t.charAt(l)) && s++;
86
+ V.test(n.charAt(l)) && s++;
74
87
  let i = 0;
75
- for (; s > 0 && n.length > i; )
76
- m.test(n.charAt(i)) && s--, i++;
88
+ for (; s > 0 && t.length > i; )
89
+ V.test(t.charAt(i)) && s--, i++;
77
90
  return i;
78
- }, Ee = (t, n, r) => {
91
+ }, ye = (n, t, r) => {
79
92
  const e = {
80
- ...t
93
+ ...n
81
94
  }, {
82
95
  prevLooseValue: u
83
- } = e, o = r.numberSymbols(), a = Le(n, r), s = String(e.currentLooseValue), i = String(u), l = new RegExp(`[^\\d\\${o.decimal}]`, "g"), I = new RegExp(`[^\\d\\${o.decimal}\\${o.group}]`, "g"), C = new RegExp(`[\\d\\${o.decimal}\\${o.group}]`), x = s.replace(l, ""), h = T(s, m), E = h === -1 ? -1 : R(s, m), oe = s.indexOf(o.decimal), U = (s.substring(0, h) + s.substring(h, E).replace(I, "") + s.substring(E, s.length)).split("").filter((V) => a.indexOf(V) !== -1 || V.search(C) !== -1).join(""), j = r.formatNumber(ae, n).replace(l, ""), v = j.indexOf(o.decimal), N = v > -1 ? j.length - v - 1 : 0, X = r.formatNumber(de, n).replace(l, ""), Z = X.indexOf(o.decimal), D = Z > -1 ? X.length - Z - 1 : 0, {
84
- positiveInfo: se,
85
- negativeInfo: ue,
86
- zeroInfo: ce,
87
- oneInfo: ie
88
- } = he(n, r), g = [se, ue, ce, ie], le = g.findIndex((V) => V.findIndex((L) => !!L) !== -1) !== 1, y = s.length > 0 && s.length < i.length, S = typeof n == "string" && n[0] === "p" && s && s.indexOf(o.percentSign) === -1;
96
+ } = e, o = r.numberSymbols(), a = Ee(t, r), s = String(e.currentLooseValue), i = String(u), l = new RegExp(`[^\\d\\${o.decimal}]`, "g"), I = new RegExp(`[^\\d\\${o.decimal}\\${o.group}]`, "g"), E = new RegExp(`[\\d\\${o.decimal}\\${o.group}]`), h = s.replace(l, ""), L = G(s, V), C = L === -1 ? -1 : P(s, V), F = s.indexOf(o.decimal), j = (s.substring(0, L) + s.substring(L, C).replace(I, "") + s.substring(C, s.length)).split("").filter((d) => a.indexOf(d) !== -1 || d.search(E) !== -1).join(""), Z = r.formatNumber(de, t).replace(l, ""), W = Z.indexOf(o.decimal), N = W > -1 ? Z.length - W - 1 : 0, k = r.formatNumber(ge, t).replace(l, ""), q = k.indexOf(o.decimal), O = q > -1 ? k.length - q - 1 : 0, {
97
+ positiveInfo: ue,
98
+ negativeInfo: ce,
99
+ zeroInfo: ie,
100
+ oneInfo: le
101
+ } = Ie(t, r), g = [ue, ce, ie, le], ae = g.findIndex((d) => d.findIndex((p) => !!p) !== -1) !== 1, R = s.length > 0 && s.length < i.length, H = typeof t == "string" && t[0] === "p" && s && s.indexOf(o.percentSign) === -1, J = !!(e.currentLooseValue && u) && (a + o.decimal + o.group).split("").findIndex((d) => s.split("").filter((p) => p === d).length < i.split("").filter((p) => p === d).length && s.length + 1 === i.length ? !(d === o.decimal && w(i.replace(l, ""), o.decimal) === 0) : !1) > -1;
89
102
  if (!e.isPaste) {
90
103
  if (s === "")
91
104
  return e.eventValue = null, e.currentLooseValue = "", e;
92
- if (e.currentLooseValue === o.minusSign && r.formatNumber(-0, n) !== i)
93
- return e.eventValue = -0, e.currentLooseValue = p(e.eventValue, n, r), b(e, $(e.currentLooseValue, o), e.currentLooseValue, g), e;
105
+ if (R && !J) {
106
+ if (e.eventValue = r.parseNumber(s, t), e.currentLooseValue = s, s.includes(o.group)) {
107
+ const f = m(e.eventValue, t, r), c = F === -1 ? f : f.split(o.decimal)[0] + s.substring(F);
108
+ c !== s && (b(e, U(s, c, e.selectionEnd, R, l), c, g), e.currentLooseValue = c);
109
+ }
110
+ return e;
111
+ }
112
+ if (e.currentLooseValue === o.minusSign && r.formatNumber(-0, t) !== i)
113
+ return e.eventValue = -0, e.currentLooseValue = m(e.eventValue, t, r), b(e, T(e.currentLooseValue, o), e.currentLooseValue, g), e;
94
114
  if (e.currentLooseValue === o.decimal) {
95
115
  e.eventValue = 0;
96
- const f = p(e.eventValue, n, r);
97
- if (D === 0 && N > 0) {
98
- const c = R(f, m);
116
+ const f = m(e.eventValue, t, r);
117
+ if (O === 0 && N > 0) {
118
+ const c = P(f, V);
99
119
  e.currentLooseValue = f.substring(0, c) + o.decimal + f.substring(c);
100
120
  } else
101
121
  e.currentLooseValue = f;
102
- return b(e, $(e.currentLooseValue, o) + 1, e.currentLooseValue, g), e;
122
+ return b(e, T(e.currentLooseValue, o) + 1, e.currentLooseValue, g), e;
103
123
  }
104
- if (pe(e, o)) {
105
- const f = r.parseNumber(u, n);
106
- e.eventValue = -(f !== null ? f : 0), e.currentLooseValue = p(e.eventValue, n, r);
107
- const c = T(e.currentLooseValue, m), d = T(i, m);
108
- return b(e, e.selectionEnd - 1 + (c - d), e.currentLooseValue, g), e;
124
+ if (he(e, o)) {
125
+ const f = r.parseNumber(u, t);
126
+ e.eventValue = -(f !== null ? f : 0), e.currentLooseValue = m(e.eventValue, t, r);
127
+ const c = G(e.currentLooseValue, V), x = G(i, V);
128
+ return b(e, e.selectionEnd - 1 + (c - x), e.currentLooseValue, g), e;
109
129
  }
110
- if (xe(e, o))
111
- return e.eventValue = r.parseNumber(e.currentLooseValue, n), b(e, e.selectionStart, e.currentLooseValue, g), e;
112
- if (be(e, o))
113
- return _(e, n, g, r), e;
114
- if (S)
115
- return e.eventValue = r.parseNumber(s, n) / 100, e.currentLooseValue = p(e.eventValue, n, r), e;
116
- if (String(e.currentLooseValue).replace(/[^\d]/g, "").length > ee || x !== s && s && le && g.findIndex(([c, d]) => {
117
- const z = s.indexOf(c), A = s.indexOf(d), W = z === 0, k = A === s.length - d.length, q = z + c.length !== h && h !== -1 && s[z + c.length] !== o.decimal, H = A !== E && E !== -1 && s[A - 1] !== o.decimal;
118
- return c && d ? q || H ? !1 : W && k : c ? q ? !1 : W : d ? H ? !1 : k : !1;
130
+ if (Le(e, o))
131
+ return e.eventValue = r.parseNumber(e.currentLooseValue, t), b(e, e.selectionStart, e.currentLooseValue, g), e;
132
+ if (Ne(e, o))
133
+ return A(e, t, g, r), e;
134
+ if (H)
135
+ return e.eventValue = r.parseNumber(s, t) / 100, e.currentLooseValue = m(e.eventValue, t, r), e;
136
+ if (String(e.currentLooseValue).replace(/[^\d]/g, "").length > te || h !== s && s && ae && g.findIndex(([c, x]) => {
137
+ const _ = s.indexOf(c), z = s.indexOf(x), K = _ === 0, Q = z === s.length - x.length, S = _ + c.length !== L && L !== -1 && s[_ + c.length] !== o.decimal, Y = z !== C && C !== -1 && s[z - 1] !== o.decimal;
138
+ return c && x ? S || Y ? !1 : K && Q : c ? S ? !1 : K : x ? Y ? !1 : Q : !1;
119
139
  }) === -1)
120
- return _(e, n, g, r), e;
121
- if (x[x.length - 1] === o.decimal && N > 0)
122
- return e.eventValue = r.parseNumber(s, n), e.currentLooseValue = U, e;
123
- if (e.currentLooseValue && u && (a + o.decimal + o.group).split("").findIndex((c) => s.split("").filter((d) => d === c).length < i.split("").filter((d) => d === c).length && s.length + 1 === i.length ? !(c === o.decimal && K(i.replace(l, ""), o.decimal) === 0) : !1) > -1)
124
- return e.eventValue = r.parseNumber(t.prevLooseValue, n), e.currentLooseValue = t.prevLooseValue, e;
125
- const L = K(x, o.decimal), F = x[x.length - 1] === "0";
126
- if (y && F && L < D)
127
- return e.eventValue = r.parseNumber(e.currentLooseValue, n), e.currentLooseValue = p(e.eventValue, n, r), e;
128
- if (L > 0) {
129
- const f = s.substring(0, oe);
130
- if (F && (!f || i.indexOf(f) !== 0)) {
131
- e.eventValue = r.parseNumber(e.currentLooseValue, n);
132
- const c = p(e.eventValue, n, r);
133
- return b(e, Q(s, c, e.selectionEnd, y, l), c, g), e.currentLooseValue = c, e;
140
+ return A(e, t, g, r), e;
141
+ if (h[h.length - 1] === o.decimal && N > 0)
142
+ return e.eventValue = r.parseNumber(s, t), e.currentLooseValue = j, e;
143
+ if (J)
144
+ return e.eventValue = r.parseNumber(n.prevLooseValue, t), e.currentLooseValue = n.prevLooseValue, e;
145
+ const p = w(h, o.decimal), $ = h[h.length - 1] === "0";
146
+ if (R && $ && p < O)
147
+ return e.eventValue = r.parseNumber(e.currentLooseValue, t), e.currentLooseValue = m(e.eventValue, t, r), e;
148
+ if (p > 0) {
149
+ const f = s.substring(0, F);
150
+ if ($ && (!f || i.indexOf(f) !== 0)) {
151
+ e.eventValue = r.parseNumber(e.currentLooseValue, t);
152
+ const c = m(e.eventValue, t, r);
153
+ return b(e, U(s, c, e.selectionEnd, R, l), c, g), e.currentLooseValue = c, e;
134
154
  }
135
- if (L > N) {
136
- const c = s.indexOf(o.decimal), d = s.substring(0, c) + s.substring(c, c + 1 + N) + s.substring(E, String(e.currentLooseValue).length);
137
- return e.eventValue = r.parseNumber(d, n), e.currentLooseValue = d, b(e, e.selectionStart, d, g), e;
155
+ if (p > N) {
156
+ const c = s.indexOf(o.decimal), x = s.substring(0, c) + s.substring(c, c + 1 + N) + s.substring(C, String(e.currentLooseValue).length);
157
+ return e.eventValue = r.parseNumber(x, t), e.currentLooseValue = x, b(e, e.selectionStart, x, g), e;
138
158
  }
139
- if (D !== N && L <= N && F)
140
- return e.eventValue = r.parseNumber(e.currentLooseValue, n), e.currentLooseValue = U, e;
141
- if (L < D)
142
- return e.eventValue = r.parseNumber(e.currentLooseValue, n), e.currentLooseValue = p(e.eventValue, n, r), e;
159
+ if (O !== N && p <= N && $)
160
+ return e.eventValue = r.parseNumber(e.currentLooseValue, t), e.currentLooseValue = j, e;
161
+ if (p < O)
162
+ return e.eventValue = r.parseNumber(e.currentLooseValue, t), e.currentLooseValue = m(e.eventValue, t, r), e;
143
163
  }
144
164
  }
145
- if (e.eventValue = r.parseNumber(e.currentLooseValue, n), S && (e.eventValue = e.eventValue / 100), typeof e.eventValue == "number") {
146
- const V = p(e.eventValue, n, r);
147
- s.length === 1 ? b(e, $(V, o), V, g) : b(e, Q(s, V, e.selectionEnd, y, l), V, g), e.currentLooseValue = V;
165
+ if (e.eventValue = r.parseNumber(e.currentLooseValue, t), H && (e.eventValue = e.eventValue / 100), typeof e.eventValue == "number") {
166
+ const d = m(e.eventValue, t, r);
167
+ s.length === 1 ? b(e, T(d, o), d, g) : b(e, U(s, d, e.selectionEnd, R, l), d, g), e.currentLooseValue = d;
148
168
  } else
149
- e.currentLooseValue = p(r.parseNumber(x), n, r);
169
+ e.currentLooseValue = m(r.parseNumber(h), t, r);
150
170
  return e;
151
171
  };
152
172
  export {
153
- Q as changeBasedSelection,
154
- Ce as decreaseValue,
155
- p as formatValue,
156
- J as fractionLength,
157
- K as getDecimalCount,
158
- T as getFirstNumberIndex,
159
- he as getFormatPrefixSufix,
160
- Le as getFormatSymbols,
161
- $ as getInitialPosition,
162
- R as getLastNumberIndex,
163
- fe as getMaxCursorPosition,
164
- me as getMinCursorPosition,
165
- O as getPrefix,
166
- Ne as getStateOrPropsValue,
167
- P as getSuffix,
168
- Ie as increaseValue,
169
- be as isDecimalDuplicated,
170
- pe as isMinusSymbolAdded,
171
- xe as isMinusSymbolRemoved,
172
- ge as limitPrecision,
173
- Ve as rangeSelection,
174
- re as rangeValue,
175
- G as reverseString,
176
- Ee as sanitizeNumber,
177
- _ as setInvalid,
173
+ U as changeBasedSelection,
174
+ Me as decreaseValue,
175
+ Pe as formatInputValue,
176
+ m as formatValue,
177
+ v as fractionLength,
178
+ w as getDecimalCount,
179
+ G as getFirstNumberIndex,
180
+ Ie as getFormatPrefixSufix,
181
+ Ee as getFormatSymbols,
182
+ T as getInitialPosition,
183
+ P as getLastNumberIndex,
184
+ pe as getMaxCursorPosition,
185
+ xe as getMinCursorPosition,
186
+ D as getPrefix,
187
+ Ce as getStateOrPropsValue,
188
+ M as getSuffix,
189
+ De as increaseValue,
190
+ Re as isCurrencyFormat,
191
+ Ne as isDecimalDuplicated,
192
+ he as isMinusSymbolAdded,
193
+ Le as isMinusSymbolRemoved,
194
+ Ve as limitPrecision,
195
+ Oe as numericInputRegex,
196
+ be as rangeSelection,
197
+ oe as rangeValue,
198
+ X as reverseString,
199
+ ye as sanitizeNumber,
200
+ A as setInvalid,
178
201
  b as setSelection,
179
- te as toFixedPrecision
202
+ se as toFixedPrecision
180
203
  };
@@ -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={name:"@progress/kendo-vue-inputs",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate: 1791377281,version:"10.1.0",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"};exports.packageMetadata=e;
8
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"@progress/kendo-vue-inputs",productName:"Kendo UI for Vue",productCode:"KENDOUIVUE",productCodes:["KENDOUIVUE"],publishDate: 1791894767,version:"10.1.1-develop.2",licensingDocsUrl:"https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"};exports.packageMetadata=e;
@@ -10,8 +10,8 @@ const e = {
10
10
  productName: "Kendo UI for Vue",
11
11
  productCode: "KENDOUIVUE",
12
12
  productCodes: ["KENDOUIVUE"],
13
- publishDate: 1791377281,
14
- version: "10.1.0",
13
+ publishDate: 1791894767,
14
+ version: "10.1.1-develop.2",
15
15
  licensingDocsUrl: "https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"
16
16
  };
17
17
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-vue-inputs",
3
- "version": "10.1.0",
3
+ "version": "10.1.1-develop.2",
4
4
  "description": "TODO",
5
5
  "author": "Progress",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
@@ -26,13 +26,13 @@
26
26
  "peerDependencies": {
27
27
  "@progress/kendo-drawing": "^1.21.1",
28
28
  "@progress/kendo-licensing": "^1.7.2",
29
- "@progress/kendo-vue-animation": "10.1.0",
30
- "@progress/kendo-vue-buttons": "10.1.0",
31
- "@progress/kendo-vue-common": "10.1.0",
32
- "@progress/kendo-vue-dialogs": "10.1.0",
33
- "@progress/kendo-vue-intl": "10.1.0",
34
- "@progress/kendo-vue-labels": "10.1.0",
35
- "@progress/kendo-vue-popup": "10.1.0",
29
+ "@progress/kendo-vue-animation": "10.1.1-develop.2",
30
+ "@progress/kendo-vue-buttons": "10.1.1-develop.2",
31
+ "@progress/kendo-vue-common": "10.1.1-develop.2",
32
+ "@progress/kendo-vue-dialogs": "10.1.1-develop.2",
33
+ "@progress/kendo-vue-intl": "10.1.1-develop.2",
34
+ "@progress/kendo-vue-labels": "10.1.1-develop.2",
35
+ "@progress/kendo-vue-popup": "10.1.1-develop.2",
36
36
  "@progress/kendo-svg-icons": "^4.9.0 || ^5.0.0",
37
37
  "vue": "^3.0.2"
38
38
  },
@@ -55,7 +55,7 @@
55
55
  "package": {
56
56
  "productName": "Kendo UI for Vue",
57
57
  "productCode": "KENDOUIVUE",
58
- "publishDate": 1791377281,
58
+ "publishDate": 1791894767,
59
59
  "licensingDocsUrl": "https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning"
60
60
  }
61
61
  },