restomax-input
Advanced tools
Comparing version 0.0.14 to 0.0.15
@@ -279,3 +279,3 @@ (function (global, factory) { | ||
*/ function () { | ||
return this.sanitizer.bypassSecurityTrustStyle("\n --rmx-font-size-input: " + (this.options.inputFontSize || '--rmx-font-size-input') + ";\n --rmx-font-align-input: " + (this.options.inputTextAlign || '--rmx-font-align-input') + ";\n --rmx-padding-input: " + (this.options.inputTextPadding || '--rmx-padding-input') + ";\n "); | ||
return this.sanitizer.bypassSecurityTrustStyle("\n --rmx-font-size-input: " + (this._keyboardOptions.inputFontSize || '--rmx-font-size-input') + ";\n --rmx-font-align-input: " + (this._keyboardOptions.inputTextAlign || '--rmx-font-align-input') + ";\n --rmx-padding-input: " + (this._keyboardOptions.inputTextPadding || '--rmx-padding-input') + ";\n "); | ||
}, | ||
@@ -282,0 +282,0 @@ enumerable: true, |
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/platform-browser"),require("@angular/core"),require("@angular/common"),require("@angular/material")):"function"==typeof define&&define.amd?define("restomax-input",["exports","@angular/platform-browser","@angular/core","@angular/common","@angular/material"],t):t(e["restomax-input"]={},e.ng.platformBrowser,e.ng.core,e.ng.common,e.ng.material)}(this,function(e,t,a,i,s){"use strict";var o=function(){function e(e){this.element=e,this.showKeyboard=new a.EventEmitter}return e.prototype.onClick=function(e){this.focusedByClick=!0},e.prototype.onClickUp=function(e){this.showKeyboard.emit({placeholder:this.placeholder,value:this.inputElement.value&&""!==this.inputElement.value?this.inputElement.value:this.defaultValue,show:!0,startPosition:this.inputElement.selectionStart,endPosition:this.inputElement.selectionEnd}),this.focusedByClick=!1},e.prototype.onKeyup=function(e){this.showKeyboard.emit({placeholder:this.placeholder,value:this.inputElement.value&&""!==this.inputElement.value?this.inputElement.value:this.defaultValue,show:!0,startPosition:this.inputElement.selectionStart,endPosition:this.inputElement.selectionEnd})},e.prototype.ngAfterViewInit=function(){var t=this;this.inputElement=this.element.nativeElement,this.inputElement.addEventListener("focus",function(e){setTimeout(function(){t.focusedByClick||t.showKeyboard.emit({placeholder:t.placeholder,value:t.inputElement.value&&""!==t.inputElement.value?t.inputElement.value:t.defaultValue,show:!0,startPosition:t.inputElement.selectionStart,endPosition:t.inputElement.selectionEnd})},200)})},e.decorators=[{type:a.Directive,args:[{selector:"[rmxInput]"}]}],e.ctorParameters=function(){return[{type:a.ElementRef}]},e.propDecorators={keyboardOptions:[{type:a.Input}],placeholder:[{type:a.Input}],defaultValue:[{type:a.Input}],options:[{type:a.Input}],showKeyboard:[{type:a.Output}],onClick:[{type:a.HostListener,args:["mousedown",["$event"]]}],onClickUp:[{type:a.HostListener,args:["mouseup",["$event"]]}],onKeyup:[{type:a.HostListener,args:["keyup",["$event"]]}]},e}(),n=function(){function e(){this.keyPress=new a.EventEmitter,this.timeoutClick=200}return e.prototype.onPressDown=function(e){this.keyPress.emit(this.key),this.startTimerClick()},e.prototype.onPressUp=function(e){this.stopTimerClick()},e.prototype.onTap=function(e){this.keyPress.emit(this.key),this.startTimerClick()},e.prototype.onMouseUp=function(e){this.stopTimerClick()},e.prototype.onMouseOut=function(e){this.stopTimerClick()},e.prototype.startTimerClick=function(){var e=this;this.timerClick||(this.timerClick=setInterval(function(){e.keyPress.emit(e.key)},this.timeoutClick))},e.prototype.stopTimerClick=function(){clearInterval(this.timerClick),this.timerClick=null},e.decorators=[{type:a.Directive,args:[{selector:"[rmxInputKey]"}]}],e.ctorParameters=function(){return[]},e.propDecorators={key:[{type:a.Input}],keyPress:[{type:a.Output}],onPressDown:[{type:a.HostListener,args:["press",["$event"]]}],onPressUp:[{type:a.HostListener,args:["pressup",["$event"]]}],onTap:[{type:a.HostListener,args:["mousedown",["$event"]]}],onMouseUp:[{type:a.HostListener,args:["mouseup",["$event"]]}],onMouseOut:[{type:a.HostListener,args:["mouseout",["$event"]]}]},e}(),r=function(){function e(e,t){this.cd=e,this.sanitizer=t,this._keyboardOptions={type:"edge",keyboardWidth:"100%",keyboardHeight:"auto",keyWidth:"auto",keyHeight:"50px",background:"inherit",color:"var(--ion-color-primary)",fontSize:"default",fontFamily:"default",inputFontSize:"default",inputTextAlign:"default",vibration:!0,cases:"lowcase",defaultValue:"",maxlength:32,enterGoNext:!1},this.keyPress=new a.EventEmitter,this.keyboardShow=new a.EventEmitter,this.validate=new a.EventEmitter}return Object.defineProperty(e.prototype,"keyboardOptions",{get:function(){return this._keyboardOptions},set:function(e){Object.assign(this._keyboardOptions,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"style",{get:function(){return this.sanitizer.bypassSecurityTrustStyle("\n --rmx-font-size-input: "+(this.options.inputFontSize||"--rmx-font-size-input")+";\n --rmx-font-align-input: "+(this.options.inputTextAlign||"--rmx-font-align-input")+";\n --rmx-padding-input: "+(this.options.inputTextPadding||"--rmx-padding-input")+";\n ")},enumerable:!0,configurable:!0}),e.prototype.onShowKeyboard=function(e){this.showKeyboard=e,this.keyboardShow.emit(e),this.cd.detectChanges()},e.prototype.onValueChange=function(e){(this.validate.emit(e),this.keyboardOptions.enterGoNext&&e&&e.inputElement.nativeElement&&e.inputElement.nativeElement.parentNode&&e.inputElement.nativeElement.parentNode.parentNode&&e.inputElement.nativeElement.parentNode.parentNode.parentNode&&e.inputElement.nativeElement.parentNode.parentNode.parentNode.parentNode&&e.inputElement.nativeElement.parentNode.parentNode.parentNode.parentNode.parentNode&&e.inputElement.nativeElement.parentNode.parentNode.parentNode.parentNode.parentNode.nextSibling)&&new a.ElementRef(e.inputElement.nativeElement.parentNode.parentNode.parentNode.parentNode.parentNode.nextSibling.children[0]).nativeElement.getElementsByTagName("input")[0].focus()},e.prototype.onKeyPress=function(e){this.keyPress.emit(e)},e.prototype.ngOnInit=function(){this.showKeyboard={startPosition:0,endPosition:0,value:"",show:!0,placeholder:this.placeholder}},e.decorators=[{type:a.Component,args:[{selector:"rmx-input",template:'<mat-form-field>\r\n <input rmxInput matInput #inputElement\r\n [placeholder]="placeholder"\r\n [id]="id"\r\n [type]="type"\r\n [autocomplete]="autocomplete"\r\n [value]="keyboardOptions.defaultValue"\r\n (showKeyboard)="onShowKeyboard($event)"\r\n >\r\n</mat-form-field>\r\n<rmx-virtual-keyboard \r\n [inputElement]="inputElement" \r\n [options]="keyboardOptions"\r\n [showKeyboard]="showKeyboard"\r\n (valueChange)="onValueChange($event)"\r\n (keyPress)="onKeyPress($event)"></rmx-virtual-keyboard>\r\n',changeDetection:a.ChangeDetectionStrategy.OnPush,styles:[":host{--rmx-font-size-input:1em;--rmx-font-align-input:'left';--rmx-padding-input:5px}mat-form-field{width:100%}mat-form-field input{width:100%;font-size:var(--rmx-font-size-input);line-height:var(--rmx-font-size-input);text-align:var(--rmx-font-align-input);padding:var(--rmx-padding-input)}"]}]}],e.ctorParameters=function(){return[{type:a.ChangeDetectorRef},{type:t.DomSanitizer}]},e.propDecorators={inputElement:[{type:a.ViewChild,args:["inputElement"]}],placeholder:[{type:a.Input}],options:[{type:a.Input}],autocomplete:[{type:a.Input}],type:[{type:a.Input}],id:[{type:a.Input}],keyboardOptions:[{type:a.Input}],keyPress:[{type:a.Output}],keyboardShow:[{type:a.Output}],validate:[{type:a.Output}],style:[{type:a.HostBinding,args:["style"]}]},e}(),l={lowcase:[{size:1,value:"1"},{size:1,value:"2"},{size:1,value:"3"},{size:1,value:"4"},{size:1,value:"5"},{size:1,value:"6"},{size:1,value:"7"},{size:1,value:"8"},{size:1,value:"9"},{size:1,value:"0"},{size:1,value:"a"},{size:1,value:"z"},{size:1,value:"e"},{size:1,value:"r"},{size:1,value:"t"},{size:1,value:"y"},{size:1,value:"u"},{size:1,value:"i"},{size:1,value:"o"},{size:1,value:"p"},{size:1,value:"q"},{size:1,value:"s"},{size:1,value:"d"},{size:1,value:"f"},{size:1,value:"g"},{size:1,value:"h"},{size:1,value:"j"},{size:1,value:"k"},{size:1,value:"l"},{size:1,value:"m"},{size:2,value:"⇧",icon:"keyboard_capslock"},{size:1,value:"w"},{size:1,value:"x"},{size:1,value:"c"},{size:1,value:"v"},{size:1,value:"b"},{size:1,value:"n"},{size:2,value:"<=",icon:"keyboard_backspace"},{size:2,value:"123"},{size:1,value:"/"},{size:4,value:" "},{size:1,value:":"},{size:2,value:"ENTER",icon:"done"}],upcase:[{size:1,value:"1"},{size:1,value:"2"},{size:1,value:"3"},{size:1,value:"4"},{size:1,value:"5"},{size:1,value:"6"},{size:1,value:"7"},{size:1,value:"8"},{size:1,value:"9"},{size:1,value:"0"},{size:1,value:"A"},{size:1,value:"Z"},{size:1,value:"E"},{size:1,value:"R"},{size:1,value:"T"},{size:1,value:"Y"},{size:1,value:"U"},{size:1,value:"I"},{size:1,value:"O"},{size:1,value:"P"},{size:1,value:"Q"},{size:1,value:"S"},{size:1,value:"D"},{size:1,value:"F"},{size:1,value:"G"},{size:1,value:"H"},{size:1,value:"H"},{size:1,value:"J"},{size:1,value:"K"},{size:1,value:"L"},{size:2,value:"⇧",icon:"keyboard_arrow_down"},{size:1,value:"W"},{size:1,value:"X"},{size:1,value:"C"},{size:1,value:"V"},{size:1,value:"B"},{size:1,value:"N"},{size:2,value:"<=",icon:"keyboard_backspace"},{size:2,value:"123"},{size:1,value:"=/<"},{size:4,value:" "},{size:1,value:"."},{size:2,value:"ENTER",icon:"done"}],spacecase:[{size:1,value:"²"},{size:1,value:"³"},{size:1,value:"&"},{size:1,value:"@"},{size:1,value:"#"},{size:1,value:"'"},{size:1,value:"("},{size:1,value:"§"},{size:1,value:"^"},{size:1,value:"!"},{size:1,value:"{"},{size:1,value:"}"},{size:1,value:")"},{size:1,value:"°"},{size:1,value:"-"},{size:1,value:"_"},{size:1,value:"^"},{size:1,value:"["},{size:1,value:"$"},{size:1,value:"*"},{size:1,value:"]"},{size:1,value:"%"},{size:1,value:"µ"},{size:1,value:"£"},{size:1,value:","},{size:1,value:"?"},{size:1,value:";"},{size:1,value:"."},{size:1,value:":"},{size:1,value:"*"},{size:1,value:"/"},{size:1,value:"="},{size:1,value:"+"},{size:1,value:"~"},{size:1,value:"+"},{size:1,value:"\\"},{size:1,value:"<"},{size:1,value:">"},{size:2,value:"<="},{size:2,value:"0-9"},{size:2,value:"ABC"},{size:4,value:" "},{size:2,value:"ENTER",icon:"done"}],numcase:[{size:1,value:"1"},{size:1,value:"2"},{size:1,value:"3"},{size:1,value:"/"},{size:1,value:"4"},{size:1,value:"5"},{size:1,value:"6"},{size:1,value:"*"},{size:1,value:"7"},{size:1,value:"8"},{size:1,value:"9"},{size:1,value:"-"},{size:1,value:"."},{size:1,value:"0"},{size:1,value:"+"},{size:1,value:"="},{size:1,value:"ABC"},{size:1,value:","},{size:1,value:"%"},{size:1,value:"<="}],numpad:[{size:1,value:"1"},{size:1,value:"2"},{size:1,value:"3"},{size:1,value:"A"},{size:1,value:"4"},{size:1,value:"5"},{size:1,value:"6"},{size:1,value:"B"},{size:1,value:"7"},{size:1,value:"8"},{size:1,value:"9"},{size:1,value:"T"},{size:1,value:"ABC"},{size:1,value:"0"},{size:1,value:"CE"},{size:1,value:"ENTER",icon:"done"}],calc:[{size:1,value:"1"},{size:1,value:"2"},{size:1,value:"3"},{size:1,value:"4"},{size:1,value:"5"},{size:1,value:"6"},{size:1,value:"7"},{size:1,value:"8"},{size:1,value:"9"},{size:1,value:"."},{size:1,value:"0"},{size:1,value:"ENTER",icon:"done"}],loginpad:[{size:1,value:"1"},{size:1,value:"2"},{size:1,value:"3"},{size:1,value:"4"},{size:1,value:"5"},{size:1,value:"6"},{size:1,value:"7"},{size:1,value:"8"},{size:1,value:"9"},{size:1,value:"CE"},{size:1,value:"0"},{size:1,value:"ENTER",icon:"done"}]},u={lowcase:{numberCol:10,width:"100%"},upcase:{numberCol:10,width:"100%"},spacecase:{numberCol:10,width:"100%"},numcase:{numberCol:4,width:"100%"},numpad:{numberCol:4,width:"100%"},calc:{numberCol:3,width:"100%"},loginpad:{numberCol:3,width:"100%"}},h=function(){function e(e,t){this.sanitizer=e,this.cd=t,this.visible=!1,this.value="",this.rmxGridConfigs=u,this.rmxKeys=l,this.valueChange=new a.EventEmitter,this.keyPress=new a.EventEmitter}return Object.defineProperty(e.prototype,"style",{get:function(){return this.sanitizer.bypassSecurityTrustStyle("\n --grid-columns: "+u[this.cases||this.options.cases||"lowcase"].numberCol+";\n --rmx-background-keybord: "+(this.options.background||"--rmx-background-keybord")+";\n --rmx-color-keybord: "+(this.options.color||"--rmx-color-keybord")+";\n --rmx-font-keybord: "+(this.options.fontFamily||"--rmx-font-family-keybord")+";\n --rmx-font-size-keybord: "+(this.options.fontSize||"--rmx-font-size-keybord")+";\n --rmx-position-keybord: "+(this.options.type||"--rmx-position-keybord")+";\n --rmx-keyboard-height: "+(this.options.keyboardHeight||"--rmx-keyboard-height")+";\n --rmx-keyboard-width: "+(this.options.keyboardWidth||"--rmx-keyboard-width")+";\n --rmx-key-height: "+(this.options.keyHeight||"--rmx-key-height")+";\n --rmx-key-width: "+(this.options.keyWidth||"--rmx-key-width")+";\n ")},enumerable:!0,configurable:!0}),e.prototype.trackKeys=function(e,t){return e},e.prototype.trackRKeys=function(e,t){return t.value},e.prototype.setPosition=function(e,t){this.showKeyboard.startPosition=e,this.showKeyboard.endPosition=t},e.prototype.onPress=function(e){var t=e.value;switch(t){case"|X|":case"ENTER":this.visible=!1,this.inputElement.value=this.value,this.valueChange.emit({inputElement:new a.ElementRef(this.inputElement),value:this.value});break;case"<=":if(this.showKeyboard.startPosition<this.showKeyboard.endPosition)return this.value=this.value.substr(0,this.showKeyboard.startPosition)+this.value.slice(this.showKeyboard.endPosition),this.setPosition(this.showKeyboard.startPosition,this.showKeyboard.startPosition),this.keyPress.emit(e),void("edge"!==this.options.type&&(this.inputElement.value=this.value));0<this.value.length&&0<this.showKeyboard.startPosition&&(this.value=this.value.substr(0,this.showKeyboard.startPosition-1)+this.value.substr(this.showKeyboard.startPosition,this.value.length-1),this.setPosition(this.showKeyboard.startPosition-1,this.showKeyboard.startPosition-1)),!this.value.length&&this.options.defaultValue.length&&(this.value=this.options.defaultValue,this.setPosition(this.value.length,this.value.length)),this.keyPress.emit(e);break;case"⇧":this.cases="upcase"===this.cases?"lowcase":"upcase";break;case"123":this.cases="numcase";break;case"0-9":this.cases="numpad";break;case"ABC":this.cases="upcase";break;case"=/<":this.cases="spacecase";break;case"C":if("numcase"===this.cases||"numpad"===this.cases||"calc"===this.cases){if(this.showKeyboard.startPosition<this.showKeyboard.endPosition)return void(this.value=this.value.slice(0,this.showKeyboard.startPosition)+this.value.slice(this.showKeyboard.endPosition));0<this.value.length&&(this.value=this.value.substr(0,this.showKeyboard.startPosition-1)+this.value.substr(this.showKeyboard.startPosition,this.value.length-1),this.setPosition(this.showKeyboard.startPosition-1,this.showKeyboard.startPosition-1)),!this.value.length&&this.options.defaultValue.length&&(this.value=this.options.defaultValue,this.setPosition(this.value.length,this.value.length))}else{var i=this.value.length<=this.options.maxlength?t:"";this.value=this.value.substr(0,this.showKeyboard.startPosition-1)+i+this.value.substr(this.showKeyboard.startPosition,this.value.length-1),this.setPosition(this.value.length,this.value.length)}this.keyPress.emit(e);break;case"CE":this.value="",this.keyPress.emit(e);break;case".":if("numcase"===this.cases||"numpad"===this.cases||"calc"===this.cases){i=!this.value.includes(t)&&this.value.length<this.options.maxlength?t:"";this.value=this.value.substr(0,this.showKeyboard.startPosition)+i+this.value.substr(this.showKeyboard.startPosition,this.value.length),this.setPosition(this.showKeyboard.startPosition+1,this.showKeyboard.startPosition+1)}else{i=this.value.length<=this.options.maxlength?t:"";this.value=this.value.substr(0,this.showKeyboard.startPosition)+i+this.value.substr(this.showKeyboard.startPosition,this.value.length),this.setPosition(this.showKeyboard.startPosition+1,this.showKeyboard.startPosition+1)}this.keyPress.emit(e);break;default:if("numcase"===this.cases||"numpad"===this.cases||"calc"===this.cases){var s=/(?:\.([^.]+))?$/.exec(this.value);t=!s[1]||s[1].length<2||this.options.defaultValue===this.value?t:""}this.showKeyboard.startPosition<this.showKeyboard.endPosition&&(this.value=this.value.slice(0,this.showKeyboard.startPosition)+this.value.slice(this.showKeyboard.endPosition),this.setPosition(this.showKeyboard.startPosition,this.showKeyboard.startPosition));var o=this.value.length<=this.options.maxlength?t:"";this.value=this.value.substr(0,this.showKeyboard.startPosition)+o+this.value.substr(this.showKeyboard.startPosition,this.value.length),this.setPosition(this.showKeyboard.startPosition+1,this.showKeyboard.startPosition+1),this.keyPress.emit(e)}"edge"!==this.options.type&&(this.inputElement.value=this.value),this.cd.detectChanges()},e.prototype.hideKeyboard=function(e){e.preventDefault(),e.stopPropagation(),this.visible=!1,this.cd.detectChanges()},e.prototype.ngOnInit=function(){this.value=this.options.defaultValue||"",this.setPosition(this.value.length,this.value.length)},e.prototype.ngOnChanges=function(e){for(var t in e)if(e[t]){var i=e[t];JSON.stringify(i.currentValue);i.isFirstChange()||"showKeyboard"===t&&(this.visible=this.showKeyboard.show,this.setPosition(this.showKeyboard.startPosition,this.showKeyboard.endPosition))}},e.decorators=[{type:a.Component,args:[{selector:"rmx-virtual-keyboard",template:'\r\n\r\n<div id="restomax-keyboard-backdrop" *ngIf="visible && (options?.type === \'edge\' || options?.type === \'auto\')" (click)="hideKeyboard($event)"></div>\r\n<div \r\n class="keyboard" \r\n [class.show]="visible" \r\n [class.edge]="options?.type === \'edge\'"\r\n [class.auto]="options?.type === \'auto\'"\r\n *ngIf="rmxKeys[(cases || options.cases || \'lowcase\')] as Keys">\r\n\r\n <mat-grid-list class="keys" [cols]="rmxGridConfigs[(cases || options.cases || \'lowcase\')]?.numberCol" [rowHeight]="options?.keyHeight">\r\n <mat-grid-tile class="col-input" *ngIf="options?.type === \'edge\'" [colspan]="rmxGridConfigs[(cases || options.cases || \'lowcase\')]?.numberCol">\r\n <mat-form-field>\r\n <input [value]="value" rmxInput matInput>\r\n </mat-form-field>\r\n </mat-grid-tile>\r\n <mat-grid-tile class="key" *ngFor="let key of Keys; trackBy: trackRKeys" [colspan]="key.size">\r\n <button mat-stroked-button *ngIf="key.value !== \'\'" [key]="key" (keyPress)="onPress($event)" rmxInputKey>\r\n <mat-icon *ngIf="key.icon">{{key.icon}}</mat-icon>\r\n {{key.icon ? \'\' : key.value}}\r\n </button>\r\n </mat-grid-tile>\r\n </mat-grid-list>\r\n</div>\r\n',changeDetection:a.ChangeDetectionStrategy.OnPush,styles:[":host{--grid-columns:10;--rmx-background-keybord:var(--ion-color-light);--rmx-color-keybord:var(--ion-color-primary);--rmx-position-keybord:fixed;--rmx-keyboard-height:auto;--rmx-keyboard-width:100%;--rmx-key-height:50px;--rmx-key-width:auto;--rmx-font-family-keybord:default;--rmx-font-size-keybord:1.2em}#restomax-keyboard-backdrop{display:block;top:0;bottom:0;left:0;right:0;z-index:998;position:fixed}.keyboard{background:var(--rmx-background-keybord);width:var(--rmx-keyboard-width)}.keyboard .keys{width:var(--rmx-keyboard-width)}.keyboard .keys .key{padding:0;color:var(--rmx-color-keybord);background:var(--rmx-background-keybord)}.keyboard .keys .key button{margin:0;height:100%;width:100%;color:var(--rmx-color-keybord);text-transform:none;font-size:var(--rmx-font-size-keybord);font-family:var(--rmx-font-family-keybord)}.keyboard .keys .col-input{border:1px solid var(--ion-color-light)}.keyboard .keys .col-input mat-form-field{padding:0;margin:0;width:100%}.keyboard .keys .col-input mat-form-field input{width:100%;margin:0;padding:5px}.keyboard.edge{z-index:999;position:fixed;bottom:0;left:0;box-shadow:0 -3px 10px 0 rgba(0,0,0,.3);transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.keyboard.edge.show{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.keyboard.auto{display:none;position:absolute;z-index:999}.keyboard.auto.show{display:block}"]}]}],e.ctorParameters=function(){return[{type:t.DomSanitizer},{type:a.ChangeDetectorRef}]},e.propDecorators={inputElement:[{type:a.Input}],showKeyboard:[{type:a.Input}],options:[{type:a.Input}],valueChange:[{type:a.Output}],keyPress:[{type:a.Output}],style:[{type:a.HostBinding,args:["style"]}]},e}(),p=function(){function e(){}return e.decorators=[{type:a.NgModule,args:[{imports:[i.CommonModule,s.MatFormFieldModule,s.MatInputModule,s.MatButtonModule,s.MatIconModule,s.MatGridListModule],declarations:[o,h,n,r],exports:[r]}]}],e}();e.RMXInputDirective=o,e.RMXInputKeyDirective=n,e.RMXInputComponent=r,e.RMXKeyboardComponent=h,e.RMXKeys=l,e.RMXGridConfigs=u,e.RMXInputModule=p,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/platform-browser"),require("@angular/core"),require("@angular/common"),require("@angular/material")):"function"==typeof define&&define.amd?define("restomax-input",["exports","@angular/platform-browser","@angular/core","@angular/common","@angular/material"],t):t(e["restomax-input"]={},e.ng.platformBrowser,e.ng.core,e.ng.common,e.ng.material)}(this,function(e,t,a,i,s){"use strict";var o=function(){function e(e){this.element=e,this.showKeyboard=new a.EventEmitter}return e.prototype.onClick=function(e){this.focusedByClick=!0},e.prototype.onClickUp=function(e){this.showKeyboard.emit({placeholder:this.placeholder,value:this.inputElement.value&&""!==this.inputElement.value?this.inputElement.value:this.defaultValue,show:!0,startPosition:this.inputElement.selectionStart,endPosition:this.inputElement.selectionEnd}),this.focusedByClick=!1},e.prototype.onKeyup=function(e){this.showKeyboard.emit({placeholder:this.placeholder,value:this.inputElement.value&&""!==this.inputElement.value?this.inputElement.value:this.defaultValue,show:!0,startPosition:this.inputElement.selectionStart,endPosition:this.inputElement.selectionEnd})},e.prototype.ngAfterViewInit=function(){var t=this;this.inputElement=this.element.nativeElement,this.inputElement.addEventListener("focus",function(e){setTimeout(function(){t.focusedByClick||t.showKeyboard.emit({placeholder:t.placeholder,value:t.inputElement.value&&""!==t.inputElement.value?t.inputElement.value:t.defaultValue,show:!0,startPosition:t.inputElement.selectionStart,endPosition:t.inputElement.selectionEnd})},200)})},e.decorators=[{type:a.Directive,args:[{selector:"[rmxInput]"}]}],e.ctorParameters=function(){return[{type:a.ElementRef}]},e.propDecorators={keyboardOptions:[{type:a.Input}],placeholder:[{type:a.Input}],defaultValue:[{type:a.Input}],options:[{type:a.Input}],showKeyboard:[{type:a.Output}],onClick:[{type:a.HostListener,args:["mousedown",["$event"]]}],onClickUp:[{type:a.HostListener,args:["mouseup",["$event"]]}],onKeyup:[{type:a.HostListener,args:["keyup",["$event"]]}]},e}(),n=function(){function e(){this.keyPress=new a.EventEmitter,this.timeoutClick=200}return e.prototype.onPressDown=function(e){this.keyPress.emit(this.key),this.startTimerClick()},e.prototype.onPressUp=function(e){this.stopTimerClick()},e.prototype.onTap=function(e){this.keyPress.emit(this.key),this.startTimerClick()},e.prototype.onMouseUp=function(e){this.stopTimerClick()},e.prototype.onMouseOut=function(e){this.stopTimerClick()},e.prototype.startTimerClick=function(){var e=this;this.timerClick||(this.timerClick=setInterval(function(){e.keyPress.emit(e.key)},this.timeoutClick))},e.prototype.stopTimerClick=function(){clearInterval(this.timerClick),this.timerClick=null},e.decorators=[{type:a.Directive,args:[{selector:"[rmxInputKey]"}]}],e.ctorParameters=function(){return[]},e.propDecorators={key:[{type:a.Input}],keyPress:[{type:a.Output}],onPressDown:[{type:a.HostListener,args:["press",["$event"]]}],onPressUp:[{type:a.HostListener,args:["pressup",["$event"]]}],onTap:[{type:a.HostListener,args:["mousedown",["$event"]]}],onMouseUp:[{type:a.HostListener,args:["mouseup",["$event"]]}],onMouseOut:[{type:a.HostListener,args:["mouseout",["$event"]]}]},e}(),r=function(){function e(e,t){this.cd=e,this.sanitizer=t,this._keyboardOptions={type:"edge",keyboardWidth:"100%",keyboardHeight:"auto",keyWidth:"auto",keyHeight:"50px",background:"inherit",color:"var(--ion-color-primary)",fontSize:"default",fontFamily:"default",inputFontSize:"default",inputTextAlign:"default",vibration:!0,cases:"lowcase",defaultValue:"",maxlength:32,enterGoNext:!1},this.keyPress=new a.EventEmitter,this.keyboardShow=new a.EventEmitter,this.validate=new a.EventEmitter}return Object.defineProperty(e.prototype,"keyboardOptions",{get:function(){return this._keyboardOptions},set:function(e){Object.assign(this._keyboardOptions,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"style",{get:function(){return this.sanitizer.bypassSecurityTrustStyle("\n --rmx-font-size-input: "+(this._keyboardOptions.inputFontSize||"--rmx-font-size-input")+";\n --rmx-font-align-input: "+(this._keyboardOptions.inputTextAlign||"--rmx-font-align-input")+";\n --rmx-padding-input: "+(this._keyboardOptions.inputTextPadding||"--rmx-padding-input")+";\n ")},enumerable:!0,configurable:!0}),e.prototype.onShowKeyboard=function(e){this.showKeyboard=e,this.keyboardShow.emit(e),this.cd.detectChanges()},e.prototype.onValueChange=function(e){(this.validate.emit(e),this.keyboardOptions.enterGoNext&&e&&e.inputElement.nativeElement&&e.inputElement.nativeElement.parentNode&&e.inputElement.nativeElement.parentNode.parentNode&&e.inputElement.nativeElement.parentNode.parentNode.parentNode&&e.inputElement.nativeElement.parentNode.parentNode.parentNode.parentNode&&e.inputElement.nativeElement.parentNode.parentNode.parentNode.parentNode.parentNode&&e.inputElement.nativeElement.parentNode.parentNode.parentNode.parentNode.parentNode.nextSibling)&&new a.ElementRef(e.inputElement.nativeElement.parentNode.parentNode.parentNode.parentNode.parentNode.nextSibling.children[0]).nativeElement.getElementsByTagName("input")[0].focus()},e.prototype.onKeyPress=function(e){this.keyPress.emit(e)},e.prototype.ngOnInit=function(){this.showKeyboard={startPosition:0,endPosition:0,value:"",show:!0,placeholder:this.placeholder}},e.decorators=[{type:a.Component,args:[{selector:"rmx-input",template:'<mat-form-field>\r\n <input rmxInput matInput #inputElement\r\n [placeholder]="placeholder"\r\n [id]="id"\r\n [type]="type"\r\n [autocomplete]="autocomplete"\r\n [value]="keyboardOptions.defaultValue"\r\n (showKeyboard)="onShowKeyboard($event)"\r\n >\r\n</mat-form-field>\r\n<rmx-virtual-keyboard \r\n [inputElement]="inputElement" \r\n [options]="keyboardOptions"\r\n [showKeyboard]="showKeyboard"\r\n (valueChange)="onValueChange($event)"\r\n (keyPress)="onKeyPress($event)"></rmx-virtual-keyboard>\r\n',changeDetection:a.ChangeDetectionStrategy.OnPush,styles:[":host{--rmx-font-size-input:1em;--rmx-font-align-input:'left';--rmx-padding-input:5px}mat-form-field{width:100%}mat-form-field input{width:100%;font-size:var(--rmx-font-size-input);line-height:var(--rmx-font-size-input);text-align:var(--rmx-font-align-input);padding:var(--rmx-padding-input)}"]}]}],e.ctorParameters=function(){return[{type:a.ChangeDetectorRef},{type:t.DomSanitizer}]},e.propDecorators={inputElement:[{type:a.ViewChild,args:["inputElement"]}],placeholder:[{type:a.Input}],options:[{type:a.Input}],autocomplete:[{type:a.Input}],type:[{type:a.Input}],id:[{type:a.Input}],keyboardOptions:[{type:a.Input}],keyPress:[{type:a.Output}],keyboardShow:[{type:a.Output}],validate:[{type:a.Output}],style:[{type:a.HostBinding,args:["style"]}]},e}(),l={lowcase:[{size:1,value:"1"},{size:1,value:"2"},{size:1,value:"3"},{size:1,value:"4"},{size:1,value:"5"},{size:1,value:"6"},{size:1,value:"7"},{size:1,value:"8"},{size:1,value:"9"},{size:1,value:"0"},{size:1,value:"a"},{size:1,value:"z"},{size:1,value:"e"},{size:1,value:"r"},{size:1,value:"t"},{size:1,value:"y"},{size:1,value:"u"},{size:1,value:"i"},{size:1,value:"o"},{size:1,value:"p"},{size:1,value:"q"},{size:1,value:"s"},{size:1,value:"d"},{size:1,value:"f"},{size:1,value:"g"},{size:1,value:"h"},{size:1,value:"j"},{size:1,value:"k"},{size:1,value:"l"},{size:1,value:"m"},{size:2,value:"⇧",icon:"keyboard_capslock"},{size:1,value:"w"},{size:1,value:"x"},{size:1,value:"c"},{size:1,value:"v"},{size:1,value:"b"},{size:1,value:"n"},{size:2,value:"<=",icon:"keyboard_backspace"},{size:2,value:"123"},{size:1,value:"/"},{size:4,value:" "},{size:1,value:":"},{size:2,value:"ENTER",icon:"done"}],upcase:[{size:1,value:"1"},{size:1,value:"2"},{size:1,value:"3"},{size:1,value:"4"},{size:1,value:"5"},{size:1,value:"6"},{size:1,value:"7"},{size:1,value:"8"},{size:1,value:"9"},{size:1,value:"0"},{size:1,value:"A"},{size:1,value:"Z"},{size:1,value:"E"},{size:1,value:"R"},{size:1,value:"T"},{size:1,value:"Y"},{size:1,value:"U"},{size:1,value:"I"},{size:1,value:"O"},{size:1,value:"P"},{size:1,value:"Q"},{size:1,value:"S"},{size:1,value:"D"},{size:1,value:"F"},{size:1,value:"G"},{size:1,value:"H"},{size:1,value:"H"},{size:1,value:"J"},{size:1,value:"K"},{size:1,value:"L"},{size:2,value:"⇧",icon:"keyboard_arrow_down"},{size:1,value:"W"},{size:1,value:"X"},{size:1,value:"C"},{size:1,value:"V"},{size:1,value:"B"},{size:1,value:"N"},{size:2,value:"<=",icon:"keyboard_backspace"},{size:2,value:"123"},{size:1,value:"=/<"},{size:4,value:" "},{size:1,value:"."},{size:2,value:"ENTER",icon:"done"}],spacecase:[{size:1,value:"²"},{size:1,value:"³"},{size:1,value:"&"},{size:1,value:"@"},{size:1,value:"#"},{size:1,value:"'"},{size:1,value:"("},{size:1,value:"§"},{size:1,value:"^"},{size:1,value:"!"},{size:1,value:"{"},{size:1,value:"}"},{size:1,value:")"},{size:1,value:"°"},{size:1,value:"-"},{size:1,value:"_"},{size:1,value:"^"},{size:1,value:"["},{size:1,value:"$"},{size:1,value:"*"},{size:1,value:"]"},{size:1,value:"%"},{size:1,value:"µ"},{size:1,value:"£"},{size:1,value:","},{size:1,value:"?"},{size:1,value:";"},{size:1,value:"."},{size:1,value:":"},{size:1,value:"*"},{size:1,value:"/"},{size:1,value:"="},{size:1,value:"+"},{size:1,value:"~"},{size:1,value:"+"},{size:1,value:"\\"},{size:1,value:"<"},{size:1,value:">"},{size:2,value:"<="},{size:2,value:"0-9"},{size:2,value:"ABC"},{size:4,value:" "},{size:2,value:"ENTER",icon:"done"}],numcase:[{size:1,value:"1"},{size:1,value:"2"},{size:1,value:"3"},{size:1,value:"/"},{size:1,value:"4"},{size:1,value:"5"},{size:1,value:"6"},{size:1,value:"*"},{size:1,value:"7"},{size:1,value:"8"},{size:1,value:"9"},{size:1,value:"-"},{size:1,value:"."},{size:1,value:"0"},{size:1,value:"+"},{size:1,value:"="},{size:1,value:"ABC"},{size:1,value:","},{size:1,value:"%"},{size:1,value:"<="}],numpad:[{size:1,value:"1"},{size:1,value:"2"},{size:1,value:"3"},{size:1,value:"A"},{size:1,value:"4"},{size:1,value:"5"},{size:1,value:"6"},{size:1,value:"B"},{size:1,value:"7"},{size:1,value:"8"},{size:1,value:"9"},{size:1,value:"T"},{size:1,value:"ABC"},{size:1,value:"0"},{size:1,value:"CE"},{size:1,value:"ENTER",icon:"done"}],calc:[{size:1,value:"1"},{size:1,value:"2"},{size:1,value:"3"},{size:1,value:"4"},{size:1,value:"5"},{size:1,value:"6"},{size:1,value:"7"},{size:1,value:"8"},{size:1,value:"9"},{size:1,value:"."},{size:1,value:"0"},{size:1,value:"ENTER",icon:"done"}],loginpad:[{size:1,value:"1"},{size:1,value:"2"},{size:1,value:"3"},{size:1,value:"4"},{size:1,value:"5"},{size:1,value:"6"},{size:1,value:"7"},{size:1,value:"8"},{size:1,value:"9"},{size:1,value:"CE"},{size:1,value:"0"},{size:1,value:"ENTER",icon:"done"}]},u={lowcase:{numberCol:10,width:"100%"},upcase:{numberCol:10,width:"100%"},spacecase:{numberCol:10,width:"100%"},numcase:{numberCol:4,width:"100%"},numpad:{numberCol:4,width:"100%"},calc:{numberCol:3,width:"100%"},loginpad:{numberCol:3,width:"100%"}},h=function(){function e(e,t){this.sanitizer=e,this.cd=t,this.visible=!1,this.value="",this.rmxGridConfigs=u,this.rmxKeys=l,this.valueChange=new a.EventEmitter,this.keyPress=new a.EventEmitter}return Object.defineProperty(e.prototype,"style",{get:function(){return this.sanitizer.bypassSecurityTrustStyle("\n --grid-columns: "+u[this.cases||this.options.cases||"lowcase"].numberCol+";\n --rmx-background-keybord: "+(this.options.background||"--rmx-background-keybord")+";\n --rmx-color-keybord: "+(this.options.color||"--rmx-color-keybord")+";\n --rmx-font-keybord: "+(this.options.fontFamily||"--rmx-font-family-keybord")+";\n --rmx-font-size-keybord: "+(this.options.fontSize||"--rmx-font-size-keybord")+";\n --rmx-position-keybord: "+(this.options.type||"--rmx-position-keybord")+";\n --rmx-keyboard-height: "+(this.options.keyboardHeight||"--rmx-keyboard-height")+";\n --rmx-keyboard-width: "+(this.options.keyboardWidth||"--rmx-keyboard-width")+";\n --rmx-key-height: "+(this.options.keyHeight||"--rmx-key-height")+";\n --rmx-key-width: "+(this.options.keyWidth||"--rmx-key-width")+";\n ")},enumerable:!0,configurable:!0}),e.prototype.trackKeys=function(e,t){return e},e.prototype.trackRKeys=function(e,t){return t.value},e.prototype.setPosition=function(e,t){this.showKeyboard.startPosition=e,this.showKeyboard.endPosition=t},e.prototype.onPress=function(e){var t=e.value;switch(t){case"|X|":case"ENTER":this.visible=!1,this.inputElement.value=this.value,this.valueChange.emit({inputElement:new a.ElementRef(this.inputElement),value:this.value});break;case"<=":if(this.showKeyboard.startPosition<this.showKeyboard.endPosition)return this.value=this.value.substr(0,this.showKeyboard.startPosition)+this.value.slice(this.showKeyboard.endPosition),this.setPosition(this.showKeyboard.startPosition,this.showKeyboard.startPosition),this.keyPress.emit(e),void("edge"!==this.options.type&&(this.inputElement.value=this.value));0<this.value.length&&0<this.showKeyboard.startPosition&&(this.value=this.value.substr(0,this.showKeyboard.startPosition-1)+this.value.substr(this.showKeyboard.startPosition,this.value.length-1),this.setPosition(this.showKeyboard.startPosition-1,this.showKeyboard.startPosition-1)),!this.value.length&&this.options.defaultValue.length&&(this.value=this.options.defaultValue,this.setPosition(this.value.length,this.value.length)),this.keyPress.emit(e);break;case"⇧":this.cases="upcase"===this.cases?"lowcase":"upcase";break;case"123":this.cases="numcase";break;case"0-9":this.cases="numpad";break;case"ABC":this.cases="upcase";break;case"=/<":this.cases="spacecase";break;case"C":if("numcase"===this.cases||"numpad"===this.cases||"calc"===this.cases){if(this.showKeyboard.startPosition<this.showKeyboard.endPosition)return void(this.value=this.value.slice(0,this.showKeyboard.startPosition)+this.value.slice(this.showKeyboard.endPosition));0<this.value.length&&(this.value=this.value.substr(0,this.showKeyboard.startPosition-1)+this.value.substr(this.showKeyboard.startPosition,this.value.length-1),this.setPosition(this.showKeyboard.startPosition-1,this.showKeyboard.startPosition-1)),!this.value.length&&this.options.defaultValue.length&&(this.value=this.options.defaultValue,this.setPosition(this.value.length,this.value.length))}else{var i=this.value.length<=this.options.maxlength?t:"";this.value=this.value.substr(0,this.showKeyboard.startPosition-1)+i+this.value.substr(this.showKeyboard.startPosition,this.value.length-1),this.setPosition(this.value.length,this.value.length)}this.keyPress.emit(e);break;case"CE":this.value="",this.keyPress.emit(e);break;case".":if("numcase"===this.cases||"numpad"===this.cases||"calc"===this.cases){i=!this.value.includes(t)&&this.value.length<this.options.maxlength?t:"";this.value=this.value.substr(0,this.showKeyboard.startPosition)+i+this.value.substr(this.showKeyboard.startPosition,this.value.length),this.setPosition(this.showKeyboard.startPosition+1,this.showKeyboard.startPosition+1)}else{i=this.value.length<=this.options.maxlength?t:"";this.value=this.value.substr(0,this.showKeyboard.startPosition)+i+this.value.substr(this.showKeyboard.startPosition,this.value.length),this.setPosition(this.showKeyboard.startPosition+1,this.showKeyboard.startPosition+1)}this.keyPress.emit(e);break;default:if("numcase"===this.cases||"numpad"===this.cases||"calc"===this.cases){var s=/(?:\.([^.]+))?$/.exec(this.value);t=!s[1]||s[1].length<2||this.options.defaultValue===this.value?t:""}this.showKeyboard.startPosition<this.showKeyboard.endPosition&&(this.value=this.value.slice(0,this.showKeyboard.startPosition)+this.value.slice(this.showKeyboard.endPosition),this.setPosition(this.showKeyboard.startPosition,this.showKeyboard.startPosition));var o=this.value.length<=this.options.maxlength?t:"";this.value=this.value.substr(0,this.showKeyboard.startPosition)+o+this.value.substr(this.showKeyboard.startPosition,this.value.length),this.setPosition(this.showKeyboard.startPosition+1,this.showKeyboard.startPosition+1),this.keyPress.emit(e)}"edge"!==this.options.type&&(this.inputElement.value=this.value),this.cd.detectChanges()},e.prototype.hideKeyboard=function(e){e.preventDefault(),e.stopPropagation(),this.visible=!1,this.cd.detectChanges()},e.prototype.ngOnInit=function(){this.value=this.options.defaultValue||"",this.setPosition(this.value.length,this.value.length)},e.prototype.ngOnChanges=function(e){for(var t in e)if(e[t]){var i=e[t];JSON.stringify(i.currentValue);i.isFirstChange()||"showKeyboard"===t&&(this.visible=this.showKeyboard.show,this.setPosition(this.showKeyboard.startPosition,this.showKeyboard.endPosition))}},e.decorators=[{type:a.Component,args:[{selector:"rmx-virtual-keyboard",template:'\r\n\r\n<div id="restomax-keyboard-backdrop" *ngIf="visible && (options?.type === \'edge\' || options?.type === \'auto\')" (click)="hideKeyboard($event)"></div>\r\n<div \r\n class="keyboard" \r\n [class.show]="visible" \r\n [class.edge]="options?.type === \'edge\'"\r\n [class.auto]="options?.type === \'auto\'"\r\n *ngIf="rmxKeys[(cases || options.cases || \'lowcase\')] as Keys">\r\n\r\n <mat-grid-list class="keys" [cols]="rmxGridConfigs[(cases || options.cases || \'lowcase\')]?.numberCol" [rowHeight]="options?.keyHeight">\r\n <mat-grid-tile class="col-input" *ngIf="options?.type === \'edge\'" [colspan]="rmxGridConfigs[(cases || options.cases || \'lowcase\')]?.numberCol">\r\n <mat-form-field>\r\n <input [value]="value" rmxInput matInput>\r\n </mat-form-field>\r\n </mat-grid-tile>\r\n <mat-grid-tile class="key" *ngFor="let key of Keys; trackBy: trackRKeys" [colspan]="key.size">\r\n <button mat-stroked-button *ngIf="key.value !== \'\'" [key]="key" (keyPress)="onPress($event)" rmxInputKey>\r\n <mat-icon *ngIf="key.icon">{{key.icon}}</mat-icon>\r\n {{key.icon ? \'\' : key.value}}\r\n </button>\r\n </mat-grid-tile>\r\n </mat-grid-list>\r\n</div>\r\n',changeDetection:a.ChangeDetectionStrategy.OnPush,styles:[":host{--grid-columns:10;--rmx-background-keybord:var(--ion-color-light);--rmx-color-keybord:var(--ion-color-primary);--rmx-position-keybord:fixed;--rmx-keyboard-height:auto;--rmx-keyboard-width:100%;--rmx-key-height:50px;--rmx-key-width:auto;--rmx-font-family-keybord:default;--rmx-font-size-keybord:1.2em}#restomax-keyboard-backdrop{display:block;top:0;bottom:0;left:0;right:0;z-index:998;position:fixed}.keyboard{background:var(--rmx-background-keybord);width:var(--rmx-keyboard-width)}.keyboard .keys{width:var(--rmx-keyboard-width)}.keyboard .keys .key{padding:0;color:var(--rmx-color-keybord);background:var(--rmx-background-keybord)}.keyboard .keys .key button{margin:0;height:100%;width:100%;color:var(--rmx-color-keybord);text-transform:none;font-size:var(--rmx-font-size-keybord);font-family:var(--rmx-font-family-keybord)}.keyboard .keys .col-input{border:1px solid var(--ion-color-light)}.keyboard .keys .col-input mat-form-field{padding:0;margin:0;width:100%}.keyboard .keys .col-input mat-form-field input{width:100%;margin:0;padding:5px}.keyboard.edge{z-index:999;position:fixed;bottom:0;left:0;box-shadow:0 -3px 10px 0 rgba(0,0,0,.3);transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.keyboard.edge.show{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.keyboard.auto{display:none;position:absolute;z-index:999}.keyboard.auto.show{display:block}"]}]}],e.ctorParameters=function(){return[{type:t.DomSanitizer},{type:a.ChangeDetectorRef}]},e.propDecorators={inputElement:[{type:a.Input}],showKeyboard:[{type:a.Input}],options:[{type:a.Input}],valueChange:[{type:a.Output}],keyPress:[{type:a.Output}],style:[{type:a.HostBinding,args:["style"]}]},e}(),p=function(){function e(){}return e.decorators=[{type:a.NgModule,args:[{imports:[i.CommonModule,s.MatFormFieldModule,s.MatInputModule,s.MatButtonModule,s.MatIconModule,s.MatGridListModule],declarations:[o,h,n,r],exports:[r]}]}],e}();e.RMXInputDirective=o,e.RMXInputKeyDirective=n,e.RMXInputComponent=r,e.RMXKeyboardComponent=h,e.RMXKeys=l,e.RMXGridConfigs=u,e.RMXInputModule=p,Object.defineProperty(e,"__esModule",{value:!0})}); | ||
//# sourceMappingURL=restomax-input.umd.min.js.map |
@@ -55,5 +55,5 @@ /** | ||
return this.sanitizer.bypassSecurityTrustStyle(` | ||
--rmx-font-size-input: ${(this.options.inputFontSize || '--rmx-font-size-input')}; | ||
--rmx-font-align-input: ${(this.options.inputTextAlign || '--rmx-font-align-input')}; | ||
--rmx-padding-input: ${(this.options.inputTextPadding || '--rmx-padding-input')}; | ||
--rmx-font-size-input: ${(this._keyboardOptions.inputFontSize || '--rmx-font-size-input')}; | ||
--rmx-font-align-input: ${(this._keyboardOptions.inputTextAlign || '--rmx-font-align-input')}; | ||
--rmx-padding-input: ${(this._keyboardOptions.inputTextPadding || '--rmx-padding-input')}; | ||
`); | ||
@@ -174,2 +174,2 @@ } | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdG9tYXgtaW5wdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vcmVzdG9tYXgtaW5wdXQvIiwic291cmNlcyI6WyJsaWIvcmVzdG9tYXgtaW5wdXQtY29tcG9uZW50L3Jlc3RvbWF4LWlucHV0LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUNMLFNBQVMsRUFDVCx1QkFBdUIsRUFDdkIsS0FBSyxFQUNMLFNBQVMsRUFDVCxpQkFBaUIsRUFDakIsTUFBTSxFQUNOLFlBQVksRUFDWixVQUFVLEVBRVYsV0FBVyxFQUNaLE1BQU0sZUFBZSxDQUFDO0FBUXZCLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQVF6RCxNQUFNLE9BQU8saUJBQWlCOzs7OztJQXFENUIsWUFDVSxFQUFxQixFQUNyQixTQUF3QjtRQUR4QixPQUFFLEdBQUYsRUFBRSxDQUFtQjtRQUNyQixjQUFTLEdBQVQsU0FBUyxDQUFlO1FBcEQxQixxQkFBZ0IsR0FBd0I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kZVxyXG4gICAgICB8fCAhZXYuaW5wdXRFbGVtZW50Lm5hdGl2ZUVsZW1lbnQucGFyZW50Tm9kZS5wYXJlbnROb2RlLnBhcmVudE5vZGUucGFyZW50Tm9kZS5wYXJlbnROb2RlXHJcbiAgICAgIHx8ICFldi5pbnB1dEVsZW1lbnQubmF0aXZlRWxlbWVudC5wYXJlbnROb2RlLnBhcmVudE5vZGUucGFyZW50Tm9kZS5wYXJlbnROb2RlLnBhcmVudE5vZGUubmV4dFNpYmxpbmcpIHtcclxuICAgICAgcmV0dXJuO1xyXG4gICAgfVxyXG5cclxuICAgIGNvbnN0IG5leHQgID0gbmV3IEVsZW1lbnRSZWYoXHJcbiAgICAgIGV2LmlucHV0RWxlbWVudC5uYXRpdmVFbGVtZW50LnBhcmVudE5vZGUucGFyZW50Tm9kZS5wYXJlbnROb2RlLnBhcmVudE5vZGUucGFyZW50Tm9kZS5uZXh0U2libGluZy5jaGlsZHJlblswXVxyXG4gICAgKTtcclxuICAgIG5leHQubmF0aXZlRWxlbWVudC5nZXRFbGVtZW50c0J5VGFnTmFtZSgnaW5wdXQnKVswXS5mb2N1cygpO1xyXG4gIH1cclxuXHJcbiAgcHVibGljIG9uS2V5UHJlc3Moa2V5OiBJUk1YS2V5KSB7XHJcbiAgICB0aGlzLmtleVByZXNzLmVtaXQoa2V5KTtcclxuICB9XHJcblxyXG4gIG5nT25Jbml0KCk6IHZvaWQge1xyXG4gICAgdGhpcy5zaG93S2V5Ym9hcmQgPSB7XHJcbiAgICAgIHN0YXJ0UG9zaXRpb246IDAsXHJcbiAgICAgIGVuZFBvc2l0aW9uOiAwLFxyXG4gICAgICB2YWx1ZTogJycsXHJcbiAgICAgIHNob3c6IHRydWUsXHJcbiAgICAgIHBsYWNlaG9sZGVyOiB0aGlzLnBsYWNlaG9sZGVyXHJcbiAgICB9O1xyXG4gIH1cclxufVxyXG4iXX0= |
@@ -55,3 +55,3 @@ /** | ||
function () { | ||
return this.sanitizer.bypassSecurityTrustStyle("\n --rmx-font-size-input: " + (this.options.inputFontSize || '--rmx-font-size-input') + ";\n --rmx-font-align-input: " + (this.options.inputTextAlign || '--rmx-font-align-input') + ";\n --rmx-padding-input: " + (this.options.inputTextPadding || '--rmx-padding-input') + ";\n "); | ||
return this.sanitizer.bypassSecurityTrustStyle("\n --rmx-font-size-input: " + (this._keyboardOptions.inputFontSize || '--rmx-font-size-input') + ";\n --rmx-font-align-input: " + (this._keyboardOptions.inputTextAlign || '--rmx-font-align-input') + ";\n --rmx-padding-input: " + (this._keyboardOptions.inputTextPadding || '--rmx-padding-input') + ";\n "); | ||
}, | ||
@@ -191,2 +191,2 @@ enumerable: true, | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdG9tYXgtaW5wdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vcmVzdG9tYXgtaW5wdXQvIiwic291cmNlcyI6WyJsaWIvcmVzdG9tYXgtaW5wdXQtY29tcG9uZW50L3Jlc3RvbWF4LWlucHV0LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUNMLFNBQVMsRUFDVCx1QkFBdUIsRUFDdkIsS0FBSyxFQUNMLFNBQVMsRUFDVCxpQkFBaUIsRUFDakIsTUFBTSxFQUNOLFlBQVksRUFDWixVQUFVLEVBRVYsV0FBVyxFQUNaLE1BQU0sZUFBZSxDQUFDO0FBUXZCLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQztBQUV6RDtJQTJERSwyQkFDVSxFQUFxQixFQUNyQixTQUF3QjtRQUR4QixPQUFFLEdBQUYsRUFBRSxDQUFtQjtRQUNyQixjQUFTLEdBQVQsU0FBUyxDQUFlO1FBcEQxQixxQkFBZ0IsR0FBd0I7WUFDOUMsSUFBSSxFQUFFLE1BQU07WUFDWixhQUFhLEVBQUUsTUFBTTtZQUNyQ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9zaXRpb246IDAsXHJcbiAgICAgIGVuZFBvc2l0aW9uOiAwLFxyXG4gICAgICB2YWx1ZTogJycsXHJcbiAgICAgIHNob3c6IHRydWUsXHJcbiAgICAgIHBsYWNlaG9sZGVyOiB0aGlzLnBsYWNlaG9sZGVyXHJcbiAgICB9O1xyXG4gIH1cclxufVxyXG4iXX0= |
@@ -238,5 +238,5 @@ import { DomSanitizer } from '@angular/platform-browser'; | ||
return this.sanitizer.bypassSecurityTrustStyle(` | ||
--rmx-font-size-input: ${(this.options.inputFontSize || '--rmx-font-size-input')}; | ||
--rmx-font-align-input: ${(this.options.inputTextAlign || '--rmx-font-align-input')}; | ||
--rmx-padding-input: ${(this.options.inputTextPadding || '--rmx-padding-input')}; | ||
--rmx-font-size-input: ${(this._keyboardOptions.inputFontSize || '--rmx-font-size-input')}; | ||
--rmx-font-align-input: ${(this._keyboardOptions.inputTextAlign || '--rmx-font-align-input')}; | ||
--rmx-padding-input: ${(this._keyboardOptions.inputTextPadding || '--rmx-padding-input')}; | ||
`); | ||
@@ -243,0 +243,0 @@ } |
@@ -282,3 +282,3 @@ import { DomSanitizer } from '@angular/platform-browser'; | ||
function () { | ||
return this.sanitizer.bypassSecurityTrustStyle("\n --rmx-font-size-input: " + (this.options.inputFontSize || '--rmx-font-size-input') + ";\n --rmx-font-align-input: " + (this.options.inputTextAlign || '--rmx-font-align-input') + ";\n --rmx-padding-input: " + (this.options.inputTextPadding || '--rmx-padding-input') + ";\n "); | ||
return this.sanitizer.bypassSecurityTrustStyle("\n --rmx-font-size-input: " + (this._keyboardOptions.inputFontSize || '--rmx-font-size-input') + ";\n --rmx-font-align-input: " + (this._keyboardOptions.inputTextAlign || '--rmx-font-align-input') + ";\n --rmx-padding-input: " + (this._keyboardOptions.inputTextPadding || '--rmx-padding-input') + ";\n "); | ||
}, | ||
@@ -285,0 +285,0 @@ enumerable: true, |
{ | ||
"name": "restomax-input", | ||
"version": "0.0.14", | ||
"version": "0.0.15", | ||
"peerDependencies": { | ||
@@ -5,0 +5,0 @@ "@angular/common": "^7.0.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
594732