MikroWizard.docker-compose-.../mikrofront/dist/html/631.bd7178888196a3c5.js

1 line
7.6 KiB
JavaScript
Raw Normal View History

"use strict";(self.webpackChunkmikrowizard=self.webpackChunkmikrowizard||[]).push([[631],{9631:(L,M,a)=>{a.d(M,{Oh:()=>x,fg:()=>I,fS:()=>T});var h=a(4085),d=a(6860),s=a(4438),b=a(983),v=a(1413);const y=(0,d.BQ)({passive:!0});let w=(()=>{class n{constructor(e,t){this._platform=e,this._ngZone=t,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return b.w;const t=(0,h.i8)(e),i=this._monitoredElements.get(t);if(i)return i.subject;const r=new v.B,o="cdk-text-field-autofilled",u=l=>{"cdk-text-field-autofill-start"!==l.animationName||t.classList.contains(o)?"cdk-text-field-autofill-end"===l.animationName&&t.classList.contains(o)&&(t.classList.remove(o),this._ngZone.run(()=>r.next({target:l.target,isAutofilled:!1}))):(t.classList.add(o),this._ngZone.run(()=>r.next({target:l.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{t.addEventListener("animationstart",u,y),t.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(t,{subject:r,unlisten:()=>{t.removeEventListener("animationstart",u,y)}}),r}stopMonitoring(e){const t=(0,h.i8)(e),i=this._monitoredElements.get(t);i&&(i.unlisten(),i.subject.complete(),t.classList.remove("cdk-text-field-autofill-monitored"),t.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(t))}ngOnDestroy(){this._monitoredElements.forEach((e,t)=>this.stopMonitoring(t))}static#e=this.\u0275fac=function(t){return new(t||n)(s.KVO(d.OD),s.KVO(s.SKi))};static#t=this.\u0275prov=s.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})(),A=(()=>{class n{static#e=this.\u0275fac=function(t){return new(t||n)};static#t=this.\u0275mod=s.$C({type:n});static#i=this.\u0275inj=s.G2t({})}return n})();var m=a(9417),f=a(6600),_=a(6467);const x=new s.nKC("MAT_INPUT_VALUE_ACCESSOR"),H=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let R=0,I=(()=>{class n{get disabled(){return this._disabled}set disabled(e){this._disabled=(0,h.he)(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){return this._required??this.ngControl?.control?.hasValidator(m.k0.required)??!1}set required(e){this._required=(0,h.he)(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&(0,d.MU)().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(e){this._errorStateTracker.matcher=e}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=(0,h.he)(e)}get errorState(){return this._errorStateTracker.errorState}set errorState(e){this._errorStateTracker.errorState=e}constructor(e,t,i,r,o,u,l,S,F,E){this._elementRef=e,this._platform=t,this.ngControl=i,this._autofillMonitor=S,this._formField=E,this._uid="mat-input-"+R++,this.focused=!1,this.stateChanges=new v.B,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(g=>(0,d.MU)().has(g)),this._iOSKeyupListener=g=>{const c=g.target;!c.value&&0===c.selectionStart&&0===c.selectionEnd&&(c.setSelectionRange(1,1),c.setSelectionRange(0,0))};const p=this._elementRef.nativeElement,C=p.nodeName.toLowerCase();this._inputValueAccessor=l||p,this._previousNativeValue=this.value,this.id=this.id,t.IOS&&F.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._errorStateTracker=new f.X0(u,i,o,r,this.stateChanges),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===C,this._isTextarea="textarea"===C,this._isInFormField=!!E,this._isNativeSelect&&(this.controlType=p.multiple?"mat-native-select-multiple":"mat-native-select")}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e