Restore catalog cover assets, resolve TypeScript issues in TimeInput and catalogGallery, and rebuild the production bundle.
1 line
1.0 KiB
JavaScript
1 line
1.0 KiB
JavaScript
import{Ct as e,Et as t,N as n,P as r,Y as i,j as a,mt as o,n as s,tt as c,z as l}from"./BasicIcon-C6boaehV.js";import{o as u,t as d}from"./format-BHJptHdF.js";var f={class:`form-group`},p={key:0,class:`form-label`},m=[`value`,`placeholder`,`disabled`],h={key:1,class:`input-error-text`},g={key:2,class:`form-hint`},_=s(l({__name:`CurrencyInput`,props:{modelValue:{},label:{},placeholder:{},hint:{},error:{},disabled:{type:Boolean}},emits:[`update:modelValue`],setup(s,{emit:l}){let _=s,v=l,y=o(``);c(()=>_.modelValue,e=>{let t=d(e??``);y.value=t?u(Number(t)):``},{immediate:!0});function b(e){let t=e.target,n=d(t.value);y.value=n?u(Number(n)):``,v(`update:modelValue`,n)}return(o,c)=>(i(),r(`div`,f,[s.label?(i(),r(`label`,p,t(s.label),1)):n(``,!0),a(`input`,{class:e([`input`,{"input-error":s.error}]),type:`text`,inputmode:`numeric`,dir:`ltr`,value:y.value,placeholder:s.placeholder,disabled:s.disabled,onInput:b},null,42,m),s.error?(i(),r(`p`,h,t(s.error),1)):s.hint?(i(),r(`p`,g,t(s.hint),1)):n(``,!0)]))}}),[[`__scopeId`,`data-v-1becf1bc`]]);export{_ as t}; |