@vuetify/nightly 3.8.6-master.2025-05-22 → 3.8.6-master.2025-05-23

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.8.6-master.2025-05-22
2
+ * Vuetify v3.8.6-master.2025-05-23
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -1968,7 +1968,10 @@ if(s.value)return
1968
1968
  if(null==p.value)return void(m.value=v(A(0,e.min,e.max)))
1969
1969
  let a=Math.max(N(p.value),N(e.step))
1970
1970
  null!=e.precision&&(a=Math.max(a,e.precision)),t?g.value&&(m.value=v(p.value+e.step,a)):h.value&&(m.value=v(p.value-e.step,a))}function I(t){if(!t.data)return
1971
- const a=t.target?.value,l=t.target?.selectionStart,o=t.target?.selectionEnd,n=a?a.slice(0,l)+t.data+a.slice(o):t.data;/^-?(\d+(\.\d*)?|(\.\d+)|\d*|\.)$/.test(n)||t.preventDefault(),null!=e.precision&&(n.split(".")[1]?.length>e.precision&&t.preventDefault(),0===e.precision&&n.includes(".")&&t.preventDefault())}async function _(e){["Enter","ArrowLeft","ArrowRight","Backspace","Delete","Tab"].includes(e.key)||e.ctrlKey||["ArrowDown","ArrowUp"].includes(e.key)&&(e.preventDefault(),D(),await t.nextTick(),"ArrowDown"===e.key?C(!1):C())}function P(e){e.stopPropagation()}function B(e){const t=e.currentTarget
1971
+ const a=t.target,{value:l,selectionStart:o,selectionEnd:n}=a??{},r=l?l.slice(0,o)+t.data+l.slice(n):t.data,i=function(e,t){const a=e.split("").filter((e=>/[\d\-.]/.test(e))).filter(((e,t,a)=>0===t&&/[-]/.test(e)||"."===e&&t===a.indexOf(".")||/\d/.test(e))).join("")
1972
+ if(0===t)return a.split(".")[0]
1973
+ if(null!==t&&/\.\d/.test(a)){const e=a.split(".")
1974
+ return[e[0],e[1].substring(0,t)].join(".")}return a}(r,e.precision);/^-?(\d+(\.\d*)?|(\.\d+)|\d*|\.)$/.test(r)||(t.preventDefault(),a.value=i),null!=e.precision&&(r.split(".")[1]?.length>e.precision&&(t.preventDefault(),a.value=i),0===e.precision&&r.includes(".")&&(t.preventDefault(),a.value=i))}async function _(e){["Enter","ArrowLeft","ArrowRight","Backspace","Delete","Tab"].includes(e.key)||e.ctrlKey||["ArrowDown","ArrowUp"].includes(e.key)&&(e.preventDefault(),D(),await t.nextTick(),"ArrowDown"===e.key?C(!1):C())}function P(e){e.stopPropagation()}function B(e){const t=e.currentTarget
1972
1975
  t?.releasePointerCapture(e.pointerId),e.preventDefault(),e.stopPropagation(),r()}function R(e){const t=e.currentTarget
1973
1976
  t?.setPointerCapture(e.pointerId),e.preventDefault(),e.stopPropagation(),n("up")}function T(e){const t=e.currentTarget
1974
1977
  t?.setPointerCapture(e.pointerId),e.preventDefault(),e.stopPropagation(),n("down")}function D(){if(s.value)return
@@ -2216,8 +2219,8 @@ if(f.run((()=>{o.install(u)})),u.onUnmount((()=>f.stop())),u.provide(wt,e),u.pro
2216
2219
  else{const{mount:e}=u
2217
2220
  u.mount=function(){const a=e(...arguments)
2218
2221
  return t.nextTick((()=>l.update())),u.mount=e,a}}("boolean"!=typeof __VUE_OPTIONS_API__||__VUE_OPTIONS_API__)&&u.mixin({computed:{$vuetify(){return t.reactive({defaults:Vf.call(this,wt),display:Vf.call(this,Vn),theme:Vf.call(this,ya),icons:Vf.call(this,$t),locale:Vf.call(this,pa),date:Vf.call(this,xu)})}}})},unmount:function(){u.stop()},defaults:e,display:l,theme:o,icons:c,locale:d,date:v,goTo:p}}))}function Vf(e){const t=this.$,a=t.parent?.provides??t.vnode.appContext?.provides
2219
- if(a&&e in a)return a[e]}bf.version="3.8.6-master.2025-05-22"
2220
- const wf=function(){return bf({components:cf,directives:yf,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},Sf="3.8.6-master.2025-05-22"
2222
+ if(a&&e in a)return a[e]}bf.version="3.8.6-master.2025-05-23"
2223
+ const wf=function(){return bf({components:cf,directives:yf,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},Sf="3.8.6-master.2025-05-23"
2221
2224
  wf.version=Sf,e.blueprints=Kt,e.components=cf,e.createVuetify=wf,e.directives=yf,e.useDate=Cu,e.useDefaults=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0
2222
2225
  const{props:a,provideSubDefaults:l}=xt(e,t)
2223
2226
  return l(),a},e.useDisplay=In,e.useGoTo=An,e.useLayout=ta,e.useLocale=ma,e.useRtl=ha,e.useTheme=Ia,e.version=Sf}))