@vuetify/nightly 3.7.1-master.2024-09-06 → 3.7.1-master.2024-09-10

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.7.1-master.2024-09-06
2
+ * Vuetify v3.7.1-master.2024-09-10
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -676,10 +676,10 @@ if(a){const e=new Set
676
676
  e.add(t)
677
677
  let a=o.get(t)
678
678
  for(;null!=a;)e.add(a),a=o.get(a)
679
- return e}return l.delete(t),l},select:()=>null},Kn={open:e=>{let{id:a,value:l,opened:o,parents:n}=e
680
- if(l){let e=t.toRaw(n.get(a))
681
- for(o.add(a);null!=e&&e!==a;)o.add(e),e=t.toRaw(n.get(e))
682
- return o}return o.delete(a),o},select:()=>null},Xn={open:Kn.open,select:e=>{let{id:t,value:a,opened:l,parents:o}=e
679
+ return e}return l.delete(t),l},select:()=>null},Kn={open:e=>{let{id:t,value:a,opened:l,parents:o}=e
680
+ if(a){let e=o.get(t)
681
+ for(l.add(t);null!=e&&e!==t;)l.add(e),e=o.get(e)
682
+ return l}return l.delete(t),l},select:()=>null},Xn={open:Kn.open,select:e=>{let{id:t,value:a,opened:l,parents:o}=e
683
683
  if(!a)return l
684
684
  const n=[]
685
685
  let r=o.get(t)
@@ -698,7 +698,7 @@ o=t.toRaw(o)
698
698
  const r=l.has(o)?new Map([[o,l.get(o)]]):new Map
699
699
  return a.select({...n,id:o,selected:r})},in:(e,t,l)=>{let o=new Map
700
700
  return e?.length&&(o=a.in(e.slice(0,1),t,l)),o},out:(e,t,l)=>a.out(e,t,l)}},Jn=Symbol.for("vuetify:nested"),er={id:t.shallowRef(),root:{register:()=>null,unregister:()=>null,parents:t.ref(new Map),children:t.ref(new Map),open:()=>null,openOnSelect:()=>null,activate:()=>null,select:()=>null,activatable:t.ref(!1),selectable:t.ref(!1),opened:t.ref(new Set),activated:t.ref(new Set),selected:t.ref(new Map),selectedValues:t.ref([]),getPath:()=>[]}},tr=ht({activatable:Boolean,selectable:Boolean,activeStrategy:[String,Function,Object],selectStrategy:[String,Function,Object],openStrategy:[String,Object],opened:null,activated:null,selected:null,mandatory:Boolean},"nested"),ar=e=>{let a=!1
701
- const l=t.ref(new Map),o=t.ref(new Map),n=sa(e,"opened",e.opened,(e=>new Set(t.toRaw(e))),(e=>[...e.values()])),r=t.computed((()=>{if("object"==typeof e.activeStrategy)return e.activeStrategy
701
+ const l=t.ref(new Map),o=t.ref(new Map),n=sa(e,"opened",e.opened,(e=>new Set(e)),(e=>[...e.values()])),r=t.computed((()=>{if("object"==typeof e.activeStrategy)return e.activeStrategy
702
702
  if("function"==typeof e.activeStrategy)return e.activeStrategy(e.mandatory)
703
703
  switch(e.activeStrategy){case"leaf":return(e=>{const a=Yn(e)
704
704
  return{activate:e=>{let{id:l,activated:o,children:n,...r}=e
@@ -753,7 +753,7 @@ n&&(c.value=n),f.root.openOnSelect(e,t,a)},activate:(t,a,n)=>{if(!e.activatable)
753
753
  v.emit("click:activate",{id:t,value:a,path:d(t),event:n})
754
754
  const i=r.value.activate({id:t,value:a,activated:new Set(u.value),children:l.value,parents:o.value,event:n})
755
755
  i&&(u.value=i)},children:l,parents:o,getPath:d}}
756
- return t.provide(Jn,f),f.root},lr=(e,a)=>{const l=t.inject(Jn,er),o=Symbol(kt()),n=t.computed((()=>void 0!==e.value?e.value:o)),r={...l,id:n,open:(e,a)=>l.root.open(t.toRaw(n.value),e,a),openOnSelect:(e,t)=>l.root.openOnSelect(n.value,e,t),isOpen:t.computed((()=>l.root.opened.value.has(t.toRaw(n.value)))),parent:t.computed((()=>l.root.parents.value.get(n.value))),activate:(e,t)=>l.root.activate(n.value,e,t),isActivated:t.computed((()=>l.root.activated.value.has(t.toRaw(n.value)))),select:(e,t)=>l.root.select(n.value,e,t),isSelected:t.computed((()=>"on"===l.root.selected.value.get(t.toRaw(n.value)))),isIndeterminate:t.computed((()=>"indeterminate"===l.root.selected.value.get(n.value))),isLeaf:t.computed((()=>!l.root.children.value.get(n.value))),isGroupActivator:l.isGroupActivator}
756
+ return t.provide(Jn,f),f.root},lr=(e,a)=>{const l=t.inject(Jn,er),o=Symbol(kt()),n=t.computed((()=>void 0!==e.value?e.value:o)),r={...l,id:n,open:(e,t)=>l.root.open(n.value,e,t),openOnSelect:(e,t)=>l.root.openOnSelect(n.value,e,t),isOpen:t.computed((()=>l.root.opened.value.has(n.value))),parent:t.computed((()=>l.root.parents.value.get(n.value))),activate:(e,t)=>l.root.activate(n.value,e,t),isActivated:t.computed((()=>l.root.activated.value.has(t.toRaw(n.value)))),select:(e,t)=>l.root.select(n.value,e,t),isSelected:t.computed((()=>"on"===l.root.selected.value.get(t.toRaw(n.value)))),isIndeterminate:t.computed((()=>"indeterminate"===l.root.selected.value.get(n.value))),isLeaf:t.computed((()=>!l.root.children.value.get(n.value))),isGroupActivator:l.isGroupActivator}
757
757
  return!l.isGroupActivator&&l.root.register(n.value,l.id.value,a),t.onBeforeUnmount((()=>{!l.isGroupActivator&&l.root.unregister(n.value)})),a&&t.provide(Jn,r),r},or=It({name:"VListGroupActivator",setup(e,a){let{slots:l}=a
758
758
  return(()=>{const e=t.inject(Jn,er)
759
759
  t.provide(Jn,{...e,isGroupActivator:!0})})(),()=>l.default?.()}}),nr=ht({activeColor:String,baseColor:String,color:String,collapseIcon:{type:Ot,default:"$collapse"},expandIcon:{type:Ot,default:"$expand"},prependIcon:Ot,appendIcon:Ot,fluid:Boolean,subgroup:Boolean,title:String,value:null,...yt(),...Ba()},"VListGroup"),rr=Pt()({name:"VListGroup",props:nr(),setup(e,a){let{slots:l}=a
@@ -2099,8 +2099,8 @@ if(d.install(e),e.provide(xt,u),e.provide(yn,c),e.provide(wa,d),e.provide(Lt,v),
2099
2099
  else{const{mount:a}=e
2100
2100
  e.mount=function(){const l=a(...arguments)
2101
2101
  return t.nextTick((()=>c.update())),e.mount=a,l}}kt.reset(),("boolean"!=typeof __VUE_OPTIONS_API__||__VUE_OPTIONS_API__)&&e.mixin({computed:{$vuetify(){return t.reactive({defaults:uf.call(this,xt),display:uf.call(this,yn),theme:uf.call(this,wa),icons:uf.call(this,Lt),locale:uf.call(this,ga),date:uf.call(this,gu)})}}})},defaults:u,display:c,theme:d,icons:v,locale:p,date:f,goTo:m}}function uf(e){const t=this.$,a=t.parent?.provides??t.vnode.appContext?.provides
2102
- if(a&&e in a)return a[e]}sf.version="3.7.1-master.2024-09-06"
2103
- const cf=function(){return sf({components:Qp,directives:rf,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},df="3.7.1-master.2024-09-06"
2102
+ if(a&&e in a)return a[e]}sf.version="3.7.1-master.2024-09-10"
2103
+ const cf=function(){return sf({components:Qp,directives:rf,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},df="3.7.1-master.2024-09-10"
2104
2104
  cf.version=df,e.blueprints=Qt,e.components=Qp,e.createVuetify=cf,e.directives=rf,e.useDate=yu,e.useDefaults=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0
2105
2105
  const{props:a,provideSubDefaults:l}=_t(e,t)
2106
2106
  return l(),a},e.useDisplay=Nn,e.useGoTo=Bn,e.useLayout=oa,e.useLocale=ya,e.useRtl=Va,e.useTheme=Na,e.version=df}))