mirror of
https://github.com/ZeroCatDev/Classworks.git
synced 2026-02-03 23:23:09 +00:00
2 lines
19 KiB
JavaScript
2 lines
19 KiB
JavaScript
import{g as G,b as Y,i as r,n as p,d as X,p as R,bj as ve,h as ee,b0 as J,aq as Oe,c as C,E as K,t as ze,ax as Ce,aB as Ve,a$ as xe,a3 as m,as as ie,bi as ke,U as Ie,cG as Se,ar as re,av as V,bO as _e,ae as Q,a2 as j,az as oe,bT as Ue,cH as Ke,bm as de,bY as je,cI as He,$ as We,Z as qe,by as me,aw as se,ah as Je,aG as Ge,bo as Pe,b7 as Be,e as Ye,a_ as ae,aL as Xe,f as Ze,aK as Qe,I as fe,J as we,c3 as pe,be as ea,aC as aa,cb as la,cJ as na,aD as ta,aE as ia,aJ as sa,c4 as ua,aW as oa,cE as ra,F as ue,bk as da,c5 as ca,b5 as ye,at as va,aA as Fe,cK as fa,au as ga}from"./index-BX1omx6G.js";const ma=R({text:String,onClick:J(),...ee(),...ve()},"VLabel"),ya=G()({name:"VLabel",props:ma(),setup(e,t){let{slots:u}=t;return Y(()=>{var n;return r("label",{class:X(["v-label",{"v-label--clickable":!!e.onClick},e.class]),style:p(e.style),onClick:e.onClick},[e.text,(n=u.default)==null?void 0:n.call(u)])}),{}}});function $e(e){const{t}=Oe();function u(n){let{name:l,color:a,...y}=n;const b={prepend:"prependAction",prependInner:"prependAction",append:"appendAction",appendInner:"appendAction",clear:"clear"}[l],x=e[`onClick:${l}`];function I(s){s.key!=="Enter"&&s.key!==" "||(s.preventDefault(),s.stopPropagation(),Ce(x,new PointerEvent("click",s)))}const o=x&&b?t(`$vuetify.input.${b}`,e.label??""):void 0;return C(ze,K({icon:e[`${l}Icon`],"aria-label":o,onClick:x,onKeydown:I,color:a},y),null)}return{InputIcon:u}}const ba=R({active:Boolean,color:String,messages:{type:[Array,String],default:()=>[]},...ee(),...ke({transition:{component:Ie,leaveAbsolute:!0,group:!0}})},"VMessages"),ha=G()({name:"VMessages",props:ba(),setup(e,t){let{slots:u}=t;const n=m(()=>ie(e.messages)),{textColorClasses:l,textColorStyles:a}=Ve(()=>e.color);return Y(()=>C(xe,{transition:e.transition,tag:"div",class:X(["v-messages",l.value,e.class]),style:p([a.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=R({focused:Boolean,"onUpdate:focused":J()},"focus");function Me(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Se();const u=re(e,"focused"),n=V(()=>({[`${t}--focused`]:u.value}));function l(){u.value=!0}function a(){u.value=!1}return{focusClasses:n,isFocused:u,focus:l,blur:a}}const Ae=Symbol.for("vuetify:form"),Ra=R({disabled:Boolean,fastFail:Boolean,readonly:Boolean,modelValue:{type:Boolean,default:null},validateOn:{type:String,default:"input"}},"form");function Ea(e){const t=re(e,"modelValue"),u=V(()=>e.disabled),n=V(()=>e.readonly),l=oe(!1),a=j([]),y=j([]);async function b(){const o=[];let s=!0;y.value=[],l.value=!0;for(const d of a.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,l.value=!1,{valid:s,errors:y.value}}function x(){a.value.forEach(o=>o.reset())}function I(){a.value.forEach(o=>o.resetValidation())}return Q(a,()=>{let o=0,s=0;const d=[];for(const c of a.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===a.value.length?!0:null},{deep:!0,flush:"post"}),Ue(Ae,{register:o=>{let{id:s,vm:d,validate:c,reset:k,resetValidation:B}=o;a.value.some(h=>h.id===s),a.value.push({id:s,validate:c,reset:k,resetValidation:B,vm:Ke(d),isValid:null,errorMessages:[]})},unregister:o=>{a.value=a.value.filter(s=>s.id!==o)},update:(o,s,d)=>{const c=a.value.find(k=>k.id===o);c&&(c.isValid=s,c.errorMessages=d)},isDisabled:u,isReadonly:n,isValidating:l,isValid:t,items:a,validateOn:V(()=>e.validateOn)}),{errors:y,isDisabled:u,isReadonly:n,isValidating:l,isValid:t,items:a,validate:b,reset:x,resetValidation:I}}function Ca(e){const t=_e(Ae,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 Va=Symbol.for("vuetify:rules");function xa(e){const t=_e(Va,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))??V(e)}const ka=R({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,...De()},"validation");function Ia(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Se(),u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:de();const n=re(e,"modelValue"),l=m(()=>e.validationValue===void 0?n.value:e.validationValue),a=Ca(e),y=xa(()=>e.rules),b=j([]),x=oe(!0),I=m(()=>!!(ie(n.value===""?null:n.value).length||ie(l.value===""?null:l.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 D;let i=(e.validateOn??((D=a.validateOn)==null?void 0:D.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?x.value?b.value.length||s.value.lazy?null:!0:!b.value.length:!0}),c=oe(!1),k=m(()=>({[`${t}--error`]:d.value===!1,[`${t}--dirty`]:I.value,[`${t}--disabled`]:a.isDisabled.value,[`${t}--readonly`]:a.isReadonly.value})),B=je("validation"),h=m(()=>e.name??Je(u));He(()=>{var i;(i=a.register)==null||i.call(a,{id:h.value,vm:B,validate:P,reset:T,resetValidation:_})}),We(()=>{var i;(i=a.unregister)==null||i.call(a,h.value)}),qe(async()=>{var i;s.value.lazy||await P(!s.value.eager),(i=a.update)==null||i.call(a,h.value,d.value,o.value)}),me(()=>s.value.input||s.value.invalidInput&&d.value===!1,()=>{Q(l,()=>{if(l.value!=null)P();else if(e.focused){const i=Q(()=>e.focused,f=>{f||P(),i()})}})}),me(()=>s.value.blur,()=>{Q(()=>e.focused,i=>{i||P()})}),Q([d,o],()=>{var i;(i=a.update)==null||i.call(a,h.value,d.value,o.value)});async function T(){n.value=null,await se(),await _()}async function _(){x.value=!0,s.value.lazy?b.value=[]:await P(!s.value.eager)}async function P(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const f=[];c.value=!0;for(const D of y.value){if(f.length>=Number(e.maxErrors??1))break;const v=await(typeof D=="function"?D:()=>D)(l.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,x.value=i,b.value}return{errorMessages:o,isDirty:I,isDisabled:a.isDisabled,isReadonly:a.isReadonly,isPristine:x,isValid:d,isValidating:c,reset:T,resetValidation:_,validate:P,validationClasses:k}}const Re=R({id:String,appendIcon:ae,baseColor:String,centerAffix:{type:Boolean,default:!0},color:String,glow:Boolean,iconColor:[Boolean,String],prependIcon:ae,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":J(),"onClick:append":J(),...ee(),...Qe(),...Xe(Ze(),["maxWidth","minWidth","width"]),...ve(),...ka()},"VInput"),be=G()({name:"VInput",props:{...Re()},emits:{"update:modelValue":e=>!0},setup(e,t){let{attrs:u,slots:n,emit:l}=t;const{densityClasses:a}=Ge(e),{dimensionStyles:y}=Ye(e),{themeClasses:b}=Pe(e),{rtlClasses:x}=Be(),{InputIcon:I}=$e(e),o=de(),s=m(()=>e.id||`input-${o}`),{errorMessages:d,isDirty:c,isDisabled:k,isReadonly:B,isPristine:h,isValid:T,isValidating:_,reset:P,resetValidation:i,validate:f,validationClasses:D}=Ia(e,"v-input",s),g=m(()=>{var S;return(S=e.errorMessages)!=null&&S.length||!h.value&&d.value.length?d.value:e.hint&&(e.persistentHint||e.focused)?e.hint:e.messages}),v=V(()=>g.value.length>0),w=V(()=>!e.hideDetails||e.hideDetails==="auto"&&(v.value||!!n.details)),N=m(()=>w.value?`${s.value}-messages`:void 0),E=m(()=>({id:s,messagesId:N,isDirty:c,isDisabled:k,isReadonly:B,isPristine:h,isValid:T,isValidating:_,hasDetails:w,reset:P,resetValidation:i,validate:f})),O=V(()=>e.error||e.disabled?void 0:e.focused?e.color:e.baseColor),A=V(()=>{if(e.iconColor)return e.iconColor===!0?O.value:e.iconColor});return Y(()=>{var H,W;const S=!!(n.prepend||e.prependIcon),M=!!(n.append||e.appendIcon);return r("div",{class:X(["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},a.value,b.value,x.value,D.value,e.class]),style:p([y.value,e.style])},[S&&r("div",{key:"prepend",class:"v-input__prepend"},[n.prepend?n.prepend(E.value):e.prependIcon&&C(I,{key:"prepend-icon",name:"prepend",color:A.value},null)]),n.default&&r("div",{class:"v-input__control"},[(H=n.default)==null?void 0:H.call(n,E.value)]),M&&r("div",{key:"append",class:"v-input__append"},[n.append?n.append(E.value):e.appendIcon&&C(I,{key:"append-icon",name:"append",color:A.value},null)]),w.value&&r("div",{id:N.value,class:"v-input__details",role:"alert","aria-live":"polite"},[C(ha,{active:v.value,messages:g.value},{message:n.message}),(W=n.details)==null?void 0:W.call(n,E.value)])])}),{reset:P,resetValidation:i,validate:f,isValid:T,errorMessages:d}}}),Sa=R({active:Boolean,disabled:Boolean,max:[Number,String],value:{type:[Number,String],default:0},...ee(),...ke({transition:{component:Ie}})},"VCounter"),_a=G()({name:"VCounter",functional:!0,props:Sa(),setup(e,t){let{slots:u}=t;const n=V(()=>e.max?`${e.value} / ${e.max}`:String(e.value));return Y(()=>C(xe,{transition:e.transition},{default:()=>[fe(r("div",{class:X(["v-counter",{"text-error":e.max&&!e.disabled&&parseFloat(e.value)>parseFloat(e.max)},e.class]),style:p(e.style)},[u.default?u.default({counter:n.value,max:e.max,value:e.value}):n.value]),[[we,e.active]])]})),{}}}),Pa=R({floating:Boolean,...ee()},"VFieldLabel"),te=G()({name:"VFieldLabel",props:Pa(),setup(e,t){let{slots:u}=t;return Y(()=>C(ya,{class:X(["v-field-label",{"v-field-label--floating":e.floating},e.class]),style:p(e.style)},u)),{}}}),Ba=["underlined","outlined","filled","solo","solo-inverted","solo-filled","plain"],Ee=R({appendInnerIcon:ae,bgColor:String,clearable:Boolean,clearIcon:{type:ae,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:ae,reverse:Boolean,singleLine:Boolean,variant:{type:String,default:"filled",validator:e=>Ba.includes(e)},"onClick:clear":J(),"onClick:appendInner":J(),"onClick:prependInner":J(),...ee(),...ca(),...da(),...ve()},"VField"),he=G()({name:"VField",inheritAttrs:!1,props:{id:String,details:Boolean,labelId:String,...De(),...Ee()},emits:{"update:focused":e=>!0,"update:modelValue":e=>!0},setup(e,t){let{attrs:u,emit:n,slots:l}=t;const{themeClasses:a}=Pe(e),{loaderClasses:y}=pe(e),{focusClasses:b,isFocused:x,focus:I,blur:o}=Me(e),{InputIcon:s}=$e(e),{roundedClasses:d}=ea(e),{rtlClasses:c}=Be(),k=V(()=>e.dirty||e.active),B=V(()=>!!(e.label||l.label)),h=V(()=>!e.singleLine&&B.value),T=de(),_=m(()=>e.id||`input-${T}`),P=V(()=>e.details?`${_.value}-messages`:void 0),i=j(),f=j(),D=j(),g=m(()=>["plain","underlined"].includes(e.variant)),v=m(()=>e.error||e.disabled?void 0:k.value&&x.value?e.color:e.baseColor),w=m(()=>{if(!(!e.iconColor||e.glow&&!x.value))return e.iconColor===!0?v.value:e.iconColor}),{backgroundColorClasses:N,backgroundColorStyles:E}=aa(()=>e.bgColor),{textColorClasses:O,textColorStyles:A}=Ve(v);Q(k,F=>{if(h.value&&!la()){const L=i.value.$el,z=f.value.$el;requestAnimationFrame(()=>{const U=na(L),$=z.getBoundingClientRect(),q=$.x-U.x,Z=$.y-U.y-(U.height/2-$.height/2),le=$.width/.75,ne=Math.abs(le-U.width)>1?{maxWidth:sa(le)}:void 0,ce=getComputedStyle(L),ge=getComputedStyle(z),Le=parseFloat(ce.transitionDuration)*1e3||150,Te=parseFloat(ge.getPropertyValue("--v-field-label-scale")),Ne=ge.getPropertyValue("color");L.style.visibility="visible",z.style.visibility="hidden",ta(L,{transform:`translate(${q}px, ${Z}px) scale(${Te})`,color:Ne,...ne},{duration:Le,easing:ia,direction:F?"normal":"reverse"}).finished.then(()=>{L.style.removeProperty("visibility"),z.style.removeProperty("visibility")})})}},{flush:"post"});const S=m(()=>({isActive:k,isFocused:x,controlRef:D,iconColor:w,blur:o,focus:I})),M=V(()=>{const F=!k.value;return{"aria-hidden":F,for:F?void 0:_.value}}),H=V(()=>{const F=h.value&&k.value;return{"aria-hidden":F,for:F?void 0:_.value}});function W(F){F.target!==document.activeElement&&F.preventDefault()}return Y(()=>{var q;const F=e.variant==="outlined",L=!!(l["prepend-inner"]||e.prependInnerIcon),z=!!(e.clearable||l.clear)&&!e.disabled,U=!!(l["append-inner"]||e.appendInnerIcon||z),$=()=>l.label?l.label({...S.value,label:e.label,props:{for:_.value}}):e.label;return r("div",K({class:["v-field",{"v-field--active":k.value,"v-field--appended":U,"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":L,"v-field--reverse":e.reverse,"v-field--single-line":e.singleLine,"v-field--no-label":!$(),[`v-field--variant-${e.variant}`]:!0},a.value,N.value,b.value,y.value,d.value,c.value,e.class],style:[E.value,e.style],onClick:W},u),[r("div",{class:"v-field__overlay"},null),C(ua,{name:"v-field",active:!!e.loading,color:e.error?"error":typeof e.loading=="string"?e.loading:e.color},{default:l.loader}),L&&r("div",{key:"prepend",class:"v-field__prepend-inner"},[l["prepend-inner"]?l["prepend-inner"](S.value):e.prependInnerIcon&&C(s,{key:"prepend-icon",name:"prependInner",color:w.value},null)]),r("div",{class:"v-field__field","data-no-activator":""},[["filled","solo","solo-inverted","solo-filled"].includes(e.variant)&&h.value&&C(te,K({key:"floating-label",ref:f,class:[O.value],floating:!0},M.value,{style:A.value}),{default:()=>[$()]}),B.value&&C(te,K({key:"label",ref:i,id:e.labelId},H.value),{default:()=>[$()]}),((q=l.default)==null?void 0:q.call(l,{...S.value,props:{id:_.value,class:"v-field__input","aria-describedby":P.value},focus:I,blur:o}))??r("div",{id:_.value,class:"v-field__input","aria-describedby":P.value},null)]),z&&C(ra,{key:"clear"},{default:()=>[fe(r("div",{class:"v-field__clearable",onMousedown:Z=>{Z.preventDefault(),Z.stopPropagation()}},[C(oa,{defaults:{VIcon:{icon:e.clearIcon}}},{default:()=>[l.clear?l.clear({...S.value,props:{onFocus:I,onBlur:o,onClick:e["onClick:clear"],tabindex:-1}}):C(s,{name:"clear",onFocus:I,onBlur:o,tabindex:-1},null)]})]),[[we,e.dirty]])]}),U&&r("div",{key:"append",class:"v-field__append-inner"},[l["append-inner"]?l["append-inner"](S.value):e.appendInnerIcon&&C(s,{key:"append-icon",name:"appendInner",color:w.value},null)]),r("div",{class:X(["v-field__outline",O.value]),style:p(A.value)},[F&&r(ue,null,[r("div",{class:"v-field__outline__start"},null),h.value&&r("div",{class:"v-field__outline__notch"},[C(te,K({ref:f,floating:!0},M.value),{default:()=>[$()]})]),r("div",{class:"v-field__outline__end"},null)]),g.value&&h.value&&C(te,K({ref:f,floating:!0},M.value),{default:()=>[$()]})])])}),{controlRef:D,fieldIconColor:w}}}),wa=R({autocomplete:String},"autocomplete");function Fa(e){const t=de(),u=oe(0),n=V(()=>e.autocomplete==="suppress"),l=V(()=>{if(e.name)return n.value?`${e.name}-${t}-${u.value}`:e.name}),a=V(()=>n.value?"off":e.autocomplete);return{isSuppressing:n,fieldAutocomplete:a,fieldName:l,update:()=>u.value=new Date().getTime()}}function $a(e){function t(u,n){if(!e.autofocus||!u)return;const l=n[0].target,a=l.matches("input,textarea")?l:l.querySelector("input,textarea");a==null||a.focus()}return{onIntersect:t}}const Da=["color","file","time","date","datetime-local","week","month"],Ma=R({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,...wa(),...Fe(Re(),["direction"]),...Ee()},"VTextField"),La=G()({name:"VTextField",directives:{vIntersect:ye},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:l}=t;const a=re(e,"modelValue"),{isFocused:y,focus:b,blur:x}=Me(e),{onIntersect:I}=$a(e),o=m(()=>typeof e.counterValue=="function"?e.counterValue(a.value):typeof e.counterValue=="number"?e.counterValue:(a.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=j(),k=j(),B=j(),h=Fa(e),T=m(()=>Da.includes(e.type)||e.persistentPlaceholder||y.value||e.active);function _(){h.isSuppressing.value&&h.update(),y.value||b(),se(()=>{var g;B.value!==document.activeElement&&((g=B.value)==null||g.focus())})}function P(g){n("mousedown:control",g),g.target!==B.value&&(_(),g.preventDefault())}function i(g){n("click:control",g)}function f(g,v){g.stopPropagation(),_(),se(()=>{v(),Ce(e["onClick:clear"],g)})}function D(g){var O;const v=g.target;if(!((O=e.modelModifiers)!=null&&O.trim&&["text","search","password","tel","url"].includes(e.type))){a.value=v.value;return}const w=v.value,N=v.selectionStart,E=v.selectionEnd;a.value=w,se(()=>{let A=0;w.trimStart().length===v.value.length&&(A=w.length-v.value.length),N!=null&&(v.selectionStart=N-A),E!=null&&(v.selectionEnd=E-A)})}return Y(()=>{const g=!!(l.counter||e.counter!==!1&&e.counter!=null),v=!!(g||l.details),[w,N]=va(u),{modelValue:E,...O}=be.filterProps(e),A=he.filterProps(e);return C(be,K({ref:c,modelValue:a.value,"onUpdate:modelValue":S=>a.value=S,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},w,O,{centerAffix:!d.value,focused:y.value}),{...l,default:S=>{let{id:M,isDisabled:H,isDirty:W,isReadonly:F,isValid:L,hasDetails:z,reset:U}=S;return C(he,K({ref:k,onMousedown:P,onClick:i,"onClick:clear":$=>f($,U),role:e.role},Fe(A,["onClick:clear"]),{id:M.value,labelId:`${M.value}-label`,active:T.value||W.value,dirty:W.value||e.dirty,disabled:H.value,focused:y.value,details:z.value,error:L.value===!1}),{...l,default:$=>{let{props:{class:q,...Z},controlRef:le}=$;const ne=r("input",K({ref:ce=>B.value=le.value=ce,value:a.value,onInput:D,autofocus:e.autofocus,readonly:F.value,disabled:H.value,name:h.fieldName.value,autocomplete:h.fieldAutocomplete.value,placeholder:e.placeholder,size:1,role:e.role,type:e.type,onFocus:b,onBlur:x,"aria-labelledby":`${M.value}-label`},Z,N),null);return r(ue,null,[e.prefix&&r("span",{class:"v-text-field__prefix"},[r("span",{class:"v-text-field__prefix__text"},[e.prefix])]),fe(l.default?r("div",{class:X(q),"data-no-activator":""},[l.default({id:M}),ne]):fa(ne,{class:q}),[[ye,I,null,{once:!0}]]),e.suffix&&r("span",{class:"v-text-field__suffix"},[r("span",{class:"v-text-field__suffix__text"},[e.suffix])])])}})},details:v?S=>{var M;return r(ue,null,[(M=l.details)==null?void 0:M.call(l,S),g&&r(ue,null,[r("span",null,null),C(_a,{active:e.persistentCounter||y.value,value:o.value,max:s.value,disabled:e.disabled},l.counter)])])}:void 0})}),ga({},c,k,B)}});export{La as V,be as a,he as b,_a as c,Re as d,$e as e,Ca as f,Ma as g,Ea as h,Ra as i,Fa as j,ya as k,$a as l,Ee as m,wa as n,Me as u};
|