Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lucasheight/angular-controls

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lucasheight/angular-controls - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

20

bundles/lucasheight-angular-controls.umd.js

@@ -16,5 +16,6 @@ (function (global, factory) {

this.showInput = false;
this.disabled = false;
this._disabled = false;
this._factor = 1;
this._width = undefined;
this.placeholder = "";
//@HostBinding("style.width") hostWidth = undefined;

@@ -57,2 +58,13 @@ this.tabindex = 0;

});
Object.defineProperty(NumberInputComponent.prototype, "disabled", {
set: /**
* @param {?} val
* @return {?}
*/
function (val) {
this._disabled = val;
},
enumerable: true,
configurable: true
});
Object.defineProperty(NumberInputComponent.prototype, "width", {

@@ -211,3 +223,3 @@ set: /**

function (isDisabled) {
this.disabled = isDisabled;
this._disabled = isDisabled;
};

@@ -217,3 +229,3 @@ NumberInputComponent.decorators = [

selector: 'lh-numberInput',
template: "<span class=\"lh-wrapper\">\n <input #inputCtr [disabled]=\"disabled\" class=\"lh-input\" [type]=\"showInput?'number':'hidden'\" [tabindex]=\"tabindex\" />\n <input #displayCtr [disabled]=\"disabled\" class=\"lh-display\" [type]=\"showInput?'hidden':'text'\" [tabindex]=\"tabindex\" /> \n</span>\n",
template: "<span class=\"lh-wrapper\">\n <input #inputCtr [disabled]=\"_disabled\" class=\"lh-input\" [type]=\"showInput?'number':'hidden'\" [tabindex]=\"tabindex\" />\n <input #displayCtr [disabled]=\"_disabled\" [placeholder]=\"placeholder\" class=\"lh-display\" [type]=\"showInput?'hidden':'text'\" [tabindex]=\"tabindex\" /> \n</span>\n",
providers: [

@@ -235,4 +247,6 @@ { provide: forms.NG_VALUE_ACCESSOR, useExisting: core.forwardRef((/**

NumberInputComponent.propDecorators = {
placeholder: [{ type: core.Input }],
tabindex: [{ type: core.Input }],
factor: [{ type: core.Input }],
disabled: [{ type: core.Input }],
prefix: [{ type: core.Input }],

@@ -239,0 +253,0 @@ postfix: [{ type: core.Input }],

2

bundles/lucasheight-angular-controls.umd.min.js

@@ -1,2 +0,2 @@

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/forms"),require("rxjs"),require("rxjs/operators")):"function"==typeof define&&define.amd?define("@lucasheight/angular-controls",["exports","@angular/core","@angular/forms","rxjs","rxjs/operators"],e):e(((t=t||self).lucasheight=t.lucasheight||{},t.lucasheight["angular-controls"]={}),t.ng.core,t.ng.forms,t.rxjs,t.rxjs.operators)}(this,function(t,e,i,n,r){"use strict";var o=function(){function t(){var t=this;this.numberReg=/\d+/g,this.showInput=!1,this.disabled=!1,this._factor=1,this._width=undefined,this.tabindex=0,this.prefix="",this.postfix="",this.valueOutput=new e.EventEmitter,this.blurOutput=new e.EventEmitter,this.focusOutput=new e.EventEmitter,this.destroy$=new n.Subject,this.onChanged=function(t){},this.onTouched=function(t){},this.formatDisplay=function(e){return e?""+t.prefix+e.toString()+t.postfix:"Null"}}return Object.defineProperty(t.prototype,"factor",{set:function(t){this._factor=Math.round(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"width",{set:function(t){parseFloat(t.toString())?this._width=t+"px":this._width=t.toString()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{set:function(t){this._input&&(this._input.nativeElement.value=t*this._factor),this._display&&(this._display.nativeElement.value=this.formatDisplay(t*this._factor))},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){},t.prototype.ngAfterViewInit=function(){var t=this;n.fromEvent(this._display.nativeElement,"focus").pipe(r.takeUntil(this.destroy$)).subscribe(function(e){t.showInput=!0,setTimeout(function(){t._input.nativeElement.focus(),t.onTouched(e),t.focusOutput.emit(e)})}),n.fromEvent(this._input.nativeElement,"input").pipe(r.takeUntil(this.destroy$),r.debounceTime(100),r.distinctUntilChanged()).subscribe(function(e){var i=parseFloat(t._input.nativeElement.value)/t._factor;t._display.nativeElement.value=t.formatDisplay(parseFloat(t._input.nativeElement.value)||null),t.valueOutput.emit(i||null),t.onChanged(i||null)}),n.fromEvent(this._input.nativeElement,"blur").pipe(r.takeUntil(this.destroy$)).subscribe(function(e){t.showInput=!1,t.blurOutput.emit(e)})},t.prototype.ngOnDestroy=function(){this.destroy$.next()},t.prototype.writeValue=function(t){if(t){if("number"==typeof t);else if("string"!=typeof t)throw"Unable to cast input to number";this._input&&(this._input.nativeElement.value=t*this._factor),this._display&&(this._display.nativeElement.value=this.formatDisplay(t*this._factor))}},t.prototype.registerOnChange=function(t){this.onChanged=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this.disabled=t},t.decorators=[{type:e.Component,args:[{selector:"lh-numberInput",template:'<span class="lh-wrapper">\n <input #inputCtr [disabled]="disabled" class="lh-input" [type]="showInput?\'number\':\'hidden\'" [tabindex]="tabindex" />\n <input #displayCtr [disabled]="disabled" class="lh-display" [type]="showInput?\'hidden\':\'text\'" [tabindex]="tabindex" /> \n</span>\n',providers:[{provide:i.NG_VALUE_ACCESSOR,useExisting:e.forwardRef(function(){return t}),multi:!0}],host:{"[style.width]":"_width"},styles:[":host{padding:0 7px 0 1px;display:block}.lh-wrapper{padding:2px;display:inline-block;width:100%}input{width:100%;display:inline-block;padding:.375em;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;border-radius:.25rem;border:1px solid rgba(33,37,41,.15)}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:none}"]}]}],t.ctorParameters=function(){return[]},t.propDecorators={tabindex:[{type:e.Input}],factor:[{type:e.Input}],prefix:[{type:e.Input}],postfix:[{type:e.Input}],width:[{type:e.Input}],value:[{type:e.Input,args:["value"]}],valueOutput:[{type:e.Output,args:["valueChange"]}],blurOutput:[{type:e.Output,args:["blur"]}],focusOutput:[{type:e.Output,args:["focus"]}],_input:[{type:e.ViewChild,args:["inputCtr",{"static":!0}]}],_display:[{type:e.ViewChild,args:["displayCtr",{"static":!0}]}]},t}(),s=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:[o],imports:[],exports:[o]}]}],t}();t.LhControlsModule=s,t.NumberInputComponent=o,Object.defineProperty(t,"__esModule",{value:!0})});
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/forms"),require("rxjs"),require("rxjs/operators")):"function"==typeof define&&define.amd?define("@lucasheight/angular-controls",["exports","@angular/core","@angular/forms","rxjs","rxjs/operators"],e):e(((t=t||self).lucasheight=t.lucasheight||{},t.lucasheight["angular-controls"]={}),t.ng.core,t.ng.forms,t.rxjs,t.rxjs.operators)}(this,function(t,e,i,n,r){"use strict";var o=function(){function t(){var t=this;this.numberReg=/\d+/g,this.showInput=!1,this._disabled=!1,this._factor=1,this._width=undefined,this.placeholder="",this.tabindex=0,this.prefix="",this.postfix="",this.valueOutput=new e.EventEmitter,this.blurOutput=new e.EventEmitter,this.focusOutput=new e.EventEmitter,this.destroy$=new n.Subject,this.onChanged=function(t){},this.onTouched=function(t){},this.formatDisplay=function(e){return e?""+t.prefix+e.toString()+t.postfix:"Null"}}return Object.defineProperty(t.prototype,"factor",{set:function(t){this._factor=Math.round(t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{set:function(t){this._disabled=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"width",{set:function(t){parseFloat(t.toString())?this._width=t+"px":this._width=t.toString()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value",{set:function(t){this._input&&(this._input.nativeElement.value=t*this._factor),this._display&&(this._display.nativeElement.value=this.formatDisplay(t*this._factor))},enumerable:!0,configurable:!0}),t.prototype.ngOnInit=function(){},t.prototype.ngAfterViewInit=function(){var t=this;n.fromEvent(this._display.nativeElement,"focus").pipe(r.takeUntil(this.destroy$)).subscribe(function(e){t.showInput=!0,setTimeout(function(){t._input.nativeElement.focus(),t.onTouched(e),t.focusOutput.emit(e)})}),n.fromEvent(this._input.nativeElement,"input").pipe(r.takeUntil(this.destroy$),r.debounceTime(100),r.distinctUntilChanged()).subscribe(function(e){var i=parseFloat(t._input.nativeElement.value)/t._factor;t._display.nativeElement.value=t.formatDisplay(parseFloat(t._input.nativeElement.value)||null),t.valueOutput.emit(i||null),t.onChanged(i||null)}),n.fromEvent(this._input.nativeElement,"blur").pipe(r.takeUntil(this.destroy$)).subscribe(function(e){t.showInput=!1,t.blurOutput.emit(e)})},t.prototype.ngOnDestroy=function(){this.destroy$.next()},t.prototype.writeValue=function(t){if(t){if("number"==typeof t);else if("string"!=typeof t)throw"Unable to cast input to number";this._input&&(this._input.nativeElement.value=t*this._factor),this._display&&(this._display.nativeElement.value=this.formatDisplay(t*this._factor))}},t.prototype.registerOnChange=function(t){this.onChanged=t},t.prototype.registerOnTouched=function(t){this.onTouched=t},t.prototype.setDisabledState=function(t){this._disabled=t},t.decorators=[{type:e.Component,args:[{selector:"lh-numberInput",template:'<span class="lh-wrapper">\n <input #inputCtr [disabled]="_disabled" class="lh-input" [type]="showInput?\'number\':\'hidden\'" [tabindex]="tabindex" />\n <input #displayCtr [disabled]="_disabled" [placeholder]="placeholder" class="lh-display" [type]="showInput?\'hidden\':\'text\'" [tabindex]="tabindex" /> \n</span>\n',providers:[{provide:i.NG_VALUE_ACCESSOR,useExisting:e.forwardRef(function(){return t}),multi:!0}],host:{"[style.width]":"_width"},styles:[":host{padding:0 7px 0 1px;display:block}.lh-wrapper{padding:2px;display:inline-block;width:100%}input{width:100%;display:inline-block;padding:.375em;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;border-radius:.25rem;border:1px solid rgba(33,37,41,.15)}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:none}"]}]}],t.ctorParameters=function(){return[]},t.propDecorators={placeholder:[{type:e.Input}],tabindex:[{type:e.Input}],factor:[{type:e.Input}],disabled:[{type:e.Input}],prefix:[{type:e.Input}],postfix:[{type:e.Input}],width:[{type:e.Input}],value:[{type:e.Input,args:["value"]}],valueOutput:[{type:e.Output,args:["valueChange"]}],blurOutput:[{type:e.Output,args:["blur"]}],focusOutput:[{type:e.Output,args:["focus"]}],_input:[{type:e.ViewChild,args:["inputCtr",{"static":!0}]}],_display:[{type:e.ViewChild,args:["displayCtr",{"static":!0}]}]},t}(),s=function(){function t(){}return t.decorators=[{type:e.NgModule,args:[{declarations:[o],imports:[],exports:[o]}]}],t}();t.LhControlsModule=s,t.NumberInputComponent=o,Object.defineProperty(t,"__esModule",{value:!0})});
//# sourceMappingURL=lucasheight-angular-controls.umd.min.js.map

@@ -13,5 +13,6 @@ /**

this.showInput = false;
this.disabled = false;
this._disabled = false;
this._factor = 1;
this._width = undefined;
this.placeholder = "";
//@HostBinding("style.width") hostWidth = undefined;

@@ -55,2 +56,9 @@ this.tabindex = 0;

*/
set disabled(val) {
this._disabled = val;
}
/**
* @param {?} val
* @return {?}
*/
set width(val) {

@@ -179,3 +187,3 @@ if (parseFloat(val.toString())) {

setDisabledState(isDisabled) {
this.disabled = isDisabled;
this._disabled = isDisabled;
}

@@ -186,3 +194,3 @@ }

selector: 'lh-numberInput',
template: "<span class=\"lh-wrapper\">\n <input #inputCtr [disabled]=\"disabled\" class=\"lh-input\" [type]=\"showInput?'number':'hidden'\" [tabindex]=\"tabindex\" />\n <input #displayCtr [disabled]=\"disabled\" class=\"lh-display\" [type]=\"showInput?'hidden':'text'\" [tabindex]=\"tabindex\" /> \n</span>\n",
template: "<span class=\"lh-wrapper\">\n <input #inputCtr [disabled]=\"_disabled\" class=\"lh-input\" [type]=\"showInput?'number':'hidden'\" [tabindex]=\"tabindex\" />\n <input #displayCtr [disabled]=\"_disabled\" [placeholder]=\"placeholder\" class=\"lh-display\" [type]=\"showInput?'hidden':'text'\" [tabindex]=\"tabindex\" /> \n</span>\n",
providers: [

@@ -204,4 +212,6 @@ { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef((/**

NumberInputComponent.propDecorators = {
placeholder: [{ type: Input }],
tabindex: [{ type: Input }],
factor: [{ type: Input }],
disabled: [{ type: Input }],
prefix: [{ type: Input }],

@@ -226,3 +236,3 @@ postfix: [{ type: Input }],

/** @type {?} */
NumberInputComponent.prototype.disabled;
NumberInputComponent.prototype._disabled;
/** @type {?} */

@@ -233,2 +243,4 @@ NumberInputComponent.prototype._factor;

/** @type {?} */
NumberInputComponent.prototype.placeholder;
/** @type {?} */
NumberInputComponent.prototype.tabindex;

@@ -267,2 +279,2 @@ /** @type {?} */

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnVtYmVyLWlucHV0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BsdWNhc2hlaWdodC9hbmd1bGFyLWNvbnRyb2xzLyIsInNvdXJjZXMiOlsibGliL251bWJlci1pbnB1dC9udW1iZXItaW5wdXQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLEtBQUssRUFBZ0IsU0FBUyxFQUE0QixVQUFVLEVBQUUsVUFBVSxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQWUsTUFBTSxlQUFlLENBQUM7QUFDdkssT0FBTyxFQUF3QixpQkFBaUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3pFLE9BQU8sRUFBRSxTQUFTLEVBQUUsT0FBTyxFQUFRLE1BQU0sTUFBTSxDQUFDO0FBQ2hELE9BQU8sRUFBRSxTQUFTLEVBQVEsb0JBQW9CLEVBQUUsWUFBWSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFnQnJGLE1BQU0sT0FBTyxvQkFBb0I7SUFxQy9CO1FBcENRLGNBQVMsR0FBRyxNQUFNLENBQUM7UUFDM0IsY0FBUyxHQUFZLEtBQUssQ0FBQztRQUMzQixhQUFRL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7XG4gICAgdGhpcy5vblRvdWNoZWQgPSBmbjtcbiAgfVxuICBzZXREaXNhYmxlZFN0YXRlPyhpc0Rpc2FibGVkOiBib29sZWFuKTogdm9pZCB7XG4gICAgdGhpcy5fZGlzYWJsZWQgPSBpc0Rpc2FibGVkO1xuICB9XG4gIHByaXZhdGUgZm9ybWF0RGlzcGxheSA9ICh2YWw6IHN0cmluZyB8IG51bWJlcik6IHN0cmluZyA9PiB7XG4gICAgcmV0dXJuIHZhbCA/IGAke3RoaXMucHJlZml4fSR7dmFsLnRvU3RyaW5nKCl9JHt0aGlzLnBvc3RmaXh9YCA6IFwiTnVsbFwiO1xuICB9XG59XG4iXX0=

@@ -14,5 +14,6 @@ /**

this.showInput = false;
this.disabled = false;
this._disabled = false;
this._factor = 1;
this._width = undefined;
this.placeholder = "";
//@HostBinding("style.width") hostWidth = undefined;

@@ -56,2 +57,13 @@ this.tabindex = 0;

;
Object.defineProperty(NumberInputComponent.prototype, "disabled", {
set: /**
* @param {?} val
* @return {?}
*/
function (val) {
this._disabled = val;
},
enumerable: true,
configurable: true
});
Object.defineProperty(NumberInputComponent.prototype, "width", {

@@ -218,3 +230,3 @@ set: /**

function (isDisabled) {
this.disabled = isDisabled;
this._disabled = isDisabled;
};

@@ -224,3 +236,3 @@ NumberInputComponent.decorators = [

selector: 'lh-numberInput',
template: "<span class=\"lh-wrapper\">\n <input #inputCtr [disabled]=\"disabled\" class=\"lh-input\" [type]=\"showInput?'number':'hidden'\" [tabindex]=\"tabindex\" />\n <input #displayCtr [disabled]=\"disabled\" class=\"lh-display\" [type]=\"showInput?'hidden':'text'\" [tabindex]=\"tabindex\" /> \n</span>\n",
template: "<span class=\"lh-wrapper\">\n <input #inputCtr [disabled]=\"_disabled\" class=\"lh-input\" [type]=\"showInput?'number':'hidden'\" [tabindex]=\"tabindex\" />\n <input #displayCtr [disabled]=\"_disabled\" [placeholder]=\"placeholder\" class=\"lh-display\" [type]=\"showInput?'hidden':'text'\" [tabindex]=\"tabindex\" /> \n</span>\n",
providers: [

@@ -242,4 +254,6 @@ { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef((/**

NumberInputComponent.propDecorators = {
placeholder: [{ type: Input }],
tabindex: [{ type: Input }],
factor: [{ type: Input }],
disabled: [{ type: Input }],
prefix: [{ type: Input }],

@@ -267,3 +281,3 @@ postfix: [{ type: Input }],

/** @type {?} */
NumberInputComponent.prototype.disabled;
NumberInputComponent.prototype._disabled;
/** @type {?} */

@@ -274,2 +288,4 @@ NumberInputComponent.prototype._factor;

/** @type {?} */
NumberInputComponent.prototype.placeholder;
/** @type {?} */
NumberInputComponent.prototype.tabindex;

@@ -308,2 +324,2 @@ /** @type {?} */

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnVtYmVyLWlucHV0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BsdWNhc2hlaWdodC9hbmd1bGFyLWNvbnRyb2xzLyIsInNvdXJjZXMiOlsibGliL251bWJlci1pbnB1dC9udW1iZXItaW5wdXQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLEtBQUssRUFBZ0IsU0FBUyxFQUE0QixVQUFVLEVBQUUsVUFBVSxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQWUsTUFBTSxlQUFlLENBQUM7QUFDdkssT0FBTyxFQUF3QixpQkFBaUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3pFLE9BQU8sRUFBRSxTQUFTLEVBQUUsT0FBTyxFQUFRLE1BQU0sTUFBTSxDQUFDO0FBQ2hELE9BQU8sRUFBRSxTQUFTLEVBQVEsb0JBQW9CLEVBQUUsWUFBWSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFJckY7SUFpREU7UUFBQSxpQkFBaUI7UUFwQ1QsY0FBUyxHQUFHLE1BQU0sQ0FBQztRQ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B0byBjYXN0IGlucHV0IHRvIG51bWJlclwiIH1cblxuICAgICAgaWYgKHRoaXMuX2lucHV0KSB7XG4gICAgICAgIHRoaXMuX2lucHV0Lm5hdGl2ZUVsZW1lbnQudmFsdWUgPSAob2JqIGFzIG51bWJlcikgKiB0aGlzLl9mYWN0b3I7XG4gICAgICB9XG4gICAgICBpZiAodGhpcy5fZGlzcGxheSkge1xuICAgICAgICB0aGlzLl9kaXNwbGF5Lm5hdGl2ZUVsZW1lbnQudmFsdWUgPSB0aGlzLmZvcm1hdERpc3BsYXkoKG9iaiBhcyBudW1iZXIpICogdGhpcy5fZmFjdG9yKTtcbiAgICAgIH1cblxuXG4gICAgfVxuICB9XG4gIHJlZ2lzdGVyT25DaGFuZ2UoZm46IGFueSk6IHZvaWQge1xuICAgIHRoaXMub25DaGFuZ2VkID0gZm47XG4gIH1cbiAgcmVnaXN0ZXJPblRvdWNoZWQoZm46IGFueSk6IHZvaWQge1xuICAgIHRoaXMub25Ub3VjaGVkPWZuO1xuICB9XG4gIHNldERpc2FibGVkU3RhdGU/KGlzRGlzYWJsZWQ6IGJvb2xlYW4pOiB2b2lkIHtcbiAgICB0aGlzLmRpc2FibGVkID0gaXNEaXNhYmxlZDtcbiAgfVxuICBwcml2YXRlIGZvcm1hdERpc3BsYXkgPSAodmFsOiBzdHJpbmcgfCBudW1iZXIpOiBzdHJpbmcgPT4ge1xuICAgIHJldHVybiB2YWwgPyBgJHt0aGlzLnByZWZpeH0ke3ZhbC50b1N0cmluZygpfSR7dGhpcy5wb3N0Zml4fWAgOiBcIk51bGxcIjtcbiAgfVxufVxuIl19
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnVtYmVyLWlucHV0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BsdWNhc2hlaWdodC9hbmd1bGFyLWNvbnRyb2xzLyIsInNvdXJjZXMiOlsibGliL251bWJlci1pbnB1dC9udW1iZXItaW5wdXQ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biAgICAgIH1cbiAgICAgIGlmICh0aGlzLl9kaXNwbGF5KSB7XG4gICAgICAgIHRoaXMuX2Rpc3BsYXkubmF0aXZlRWxlbWVudC52YWx1ZSA9IHRoaXMuZm9ybWF0RGlzcGxheSgob2JqIGFzIG51bWJlcikgKiB0aGlzLl9mYWN0b3IpO1xuICAgICAgfVxuXG5cbiAgICB9XG4gIH1cbiAgcmVnaXN0ZXJPbkNoYW5nZShmbjogYW55KTogdm9pZCB7XG4gICAgdGhpcy5vbkNoYW5nZWQgPSBmbjtcbiAgfVxuICByZWdpc3Rlck9uVG91Y2hlZChmbjogYW55KTogdm9pZCB7XG4gICAgdGhpcy5vblRvdWNoZWQgPSBmbjtcbiAgfVxuICBzZXREaXNhYmxlZFN0YXRlPyhpc0Rpc2FibGVkOiBib29sZWFuKTogdm9pZCB7XG4gICAgdGhpcy5fZGlzYWJsZWQgPSBpc0Rpc2FibGVkO1xuICB9XG4gIHByaXZhdGUgZm9ybWF0RGlzcGxheSA9ICh2YWw6IHN0cmluZyB8IG51bWJlcik6IHN0cmluZyA9PiB7XG4gICAgcmV0dXJuIHZhbCA/IGAke3RoaXMucHJlZml4fSR7dmFsLnRvU3RyaW5nKCl9JHt0aGlzLnBvc3RmaXh9YCA6IFwiTnVsbFwiO1xuICB9XG59XG4iXX0=

@@ -14,5 +14,6 @@ import { EventEmitter, Component, forwardRef, Input, Output, ViewChild, NgModule } from '@angular/core';

this.showInput = false;
this.disabled = false;
this._disabled = false;
this._factor = 1;
this._width = undefined;
this.placeholder = "";
//@HostBinding("style.width") hostWidth = undefined;

@@ -56,2 +57,9 @@ this.tabindex = 0;

*/
set disabled(val) {
this._disabled = val;
}
/**
* @param {?} val
* @return {?}
*/
set width(val) {

@@ -174,3 +182,3 @@ if (parseFloat(val.toString())) {

setDisabledState(isDisabled) {
this.disabled = isDisabled;
this._disabled = isDisabled;
}

@@ -181,3 +189,3 @@ }

selector: 'lh-numberInput',
template: "<span class=\"lh-wrapper\">\n <input #inputCtr [disabled]=\"disabled\" class=\"lh-input\" [type]=\"showInput?'number':'hidden'\" [tabindex]=\"tabindex\" />\n <input #displayCtr [disabled]=\"disabled\" class=\"lh-display\" [type]=\"showInput?'hidden':'text'\" [tabindex]=\"tabindex\" /> \n</span>\n",
template: "<span class=\"lh-wrapper\">\n <input #inputCtr [disabled]=\"_disabled\" class=\"lh-input\" [type]=\"showInput?'number':'hidden'\" [tabindex]=\"tabindex\" />\n <input #displayCtr [disabled]=\"_disabled\" [placeholder]=\"placeholder\" class=\"lh-display\" [type]=\"showInput?'hidden':'text'\" [tabindex]=\"tabindex\" /> \n</span>\n",
providers: [

@@ -199,4 +207,6 @@ { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef((/**

NumberInputComponent.propDecorators = {
placeholder: [{ type: Input }],
tabindex: [{ type: Input }],
factor: [{ type: Input }],
disabled: [{ type: Input }],
prefix: [{ type: Input }],

@@ -203,0 +213,0 @@ postfix: [{ type: Input }],

@@ -15,5 +15,6 @@ import { Component, forwardRef, Input, Output, ViewChild, EventEmitter, NgModule } from '@angular/core';

this.showInput = false;
this.disabled = false;
this._disabled = false;
this._factor = 1;
this._width = undefined;
this.placeholder = "";
//@HostBinding("style.width") hostWidth = undefined;

@@ -56,2 +57,13 @@ this.tabindex = 0;

});
Object.defineProperty(NumberInputComponent.prototype, "disabled", {
set: /**
* @param {?} val
* @return {?}
*/
function (val) {
this._disabled = val;
},
enumerable: true,
configurable: true
});
Object.defineProperty(NumberInputComponent.prototype, "width", {

@@ -210,3 +222,3 @@ set: /**

function (isDisabled) {
this.disabled = isDisabled;
this._disabled = isDisabled;
};

@@ -216,3 +228,3 @@ NumberInputComponent.decorators = [

selector: 'lh-numberInput',
template: "<span class=\"lh-wrapper\">\n <input #inputCtr [disabled]=\"disabled\" class=\"lh-input\" [type]=\"showInput?'number':'hidden'\" [tabindex]=\"tabindex\" />\n <input #displayCtr [disabled]=\"disabled\" class=\"lh-display\" [type]=\"showInput?'hidden':'text'\" [tabindex]=\"tabindex\" /> \n</span>\n",
template: "<span class=\"lh-wrapper\">\n <input #inputCtr [disabled]=\"_disabled\" class=\"lh-input\" [type]=\"showInput?'number':'hidden'\" [tabindex]=\"tabindex\" />\n <input #displayCtr [disabled]=\"_disabled\" [placeholder]=\"placeholder\" class=\"lh-display\" [type]=\"showInput?'hidden':'text'\" [tabindex]=\"tabindex\" /> \n</span>\n",
providers: [

@@ -234,4 +246,6 @@ { provide: NG_VALUE_ACCESSOR, useExisting: forwardRef((/**

NumberInputComponent.propDecorators = {
placeholder: [{ type: Input }],
tabindex: [{ type: Input }],
factor: [{ type: Input }],
disabled: [{ type: Input }],
prefix: [{ type: Input }],

@@ -238,0 +252,0 @@ postfix: [{ type: Input }],

@@ -6,7 +6,9 @@ import { OnInit, OnDestroy, AfterViewInit, ElementRef, EventEmitter } from '@angular/core';

showInput: boolean;
disabled: boolean;
_disabled: boolean;
_factor: number;
_width: string;
placeholder: string;
tabindex: number;
factor: number;
disabled: boolean;
prefix: string;

@@ -13,0 +15,0 @@ postfix: string;

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"NumberInputComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"lh-numberInput","providers":[{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR","line":12,"character":15},"useExisting":{"__symbolic":"reference","name":"NumberInputComponent"},"multi":true}],"host":{"[style.width]":"_width","$quoted$":["[style.width]"]},"template":"<span class=\"lh-wrapper\">\n <input #inputCtr [disabled]=\"disabled\" class=\"lh-input\" [type]=\"showInput?'number':'hidden'\" [tabindex]=\"tabindex\" />\n <input #displayCtr [disabled]=\"disabled\" class=\"lh-display\" [type]=\"showInput?'hidden':'text'\" [tabindex]=\"tabindex\" /> \n</span>\n","styles":[":host{padding:0 7px 0 1px;display:block}.lh-wrapper{padding:2px;display:inline-block;width:100%}input{width:100%;display:inline-block;padding:.375em;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;border-radius:.25rem;border:1px solid rgba(33,37,41,.15)}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:none}"]}]}],"members":{"tabindex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":26,"character":3}}]}],"factor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":3}}]}],"prefix":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":30,"character":3}}]}],"postfix":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":31,"character":3}}]}],"width":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":40,"character":3},"arguments":["value"]}]}],"valueOutput":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":49,"character":3},"arguments":["valueChange"]}]}],"blurOutput":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":50,"character":3},"arguments":["blur"]}]}],"focusOutput":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":51,"character":3},"arguments":["focus"]}]}],"_input":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":52,"character":3},"arguments":["inputCtr",{"static":true}]}]}],"_display":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":53,"character":3},"arguments":["displayCtr",{"static":true}]}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"setDisabledState":[{"__symbolic":"method"}]}},"LhControlsModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"NumberInputComponent"}],"imports":[],"exports":[{"__symbolic":"reference","name":"NumberInputComponent"}]}]}],"members":{}}},"origins":{"NumberInputComponent":"./lib/number-input/number-input.component","LhControlsModule":"./lib/lh-controls.module"},"importAs":"@lucasheight/angular-controls"}
{"__symbolic":"module","version":4,"metadata":{"NumberInputComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"lh-numberInput","providers":[{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR","line":12,"character":15},"useExisting":{"__symbolic":"reference","name":"NumberInputComponent"},"multi":true}],"host":{"[style.width]":"_width","$quoted$":["[style.width]"]},"template":"<span class=\"lh-wrapper\">\n <input #inputCtr [disabled]=\"_disabled\" class=\"lh-input\" [type]=\"showInput?'number':'hidden'\" [tabindex]=\"tabindex\" />\n <input #displayCtr [disabled]=\"_disabled\" [placeholder]=\"placeholder\" class=\"lh-display\" [type]=\"showInput?'hidden':'text'\" [tabindex]=\"tabindex\" /> \n</span>\n","styles":[":host{padding:0 7px 0 1px;display:block}.lh-wrapper{padding:2px;display:inline-block;width:100%}input{width:100%;display:inline-block;padding:.375em;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;border-radius:.25rem;border:1px solid rgba(33,37,41,.15)}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:none}"]}]}],"members":{"placeholder":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":25,"character":3}}]}],"tabindex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":3}}]}],"factor":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":28,"character":3}}]}],"disabled":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":31,"character":3}}]}],"prefix":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"postfix":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"width":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3}}]}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":44,"character":3},"arguments":["value"]}]}],"valueOutput":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":53,"character":3},"arguments":["valueChange"]}]}],"blurOutput":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":54,"character":3},"arguments":["blur"]}]}],"focusOutput":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":55,"character":3},"arguments":["focus"]}]}],"_input":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":56,"character":3},"arguments":["inputCtr",{"static":true}]}]}],"_display":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":57,"character":3},"arguments":["displayCtr",{"static":true}]}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"setDisabledState":[{"__symbolic":"method"}]}},"LhControlsModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"NumberInputComponent"}],"imports":[],"exports":[{"__symbolic":"reference","name":"NumberInputComponent"}]}]}],"members":{}}},"origins":{"NumberInputComponent":"./lib/number-input/number-input.component","LhControlsModule":"./lib/lh-controls.module"},"importAs":"@lucasheight/angular-controls"}
{
"name": "@lucasheight/angular-controls",
"version": "0.0.5",
"version": "0.0.6",
"author": {

@@ -5,0 +5,0 @@ "name": "Lynden Garrett",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc