@vuetify/nightly 3.6.10-master.2024-06-27 → 3.6.11-master.2024-07-03
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 +3 -3
- package/dist/json/attributes.json +2 -2
- package/dist/json/importMap-labs.json +20 -20
- package/dist/json/importMap.json +106 -106
- package/dist/json/web-types.json +3 -3
- package/dist/vuetify-labs.css +6077 -6077
- package/dist/vuetify-labs.esm.js +61 -64
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +61 -64
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +1090 -1090
- package/dist/vuetify.d.ts +36 -36
- package/dist/vuetify.esm.js +11 -9
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +11 -9
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +17 -14
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VOverlay/VOverlay.mjs +7 -2
- package/lib/components/VOverlay/VOverlay.mjs.map +1 -1
- package/lib/composables/teleport.mjs +2 -2
- package/lib/composables/teleport.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +36 -36
- package/lib/labs/VNumberInput/VNumberInput.mjs +48 -55
- package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
- package/lib/labs/VStepperVertical/VStepperVertical.mjs +2 -0
- package/lib/labs/VStepperVertical/VStepperVertical.mjs.map +1 -1
- package/package.json +1 -1
package/dist/vuetify.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.6.
|
2
|
+
* Vuetify v3.6.11-master.2024-07-03
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -935,24 +935,27 @@ const u=t.shallowRef(!0)
|
|
935
935
|
n&&t.watchEffect((()=>{const e=Kr.at(-1)?.[0]===o.uid
|
936
936
|
setTimeout((()=>u.value=e))}))
|
937
937
|
const c=t.computed((()=>!i.activeChildren.size))
|
938
|
-
return{globalTop:t.readonly(u),localTop:c,stackStyles:t.computed((()=>({zIndex:s.value})))}}(s,t.toRef(e,"zIndex"),e._disableGlobalStack),{activatorEl:b,activatorRef:V,target:w,targetEl:S,targetRef:k,activatorEvents:x,contentEvents:N,scrimEvents:C}=jr(e,{isActive:s,isTop:h}),
|
938
|
+
return{globalTop:t.readonly(u),localTop:c,stackStyles:t.computed((()=>({zIndex:s.value})))}}(s,t.toRef(e,"zIndex"),e._disableGlobalStack),{activatorEl:b,activatorRef:V,target:w,targetEl:S,targetRef:k,activatorEvents:x,contentEvents:N,scrimEvents:C}=jr(e,{isActive:s,isTop:h}),{teleportTarget:_}=function(e){return{teleportTarget:t.computed((()=>{const l=e()
|
939
939
|
if(!0===l||!a)return
|
940
940
|
const o=!1===l?document.body:"string"==typeof l?document.querySelector(l):l
|
941
941
|
if(null==o)return void t.warn(`Unable to locate target ${l}`)
|
942
942
|
let n=o.querySelector(":scope > .v-overlay-container")
|
943
|
-
return n||(n=document.createElement("div"),n.className="v-overlay-container",o.appendChild(n)),n}))}}(
|
943
|
+
return n||(n=document.createElement("div"),n.className="v-overlay-container",o.appendChild(n)),n}))}}((()=>{const t=e.attach||e.contained
|
944
|
+
if(t)return t
|
945
|
+
const a=b?.value?.getRootNode()
|
946
|
+
return a instanceof ShadowRoot&&a})),{dimensionStyles:I}=Ja(e),B=Wr(),{scopeId:P}=Gr()
|
944
947
|
t.watch((()=>e.disabled),(e=>{e&&(s.value=!1)}))
|
945
|
-
const
|
946
|
-
function r(e){n.value?.(e)}return a&&ta((()=>!(!l.isActive.value||!e.locationStrategy)),(a=>{t.watch((()=>e.locationStrategy),a),t.onScopeDispose((()=>{window.removeEventListener("resize",r),n.value=void 0})),window.addEventListener("resize",r,{passive:!0}),"function"==typeof e.locationStrategy?n.value=e.locationStrategy(l,e,o)?.updateLocation:n.value=_r[e.locationStrategy](l,e,o)?.updateLocation})),{contentStyles:o,updateLocation:n}}(e,{isRtl:d,contentEl:
|
947
|
-
function
|
948
|
+
const A=t.ref(),R=t.ref(),T=t.ref(),{contentStyles:D,updateLocation:E}=function(e,l){const o=t.ref({}),n=t.ref()
|
949
|
+
function r(e){n.value?.(e)}return a&&ta((()=>!(!l.isActive.value||!e.locationStrategy)),(a=>{t.watch((()=>e.locationStrategy),a),t.onScopeDispose((()=>{window.removeEventListener("resize",r),n.value=void 0})),window.addEventListener("resize",r,{passive:!0}),"function"==typeof e.locationStrategy?n.value=e.locationStrategy(l,e,o)?.updateLocation:n.value=_r[e.locationStrategy](l,e,o)?.updateLocation})),{contentStyles:o,updateLocation:n}}(e,{isRtl:d,contentEl:T,target:w,isActive:s})
|
950
|
+
function F(t){r("click:outside",t),e.persistent?z():s.value=!1}function $(t){return s.value&&g.value&&(!e.scrim||t.target===R.value)}function M(t){"Escape"===t.key&&g.value&&(e.persistent?z():(s.value=!1,T.value?.contains(document.activeElement)&&b.value?.focus()))}!function(e,l){if(!a)return
|
948
951
|
let o
|
949
|
-
t.watchEffect((async()=>{o?.stop(),l.isActive.value&&e.scrollStrategy&&(o=t.effectScope(),await new Promise((e=>setTimeout(e))),o.active&&o.run((()=>{"function"==typeof e.scrollStrategy?e.scrollStrategy(l,e,o):Er[e.scrollStrategy]?.(l,e,o)})))})),t.onScopeDispose((()=>{o?.stop()}))}(e,{root:
|
950
|
-
const
|
952
|
+
t.watchEffect((async()=>{o?.stop(),l.isActive.value&&e.scrollStrategy&&(o=t.effectScope(),await new Promise((e=>setTimeout(e))),o.active&&o.run((()=>{"function"==typeof e.scrollStrategy?e.scrollStrategy(l,e,o):Er[e.scrollStrategy]?.(l,e,o)})))})),t.onScopeDispose((()=>{o?.stop()}))}(e,{root:A,contentEl:T,targetEl:S,isActive:s,updateLocation:E}),a&&t.watch(s,(e=>{e?window.addEventListener("keydown",M):window.removeEventListener("keydown",M)}),{immediate:!0}),t.onBeforeUnmount((()=>{a&&window.removeEventListener("keydown",M)}))
|
953
|
+
const O=ro()
|
951
954
|
ta((()=>e.closeOnBack),(()=>{!function(e,l){let o,n,r=!1
|
952
|
-
function i(e){e.state?.replaced||(r=!0,setTimeout((()=>r=!1)))}a&&(t.nextTick((()=>{window.addEventListener("popstate",i),o=e?.beforeEach(((e,t,a)=>{uo?r?l(a):a():setTimeout((()=>r?l(a):a())),uo=!0})),n=e?.afterEach((()=>{uo=!1}))})),t.onScopeDispose((()=>{window.removeEventListener("popstate",i),o?.(),n?.()})))}(
|
953
|
-
const
|
954
|
-
function
|
955
|
-
e&&e!==document.scrollingElement&&(
|
955
|
+
function i(e){e.state?.replaced||(r=!0,setTimeout((()=>r=!1)))}a&&(t.nextTick((()=>{window.addEventListener("popstate",i),o=e?.beforeEach(((e,t,a)=>{uo?r?l(a):a():setTimeout((()=>r?l(a):a())),uo=!0})),n=e?.afterEach((()=>{uo=!1}))})),t.onScopeDispose((()=>{window.removeEventListener("popstate",i),o?.(),n?.()})))}(O,(t=>{g.value&&s.value?(t(!1),e.persistent?z():s.value=!1):t()}))}))
|
956
|
+
const L=t.ref()
|
957
|
+
function z(){e.noClickAnimation||T.value&&ge(T.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:Ct})}function j(){r("afterEnter")}function H(){p(),r("afterLeave")}return t.watch((()=>s.value&&(e.absolute||e.contained)&&null==_.value),(e=>{if(e){const e=It(A.value)
|
958
|
+
e&&e!==document.scrollingElement&&(L.value=e.scrollTop)}})),Rt((()=>t.createVNode(t.Fragment,null,[o.activator?.({isActive:s.value,targetRef:k,props:t.mergeProps({ref:V},x.value,e.activatorProps)}),B.value&&v.value&&t.createVNode(t.Teleport,{disabled:!_.value,to:_.value},{default:()=>[t.createVNode("div",t.mergeProps({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":s.value,"v-overlay--contained":e.contained},u.value,c.value,e.class],style:[y.value,{"--v-overlay-opacity":e.opacity,top:f(L.value)},e.style],ref:A},P,n),[t.createVNode(ti,t.mergeProps({color:m,modelValue:s.value&&!!e.scrim,ref:R},C.value),null),t.createVNode(sl,{appear:!0,persisted:!0,transition:e.transition,target:w.value,onAfterEnter:j,onAfterLeave:H},{default:()=>[t.withDirectives(t.createVNode("div",t.mergeProps({ref:T,class:["v-overlay__content",e.contentClass],style:[I.value,D.value]},N.value,e.contentProps),[o.default?.({isActive:s})]),[[t.vShow,s.value],[t.resolveDirective("click-outside"),{handler:F,closeConditional:$,include:()=>[b.value]}]])]})])]})]))),{activatorEl:b,scrimEl:R,target:w,animateClick:z,contentEl:T,globalTop:g,localTop:h,updateLocation:E}}}),oi=Symbol("Forwarded refs")
|
956
959
|
function ni(e,t){let a=e
|
957
960
|
for(;a;){const e=Reflect.getOwnPropertyDescriptor(a,t)
|
958
961
|
if(e)return e
|
@@ -2088,9 +2091,9 @@ else{const{mount:a}=e
|
|
2088
2091
|
e.mount=function(){const l=a(...arguments)
|
2089
2092
|
return t.nextTick((()=>c.update())),e.mount=a,l}}ft.reset(),("boolean"!=typeof __VUE_OPTIONS_API__||__VUE_OPTIONS_API__)&&e.mixin({computed:{$vuetify(){return t.reactive({defaults:af.call(this,gt),display:af.call(this,dn),theme:af.call(this,ma),icons:af.call(this,Dt),locale:af.call(this,ca),date:af.call(this,cu)})}}})}
|
2090
2093
|
return{install:g,defaults:u,display:c,theme:d,icons:v,locale:p,date:f,goTo:m}}function af(e){const t=this.$,a=t.parent?.provides??t.vnode.appContext?.provides
|
2091
|
-
if(a&&e in a)return a[e]}tf.version="3.6.
|
2094
|
+
if(a&&e in a)return a[e]}tf.version="3.6.11-master.2024-07-03"
|
2092
2095
|
const lf=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
|
2093
|
-
return tf({components:Yp,directives:ef,...e})},of="3.6.
|
2096
|
+
return tf({components:Yp,directives:ef,...e})},of="3.6.11-master.2024-07-03"
|
2094
2097
|
lf.version=of,e.blueprints=Yt,e.components=Yp,e.createVuetify=lf,e.directives=ef,e.useDate=pu,e.useDefaults=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0
|
2095
2098
|
const{props:a,provideSubDefaults:l}=wt(e,t)
|
2096
2099
|
return l(),a},e.useDisplay=yn,e.useGoTo=xn,e.useLayout=Qt,e.useLocale=va,e.useRtl=fa,e.useTheme=ba,e.version=of}))
|