UNPKG

ngnz-time-input

Version:

Material design time input for Angular 8

16 lines (14 loc) 22 kB
!function(t,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports,require("@angular/core"),require("rxjs/operators"),require("@angular/cdk/a11y"),require("@angular/cdk/coercion"),require("@angular/forms"),require("@angular/material"),require("moment"),require("rxjs/internal/Subject"),require("@angular/common"),require("@angular/material/button"),require("@angular/material/form-field"),require("@angular/material/input")):"function"==typeof define&&define.amd?define("ngnz-time-input",["exports","@angular/core","rxjs/operators","@angular/cdk/a11y","@angular/cdk/coercion","@angular/forms","@angular/material","moment","rxjs/internal/Subject","@angular/common","@angular/material/button","@angular/material/form-field","@angular/material/input"],n):n((t=t||self)["ngnz-time-input"]={},t.ng.core,t.rxjs.operators,t.ng.cdk.a11y,t.ng.cdk.coercion,t.ng.forms,t.ng.material,t.moment,t.rxjs["internal/Subject"],t.ng.common,t.ng.material.button,t.ng.material.formField,t.ng.material.input)}(this,(function(t,n,e,s,o,i,r,u,a,c,l,p,g){"use strict"; /*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */var m;function h(t,n,e,s){var o,i=arguments.length,r=i<3?n:null===s?s=Object.getOwnPropertyDescriptor(n,e):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,n,e,s);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(r=(i<3?o(r):i>3?o(n,e,r):o(n,e))||r);return i>3&&r&&Object.defineProperty(n,e,r),r}function d(t,n){return function(e,s){n(e,s,t)}}function b(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],s=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&s>=t.length&&(t=void 0),{value:t&&t[s++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(m=t.TimeInputMode||(t.TimeInputMode={}))[m.Circular=0]="Circular",m[m.CircularForwarding=1]="CircularForwarding",m[m.Limit=2]="Limit";var f=function(){function s(s){var o=this;void 0===s&&(s=t.TimeInputMode.CircularForwarding),this.inputMode=s,this.TIME_LIMITS={zero:0,hours:23,minutes:59,seconds:59},this.exeedHours=new n.EventEmitter,this.exeedMinutes=new n.EventEmitter,this.exeedSeconds=new n.EventEmitter,this.hoursChanged=new n.EventEmitter,this.minutesChanged=new n.EventEmitter,this.secondsChanged=new n.EventEmitter,this.exeedSeconds.pipe(e.filter((function(t){return 0!==t}))).subscribe((function(t){return o.setMinutes(o.minutes+t)})),this.exeedMinutes.pipe(e.filter((function(t){return 0!==t}))).subscribe((function(t){return o.setHours(o.hours+t)}))}return Object.defineProperty(s.prototype,"hours",{get:function(){return this._hours},enumerable:!0,configurable:!0}),s.prototype.setHours=function(n,e){if(void 0===e&&(e=!0),this._hours!==n){var s=this._setPart(n,this.TIME_LIMITS.hours);this._hours=s.value,this.inputMode===t.TimeInputMode.CircularForwarding&&this.exeedHours.emit(s.exeedValue),e&&this.hoursChanged.emit(this._hours)}return this},Object.defineProperty(s.prototype,"minutes",{get:function(){return this._minutes},enumerable:!0,configurable:!0}),s.prototype.setMinutes=function(n,e){if(void 0===e&&(e=!0),this._minutes!==n){var s=this._setPart(n,this.TIME_LIMITS.minutes);this._minutes=s.value,this.inputMode===t.TimeInputMode.CircularForwarding&&this.exeedMinutes.emit(s.exeedValue),e&&this.minutesChanged.emit(this._minutes)}return this},Object.defineProperty(s.prototype,"seconds",{get:function(){return this._seconds},enumerable:!0,configurable:!0}),s.prototype.setSeconds=function(n,e){if(void 0===e&&(e=!0),this._seconds!==n){var s=this._setPart(n,this.TIME_LIMITS.seconds);this._seconds=s.value,this.inputMode===t.TimeInputMode.CircularForwarding&&this.exeedSeconds.emit(s.exeedValue),e&&this.secondsChanged.emit(this._seconds)}return this},Object.defineProperty(s.prototype,"value",{get:function(){return{hours:this.hours,minutes:this.minutes,seconds:this.seconds}},enumerable:!0,configurable:!0}),s.prototype.setValue=function(t,n,e){this.setHours(t).setMinutes(n).setSeconds(e)},s.prototype._setPart=function(n,e){var s=0,o=0,i=this.TIME_LIMITS.zero,r=e+1;switch(this.inputMode){case t.TimeInputMode.Limit:s=n>e?e:n<i?i:n,o=0;break;case t.TimeInputMode.Circular:s=n>e?i:n<i?e:n,o=0;break;case t.TimeInputMode.CircularForwarding:n>e?(s=n%r,o=Math.round(n/r)):n<i?(s=r+n%r,o=Math.round(n/r)-1):(s=n,o=0)}return{value:s,exeedValue:o}},s}(),C=function(){function t(t){this._classes={},t&&this.appendCssClasses(t)}return t.prototype.appendCssClasses=function(t,n){return void 0===n&&(n=!0),t&&("string"==typeof t?this._createFromString(t,n):Array.isArray(t)?this._createFromArray(t,n):"object"==typeof t&&Object.assign(this._classes,t)),this},t.prototype.generate=function(){var t={};for(var n in this._classes)this._classes.hasOwnProperty(n)&&(t[n]="function"==typeof this._classes[n]?this._classes[n].call(this):!!this._classes[n]);return t},t.prototype._createFromArray=function(t,n){var e,s;try{for(var o=b(t),i=o.next();!i.done;i=o.next()){var r=i.value;this._classes[""+r]=!0}}catch(t){e={error:t}}finally{try{i&&!i.done&&(s=o.return)&&s.call(o)}finally{if(e)throw e.error}}},t.prototype._createFromString=function(t,n){var e=t.split(/[\s,;]+/).filter((function(t){return!!t}));this._createFromArray(e,n)},t}(),z=function(){function c(s,o,r,u){var c=this;this._fm=s,this._elRef=o,this._chDetector=r,this.ngControl=u,this.BUTTON_HOST_ATTRIBUTES=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],this.stateChanges=new a.Subject,this._hoursControl=new i.FormControl(null),this._minutesControl=new i.FormControl(null),this._secondsControl=new i.FormControl(null),this.parts=new i.FormGroup({hours:this._hoursControl,minutes:this._minutesControl,seconds:this._secondsControl}),this._required=!1,this._disabled=!1,this._unsubscribe=new a.Subject,this._debounceTime=300,this._focused=!1,this.controlType="ngnz-time-input-inline",this.id=[this.controlType,++l.nextId].join("-"),this.describedBy="",this.inputClassesConf={},this.buttonDecreaseClassesConf={},this.buttonIncreaseClassesConf={},this.inputMode=t.TimeInputMode.CircularForwarding,this.noButtons=!1,this.showButtons=!1,this.noSeconds=!1,this.decreaseBtnIconName="remove",this.increaseBtnIconName="add",this.timeChange=new n.EventEmitter,this._timeChange=new n.EventEmitter,this._onChange=function(t){},this._onTouched=function(t){},this._timeValue=new f,null!==this.ngControl&&(this.ngControl.valueAccessor=this),this._fm.monitor(this._elRef.nativeElement,!0).subscribe((function(t){null==t&&c._onTouched(c),c.focused=!!t,c.detectChangies()})),this._hoursControl.valueChanges.pipe(e.filter((function(t){return+t!==c._timeValue.hours})),e.takeUntil(this._unsubscribe.asObservable())).subscribe((function(t){c._timeValue.setHours(+t)})),this._timeValue.hoursChanged.pipe(e.takeUntil(this._unsubscribe.asObservable())).subscribe((function(t){c._hoursControl.setValue(c.padNumber(t)),c._timeChange.emit(c.value)})),this._minutesControl.valueChanges.pipe(e.filter((function(t){return+t!==c._timeValue.minutes})),e.takeUntil(this._unsubscribe.asObservable())).subscribe((function(t){c._timeValue.setMinutes(+t)})),this._timeValue.minutesChanged.pipe(e.takeUntil(this._unsubscribe.asObservable())).subscribe((function(t){c._minutesControl.setValue(c.padNumber(t)),c._timeChange.emit(c.value)})),this._secondsControl.valueChanges.pipe(e.filter((function(t){return+t!==c._timeValue.seconds})),e.takeUntil(this._unsubscribe.asObservable())).subscribe((function(t){c._timeValue.setSeconds(+t)})),this._timeValue.secondsChanged.pipe(e.takeUntil(this._unsubscribe.asObservable())).subscribe((function(t){c._secondsControl.setValue(c.padNumber(t)),c._timeChange.emit(c.value)})),this._timeChange.pipe(e.debounceTime(this._debounceTime),e.takeUntil(this._unsubscribe.asObservable())).subscribe((function(t){c.timeChange.emit(t)}))}var l;return l=c,Object.defineProperty(c.prototype,"focused",{get:function(){return this._focused},set:function(t){this._focused=t},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"shouldLabelFloat",{get:function(){return this.focused||!this.empty},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"placeholder",{get:function(){return this._placeholder},set:function(t){this._placeholder=t},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"value",{get:function(){return u({years:this._inputValue.year(),months:this._inputValue.month(),days:this._inputValue.date(),hours:this._timeValue.hours,minutes:this._timeValue.minutes,seconds:this._timeValue.seconds})},set:function(t){this._inputValue=!!t&&u.isMoment(t)&&t||u();var n=+this._inputValue.hours(),e=+this._inputValue.minutes(),s=+this._inputValue.seconds();this._timeValue.setHours(n).setMinutes(e).setSeconds(s),this.detectChangies()},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"required",{get:function(){return this._required},set:function(t){this._required=o.coerceBooleanProperty(t),this.detectChangies()},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=o.coerceBooleanProperty(t),this._disabled?this.parts.disable():this.parts.enable(),this.detectChangies()},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"splitter",{get:function(){return this._splitter||":"},set:function(t){this._splitter=(""+t).slice(0)},enumerable:!0,configurable:!0}),c.prototype.ngOnInit=function(){this._timeValue.inputMode=this.inputMode,this._cssClassChange()},c.prototype.ngDoCheck=function(){this._cssClassChange()},c.prototype.ngOnDestroy=function(){this._unsubscribe.next(),this._unsubscribe.complete(),this._fm.stopMonitoring(this._elRef.nativeElement)},c.prototype.detectChangies=function(){this.stateChanges.next(),this._cssClassChange(),this._chDetector.detectChanges()},Object.defineProperty(c.prototype,"errorState",{get:function(){return!!(this.ngControl&&this.ngControl.touched&&this.ngControl.invalid)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"empty",{get:function(){var t=this.parts.value;return!(t.hours&&t.hours>=0||t.minutes&&t.minutes>=0||t.seconds&&t.minutes>=0)},enumerable:!0,configurable:!0}),c.prototype.setDescribedByIds=function(t){this.describedBy=t.join(" ")},c.prototype.onContainerClick=function(t){},c.prototype.writeValue=function(t){this.value=t},c.prototype.registerOnChange=function(t){this._onChange=function(n){t(n)}},c.prototype.registerOnTouched=function(t){this._onTouched=function(n){t(n)}},c.prototype.setDisabledState=function(t){this.disabled=t},c.prototype.btnsAction=function(t,n){switch(t){case"hours":this._timeValue.setHours(this._timeValue.hours+n);break;case"minutes":this._timeValue.setMinutes(this._timeValue.minutes+n);break;case"seconds":this._timeValue.setSeconds(this._timeValue.seconds+n)}this.detectChangies()},c.prototype.btnIncrease=function(t,n){t.preventDefault(),t.stopPropagation(),this.btnsAction(n,1)},c.prototype.btnDecrease=function(t,n){t.preventDefault(),t.stopPropagation(),this.btnsAction(n,-1)},c.prototype.padNumber=function(t,n){return void 0===n&&(n=2),String(t).padStart(n,"0")},c.prototype.wheel=function(t,n){if(this.focused){t.preventDefault(),t.stopPropagation();var e=t.deltaY>0?-1:t.deltaY<0?1:0;this.btnsAction(n,e)}},c.prototype._cssClassChange=function(){this._defineCssButtons(),this._defineCssInputs()},c.prototype._defineMatButtonType=function(){var t=this;return this.buttonMatTypeClassName=!!this.buttonMatType&&""+this.buttonMatType||this.BUTTON_HOST_ATTRIBUTES.filter((function(n){return t._elRef.nativeElement.hasAttribute(n)})).join(" ")},c.prototype._defineMatButtonColor=function(){return this.colorClassName=this.color?"mat-"+this.color:""},c.prototype._defineCssButtons=function(){var t=(new C).appendCssClasses(this.colorClassName||this._defineMatButtonColor()).appendCssClasses(this.buttonMatTypeClassName||this._defineMatButtonType()).appendCssClasses(this.buttonsClasses).generate(),n=(new C).appendCssClasses(this.buttonDecreaseClasses).appendCssClasses(t),e=(new C).appendCssClasses(this.buttonIncreaseClasses).appendCssClasses(t);Object.assign(this.buttonDecreaseClassesConf,n.generate()),Object.assign(this.buttonIncreaseClassesConf,e.generate())},c.prototype._defineCssInputs=function(){var t=this,n=(new C).appendCssClasses({"ngnz-lr-margin-1em":function(){return!t.showButtons&&!t.noButtons&&!t.focused}}).appendCssClasses(this.inputClasses);Object.assign(this.inputClassesConf,n.generate())},c.nextId=0,c.ctorParameters=function(){return[{type:s.FocusMonitor},{type:n.ElementRef},{type:n.ChangeDetectorRef},{type:i.NgControl,decorators:[{type:n.Optional},{type:n.Self}]}]},h([n.HostBinding()],c.prototype,"id",void 0),h([n.HostBinding("attr.aria-describedby")],c.prototype,"describedBy",void 0),h([n.HostBinding("class.floating")],c.prototype,"shouldLabelFloat",null),h([n.Input()],c.prototype,"color",void 0),h([n.Input()],c.prototype,"buttonMatType",void 0),h([n.Input()],c.prototype,"inputClasses",void 0),h([n.Input()],c.prototype,"buttonsClasses",void 0),h([n.Input()],c.prototype,"buttonDecreaseClasses",void 0),h([n.Input()],c.prototype,"buttonIncreaseClasses",void 0),h([n.Input()],c.prototype,"placeholder",null),h([n.Input()],c.prototype,"inputMode",void 0),h([n.Input()],c.prototype,"value",null),h([n.Input()],c.prototype,"required",null),h([n.Input()],c.prototype,"disabled",null),h([n.Input()],c.prototype,"splitter",null),h([n.Input()],c.prototype,"noButtons",void 0),h([n.Input()],c.prototype,"showButtons",void 0),h([n.Input()],c.prototype,"noSeconds",void 0),h([n.Input()],c.prototype,"decreaseBtnIconName",void 0),h([n.Input()],c.prototype,"increaseBtnIconName",void 0),h([n.Output()],c.prototype,"timeChange",void 0),h([n.HostListener("timeChange",["$event"]),n.HostListener("change",["$event"])],c.prototype,"_onChange",void 0),c=l=h([n.Component({selector:"ngnz-time-input-inline",template:'<div class="ngnz-time-group" [formGroup]="parts">\n &nbsp;\n <div class="ngnz-hours-block">\n <button\n *ngIf="showButtons || (!noButtons && focused)"\n class="ngnz-button"\n [ngClass]="buttonDecreaseClassesConf"\n (click)="btnDecrease($event, \'hours\')"\n >\n <mat-icon class="ngnz-square-1em">{{\n decreaseBtnIconName\n }}</mat-icon>\n </button>\n <input\n #hours\n class="ngnz-hours ngnz-width-2em"\n formControlName="hours"\n readonly\n [matTooltip]="focused ? \'используйте колесо прокрутки\' : \'\'"\n [ngClass]="inputClassesConf"\n (wheel)="wheel($event, \'hours\')"\n />\n <button\n *ngIf="showButtons || (!noButtons && focused)"\n class="ngnz-button"\n [ngClass]="buttonIncreaseClassesConf"\n (click)="btnIncrease($event, \'hours\')"\n >\n <mat-icon class="ngnz-square-1em">{{\n increaseBtnIconName\n }}</mat-icon>\n </button>\n </div>\n\n <div class="ngnz-splitter">{{ splitter }}</div>\n\n <div class="ngnz-minutes-block">\n <button\n *ngIf="showButtons || (!noButtons && focused)"\n class="ngnz-button"\n [ngClass]="buttonDecreaseClassesConf"\n (click)="btnDecrease($event, \'minutes\')"\n >\n <mat-icon class="ngnz-square-1em">{{\n decreaseBtnIconName\n }}</mat-icon>\n </button>\n <input\n #minutes\n class="ngnz-minutes ngnz-width-2em"\n formControlName="minutes"\n readonly\n [matTooltip]="focused ? \'используйте колесо прокрутки\' : \'\'"\n [ngClass]="inputClassesConf"\n (wheel)="wheel($event, \'minutes\')"\n />\n <button\n *ngIf="showButtons || (!noButtons && focused)"\n class="ngnz-button"\n [ngClass]="buttonIncreaseClassesConf"\n (click)="btnIncrease($event, \'minutes\')"\n >\n <mat-icon class="ngnz-square-1em">{{\n increaseBtnIconName\n }}</mat-icon>\n </button>\n </div>\n\n <div class="ngnz-splitter" *ngIf="!noSeconds">{{ splitter }}</div>\n\n <div class="ngnz-seconds-block" *ngIf="!noSeconds">\n <button\n *ngIf="showButtons || (!noButtons && focused)"\n class="ngnz-button"\n [ngClass]="buttonDecreaseClassesConf"\n (click)="btnDecrease($event, \'seconds\')"\n >\n <mat-icon class="ngnz-square-1em">{{\n decreaseBtnIconName\n }}</mat-icon>\n </button>\n <input\n #seconds\n class="ngnz-seconds ngnz-width-2em"\n formControlName="seconds"\n readonly\n [matTooltip]="focused ? \'используйте колесо прокрутки\' : \'\'"\n [ngClass]="inputClassesConf"\n (wheel)="wheel($event, \'seconds\')"\n />\n <button\n *ngIf="showButtons || (!noButtons && focused)"\n class="ngnz-button"\n [ngClass]="buttonIncreaseClassesConf"\n (click)="btnIncrease($event, \'seconds\')"\n >\n <mat-icon class="ngnz-square-1em">{{\n increaseBtnIconName\n }}</mat-icon>\n </button>\n </div>\n &nbsp;\n</div>\n',changeDetection:n.ChangeDetectionStrategy.OnPush,providers:[{provide:r.MatFormFieldControl,useExisting:l}],styles:[".ngnz-time-group{display:flex!important;justify-content:center!important;align-items:center!important;padding:0!important}.ngnz-time-group .ngnz-hours-block,.ngnz-time-group .ngnz-minutes-block,.ngnz-time-group .ngnz-seconds-block,.ngnz-time-group .ngnz-splitter{display:flex!important;align-items:center!important;justify-content:center!important;flex-direction:row!important}.ngnz-time-group .ngnz-hours-block .ngnz-hours,.ngnz-time-group .ngnz-hours-block .ngnz-minutes,.ngnz-time-group .ngnz-hours-block .ngnz-seconds,.ngnz-time-group .ngnz-minutes-block .ngnz-hours,.ngnz-time-group .ngnz-minutes-block .ngnz-minutes,.ngnz-time-group .ngnz-minutes-block .ngnz-seconds,.ngnz-time-group .ngnz-seconds-block .ngnz-hours,.ngnz-time-group .ngnz-seconds-block .ngnz-minutes,.ngnz-time-group .ngnz-seconds-block .ngnz-seconds,.ngnz-time-group .ngnz-splitter .ngnz-hours,.ngnz-time-group .ngnz-splitter .ngnz-minutes,.ngnz-time-group .ngnz-splitter .ngnz-seconds{color:inherit;border:none;outline:0;font:inherit;text-align:center!important;vertical-align:middle!important;padding:0!important}.ngnz-time-group .ngnz-hours-block .ngnz-button,.ngnz-time-group .ngnz-minutes-block .ngnz-button,.ngnz-time-group .ngnz-seconds-block .ngnz-button,.ngnz-time-group .ngnz-splitter .ngnz-button{cursor:pointer;padding:0!important;font-weight:700;display:flex!important;justify-content:center!important;align-items:center!important;line-height:inherit!important;font-size:inherit!important;box-sizing:border-box;position:relative;top:0}.ngnz-time-group .ngnz-hours-block .ngnz-button ::ng-deep .mat-button-wrapper,.ngnz-time-group .ngnz-minutes-block .ngnz-button ::ng-deep .mat-button-wrapper,.ngnz-time-group .ngnz-seconds-block .ngnz-button ::ng-deep .mat-button-wrapper,.ngnz-time-group .ngnz-splitter .ngnz-button ::ng-deep .mat-button-wrapper{line-height:inherit!important;padding:0!important}.ngnz-time-group .ngnz-hours-block .ngnz-button ::ng-deep .mat-button-base,.ngnz-time-group .ngnz-minutes-block .ngnz-button ::ng-deep .mat-button-base,.ngnz-time-group .ngnz-seconds-block .ngnz-button ::ng-deep .mat-button-base,.ngnz-time-group .ngnz-splitter .ngnz-button ::ng-deep .mat-button-base{min-width:inherit!important}.ngnz-time-group .ngnz-splitter{opacity:0;min-width:1em!important;transition:opacity .2s!important}:host.floating .ngnz-splitter{opacity:1}.ngnz-lr-margin-1em{margin-left:1em;margin-right:1em}.ngnz-square-1em,.ngnz-time-group .ngnz-hours-block .ngnz-button,.ngnz-time-group .ngnz-minutes-block .ngnz-button,.ngnz-time-group .ngnz-seconds-block .ngnz-button,.ngnz-time-group .ngnz-splitter .ngnz-button,.ngnz-width-1em{width:1em!important;min-width:1em!important}.ngnz-height-1em,.ngnz-square-1em,.ngnz-time-group .ngnz-hours-block .ngnz-button,.ngnz-time-group .ngnz-minutes-block .ngnz-button,.ngnz-time-group .ngnz-seconds-block .ngnz-button,.ngnz-time-group .ngnz-splitter .ngnz-button{height:1em!important;min-height:1em!important}.ngnz-width-2em{width:2em!important;min-width:2em!important}.ngnz-height-2em{height:2em!important;min-height:2em!important}.material-icons{font-size:inherit!important}"]}),d(3,n.Optional()),d(3,n.Self())],c)}(),y=function(){function t(){}return t=h([n.NgModule({declarations:[z],imports:[c.CommonModule,i.ReactiveFormsModule,l.MatButtonModule,p.MatFormFieldModule,g.MatInputModule,r.MatCommonModule,r.MatIconModule,r.MatTooltipModule],exports:[z]})],t)}();t.NgnzTimeInputInlineComponent=z,t.NgnzTimeInputInlineModule=y,t.TimeValue=f,Object.defineProperty(t,"__esModule",{value:!0})})); //# sourceMappingURL=ngnz-time-input.umd.min.js.map