PageSourceSearch

https://www.rechtsanwalt-fortbildung.net/chunk-G6ULZVAI.js

js rechtsanwalt-fortbildung.net collected 2026-10-04 05:56:40 UTC 3,888 bytes, 2 lines download raw bytes

1import{A as N,G as Q,c as E,f as V,m as W}from"./chunk-TZR3YR7X.js";import{x as F}from"./chunk-XKDQEAKP.js";import{Db as r,Eb as s,Fb as v,Ha as p,Jb as x,Lb as m,Tb as u,Ub as C,Vb as _,Wa as l,Xb as g,Za as M,bc as S,cb as w,cc as D,dc as T,ib as b,sb as y,ya as h,yb as f,za as d}from"./chunk-UDRK4HNX.js";var O=["monthElement"],P=["yearElement"];function G(a,J){a&1&&v(0,"div",10)}function R(a,J){a&1&&(r(0,"div",11),g(1,` Bitte \xFCberpr\xFCfen Sie das Geburtsdatum!
2`),s())}var H=(()=>{class a{constructor(e){this.messageService=e,this.dateChange=new p,this.dateValid=new p,this.showWarning=!1}ngOnInit(){if(this.messages=this.messageService.getMessages(),this.date){let e=this.date.split(".");this.day=e[0],this.month=e[1],this.year=e[2]}this.validateDate()}changeDay(e){this.day=null,new RegExp("^([0-9]{1,2})$").test(e)&&(Number(e)>=4&&(e.length===1&&(e="0"+e),e.length===2&&this.monthElement.nativeElement.select()),this.day=e),(!this.day||this.day.length===2)&&this.validateDate()}changeMonth(e){this.month=null,new RegExp("^([0-9]{1,2})$").test(e)&&(Number(e)>=2&&(e.length===1&&(e="0"+e),e.length===2&&this.yearElement.nativeElement.select()),this.month=e),(!this.month||this.month.length===2)&&this.validateDate()}validateDate(){if(!this.day&&!this.month&&!this.year)this.showWarning=!1,this.dateChange.emit(null);else{this.day&&this.day.length===1&&(this.day="0"+this.day),this.month&&this.month.length===1&&(this.month="0"+this.month);let e=this.year+"-"+this.month+"-"+this.day+"T00:00:00",t=new Date(e);isNaN(t.getTime())?this.showWarning=!0:this.showWarning=t.getFullYear()!==Number(this.year)||t.getMonth()+1!==Number(this.month)||t.getDate()!==Number(this.day),this.date=this.day+"."+this.month+"."+this.year,this.dateChange.emit(this.date)}this.dateValid.emit(!this.showWarning)}static{this.\u0275fac=function(t){return new(t||a)(M(F))}}static{this.\u0275cmp=w({type:a,selectors:[["app-text-date-selector"]],viewQuery:function(t,i){if(t&1&&(u(O,5),u(P,5)),t&2){let n;C(n=_())&&(i.monthElement=n.first),C(n=_())&&(i.yearElement=n.first)}},inputs:{date:"date"},outputs:{dateChange:"dateChange",dateValid:"dateValid"},decls:15,vars:5,consts:[["monthElement",""],["yearElement",""],[1,"d-inline-flex"],[1,"birthday-col","ms-0"],["id","birthday","type","text","placeholder","TT","name","birthday","aria-label","Geburtstag (Tag)","maxlength","2",1,"form-control",3,"ngModelChange","ngModel"],[1,"my-auto"],[1,"birthday-col"],["id","birthmonth","type","text","name","birthmonth","placeholder","MM","aria-label","Geburtstag (Monat)","maxlength","2",1,"form-control",3,"ngModelChange","ngModel"],[1,"birthyear-col"],["id","birthyear","type","text","name","birthyear","placeholder","JJJJ","aria-label","Geburtstag (Jahr)","maxlength","4",1,"form-control",3,"ngModelChange","ngModel"],[1,"d-none","d-md-block","col-md-3"],["role","alert",1,"col-12","col-md-9","d-inline-flex","validation-message","mt-1","ps-3"]],template:function(t,i){if(t&1){let n=x();r(0,"div",2)(1,"div",3)(2,"input",4),m("ngModelChange",function(o){return h(n),d(i.changeDay(o))}),s()(),r(3,"div",5),g(4,"."),s(),r(5,"div",6)(6,"input",7,0),m("ngModelChange",function(o){return h(n),d(i.changeMonth(o))}),s()(),r(8,"div",5),g(9,"."),s(),r(10,"div",8)(11,"input",9,1),T("ngModelChange",function(o){return h(n),D(i.year,o)||(i.year=o),d(o)}),m("ngModelChange",function(){return h(n),d(i.validateDate())}),s()()(),b(13,G,1,0,"div",10)(14,R,2,0,"div",11)}t&2&&(l(2),y("ngModel",i.day),l(4),y("ngModel",i.month),l(5),S("ngModel",i.year),l(2),f(i.showWarning?13:-1),l(),f(i.showWarning?14:-1))},dependencies:[Q,E,V,N,W],styles:[".validation-message[_ngcontent-%COMP%]{font-size:1rem;color:var(--bs-danger);padding-left:0;margin-top:-1rem}.birthday-col[_ngcontent-%COMP%]{width:52px;margin-right:5px;margin-left:5px}.birthyear-col[_ngcontent-%COMP%]{margin-left:5px;width:60px}"]})}}return a})();export{H as a};

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.