vuetify 3.3.14 → 3.3.15
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/importMap-labs.json +4 -4
- package/dist/json/web-types.json +95 -46
- package/dist/vuetify-labs.css +411 -391
- package/dist/vuetify-labs.d.ts +447 -226
- package/dist/vuetify-labs.esm.js +47 -17
- package/dist/vuetify-labs.esm.js.map +1 -1
- package/dist/vuetify-labs.js +47 -17
- package/dist/vuetify-labs.min.css +2 -2
- package/dist/vuetify.css +39 -19
- package/dist/vuetify.d.ts +448 -227
- package/dist/vuetify.esm.js +47 -17
- package/dist/vuetify.esm.js.map +1 -1
- package/dist/vuetify.js +47 -17
- package/dist/vuetify.js.map +1 -1
- package/dist/vuetify.min.css +2 -2
- package/dist/vuetify.min.js +18 -17
- package/dist/vuetify.min.js.map +1 -1
- package/lib/components/VBtnToggle/VBtnToggle.css +13 -2
- package/lib/components/VBtnToggle/VBtnToggle.sass +3 -3
- package/lib/components/VBtnToggle/_variables.scss +2 -1
- package/lib/components/VCheckbox/VCheckbox.mjs.map +1 -1
- package/lib/components/VCheckbox/index.d.mts +203 -87
- package/lib/components/VField/VField.css +14 -11
- package/lib/components/VField/VField.sass +14 -7
- package/lib/components/VField/_variables.scss +0 -1
- package/lib/components/VIcon/VIcon.css +1 -0
- package/lib/components/VIcon/VIcon.sass +1 -0
- package/lib/components/VOverlay/useActivator.mjs +1 -1
- package/lib/components/VOverlay/useActivator.mjs.map +1 -1
- package/lib/components/VRadio/index.d.mts +82 -23
- package/lib/components/VRadioGroup/VRadioGroup.mjs.map +1 -1
- package/lib/components/VRadioGroup/index.d.mts +75 -109
- package/lib/components/VSelectionControl/VSelectionControl.mjs +17 -2
- package/lib/components/VSelectionControl/VSelectionControl.mjs.map +1 -1
- package/lib/components/VSelectionControl/index.d.mts +19 -5
- package/lib/components/VSwitch/VSwitch.css +7 -5
- package/lib/components/VSwitch/VSwitch.mjs +18 -8
- package/lib/components/VSwitch/VSwitch.mjs.map +1 -1
- package/lib/components/VSwitch/VSwitch.sass +6 -4
- package/lib/components/VSwitch/_variables.scss +5 -3
- package/lib/components/VSwitch/index.d.mts +82 -23
- package/lib/components/VTable/VTable.css +3 -0
- package/lib/components/VTable/VTable.sass +4 -0
- package/lib/components/VTable/_variables.scss +3 -0
- package/lib/components/VTabs/VTab.mjs +2 -2
- package/lib/components/VTabs/VTab.mjs.map +1 -1
- package/lib/components/VTextarea/VTextarea.mjs +1 -0
- package/lib/components/VTextarea/VTextarea.mjs.map +1 -1
- package/lib/components/index.d.mts +448 -227
- package/lib/composables/theme.mjs +6 -2
- package/lib/composables/theme.mjs.map +1 -1
- package/lib/entry-bundler.mjs +1 -1
- package/lib/framework.mjs +1 -1
- package/lib/index.d.mts +1 -1
- package/lib/locale/bg.mjs +23 -23
- package/lib/locale/bg.mjs.map +1 -1
- package/lib/locale/fa.mjs +16 -16
- package/lib/locale/fa.mjs.map +1 -1
- package/lib/styles/tools/_states.sass +5 -5
- package/package.json +2 -2
package/dist/vuetify.min.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Vuetify v3.3.
|
|
2
|
+
* Vuetify v3.3.15
|
|
3
3
|
* Forged by John Leider
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -253,7 +253,7 @@ const l=a.provide(e),o=function(e,a,l){const o=t.computed((()=>l.rtl??a.value[e.
|
|
|
253
253
|
return{isRtl:o,rtl:a,rtlClasses:t.computed((()=>"v-locale--is-"+(o.value?"rtl":"ltr")))}}(l,a.rtl,e),n={...l,...o}
|
|
254
254
|
return t.provide(Ot,n),n}function Ut(){const e=t.inject(Ot)
|
|
255
255
|
if(!e)throw new Error("[Vuetify] Could not find injected rtl instance")
|
|
256
|
-
return{isRtl:e.isRtl,rtlClasses:e.rtlClasses}}const Wt=Symbol.for("vuetify:theme"),Yt=a({theme:String},"theme"),Gt={defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#6200EE","primary-darken-1":"#3700B3",secondary:"#03DAC6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-variant":"#
|
|
256
|
+
return{isRtl:e.isRtl,rtlClasses:e.rtlClasses}}const Wt=Symbol.for("vuetify:theme"),Yt=a({theme:String},"theme"),Gt={defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#6200EE","primary-darken-1":"#3700B3",secondary:"#03DAC6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-variant":"#a3a3a3","on-surface-variant":"#424242",primary:"#BB86FC","primary-darken-1":"#3700B3",secondary:"#03DAC5","secondary-darken-1":"#03DAC5",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}}
|
|
257
257
|
function Kt(e){const a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Gt
|
|
258
258
|
if(!e)return{...Gt,isDisabled:!0}
|
|
259
259
|
const t={}
|
|
@@ -280,8 +280,8 @@ function l(){if("undefined"!=typeof document&&!e){const t=document.createElement
|
|
|
280
280
|
t.type="text/css",t.id="vuetify-theme-stylesheet",a.cspNonce&&t.setAttribute("nonce",a.cspNonce),e=t,document.head.appendChild(e)}e&&(e.innerHTML=s.value)}o?t.watch(s,l,{immediate:!0}):l()}},isDisabled:a.isDisabled,name:l,themes:n,current:i,computedThemes:r,themeClasses:c,styles:s,global:{name:l,current:i}}}function qt(e){dt("provideTheme")
|
|
281
281
|
const a=t.inject(Wt,null)
|
|
282
282
|
if(!a)throw new Error("Could not find Vuetify theme injection")
|
|
283
|
-
const l=t.computed((()=>e.theme??a
|
|
284
|
-
return t.provide(Wt,
|
|
283
|
+
const l=t.computed((()=>e.theme??a.name.value)),o=t.computed((()=>a.themes.value[l.value])),n=t.computed((()=>a.isDisabled?void 0:`v-theme--${l.value}`)),r={...a,name:l,current:o,themeClasses:n}
|
|
284
|
+
return t.provide(Wt,r),r}function Xt(){dt("useTheme")
|
|
285
285
|
const e=t.inject(Wt,null)
|
|
286
286
|
if(!e)throw new Error("Could not find Vuetify theme injection")
|
|
287
287
|
return e}function Zt(e,t,a){e.push(`${t} {\n`,...a.map((e=>` ${e};\n`)),"}\n")}function Jt(e){const t=e.dark?2:1,a=e.dark?1:2,l=[]
|
|
@@ -534,14 +534,14 @@ return wt((()=>t.createVNode("label",{class:["v-label",{"v-label--clickable":e.c
|
|
|
534
534
|
const o=Et(e,"modelValue"),n=mt(),r=t.computed((()=>e.id||`v-selection-control-group-${n}`)),i=t.computed((()=>e.name||r.value)),s=new Set
|
|
535
535
|
return t.provide(_o,{modelValue:o,forceUpdate:()=>{s.forEach((e=>e()))},onForceUpdate:e=>{s.add(e),t.onScopeDispose((()=>{s.delete(e)}))}}),lt({[e.defaultsTarget]:{color:t.toRef(e,"color"),disabled:t.toRef(e,"disabled"),density:t.toRef(e,"density"),error:t.toRef(e,"error"),inline:t.toRef(e,"inline"),modelValue:o,multiple:t.computed((()=>!!e.multiple||null==e.multiple&&Array.isArray(o.value))),name:i,falseIcon:t.toRef(e,"falseIcon"),trueIcon:t.toRef(e,"trueIcon"),readonly:t.toRef(e,"readonly"),ripple:t.toRef(e,"ripple"),type:t.toRef(e,"type"),valueComparator:t.toRef(e,"valueComparator")}}),wt((()=>t.createVNode("div",{class:["v-selection-control-group",{"v-selection-control-group--inline":e.inline},e.class],style:e.style,role:"radio"===e.type?"radiogroup":void 0},[l.default?.()]))),{}}}),Ao=a({label:String,trueValue:null,falseValue:null,value:null,...l(),...Io()},"VSelectionControl")
|
|
536
536
|
const To=it()({name:"VSelectionControl",directives:{Ripple:mo},inheritAttrs:!1,props:Ao(),emits:{"update:modelValue":e=>!0},setup(e,a){let{attrs:l,slots:o}=a
|
|
537
|
-
const{group:n,densityClasses:r,icon:i,model:s,textColorClasses:u,textColorStyles:c,trueValue:
|
|
537
|
+
const{group:n,densityClasses:r,icon:i,model:s,textColorClasses:u,textColorStyles:c,backgroundColorClasses:d,backgroundColorStyles:v,trueValue:p}=function(e){const a=t.inject(_o,void 0),{densityClasses:l}=ll(e),o=Et(e,"modelValue"),n=t.computed((()=>void 0!==e.trueValue?e.trueValue:void 0===e.value||e.value)),r=t.computed((()=>void 0!==e.falseValue&&e.falseValue)),i=t.computed((()=>!!e.multiple||null==e.multiple&&Array.isArray(o.value))),s=t.computed({get(){const t=a?a.modelValue.value:o.value
|
|
538
538
|
return i.value?t.some((t=>e.valueComparator(t,n.value))):e.valueComparator(t,n.value)},set(t){if(e.readonly)return
|
|
539
539
|
const l=t?n.value:r.value
|
|
540
540
|
let s=l
|
|
541
|
-
i.value&&(s=t?[...B(o.value),l]:B(o.value).filter((t=>!e.valueComparator(t,n.value)))),a?a.modelValue.value=s:o.value=s}}),{textColorClasses:u,textColorStyles:c}=ja(t.computed((()=>!s.value||e.error||e.disabled?void 0:e.color))),d=t.computed((()=>s.value?e.trueIcon:e.falseIcon))
|
|
542
|
-
return{group:a,densityClasses:l,trueValue:n,falseValue:r,model:s,textColorClasses:u,textColorStyles:c,icon:
|
|
543
|
-
function
|
|
544
|
-
return t.createVNode("div",t.mergeProps({class:["v-selection-control",{"v-selection-control--dirty":s.value,"v-selection-control--disabled":e.disabled,"v-selection-control--error":e.error,"v-selection-control--focused":
|
|
541
|
+
i.value&&(s=t?[...B(o.value),l]:B(o.value).filter((t=>!e.valueComparator(t,n.value)))),a?a.modelValue.value=s:o.value=s}}),{textColorClasses:u,textColorStyles:c}=ja(t.computed((()=>!s.value||e.error||e.disabled?void 0:e.color))),{backgroundColorClasses:d,backgroundColorStyles:v}=Ha(t.computed((()=>!s.value||e.error||e.disabled?void 0:e.color))),p=t.computed((()=>s.value?e.trueIcon:e.falseIcon))
|
|
542
|
+
return{group:a,densityClasses:l,trueValue:n,falseValue:r,model:s,textColorClasses:u,textColorStyles:c,backgroundColorClasses:d,backgroundColorStyles:v,icon:p}}(e),f=mt(),m=t.computed((()=>e.id||`input-${f}`)),g=t.shallowRef(!1),h=t.shallowRef(!1),y=t.ref()
|
|
543
|
+
function b(e){g.value=!0,!1!==Z(e.target,":focus-visible")&&(h.value=!0)}function V(){g.value=!1,h.value=!1}function w(a){e.readonly&&n&&t.nextTick((()=>n.forceUpdate())),s.value=a.target.checked}return n?.onForceUpdate((()=>{y.value&&(y.value.checked=s.value)})),wt((()=>{const a=o.label?o.label({label:e.label,props:{for:m.value}}):e.label,[n,f]=I(l),S=t.createVNode("input",t.mergeProps({ref:y,checked:s.value,disabled:!(!e.readonly&&!e.disabled),id:m.value,onBlur:V,onFocus:b,onInput:w,"aria-disabled":!(!e.readonly&&!e.disabled),type:e.type,value:p.value,name:e.name,"aria-checked":"checkbox"===e.type?s.value:void 0},f),null)
|
|
544
|
+
return t.createVNode("div",t.mergeProps({class:["v-selection-control",{"v-selection-control--dirty":s.value,"v-selection-control--disabled":e.disabled,"v-selection-control--error":e.error,"v-selection-control--focused":g.value,"v-selection-control--focus-visible":h.value,"v-selection-control--inline":e.inline},r.value,e.class]},n,{style:e.style}),[t.createVNode("div",{class:["v-selection-control__wrapper",u.value],style:c.value},[o.default?.({backgroundColorClasses:d,backgroundColorStyles:v}),t.withDirectives(t.createVNode("div",{class:["v-selection-control__input"]},[o.input?.({model:s,textColorClasses:u,textColorStyles:c,backgroundColorClasses:d,backgroundColorStyles:v,inputNode:S,icon:i.value,props:{onFocus:b,onBlur:V,id:m.value}})??t.createVNode(t.Fragment,null,[i.value&&t.createVNode(El,{key:"icon",icon:i.value},null),S])]),[[t.resolveDirective("ripple"),e.ripple&&[!e.disabled&&!e.readonly,null,["center","circle"]]]])]),a&&t.createVNode(No,{for:m.value,clickable:!0,onClick:e=>e.stopPropagation()},{default:()=>[a]})])})),{isFocused:g,input:y}}}),Eo=a({indeterminate:Boolean,indeterminateIcon:{type:Vl,default:"$checkboxIndeterminate"},...Ao({falseIcon:"$checkboxOff",trueIcon:"$checkboxOn"})},"VCheckboxBtn"),Po=it()({name:"VCheckboxBtn",props:Eo(),emits:{"update:modelValue":e=>!0,"update:indeterminate":e=>!0},setup(e,a){let{slots:l}=a
|
|
545
545
|
const o=Et(e,"indeterminate"),n=Et(e,"modelValue")
|
|
546
546
|
function r(e){o.value&&(o.value=!1)}const i=t.computed((()=>o.value?e.indeterminateIcon:e.falseIcon)),s=t.computed((()=>o.value?e.indeterminateIcon:e.trueIcon))
|
|
547
547
|
return wt((()=>{const a=x(To.filterProps(e)[0],["modelValue"])
|
|
@@ -788,7 +788,7 @@ function r(){let a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s(),l=
|
|
|
788
788
|
a&&de(a,t.mergeProps(n.value,l))}function i(){let a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s(),l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.activatorProps
|
|
789
789
|
a&&ve(a,t.mergeProps(n.value,l))}function s(){let t,l=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e.activator
|
|
790
790
|
if(l)if("parent"===l){let e=a?.proxy?.$el?.parentNode
|
|
791
|
-
for(;e
|
|
791
|
+
for(;e?.hasAttribute("data-no-activator");)e=e.parentNode
|
|
792
792
|
t=e}else t="string"==typeof l?document.querySelector(l):"$el"in l?l.$el:l
|
|
793
793
|
return o.value=t?.nodeType===Node.ELEMENT_NODE?t:null,o.value}t.watch((()=>e.activator),((e,a)=>{if(a&&e!==a){const e=s(a)
|
|
794
794
|
e&&i(e)}e&&t.nextTick((()=>r()))}),{immediate:!0}),t.watch((()=>e.activatorProps),(()=>{r()})),t.onScopeDispose((()=>{i()}))}(e,x,{activatorEl:r,activatorEvents:V})}))):C&&C.stop()}),{flush:"post",immediate:!0}),t.onScopeDispose((()=>{C?.stop()})),{activatorEl:r,activatorRef:k,activatorEvents:V,contentEvents:w,scrimEvents:S}}const rr=["sm","md","lg","xl","xxl"],ir=Symbol.for("vuetify:display"),sr={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}}
|
|
@@ -1408,16 +1408,17 @@ return t.createVNode(_r,t.mergeProps({ref:p,class:["v-snackbar",{"v-snackbar--ac
|
|
|
1408
1408
|
const n=Et(e,"indeterminate"),r=Et(e,"modelValue"),{loaderClasses:i}=Hl(e),{isFocused:s,focus:u,blur:c}=Do(e),d=t.ref(),v=t.computed((()=>"string"==typeof e.loading&&""!==e.loading?e.loading:e.color)),p=mt(),f=t.computed((()=>e.id||`switch-${p}`))
|
|
1409
1409
|
function m(){n.value&&(n.value=!1)}function g(e){e.stopPropagation(),e.preventDefault(),d.value?.input?.click()}return wt((()=>{const[a,p]=I(l),[h,y]=Yo.filterProps(e),[b,V]=To.filterProps(e)
|
|
1410
1410
|
return t.createVNode(Yo,t.mergeProps({class:["v-switch",{"v-switch--inset":e.inset},{"v-switch--indeterminate":n.value},i.value,e.class],style:e.style},a,h,{id:f.value,focused:s.value}),{...o,default:a=>{let{id:l,messagesId:i,isDisabled:s,isReadonly:f,isValid:h}=a
|
|
1411
|
-
return t.createVNode(To,t.mergeProps({ref:d},b,{modelValue:r.value,"onUpdate:modelValue":[e=>r.value=e,m],id:l.value,"aria-describedby":i.value,type:"checkbox","aria-checked":n.value?"mixed":void 0,disabled:s.value,readonly:f.value,onFocus:u,onBlur:c},p),{...o,default:
|
|
1412
|
-
return t.createVNode(
|
|
1411
|
+
return t.createVNode(To,t.mergeProps({ref:d},b,{modelValue:r.value,"onUpdate:modelValue":[e=>r.value=e,m],id:l.value,"aria-describedby":i.value,type:"checkbox","aria-checked":n.value?"mixed":void 0,disabled:s.value,readonly:f.value,onFocus:u,onBlur:c},p),{...o,default:e=>{let{backgroundColorClasses:a,backgroundColorStyles:l}=e
|
|
1412
|
+
return t.createVNode("div",{class:["v-switch__track",...a.value],style:l.value,onClick:g},null)},input:a=>{let{inputNode:l,icon:n,backgroundColorClasses:r,backgroundColorStyles:i}=a
|
|
1413
|
+
return t.createVNode(t.Fragment,null,[l,t.createVNode("div",{class:["v-switch__thumb",{"v-switch__thumb--filled":n||e.loading},e.inset?void 0:r.value],style:e.inset?void 0:i.value},[t.createVNode(ga,null,{default:()=>[e.loading?t.createVNode(Ul,{name:"v-switch",active:!0,color:!1===h.value?void 0:v.value},{default:e=>o.loader?o.loader(e):t.createVNode(Ll,{active:e.isActive,color:e.color,indeterminate:!0,size:"16",width:"2"},null)}):n&&t.createVNode(El,{key:n,icon:n,size:"x-small"},null)]})])])}})}})})),{}}}),wc=a({color:String,height:[Number,String],window:Boolean,...l(),...Ua(),...Nt(),...Ya(),...ta(),...Yt()},"VSystemBar"),Sc=it()({name:"VSystemBar",props:wc(),setup(e,a){let{slots:l}=a
|
|
1413
1414
|
const{themeClasses:o}=qt(e),{backgroundColorClasses:n,backgroundColorStyles:r}=Ha(t.toRef(e,"color")),{elevationClasses:i}=Wa(e),{roundedClasses:s}=Ga(e),{ssrBootStyles:u}=Ja(),c=t.computed((()=>e.height??(e.window?32:24))),{layoutItemStyles:d}=It({id:e.name,order:t.computed((()=>parseInt(e.order,10))),position:t.shallowRef("top"),layoutSize:c,elementSize:c,active:t.computed((()=>!0)),absolute:t.toRef(e,"absolute")})
|
|
1414
1415
|
return wt((()=>t.createVNode(e.tag,{class:["v-system-bar",{"v-system-bar--window":e.window},o.value,n.value,i.value,s.value,e.class],style:[r.value,d.value,u.value,e.style]},l))),{}}}),kc=Symbol.for("vuetify:v-tabs"),xc=a({fixed:Boolean,sliderColor:String,hideSlider:Boolean,direction:{type:String,default:"horizontal"},...x(go({selectedClass:"v-tab--selected",variant:"text"}),["active","block","flat","location","position","symbol"])},"VTab"),Cc=it()({name:"VTab",props:xc(),setup(e,a){let{slots:l,attrs:o}=a
|
|
1415
1416
|
const{textColorClasses:n,textColorStyles:r}=ja(e,"sliderColor"),i=t.computed((()=>"horizontal"===e.direction)),s=t.shallowRef(!1),u=t.ref(),c=t.ref()
|
|
1416
1417
|
function d(e){let{value:t}=e
|
|
1417
1418
|
if(s.value=t,t){const e=u.value?.$el.parentElement?.querySelector(".v-tab--selected .v-tab__slider"),t=c.value
|
|
1418
1419
|
if(!e||!t)return
|
|
1419
|
-
const a=getComputedStyle(e).color,l=e.getBoundingClientRect(),o=t.getBoundingClientRect(),n=i.value?"x":"y",r=i.value?"X":"Y",s=i.value?"right":"bottom",d=i.value?"width":"height",v=l[n]>o[n]?l[s]-o[s]:l[n]-o[n],p=Math.sign(v)>0?i.value?"right":"bottom":Math.sign(v)<0?i.value?"left":"top":"center",f=(Math.abs(v)+(Math.sign(v)<0?l[d]:o[d]))/Math.max(l[d],o[d]),m=1.5
|
|
1420
|
-
ue(t,{backgroundColor:[a,"currentcolor"],transform:[`translate${r}(${v}px) scale${r}(${l[d]/o[d]})`,`translate${r}(${v/m}px) scale${r}(${(f-1)/m+1})`,"none"],transformOrigin:Array(3).fill(p)},{duration:225,easing:ct})}}return wt((()=>{const[a]=ho.filterProps(e)
|
|
1420
|
+
const a=getComputedStyle(e).color,l=e.getBoundingClientRect(),o=t.getBoundingClientRect(),n=i.value?"x":"y",r=i.value?"X":"Y",s=i.value?"right":"bottom",d=i.value?"width":"height",v=l[n]>o[n]?l[s]-o[s]:l[n]-o[n],p=Math.sign(v)>0?i.value?"right":"bottom":Math.sign(v)<0?i.value?"left":"top":"center",f=(Math.abs(v)+(Math.sign(v)<0?l[d]:o[d]))/Math.max(l[d],o[d])||0,m=1.5
|
|
1421
|
+
ue(t,{backgroundColor:[a,"currentcolor"],transform:[`translate${r}(${v}px) scale${r}(${l[d]/o[d]||0})`,`translate${r}(${v/m}px) scale${r}(${(f-1)/m+1})`,"none"],transformOrigin:Array(3).fill(p)},{duration:225,easing:ct})}}return wt((()=>{const[a]=ho.filterProps(e)
|
|
1421
1422
|
return t.createVNode(ho,t.mergeProps({symbol:kc,ref:u,class:["v-tab",e.class],style:e.style,tabindex:s.value?0:-1,role:"tab","aria-selected":String(s.value),active:!1,block:e.fixed,maxWidth:e.fixed?300:void 0,rounded:0},a,o,{"onGroup:selected":d}),{default:()=>[l.default?.()??e.text,!e.hideSlider&&t.createVNode("div",{ref:c,class:["v-tab__slider",n.value],style:r.value},null)]})})),{}}})
|
|
1422
1423
|
const Nc=a({alignTabs:{type:String,default:"start"},color:String,fixedTabs:Boolean,items:{type:Array,default:()=>[]},stacked:Boolean,bgColor:String,grow:Boolean,height:{type:[Number,String],default:void 0},hideSlider:Boolean,sliderColor:String,...fc({mandatory:"force"}),...al(),...ta()},"VTabs"),_c=it()({name:"VTabs",props:Nc(),emits:{"update:modelValue":e=>!0},setup(e,a){let{slots:l}=a
|
|
1423
1424
|
const o=Et(e,"modelValue"),n=t.computed((()=>{return(t=e.items)?t.map((e=>"string"==typeof e?{title:e,value:e}:e)):[]
|
|
@@ -1437,7 +1438,7 @@ C.value=Math.floor((r-l)/n),m.value=g(r)}))}let B
|
|
|
1437
1438
|
return t.watchEffect((()=>{e.autoGrow||(C.value=+e.rows)})),t.onMounted(_),t.watch(r,_),t.watch((()=>e.rows),_),t.watch((()=>e.maxRows),_),t.watch((()=>e.density),_),t.watch(x,(e=>{e?(B=new ResizeObserver(_),B.observe(x.value)):B?.disconnect()})),t.onBeforeUnmount((()=>{B?.disconnect()})),wt((()=>{const a=!!(n.counter||e.counter||e.counterValue),o=!(!a&&!n.details),[s,g]=I(l),[{modelValue:_,...B}]=Yo.filterProps(e),[R]=Or(e)
|
|
1438
1439
|
return t.createVNode(Yo,t.mergeProps({ref:p,modelValue:r.value,"onUpdate:modelValue":e=>r.value=e,class:["v-textarea v-text-field",{"v-textarea--prefixed":e.prefix,"v-textarea--suffixed":e.suffix,"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-textarea--auto-grow":e.autoGrow,"v-textarea--no-resize":e.noResize||e.autoGrow,"v-text-field--plain-underlined":N.value},e.class],style:e.style},s,B,{centerAffix:1===C.value&&!N.value,focused:i.value}),{...n,default:a=>{let{isDisabled:l,isDirty:o,isReadonly:s,isValid:c}=a
|
|
1439
1440
|
return t.createVNode(Dr,t.mergeProps({ref:f,style:{"--v-textarea-control-height":m.value},onClick:V,onMousedown:w,"onClick:clear":S,"onClick:prependInner":e["onClick:prependInner"],"onClick:appendInner":e["onClick:appendInner"]},R,{active:y.value||o.value,centerAffix:1===C.value&&!N.value,dirty:o.value||e.dirty,disabled:l.value,focused:i.value,error:!1===c.value}),{...n,default:a=>{let{props:{class:o,...n}}=a
|
|
1440
|
-
return t.createVNode(t.Fragment,null,[e.prefix&&t.createVNode("span",{class:"v-text-field__prefix"},[e.prefix]),t.withDirectives(t.createVNode("textarea",t.mergeProps({ref:h,class:o,value:r.value,onInput:k,autofocus:e.autofocus,readonly:s.value,disabled:l.value,placeholder:e.placeholder,rows:e.rows,name:e.name,onFocus:b,onBlur:u},n,g),null),[[t.resolveDirective("intersect"),{handler:v},null,{once:!0}]]),e.autoGrow&&t.withDirectives(t.createVNode("textarea",{class:[o,"v-textarea__sizer"],"onUpdate:modelValue":e=>r.value=e,ref:x,readonly:!0,"aria-hidden":"true"},null),[[t.vModelText,r.value]]),e.suffix&&t.createVNode("span",{class:"v-text-field__suffix"},[e.suffix])])}})},details:o?l=>t.createVNode(t.Fragment,null,[n.details?.(l),a&&t.createVNode(t.Fragment,null,[t.createVNode("span",null,null),t.createVNode(Pr,{active:e.persistentCounter||i.value,value:c.value,max:d.value},n.counter)])]):void 0})})),Rr({},p,f,h)}}),Tc=a({withBackground:Boolean,...l(),...Yt(),...ta()},"VThemeProvider"),Ec=it()({name:"VThemeProvider",props:Tc(),setup(e,a){let{slots:l}=a
|
|
1441
|
+
return t.createVNode(t.Fragment,null,[e.prefix&&t.createVNode("span",{class:"v-text-field__prefix"},[e.prefix]),t.withDirectives(t.createVNode("textarea",t.mergeProps({ref:h,class:o,value:r.value,onInput:k,autofocus:e.autofocus,readonly:s.value,disabled:l.value,placeholder:e.placeholder,rows:e.rows,name:e.name,onFocus:b,onBlur:u},n,g),null),[[t.resolveDirective("intersect"),{handler:v},null,{once:!0}]]),e.autoGrow&&t.withDirectives(t.createVNode("textarea",{class:[o,"v-textarea__sizer"],id:`${n.id}-sizer`,"onUpdate:modelValue":e=>r.value=e,ref:x,readonly:!0,"aria-hidden":"true"},null),[[t.vModelText,r.value]]),e.suffix&&t.createVNode("span",{class:"v-text-field__suffix"},[e.suffix])])}})},details:o?l=>t.createVNode(t.Fragment,null,[n.details?.(l),a&&t.createVNode(t.Fragment,null,[t.createVNode("span",null,null),t.createVNode(Pr,{active:e.persistentCounter||i.value,value:c.value,max:d.value},n.counter)])]):void 0})})),Rr({},p,f,h)}}),Tc=a({withBackground:Boolean,...l(),...Yt(),...ta()},"VThemeProvider"),Ec=it()({name:"VThemeProvider",props:Tc(),setup(e,a){let{slots:l}=a
|
|
1441
1442
|
const{themeClasses:o}=qt(e)
|
|
1442
1443
|
return()=>e.withBackground?t.createVNode(e.tag,{class:["v-theme-provider",o.value,e.class],style:e.style},{default:()=>[l.default?.()]}):l.default?.()}}),Pc=a({align:{type:String,default:"center",validator:e=>["center","start"].includes(e)},direction:{type:String,default:"vertical",validator:e=>["vertical","horizontal"].includes(e)},justify:{type:String,default:"auto",validator:e=>["auto","center"].includes(e)},side:{type:String,validator:e=>null==e||["start","end"].includes(e)},lineInset:{type:[String,Number],default:0},lineThickness:{type:[String,Number],default:2},lineColor:String,truncateLine:{type:String,validator:e=>["start","end","both"].includes(e)},...l(),...al(),...ta(),...Yt()},"VTimeline"),$c=it()({name:"VTimeline",props:Pc(),setup(e,a){let{slots:l}=a
|
|
1443
1444
|
const{themeClasses:o}=qt(e),{densityClasses:n}=ll(e),{rtlClasses:r}=Ut()
|
|
@@ -1518,9 +1519,9 @@ else{const{mount:a}=e
|
|
|
1518
1519
|
e.mount=function(){const l=a(...arguments)
|
|
1519
1520
|
return t.nextTick((()=>c.update())),e.mount=a,l}}mt.reset(),("boolean"!=typeof __VUE_OPTIONS_API__||__VUE_OPTIONS_API__)&&e.mixin({computed:{$vuetify(){return t.reactive({defaults:dd.call(this,et),display:dd.call(this,ir),theme:dd.call(this,Wt),icons:dd.call(this,wl),locale:dd.call(this,Ot),date:dd.call(this,sd)})}}})}
|
|
1520
1521
|
return{install:m,defaults:u,display:c,theme:d,icons:v,locale:p,date:f}}function dd(e){const t=this.$,a=t.parent?.provides??t.vnode.appContext?.provides
|
|
1521
|
-
if(a&&e in a)return a[e]}cd.version="3.3.
|
|
1522
|
+
if(a&&e in a)return a[e]}cd.version="3.3.15"
|
|
1522
1523
|
const vd=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
|
|
1523
|
-
return cd({components:Wc,directives:Jc,...e})},pd="3.3.
|
|
1524
|
+
return cd({components:Wc,directives:Jc,...e})},pd="3.3.15"
|
|
1524
1525
|
vd.version=pd,e.components=Wc,e.createVuetify=vd,e.directives=Jc,e.useDefaults=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0
|
|
1525
1526
|
const{props:a,provideSubDefaults:l}=nt(e,t)
|
|
1526
1527
|
return l(),a},e.useDisplay=pr,e.useLayout=_t,e.useLocale=jt,e.useRtl=Ut,e.useTheme=Xt,e.version=pd}))
|