@vuetify/nightly 3.7.13-master.2025-02-25 → 3.7.14-master.2025-02-27
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 +10 -22
- package/dist/json/attributes.json +3406 -3410
- package/dist/json/importMap-labs.json +24 -24
- package/dist/json/importMap.json +210 -210
- package/dist/json/tags.json +0 -1
- package/dist/json/web-types.json +6132 -6141
- package/dist/vuetify-labs.css +2773 -2774
- package/dist/vuetify-labs.d.ts +0 -6
- package/dist/vuetify-labs.esm.js +25 -26
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +25 -26
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +3299 -3300
- package/dist/vuetify.d.ts +74 -74
- package/dist/vuetify.esm.js +23 -25
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +23 -25
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +16 -13
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VFileInput/VFileInput.css +0 -1
- package/lib/components/VFileInput/VFileInput.mjs +11 -1
- package/lib/components/VFileInput/VFileInput.mjs.map +1 -1
- package/lib/components/VFileInput/VFileInput.sass +0 -1
- package/lib/composables/date/adapters/vuetify.mjs +9 -21
- package/lib/composables/date/adapters/vuetify.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +74 -74
- package/lib/labs/VNumberInput/VNumberInput.mjs +2 -1
- package/lib/labs/VNumberInput/VNumberInput.mjs.map +1 -1
- package/lib/labs/VNumberInput/index.d.mts +0 -6
- package/lib/labs/components.d.mts +0 -6
- package/lib/locale/zh-Hant.mjs +30 -30
- package/lib/locale/zh-Hant.mjs.map +1 -1
- package/package.json +1 -1
package/dist/vuetify.min.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Vuetify v3.7.
|
2
|
+
* Vuetify v3.7.14-master.2025-02-27
|
3
3
|
* Forged by John Leider
|
4
4
|
* Released under the MIT License.
|
5
5
|
*/
|
@@ -1398,20 +1398,23 @@ case"minutes":r={minute:"numeric"}
|
|
1398
1398
|
break
|
1399
1399
|
case"seconds":r={second:"numeric"}
|
1400
1400
|
break
|
1401
|
-
case"fullTime":
|
1401
|
+
case"fullTime":r={hour:"numeric",minute:"numeric"}
|
1402
1402
|
break
|
1403
|
-
case"
|
1403
|
+
case"fullTime12h":r={hour:"numeric",minute:"numeric",hour12:!0}
|
1404
1404
|
break
|
1405
|
-
case"
|
1405
|
+
case"fullTime24h":r={hour:"numeric",minute:"numeric",hour12:!1}
|
1406
1406
|
break
|
1407
|
-
case"
|
1407
|
+
case"fullDateTime":r={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric"}
|
1408
1408
|
break
|
1409
|
-
case"
|
1409
|
+
case"fullDateTime12h":r={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:!0}
|
1410
1410
|
break
|
1411
|
-
case"
|
1411
|
+
case"fullDateTime24h":r={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:!1}
|
1412
1412
|
break
|
1413
|
-
case"
|
1413
|
+
case"keyboardDate":r={year:"numeric",month:"2-digit",day:"2-digit"}
|
1414
1414
|
break
|
1415
|
+
case"keyboardDateTime":return r={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric"},new Intl.DateTimeFormat(a,r).format(o).replace(/, /g," ")
|
1416
|
+
case"keyboardDateTime12h":return r={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",hour12:!0},new Intl.DateTimeFormat(a,r).format(o).replace(/, /g," ")
|
1417
|
+
case"keyboardDateTime24h":return r={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",hour12:!1},new Intl.DateTimeFormat(a,r).format(o).replace(/, /g," ")
|
1415
1418
|
default:r=n??{timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(a,r).format(o)}function cu(e,t){return e.getTime()>t.getTime()}function du(e,t){return e.getTime()===t.getTime()}function vu(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0,0)}class pu{constructor(e){this.locale=e.locale,this.formats=e.formats}date(e){return iu(e)}toJsDate(e){return e}toISO(e){return function(e,t){const a=e.toJsDate(t)
|
1416
1419
|
return`${a.getFullYear()}-${D(String(a.getMonth()+1),2,"0")}-${D(String(a.getDate()),2,"0")}`}(this,e)}parseISO(e){return function(e){const[t,a,l]=e.split("-").map(Number)
|
1417
1420
|
return new Date(t,a-1,l)}(e)}addMinutes(e,t){return function(e,t){const a=new Date(e)
|
@@ -1787,9 +1790,9 @@ const{t:r}=ha(),i=ia(e,"modelValue",e.modelValue,(e=>B(e)),(t=>!e.multiple&&Arra
|
|
1787
1790
|
return e+a}),0))),p=t.computed((()=>E(v.value,d.value))),f=t.computed((()=>(i.value??[]).map((t=>{const{name:a="",size:l=0}=t
|
1788
1791
|
return e.showSize?`${a} (${E(l,d.value)})`:a})))),m=t.computed((()=>{const t=i.value?.length??0
|
1789
1792
|
return e.showSize?r(e.counterSizeString,t,p.value):r(e.counterString,t)})),g=t.ref(),h=t.ref(),y=t.ref(),b=t.computed((()=>s.value||e.active)),V=t.computed((()=>["plain","underlined"].includes(e.variant)))
|
1790
|
-
function w(){y.value!==document.activeElement&&y.value?.focus(),s.value||u()}function S(e){y.value?.click()}function k(e){o("mousedown:control",e)}function x(e){y.value?.click(),o("click:control",e)}function N(a){a.stopPropagation(),w(),t.nextTick((()=>{i.value=[],q(e["onClick:clear"],a)}))}return t.watch(i,(e=>{(!Array.isArray(e)||!e.length)&&y.value&&(y.value.value="")})),$t((()=>{const a=!(!n.counter&&!e.counter),o=!(!a&&!n.details),[r,u]=P(l),{modelValue:d,...
|
1791
|
-
return t.createVNode(pn,t.mergeProps({ref:g,modelValue:e.multiple?i.value:i.value[0],class:["v-file-input",{"v-file-input--chips":!!e.chips,"v-file-input--hide":e.hideInput,"v-input--plain-underlined":V.value},e.class],style:e.style,"onClick:prepend":S},r,
|
1792
|
-
return t.createVNode(Vi,t.mergeProps({ref:h,"prepend-icon":e.prependIcon,onMousedown:k,onClick:x,"onClick:clear":N,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"]},
|
1793
|
+
function w(){y.value!==document.activeElement&&y.value?.focus(),s.value||u()}function S(e){y.value?.click()}function k(e){o("mousedown:control",e)}function x(e){y.value?.click(),o("click:control",e)}function N(a){a.stopPropagation(),w(),t.nextTick((()=>{i.value=[],q(e["onClick:clear"],a)}))}function C(e){e.preventDefault()}function _(e){e.preventDefault(),e.dataTransfer&&(i.value=[...e.dataTransfer.files??[]])}return t.watch(i,(e=>{(!Array.isArray(e)||!e.length)&&y.value&&(y.value.value="")})),$t((()=>{const a=!(!n.counter&&!e.counter),o=!(!a&&!n.details),[r,u]=P(l),{modelValue:d,...I}=pn.filterProps(e),B=wi(e)
|
1794
|
+
return t.createVNode(pn,t.mergeProps({ref:g,modelValue:e.multiple?i.value:i.value[0],class:["v-file-input",{"v-file-input--chips":!!e.chips,"v-file-input--hide":e.hideInput,"v-input--plain-underlined":V.value},e.class],style:e.style,"onClick:prepend":S},r,I,{centerAffix:!V.value,focused:s.value}),{...n,default:a=>{let{id:l,isDisabled:o,isDirty:r,isReadonly:d,isValid:m}=a
|
1795
|
+
return t.createVNode(Vi,t.mergeProps({ref:h,"prepend-icon":e.prependIcon,onMousedown:k,onClick:x,"onClick:clear":N,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"]},B,{id:l.value,active:b.value||r.value,dirty:r.value||e.dirty,disabled:o.value,focused:s.value,error:!1===m.value,onDragover:C,onDrop:_}),{...n,default:a=>{let{props:{class:l,...r}}=a
|
1793
1796
|
return t.createVNode(t.Fragment,null,[t.createVNode("input",t.mergeProps({ref:y,type:"file",readonly:d.value,disabled:o.value,multiple:e.multiple,name:e.name,onClick:e=>{e.stopPropagation(),d.value&&e.preventDefault(),w()},onChange:e=>{if(!e.target)return
|
1794
1797
|
const t=e.target
|
1795
1798
|
i.value=[...t.files??[]]},onFocus:w,onBlur:c},r,u),null),t.createVNode("div",{class:l},[!!i.value?.length&&!e.hideInput&&(n.selection?n.selection({fileNames:f.value,totalBytes:v.value,totalBytesReadable:p.value}):e.chips?f.value.map((e=>t.createVNode(zn,{key:e,size:"small",text:e},null))):f.value.join(", "))])])}})},details:o?l=>t.createVNode(t.Fragment,null,[n.details?.(l),a&&t.createVNode(t.Fragment,null,[t.createVNode("span",null,null),t.createVNode(mi,{active:!!i.value?.length,value:m.value,disabled:e.disabled},n.counter)])]):void 0})})),di({},g,h,y)}}),qd=gt({app:Boolean,color:String,height:{type:[Number,String],default:"auto"},...yl(),...ht(),...Vl(),...aa(),...cl(),...Pa({tag:"footer"}),...wa()},"VFooter"),Kd=It()({name:"VFooter",props:qd(),setup(e,a){let{slots:l}=a
|
@@ -2120,8 +2123,8 @@ if(d.install(e),e.provide(kt,u),e.provide(hn,c),e.provide(Va,d),e.provide(Ot,v),
|
|
2120
2123
|
else{const{mount:a}=e
|
2121
2124
|
e.mount=function(){const l=a(...arguments)
|
2122
2125
|
return t.nextTick((()=>c.update())),e.mount=a,l}}St.reset(),("boolean"!=typeof __VUE_OPTIONS_API__||__VUE_OPTIONS_API__)&&e.mixin({computed:{$vuetify(){return t.reactive({defaults:sf.call(this,kt),display:sf.call(this,hn),theme:sf.call(this,Va),icons:sf.call(this,Ot),locale:sf.call(this,ma),date:sf.call(this,mu)})}}})},defaults:u,display:c,theme:d,icons:v,locale:p,date:f,goTo:m}}function sf(e){const t=this.$,a=t.parent?.provides??t.vnode.appContext?.provides
|
2123
|
-
if(a&&e in a)return a[e]}rf.version="3.7.
|
2124
|
-
const uf=function(){return rf({components:Zp,directives:nf,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},cf="3.7.
|
2126
|
+
if(a&&e in a)return a[e]}rf.version="3.7.14-master.2025-02-27"
|
2127
|
+
const uf=function(){return rf({components:Zp,directives:nf,...arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}})},cf="3.7.14-master.2025-02-27"
|
2125
2128
|
uf.version=cf,e.blueprints=Zt,e.components=Zp,e.createVuetify=uf,e.directives=nf,e.useDate=hu,e.useDefaults=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0
|
2126
2129
|
const{props:a,provideSubDefaults:l}=Ct(e,t)
|
2127
2130
|
return l(),a},e.useDisplay=xn,e.useGoTo=Pn,e.useLayout=la,e.useLocale=ha,e.useRtl=ba,e.useTheme=xa,e.version=cf}))
|