@vuetify/nightly 3.7.11-master.2025-02-08 → 3.7.11-master.2025-02-10

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.7.11-master.2025-02-08
2
+ * Vuetify v3.7.11-master.2025-02-10
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -784,13 +784,13 @@ return o?t.createVNode(rr,t.mergeProps({value:n?.value},u),{activator:a=>{let{pr
784
784
  const r={...n,...o,value:e.returnObject?i:n.value}
785
785
  return l.header?l.header({props:r}):t.createVNode(dr,r,s)},default:()=>t.createVNode(hr,{items:o,returnObject:e.returnObject},l)}):l.item?l.item({props:n}):t.createVNode(dr,t.mergeProps(n,{value:e.returnObject?i:n.value}),s)}))}}),yr=ht({items:{type:Array,default:()=>[]},itemTitle:{type:[String,Array,Function],default:"title"},itemValue:{type:[String,Array,Function],default:"value"},itemChildren:{type:[Boolean,String,Array,Function],default:"children"},itemProps:{type:[Boolean,String,Array,Function],default:"props"},returnObject:Boolean,valueComparator:Function},"list-items")
786
786
  function br(e,t){const a=v(t,e.itemTitle,t),l=v(t,e.itemValue,a),o=v(t,e.itemChildren),n={title:a,value:l,...!0===e.itemProps?"object"!=typeof t||null==t||Array.isArray(t)?void 0:"children"in t?x(t,["children"]):t:v(t,e.itemProps)}
787
- return{title:String(n.title??""),value:n.value,props:n,children:Array.isArray(o)?Vr(e,o):void 0,raw:t}}function Vr(e,a){const l=t.toRaw(e),o=[]
788
- for(const e of a)o.push(br(l,e))
789
- return o}function wr(e){const a=t.computed((()=>Vr(e,e.items))),l=t.computed((()=>a.value.some((e=>null===e.value)))),o=t.shallowRef(new Map),n=t.shallowRef([])
787
+ return{title:String(n.title??""),value:n.value,props:n,children:Array.isArray(o)?Vr(e,o):void 0,raw:t}}function Vr(e,t){const a=S(e,["itemTitle","itemValue","itemChildren","itemProps","returnObject","valueComparator"]),l=[]
788
+ for(const e of t)l.push(br(a,e))
789
+ return l}function wr(e){const a=t.computed((()=>Vr(e,e.items))),l=t.computed((()=>a.value.some((e=>null===e.value)))),o=t.shallowRef(new Map),n=t.shallowRef([])
790
790
  return t.watchEffect((()=>{const e=a.value,t=new Map,l=[]
791
791
  for(let a=0;a<e.length;a++){const o=e[a]
792
792
  if(ne(o.value)||null===o.value){let e=t.get(o.value)
793
- e||(e=[],t.set(o.value,e)),e.push(o)}else l.push(o)}o.value=t,n.value=l})),{items:a,transformIn:function(r){const i=t.toRaw(r),s=o.value,u=a.value,d=n.value,v=l.value,p=e.returnObject,f=!!e.valueComparator,m=e.valueComparator||c,g=t.toRaw(e),h=[]
793
+ e||(e=[],t.set(o.value,e)),e.push(o)}else l.push(o)}o.value=t,n.value=l})),{items:a,transformIn:function(r){const i=t.toRaw(r),s=o.value,u=a.value,d=n.value,v=l.value,p=e.returnObject,f=!!e.valueComparator,m=e.valueComparator||c,g=S(e,["itemTitle","itemValue","itemChildren","itemProps","returnObject","valueComparator"]),h=[]
794
794
  e:for(const e of i){if(!v&&null===e)continue
795
795
  if(p&&"string"==typeof e){h.push(br(g,e))
796
796
  continue}const t=s.get(e)
@@ -1259,10 +1259,15 @@ return{min:a,max:l,step:o,decimals:n,roundValue:function(e){if(e=parseFloat(e),o
1259
1259
  const t=R(e,a.value,l.value),r=a.value%o.value,i=Math.round((t-r)/o.value)*o.value+r
1260
1260
  return parseFloat(Math.min(i,l.value).toFixed(n.value))}}},js=e=>{let{props:a,steps:l,onSliderStart:o,onSliderMove:n,onSliderEnd:r,getActiveThumb:i}=e
1261
1261
  const{isRtl:s}=Va(),u=t.toRef(a,"reverse"),c=t.computed((()=>"vertical"===a.direction)),d=t.computed((()=>c.value!==u.value)),{min:v,max:f,step:m,decimals:g,roundValue:h}=l,y=t.computed((()=>parseInt(a.thumbSize,10))),b=t.computed((()=>parseInt(a.tickSize,10))),V=t.computed((()=>parseInt(a.trackSize,10))),w=t.computed((()=>(f.value-v.value)/m.value)),S=t.toRef(a,"disabled"),k=t.computed((()=>a.error||a.disabled?void 0:a.thumbColor??a.color)),x=t.computed((()=>a.error||a.disabled?void 0:a.trackColor??a.color)),N=t.computed((()=>a.error||a.disabled?void 0:a.trackFillColor??a.color)),C=t.shallowRef(!1),_=t.shallowRef(0),I=t.ref(),P=t.ref()
1262
- function B(e){const t="vertical"===a.direction,l=t?"top":"left",o=t?"height":"width",n=t?"clientY":"clientX",{[l]:r,[o]:i}=I.value?.$el.getBoundingClientRect(),u=function(e,t){return"touches"in e&&e.touches.length?e.touches[0][t]:"changedTouches"in e&&e.changedTouches.length?e.changedTouches[0][t]:e[t]}(e,n)
1263
- let c=Math.min(Math.max((u-r-_.value)/i,0),1)||0
1264
- return(t?d.value:d.value!==s.value)&&(c=1-c),h(v.value+c*(f.value-v.value))}const A=e=>{r({value:B(e)}),C.value=!1,_.value=0},T=e=>{P.value=i(e),P.value&&(C.value=!0,P.value.contains(e.target)?_.value=Os(e,P.value,a.direction):(_.value=0,n({value:B(e)})),o({value:B(e)}),t.nextTick((()=>P.value?.focus())))},D={passive:!0,capture:!0}
1265
- function E(e){n({value:B(e)})}function F(e){e.stopPropagation(),e.preventDefault(),A(e),window.removeEventListener("mousemove",E,D),window.removeEventListener("mouseup",F)}function $(e){A(e),window.removeEventListener("touchmove",E,D),e.target?.removeEventListener("touchend",$)}const M=e=>{const t=(e-v.value)/(f.value-v.value)*100
1262
+ function B(e){const t=I.value?.$el
1263
+ if(!t)return
1264
+ const l="vertical"===a.direction,o=l?"top":"left",n=l?"height":"width",r=l?"clientY":"clientX",{[o]:i,[n]:u}=t.getBoundingClientRect(),c=function(e,t){return"touches"in e&&e.touches.length?e.touches[0][t]:"changedTouches"in e&&e.changedTouches.length?e.changedTouches[0][t]:e[t]}(e,r)
1265
+ let p=Math.min(Math.max((c-i-_.value)/u,0),1)||0
1266
+ return(l?d.value:d.value!==s.value)&&(p=1-p),h(v.value+p*(f.value-v.value))}const A=e=>{const t=B(e)
1267
+ null!=t&&r({value:t}),C.value=!1,_.value=0},T=e=>{const l=B(e)
1268
+ P.value=i(e),P.value&&(C.value=!0,P.value.contains(e.target)?_.value=Os(e,P.value,a.direction):(_.value=0,null!=l&&n({value:l})),null!=l&&o({value:l}),t.nextTick((()=>P.value?.focus())))},D={passive:!0,capture:!0}
1269
+ function E(e){const t=B(e)
1270
+ null!=t&&n({value:t})}function F(e){e.stopPropagation(),e.preventDefault(),A(e),window.removeEventListener("mousemove",E,D),window.removeEventListener("mouseup",F)}function $(e){A(e),window.removeEventListener("touchmove",E,D),e.target?.removeEventListener("touchend",$)}const M=e=>{const t=(e-v.value)/(f.value-v.value)*100
1266
1271
  return R(isNaN(t)?0:t,0,100)},O=t.toRef(a,"showTicks"),L=t.computed((()=>O.value?a.ticks?Array.isArray(a.ticks)?a.ticks.map((e=>({value:e,position:M(e),label:e.toString()}))):Object.keys(a.ticks).map((e=>({value:parseFloat(e),position:M(parseFloat(e)),label:a.ticks[e]}))):w.value!==1/0?p(w.value+1).map((e=>{const t=v.value+e*m.value
1267
1272
  return{value:t,position:M(t)}})):[]:[])),z=t.computed((()=>L.value.some((e=>{let{label:t}=e
1268
1273
  return!!t})))),j={activeThumbRef:P,color:t.toRef(a,"color"),decimals:g,disabled:S,direction:t.toRef(a,"direction"),elevation:t.toRef(a,"elevation"),hasLabels:z,isReversed:u,indexFromEnd:d,min:v,max:f,mousePressed:C,numTicks:w,onSliderMousedown:function(e){e.preventDefault(),T(e),window.addEventListener("mousemove",E,D),window.addEventListener("mouseup",F,{passive:!1})},onSliderTouchstart:function(e){T(e),window.addEventListener("touchmove",E,D),e.target?.addEventListener("touchend",$,{passive:!1})},parsedTicks:L,parseMouseMove:B,position:M,readonly:t.toRef(a,"readonly"),rounded:t.toRef(a,"rounded"),roundValue:h,showTicks:O,startOffset:_,step:m,thumbSize:y,thumbColor:k,thumbLabel:t.toRef(a,"thumbLabel"),ticks:t.toRef(a,"ticks"),tickSize:b,trackColor:x,trackContainerRef:I,trackFillColor:N,trackSize:V,vertical:c}
@@ -2113,8 +2118,8 @@ if(d.install(e),e.provide(xt,u),e.provide(yn,c),e.provide(wa,d),e.provide(Lt,v),
2113
2118
  else{const{mount:a}=e
2114
2119
  e.mount=function(){const l=a(...arguments)
2115
2120
  return t.nextTick((()=>c.update())),e.mount=a,l}}kt.reset(),("boolean"!=typeof __VUE_OPTIONS_API__||__VUE_OPTIONS_API__)&&e.mixin({computed:{$vuetify(){return t.reactive({defaults:uf.call(this,xt),display:uf.call(this,yn),theme:uf.call(this,wa),icons:uf.call(this,Lt),locale:uf.call(this,ga),date:uf.call(this,gu)})}}})},defaults:u,display:c,theme:d,icons:v,locale:p,date:f,goTo:m}}function uf(e){const t=this.$,a=t.parent?.provides??t.vnode.appContext?.provides
2116
- if(a&&e in a)return a[e]}sf.version="3.7.11-master.2025-02-08"
2117
- const cf=function(){return sf({components:Qp,directives:rf,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},df="3.7.11-master.2025-02-08"
2121
+ if(a&&e in a)return a[e]}sf.version="3.7.11-master.2025-02-10"
2122
+ const cf=function(){return sf({components:Qp,directives:rf,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},df="3.7.11-master.2025-02-10"
2118
2123
  cf.version=df,e.blueprints=Qt,e.components=Qp,e.createVuetify=cf,e.directives=rf,e.useDate=yu,e.useDefaults=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0
2119
2124
  const{props:a,provideSubDefaults:l}=_t(e,t)
2120
2125
  return l(),a},e.useDisplay=Nn,e.useGoTo=Bn,e.useLayout=oa,e.useLocale=ya,e.useRtl=Va,e.useTheme=Na,e.version=df}))