@vuetify/nightly 3.0.2 → 3.0.3-next-20221129.0
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 +9 -2
- package/dist/json/importMap.json +88 -88
- package/dist/vuetify.css +91 -91
- package/dist/vuetify.d.ts +25 -25
- package/dist/vuetify.esm.js +8 -7
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +8 -7
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +6 -6
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VFooter/VFooter.mjs +1 -1
- package/lib/components/VFooter/VFooter.mjs.map +1 -1
- package/lib/components/VLazy/VLazy.mjs +2 -1
- package/lib/components/VLazy/VLazy.mjs.map +1 -1
- package/lib/components/transitions/dialog-transition.mjs +2 -2
- package/lib/components/transitions/dialog-transition.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/entry-bundler.mjs.map +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/framework.mjs.map +1 -1
- package/lib/index.d.ts +25 -25
- package/package.json +1 -1
package/dist/vuetify.min.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.0.
|
|
2
|
+
* Vuetify v3.0.3-next-20221129.0
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -295,7 +295,7 @@ let s=l.left+l.width/2
|
|
|
295
295
|
"left"===r||"left"===i?s-=l.width/2:"right"!==r&&"right"!==i||(s+=l.width/2)
|
|
296
296
|
let u=l.top+l.height/2
|
|
297
297
|
"top"===r||"top"===i?u-=l.height/2:"bottom"!==r&&"bottom"!==i||(u+=l.height/2)
|
|
298
|
-
const c=l.width/a.width,d=l.height/a.height,v=Math.max(1,c,d),p=c/v,f=d/v,m=a.width*a.height/(window.innerWidth*window.innerHeight),g=m>.12?Math.min(1.5,10*(m-.12)+1):1
|
|
298
|
+
const c=l.width/a.width,d=l.height/a.height,v=Math.max(1,c,d),p=c/v||0,f=d/v||0,m=a.width*a.height/(window.innerWidth*window.innerHeight),g=m>.12?Math.min(1.5,10*(m-.12)+1):1
|
|
299
299
|
return{x:s-(o+a.left),y:u-(n+a.top),sx:p,sy:f,speed:g}}const Ht=Ot("fab-transition","center center","out-in"),Wt=Ot("dialog-bottom-transition"),Ut=Ot("dialog-top-transition"),Yt=Ot("fade-transition"),Xt=Ot("scale-transition"),Gt=Ot("scroll-x-transition"),qt=Ot("scroll-x-reverse-transition"),Kt=Ot("scroll-y-transition"),Zt=Ot("scroll-y-reverse-transition"),Jt=Ot("slide-x-transition"),Qt=Ot("slide-x-reverse-transition"),el=Ot("slide-y-transition"),tl=Ot("slide-y-reverse-transition"),ll=Ft("expand-transition",Mt()),al=Ft("expand-x-transition",Mt("",!0)),ol=De({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension")
|
|
300
300
|
function nl(e){return{dimensionStyles:t.computed((()=>({height:g(e.height),maxHeight:g(e.maxHeight),maxWidth:g(e.maxWidth),minHeight:g(e.minHeight),minWidth:g(e.minWidth),width:g(e.width)})))}}const rl=He({name:"VResponsive",props:{aspectRatio:[String,Number],contentClass:String,...ol()},setup(e,l){let{slots:a}=l
|
|
301
301
|
const{aspectStyles:o}=function(e){return{aspectStyles:t.computed((()=>{const t=Number(e.aspectRatio)
|
|
@@ -1226,7 +1226,7 @@ const t=e.target
|
|
|
1226
1226
|
i.value=[...t.files??[]]},onFocus:y,onBlur:()=>m.value=!1},v,s),null),t.createVNode("div",{class:o},[i.value.length>0&&(n.selection?n.selection({fileNames:d.value,totalBytes:u.value,totalBytesReadable:c.value}):e.chips?d.value.map((l=>t.createVNode($o,{key:l,size:"small",color:e.color},{default:()=>[l]}))):d.value.join(", "))])])}})},details:o?e=>{var a
|
|
1227
1227
|
return t.createVNode(t.Fragment,null,[null==(a=n.details)?void 0:a.call(n,e),l&&t.createVNode(t.Fragment,null,[t.createVNode("span",null,null),t.createVNode(uo,{active:!!i.value.length,value:v.value},n.counter)])])}:void 0})})),vo({},p,f,g)}}),Bi=He({name:"VFooter",props:{app:Boolean,color:String,height:{type:[Number,String],default:"auto"},...fl(),...gl(),...tt(),...yl(),...vl({tag:"footer"}),...ft()},setup(e,l){let{slots:a}=l
|
|
1228
1228
|
const{themeClasses:o}=ht(e),{backgroundColorClasses:n,backgroundColorStyles:i}=wl(t.toRef(e,"color")),{borderClasses:s}=ml(e),{elevationClasses:u}=hl(e),{roundedClasses:c}=bl(e),d=t.ref(32),{resizeRef:v}=r((e=>{e.length&&(d.value=e[0].target.clientHeight)})),p=t.computed((()=>"auto"===e.height?d.value:parseInt(e.height,10))),{layoutItemStyles:f}=at({id:e.name,order:t.computed((()=>parseInt(e.order,10))),position:t.computed((()=>"bottom")),layoutSize:p,elementSize:t.computed((()=>"auto"===e.height?void 0:p.value)),active:t.computed((()=>e.app)),absolute:t.toRef(e,"absolute")})
|
|
1229
|
-
return Ze((()=>t.createVNode(e.tag,{ref:v,class:["v-footer",o.value,n.value,s.value,u.value,c.value],style:[i,e.app?f.value:void 0]},a))),{}}}),Ii=He({name:"VForm",props:{...lo()},emits:{"update:modelValue":e=>!0,submit:e=>!0},setup(e,l){let{slots:a,emit:o}=l
|
|
1229
|
+
return Ze((()=>t.createVNode(e.tag,{ref:v,class:["v-footer",o.value,n.value,s.value,u.value,c.value],style:[i.value,e.app?f.value:void 0]},a))),{}}}),Ii=He({name:"VForm",props:{...lo()},emits:{"update:modelValue":e=>!0,submit:e=>!0},setup(e,l){let{slots:a,emit:o}=l
|
|
1230
1230
|
const n=function(e){const l=St(e,"modelValue"),a=t.computed((()=>e.disabled)),o=t.computed((()=>e.readonly)),n=t.ref(!1),r=t.ref([]),i=t.ref([])
|
|
1231
1231
|
return t.watch(r,(()=>{let e=0,t=0
|
|
1232
1232
|
const a=[]
|
|
@@ -1281,7 +1281,7 @@ return()=>{var e
|
|
|
1281
1281
|
return t.createVNode("div",{class:["v-layout-item"],style:o.value},[null==(e=a.default)?void 0:e.call(a)])}}}),cs=He({name:"VLazy",directives:{intersect:sl},props:{modelValue:Boolean,options:{type:Object,default:()=>({root:void 0,rootMargin:void 0,threshold:void 0})},...ol(),...vl(),...ul({transition:"fade-transition"})},emits:{"update:modelValue":e=>!0},setup(e,l){let{slots:a}=l
|
|
1282
1282
|
const{dimensionStyles:o}=nl(e),n=St(e,"modelValue")
|
|
1283
1283
|
function r(e){n.value||(n.value=e)}return Ze((()=>{var l
|
|
1284
|
-
return t.withDirectives(t.createVNode(e.tag,{class:"v-lazy",style:o.value},{default:()=>[n.value&&t.createVNode(cl,{transition:e.transition},{default:()=>[null==(l=a.default)?void 0:l.call(a)]})]}),[[t.resolveDirective("intersect"),r,e.options]])})),{}}}),ds=He({name:"VLocaleProvider",props:{locale:String,fallbackLocale:String,messages:Object,rtl:{type:Boolean,default:void 0}},setup(e,l){let{slots:a}=l
|
|
1284
|
+
return t.withDirectives(t.createVNode(e.tag,{class:"v-lazy",style:o.value},{default:()=>[n.value&&t.createVNode(cl,{transition:e.transition,appear:!0},{default:()=>[null==(l=a.default)?void 0:l.call(a)]})]}),[[t.resolveDirective("intersect"),r,e.options]])})),{}}}),ds=He({name:"VLocaleProvider",props:{locale:String,fallbackLocale:String,messages:Object,rtl:{type:Boolean,default:void 0}},setup(e,l){let{slots:a}=l
|
|
1285
1285
|
const{rtlClasses:o}=Rt(e)
|
|
1286
1286
|
return Ze((()=>{var e
|
|
1287
1287
|
return t.createVNode("div",{class:["v-locale-provider",o.value]},[null==(e=a.default)?void 0:e.call(a)])})),{}}}),vs=He({name:"VMain",props:{scrollable:Boolean,...vl({tag:"main"})},setup(e,l){let{slots:a}=l
|
|
@@ -1547,8 +1547,8 @@ e.mount=function(){const a=l(...arguments)
|
|
|
1547
1547
|
return t.nextTick((()=>c.update())),e.mount=l,a}}Le.reset(),e.mixin({computed:{$vuetify(){return t.reactive({defaults:eu.call(this,Pe),display:eu.call(this,er),theme:eu.call(this,pt),icons:eu.call(this,Ul),locale:eu.call(this,$t)})}}})}
|
|
1548
1548
|
return{install:f,defaults:u,display:c,theme:d,icons:v,locale:p}}function eu(e){var t,l
|
|
1549
1549
|
const a=this.$,o=(null==(t=a.parent)?void 0:t.provides)??(null==(l=a.vnode.appContext)?void 0:l.provides)
|
|
1550
|
-
if(o&&e in o)return o[e]}Qs.version="3.0.
|
|
1550
|
+
if(o&&e in o)return o[e]}Qs.version="3.0.3-next-20221129.0"
|
|
1551
1551
|
const tu=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
|
|
1552
|
-
return Qs({components:Us,directives:Js,...e})},lu="3.0.
|
|
1552
|
+
return Qs({components:Us,directives:Js,...e})},lu="3.0.3-next-20221129.0"
|
|
1553
1553
|
tu.version=lu,e.components=Us,e.createVuetify=tu,e.directives=Js,e.useDisplay=nr,e.useLayout=lt,e.useLocale=Et,e.useRtl=Tt,e.useTheme=yt,e.version=lu,Object.defineProperty(e,"__esModule",{value:!0})}))
|
|
1554
1554
|
//# sourceMappingURL=vuetify.min.js.map
|