@vuetify/nightly 3.8.11-master.2025-06-24 → 3.8.11-master.2025-06-27

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.11-master.2025-06-24
2
+ * Vuetify v3.8.11-master.2025-06-27
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -1047,7 +1047,7 @@ function A(e){e.target!==document.activeElement&&e.preventDefault()}return Dt(((
1047
1047
  return t.createElementVNode("div",t.mergeProps({class:["v-field",{"v-field--active":g.value,"v-field--appended":f,"v-field--center-affix":e.centerAffix??!C.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--glow":e.glow,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":o,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!b(),[`v-field--variant-${e.variant}`]:!0},r.value,I.value,s.value,i.value,p.value,m.value,e.class],style:[_.value,e.style],onClick:A},l),[t.createElementVNode("div",{class:"v-field__overlay"},null),t.createVNode(uo,{name:"v-field",active:!!e.loading,color:e.error?"error":"string"==typeof e.loading?e.loading:e.color},{default:n.loader}),o&&t.createElementVNode("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&t.createVNode(v,{key:"prepend-icon",name:"prependInner",color:E.value},null),n["prepend-inner"]?.(R.value)]),t.createElementVNode("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&y.value&&t.createVNode(wi,{key:"floating-label",ref:k,class:t.normalizeClass([P.value]),floating:!0,for:V.value,style:t.normalizeStyle(B.value)},{default:()=>[b()]}),h.value&&t.createVNode(wi,{key:"label",ref:S,for:V.value},{default:()=>[b()]}),n.default?.({...R.value,props:{id:V.value,class:"v-field__input","aria-describedby":w.value},focus:c,blur:d})??t.createElementVNode("div",{id:V.value,class:"v-field__input","aria-describedby":w.value},null)]),u&&t.createVNode(al,{key:"clear"},{default:()=>[t.withDirectives(t.createElementVNode("div",{class:"v-field__clearable",onMousedown:e=>{e.preventDefault(),e.stopPropagation()}},[t.createVNode(ol,{defaults:{VIcon:{icon:e.clearIcon}}},{default:()=>[n.clear?n.clear({...R.value,props:{onFocus:c,onBlur:d,onClick:e["onClick:clear"],tabindex:-1}}):t.createVNode(v,{name:"clear",onFocus:c,onBlur:d,tabindex:-1},null)]})]),[[t.vShow,e.dirty]])]}),f&&t.createElementVNode("div",{key:"append",class:"v-field__append-inner"},[n["append-inner"]?.(R.value),e.appendInnerIcon&&t.createVNode(v,{key:"append-icon",name:"appendInner",color:E.value},null)]),t.createElementVNode("div",{class:t.normalizeClass(["v-field__outline",P.value]),style:t.normalizeStyle(B.value)},[a&&t.createElementVNode(t.Fragment,null,[t.createElementVNode("div",{class:"v-field__outline__start"},null),y.value&&t.createElementVNode("div",{class:"v-field__outline__notch"},[t.createVNode(wi,{ref:k,floating:!0,for:V.value},{default:()=>[b()]})]),t.createElementVNode("div",{class:"v-field__outline__end"},null)]),C.value&&y.value&&t.createVNode(wi,{ref:k,floating:!0,for:V.value},{default:()=>[b()]})])])})),{controlRef:x,fieldIconColor:E}}})
1048
1048
  function Ci(e){return{onIntersect:function(t,a){e.autofocus&&t&&a[0].target?.focus?.()}}}const Ni=["color","file","time","date","datetime-local","week","month"],Ei=ht({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:[Number,Function],prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...fn(),...ki()},"VTextField"),Ii=Nt()({name:"VTextField",directives:{vIntersect:hl},inheritAttrs:!1,props:Ei(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,a){let{attrs:l,emit:o,slots:n}=a
1049
1049
  const r=na(e,"modelValue"),{isFocused:i,focus:s,blur:u}=sn(e),{onIntersect:c}=Ci(e),d=t.computed((()=>"function"==typeof e.counterValue?e.counterValue(r.value):"number"==typeof e.counterValue?e.counterValue:(r.value??"").toString().length)),v=t.computed((()=>l.maxlength?l.maxlength:!e.counter||"number"!=typeof e.counter&&"string"!=typeof e.counter?void 0:e.counter)),p=t.computed((()=>["plain","underlined"].includes(e.variant))),m=t.ref(),f=t.ref(),g=t.ref(),h=t.computed((()=>Ni.includes(e.type)||e.persistentPlaceholder||i.value||e.active))
1050
- function y(){i.value||s(),t.nextTick((()=>{g.value!==document.activeElement&&g.value?.focus()}))}function b(e){o("mousedown:control",e),e.target!==g.value&&(y(),e.preventDefault())}function V(e){o("click:control",e)}function w(a){const l=a.target
1050
+ function y(){i.value||s(),t.nextTick((()=>{g.value!==document.activeElement&&t.nextTick((()=>g.value?.focus()))}))}function b(e){o("mousedown:control",e),e.target!==g.value&&(y(),e.preventDefault())}function V(e){o("click:control",e)}function w(a){const l=a.target
1051
1051
  if(r.value=l.value,e.modelModifiers?.trim&&["text","search","password","tel","url"].includes(e.type)){const e=[l.selectionStart,l.selectionEnd]
1052
1052
  t.nextTick((()=>{l.selectionStart=e[0],l.selectionEnd=e[1]}))}}return Dt((()=>{const a=!!(n.counter||!1!==e.counter&&null!=e.counter),o=!(!a&&!n.details),[s,S]=P(l),{modelValue:k,...x}=gn.filterProps(e),C=xi.filterProps(e)
1053
1053
  return t.createVNode(gn,t.mergeProps({ref:m,modelValue:r.value,"onUpdate:modelValue":e=>r.value=e,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-input--plain-underlined":p.value},e.class],style:e.style},s,x,{centerAffix:!p.value,focused:i.value}),{...n,default:a=>{let{id:l,isDisabled:o,isDirty:s,isReadonly:d,isValid:v,reset:p}=a
@@ -1642,7 +1642,7 @@ return e}(),v=t.computed((()=>e.itemsPerPageOptions.map((e=>"number"==typeof e?{
1642
1642
  return Dt((()=>{const a=hc.filterProps(e)
1643
1643
  return t.createElementVNode("div",{class:"v-data-table-footer"},[l.prepend?.(),t.createElementVNode("div",{class:"v-data-table-footer__items-per-page"},[t.createElementVNode("span",{"aria-label":o(e.itemsPerPageText)},[o(e.itemsPerPageText)]),t.createVNode($i,{items:v.value,modelValue:c.value,"onUpdate:modelValue":e=>d(Number(e)),density:"compact",variant:"outlined","hide-details":!0},null)]),t.createElementVNode("div",{class:"v-data-table-footer__info"},[t.createElementVNode("div",null,[o(e.pageText,u.value?i.value+1:0,s.value,u.value)])]),t.createElementVNode("div",{class:"v-data-table-footer__pagination"},[t.createVNode(hc,t.mergeProps({modelValue:n.value,"onUpdate:modelValue":e=>n.value=e,density:"comfortable","first-aria-label":e.firstPageLabel,"last-aria-label":e.lastPageLabel,length:r.value,"next-aria-label":e.nextPageLabel,"previous-aria-label":e.prevPageLabel,rounded:!0,"show-first-last-page":!0,"total-visible":e.showCurrentPage?1:0,variant:"plain"},a),null)])])})),{}}}),Vc=(wc={align:{type:String,default:"start"},fixed:Boolean,fixedOffset:[Number,String],height:[Number,String],lastFixed:Boolean,noPadding:Boolean,tag:String,width:[Number,String],maxWidth:[Number,String],nowrap:Boolean},Sc=(e,a)=>{let{slots:l}=a
1644
1644
  const o=e.tag??"td"
1645
- return t.createVNode(o,{tabindex:"0",class:t.normalizeClass(["v-data-table__td",{"v-data-table-column--fixed":e.fixed,"v-data-table-column--last-fixed":e.lastFixed,"v-data-table-column--no-padding":e.noPadding,"v-data-table-column--nowrap":e.nowrap},`v-data-table-column--align-${e.align}`]),style:{height:f(e.height),width:f(e.width),maxWidth:f(e.maxWidth),left:f(e.fixedOffset||null)}},{default:()=>[l.default?.()]})},Sc.props=wc,Sc)
1645
+ return t.createVNode(o,{class:t.normalizeClass(["v-data-table__td",{"v-data-table-column--fixed":e.fixed,"v-data-table-column--last-fixed":e.lastFixed,"v-data-table-column--no-padding":e.noPadding,"v-data-table-column--nowrap":e.nowrap},`v-data-table-column--align-${e.align}`]),style:{height:f(e.height),width:f(e.width),maxWidth:f(e.maxWidth),left:f(e.fixedOffset||null)}},{default:()=>[l.default?.()]})},Sc.props=wc,Sc)
1646
1646
  var wc,Sc
1647
1647
  const kc=ht({headers:Array},"DataTable-header"),xc=Symbol.for("vuetify:data-table-headers"),Cc={title:"",sortable:!1},Nc={...Cc,width:48}
1648
1648
  function Ec(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]
@@ -1695,7 +1695,7 @@ const{t:o}=fa(),{toggleSort:n,sortBy:r,isSorted:i}=uc(),{someSelected:s,allSelec
1695
1695
  function g(t,a){if(e.sticky||e.fixedHeader||t.fixed)return{position:"sticky",left:t.fixed?f(t.fixedOffset):void 0,top:e.sticky||e.fixedHeader?`calc(var(--v-table-header-height) * ${a})`:void 0}}function h(t){const a=r.value.find((e=>e.key===t.key))
1696
1696
  return a?"asc"===a.order?e.sortAscIcon:e.sortDescIcon:e.sortAscIcon}const{backgroundColorClasses:y,backgroundColorStyles:b}=dl((()=>e.color)),{displayClasses:V,mobile:w}=En(e),S=t.computed((()=>({headers:p.value,columns:v.value,toggleSort:n,isSorted:i,sortBy:r.value,someSelected:s.value,allSelected:u.value,selectAll:c,getSortIcon:h}))),k=t.computed((()=>["v-data-table__th",{"v-data-table__th--sticky":e.sticky||e.fixedHeader},V.value,m.value])),x=a=>{let{column:o,x:v,y:p}=a
1697
1697
  const m="data-table-select"===o.key||"data-table-expand"===o.key,V=t.mergeProps(e.headerProps??{},o.headerProps??{})
1698
- return t.createVNode(Vc,t.mergeProps({tag:"th",align:o.align,class:[{"v-data-table__th--sortable":o.sortable&&!e.disableSort,"v-data-table__th--sorted":i(o),"v-data-table__th--fixed":o.fixed},...k.value],style:{width:f(o.width),minWidth:f(o.minWidth),maxWidth:f(o.maxWidth),...g(o,p)},colspan:o.colspan,rowspan:o.rowspan,onClick:o.sortable?()=>n(o):void 0,fixed:o.fixed,nowrap:o.nowrap,lastFixed:o.lastFixed,noPadding:m},V,{onKeydown:t=>o.sortable&&function(t,a){"Enter"!==t.key||e.disableSort||n(a)}(t,o)}),{default:()=>{const a=`header.${o.key}`,v={column:o,selectAll:c,isSorted:i,toggleSort:n,sortBy:r.value,someSelected:s.value,allSelected:u.value,getSortIcon:h}
1698
+ return t.createVNode(Vc,t.mergeProps({tag:"th",align:o.align,class:[{"v-data-table__th--sortable":o.sortable&&!e.disableSort,"v-data-table__th--sorted":i(o),"v-data-table__th--fixed":o.fixed},...k.value],style:{width:f(o.width),minWidth:f(o.minWidth),maxWidth:f(o.maxWidth),...g(o,p)},colspan:o.colspan,rowspan:o.rowspan,fixed:o.fixed,nowrap:o.nowrap,lastFixed:o.lastFixed,noPadding:m,tabindex:o.sortable?0:void 0,onClick:o.sortable?()=>n(o):void 0,onKeydown:o.sortable?t=>function(t,a){"Enter"!==t.key||e.disableSort||n(a)}(t,o):void 0},V),{default:()=>{const a=`header.${o.key}`,v={column:o,selectAll:c,isSorted:i,toggleSort:n,sortBy:r.value,someSelected:s.value,allSelected:u.value,getSortIcon:h}
1699
1699
  return l[a]?l[a](v):"data-table-select"===o.key?l["header.data-table-select"]?.(v)??(d.value&&t.createVNode(an,{modelValue:u.value,indeterminate:s.value&&!u.value,"onUpdate:modelValue":c},null)):t.createElementVNode("div",{class:"v-data-table-header__content"},[t.createElementVNode("span",null,[o.title]),o.sortable&&!e.disableSort&&t.createVNode(Ql,{key:"icon",class:"v-data-table-header__sort-icon",icon:h(o)},null),e.multiSort&&i(o)&&t.createElementVNode("div",{key:"badge",class:t.normalizeClass(["v-data-table-header__sort-badge",...y.value]),style:t.normalizeStyle(b.value)},[r.value.findIndex((e=>e.key===o.key))+1])])}})},C=()=>{const a=t.computed((()=>v.value.filter((t=>t?.sortable&&!e.disableSort)))),d=t.computed((()=>{if(null!=v.value.find((e=>"data-table-select"===e.key)))return u.value?"$checkboxOn":s.value?"$checkboxIndeterminate":"$checkboxOff"}))
1700
1700
  return t.createVNode(Vc,t.mergeProps({tag:"th",class:[...k.value],colspan:p.value.length+1},e.headerProps),{default:()=>[t.createElementVNode("div",{class:"v-data-table-header__content"},[t.createVNode($i,{chips:!0,class:"v-data-table__td-sort-select",clearable:!0,density:"default",items:a.value,label:o("$vuetify.dataTable.sortBy"),multiple:e.multiSort,variant:"underlined","onClick:clear":()=>r.value=[],appendIcon:d.value,"onClick:append":()=>c(!u.value)},{...l,chip:e=>t.createVNode(Wn,{onClick:e.item.raw?.sortable?()=>n(e.item.raw):void 0,onMousedown:e=>{e.preventDefault(),e.stopPropagation()}},{default:()=>[e.item.title,t.createVNode(Ql,{class:t.normalizeClass(["v-data-table__td-sort-icon",i(e.item.raw)&&"v-data-table__td-sort-icon-active"]),icon:h(e.item.raw),size:"small"},null)]})})])]})}
1701
1701
  Dt((()=>w.value?t.createElementVNode("tr",null,[t.createVNode(C,null,null)]):t.createElementVNode(t.Fragment,null,[l.headers?l.headers(S.value):p.value.map(((e,a)=>t.createElementVNode("tr",null,[e.map(((e,l)=>t.createVNode(x,{column:e,x:l,y:a},null)))]))),e.loading&&t.createElementVNode("tr",{class:"v-data-table-progress"},[t.createElementVNode("th",{colspan:v.value.length},[t.createVNode(uo,{name:"v-data-table-progress",absolute:!0,active:!0,color:"boolean"==typeof e.loading?void 0:e.loading,indeterminate:!0},{default:l.loader})])])])))}}),zc=ht({item:{type:Object,required:!0}},"VDataTableGroupHeaderRow"),$c=Nt()({name:"VDataTableGroupHeaderRow",props:zc(),setup(e,a){let{slots:l}=a
@@ -2241,8 +2241,8 @@ if(m.run((()=>{o.install(u)})),u.onUnmount((()=>m.stop())),u.provide(wt,e),u.pro
2241
2241
  else{const{mount:e}=u
2242
2242
  u.mount=function(){const a=e(...arguments)
2243
2243
  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:km.call(this,wt),display:km.call(this,Vn),theme:km.call(this,ya),icons:km.call(this,zt),locale:km.call(this,pa),date:km.call(this,Nu)})}}})},unmount:function(){u.stop()},defaults:e,display:l,theme:o,icons:c,locale:d,date:v,goTo:p}}))}function km(e){const t=this.$,a=t.parent?.provides??t.vnode.appContext?.provides
2244
- if(a&&e in a)return a[e]}Sm.version="3.8.11-master.2025-06-24"
2245
- const xm=function(){return Sm({components:pm,directives:wm,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},Cm="3.8.11-master.2025-06-24"
2244
+ if(a&&e in a)return a[e]}Sm.version="3.8.11-master.2025-06-27"
2245
+ const xm=function(){return Sm({components:pm,directives:wm,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},Cm="3.8.11-master.2025-06-27"
2246
2246
  xm.version=Cm,e.blueprints=Kt,e.components=pm,e.createVuetify=xm,e.directives=wm,e.useDate=Iu,e.useDefaults=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0
2247
2247
  const{props:a,provideSubDefaults:l}=xt(e,t)
2248
2248
  return l(),a},e.useDisplay=En,e.useGoTo=Rn,e.useLayout=ta,e.useLocale=fa,e.useRtl=ha,e.useTheme=Ea,e.version=Cm}))