@vuetify/nightly 3.8.3-master.2025-05-03 → 3.8.3-master.2025-05-04
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.
- package/CHANGELOG.md +4 -3
- package/dist/json/attributes.json +786 -786
- package/dist/json/importMap-labs.json +18 -18
- package/dist/json/importMap.json +168 -168
- package/dist/json/web-types.json +1240 -1240
- package/dist/vuetify-labs.cjs +8 -6
- package/dist/vuetify-labs.css +4208 -4208
- package/dist/vuetify-labs.d.ts +56 -56
- package/dist/vuetify-labs.esm.js +8 -6
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +8 -6
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.cjs +8 -6
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +3747 -3747
- package/dist/vuetify.d.ts +56 -56
- package/dist/vuetify.esm.js +8 -6
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +8 -6
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +8 -8
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VTextField/VTextField.js +5 -3
- package/lib/components/VTextField/VTextField.js.map +1 -1
- package/lib/entry-bundler.js +1 -1
- package/lib/framework.d.ts +56 -56
- package/lib/framework.js +1 -1
- package/package.json +1 -1
package/dist/vuetify.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.8.3-master.2025-05-
|
2
|
+
* Vuetify v3.8.3-master.2025-05-04
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -1039,12 +1039,12 @@ function T(e){e.target!==document.activeElement&&e.preventDefault()}return Et(((
|
|
1039
1039
|
return t.createVNode("div",t.mergeProps({class:["v-field",{"v-field--active":g.value,"v-field--appended":m,"v-field--center-affix":e.centerAffix??!N.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,_.value,s.value,i.value,p.value,f.value,e.class],style:[P.value,e.style],onClick:T},l),[t.createVNode("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.createVNode("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&t.createVNode(v,{key:"prepend-icon",name:"prependInner",color:I.value},null),n["prepend-inner"]?.(A.value)]),t.createVNode("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&y.value&&t.createVNode(Vi,{key:"floating-label",ref:k,class:[B.value],floating:!0,for:V.value,style:R.value},{default:()=>[b()]}),h.value&&t.createVNode(Vi,{key:"label",ref:S,for:V.value},{default:()=>[b()]}),n.default?.({...A.value,props:{id:V.value,class:"v-field__input","aria-describedby":w.value},focus:c,blur:d})??t.createVNode("div",{id:V.value,class:"v-field__input","aria-describedby":w.value},null)]),u&&t.createVNode(al,{key:"clear"},{default:()=>[t.withDirectives(t.createVNode("div",{class:"v-field__clearable",onMousedown:e=>{e.preventDefault(),e.stopPropagation()}},[t.createVNode(ol,{defaults:{VIcon:{icon:e.clearIcon}}},{default:()=>[n.clear?n.clear({...A.value,props:{onFocus:c,onBlur:d,onClick:e["onClick:clear"]}}):t.createVNode(v,{name:"clear",onFocus:c,onBlur:d},null)]})]),[[t.vShow,e.dirty]])]}),m&&t.createVNode("div",{key:"append",class:"v-field__append-inner"},[n["append-inner"]?.(A.value),e.appendInnerIcon&&t.createVNode(v,{key:"append-icon",name:"appendInner",color:I.value},null)]),t.createVNode("div",{class:["v-field__outline",B.value],style:R.value},[a&&t.createVNode(t.Fragment,null,[t.createVNode("div",{class:"v-field__outline__start"},null),y.value&&t.createVNode("div",{class:"v-field__outline__notch"},[t.createVNode(Vi,{ref:k,floating:!0,for:V.value},{default:()=>[b()]})]),t.createVNode("div",{class:"v-field__outline__end"},null)]),N.value&&y.value&&t.createVNode(Vi,{ref:k,floating:!0,for:V.value},{default:()=>[b()]})])])})),{controlRef:x,fieldIconColor:I}}}),xi=["color","file","time","date","datetime-local","week","month"],Ni=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(),...Si()},"VTextField"),Ci=Ct()({name:"VTextField",directives:{Intersect:hl},inheritAttrs:!1,props:Ni(),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
|
1040
1040
|
const r=na(e,"modelValue"),{isFocused:i,focus:s,blur:u}=sn(e),c=t.computed((()=>"function"==typeof e.counterValue?e.counterValue(r.value):"number"==typeof e.counterValue?e.counterValue:(r.value??"").toString().length)),d=t.computed((()=>l.maxlength?l.maxlength:!e.counter||"number"!=typeof e.counter&&"string"!=typeof e.counter?void 0:e.counter)),v=t.computed((()=>["plain","underlined"].includes(e.variant)))
|
1041
1041
|
function p(t,a){e.autofocus&&t&&a[0].target?.focus?.()}const f=t.ref(),m=t.ref(),g=t.ref(),h=t.computed((()=>xi.includes(e.type)||e.persistentPlaceholder||i.value||e.active))
|
1042
|
-
function y(){g.value!==document.activeElement&&g.value?.focus(),i.value||s()}function b(e){o("mousedown:control",e),e.target!==g.value&&(y(),e.preventDefault())}function V(e){y(),o("click:control",e)}function w(a){
|
1042
|
+
function y(){g.value!==document.activeElement&&g.value?.focus(),i.value||s()}function b(e){o("mousedown:control",e),e.target!==g.value&&(y(),e.preventDefault())}function V(e){y(),o("click:control",e)}function w(a){const l=a.target
|
1043
1043
|
if(r.value=l.value,e.modelModifiers?.trim&&["text","search","password","tel","url"].includes(e.type)){const e=[l.selectionStart,l.selectionEnd]
|
1044
|
-
t.nextTick((()=>{l.selectionStart=e[0],l.selectionEnd=e[1]}))}}return Et((()=>{const a=!!(n.counter||!1!==e.counter&&null!=e.counter),o=!(!a&&!n.details),[s,
|
1045
|
-
return t.createVNode(mn,t.mergeProps({ref:f,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":v.value},e.class],style:e.style},s,
|
1046
|
-
return t.createVNode(ki,t.mergeProps({ref:m,onMousedown:b,onClick:V,"onClick:clear":
|
1047
|
-
const s=t.withDirectives(t.createVNode("input",t.mergeProps({ref:g,value:r.value,onInput:
|
1044
|
+
t.nextTick((()=>{l.selectionStart=e[0],l.selectionEnd=e[1]}))}}return Et((()=>{const a=!!(n.counter||!1!==e.counter&&null!=e.counter),o=!(!a&&!n.details),[s,S]=B(l),{modelValue:k,...x}=mn.filterProps(e),N=ki.filterProps(e)
|
1045
|
+
return t.createVNode(mn,t.mergeProps({ref:f,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":v.value},e.class],style:e.style},s,x,{centerAffix:!v.value,focused:i.value}),{...n,default:a=>{let{id:l,isDisabled:o,isDirty:s,isReadonly:c,isValid:d,reset:v}=a
|
1046
|
+
return t.createVNode(ki,t.mergeProps({ref:m,onMousedown:b,onClick:V,"onClick:clear":a=>function(a,l){a.stopPropagation(),y(),t.nextTick((()=>{r.value=null,l(),K(e["onClick:clear"],a)}))}(a,v),"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"],role:e.role},N,{id:l.value,active:h.value||s.value,dirty:s.value||e.dirty,disabled:o.value,focused:i.value,error:!1===d.value}),{...n,default:a=>{let{props:{class:l,...i}}=a
|
1047
|
+
const s=t.withDirectives(t.createVNode("input",t.mergeProps({ref:g,value:r.value,onInput:w,autofocus:e.autofocus,readonly:c.value,disabled:o.value,name:e.name,placeholder:e.placeholder,size:1,type:e.type,onFocus:y,onBlur:u},i,S),null),[[t.resolveDirective("intersect"),{handler:p},null,{once:!0}]])
|
1048
1048
|
return t.createVNode(t.Fragment,null,[e.prefix&&t.createVNode("span",{class:"v-text-field__prefix"},[t.createVNode("span",{class:"v-text-field__prefix__text"},[e.prefix])]),n.default?t.createVNode("div",{class:l,"data-no-activator":""},[n.default(),s]):t.cloneVNode(s,{class:l}),e.suffix&&t.createVNode("span",{class:"v-text-field__suffix"},[t.createVNode("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:o?l=>t.createVNode(t.Fragment,null,[n.details?.(l),a&&t.createVNode(t.Fragment,null,[t.createVNode("span",null,null),t.createVNode(yi,{active:e.persistentCounter||i.value,value:c.value,max:d.value,disabled:e.disabled},n.counter)])]):void 0})})),fi({},f,m,g)}}),Ii=ht({renderless:Boolean,...yt()},"VVirtualScrollItem"),_i=Ct()({name:"VVirtualScrollItem",inheritAttrs:!1,props:Ii(),emits:{"update:height":e=>!0},setup(e,a){let{attrs:l,emit:o,slots:n}=a
|
1049
1049
|
const{resizeRef:r,contentRect:i}=Xt(void 0,"border")
|
1050
1050
|
t.watch((()=>i.value?.height),(e=>{null!=e&&o("update:height",e)})),Et((()=>e.renderless?t.createVNode(t.Fragment,null,[n.default?.({itemRef:r})]):t.createVNode("div",t.mergeProps({ref:r,class:["v-virtual-scroll__item",e.class],style:e.style},l),[n.default?.()])))}}),Pi=ht({itemHeight:{type:[Number,String],default:null},itemKey:{type:[String,Array,Function],default:null},height:[Number,String]},"virtual")
|
@@ -2205,8 +2205,8 @@ if(f.run((()=>{o.install(u)})),u.onUnmount((()=>f.stop())),u.provide(wt,e),u.pro
|
|
2205
2205
|
else{const{mount:e}=u
|
2206
2206
|
u.mount=function(){const a=e(...arguments)
|
2207
2207
|
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:bf.call(this,wt),display:bf.call(this,bn),theme:bf.call(this,ya),icons:bf.call(this,$t),locale:bf.call(this,pa),date:bf.call(this,ku)})}}})},unmount:function(){u.stop()},defaults:e,display:l,theme:o,icons:c,locale:d,date:v,goTo:p}}))}function bf(e){const t=this.$,a=t.parent?.provides??t.vnode.appContext?.provides
|
2208
|
-
if(a&&e in a)return a[e]}yf.version="3.8.3-master.2025-05-
|
2209
|
-
const Vf=function(){return yf({components:uf,directives:hf,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},wf="3.8.3-master.2025-05-
|
2208
|
+
if(a&&e in a)return a[e]}yf.version="3.8.3-master.2025-05-04"
|
2209
|
+
const Vf=function(){return yf({components:uf,directives:hf,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},wf="3.8.3-master.2025-05-04"
|
2210
2210
|
Vf.version=wf,e.blueprints=Kt,e.components=uf,e.createVuetify=Vf,e.directives=hf,e.useDate=Nu,e.useDefaults=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0
|
2211
2211
|
const{props:a,provideSubDefaults:l}=xt(e,t)
|
2212
2212
|
return l(),a},e.useDisplay=Cn,e.useGoTo=Rn,e.useLayout=ta,e.useLocale=ma,e.useRtl=ha,e.useTheme=Ia,e.version=wf}))
|