@vuetify/nightly 3.7.4-master.2024-11-14 → 3.7.4-master.2024-11-20

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 (39) hide show
  1. package/dist/json/attributes.json +3484 -3484
  2. package/dist/json/importMap-labs.json +14 -14
  3. package/dist/json/importMap.json +146 -146
  4. package/dist/json/web-types.json +6328 -6328
  5. package/dist/vuetify-labs.css +2980 -2976
  6. package/dist/vuetify-labs.d.ts +3 -7
  7. package/dist/vuetify-labs.esm.js +19 -14
  8. package/dist/vuetify-labs.esm.js.map +1 -1
  9. package/dist/vuetify-labs.js +19 -14
  10. package/dist/vuetify-labs.min.css +2 -2
  11. package/dist/vuetify.css +1127 -1123
  12. package/dist/vuetify.d.ts +53 -57
  13. package/dist/vuetify.esm.js +14 -11
  14. package/dist/vuetify.esm.js.map +1 -1
  15. package/dist/vuetify.js +14 -11
  16. package/dist/vuetify.js.map +1 -1
  17. package/dist/vuetify.min.css +2 -2
  18. package/dist/vuetify.min.js +9 -10
  19. package/dist/vuetify.min.js.map +1 -1
  20. package/lib/components/VBadge/VBadge.css +4 -0
  21. package/lib/components/VBadge/VBadge.sass +4 -0
  22. package/lib/components/VConfirmEdit/VConfirmEdit.mjs +9 -7
  23. package/lib/components/VConfirmEdit/VConfirmEdit.mjs.map +1 -1
  24. package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs +1 -1
  25. package/lib/components/VConfirmEdit/__test__/VConfirmEdit.spec.browser.mjs.map +1 -1
  26. package/lib/components/VConfirmEdit/index.d.mts +3 -7
  27. package/lib/components/VList/VListItem.mjs +3 -2
  28. package/lib/components/VList/VListItem.mjs.map +1 -1
  29. package/lib/components/index.d.mts +3 -7
  30. package/lib/entry-bundler.mjs +1 -1
  31. package/lib/framework.mjs +1 -1
  32. package/lib/index.d.mts +50 -50
  33. package/lib/labs/VDateInput/VDateInput.mjs +1 -1
  34. package/lib/labs/VDateInput/VDateInput.mjs.map +1 -1
  35. package/lib/labs/VNumberInput/VNumberInput.mjs +4 -2
  36. package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
  37. package/lib/locale/fr.mjs +1 -1
  38. package/lib/locale/fr.mjs.map +1 -1
  39. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Vuetify v3.7.4-master.2024-11-14
2
+ * Vuetify v3.7.4-master.2024-11-20
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -761,12 +761,12 @@ const{isOpen:o,open:n,id:r}=lr(t.toRef(e,"value"),!0),i=t.computed((()=>`v-list-
761
761
  function c(e){e.stopPropagation(),n(!o.value,e)}const d=t.computed((()=>({onClick:c,class:"v-list-group__header",id:i.value}))),v=t.computed((()=>o.value?e.collapseIcon:e.expandIcon)),p=t.computed((()=>({VListItem:{active:o.value,activeColor:e.activeColor,baseColor:e.baseColor,color:e.color,prependIcon:e.prependIcon||e.subgroup&&v.value,appendIcon:e.appendIcon||!e.subgroup&&v.value,title:e.title,value:e.value}})))
762
762
  return Mt((()=>t.createVNode(e.tag,{class:["v-list-group",{"v-list-group--prepend":s?.hasPrepend.value,"v-list-group--fluid":e.fluid,"v-list-group--subgroup":e.subgroup,"v-list-group--open":o.value},e.class],style:e.style},{default:()=>[l.activator&&t.createVNode(ll,{defaults:p.value},{default:()=>[t.createVNode(or,null,{default:()=>[l.activator({props:d.value,isOpen:o.value})]})]}),t.createVNode(fl,{transition:{component:el},disabled:!u.value},{default:()=>[t.withDirectives(t.createVNode("div",{class:"v-list-group__items",role:"group","aria-labelledby":i.value},[l.default?.()]),[[t.vShow,o.value]])]})]}))),{isOpen:o}}}),ir=ht({opacity:[Number,String],...yt(),...Ba()},"VListItemSubtitle"),sr=Pt()({name:"VListItemSubtitle",props:ir(),setup(e,a){let{slots:l}=a
763
763
  return Mt((()=>t.createVNode(e.tag,{class:["v-list-item-subtitle",e.class],style:[{"--v-list-item-subtitle-opacity":e.opacity},e.style]},l))),{}}}),ur=Bt("v-list-item-title"),cr=ht({active:{type:Boolean,default:void 0},activeClass:String,activeColor:String,appendAvatar:String,appendIcon:Ot,baseColor:String,disabled:Boolean,lines:[Boolean,String],link:{type:Boolean,default:void 0},nav:Boolean,prependAvatar:String,prependIcon:Ot,ripple:{type:[Boolean,Object],default:!0},slim:Boolean,subtitle:[String,Number],title:[String,Number],value:null,onClick:G(),onClickOnce:G(),...bl(),...yt(),...Al(),...ol(),...wl(),...dl(),...mo(),...Ba(),...Sa(),...El({variant:"text"})},"VListItem"),dr=Pt()({name:"VListItem",directives:{Ripple:Do},props:cr(),emits:{click:e=>!0},setup(e,a){let{attrs:l,slots:o,emit:n}=a
764
- const r=fo(e,l),i=t.computed((()=>void 0===e.value?r.href.value:e.value)),{activate:s,isActivated:u,select:c,isOpen:d,isSelected:v,isIndeterminate:p,isGroupActivator:f,root:m,parent:g,openOnSelect:h,id:y}=lr(i,!1),b=Un(),V=t.computed((()=>!1!==e.active&&(e.active||r.isActive?.value||(m.activatable.value?u.value:v.value)))),w=t.computed((()=>!1!==e.link&&r.isLink.value)),S=t.computed((()=>!e.disabled&&!1!==e.link&&(e.link||r.isClickable.value||!!b&&(m.selectable.value||m.activatable.value||null!=e.value)))),k=t.computed((()=>e.rounded||e.nav)),x=t.computed((()=>e.color??e.activeColor)),N=t.computed((()=>({color:V.value?x.value??e.baseColor:e.baseColor,variant:e.variant})))
764
+ const r=fo(e,l),i=t.computed((()=>void 0===e.value?r.href.value:e.value)),{activate:s,isActivated:u,select:c,isOpen:d,isSelected:v,isIndeterminate:p,isGroupActivator:f,root:m,parent:g,openOnSelect:h,id:y}=lr(i,!1),b=Un(),V=t.computed((()=>!1!==e.active&&(e.active||r.isActive?.value||(m.activatable.value?u.value:v.value)))),w=t.computed((()=>!1!==e.link&&r.isLink.value)),S=t.computed((()=>!!b&&(m.selectable.value||m.activatable.value||null!=e.value))),k=t.computed((()=>!e.disabled&&!1!==e.link&&(e.link||r.isClickable.value||S.value))),x=t.computed((()=>e.rounded||e.nav)),N=t.computed((()=>e.color??e.activeColor)),C=t.computed((()=>({color:V.value?N.value??e.baseColor:e.baseColor,variant:e.variant})))
765
765
  t.watch((()=>r.isActive?.value),(e=>{e&&null!=g.value&&m.open(g.value,!0),e&&h(e)}),{immediate:!0})
766
- const{themeClasses:C}=xa(e),{borderClasses:_}=Vl(e),{colorClasses:I,colorStyles:P,variantClasses:B}=Fl(N),{densityClasses:A}=Rl(e),{dimensionStyles:R}=nl(e),{elevationClasses:T}=Sl(e),{roundedClasses:D}=vl(k),E=t.computed((()=>e.lines?`v-list-item--${e.lines}-line`:void 0)),F=t.computed((()=>({isActive:V.value,select:c,isOpen:d.value,isSelected:v.value,isIndeterminate:p.value})))
767
- function $(t){n("click",t),S.value&&(r.navigate?.(t),f||(m.activatable.value?s(!u.value,t):(m.selectable.value||null!=e.value)&&c(!v.value,t)))}function M(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),e.target.dispatchEvent(new MouseEvent("click",e)))}return Mt((()=>{const a=w.value?"a":e.tag,l=o.title||null!=e.title,n=o.subtitle||null!=e.subtitle,i=!(!e.appendAvatar&&!e.appendIcon),s=!(!i&&!o.append),c=!(!e.prependAvatar&&!e.prependIcon),d=!(!c&&!o.prepend)
766
+ const{themeClasses:_}=xa(e),{borderClasses:I}=Vl(e),{colorClasses:P,colorStyles:B,variantClasses:A}=Fl(C),{densityClasses:R}=Rl(e),{dimensionStyles:T}=nl(e),{elevationClasses:D}=Sl(e),{roundedClasses:E}=vl(x),F=t.computed((()=>e.lines?`v-list-item--${e.lines}-line`:void 0)),$=t.computed((()=>({isActive:V.value,select:c,isOpen:d.value,isSelected:v.value,isIndeterminate:p.value})))
767
+ function M(t){n("click",t),k.value&&(r.navigate?.(t),f||(m.activatable.value?s(!u.value,t):(m.selectable.value||null!=e.value)&&c(!v.value,t)))}function O(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),e.target.dispatchEvent(new MouseEvent("click",e)))}return Mt((()=>{const a=w.value?"a":e.tag,l=o.title||null!=e.title,n=o.subtitle||null!=e.subtitle,i=!(!e.appendAvatar&&!e.appendIcon),s=!(!i&&!o.append),c=!(!e.prependAvatar&&!e.prependIcon),d=!(!c&&!o.prepend)
768
768
  var p,f
769
- return b?.updateHasPrepend(d),e.activeColor&&(p="active-color",f=["color","base-color"],f=Array.isArray(f)?f.slice(0,-1).map((e=>`'${e}'`)).join(", ")+` or '${f.at(-1)}'`:`'${f}'`,t.warn(`[Vuetify UPGRADE] '${p}' is deprecated, use ${f} instead.`)),t.withDirectives(t.createVNode(a,t.mergeProps({class:["v-list-item",{"v-list-item--active":V.value,"v-list-item--disabled":e.disabled,"v-list-item--link":S.value,"v-list-item--nav":e.nav,"v-list-item--prepend":!d&&b?.hasPrepend.value,"v-list-item--slim":e.slim,[`${e.activeClass}`]:e.activeClass&&V.value},C.value,_.value,I.value,A.value,T.value,E.value,D.value,B.value,e.class],style:[P.value,R.value,e.style],tabindex:S.value?b?-2:0:void 0,"aria-selected":m.activatable.value?u.value:v.value,onClick:$,onKeydown:S.value&&!w.value&&M},r.linkProps),{default:()=>[Dl(S.value||V.value,"v-list-item"),d&&t.createVNode("div",{key:"prepend",class:"v-list-item__prepend"},[o.prepend?t.createVNode(ll,{key:"prepend-defaults",disabled:!c,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon},VListItemAction:{start:!0}}},{default:()=>[o.prepend?.(F.value)]}):t.createVNode(t.Fragment,null,[e.prependAvatar&&t.createVNode(Uo,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&t.createVNode(Zl,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)]),t.createVNode("div",{class:"v-list-item__spacer"},null)]),t.createVNode("div",{class:"v-list-item__content","data-no-activator":""},[l&&t.createVNode(ur,{key:"title"},{default:()=>[o.title?.({title:e.title})??e.title]}),n&&t.createVNode(sr,{key:"subtitle"},{default:()=>[o.subtitle?.({subtitle:e.subtitle})??e.subtitle]}),o.default?.(F.value)]),s&&t.createVNode("div",{key:"append",class:"v-list-item__append"},[o.append?t.createVNode(ll,{key:"append-defaults",disabled:!i,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon},VListItemAction:{end:!0}}},{default:()=>[o.append?.(F.value)]}):t.createVNode(t.Fragment,null,[e.appendIcon&&t.createVNode(Zl,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&t.createVNode(Uo,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)]),t.createVNode("div",{class:"v-list-item__spacer"},null)])]}),[[t.resolveDirective("ripple"),S.value&&e.ripple]])})),{activate:s,isActivated:u,isGroupActivator:f,isSelected:v,list:b,select:c,root:m,id:y}}}),vr=ht({color:String,inset:Boolean,sticky:Boolean,title:String,...yt(),...Ba()},"VListSubheader"),pr=Pt()({name:"VListSubheader",props:vr(),setup(e,a){let{slots:l}=a
769
+ return b?.updateHasPrepend(d),e.activeColor&&(p="active-color",f=["color","base-color"],f=Array.isArray(f)?f.slice(0,-1).map((e=>`'${e}'`)).join(", ")+` or '${f.at(-1)}'`:`'${f}'`,t.warn(`[Vuetify UPGRADE] '${p}' is deprecated, use ${f} instead.`)),t.withDirectives(t.createVNode(a,t.mergeProps({class:["v-list-item",{"v-list-item--active":V.value,"v-list-item--disabled":e.disabled,"v-list-item--link":k.value,"v-list-item--nav":e.nav,"v-list-item--prepend":!d&&b?.hasPrepend.value,"v-list-item--slim":e.slim,[`${e.activeClass}`]:e.activeClass&&V.value},_.value,I.value,P.value,R.value,D.value,F.value,E.value,A.value,e.class],style:[B.value,T.value,e.style],tabindex:k.value?b?-2:0:void 0,"aria-selected":S.value?m.activatable.value?u.value:m.selectable.value?v.value:V.value:void 0,onClick:M,onKeydown:k.value&&!w.value&&O},r.linkProps),{default:()=>[Dl(k.value||V.value,"v-list-item"),d&&t.createVNode("div",{key:"prepend",class:"v-list-item__prepend"},[o.prepend?t.createVNode(ll,{key:"prepend-defaults",disabled:!c,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon},VListItemAction:{start:!0}}},{default:()=>[o.prepend?.($.value)]}):t.createVNode(t.Fragment,null,[e.prependAvatar&&t.createVNode(Uo,{key:"prepend-avatar",density:e.density,image:e.prependAvatar},null),e.prependIcon&&t.createVNode(Zl,{key:"prepend-icon",density:e.density,icon:e.prependIcon},null)]),t.createVNode("div",{class:"v-list-item__spacer"},null)]),t.createVNode("div",{class:"v-list-item__content","data-no-activator":""},[l&&t.createVNode(ur,{key:"title"},{default:()=>[o.title?.({title:e.title})??e.title]}),n&&t.createVNode(sr,{key:"subtitle"},{default:()=>[o.subtitle?.({subtitle:e.subtitle})??e.subtitle]}),o.default?.($.value)]),s&&t.createVNode("div",{key:"append",class:"v-list-item__append"},[o.append?t.createVNode(ll,{key:"append-defaults",disabled:!i,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon},VListItemAction:{end:!0}}},{default:()=>[o.append?.($.value)]}):t.createVNode(t.Fragment,null,[e.appendIcon&&t.createVNode(Zl,{key:"append-icon",density:e.density,icon:e.appendIcon},null),e.appendAvatar&&t.createVNode(Uo,{key:"append-avatar",density:e.density,image:e.appendAvatar},null)]),t.createVNode("div",{class:"v-list-item__spacer"},null)])]}),[[t.resolveDirective("ripple"),k.value&&e.ripple]])})),{activate:s,isActivated:u,isGroupActivator:f,isSelected:v,list:b,select:c,root:m,id:y}}}),vr=ht({color:String,inset:Boolean,sticky:Boolean,title:String,...yt(),...Ba()},"VListSubheader"),pr=Pt()({name:"VListSubheader",props:vr(),setup(e,a){let{slots:l}=a
770
770
  const{textColorClasses:o,textColorStyles:n}=ul(t.toRef(e,"color"))
771
771
  return Mt((()=>{const a=!(!l.default&&!e.title)
772
772
  return t.createVNode(e.tag,{class:["v-list-subheader",{"v-list-subheader--inset":e.inset,"v-list-subheader--sticky":e.sticky},o.value,e.class],style:[{textColorStyles:n},e.style]},{default:()=>[a&&t.createVNode("div",{class:"v-list-subheader__text"},[l.default?.()??e.title])]})})),{}}}),fr=ht({color:String,inset:Boolean,length:[Number,String],opacity:[Number,String],thickness:[Number,String],vertical:Boolean,...yt(),...Sa()},"VDivider"),mr=Pt()({name:"VDivider",props:fr(),setup(e,a){let{attrs:l,slots:o}=a
@@ -1434,9 +1434,8 @@ return hu(e,ya())}const bu=ht({modelValue:null,color:String,cancelText:{type:Str
1434
1434
  const n=sa(e,"modelValue"),r=t.ref()
1435
1435
  t.watchEffect((()=>{r.value=structuredClone(t.toRaw(n.value))}))
1436
1436
  const{t:i}=ya(),s=t.computed((()=>c(n.value,r.value)))
1437
- function u(){n.value=r.value,l("save",r.value)}function d(){r.value=structuredClone(t.toRaw(n.value)),l("cancel")}let v=!1
1438
- return Mt((()=>{const a=t.createVNode(t.Fragment,null,[t.createVNode(Fo,{disabled:s.value,variant:"text",color:e.color,onClick:d,text:i(e.cancelText)},null),t.createVNode(Fo,{disabled:s.value,variant:"text",color:e.color,onClick:u,text:i(e.okText)},null)])
1439
- return t.createVNode(t.Fragment,null,[o.default?.({model:r,save:u,cancel:d,isPristine:s.value,get actions(){return v=!0,a}}),!v&&a])})),{save:u,cancel:d,isPristine:s}}}),wu=ht({expandOnClick:Boolean,showExpand:Boolean,expanded:{type:Array,default:()=>[]}},"DataTable-expand"),Su=Symbol.for("vuetify:datatable:expanded")
1437
+ function u(){n.value=r.value,l("save",r.value)}function d(){r.value=structuredClone(t.toRaw(n.value)),l("cancel")}function v(a){return t.createVNode(t.Fragment,null,[t.createVNode(Fo,t.mergeProps({disabled:s.value,variant:"text",color:e.color,onClick:d,text:i(e.cancelText)},a),null),t.createVNode(Fo,t.mergeProps({disabled:s.value,variant:"text",color:e.color,onClick:u,text:i(e.okText)},a),null)])}let p=!1
1438
+ return Mt((()=>t.createVNode(t.Fragment,null,[o.default?.({model:r,save:u,cancel:d,isPristine:s.value,get actions(){return p=!0,v}}),!p&&v()]))),{save:u,cancel:d,isPristine:s}}}),wu=ht({expandOnClick:Boolean,showExpand:Boolean,expanded:{type:Array,default:()=>[]}},"DataTable-expand"),Su=Symbol.for("vuetify:datatable:expanded")
1440
1439
  function ku(e){const a=t.toRef(e,"expandOnClick"),l=sa(e,"expanded",e.expanded,(e=>new Set(e)),(e=>[...e.values()]))
1441
1440
  function o(e,t){const a=new Set(l.value)
1442
1441
  t?a.add(e.value):a.delete(e.value),l.value=a}function n(e){return l.value.has(e.value)}const r={expand:o,expanded:l,expandOnClick:a,isExpanded:n,toggleExpand:function(e){o(e,!n(e))}}
@@ -2099,8 +2098,8 @@ if(d.install(e),e.provide(xt,u),e.provide(yn,c),e.provide(wa,d),e.provide(Lt,v),
2099
2098
  else{const{mount:a}=e
2100
2099
  e.mount=function(){const l=a(...arguments)
2101
2100
  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
2102
- if(a&&e in a)return a[e]}sf.version="3.7.4-master.2024-11-14"
2103
- const cf=function(){return sf({components:Qp,directives:rf,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},df="3.7.4-master.2024-11-14"
2101
+ if(a&&e in a)return a[e]}sf.version="3.7.4-master.2024-11-20"
2102
+ const cf=function(){return sf({components:Qp,directives:rf,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},df="3.7.4-master.2024-11-20"
2104
2103
  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
2105
2104
  const{props:a,provideSubDefaults:l}=_t(e,t)
2106
2105
  return l(),a},e.useDisplay=Nn,e.useGoTo=Bn,e.useLayout=oa,e.useLocale=ya,e.useRtl=Va,e.useTheme=Na,e.version=df}))