angular2-elastic_flowaccount
Advanced tools
Comparing version 1.0.1 to 1.0.3
@@ -1,2 +0,2 @@ | ||
export { ElasticModule } from './src/elastic.module'; | ||
export { ElasticDirective } from './src/elastic.directive'; | ||
export { ElasticFlowaccountModule } from './src/elastic.module'; | ||
export { ElasticFlowaccountDirective } from './src/elastic.directive'; |
"use strict"; | ||
var elastic_module_1 = require("./src/elastic.module"); | ||
exports.ElasticModule = elastic_module_1.ElasticModule; | ||
exports.ElasticFlowaccountModule = elastic_module_1.ElasticFlowaccountModule; | ||
var elastic_directive_1 = require("./src/elastic.directive"); | ||
exports.ElasticDirective = elastic_directive_1.ElasticDirective; | ||
exports.ElasticFlowaccountDirective = elastic_directive_1.ElasticFlowaccountDirective; |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{},"exports":[{"from":"./src/elastic.module","export":["ElasticModule"]},{"from":"./src/elastic.directive","export":["ElasticDirective"]}]},{"__symbolic":"module","version":1,"metadata":{},"exports":[{"from":"./src/elastic.module","export":["ElasticModule"]},{"from":"./src/elastic.directive","export":["ElasticDirective"]}]}] | ||
[{"__symbolic":"module","version":3,"metadata":{},"exports":[{"from":"./src/elastic.module","export":["ElasticFlowaccountModule"]},{"from":"./src/elastic.directive","export":["ElasticFlowaccountDirective"]}]},{"__symbolic":"module","version":1,"metadata":{},"exports":[{"from":"./src/elastic.module","export":["ElasticFlowaccountModule"]},{"from":"./src/elastic.directive","export":["ElasticFlowaccountDirective"]}]}] |
@@ -1,1 +0,1 @@ | ||
{"summaries":[{"symbol":{"__symbol":0},"metadata":{"__symbol":1}},{"symbol":{"__symbol":2},"metadata":{"__symbol":3}}],"symbols":[{"__symbol":0,"name":"ElasticModule","filePath":"/home/fiznool/Code/libraries/angular2-elastic/index.d.ts"},{"__symbol":1,"name":"ElasticModule","filePath":"/home/fiznool/Code/libraries/angular2-elastic/src/elastic.module.d.ts"},{"__symbol":2,"name":"ElasticDirective","filePath":"/home/fiznool/Code/libraries/angular2-elastic/index.d.ts"},{"__symbol":3,"name":"ElasticDirective","filePath":"/home/fiznool/Code/libraries/angular2-elastic/src/elastic.directive.d.ts"}]} | ||
{"summaries":[{"symbol":{"__symbol":0},"metadata":{"__symbol":1}},{"symbol":{"__symbol":2},"metadata":{"__symbol":3}}],"symbols":[{"__symbol":0,"name":"ElasticFlowaccountModule","filePath":"/home/fiznool/Code/libraries/angular2-elastic/index.d.ts"},{"__symbol":1,"name":"ElasticFlowaccountModule","filePath":"/home/fiznool/Code/libraries/angular2-elastic/src/elastic.module.d.ts"},{"__symbol":2,"name":"ElasticFlowaccountDirective","filePath":"/home/fiznool/Code/libraries/angular2-elastic/index.d.ts"},{"__symbol":3,"name":"ElasticFlowaccountDirective","filePath":"/home/fiznool/Code/libraries/angular2-elastic/src/elastic.directive.d.ts"}]} |
{ | ||
"_from": "angular2-elastic_flowaccount@1.0.1", | ||
"_id": "angular2-elastic_flowaccount@1.0.1", | ||
"_from": "angular2-elastic_flowaccount@1.0.3", | ||
"_id": "angular2-elastic_flowaccount@1.0.3", | ||
"_inBundle": false, | ||
"_integrity": "sha1-85zdVWaugEwBXYZ21dufDySVDb8=", | ||
"_integrity": "sha512-arZFtPdEuSr/XsTBsjUQbLwTz//A5hziIi/M1WgpOSJOeXIcCytc7QCq7UxiydscivKSS2XHbGOLIDNHHEcdBA==", | ||
"_location": "/angular2-elastic_flowaccount", | ||
@@ -11,8 +11,8 @@ "_phantomChildren": {}, | ||
"registry": true, | ||
"raw": "angular2-elastic_flowaccount@1.0.1", | ||
"raw": "angular2-elastic_flowaccount@1.0.3", | ||
"name": "angular2-elastic_flowaccount", | ||
"escapedName": "angular2-elastic_flowaccount", | ||
"rawSpec": "1.0.1", | ||
"rawSpec": "1.0.3", | ||
"saveSpec": null, | ||
"fetchSpec": "1.0.1" | ||
"fetchSpec": "1.0.3" | ||
}, | ||
@@ -22,5 +22,5 @@ "_requiredBy": [ | ||
], | ||
"_resolved": "https://registry.npmjs.org/angular2-elastic_flowaccount/-/angular2-elastic_flowaccount-1.0.1.tgz", | ||
"_shasum": "f39cdd5566ae804c015d8676d5db9f0f24950dbf", | ||
"_spec": "angular2-elastic_flowaccount@1.0.1", | ||
"_resolved": "https://registry.npmjs.org/angular2-elastic_flowaccount/-/angular2-elastic_flowaccount-1.0.3.tgz", | ||
"_shasum": "4ca0a121a9038f674fb1845472f076df924c9cef", | ||
"_spec": "angular2-elastic_flowaccount@1.0.3", | ||
"_where": "D:\\Projects\\flowaccount.ui\\src\\Flowaccount.UI", | ||
@@ -66,3 +66,3 @@ "author": { | ||
"typings": "./index.d.ts", | ||
"version": "1.0.1" | ||
"version": "1.0.3" | ||
} |
import { ElementRef } from '@angular/core'; | ||
export declare class ElasticDirective { | ||
export declare class ElasticFlowaccountDirective { | ||
element: ElementRef; | ||
@@ -4,0 +4,0 @@ textareaEl: HTMLTextAreaElement; |
@@ -13,4 +13,4 @@ "use strict"; | ||
var Rx_1 = require("rxjs/Rx"); | ||
var ElasticDirective = (function () { | ||
function ElasticDirective(element) { | ||
var ElasticFlowaccountDirective = (function () { | ||
function ElasticFlowaccountDirective(element) { | ||
this.onLoadCheck = false; | ||
@@ -20,6 +20,6 @@ this.element = element; | ||
} | ||
ElasticDirective.prototype.isTextarea = function (el) { | ||
ElasticFlowaccountDirective.prototype.isTextarea = function (el) { | ||
return el.tagName === 'TEXTAREA'; | ||
}; | ||
ElasticDirective.prototype.setupTextarea = function (textareaEl) { | ||
ElasticFlowaccountDirective.prototype.setupTextarea = function (textareaEl) { | ||
var _this = this; | ||
@@ -35,3 +35,3 @@ this.textareaEl = textareaEl; | ||
}; | ||
ElasticDirective.prototype.ngAfterViewInit = function () { | ||
ElasticFlowaccountDirective.prototype.ngAfterViewInit = function () { | ||
var _this = this; | ||
@@ -50,6 +50,6 @@ if (this.isTextarea(this.element.nativeElement)) { | ||
}; | ||
ElasticDirective.prototype.onInput = function () { | ||
ElasticFlowaccountDirective.prototype.onInput = function () { | ||
this.adjust(); | ||
}; | ||
// ElasticDirective.prototype.ngAfterViewChecked = function () { | ||
// ElasticFlowaccountDirective.prototype.ngAfterViewChecked = function () { | ||
// // if(!this.onLoadCheck) | ||
@@ -63,3 +63,3 @@ // // { | ||
// }; | ||
ElasticDirective.prototype.ngAfterViewChecked = function() { | ||
ElasticFlowaccountDirective.prototype.ngAfterViewChecked = function() { | ||
if(!this.onLoadCheck && this.initiatedValue != this.element.nativeElement.value){ | ||
@@ -70,7 +70,7 @@ this.onLoadCheck = true; | ||
}; | ||
ElasticDirective.prototype.adjust = function () { | ||
ElasticFlowaccountDirective.prototype.adjust = function () { | ||
this.textareaEl.style.height = 'auto'; | ||
this.textareaEl.style.height = this.textareaEl.scrollHeight + "px"; | ||
}; | ||
return ElasticDirective; | ||
return ElasticFlowaccountDirective; | ||
}()); | ||
@@ -82,9 +82,9 @@ __decorate([ | ||
__metadata("design:returntype", void 0) | ||
], ElasticDirective.prototype, "onInput", null); | ||
ElasticDirective = __decorate([ | ||
], ElasticFlowaccountDirective.prototype, "onInput", null); | ||
ElasticFlowaccountDirective = __decorate([ | ||
core_1.Directive({ | ||
selector: '[fz-elastic]' | ||
selector: '[fz-elastic-flowaccount]' | ||
}), | ||
__metadata("design:paramtypes", [core_1.ElementRef]) | ||
], ElasticDirective); | ||
exports.ElasticDirective = ElasticDirective; | ||
], ElasticFlowaccountDirective); | ||
exports.ElasticFlowaccountDirective = ElasticFlowaccountDirective; |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"ElasticDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[fz-elastic]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}]}],"isTextarea":[{"__symbolic":"method"}],"setupTextarea":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"onInput":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener"},"arguments":["input"]}]}],"ngAfterViewChecked":[{"__symbolic":"method"}],"adjust":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"ElasticDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[fz-elastic]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}]}],"isTextarea":[{"__symbolic":"method"}],"setupTextarea":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"onInput":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener"},"arguments":["input"]}]}],"ngAfterViewChecked":[{"__symbolic":"method"}],"adjust":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"ElasticFlowaccountDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[fz-elastic-flowaccount]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}]}],"isTextarea":[{"__symbolic":"method"}],"setupTextarea":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"onInput":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener"},"arguments":["input"]}]}],"ngAfterViewChecked":[{"__symbolic":"method"}],"adjust":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"ElasticFlowaccountDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive"},"arguments":[{"selector":"[fz-elastic-flowaccount]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef"}]}],"isTextarea":[{"__symbolic":"method"}],"setupTextarea":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"onInput":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener"},"arguments":["input"]}]}],"ngAfterViewChecked":[{"__symbolic":"method"}],"adjust":[{"__symbolic":"method"}]}}}}] |
@@ -1,1 +0,1 @@ | ||
{"summaries":[{"symbol":{"__symbol":0},"metadata":{"__symbolic":"class"},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":1}}}}],"lifecycleHooks":[6,7]},"isComponent":false,"selector":"[fz-elastic]","inputs":{},"outputs":{},"hostListeners":{"input":"onInput()"},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"entryComponents":[],"changeDetection":null,"template":null}}],"symbols":[{"__symbol":0,"name":"ElasticDirective","filePath":"/home/fiznool/Code/libraries/angular2-elastic/src/elastic.directive.d.ts"},{"__symbol":1,"name":"ElementRef","filePath":"/home/fiznool/Code/libraries/angular2-elastic/node_modules/@angular/core/src/linker/element_ref.d.ts"}]} | ||
{"summaries":[{"symbol":{"__symbol":0},"metadata":{"__symbolic":"class"},"type":{"summaryKind":1,"type":{"reference":{"__symbol":0},"diDeps":[{"isAttribute":false,"isHost":false,"isSelf":false,"isSkipSelf":false,"isOptional":false,"token":{"identifier":{"reference":{"__symbol":1}}}}],"lifecycleHooks":[6,7]},"isComponent":false,"selector":"[fz-elastic-flowaccount]","inputs":{},"outputs":{},"hostListeners":{"input":"onInput()"},"hostProperties":{},"hostAttributes":{},"providers":[],"viewProviders":[],"queries":[],"entryComponents":[],"changeDetection":null,"template":null}}],"symbols":[{"__symbol":0,"name":"ElasticFlowaccountDirective","filePath":"/home/fiznool/Code/libraries/angular2-elastic/src/elastic.directive.d.ts"},{"__symbol":1,"name":"ElementRef","filePath":"/home/fiznool/Code/libraries/angular2-elastic/node_modules/@angular/core/src/linker/element_ref.d.ts"}]} |
@@ -1,2 +0,2 @@ | ||
export declare class ElasticModule { | ||
export declare class ElasticFlowaccountModule { | ||
} |
@@ -13,14 +13,14 @@ "use strict"; | ||
var elastic_directive_1 = require("./elastic.directive"); | ||
var ElasticModule = (function () { | ||
function ElasticModule() { | ||
var ElasticFlowaccountModule = (function () { | ||
function ElasticFlowaccountModule() { | ||
} | ||
return ElasticModule; | ||
return ElasticFlowaccountModule; | ||
}()); | ||
ElasticModule = __decorate([ | ||
ElasticFlowaccountModule = __decorate([ | ||
core_1.NgModule({ | ||
declarations: [elastic_directive_1.ElasticDirective], | ||
exports: [elastic_directive_1.ElasticDirective] | ||
declarations: [elastic_directive_1.ElasticFlowaccountDirective], | ||
exports: [elastic_directive_1.ElasticFlowaccountDirective] | ||
}), | ||
__metadata("design:paramtypes", []) | ||
], ElasticModule); | ||
exports.ElasticModule = ElasticModule; | ||
], ElasticFlowaccountModule); | ||
exports.ElasticFlowaccountModule = ElasticFlowaccountModule; |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":3,"metadata":{"ElasticModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"declarations":[{"__symbolic":"reference","module":"./elastic.directive","name":"ElasticDirective"}],"exports":[{"__symbolic":"reference","module":"./elastic.directive","name":"ElasticDirective"}]}]}]}}},{"__symbolic":"module","version":1,"metadata":{"ElasticModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"declarations":[{"__symbolic":"reference","module":"./elastic.directive","name":"ElasticDirective"}],"exports":[{"__symbolic":"reference","module":"./elastic.directive","name":"ElasticDirective"}]}]}]}}}] | ||
[{"__symbolic":"module","version":3,"metadata":{"ElasticFlowaccountModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"declarations":[{"__symbolic":"reference","module":"./elastic.directive","name":"ElasticFlowaccountDirective"}],"exports":[{"__symbolic":"reference","module":"./elastic.directive","name":"ElasticFlowaccountDirective"}]}]}]}}},{"__symbolic":"module","version":1,"metadata":{"ElasticFlowaccountModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule"},"arguments":[{"declarations":[{"__symbolic":"reference","module":"./elastic.directive","name":"ElasticFlowaccountDirective"}],"exports":[{"__symbolic":"reference","module":"./elastic.directive","name":"ElasticFlowaccountDirective"}]}]}]}}}] |
@@ -1,1 +0,1 @@ | ||
{"summaries":[{"symbol":{"__symbol":0},"metadata":{"__symbolic":"class"},"type":{"summaryKind":2,"type":{"reference":{"__symbol":0},"diDeps":[],"lifecycleHooks":[]},"entryComponents":[],"providers":[],"modules":[{"reference":{"__symbol":0},"diDeps":[],"lifecycleHooks":[]}],"exportedDirectives":[{"reference":{"__symbol":1}}],"exportedPipes":[]}}],"symbols":[{"__symbol":0,"name":"ElasticModule","filePath":"/home/fiznool/Code/libraries/angular2-elastic/src/elastic.module.d.ts"},{"__symbol":1,"name":"ElasticDirective","filePath":"/home/fiznool/Code/libraries/angular2-elastic/src/elastic.directive.d.ts"}]} | ||
{"summaries":[{"symbol":{"__symbol":0},"metadata":{"__symbolic":"class"},"type":{"summaryKind":2,"type":{"reference":{"__symbol":0},"diDeps":[],"lifecycleHooks":[]},"entryComponents":[],"providers":[],"modules":[{"reference":{"__symbol":0},"diDeps":[],"lifecycleHooks":[]}],"exportedDirectives":[{"reference":{"__symbol":1}}],"exportedPipes":[]}}],"symbols":[{"__symbol":0,"name":"ElasticFlowaccountModule","filePath":"/home/fiznool/Code/libraries/angular2-elastic/src/elastic.module.d.ts"},{"__symbol":1,"name":"ElasticFlowaccountDirective","filePath":"/home/fiznool/Code/libraries/angular2-elastic/src/elastic.directive.d.ts"}]} |
20186