1
0
mirror of https://github.com/ZeroCatDev/Classworks.git synced 2025-12-07 21:13:11 +00:00
Classworks/assets/VTextField-QCn4m7GG.js

2 lines
19 KiB
JavaScript

import{g as X,p as T,ay as I,c as Y,d as h,I as ve,J as he,i as r,n as J,e as H,b1 as Ce,bg as Ve,h as p,U as xe,bh as fe,b2 as q,Z as Te,E as ae,v as Le,aA as ke,cw as Ie,a3 as oe,bl as Se,b_ as Ne,bc as ze,b8 as _e,aN as re,a5 as m,$ as U,aB as Oe,a2 as Be,a6 as Q,bR as Ue,cx as je,aD as Ke,aE as We,aI as He,b$ as qe,ac as Je,cu as Xe,F as te,bi as Ye,c0 as Ze,aO as le,a4 as ie,a0 as ue,bM as Ge,bH as Pe,cy as Qe,bT as pe,am as ea,cz as aa,aS as la,aj as na,bv as ge,a7 as se,aF as ta,u as ia,aK as sa,aJ as ua,f as oa,b6 as me,az as ra,ae as da,cA as ca,ad as va}from"./index-C5vgGVtM.js";const fa=T({active:Boolean,disabled:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...p(),...Ve({transition:{component:xe}})},"VCounter"),ga=X()({name:"VCounter",functional:!0,props:fa(),setup(e,t){let{slots:u}=t;const n=I(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return Y(()=>h(Ce,{transition:e.transition},{default:()=>[ve(r("div",{class:H(["v-counter",{"text-error":e.max&&!e.disabled&&parseFloat(e.value)>parseFloat(e.max)},e.class]),style:J(e.style)},[u.default?u.default({counter:n.value,max:e.max,value:e.value}):n.value]),[[he,e.active]])]})),{}}}),ma=T({text:String,onClick:q(),...p(),...fe()},"VLabel"),ya=X()({name:"VLabel",props:ma(),setup(e,t){let{slots:u}=t;return Y(()=>{var n;return r("label",{class:H(["v-label",{"v-label--clickable":!!e.onClick},e.class]),style:J(e.style),onClick:e.onClick},[e.text,(n=u.default)==null?void 0:n.call(u)])}),{}}}),ba=T({floating:Boolean,...p()},"VFieldLabel"),ne=X()({name:"VFieldLabel",props:ba(),setup(e,t){let{slots:u}=t;return Y(()=>h(ya,{class:H(["v-field-label",{"v-field-label--floating":e.floating},e.class]),style:J(e.style)},u)),{}}});function we(e){const{t}=Te();function u(n){let{name:a,color:l,...y}=n;const b={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[a],V=e[`onClick:${a}`];function S(s){s.key!=="Enter"&&s.key!==" "||(s.preventDefault(),s.stopPropagation(),ke(V,new PointerEvent("click",s)))}const o=V&&b?t(`$vuetify.input.${b}`,e.label??""):void 0;return h(Le,ae({icon:e[`${a}Icon`],"aria-label":o,onClick:V,onKeydown:S,color:l},y),null)}return{InputIcon:u}}const Fe=T({focused:Boolean,"onUpdate:focused":q()},"focus");function Me(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ie();const u=oe(e,"focused"),n=I(()=>({[`${t}--focused`]:u.value}));function a(){u.value=!0}function l(){u.value=!1}return{focusClasses:n,isFocused:u,focus:a,blur:l}}const ha=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],Ae=T({appendInnerIcon:le,bgColor:String,clearable:Boolean,clearIcon:{type:le,default:"$clear"},active:Boolean,centerAffix:{type:Boolean,default:void 0},color:String,baseColor:String,dirty:Boolean,disabled:{type:Boolean,default:null},glow:Boolean,error:Boolean,flat:Boolean,iconColor:[Boolean,String],label:String,persistentClear:Boolean,prependInnerIcon:le,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>ha.includes(e)},"onClick:clear":q(),"onClick:appendInner":q(),"onClick:prependInner":q(),...p(),...Ze(),...Ye(),...fe()},"VField"),ye=X()({name:"VField",inheritAttrs:!1,props:{id:String,details:Boolean,...Fe(),...Ae()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:u,emit:n,slots:a}=t;const{themeClasses:l}=Se(e),{loaderClasses:y}=Ne(e),{focusClasses:b,isFocused:V,focus:S,blur:o}=Me(e),{InputIcon:s}=we(e),{roundedClasses:d}=ze(e),{rtlClasses:c}=_e(),x=I(()=>e.dirty||e.active),P=I(()=>!!(e.label||a.label)),C=I(()=>!e.singleLine&&P.value),N=re(),k=m(()=>e.id||`input-${N}`),B=I(()=>e.details?`${k.value}-messages`:void 0),i=U(),f=U(),F=U(),g=m(()=>["plain","underlined"].includes(e.variant)),v=m(()=>e.error||e.disabled?void 0:x.value&&V.value?e.color:e.baseColor),M=m(()=>{if(!(!e.iconColor||e.glow&&!V.value))return e.iconColor===!0?v.value:e.iconColor}),{backgroundColorClasses:z,backgroundColorStyles:L}=Oe(()=>e.bgColor),{textColorClasses:O,textColorStyles:E}=Be(v);Q(x,A=>{if(C.value&&!Ue()){const w=i.value.$el,D=f.value.$el;requestAnimationFrame(()=>{const R=je(w),$=D.getBoundingClientRect(),Z=$.x-R.x,K=$.y-R.y-(R.height/2-$.height/2),W=$.width/.75,G=Math.abs(W-R.width)>1?{maxWidth:He(W)}:void 0,de=getComputedStyle(w),ee=getComputedStyle(D),ce=parseFloat(de.transitionDuration)*1e3||150,$e=parseFloat(ee.getPropertyValue("--v-field-label-scale")),Ee=ee.getPropertyValue("color");w.style.visibility="visible",D.style.visibility="hidden",Ke(w,{transform:`translate(${Z}px, ${K}px) scale(${$e})`,color:Ee,...G},{duration:ce,easing:We,direction:A?"normal":"reverse"}).finished.then(()=>{w.style.removeProperty("visibility"),D.style.removeProperty("visibility")})})}},{flush:"post"});const _=m(()=>({isActive:x,isFocused:V,controlRef:F,blur:o,focus:S}));function j(A){A.target!==document.activeElement&&A.preventDefault()}return Y(()=>{var Z,K,W;const A=e.variant==="outlined",w=!!(a["prepend-inner"]||e.prependInnerIcon),D=!!(e.clearable||a.clear)&&!e.disabled,R=!!(a["append-inner"]||e.appendInnerIcon||D),$=()=>a.label?a.label({..._.value,label:e.label,props:{for:k.value}}):e.label;return r("div",ae({class:["v-field",{"v-field--active":x.value,"v-field--appended":R,"v-field--center-affix":e.centerAffix??!g.value,"v-field--disabled":e.disabled,"v-field--dirty":e.dirty,"v-field--error":e.error,"v-field--glow":e.glow,"v-field--flat":e.flat,"v-field--has-background":!!e.bgColor,"v-field--persistent-clear":e.persistentClear,"v-field--prepended":w,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!$(),[`v-field--variant-${e.variant}`]:!0},l.value,z.value,b.value,y.value,d.value,c.value,e.class],style:[L.value,e.style],onClick:j},u),[r("div",{class:"v-field__overlay"},null),h(qe,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:a.loader}),w&&r("div",{key:"prepend",class:"v-field__prepend-inner"},[e.prependInnerIcon&&h(s,{key:"prepend-icon",name:"prependInner",color:M.value},null),(Z=a["prepend-inner"])==null?void 0:Z.call(a,_.value)]),r("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&C.value&&h(ne,{key:"floating-label",ref:f,class:H([O.value]),floating:!0,for:k.value,"aria-hidden":!x.value,style:J(E.value)},{default:()=>[$()]}),P.value&&h(ne,{key:"label",ref:i,for:k.value},{default:()=>[$()]}),((K=a.default)==null?void 0:K.call(a,{..._.value,props:{id:k.value,class:"v-field__input","aria-describedby":B.value},focus:S,blur:o}))??r("div",{id:k.value,class:"v-field__input","aria-describedby":B.value},null)]),D&&h(Xe,{key:"clear"},{default:()=>[ve(r("div",{class:"v-field__clearable",onMousedown:G=>{G.preventDefault(),G.stopPropagation()}},[h(Je,{defaults:{VIcon:{icon:e.clearIcon}}},{default:()=>[a.clear?a.clear({..._.value,props:{onFocus:S,onBlur:o,onClick:e["onClick:clear"],tabindex:-1}}):h(s,{name:"clear",onFocus:S,onBlur:o,tabindex:-1},null)]})]),[[he,e.dirty]])]}),R&&r("div",{key:"append",class:"v-field__append-inner"},[(W=a["append-inner"])==null?void 0:W.call(a,_.value),e.appendInnerIcon&&h(s,{key:"append-icon",name:"appendInner",color:M.value},null)]),r("div",{class:H(["v-field__outline",O.value]),style:J(E.value)},[A&&r(te,null,[r("div",{class:"v-field__outline__start"},null),C.value&&r("div",{class:"v-field__outline__notch"},[h(ne,{ref:f,floating:!0,for:k.value,"aria-hidden":!x.value},{default:()=>[$()]})]),r("div",{class:"v-field__outline__end"},null)]),g.value&&C.value&&h(ne,{ref:f,floating:!0,for:k.value,"aria-hidden":!x.value},{default:()=>[$()]})])])}),{controlRef:F,fieldIconColor:M}}}),Ca=T({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...p(),...Ve({transition:{component:xe,leaveAbsolute:!0,group:!0}})},"VMessages"),Va=X()({name:"VMessages",props:Ca(),setup(e,t){let{slots:u}=t;const n=m(()=>ie(e.messages)),{textColorClasses:a,textColorStyles:l}=Be(()=>e.color);return Y(()=>h(Ce,{transition:e.transition,tag:"div",class:H(["v-messages",a.value,e.class]),style:J([l.value,e.style])},{default:()=>[e.active&&n.value.map((y,b)=>r("div",{class:"v-messages__message",key:`${b}-${n.value}`},[u.message?u.message({message:y}):y]))]})),{}}}),De=Symbol.for("vuetify:form"),Da=T({disabled:Boolean,fastFail:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null},validateOn:{type:String,default:"input"}},"form");function Ra(e){const t=oe(e,"modelValue"),u=I(()=>e.disabled),n=I(()=>e.readonly),a=ue(!1),l=U([]),y=U([]);async function b(){const o=[];let s=!0;y.value=[],a.value=!0;for(const d of l.value){const c=await d.validate();if(c.length>0&&(s=!1,o.push({id:d.id,errorMessages:c})),!s&&e.fastFail)break}return y.value=o,a.value=!1,{valid:s,errors:y.value}}function V(){l.value.forEach(o=>o.reset())}function S(){l.value.forEach(o=>o.resetValidation())}return Q(l,()=>{let o=0,s=0;const d=[];for(const c of l.value)c.isValid===!1?(s++,d.push({id:c.id,errorMessages:c.errorMessages})):c.isValid===!0&&o++;y.value=d,t.value=s>0?!1:o===l.value.length?!0:null},{deep:!0,flush:"post"}),Ge(De,{register:o=>{let{id:s,vm:d,validate:c,reset:x,resetValidation:P}=o;l.value.some(C=>C.id===s),l.value.push({id:s,validate:c,reset:x,resetValidation:P,vm:Qe(d),isValid:null,errorMessages:[]})},unregister:o=>{l.value=l.value.filter(s=>s.id!==o)},update:(o,s,d)=>{const c=l.value.find(x=>x.id===o);c&&(c.isValid=s,c.errorMessages=d)},isDisabled:u,isReadonly:n,isValidating:a,isValid:t,items:l,validateOn:I(()=>e.validateOn)}),{errors:y,isDisabled:u,isReadonly:n,isValidating:a,isValid:t,items:l,validate:b,reset:V,resetValidation:S}}function xa(e){const t=Pe(De,null);return{...t,isReadonly:m(()=>!!((e==null?void 0:e.readonly)??(t==null?void 0:t.isReadonly.value))),isDisabled:m(()=>!!((e==null?void 0:e.disabled)??(t==null?void 0:t.isDisabled.value)))}}const ka=Symbol.for("vuetify:rules");function Ia(e){const t=Pe(ka,null);if(!e){if(!t)throw new Error("Could not find Vuetify rules injection");return t.aliases}return(t==null?void 0:t.resolve(e))??I(e)}const Sa=T({disabled:{type:Boolean,default:null},error:Boolean,errorMessages:{type:[Array,String],default:()=>[]},maxErrors:{type:[Number,String],default:1},name:String,label:String,readonly:{type:Boolean,default:null},rules:{type:Array,default:()=>[]},modelValue:null,validateOn:String,validationValue:null,...Fe()},"validation");function _a(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ie(),u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:re();const n=oe(e,"modelValue"),a=m(()=>e.validationValue===void 0?n.value:e.validationValue),l=xa(e),y=Ia(()=>e.rules),b=U([]),V=ue(!0),S=m(()=>!!(ie(n.value===""?null:n.value).length||ie(a.value===""?null:a.value).length)),o=m(()=>{var i;return(i=e.errorMessages)!=null&&i.length?ie(e.errorMessages).concat(b.value).slice(0,Math.max(0,Number(e.maxErrors))):b.value}),s=m(()=>{var F;let i=(e.validateOn??((F=l.validateOn)==null?void 0:F.value))||"input";i==="lazy"&&(i="input lazy"),i==="eager"&&(i="input eager");const f=new Set((i==null?void 0:i.split(" "))??[]);return{input:f.has("input"),blur:f.has("blur")||f.has("input")||f.has("invalid-input"),invalidInput:f.has("invalid-input"),lazy:f.has("lazy"),eager:f.has("eager")}}),d=m(()=>{var i;return e.error||(i=e.errorMessages)!=null&&i.length?!1:e.rules.length?V.value?b.value.length||s.value.lazy?null:!0:!b.value.length:!0}),c=ue(!1),x=m(()=>({[`${t}--error`]:d.value===!1,[`${t}--dirty`]:S.value,[`${t}--disabled`]:l.isDisabled.value,[`${t}--readonly`]:l.isReadonly.value})),P=pe("validation"),C=m(()=>e.name??ea(u));aa(()=>{var i;(i=l.register)==null||i.call(l,{id:C.value,vm:P,validate:B,reset:N,resetValidation:k})}),la(()=>{var i;(i=l.unregister)==null||i.call(l,C.value)}),na(async()=>{var i;s.value.lazy||await B(!s.value.eager),(i=l.update)==null||i.call(l,C.value,d.value,o.value)}),ge(()=>s.value.input||s.value.invalidInput&&d.value===!1,()=>{Q(a,()=>{if(a.value!=null)B();else if(e.focused){const i=Q(()=>e.focused,f=>{f||B(),i()})}})}),ge(()=>s.value.blur,()=>{Q(()=>e.focused,i=>{i||B()})}),Q([d,o],()=>{var i;(i=l.update)==null||i.call(l,C.value,d.value,o.value)});async function N(){n.value=null,await se(),await k()}async function k(){V.value=!0,s.value.lazy?b.value=[]:await B(!s.value.eager)}async function B(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const f=[];c.value=!0;for(const F of y.value){if(f.length>=Number(e.maxErrors??1))break;const v=await(typeof F=="function"?F:()=>F)(a.value);if(v!==!0){if(v!==!1&&typeof v!="string"){console.warn(`${v} is not a valid value. Rule functions must return boolean true or a string.`);continue}f.push(v||"")}}return b.value=f,c.value=!1,V.value=i,b.value}return{errorMessages:o,isDirty:S,isDisabled:l.isDisabled,isReadonly:l.isReadonly,isPristine:V,isValid:d,isValidating:c,reset:N,resetValidation:k,validate:B,validationClasses:x}}const Re=T({id:String,appendIcon:le,baseColor:String,centerAffix:{type:Boolean,default:!0},color:String,glow:Boolean,iconColor:[Boolean,String],prependIcon:le,hideDetails:[Boolean,String],hideSpinButtons:Boolean,hint:String,persistentHint:Boolean,messages:{type:[Array,String],default:()=>[]},direction:{type:String,default:"horizontal",validator:e=>["horizontal","vertical"].includes(e)},"onClick:prepend":q(),"onClick:append":q(),...p(),...ua(),...sa(oa(),["maxWidth","minWidth","width"]),...fe(),...Sa()},"VInput"),be=X()({name:"VInput",props:{...Re()},emits:{"update:modelValue":e=>!0},setup(e,t){let{attrs:u,slots:n,emit:a}=t;const{densityClasses:l}=ta(e),{dimensionStyles:y}=ia(e),{themeClasses:b}=Se(e),{rtlClasses:V}=_e(),{InputIcon:S}=we(e),o=re(),s=m(()=>e.id||`input-${o}`),{errorMessages:d,isDirty:c,isDisabled:x,isReadonly:P,isPristine:C,isValid:N,isValidating:k,reset:B,resetValidation:i,validate:f,validationClasses:F}=_a(e,"v-input",s),g=m(()=>{var _;return(_=e.errorMessages)!=null&&_.length||!C.value&&d.value.length?d.value:e.hint&&(e.persistentHint||e.focused)?e.hint:e.messages}),v=I(()=>g.value.length>0),M=I(()=>!e.hideDetails||e.hideDetails==="auto"&&(v.value||!!n.details)),z=m(()=>M.value?`${s.value}-messages`:void 0),L=m(()=>({id:s,messagesId:z,isDirty:c,isDisabled:x,isReadonly:P,isPristine:C,isValid:N,isValidating:k,hasDetails:M,reset:B,resetValidation:i,validate:f})),O=I(()=>e.error||e.disabled?void 0:e.focused?e.color:e.baseColor),E=I(()=>{if(e.iconColor)return e.iconColor===!0?O.value:e.iconColor});return Y(()=>{var A,w,D,R;const _=!!(n.prepend||e.prependIcon),j=!!(n.append||e.appendIcon);return r("div",{class:H(["v-input",`v-input--${e.direction}`,{"v-input--center-affix":e.centerAffix,"v-input--focused":e.focused,"v-input--glow":e.glow,"v-input--hide-spin-buttons":e.hideSpinButtons},l.value,b.value,V.value,F.value,e.class]),style:J([y.value,e.style])},[_&&r("div",{key:"prepend",class:"v-input__prepend"},[(A=n.prepend)==null?void 0:A.call(n,L.value),e.prependIcon&&h(S,{key:"prepend-icon",name:"prepend",color:E.value},null)]),n.default&&r("div",{class:"v-input__control"},[(w=n.default)==null?void 0:w.call(n,L.value)]),j&&r("div",{key:"append",class:"v-input__append"},[e.appendIcon&&h(S,{key:"append-icon",name:"append",color:E.value},null),(D=n.append)==null?void 0:D.call(n,L.value)]),M.value&&r("div",{id:z.value,class:"v-input__details",role:"alert","aria-live":"polite"},[h(Va,{active:v.value,messages:g.value},{message:n.message}),(R=n.details)==null?void 0:R.call(n,L.value)])])}),{reset:B,resetValidation:i,validate:f,isValid:N,errorMessages:d}}}),Ba=T({autocomplete:String},"autocomplete");function Pa(e){const t=re(),u=ue(0),n=I(()=>e.autocomplete==="suppress"),a=I(()=>{if(e.name)return n.value?`${e.name}-${t}-${u.value}`:e.name}),l=I(()=>n.value?"off":e.autocomplete);return{isSuppressing:n,fieldAutocomplete:l,fieldName:a,update:()=>u.value=new Date().getTime()}}function wa(e){function t(u,n){var a,l;!e.autofocus||!u||(l=(a=n[0].target)==null?void 0:a.focus)==null||l.call(a)}return{onIntersect:t}}const Fa=["color","file","time","date","datetime-local","week","month"],Ma=T({autofocus:Boolean,counter:[Boolean,Number,String],counterValue:[Number,Function],prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,suffix:String,role:String,type:{type:String,default:"text"},modelModifiers:Object,...Ba(),...Re(),...Ae()},"VTextField"),$a=X()({name:"VTextField",directives:{vIntersect:me},inheritAttrs:!1,props:Ma(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:u,emit:n,slots:a}=t;const l=oe(e,"modelValue"),{isFocused:y,focus:b,blur:V}=Me(e),{onIntersect:S}=wa(e),o=m(()=>typeof e.counterValue=="function"?e.counterValue(l.value):typeof e.counterValue=="number"?e.counterValue:(l.value??"").toString().length),s=m(()=>{if(u.maxlength)return u.maxlength;if(!(!e.counter||typeof e.counter!="number"&&typeof e.counter!="string"))return e.counter}),d=m(()=>["plain","underlined"].includes(e.variant)),c=U(),x=U(),P=U(),C=Pa(e),N=m(()=>Fa.includes(e.type)||e.persistentPlaceholder||y.value||e.active);function k(){C.isSuppressing.value&&C.update(),y.value||b(),se(()=>{var g;P.value!==document.activeElement&&((g=P.value)==null||g.focus())})}function B(g){n("mousedown:control",g),g.target!==P.value&&(k(),g.preventDefault())}function i(g){n("click:control",g)}function f(g,v){g.stopPropagation(),k(),se(()=>{v(),ke(e["onClick:clear"],g)})}function F(g){var O;const v=g.target;if(!((O=e.modelModifiers)!=null&&O.trim&&["text","search","password","tel","url"].includes(e.type))){l.value=v.value;return}const M=v.value,z=v.selectionStart,L=v.selectionEnd;l.value=M,se(()=>{let E=0;M.trimStart().length===v.value.length&&(E=M.length-v.value.length),z!=null&&(v.selectionStart=z-E),L!=null&&(v.selectionEnd=L-E)})}return Y(()=>{const g=!!(a.counter||e.counter!==!1&&e.counter!=null),v=!!(g||a.details),[M,z]=ra(u),{modelValue:L,...O}=be.filterProps(e),E=ye.filterProps(e);return h(be,ae({ref:c,modelValue:l.value,"onUpdate:modelValue":_=>l.value=_,class:["v-text-field",{"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-input--plain-underlined":d.value},e.class],style:e.style},M,O,{centerAffix:!d.value,focused:y.value}),{...a,default:_=>{let{id:j,isDisabled:A,isDirty:w,isReadonly:D,isValid:R,hasDetails:$,reset:Z}=_;return h(ye,ae({ref:x,onMousedown:B,onClick:i,"onClick:clear":K=>f(K,Z),role:e.role},da(E,["onClick:clear"]),{id:j.value,active:N.value||w.value,dirty:w.value||e.dirty,disabled:A.value,focused:y.value,details:$.value,error:R.value===!1}),{...a,default:K=>{let{props:{class:W,...G},controlRef:de}=K;const ee=ve(r("input",ae({ref:ce=>P.value=de.value=ce,value:l.value,onInput:F,autofocus:e.autofocus,readonly:D.value,disabled:A.value,name:C.fieldName.value,autocomplete:C.fieldAutocomplete.value,placeholder:e.placeholder,size:1,role:e.role,type:e.type,onFocus:b,onBlur:V},G,z),null),[[me,{handler:S},null,{once:!0}]]);return r(te,null,[e.prefix&&r("span",{class:"v-text-field__prefix"},[r("span",{class:"v-text-field__prefix__text"},[e.prefix])]),a.default?r("div",{class:H(W),"data-no-activator":""},[a.default(),ee]):ca(ee,{class:W}),e.suffix&&r("span",{class:"v-text-field__suffix"},[r("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:v?_=>{var j;return r(te,null,[(j=a.details)==null?void 0:j.call(a,_),g&&r(te,null,[r("span",null,null),h(ga,{active:e.persistentCounter||y.value,value:o.value,max:s.value,disabled:e.disabled},a.counter)])])}:void 0})}),va({},c,x,P)}});export{$a as V,Me as a,be as b,ye as c,ga as d,Ae as e,Re as f,ya as g,Pa as h,Ra as i,Da as j,wa as k,Ba as l,Ma as m,xa as u};