vuetify 3.11.5 → 3.11.6

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.
Files changed (34) hide show
  1. package/dist/json/attributes.json +2340 -2340
  2. package/dist/json/importMap-labs.json +12 -12
  3. package/dist/json/importMap.json +186 -186
  4. package/dist/json/web-types.json +4227 -4227
  5. package/dist/vuetify-labs.cjs +22 -11
  6. package/dist/vuetify-labs.css +4831 -4828
  7. package/dist/vuetify-labs.d.ts +64 -64
  8. package/dist/vuetify-labs.esm.js +22 -11
  9. package/dist/vuetify-labs.esm.js.map +1 -1
  10. package/dist/vuetify-labs.js +22 -11
  11. package/dist/vuetify-labs.min.css +2 -2
  12. package/dist/vuetify.cjs +22 -11
  13. package/dist/vuetify.cjs.map +1 -1
  14. package/dist/vuetify.css +4510 -4507
  15. package/dist/vuetify.d.ts +64 -64
  16. package/dist/vuetify.esm.js +22 -11
  17. package/dist/vuetify.esm.js.map +1 -1
  18. package/dist/vuetify.js +22 -11
  19. package/dist/vuetify.js.map +1 -1
  20. package/dist/vuetify.min.css +2 -2
  21. package/dist/vuetify.min.js +7 -8
  22. package/dist/vuetify.min.js.map +1 -1
  23. package/lib/components/VCalendar/composables/calendarWithIntervals.js +9 -6
  24. package/lib/components/VCalendar/composables/calendarWithIntervals.js.map +1 -1
  25. package/lib/components/VColorPicker/VColorPickerSwatches.css +4 -0
  26. package/lib/components/VColorPicker/VColorPickerSwatches.js +10 -2
  27. package/lib/components/VColorPicker/VColorPickerSwatches.js.map +1 -1
  28. package/lib/components/VColorPicker/VColorPickerSwatches.sass +4 -0
  29. package/lib/components/VDatePicker/VDatePickerControls.css +0 -1
  30. package/lib/components/VDatePicker/VDatePickerControls.sass +0 -1
  31. package/lib/entry-bundler.js +1 -1
  32. package/lib/framework.d.ts +64 -64
  33. package/lib/framework.js +1 -1
  34. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.11.5
2
+ * Vuetify v3.11.6
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -1520,14 +1520,13 @@ return!1!==e&&e>=0&&e<=1440?e:n.value*o.value}),c=t.computed(()=>r.value*i.value
1520
1520
  return e.map(e=>function(e,t,a,l,n){const o=[]
1521
1521
  for(let r=0;r<l;r++){const l=t+r*a,i=Zs(e)
1522
1522
  o.push(Gs(i,l,n))}return o}(e,t,l,n,i))}),p=t.computed(()=>e.intervalFormat?e.intervalFormat:iu(a.locale.current.value,(e,t)=>t?0===e.minute?{timeZone:"UTC",hour:"numeric"}:{timeZone:"UTC",hour:"numeric",minute:"2-digit"}:{timeZone:"UTC",hour:"2-digit",minute:"2-digit"}))
1523
- function m(e){return e/o.value*i.value}function f(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1]
1523
+ function m(e){return e/o.value*i.value}function f(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1]
1524
1524
  const a=!1!==t
1525
1525
  let l=g(e,"boolean"!=typeof t?t:void 0)
1526
- return!1===l||(l*=c.value,a&&(l<0&&(l=0),l>c.value&&(l=c.value))),l}function g(e,t){let a=$s(e)
1526
+ return!1===l||(l*=c.value,a?l<0?l=0:l>c.value&&(l=c.value):l<0?l+=c.value:l>c.value&&(l-=c.value)),l}function g(e,t){let a=$s(e)
1527
1527
  if(!1===a)return!1
1528
1528
  const l=r.value*o.value
1529
- if(t&&"object"==typeof e&&"day"in e){const n=Os(e),o=Os(t)
1530
- n>o&&(a+=(n-o)*l)}return(a-u.value)/l}return{...a,scrollAreaRef:l,parsedFirstInterval:n,parsedIntervalMinutes:o,parsedIntervalCount:r,parsedIntervalHeight:i,parsedFirstTime:s,firstMinute:u,bodyHeight:c,days:d,intervals:v,intervalFormatter:p,showIntervalLabelDefault:function(e){const t=v.value[0][0]
1529
+ if(t&&"object"==typeof e&&"day"in e){a+=(Os(e)-Os(t))*l}return(a-u.value)/l}return{...a,scrollAreaRef:l,parsedFirstInterval:n,parsedIntervalMinutes:o,parsedIntervalCount:r,parsedIntervalHeight:i,parsedFirstTime:s,firstMinute:u,bodyHeight:c,days:d,intervals:v,intervalFormatter:p,showIntervalLabelDefault:function(e){const t=v.value[0][0]
1531
1530
  return!(t.hour===e.hour&&t.minute===e.minute)},intervalStyleDefault:function(e){},getTimestampAtEvent:function(e,t){const l=Zs(t),n=e.currentTarget.getBoundingClientRect(),r=u.value,s=e,c=e,d=s.changedTouches||s.touches,v=((d&&d[0]?d[0].clientY:c.clientY)-n.top)/i.value
1532
1531
  return Gs(l,r+Math.floor(v*o.value),a.times.now)},getSlotScope:function(e){const t=Zs(e)
1533
1532
  return t.timeToY=f,t.timeDelta=g,t.minutesToPixels=m,t.week=d.value,t.intervalRange=[u.value,u.value+r.value*o.value],t},scrollToTime:function(e){const t=f(e),a=l.value
@@ -1861,7 +1860,7 @@ const rd=vt({swatches:{type:Array,default:()=>function(e){return Object.keys(e).
1861
1860
  return a.base?[a.base,a.darken4,a.darken3,a.darken2,a.darken1,a.lighten1,a.lighten2,a.lighten3,a.lighten4,a.lighten5]:[a.black,a.white,a.transparent]})}(od)},disabled:Boolean,color:Object,maxHeight:[Number,String],...pt()},"VColorPickerSwatches")
1862
1861
  const id=Vt({name:"VColorPickerSwatches",props:rd(),emits:{"update:color":e=>!0},setup(e,a){let{emit:l}=a
1863
1862
  return Bt(()=>t.createElementVNode("div",{class:t.normalizeClass(["v-color-picker-swatches",e.class]),style:t.normalizeStyle([{maxHeight:b(e.maxHeight)},e.style])},[t.createElementVNode("div",null,[e.swatches.map(a=>t.createElementVNode("div",{class:"v-color-picker-swatches__swatch"},[a.map(a=>{const n=qe(a),o=Qe(n),r=tt(n)
1864
- return t.createElementVNode("div",{class:"v-color-picker-swatches__color",onClick:()=>o&&l("update:color",o)},[t.createElementVNode("div",{style:{background:r}},[e.color&&St(e.color,o)?t.createVNode(Jl,{size:"x-small",icon:"$success",color:ct(a,"#FFFFFF")>2?"white":"black"},null):void 0])])})]))])])),{}}}),sd=kt("v-picker-title"),ud=vt({color:String,...wl(),...pt(),...ol(),...Sl(),...nn(),...mn(),...pl(),...Pa(),...ya()},"VSheet"),cd=wt()({name:"VSheet",props:ud(),setup(e,a){let{slots:l}=a
1863
+ return t.createElementVNode("div",{class:t.normalizeClass(["v-color-picker-swatches__color",{"v-color-picker-swatches__color--disabled":e.disabled}]),onClick:()=>function(t){!e.disabled&&t&&l("update:color",t)}(o)},[t.createElementVNode("div",{style:{background:r}},[e.color&&St(e.color,o)?t.createVNode(Jl,{size:"x-small",icon:"$success",color:ct(a,"#FFFFFF")>2?"white":"black"},null):void 0])])})]))])])),{}}}),sd=kt("v-picker-title"),ud=vt({color:String,...wl(),...pt(),...ol(),...Sl(),...nn(),...mn(),...pl(),...Pa(),...ya()},"VSheet"),cd=wt()({name:"VSheet",props:ud(),setup(e,a){let{slots:l}=a
1865
1864
  const{themeClasses:n}=Ca(e),{backgroundColorClasses:o,backgroundColorStyles:r}=dl(()=>e.color),{borderClasses:i}=kl(e),{dimensionStyles:s}=rl(e),{elevationClasses:u}=xl(e),{locationStyles:c}=on(e),{positionClasses:d}=fn(e),{roundedClasses:v}=ml(e)
1866
1865
  return Bt(()=>t.createVNode(e.tag,{class:t.normalizeClass(["v-sheet",n.value,o.value,i.value,u.value,d.value,v.value,e.class]),style:t.normalizeStyle([r.value,s.value,c.value,e.style])},l)),{}}}),dd=vt({bgColor:String,divided:Boolean,landscape:Boolean,title:String,hideHeader:Boolean,hideTitle:Boolean,...ud()},"VPicker"),vd=wt()({name:"VPicker",props:dd(),setup(e,a){let{slots:l}=a
1867
1866
  const{backgroundColorClasses:n,backgroundColorStyles:o}=dl(()=>e.color)
@@ -2848,8 +2847,8 @@ if(m.run(()=>{l.install(u)}),u.onUnmount(()=>m.stop()),u.provide(gt,e),u.provide
2848
2847
  else{const{mount:e}=u
2849
2848
  u.mount=function(){const l=e(...arguments)
2850
2849
  return t.nextTick(()=>a.update()),u.mount=e,l}}("boolean"!=typeof __VUE_OPTIONS_API__||__VUE_OPTIONS_API__)&&u.mixin({computed:{$vuetify(){return t.reactive({defaults:Yg.call(this,gt),display:Yg.call(this,No),theme:Yg.call(this,ha),icons:Yg.call(this,Ft),locale:Yg.call(this,va),date:Yg.call(this,Cu)})}}})},unmount:function(){u.stop()},defaults:e,display:a,theme:l,icons:c,locale:d,date:v,goTo:p}})}function Yg(e){const t=this.$,a=t.parent?.provides??t.vnode.appContext?.provides
2851
- if(a&&e in a)return a[e]}Wg.version="3.11.5"
2852
- const Ug=function(){return Wg({components:Dg,directives:jg,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},Gg="3.11.5"
2850
+ if(a&&e in a)return a[e]}Wg.version="3.11.6"
2851
+ const Ug=function(){return Wg({components:Dg,directives:jg,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},Gg="3.11.6"
2853
2852
  Ug.version=Gg,e.blueprints=Gt,e.components=Dg,e.createVuetify=Ug,e.directives=jg,e.useDate=_u,e.useDefaults=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0
2854
2853
  const{props:a,provideSubDefaults:l}=bt(e,t)
2855
2854
  return l(),a},e.useDisplay=Ro,e.useGoTo=Mo,e.useHotkey=function(e,a){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}