PageSourceSearch

https://www.zwolsetheaters.nl/assets/js/base/form/base-date-picker.500.js

js zwolsetheaters.nl collected 2026-09-24 20:46:47 UTC 3,521 bytes, 1 lines download raw bytes

1"use strict";(self["webpackChunkfrontend"]=self["webpackChunkfrontend"]||[]).push([[3341],{3953:function(e,a,t){const n={props:{model:Object,modelValue:[String,Number,Boolean,Array,Object],id:String,type:String,name:String,maxlength:[String,Number],placeholder:String,autocomplete:String,mandatory:{type:Boolean,default:!1},rows:String,multiple:Boolean,error:String,customProps:Object,index:{type:Number},isComponent:{type:String},prevComponent:{type:String},nextComponent:{type:String}}};t.d(a,["D",0,n])},2486:function(e,a,t){t.r(a),t.d(a,{default:function(){return s}});var n=t(9726);const r=["id","name","value"],l=["name","id","value","placeholder","data-val","data-val-required"];function o(e,a,t,o,d,i){const u=(0,n.g2)("BaseFormField");return(0,n.uX)(),(0,n.Wv)(u,(0,n.v6)(e.$props,{"module-suffix":"__date-picker",class:e.$style["base-date-picker"]}),{default:(0,n.k6)(({variant:t,isFormChild:o,cssModule:d})=>[(0,n.Lk)("input",{ref:"dateInputRef",type:"date",id:e.id||e.model?.id,name:e.name||e.model?.name,value:e.modelValue||e.model?.valueAsHtmlString?.value,max:"9999-12-31",onInput:a[0]||(a[0]=(...a)=>e.onInput&&e.onInput(...a))},null,40,r),(0,n.Lk)("input",{ref:"textInputRef",class:(0,n.C4)([e.$style["base-date-picker__input"],e.$style["variant--"+t],{[e.$style["form--child"]]:o},d("__input"),d("variant--"+t),{[d("form--child")]:o},{"input-validation-error":!!e.error}]),type:"text",name:e.name||e.model?.name,id:e.id||e.model?.id+"_1",value:e.modelValue||e.model?.valueAsHtmlString?.value||void 0,placeholder:e.placeholder||e.model?.placeholderText||void 0,autocomplete:"off","data-val":!(!e.model?.mandatory&&!e.model?.validate)||"","data-val-required":e.model?.mandatory?e.model?.requiredErrorMessage:"",onInput:a[1]||(a[1]=(...a)=>e.onInput&&e.onInput(...a)),onClick:a[2]||(a[2]=a=>e.openPicker()),onFocus:a[3]||(a[3]=a=>e.$emit("focus")),onBlur:a[4]||(a[4]=a=>e.$emit("blur")),onKeydown:a[5]||(a[5]=(...a)=>e.onKeydown&&e.onKeydown(...a))},null,42,l),(0,n.Lk)("span",{class:(0,n.C4)([e.$style["base-date-picker__icon"],e.$style["variant--"+t],{[e.$style["form--child"]]:o},d("__icon"),d("variant--"+t),{[d("form--child")]:o}]),onClick:a[6]||(a[6]=a=>e.openPicker())},null,2)]),_:1},16,["class"])}var d=t(3953),i=(0,n.pM)({props:{...d.D.props},setup(e,{emit:a}){const t=(0,n.KR)(null),r=(0,n.KR)(null),l=()=>{t.value&&t.value.showPicker()},o=e=>{t.value&&(t.value.value=e.target.value,r.value.value=i(t.value.value),a("update:modelValue",t.value.value))},d=e=>{if("Delete"!=e.key&&"Backspace"!=e.key)return e.preventDefault(),!1;t.value.value="",r.value.value=i(t.value.value),a("update:modelValue",t.value.value)},i=e=>e?new Date(e).toLocaleDateString(void 0,{day:"numeric",month:"long",year:"numeric"}):"";return{dateInputRef:t,textInputRef:r,openPicker:l,onInput:o,onKeydown:d,toLocaleDateString:i}}}),u={"base-date-picker__icon":"base-date-picker__icon__fdc1dd","form--child":"form--child__a351a5","variant--default":"variant--default__acb1ca","variant--default-inverted":"variant--default-inverted__f091d7","variant--dropdown":"variant--dropdown__e072ad","variant--dropdown-inverted":"variant--dropdown-inverted__de7984","variant--date":"variant--date__d512f4","variant--date-inverted":"variant--date-inverted__da6a98","variant--nav-search-mobile":"variant--nav-search-mobile__c9cb65","base-date-picker__input":"base-date-picker__input__c0de30","base-date-picker":"base-date-picker__c218d6"},p=t(6262);const c={};c["$style"]=u;const v=(0,p.A)(i,[["render",o],["__cssModules",c]]);var s=v}}]);

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.