PageSourceSearch

https://voice123.com/static/assets/vdlDeadlineFormField-558e5469.js

js voice123.com collected 2026-10-01 10:30:16 UTC 3,555 bytes, 2 lines download raw bytes

1var F=Object.defineProperty;var M=(e,n,t)=>n in e?F(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t;var S=(e,n,t)=>(M(e,typeof n!="symbol"?n+"":n,t),t);import{_ as N}from"./FormGeneratorField-d47d28ec.js";import{as as O,aQ as $,bn as C,at as E,o as r,g as y,w as V,b as _,c as I,h as D,cR as P,bM as R,aI as z,m as B,P as U,O as j,_ as k,a as H,n as Y,t as A,aH as G}from"./vendor-bcedddd6.js";import{_ as L}from"./vdlChipsSelect-519208ee.js";import{F as Q}from"./FormGeneratorIconizedField-3e3d021b.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"[email protected]"};var n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b8854527-cb26-4eff-aa21-823f647f72b0",e._sentryDebugIdIdentifier="sentry-dbid-b8854527-cb26-4eff-aa21-823f647f72b0")}catch{}})();const q={key:0},b=60,J=O({__name:"vdlDeadline",props:{modelValue:{type:Number},id:{type:String,default:void 0}},emits:["update:modelValue","change","blur"],setup(e,{emit:n}){const t=e,i=[{name:"24 hours",id:`${b*24}`},{name:"48 hours",id:`${b*48}`},{name:"72 hours",id:`${b*72}`},{name:"Other",id:"other"}],a=$([]),s=$(d(new Date));function d(o){const l=o.getFullYear(),u=String(o.getMonth()+1).padStart(2,"0"),f=String(o.getDate()).padStart(2,"0"),v=String(o.getHours()).padStart(2,"0"),g=String(o.getMinutes()).padStart(2,"0");return`${l}-${u}-${f}T${v}:${g}`}C(()=>t.modelValue,m);function m(){if(t.modelValue>0){const o=i.find(l=>l.id===`${t.modelValue}`);if(o)a.value=[o];else{a.value=i.filter(u=>u.id==="other");const l=d(new Date(Date.now()+t.modelValue*6e4));(!s.value||Math.abs(new Date(s.value).getTime()-new Date(l).getTime())>2*6e4)&&(s.value=l)}}}function p(){var l,u;let o=Math.max(1,((l=a.value[0])==null?void 0:l.id)==="other"?Math.ceil((new Date(s.value).getTime()-new Date().getTime())/6e4):Number((u=a.value[0])==null?void 0:u.id));n("update:modelValue",o),n("change",o),n("blur",o)}return E(()=>{m()}),(o,l)=>{const u=L,f=P,v=R,g=z;return r(),y(g,{class:"vdl-deadline"},{default:V(()=>{var w;return[_(u,{values:i,modelValue:a.value,"onUpdate:modelValue":[l[0]||(l[0]=h=>a.value=h),p]},null,8,["modelValue"]),((w=a.value[0])==null?void 0:w.id)==="other"?(r(),I("div",q,[_(v,null,{default:V(()=>[_(f,{modelValue:s.value,"onUpdate:modelValue":[l[1]||(l[1]=h=>s.value=h),p],type:"datetime-local",step:"60",min:d(new Date)},null,8,["modelValue","min"])]),_:1})])):D("",!0)]}),_:1})}}});var K=Object.defineProperty,W=Object.getOwnPropertyDescriptor,T=(e,n,t,i)=>{for(var a=i>1?void 0:i?W(n,t):n,s=e.length-1,d;s>=0;s--)(d=e[s])&&(a=(i?d(n,t,a):d(a))||a);return i&&a&&K(n,t,a),a};let c=class extends B(Q){constructor(){super(...arguments);S(this,"caption")}};T([U()],c.prototype,"caption",2);c=T([j({})],c);const X={class:"md-list-text-container"},Z={key:0,class:"md-caption"};function x(e,n,t,i,a,s){const d=G,m=J,p=N;return r(),y(p,{class:"type-deadline no-hover",tabindex:"-1",title:e.title||e.name},{default:V(()=>[e.svgIcon?(r(),y(d,{key:0,mdSvg:e.svgIcon,fillRule:e.fillRule,size:e.iconSize},null,8,["mdSvg","fillRule","size"])):D("",!0),H("span",X,[_(m,{class:Y({"md-input-invalid":e.errors&&e.errors.length}),modelValue:e.inputValue,"onUpdate:modelValue":n[0]||(n[0]=o=>e.inputValue=o)},null,8,["class","modelValue"]),e.field.caption?(r(),I("span",Z,A(e.getCaption(e.field)),1)):D("",!0)])]),_:1},8,["title"])}const le=k(c,[["render",x]]);export{le as default};
2//# sourceMappingURL=vdlDeadlineFormField-558e5469.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.