vuetify 3.9.6 → 3.9.7
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/dist/json/attributes.json +2761 -2761
- package/dist/json/importMap-labs.json +24 -24
- package/dist/json/importMap.json +206 -206
- package/dist/json/web-types.json +5372 -5295
- package/dist/vuetify-labs.cjs +51 -52
- package/dist/vuetify-labs.css +5946 -5832
- package/dist/vuetify-labs.d.ts +168 -94
- package/dist/vuetify-labs.esm.js +51 -52
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +51 -52
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.cjs +26 -22
- package/dist/vuetify.cjs.map +1 -1
- package/dist/vuetify.css +1937 -1823
- package/dist/vuetify.d.ts +91 -91
- package/dist/vuetify.esm.js +26 -22
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +26 -22
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +35 -32
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VAlert/VAlert.css +12 -0
- package/lib/components/VAlert/VAlert.sass +13 -0
- package/lib/components/VAutocomplete/VAutocomplete.css +2 -1
- package/lib/components/VAutocomplete/VAutocomplete.sass +3 -2
- package/lib/components/VBtn/VBtn.sass +1 -4
- package/lib/components/VCard/VCard.css +6 -0
- package/lib/components/VCard/VCard.sass +5 -0
- package/lib/components/VChip/VChip.css +6 -0
- package/lib/components/VChip/VChip.sass +5 -0
- package/lib/components/VChipGroup/VChipGroup.css +25 -0
- package/lib/components/VChipGroup/VChipGroup.sass +23 -0
- package/lib/components/VCombobox/VCombobox.css +2 -1
- package/lib/components/VCombobox/VCombobox.sass +3 -2
- package/lib/components/VList/VListItem.css +30 -0
- package/lib/components/VList/VListItem.d.ts +3 -3
- package/lib/components/VList/VListItem.sass +29 -0
- package/lib/components/VOtpInput/VOtpInput.js +1 -2
- package/lib/components/VOtpInput/VOtpInput.js.map +1 -1
- package/lib/components/VProgressLinear/VProgressLinear.css +3 -3
- package/lib/components/VProgressLinear/VProgressLinear.js +5 -6
- package/lib/components/VProgressLinear/VProgressLinear.js.map +1 -1
- package/lib/components/VProgressLinear/VProgressLinear.sass +3 -3
- package/lib/components/VSelect/VSelect.css +2 -1
- package/lib/components/VSelect/VSelect.sass +3 -2
- package/lib/components/VSlideGroup/VSlideGroup.js +5 -4
- package/lib/components/VSlideGroup/VSlideGroup.js.map +1 -1
- package/lib/components/VSnackbar/VSnackbar.css +5 -0
- package/lib/components/VSnackbar/VSnackbar.sass +3 -0
- package/lib/components/VTimeline/VTimeline.css +22 -0
- package/lib/components/VTimeline/VTimeline.sass +12 -0
- package/lib/components/VTreeview/VTreeviewItem.css +13 -8
- package/lib/components/VTreeview/VTreeviewItem.d.ts +9 -9
- package/lib/components/VTreeview/VTreeviewItem.sass +12 -8
- package/lib/composables/filter.js +3 -1
- package/lib/composables/filter.js.map +1 -1
- package/lib/composables/nested/nested.d.ts +1 -1
- package/lib/composables/nested/nested.js +5 -2
- package/lib/composables/nested/nested.js.map +1 -1
- package/lib/composables/rounded.js +3 -3
- package/lib/composables/rounded.js.map +1 -1
- package/lib/directives/touch/index.js +2 -2
- package/lib/directives/touch/index.js.map +1 -1
- package/lib/entry-bundler.js +1 -1
- package/lib/framework.d.ts +79 -79
- package/lib/framework.js +1 -1
- package/lib/labs/VDateInput/VDateInput.d.ts +78 -3
- package/lib/labs/VDateInput/VDateInput.js +3 -1
- package/lib/labs/VDateInput/VDateInput.js.map +1 -1
- package/lib/labs/VVideo/VVideo.css +4 -4
- package/lib/labs/VVideo/VVideo.js +24 -33
- package/lib/labs/VVideo/VVideo.js.map +1 -1
- package/lib/labs/VVideo/VVideo.sass +4 -4
- package/package.json +2 -2
package/dist/vuetify.min.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.9.
|
|
2
|
+
* Vuetify v3.9.7
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -367,11 +367,11 @@ return a.text&&(tt(a.text)?(o.color=a.text,o.caretColor=a.text):l.push(`text-${a
|
|
|
367
367
|
return{textColorClasses:a,textColorStyles:l}}function yl(e){const{colorClasses:a,colorStyles:l}=gl((()=>({background:t.toValue(e)})))
|
|
368
368
|
return{backgroundColorClasses:a,backgroundColorStyles:l}}const bl=wt({rounded:{type:[Boolean,Number,String],default:void 0},tile:Boolean},"rounded")
|
|
369
369
|
function Vl(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xt()
|
|
370
|
-
return{roundedClasses:t.computed((()=>{const l=t.isRef(e)?e.value:e.rounded,o=
|
|
371
|
-
if(
|
|
372
|
-
else if(
|
|
373
|
-
else(
|
|
374
|
-
return
|
|
370
|
+
return{roundedClasses:t.computed((()=>{const l=t.isRef(e)?e.value:e.rounded,o=[]
|
|
371
|
+
if((t.isRef(e)?e.value:e.tile)||!1===l)o.push("rounded-0")
|
|
372
|
+
else if(!0===l||""===l)o.push(`${a}--rounded`)
|
|
373
|
+
else if("string"==typeof l||0===l)for(const e of String(l).split(" "))o.push(`rounded-${e}`)
|
|
374
|
+
return o}))}}const wl=wt({transition:{type:null,default:"fade-transition",validator:e=>!0!==e}},"transition"),Sl=(e,a)=>{let{slots:l}=a
|
|
375
375
|
const{transition:o,disabled:n,group:r,...i}=e,{component:s=(r?t.TransitionGroup:t.Transition),...u}=h(o)?o:{}
|
|
376
376
|
let c
|
|
377
377
|
return c=h(o)?t.mergeProps(u,function(e){const t=["checked","disabled"]
|
|
@@ -510,11 +510,11 @@ const{isRtl:o}=ka(),n=t.computed((()=>{if(!e.location)return{}
|
|
|
510
510
|
const{side:t,align:n}=de(e.location.split(" ").length>1?e.location:`${e.location} center`,o.value)
|
|
511
511
|
function r(e){return l?l(e):0}const i={}
|
|
512
512
|
return"center"!==t&&(a?i[uo[t]]=`calc(100% - ${r(t)}px)`:i[t]=0),"center"!==n?a?i[uo[n]]=`calc(100% - ${r(n)}px)`:i[n]=0:("center"===t?i.top=i.left="50%":i[{top:"left",bottom:"left",left:"top",right:"top"}[t]]="50%",i.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[t]),i}))
|
|
513
|
-
return{locationStyles:n}}const po=wt({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},bufferColor:String,bufferOpacity:[Number,String],clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},opacity:[Number,String],reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...St(),...co({location:"top"}),...bl(),...Fa(),...Ca()},"VProgressLinear"),mo=Pt()({name:"VProgressLinear",props:po(),emits:{"update:modelValue":e=>!0},setup(e,
|
|
514
|
-
const
|
|
515
|
-
function
|
|
516
|
-
const{left:t,right:a,width:l}=
|
|
517
|
-
|
|
513
|
+
return{locationStyles:n}}const po=wt({absolute:Boolean,active:{type:Boolean,default:!0},bgColor:String,bgOpacity:[Number,String],bufferValue:{type:[Number,String],default:0},bufferColor:String,bufferOpacity:[Number,String],clickable:Boolean,color:String,height:{type:[Number,String],default:4},indeterminate:Boolean,max:{type:[Number,String],default:100},modelValue:{type:[Number,String],default:0},opacity:[Number,String],reverse:Boolean,stream:Boolean,striped:Boolean,roundedBar:Boolean,...St(),...co({location:"top"}),...bl(),...Fa(),...Ca()},"VProgressLinear"),mo=Pt()({name:"VProgressLinear",props:po(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:l}=a
|
|
514
|
+
const o=ca(e,"modelValue"),{isRtl:n,rtlClasses:r}=ka(),{themeClasses:i}=Aa(e),{locationStyles:s}=vo(e),{textColorClasses:u,textColorStyles:c}=hl((()=>e.color)),{backgroundColorClasses:d,backgroundColorStyles:v}=yl((()=>e.bgColor||e.color)),{backgroundColorClasses:p,backgroundColorStyles:m}=yl((()=>e.bufferColor||e.bgColor||e.color)),{backgroundColorClasses:f,backgroundColorStyles:h}=yl((()=>e.color)),{roundedClasses:y}=Vl(e),{intersectionRef:b,isIntersecting:V}=ro(),w=t.computed((()=>parseFloat(e.max))),S=t.computed((()=>parseFloat(e.height))),k=t.computed((()=>A(parseFloat(e.bufferValue)/w.value*100,0,100))),x=t.computed((()=>A(parseFloat(o.value)/w.value*100,0,100))),C=t.computed((()=>n.value!==e.reverse)),N=t.computed((()=>e.indeterminate?"fade-transition":"slide-x-transition"))
|
|
515
|
+
function E(e){if(!b.value)return
|
|
516
|
+
const{left:t,right:a,width:l}=b.value.getBoundingClientRect(),n=C.value?l-e.clientX+(a-l):e.clientX-t
|
|
517
|
+
o.value=Math.round(n/l*w.value)}return Lt((()=>t.createVNode(e.tag,{ref:b,class:t.normalizeClass(["v-progress-linear",{"v-progress-linear--absolute":e.absolute,"v-progress-linear--active":e.active&&V.value,"v-progress-linear--reverse":C.value,"v-progress-linear--rounded":e.rounded,"v-progress-linear--rounded-bar":e.roundedBar,"v-progress-linear--striped":e.striped,"v-progress-linear--clickable":e.clickable},y.value,i.value,r.value,e.class]),style:t.normalizeStyle([{bottom:"bottom"===e.location?0:void 0,top:"top"===e.location?0:void 0,height:e.active?g(S.value):0,"--v-progress-linear-height":g(S.value),...e.absolute?s.value:{}},e.style]),role:"progressbar","aria-hidden":e.active?"false":"true","aria-valuemin":"0","aria-valuemax":e.max,"aria-valuenow":e.indeterminate?void 0:Math.min(parseFloat(o.value),w.value),onClick:e.clickable&&E},{default:()=>[e.stream&&t.createElementVNode("div",{key:"stream",class:t.normalizeClass(["v-progress-linear__stream",u.value]),style:{...c.value,[C.value?"left":"right"]:g(-S.value),borderTop:`${g(S.value/2)} dotted`,opacity:parseFloat(e.bufferOpacity),top:`calc(50% - ${g(S.value/4)})`,width:g(100-k.value,"%"),"--v-progress-linear-stream-to":g(S.value*(C.value?1:-1))}},null),t.createElementVNode("div",{class:t.normalizeClass(["v-progress-linear__background",d.value]),style:t.normalizeStyle([v.value,{opacity:parseFloat(e.bgOpacity),width:e.stream?0:void 0}])},null),t.createElementVNode("div",{class:t.normalizeClass(["v-progress-linear__buffer",p.value]),style:t.normalizeStyle([m.value,{opacity:parseFloat(e.bufferOpacity),width:g(k.value,"%")}])},null),t.createVNode(t.Transition,{name:N.value},{default:()=>[e.indeterminate?t.createElementVNode("div",{class:"v-progress-linear__indeterminate"},[["long","short"].map((e=>t.createElementVNode("div",{key:e,class:t.normalizeClass(["v-progress-linear__indeterminate",e,f.value]),style:t.normalizeStyle(h.value)},null)))]):t.createElementVNode("div",{class:t.normalizeClass(["v-progress-linear__determinate",f.value]),style:t.normalizeStyle([h.value,{width:g(x.value,"%")}])},null)]}),l.default&&t.createElementVNode("div",{class:"v-progress-linear__content"},[l.default({value:x.value,buffer:k.value})])]}))),{}}}),fo=wt({loading:[Boolean,String]},"loader")
|
|
518
518
|
function go(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xt()
|
|
519
519
|
return{loaderClasses:t.toRef((()=>({[`${a}--loading`]:e.loading})))}}function ho(e,a){let{slots:l}=a
|
|
520
520
|
return t.createElementVNode("div",{class:t.normalizeClass(`${e.name}__loader`)},[l.default?.({color:e.color,isActive:e.active})||t.createVNode(mo,{absolute:e.absolute,active:e.active,color:e.color,height:"2",indeterminate:!0},null)])}const yo=["static","relative","fixed","absolute","sticky"],bo=wt({position:{type:String,validator:e=>yo.includes(e)}},"position")
|
|
@@ -703,15 +703,15 @@ if(e)if("next"===e){if(t=R(g.el.querySelector(":focus"),e),!t)return A("first")}
|
|
|
703
703
|
else{t=Z(g.el)[0]}t&&t.focus({preventScroll:!0})}function T(e){const t=p.value&&n.value?-1:1,a=("prev"===e?-t:t)*d.value
|
|
704
704
|
let l=c.value+a
|
|
705
705
|
if(p.value&&n.value&&m.el){const{scrollWidth:e,offsetWidth:t}=m.el
|
|
706
|
-
l+=e-t}x(l)}const D=t.computed((()=>({next:s.next,prev:s.prev,select:s.select,isSelected:s.isSelected}))),$=t.computed((()=>{switch(e.showArrows){case"always":return!0
|
|
706
|
+
l+=e-t}x(l)}const D=t.computed((()=>({next:s.next,prev:s.prev,select:s.select,isSelected:s.isSelected}))),$=t.computed((()=>u.value||Math.abs(c.value)>0)),F=t.computed((()=>{switch(e.showArrows){case"always":return!0
|
|
707
707
|
case"desktop":return!i.value
|
|
708
|
-
case!0:return
|
|
709
|
-
case"mobile":return i.value
|
|
710
|
-
default:return!i.value
|
|
708
|
+
case!0:return $.value
|
|
709
|
+
case"mobile":return i.value||$.value
|
|
710
|
+
default:return!i.value&&$.value}})),z=t.computed((()=>Math.abs(c.value)>1)),M=t.computed((()=>{if(!m.value||!$.value)return!1
|
|
711
711
|
const e=Un(p.value,m.el),t=function(e,t){const a=e?"clientWidth":"clientHeight"
|
|
712
712
|
return t?.[a]||0}(p.value,m.el)
|
|
713
713
|
return e-t-Math.abs(c.value)>1}))
|
|
714
|
-
return Lt((()=>t.createVNode(e.tag,{class:t.normalizeClass(["v-slide-group",{"v-slide-group--vertical":!p.value,"v-slide-group--has-affixes"
|
|
714
|
+
return Lt((()=>t.createVNode(e.tag,{class:t.normalizeClass(["v-slide-group",{"v-slide-group--vertical":!p.value,"v-slide-group--has-affixes":F.value,"v-slide-group--is-overflowing":u.value},r.value,e.class]),style:t.normalizeStyle(e.style),tabindex:S.value||s.selected.value.length?-1:0,onFocus:I},{default:()=>[F.value&&t.createElementVNode("div",{key:"prev",class:t.normalizeClass(["v-slide-group__prev",{"v-slide-group__prev--disabled":!z.value}]),onMousedown:P,onClick:()=>z.value&&T("prev")},[o.prev?.(D.value)??t.createVNode(Qa,null,{default:()=>[t.createVNode(no,{icon:n.value?e.nextIcon:e.prevIcon},null)]})]),t.createElementVNode("div",{key:"container",ref:m,class:t.normalizeClass(["v-slide-group__container",e.contentClass]),onScroll:C},[t.createElementVNode("div",{ref:g,class:"v-slide-group__content",onFocusin:N,onFocusout:E,onKeydown:B},[o.default?.(D.value)])]),F.value&&t.createElementVNode("div",{key:"next",class:t.normalizeClass(["v-slide-group__next",{"v-slide-group__next--disabled":!M.value}]),onMousedown:P,onClick:()=>M.value&&T("next")},[o.next?.(D.value)??t.createVNode(Qa,null,{default:()=>[t.createVNode(no,{icon:n.value?e.prevIcon:e.nextIcon},null)]})])]}))),{selected:s.selected,scrollTo:T,scrollOffset:c,focus:A,hasPrev:z,hasNext:M}}}),Qn=Symbol.for("vuetify:v-chip-group"),Jn=wt({baseColor:String,column:Boolean,filter:Boolean,valueComparator:{type:Function,default:v},...Xn(),...St(),...Gl({selectedClass:"v-chip--selected"}),...Fa(),...Ca(),...Hl({variant:"tonal"})},"VChipGroup"),er=Pt()({name:"VChipGroup",props:Jn(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:l}=a
|
|
715
715
|
const{themeClasses:o}=Aa(e),{isSelected:n,select:r,next:i,prev:s,selected:u}=Xl(e,Qn)
|
|
716
716
|
return Et({VChip:{baseColor:t.toRef((()=>e.baseColor)),color:t.toRef((()=>e.color)),disabled:t.toRef((()=>e.disabled)),filter:t.toRef((()=>e.filter)),variant:t.toRef((()=>e.variant))}}),Lt((()=>{const a=Zn.filterProps(e)
|
|
717
717
|
return t.createVNode(Zn,t.mergeProps(a,{class:["v-chip-group",{"v-chip-group--column":e.column},o.value,e.class],style:e.style}),{default:()=>[l.default?.({isSelected:n,select:r,next:i,prev:s,selected:u.value})]})})),{}}}),tr=wt({activeClass:String,appendAvatar:String,appendIcon:Ot,baseColor:String,closable:Boolean,closeIcon:{type:Ot,default:"$delete"},closeLabel:{type:String,default:"$vuetify.close"},draggable:Boolean,filter:Boolean,filterIcon:{type:Ot,default:"$complete"},label:Boolean,link:{type:Boolean,default:void 0},pill:Boolean,prependAvatar:String,prependIcon:Ot,ripple:{type:[Boolean,Object],default:!0},text:{type:[String,Number,Boolean],default:void 0},modelValue:{type:Boolean,default:!0},onClick:K(),onClickOnce:K(),...El(),...St(),...Ml(),...Il(),...Kl(),...bl(),...ko(),...ao(),...Fa({tag:"span"}),...Ca(),...Hl({variant:"tonal"})},"VChip"),ar=Pt()({name:"VChip",directives:{vRipple:jo},props:tr(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0,"group:selected":e=>!0,click:e=>!0},setup(e,a){let{attrs:l,emit:o,slots:n}=a
|
|
@@ -803,7 +803,7 @@ case"single":return cr
|
|
|
803
803
|
default:return dr}})),c=ca(e,"activated",e.activated,(e=>i.value.in(e,l.value,o.value)),(e=>i.value.out(e,l.value,o.value))),d=ca(e,"selected",e.selected,(e=>s.value.in(e,l.value,o.value,n.value)),(e=>s.value.out(e,l.value,o.value)))
|
|
804
804
|
function v(e){const a=[]
|
|
805
805
|
let l=t.toRaw(e)
|
|
806
|
-
for(;
|
|
806
|
+
for(;void 0!==l;)a.unshift(l),l=o.value.get(l)
|
|
807
807
|
return a}t.onBeforeUnmount((()=>{a=!0}))
|
|
808
808
|
const p=kt("nested"),m=new Set,f={id:t.shallowRef(),root:{opened:r,activatable:t.toRef((()=>e.activatable)),selectable:t.toRef((()=>e.selectable)),activated:c,selected:d,selectedValues:t.computed((()=>{const e=[]
|
|
809
809
|
for(const[t,a]of d.value.entries())"on"===a&&e.push(t)
|
|
@@ -822,7 +822,8 @@ const r=i.value.activate({id:t,value:a,activated:new Set(c.value),children:l.val
|
|
|
822
822
|
if(r.size!==c.value.size)c.value=r
|
|
823
823
|
else{for(const e of r)if(!c.value.has(e))return void(c.value=r)
|
|
824
824
|
for(const e of c.value)if(!r.has(e))return void(c.value=r)}},children:l,parents:o,disabled:n,getPath:v}}
|
|
825
|
-
return t.provide(gr,f),f.root},Vr=(e,a,l)=>{const o=t.inject(gr,hr),n=Symbol("nested item"),r=t.computed((()=>t.toRaw(t.toValue(e))
|
|
825
|
+
return t.provide(gr,f),f.root},Vr=(e,a,l)=>{const o=t.inject(gr,hr),n=Symbol("nested item"),r=t.computed((()=>{const a=t.toRaw(t.toValue(e))
|
|
826
|
+
return void 0!==a?a:n})),i={...o,id:r,open:(e,t)=>o.root.open(r.value,e,t),openOnSelect:(e,t)=>o.root.openOnSelect(r.value,e,t),isOpen:t.computed((()=>o.root.opened.value.has(r.value))),parent:t.computed((()=>o.root.parents.value.get(r.value))),activate:(e,t)=>o.root.activate(r.value,e,t),isActivated:t.computed((()=>o.root.activated.value.has(r.value))),select:(e,t)=>o.root.select(r.value,e,t),isSelected:t.computed((()=>"on"===o.root.selected.value.get(r.value))),isIndeterminate:t.computed((()=>"indeterminate"===o.root.selected.value.get(r.value))),isLeaf:t.computed((()=>!o.root.children.value.get(r.value))),isGroupActivator:o.isGroupActivator}
|
|
826
827
|
return t.onBeforeMount((()=>{o.isGroupActivator||o.root.register(r.value,o.id.value,t.toValue(a),l)})),t.onBeforeUnmount((()=>{o.isGroupActivator||o.root.unregister(r.value)})),l&&t.provide(gr,i),i},wr=It({name:"VListGroupActivator",setup(e,a){let{slots:l}=a
|
|
827
828
|
return(()=>{const e=t.inject(gr,hr)
|
|
828
829
|
t.provide(gr,{...e,isGroupActivator:!0})})(),()=>l.default?.()}}),Sr=wt({activeColor:String,baseColor:String,color:String,collapseIcon:{type:Ot,default:"$collapse"},disabled:Boolean,expandIcon:{type:Ot,default:"$expand"},rawId:[String,Number],prependIcon:Ot,appendIcon:Ot,fluid:Boolean,subgroup:Boolean,title:String,value:null,...St(),...Fa()},"VListGroup"),kr=Pt()({name:"VListGroup",props:Sr(),setup(e,a){let{slots:l}=a
|
|
@@ -1172,15 +1173,17 @@ return t.watchEffect((()=>{const s="function"==typeof l?l():t.unref(l),u="string
|
|
|
1172
1173
|
if(!e?.length)return l
|
|
1173
1174
|
e:for(let i=0;i<e.length;i++){const[s,u=s]=B(e[i]),c={},d={}
|
|
1174
1175
|
let v=-1
|
|
1175
|
-
if((t||r>0)&&!a?.noFilter){
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1176
|
+
if((t||r>0)&&!a?.noFilter){let e=!1
|
|
1177
|
+
if("object"==typeof s){if("divider"===s.type||"subheader"===s.type)continue
|
|
1178
|
+
const l=n||Object.keys(u)
|
|
1179
|
+
e=l.length===r
|
|
1180
|
+
for(const e of l){const l=m(u,e),n=a?.customKeyFilter?.[e]
|
|
1181
|
+
if(v=n?n(l,t,s):o(l,t,s),-1!==v&&!1!==v)n?c[e]=Ji(v,t):d[e]=Ji(v,t)
|
|
1179
1182
|
else if("every"===a?.filterMode)continue e}}else v=o(s,t,s),-1!==v&&!1!==v&&(d.title=Ji(v,t))
|
|
1180
|
-
const
|
|
1181
|
-
if(!
|
|
1182
|
-
if("union"===a?.filterMode&&
|
|
1183
|
-
if("intersection"===a?.filterMode&&(
|
|
1183
|
+
const l=Object.keys(d).length,i=Object.keys(c).length
|
|
1184
|
+
if(!l&&!i)continue
|
|
1185
|
+
if("union"===a?.filterMode&&i!==r&&!l)continue
|
|
1186
|
+
if("intersection"===a?.filterMode&&(i!==r||!l&&r>0&&!e))continue}l.push({index:i,matches:{...d,...c}})}return l}(i.value,u,{customKeyFilter:{...e.customKeyFilter,...t.unref(o?.customKeyFilter)},default:e.customFilter,filterKeys:e.filterKeys,filterMode:e.filterMode,noFilter:e.noFilter}),d=t.unref(a),v=[],p=new Map
|
|
1184
1187
|
c.forEach((e=>{let{index:t,matches:a}=e
|
|
1185
1188
|
const l=d[t]
|
|
1186
1189
|
v.push(l),p.set(l.value,a)})),n.value=v,r.value=p})),{filteredItems:n,filteredMatches:r,getMatches:function(e){return r.value.get(e.value)}}}function as(e,a,l){return null!=l&&l.length?l.map(((o,n)=>{const r=0===n?0:l[n-1][1],i=[t.createElementVNode("span",{class:t.normalizeClass(`${e}__unmask`)},[a.slice(r,o[0])]),t.createElementVNode("span",{class:t.normalizeClass(`${e}__mask`)},[a.slice(o[0],o[1])])]
|
|
@@ -1257,10 +1260,10 @@ return{touchstart:e=>function(e,t){const a=e.changedTouches[0]
|
|
|
1257
1260
|
t.touchstartX=a.clientX,t.touchstartY=a.clientY,t.start?.({originalEvent:e,...t})}(e,t),touchend:e=>function(e,t){const a=e.changedTouches[0]
|
|
1258
1261
|
t.touchendX=a.clientX,t.touchendY=a.clientY,t.end?.({originalEvent:e,...t}),Ts(t)}(e,t),touchmove:e=>function(e,t){const a=e.changedTouches[0]
|
|
1259
1262
|
t.touchmoveX=a.clientX,t.touchmoveY=a.clientY,t.move?.({originalEvent:e,...t})}(e,t)}}const $s={mounted:function(e,t){const a=t.value,l=a?.parent?e.parentElement:e,o=a?.options??{passive:!0},n=t.instance?.$.uid
|
|
1260
|
-
if(!l
|
|
1263
|
+
if(!l||void 0===n)return
|
|
1261
1264
|
const r=Ds(t.value)
|
|
1262
1265
|
l._touchHandlers=l._touchHandlers??Object.create(null),l._touchHandlers[n]=r,w(r).forEach((e=>{l.addEventListener(e,r[e],o)}))},unmounted:function(e,t){const a=t.value?.parent?e.parentElement:e,l=t.instance?.$.uid
|
|
1263
|
-
if(!a?._touchHandlers
|
|
1266
|
+
if(!a?._touchHandlers||void 0===l)return
|
|
1264
1267
|
const o=a._touchHandlers[l]
|
|
1265
1268
|
w(o).forEach((e=>{a.removeEventListener(e,o[e])})),delete a._touchHandlers[l]}},Fs=Symbol.for("vuetify:v-window"),zs=Symbol.for("vuetify:v-window-group"),Ms=wt({continuous:Boolean,nextIcon:{type:[Boolean,String,Function,Object],default:"$next"},prevIcon:{type:[Boolean,String,Function,Object],default:"$prev"},reverse:Boolean,showArrows:{type:[Boolean,String],validator:e=>"boolean"==typeof e||"hover"===e},verticalArrows:[Boolean,String],touch:{type:[Object,Boolean],default:void 0},direction:{type:String,default:"horizontal"},modelValue:null,disabled:Boolean,selectedClass:{type:String,default:"v-window-item--active"},mandatory:{type:[Boolean,String],default:"force"},...St(),...Fa(),...Ca()},"VWindow"),Ls=Pt()({name:"VWindow",directives:{vTouch:$s},props:Ms(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:l}=a
|
|
1266
1269
|
const{themeClasses:o}=Aa(e),{isRtl:n}=ka(),{t:r}=wa(),i=Xl(e,zs),s=t.ref(),u=t.computed((()=>n.value?!e.reverse:e.reverse)),c=t.shallowRef(!1),d=t.computed((()=>`v-window-${"vertical"===e.direction?"y":"x"}${(u.value?!c.value:c.value)?"-reverse":""}-transition`)),v=t.shallowRef(0),p=t.ref(void 0),m=t.computed((()=>i.items.value.findIndex((e=>i.selected.value.includes(e.id)))))
|
|
@@ -2074,10 +2077,10 @@ let a=null
|
|
|
2074
2077
|
m.value>c.value.length?a=c.value.length+1:m.value+1!==v.value&&(a="next"),c.value=e,a&&J(f.value,a)}function V(){y=!1,b()}function w(e){const t=c.value.slice(),a=m.value
|
|
2075
2078
|
let l=null;["ArrowLeft","ArrowRight","Backspace","Delete"].includes(e.key)&&(e.preventDefault(),"ArrowLeft"===e.key?l="prev":"ArrowRight"===e.key?l="next":["Backspace","Delete"].includes(e.key)&&(t[m.value]="",c.value=t,m.value>0&&"Backspace"===e.key?l="prev":requestAnimationFrame((()=>{g.value[a]?.select()}))),requestAnimationFrame((()=>{null!=l&&J(f.value,l)})))}function S(){u(),m.value=-1}function k(t){return"number"===e.type&&/[^0-9]/g.test(t)}return ua((()=>e.autofocus),(()=>{const e=t.effectScope()
|
|
2076
2079
|
e.run((()=>{const{intersectionRef:a,isIntersecting:l}=ro()
|
|
2077
|
-
t.watchEffect((()=>{a.value=g.value[0]})),t.watch(l,(t=>{t&&(a.value?.focus(),e.stop())}))}))})),Et({VField:{color:t.toRef((()=>e.color)),bgColor:t.toRef((()=>e.color)),baseColor:t.toRef((()=>e.baseColor)),disabled:t.toRef((()=>e.disabled)),error:t.toRef((()=>e.error)),variant:t.toRef((()=>e.variant))}},{scoped:!0}),t.watch(c,(e=>{e.length===v.value&&
|
|
2080
|
+
t.watchEffect((()=>{a.value=g.value[0]})),t.watch(l,(t=>{t&&(a.value?.focus(),e.stop())}))}))})),Et({VField:{color:t.toRef((()=>e.color)),bgColor:t.toRef((()=>e.color)),baseColor:t.toRef((()=>e.baseColor)),disabled:t.toRef((()=>e.disabled)),error:t.toRef((()=>e.error)),variant:t.toRef((()=>e.variant))}},{scoped:!0}),t.watch(c,(e=>{e.length===v.value&&o("finish",e.join(""))}),{deep:!0}),t.watch(m,(e=>{e<0||t.nextTick((()=>{g.value[e]?.select()}))})),Lt((()=>{const[a,o]=P(l)
|
|
2078
2081
|
return t.createElementVNode("div",t.mergeProps({class:["v-otp-input",{"v-otp-input--divided":!!e.divider},e.class],style:[e.style]},a),[t.createElementVNode("div",{ref:f,class:"v-otp-input__content",style:t.normalizeStyle([r.value])},[p.value.map(((a,l)=>t.createElementVNode(t.Fragment,null,[e.divider&&0!==l&&t.createElementVNode("span",{class:"v-otp-input__divider"},[e.divider]),t.createVNode(Fi,{focused:i.value&&e.focusAll||m.value===l,key:l},{...n,loader:void 0,default:()=>t.createElementVNode("input",{ref:e=>g.value[l]=e,"aria-label":d(e.label,l+1),autofocus:0===l&&e.autofocus,autocomplete:"one-time-code",class:t.normalizeClass(["v-otp-input__field"]),disabled:e.disabled,inputmode:"number"===e.type?"numeric":"text",min:"number"===e.type?0:void 0,maxlength:0===l?v.value:"1",placeholder:e.placeholder,type:"number"===e.type?"text":e.type,value:c.value[l],onInput:b,onFocus:e=>function(e,t){s(),m.value=t}(0,l),onBlur:S,onKeydown:w,onCompositionstart:()=>y=!0,onCompositionend:V,onPaste:e=>function(e,t){t.preventDefault(),t.stopPropagation()
|
|
2079
2082
|
const a=t?.clipboardData?.getData("Text").trim().slice(0,v.value)??"",l=a.length-1==-1?e:a.length-1
|
|
2080
|
-
k(a)||(c.value=a.split(""),
|
|
2083
|
+
k(a)||(c.value=a.split(""),m.value=l)}(l,e)},null)})]))),t.createElementVNode("input",t.mergeProps({class:"v-otp-input-input",type:"hidden"},o,{value:c.value.join("")}),null),t.createVNode(_i,{contained:!0,contentClass:"v-otp-input__loader",modelValue:!!e.loading,persistent:!0},{default:()=>[n.loader?.()??t.createVNode(so,{color:"boolean"==typeof e.loading?void 0:e.loading,indeterminate:!0,size:"24",width:"2"},null)]}),n.default?.()])])})),{blur:()=>{g.value?.some((e=>e.blur()))},focus:()=>{g.value?.[0].focus()},reset:function(){c.value=[]},isFocused:i}}})
|
|
2081
2084
|
const up=wt({scale:{type:[Number,String],default:.5},...St()},"VParallax"),cp=Pt()({name:"VParallax",props:up(),setup(e,a){let{slots:l}=a
|
|
2082
2085
|
const{intersectionRef:o,isIntersecting:n}=ro(),{resizeRef:r,contentRect:i}=ta(),{height:s}=zn(),u=t.ref()
|
|
2083
2086
|
let c
|
|
@@ -2389,8 +2392,8 @@ if(m.run((()=>{o.install(u)})),u.onUnmount((()=>m.stop())),u.provide(Ct,e),u.pro
|
|
|
2389
2392
|
else{const{mount:e}=u
|
|
2390
2393
|
u.mount=function(){const a=e(...arguments)
|
|
2391
2394
|
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:uf.call(this,Ct),display:uf.call(this,Bn),theme:uf.call(this,xa),icons:uf.call(this,jt),locale:uf.call(this,ba),date:uf.call(this,Mu)})}}})},unmount:function(){u.stop()},defaults:e,display:l,theme:o,icons:c,locale:d,date:v,goTo:p}}))}function uf(e){const t=this.$,a=t.parent?.provides??t.vnode.appContext?.provides
|
|
2392
|
-
if(a&&e in a)return a[e]}sf.version="3.9.
|
|
2393
|
-
const cf=function(){return sf({components:Qm,directives:rf,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},df="3.9.
|
|
2395
|
+
if(a&&e in a)return a[e]}sf.version="3.9.7"
|
|
2396
|
+
const cf=function(){return sf({components:Qm,directives:rf,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},df="3.9.7"
|
|
2394
2397
|
cf.version=df,e.blueprints=ea,e.components=Qm,e.createVuetify=cf,e.directives=rf,e.useDate=Ou,e.useDefaults=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0
|
|
2395
2398
|
const{props:a,provideSubDefaults:l}=_t(e,t)
|
|
2396
2399
|
return l(),a},e.useDisplay=zn,e.useGoTo=Wn,e.useHotkey=function(e,l){let o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}
|