@vuetify/nightly 3.6.6-master.2024-05-16 → 3.6.6-master.2024-05-21

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.6.6-master.2024-05-16
2
+ * Vuetify v3.6.6-master.2024-05-21
3
3
  * Forged by John Leider
4
4
  * Released under the MIT License.
5
5
  */
@@ -51,6 +51,7 @@ if(M.cache.has(e))return M.cache.get(e)
51
51
  const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase()
52
52
  return M.cache.set(e,t),t}function L(e,t){if(!t||"object"!=typeof t)return[]
53
53
  if(Array.isArray(t))return t.map((t=>L(e,t))).flat(1)
54
+ if(t.suspense)return L(e,t.ssContent)
54
55
  if(Array.isArray(t.children))return t.children.map((t=>L(e,t))).flat(1)
55
56
  if(t.component){if(Object.getOwnPropertySymbols(t.component.provides).includes(e))return[t.component]
56
57
  if(t.component.subTree)return L(e,t.component.subTree).flat(1)}return[]}M.cache=new Map
@@ -1426,8 +1427,8 @@ const n=aa(e,"modelValue"),r=t.ref()
1426
1427
  t.watchEffect((()=>{r.value=structuredClone(t.toRaw(n.value))}))
1427
1428
  const{t:i}=va(),s=t.computed((()=>c(n.value,r.value)))
1428
1429
  function u(){n.value=r.value,l("save",r.value)}function d(){r.value=structuredClone(t.toRaw(n.value)),l("cancel")}let v=!1
1429
- Rt((()=>{const a=t.createVNode(t.Fragment,null,[t.createVNode(Bo,{disabled:s.value,variant:"text",color:e.color,onClick:d,text:i(e.cancelText)},null),t.createVNode(Bo,{disabled:s.value,variant:"text",color:e.color,onClick:u,text:i(e.okText)},null)])
1430
- return t.createVNode(t.Fragment,null,[o.default?.({model:r,get actions(){return v=!0,a}}),!v&&a])}))}}),gu=st({expandOnClick:Boolean,showExpand:Boolean,expanded:{type:Array,default:()=>[]}},"DataTable-expand"),hu=Symbol.for("vuetify:datatable:expanded")
1430
+ return Rt((()=>{const a=t.createVNode(t.Fragment,null,[t.createVNode(Bo,{disabled:s.value,variant:"text",color:e.color,onClick:d,text:i(e.cancelText)},null),t.createVNode(Bo,{disabled:s.value,variant:"text",color:e.color,onClick:u,text:i(e.okText)},null)])
1431
+ return t.createVNode(t.Fragment,null,[o.default?.({model:r,save:u,cancel:d,isPristine:s.value,get actions(){return v=!0,a}}),!v&&a])})),{save:u,cancel:d,isPristine:s}}}),gu=st({expandOnClick:Boolean,showExpand:Boolean,expanded:{type:Array,default:()=>[]}},"DataTable-expand"),hu=Symbol.for("vuetify:datatable:expanded")
1431
1432
  function yu(e){const a=t.toRef(e,"expandOnClick"),l=aa(e,"expanded",e.expanded,(e=>new Set(e)),(e=>[...e.values()]))
1432
1433
  function o(e,t){const a=new Set(l.value)
1433
1434
  t?a.add(e.value):a.delete(e.value),l.value=a}function n(e){return l.value.has(e.value)}const r={expand:o,expanded:l,expandOnClick:a,isExpanded:n,toggleExpand:function(e){o(e,!n(e))}}
@@ -2079,9 +2080,9 @@ else{const{mount:a}=e
2079
2080
  e.mount=function(){const l=a(...arguments)
2080
2081
  return t.nextTick((()=>c.update())),e.mount=a,l}}Ct.reset(),("boolean"!=typeof __VUE_OPTIONS_API__||__VUE_OPTIONS_API__)&&e.mixin({computed:{$vuetify(){return t.reactive({defaults:lf.call(this,ct),display:lf.call(this,dn),theme:lf.call(this,ma),icons:lf.call(this,Dt),locale:lf.call(this,ca),date:lf.call(this,cu)})}}})}
2081
2082
  return{install:g,defaults:u,display:c,theme:d,icons:v,locale:p,date:f,goTo:m}}function lf(e){const t=this.$,a=t.parent?.provides??t.vnode.appContext?.provides
2082
- if(a&&e in a)return a[e]}af.version="3.6.6-master.2024-05-16"
2083
+ if(a&&e in a)return a[e]}af.version="3.6.6-master.2024-05-21"
2083
2084
  const of=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
2084
- return af({components:Gp,directives:tf,...e})},nf="3.6.6-master.2024-05-16"
2085
+ return af({components:Gp,directives:tf,...e})},nf="3.6.6-master.2024-05-21"
2085
2086
  of.version=nf,e.blueprints=Yt,e.components=Gp,e.createVuetify=of,e.directives=tf,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
2086
2087
  const{props:a,provideSubDefaults:l}=mt(e,t)
2087
2088
  return l(),a},e.useDisplay=yn,e.useGoTo=xn,e.useLayout=Qt,e.useLocale=va,e.useRtl=fa,e.useTheme=ba,e.version=nf}))